Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOracleContractState ¶
func GetOracleContractState(t *testing.T, pathToInternalContracts string, sender util.Uint160, id int32) *state.Contract
GetOracleContractState reads pre-compiled oracle contract generated by TestGenerateHelperContracts and returns its state.
func GetTestContractState ¶
func GetTestContractState(t *testing.T, pathToInternalContracts string, id1, id2 int32, sender2 util.Uint160) (*state.Contract, *state.Contract)
GetTestContractState reads 2 pre-compiled contracts generated by TestGenerateHelperContracts, second of which is allowed to call the first.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.