Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // EVMAddress is the arbitrary address on which the standard // ISCP EVM contract lives EVMAddress = common.HexToAddress("0x1074") //go:embed ISCP.abi ABI string )
To get the storage layout: solc --storage-layout ISCP.sol | tail -n +4 | jq .
Functions ¶
func ChainIDFromISCPAddress ¶
func ChainIDFromISCPAddress(a ISCPAddress) *iscp.ChainID
func DeployOnGenesis ¶
func DeployOnGenesis(genesisAlloc core.GenesisAlloc, chainID *iscp.ChainID)
DeployOnGenesis sets up the initial state of the ISCP EVM contract which will go into the EVM genesis block
Types ¶
type ISCPAddress ¶
ISCPAddress maps to the equally-named struct in iscp.sol
func ChainIDToISCPAddress ¶
func ChainIDToISCPAddress(chainID *iscp.ChainID) (ret ISCPAddress)
Click to show internal directories.
Click to hide internal directories.