👋
Vision Network
  • Vision Basics
    • Vision Network
    • VS and VRC
    • The GitBook editor
    • Token Issuance
    • Minting Mechanism
  • Protocol
    • Account
    • Resource Model
    • Economic model
    • Multi-Signature
    • Transaction
    • Validator
      • First Validator & Reward Mechanism
      • To be Validated Candidate
      • Proposal and Committee
  • SMART CONTRACTS
    • Introduction
    • Deployment Cost
    • DevOps Flow
    • Key considerations
    • Security considerations
    • Features
      • Protobuf
      • Function Usage
      • Contract Address
      • Different Form Ethereum
  • VIRTUAL MACHINE
    • Introduction
    • Event
    • Entropy Costs Calculation
    • VM Exception Handling
    • Features between Ethereum
  • HTTP API
  • Signature and Broadcast Steps
  • Infragrid guide
  • Vtimes chrome integration
  • Introduction
  • Getting Started
  • Group 1
    • Introduction
    • GUI and Usage
  • VISION-WEB
    • Introduction
  • VISION WALLET
    • Vtimes Chrome Plugin
    • Visionscan
    • Metamask
  • DECENTRALIZED EXCHANGES
    • Operating principle
    • Trading pairs
    • Liquidity pool
  • Others
    • Term
Powered by GitBook
On this page
  1. SMART CONTRACTS

Security considerations

PreviousKey considerationsNextFeatures

Last updated 3 years ago

CtrlK
  • Introduction
  • Contents

Introduction

This document dives into the knowledge base of security considerations for Vision developers. For any new findings, feel free to contribute by using the suggest edits button.

Contents

  • User/Developer Entropy Pay Ratio describes how to prevent account draining attacks.

  • Fee Limit on Deploy/Execution describes range limits and where to set limit.

  • Frozen Entropy and Out of Entropy describes the maximum entropy limit formula and its applications.

  • Timeout and Infinite Loop Pitfalls guides developers on how to best avoid these pitfalls.

  • Illegal Operations and Penalties describes how invalid operation codes could be triggered, and best practices to avoid it.

  • Non-Existent Account Transfers and Penalties describes how to avoid the non-existent account transfer penalty.

  • Developer Entropy Cost Protection describes the Developer Origin Entropy Limit parameter, its purpose, and how to set this parameter.

  • Fallback Functions guides developers on the implementation of this class of functions within smart contracts.