Documentation ¶
Index ¶
Constants ¶
View Source
const ( RublesContractID = int32(1) VerifyContractID = int32(2) VerifyWithArgsContractID = int32(3) NNSContractID = int32(4) NFSOContractID = int32(5) StorageContractID = int32(6) )
Various contract IDs that were deployed to basic chain.
View Source
const ( // RublesOldTestvalue is a value initially stored by `testkey` key inside Rubles contract. RublesOldTestvalue = "testvalue" // RublesNewTestvalue is an updated value of Rubles' storage item with `testkey` key. RublesNewTestvalue = "newtestvalue" )
Variables ¶
This section is empty.
Functions ¶
func Init ¶
Init pushes some predefined set of transactions into the given chain, it needs a path to the root project directory.
func InitSimple ¶ added in v0.99.4
InitSimple initializes chain with simple contracts from 'examples' folder. It's not as complicated as chain got after Init and may be used for tests where chain with a small amount of data is needed and for historical functionality testing. Needs a path to the root directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.