Documentation ¶
Index ¶
- Constants
- Variables
- func ContractPartition(chainState kv.KVStore) kv.KVStore
- func ContractPartitionR(chainState kv.KVStoreReader) kv.KVStoreReader
- func EmulatorStateSubrealm(evmPartition kv.KVStore) kv.KVStore
- func EmulatorStateSubrealmR(evmPartition kv.KVStoreReader) kv.KVStoreReader
- func ISCMagicSubrealm(evmPartition kv.KVStore) kv.KVStore
- func ISCMagicSubrealmR(evmPartition kv.KVStoreReader) kv.KVStoreReader
Constants ¶
View Source
const ( FieldTransaction = evmnames.FieldTransaction FieldCallMsg = evmnames.FieldCallMsg FieldChainID = evmnames.FieldChainID FieldAddress = evmnames.FieldAddress FieldKey = evmnames.FieldKey FieldAgentID = evmnames.FieldAgentID FieldTransactionIndex = evmnames.FieldTransactionIndex FieldTransactionHash = evmnames.FieldTransactionHash FieldResult = evmnames.FieldResult FieldBlockNumber = evmnames.FieldBlockNumber FieldBlockHash = evmnames.FieldBlockHash FieldFilterQuery = evmnames.FieldFilterQuery FieldBlockKeepAmount = evmnames.FieldBlockKeepAmount // int32 FieldNativeTokenID = evmnames.FieldNativeTokenID FieldFoundrySN = evmnames.FieldFoundrySN // uint32 FieldTokenName = evmnames.FieldTokenName // string FieldTokenTickerSymbol = evmnames.FieldTokenTickerSymbol // string FieldTokenDecimals = evmnames.FieldTokenDecimals // uint8 FieldNFTCollectionID = evmnames.FieldNFTCollectionID // NFTID FieldFoundryTokenScheme = evmnames.FieldFoundryTokenScheme FieldTargetAddress = evmnames.FieldTargetAddress )
View Source
const ( // TODO shouldn't this be different between chain, to prevent replay attacks? (maybe derived from ISC ChainID) DefaultChainID = uint16(1074) // IOTA -- get it? )
Variables ¶
View Source
var ( // EVM state FuncSendTransaction = coreutil.Func(evmnames.FuncSendTransaction) FuncCallContract = coreutil.Func(evmnames.FuncCallContract) FuncGetChainID = coreutil.ViewFunc(evmnames.FuncGetChainID) FuncRegisterERC20NativeToken = coreutil.Func(evmnames.FuncRegisterERC20NativeToken) FuncRegisterERC20NativeTokenOnRemoteChain = coreutil.Func(evmnames.FuncRegisterERC20NativeTokenOnRemoteChain) FuncRegisterERC20ExternalNativeToken = coreutil.Func(evmnames.FuncRegisterERC20ExternalNativeToken) FuncGetERC20ExternalNativeTokenAddress = coreutil.ViewFunc(evmnames.FuncGetERC20ExternalNativeTokenAddress) FuncRegisterERC721NFTCollection = coreutil.Func(evmnames.FuncRegisterERC721NFTCollection) )
View Source
var Contract = coreutil.NewContract(evmnames.Contract)
View Source
var GasPrice = big.NewInt(0)
Gas is charged in isc VM (L1 currencies), not ETH
Functions ¶
func ContractPartitionR ¶ added in v1.0.3
func ContractPartitionR(chainState kv.KVStoreReader) kv.KVStoreReader
func EmulatorStateSubrealm ¶ added in v1.0.3
func EmulatorStateSubrealmR ¶ added in v1.0.3
func EmulatorStateSubrealmR(evmPartition kv.KVStoreReader) kv.KVStoreReader
func ISCMagicSubrealmR ¶ added in v1.0.3
func ISCMagicSubrealmR(evmPartition kv.KVStoreReader) kv.KVStoreReader
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.