Documentation ¶
Index ¶
Constants ¶
View Source
const ( //nolint:lll BridgeSCBytecode = "" /* 16508-byte string literal not displayed */ )
Variables ¶
View Source
var ( DefaultThreshold = "100000000000000000000" // 100 wDoge DefaultRate = 100 // 1% )
Functions ¶
func PredeployBridgeSC ¶
func PredeployBridgeSC(params PredeployParams) (*chain.GenesisAccount, error)
PredeployBridgeSC is a helper method for setting up the bridge smart contract account, using the passed in owner and signers as pre-defined accounts.
Types ¶
type PredeployParams ¶
PredeployParams contains the values used to predeploy the Bridge contract
type StorageIndexes ¶
type StorageIndexes struct { OwnerIndex []byte // address MinimumThresholdIndex []byte // uint256 SignersIndex []byte // []address SignersArraySizeIndex []byte // []address size AddressToIsSignerIndex []byte // mapping(address => bool) AddressToSignerIndexIndex []byte // mapping(address => uint256) RateIndex []byte // uint256 }
StorageIndexes is a wrapper for different storage indexes that need to be modified
Click to show internal directories.
Click to hide internal directories.