Versions in this module Expand all Collapse all v1 v1.0.19 Dec 16, 2022 Changes in this version + type BridgeContract struct + func NewBridgeContract(client calls.ContractCallerDispatcher, bridgeContractAddress common.Address, ...) *BridgeContract + func (c *BridgeContract) AddRelayer(relayerAddr common.Address, opts transactor.TransactOptions) (*common.Hash, error) + func (c *BridgeContract) AdminChangeRelayerThreshold(threshold uint64, opts transactor.TransactOptions) (*common.Hash, error) + func (c *BridgeContract) AdminSetGenericResource(handler common.Address, rID types.ResourceID, addr common.Address, ...) (*common.Hash, error) + func (c *BridgeContract) AdminSetResource(handlerAddr common.Address, rID types.ResourceID, ...) (*common.Hash, error) + func (c *BridgeContract) Erc20Deposit(recipient common.Address, amount *big.Int, resourceID types.ResourceID, ...) (*common.Hash, error) + func (c *BridgeContract) Erc721Deposit(tokenId *big.Int, metadata string, recipient common.Address, ...) (*common.Hash, error) + func (c *BridgeContract) ExecuteProposal(proposal *proposal.Proposal, opts transactor.TransactOptions) (*common.Hash, error) + func (c *BridgeContract) GenericDeposit(metadata []byte, resourceID types.ResourceID, destDomainID uint8, ...) (*common.Hash, error) + func (c *BridgeContract) GetHandlerAddressForResourceID(resourceID types.ResourceID) (common.Address, error) + func (c *BridgeContract) GetThreshold() (uint8, error) + func (c *BridgeContract) IsFeeClaimThresholdReached() (bool, error) + func (c *BridgeContract) IsProposalVotedBy(by common.Address, p *proposal.Proposal) (bool, error) + func (c *BridgeContract) IsRelayer(relayerAddress common.Address) (bool, error) + func (c *BridgeContract) Pause(opts transactor.TransactOptions) (*common.Hash, error) + func (c *BridgeContract) ProposalStatus(p *proposal.Proposal) (message.ProposalStatus, error) + func (c *BridgeContract) RelayerClaimFees(destDomainID uint8, opts transactor.TransactOptions) (*common.Hash, error) + func (c *BridgeContract) SetBurnableInput(handlerAddr common.Address, tokenContractAddr common.Address, ...) (*common.Hash, error) + func (c *BridgeContract) SetDepositNonce(domainId uint8, depositNonce uint64, opts transactor.TransactOptions) (*common.Hash, error) + func (c *BridgeContract) SimulateVoteProposal(proposal *proposal.Proposal) error + func (c *BridgeContract) Unpause(opts transactor.TransactOptions) (*common.Hash, error) + func (c *BridgeContract) VoteProposal(proposal *proposal.Proposal, opts transactor.TransactOptions) (*common.Hash, error) + func (c *BridgeContract) Withdraw(handlerAddress, tokenAddress, recipientAddress common.Address, ...) (*common.Hash, error)