Documentation ¶
Index ¶
- Variables
- func AddFailedTx(ctx isc.Sandbox, tx *types.Transaction, receipt *types.Receipt)
- func CheckNonce(state kv.KVStore, addr common.Address, nonce uint64) error
- func Nonce(state kv.KVStoreReader, addr common.Address) uint64
- func SetInitialState(state kv.KVStore, evmChainID uint16)
- type RunFunc
- type StateAccess
Constants ¶
This section is empty.
Variables ¶
View Source
var Processor = evm.Contract.Processor(nil, evm.FuncOpenBlockContext.WithHandler(restricted(openBlockContext)), evm.FuncCloseBlockContext.WithHandler(restricted(closeBlockContext)), evm.FuncSendTransaction.WithHandler(restricted(applyTransaction)), evm.FuncCallContract.WithHandler(restricted(callContract)), evm.FuncRegisterERC20NativeToken.WithHandler(registerERC20NativeToken), evm.FuncRegisterERC20NativeTokenOnRemoteChain.WithHandler(restricted(registerERC20NativeTokenOnRemoteChain)), evm.FuncRegisterERC20ExternalNativeToken.WithHandler(registerERC20ExternalNativeToken), evm.FuncRegisterERC721NFTCollection.WithHandler(restricted(registerERC721NFTCollection)), evm.FuncGetERC20ExternalNativeTokenAddress.WithHandler(viewERC20ExternalNativeTokenAddress), evm.FuncGetChainID.WithHandler(getChainID), )
Functions ¶
func AddFailedTx ¶
IMPORTANT: Must only be called from the ISC VM (when the request is done executing)
func SetInitialState ¶ added in v1.0.3
Types ¶
type StateAccess ¶ added in v1.0.3
type StateAccess struct {
// contains filtered or unexported fields
}
func NewStateAccess ¶ added in v1.0.3
func NewStateAccess(store kv.KVStoreReader) *StateAccess
Click to show internal directories.
Click to hide internal directories.