Documentation ¶
Index ¶
Constants ¶
View Source
const ( XMsgMinGasLimit = 21_000 XMsgMaxGasLimit = 5_000_000 XMsgMaxDataSize = 20_000 XReceiptMaxErrorBytes = 256 XSubValsetCutoff = 10 GenesisCChainXMsgOffset = 1 GenesisCChainXBlockOffset = 1 )
Variables ¶
This section is empty.
Functions ¶
func Deploy ¶
func Deploy(ctx context.Context, network netconf.ID, backend *ethbackend.Backend, feeOracle common.Address, valSetID uint64, validators []bindings.Validator, ) (common.Address, *ethtypes.Receipt, error)
Deploy deploys a new Portal contract and returns the address and receipt. It only allows deployments to explicitly supported chains.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.