-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Compiled with help of @talkol
Excluding for now:
- multifile contracts
- unit testing
Sanitization:
- functions that can break consensus (Math.rand, new Date(), V8Worker2, ...)
- asynchronous behavior
- review by @bolshchikov
- review by @gilamran
Contract API:
- exporting functions via ES6 syntax
- forbid underscored
_functionsfrom being called from the outside even if they are exported - type checks via helper functions (
Verify.uint64and so on) - events as functions with type checks
- helper functions to transform strings to bytes, bytes to strings, JSON/hex encoding, and so on
Contract Objects:
- Address
- Env
- Ethereum (not included)
- Events (needs refactoring of orbs-network-go, check Uint64, partial support for events #4)
- Safemath (not included)
- State
- Service
Data types:
- string
- bytes
- uint32
- uint64
Data types for the future:
- uint256
- byte20
- byte32
- boolean
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels