Logo
  • Introduction

Getting Started

  • Overview
  • Development Environment
  • Smart Contracts
  • Becoming a BP

Tutorials

  • AElf Blockchain Boot Sequence
  • Joining AElf's TestNet
  • Joining AElf's MainNet
  • Running a side chain
  • Running AElf on the cloud
  • Smart Contract Developing Demos

Protocol

  • Consensus
  • Network
  • Addresses
  • Transactions

Architecture

  • Core
  • Cross-chain
  • Smart contract
    • Architecture
    • Service
    • Event
    • Messages
    • Requirements and Restrictions
      • Project Requirements
      • Structure Restrictions and Requirements
      • Namespace and Type Restrictions
      • Other Restrictions

Reference

  • Web API
  • Chain SDK
  • Contract SDK
  • Smart Contract API
  • Acs Introduction
  • Command-line Interface

Resources

  • Wallet and Block Explorer
  • Browser Extension
  • DevOps
  • AElf White Paper
  • AElf Economic System White Paper
AElf
  • Docs »
  • Smart contract »
  • Development Requirements and Restrictions
  • Edit on GitHub

Development Requirements and Restrictions¶

There are several requirements and restrictions for a contract to be deployable that are classified into below categories:

Smart contracts

  • Project Requirements
    • Project Properties
  • Structure Restrictions and Requirements
    • Limitations on Field Usage
      • In Contract Implementation Class
      • In Non-Contract Classes (For classes that don’t inherit from ContractBase<T>)
      • In Contract State
  • Namespace and Type Restrictions
    • Assembly Dependencies
    • Types and Members Whitelist in System Namespace
    • Types and Members Whitelist in System.Reflection Namespace
    • Other Whitelisted Namespaces
    • Allowed Types for Arrays
  • Other Restrictions
    • GetHashCode Usage
    • Execution observer
    • State size limit
Next Previous

Revision 69b78ad1.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1.0
v1.0.0
feature-quick
feature-env
dev
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.