Documentation
¶
Index ¶
- Variables
- type IBridgeTypesBitcoinTxInfo
- type IBridgeTypesDepositRevealInfo
- type MezoBridge
- type MezoBridgeAssetsLocked
- type MezoBridgeAssetsLockedIterator
- type MezoBridgeBTCDepositFinalized
- type MezoBridgeBTCDepositFinalizedIterator
- type MezoBridgeBTCDepositInitialized
- type MezoBridgeBTCDepositInitializedIterator
- type MezoBridgeCaller
- func (_MezoBridge *MezoBridgeCaller) Bridge(opts *bind.CallOpts) (common.Address, error)
- func (_MezoBridge *MezoBridgeCaller) BtcDeposits(opts *bind.CallOpts, arg0 *big.Int) (uint8, error)
- func (_MezoBridge *MezoBridgeCaller) ERC20Tokens(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_MezoBridge *MezoBridgeCaller) ERC20TokensCount(opts *bind.CallOpts) (*big.Int, error)
- func (_MezoBridge *MezoBridgeCaller) MAXERC20TOKENS(opts *bind.CallOpts) (*big.Int, error)
- func (_MezoBridge *MezoBridgeCaller) MinTBTCAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_MezoBridge *MezoBridgeCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_MezoBridge *MezoBridgeCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
- func (_MezoBridge *MezoBridgeCaller) SATOSHIMULTIPLIER(opts *bind.CallOpts) (*big.Int, error)
- func (_MezoBridge *MezoBridgeCaller) Sequence(opts *bind.CallOpts) (*big.Int, error)
- func (_MezoBridge *MezoBridgeCaller) TbtcToken(opts *bind.CallOpts) (common.Address, error)
- func (_MezoBridge *MezoBridgeCaller) TbtcVault(opts *bind.CallOpts) (common.Address, error)
- type MezoBridgeCallerRaw
- type MezoBridgeCallerSession
- func (_MezoBridge *MezoBridgeCallerSession) Bridge() (common.Address, error)
- func (_MezoBridge *MezoBridgeCallerSession) BtcDeposits(arg0 *big.Int) (uint8, error)
- func (_MezoBridge *MezoBridgeCallerSession) ERC20Tokens(arg0 common.Address) (*big.Int, error)
- func (_MezoBridge *MezoBridgeCallerSession) ERC20TokensCount() (*big.Int, error)
- func (_MezoBridge *MezoBridgeCallerSession) MAXERC20TOKENS() (*big.Int, error)
- func (_MezoBridge *MezoBridgeCallerSession) MinTBTCAmount() (*big.Int, error)
- func (_MezoBridge *MezoBridgeCallerSession) Owner() (common.Address, error)
- func (_MezoBridge *MezoBridgeCallerSession) PendingOwner() (common.Address, error)
- func (_MezoBridge *MezoBridgeCallerSession) SATOSHIMULTIPLIER() (*big.Int, error)
- func (_MezoBridge *MezoBridgeCallerSession) Sequence() (*big.Int, error)
- func (_MezoBridge *MezoBridgeCallerSession) TbtcToken() (common.Address, error)
- func (_MezoBridge *MezoBridgeCallerSession) TbtcVault() (common.Address, error)
- type MezoBridgeERC20TokenDisabled
- type MezoBridgeERC20TokenDisabledIterator
- type MezoBridgeERC20TokenEnabled
- type MezoBridgeERC20TokenEnabledIterator
- type MezoBridgeFilterer
- func (_MezoBridge *MezoBridgeFilterer) FilterAssetsLocked(opts *bind.FilterOpts, sequenceNumber []*big.Int, recipient []common.Address, ...) (*MezoBridgeAssetsLockedIterator, error)
- func (_MezoBridge *MezoBridgeFilterer) FilterBTCDepositFinalized(opts *bind.FilterOpts, btcDepositKey []*big.Int) (*MezoBridgeBTCDepositFinalizedIterator, error)
- func (_MezoBridge *MezoBridgeFilterer) FilterBTCDepositInitialized(opts *bind.FilterOpts, btcDepositKey []*big.Int, recipient []common.Address) (*MezoBridgeBTCDepositInitializedIterator, error)
- func (_MezoBridge *MezoBridgeFilterer) FilterERC20TokenDisabled(opts *bind.FilterOpts, ERC20Token []common.Address) (*MezoBridgeERC20TokenDisabledIterator, error)
- func (_MezoBridge *MezoBridgeFilterer) FilterERC20TokenEnabled(opts *bind.FilterOpts, ERC20Token []common.Address) (*MezoBridgeERC20TokenEnabledIterator, error)
- func (_MezoBridge *MezoBridgeFilterer) FilterInitialized(opts *bind.FilterOpts) (*MezoBridgeInitializedIterator, error)
- func (_MezoBridge *MezoBridgeFilterer) FilterMinERC20AmountUpdated(opts *bind.FilterOpts, ERC20Token []common.Address) (*MezoBridgeMinERC20AmountUpdatedIterator, error)
- func (_MezoBridge *MezoBridgeFilterer) FilterMinTBTCAmountUpdated(opts *bind.FilterOpts) (*MezoBridgeMinTBTCAmountUpdatedIterator, error)
- func (_MezoBridge *MezoBridgeFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*MezoBridgeOwnershipTransferStartedIterator, error)
- func (_MezoBridge *MezoBridgeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*MezoBridgeOwnershipTransferredIterator, error)
- func (_MezoBridge *MezoBridgeFilterer) ParseAssetsLocked(log types.Log) (*MezoBridgeAssetsLocked, error)
- func (_MezoBridge *MezoBridgeFilterer) ParseBTCDepositFinalized(log types.Log) (*MezoBridgeBTCDepositFinalized, error)
- func (_MezoBridge *MezoBridgeFilterer) ParseBTCDepositInitialized(log types.Log) (*MezoBridgeBTCDepositInitialized, error)
- func (_MezoBridge *MezoBridgeFilterer) ParseERC20TokenDisabled(log types.Log) (*MezoBridgeERC20TokenDisabled, error)
- func (_MezoBridge *MezoBridgeFilterer) ParseERC20TokenEnabled(log types.Log) (*MezoBridgeERC20TokenEnabled, error)
- func (_MezoBridge *MezoBridgeFilterer) ParseInitialized(log types.Log) (*MezoBridgeInitialized, error)
- func (_MezoBridge *MezoBridgeFilterer) ParseMinERC20AmountUpdated(log types.Log) (*MezoBridgeMinERC20AmountUpdated, error)
- func (_MezoBridge *MezoBridgeFilterer) ParseMinTBTCAmountUpdated(log types.Log) (*MezoBridgeMinTBTCAmountUpdated, error)
- func (_MezoBridge *MezoBridgeFilterer) ParseOwnershipTransferStarted(log types.Log) (*MezoBridgeOwnershipTransferStarted, error)
- func (_MezoBridge *MezoBridgeFilterer) ParseOwnershipTransferred(log types.Log) (*MezoBridgeOwnershipTransferred, error)
- func (_MezoBridge *MezoBridgeFilterer) WatchAssetsLocked(opts *bind.WatchOpts, sink chan<- *MezoBridgeAssetsLocked, ...) (event.Subscription, error)
- func (_MezoBridge *MezoBridgeFilterer) WatchBTCDepositFinalized(opts *bind.WatchOpts, sink chan<- *MezoBridgeBTCDepositFinalized, ...) (event.Subscription, error)
- func (_MezoBridge *MezoBridgeFilterer) WatchBTCDepositInitialized(opts *bind.WatchOpts, sink chan<- *MezoBridgeBTCDepositInitialized, ...) (event.Subscription, error)
- func (_MezoBridge *MezoBridgeFilterer) WatchERC20TokenDisabled(opts *bind.WatchOpts, sink chan<- *MezoBridgeERC20TokenDisabled, ...) (event.Subscription, error)
- func (_MezoBridge *MezoBridgeFilterer) WatchERC20TokenEnabled(opts *bind.WatchOpts, sink chan<- *MezoBridgeERC20TokenEnabled, ...) (event.Subscription, error)
- func (_MezoBridge *MezoBridgeFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *MezoBridgeInitialized) (event.Subscription, error)
- func (_MezoBridge *MezoBridgeFilterer) WatchMinERC20AmountUpdated(opts *bind.WatchOpts, sink chan<- *MezoBridgeMinERC20AmountUpdated, ...) (event.Subscription, error)
- func (_MezoBridge *MezoBridgeFilterer) WatchMinTBTCAmountUpdated(opts *bind.WatchOpts, sink chan<- *MezoBridgeMinTBTCAmountUpdated) (event.Subscription, error)
- func (_MezoBridge *MezoBridgeFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *MezoBridgeOwnershipTransferStarted, ...) (event.Subscription, error)
- func (_MezoBridge *MezoBridgeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MezoBridgeOwnershipTransferred, ...) (event.Subscription, error)
- type MezoBridgeInitialized
- type MezoBridgeInitializedIterator
- type MezoBridgeMinERC20AmountUpdated
- type MezoBridgeMinERC20AmountUpdatedIterator
- type MezoBridgeMinTBTCAmountUpdated
- type MezoBridgeMinTBTCAmountUpdatedIterator
- type MezoBridgeOwnershipTransferStarted
- type MezoBridgeOwnershipTransferStartedIterator
- type MezoBridgeOwnershipTransferred
- type MezoBridgeOwnershipTransferredIterator
- type MezoBridgeRaw
- func (_MezoBridge *MezoBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MezoBridge *MezoBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MezoBridgeSession
- func (_MezoBridge *MezoBridgeSession) AcceptOwnership() (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeSession) Bridge() (common.Address, error)
- func (_MezoBridge *MezoBridgeSession) BridgeERC20(ERC20Token common.Address, amount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeSession) BridgeTBTC(amount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeSession) BridgeTBTCWithPermit(amount *big.Int, recipient common.Address, deadline *big.Int, v uint8, ...) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeSession) BtcDeposits(arg0 *big.Int) (uint8, error)
- func (_MezoBridge *MezoBridgeSession) DisableERC20Token(ERC20Token common.Address) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeSession) ERC20Tokens(arg0 common.Address) (*big.Int, error)
- func (_MezoBridge *MezoBridgeSession) ERC20TokensCount() (*big.Int, error)
- func (_MezoBridge *MezoBridgeSession) EnableERC20Token(ERC20Token common.Address, minERC20Amount *big.Int) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeSession) FinalizeBTCBridging(btcDepositKey *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeSession) Initialize(_tbtcBridge common.Address, _tbtcVault common.Address, ...) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeSession) InitializeBTCBridging(fundingTx IBridgeTypesBitcoinTxInfo, reveal IBridgeTypesDepositRevealInfo, ...) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeSession) MAXERC20TOKENS() (*big.Int, error)
- func (_MezoBridge *MezoBridgeSession) MinTBTCAmount() (*big.Int, error)
- func (_MezoBridge *MezoBridgeSession) Owner() (common.Address, error)
- func (_MezoBridge *MezoBridgeSession) PendingOwner() (common.Address, error)
- func (_MezoBridge *MezoBridgeSession) RenounceOwnership() (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeSession) SATOSHIMULTIPLIER() (*big.Int, error)
- func (_MezoBridge *MezoBridgeSession) Sequence() (*big.Int, error)
- func (_MezoBridge *MezoBridgeSession) TbtcToken() (common.Address, error)
- func (_MezoBridge *MezoBridgeSession) TbtcVault() (common.Address, error)
- func (_MezoBridge *MezoBridgeSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeSession) UpdateMinERC20Amount(ERC20Token common.Address, newMinERC20Amount *big.Int) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeSession) UpdateMinTBTCAmount(newMinTBTCAmount *big.Int) (*types.Transaction, error)
- type MezoBridgeTransactor
- func (_MezoBridge *MezoBridgeTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactor) BridgeERC20(opts *bind.TransactOpts, ERC20Token common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactor) BridgeTBTC(opts *bind.TransactOpts, amount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactor) BridgeTBTCWithPermit(opts *bind.TransactOpts, amount *big.Int, recipient common.Address, ...) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactor) DisableERC20Token(opts *bind.TransactOpts, ERC20Token common.Address) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactor) EnableERC20Token(opts *bind.TransactOpts, ERC20Token common.Address, minERC20Amount *big.Int) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactor) FinalizeBTCBridging(opts *bind.TransactOpts, btcDepositKey *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactor) Initialize(opts *bind.TransactOpts, _tbtcBridge common.Address, _tbtcVault common.Address, ...) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactor) InitializeBTCBridging(opts *bind.TransactOpts, fundingTx IBridgeTypesBitcoinTxInfo, ...) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactor) UpdateMinERC20Amount(opts *bind.TransactOpts, ERC20Token common.Address, newMinERC20Amount *big.Int) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactor) UpdateMinTBTCAmount(opts *bind.TransactOpts, newMinTBTCAmount *big.Int) (*types.Transaction, error)
- type MezoBridgeTransactorRaw
- type MezoBridgeTransactorSession
- func (_MezoBridge *MezoBridgeTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactorSession) BridgeERC20(ERC20Token common.Address, amount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactorSession) BridgeTBTC(amount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactorSession) BridgeTBTCWithPermit(amount *big.Int, recipient common.Address, deadline *big.Int, v uint8, ...) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactorSession) DisableERC20Token(ERC20Token common.Address) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactorSession) EnableERC20Token(ERC20Token common.Address, minERC20Amount *big.Int) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactorSession) FinalizeBTCBridging(btcDepositKey *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactorSession) Initialize(_tbtcBridge common.Address, _tbtcVault common.Address, ...) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactorSession) InitializeBTCBridging(fundingTx IBridgeTypesBitcoinTxInfo, reveal IBridgeTypesDepositRevealInfo, ...) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactorSession) UpdateMinERC20Amount(ERC20Token common.Address, newMinERC20Amount *big.Int) (*types.Transaction, error)
- func (_MezoBridge *MezoBridgeTransactorSession) UpdateMinTBTCAmount(newMinTBTCAmount *big.Int) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var MezoBridgeABI = MezoBridgeMetaData.ABI
MezoBridgeABI is the input ABI used to generate the binding from. Deprecated: Use MezoBridgeMetaData.ABI instead.
var MezoBridgeMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountBelowMinERC20Amount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountBelowMinTBTCAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BTCRecipientIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC20RecipientIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC20TokenAlreadyEnabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC20TokenIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC20TokenNotEnabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MaxERC20TokensReached\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MinERC20AmountIsZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MinTBTCAmountIsZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TBTCTokenIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"enumBitcoinBridge.BTCDepositState\",\"name\":\"actualState\",\"type\":\"uint8\"},{\"internalType\":\"enumBitcoinBridge.BTCDepositState\",\"name\":\"expectedState\",\"type\":\"uint8\"}],\"name\":\"UnexpectedBTCDepositState\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"actualExtraData\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"expectedExtraData\",\"type\":\"bytes32\"}],\"name\":\"UnexpectedExtraData\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"sequenceNumber\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"AssetsLocked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"btcDepositKey\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"initialAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tbtcAmount\",\"type\":\"uint256\"}],\"name\":\"BTCDepositFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"btcDepositKey\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"BTCDepositInitialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"ERC20Token\",\"type\":\"address\"}],\"name\":\"ERC20TokenDisabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"ERC20Token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minERC20Amount\",\"type\":\"uint256\"}],\"name\":\"ERC20TokenEnabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"ERC20Token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newMinERC20Amount\",\"type\":\"uint256\"}],\"name\":\"MinERC20AmountUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minTBTCAmount\",\"type\":\"uint256\"}],\"name\":\"MinTBTCAmountUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"ERC20Tokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ERC20TokensCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_ERC20_TOKENS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SATOSHI_MULTIPLIER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bridge\",\"outputs\":[{\"internalType\":\"contractIBridge\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"ERC20Token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"bridgeERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"bridgeTBTC\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"bridgeTBTCWithPermit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"btcDeposits\",\"outputs\":[{\"internalType\":\"enumBitcoinBridge.BTCDepositState\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"ERC20Token\",\"type\":\"address\"}],\"name\":\"disableERC20Token\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"ERC20Token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"minERC20Amount\",\"type\":\"uint256\"}],\"name\":\"enableERC20Token\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"btcDepositKey\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"finalizeBTCBridging\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tbtcBridge\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_tbtcVault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_tbtcToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_initialSequence\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes4\",\"name\":\"version\",\"type\":\"bytes4\"},{\"internalType\":\"bytes\",\"name\":\"inputVector\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"outputVector\",\"type\":\"bytes\"},{\"internalType\":\"bytes4\",\"name\":\"locktime\",\"type\":\"bytes4\"}],\"internalType\":\"structIBridgeTypes.BitcoinTxInfo\",\"name\":\"fundingTx\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"fundingOutputIndex\",\"type\":\"uint32\"},{\"internalType\":\"bytes8\",\"name\":\"blindingFactor\",\"type\":\"bytes8\"},{\"internalType\":\"bytes20\",\"name\":\"walletPubKeyHash\",\"type\":\"bytes20\"},{\"internalType\":\"bytes20\",\"name\":\"refundPubKeyHash\",\"type\":\"bytes20\"},{\"internalType\":\"bytes4\",\"name\":\"refundLocktime\",\"type\":\"bytes4\"},{\"internalType\":\"address\",\"name\":\"vault\",\"type\":\"address\"}],\"internalType\":\"structIBridgeTypes.DepositRevealInfo\",\"name\":\"reveal\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"initializeBTCBridging\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minTBTCAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sequence\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tbtcToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tbtcVault\",\"outputs\":[{\"internalType\":\"contractITBTCVault\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"ERC20Token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"newMinERC20Amount\",\"type\":\"uint256\"}],\"name\":\"updateMinERC20Amount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newMinTBTCAmount\",\"type\":\"uint256\"}],\"name\":\"updateMinTBTCAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
MezoBridgeMetaData contains all meta data concerning the MezoBridge contract.
Functions ¶
This section is empty.
Types ¶
type IBridgeTypesBitcoinTxInfo ¶
type IBridgeTypesBitcoinTxInfo struct { Version [4]byte InputVector []byte OutputVector []byte Locktime [4]byte }
IBridgeTypesBitcoinTxInfo is an auto generated low-level Go binding around an user-defined struct.
type IBridgeTypesDepositRevealInfo ¶
type IBridgeTypesDepositRevealInfo struct { FundingOutputIndex uint32 BlindingFactor [8]byte WalletPubKeyHash [20]byte RefundPubKeyHash [20]byte RefundLocktime [4]byte Vault common.Address }
IBridgeTypesDepositRevealInfo is an auto generated low-level Go binding around an user-defined struct.
type MezoBridge ¶
type MezoBridge struct { MezoBridgeCaller // Read-only binding to the contract MezoBridgeTransactor // Write-only binding to the contract MezoBridgeFilterer // Log filterer for contract events }
MezoBridge is an auto generated Go binding around an Ethereum contract.
func NewMezoBridge ¶
func NewMezoBridge(address common.Address, backend bind.ContractBackend) (*MezoBridge, error)
NewMezoBridge creates a new instance of MezoBridge, bound to a specific deployed contract.
type MezoBridgeAssetsLocked ¶
type MezoBridgeAssetsLocked struct { SequenceNumber *big.Int Recipient common.Address Token common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
MezoBridgeAssetsLocked represents a AssetsLocked event raised by the MezoBridge contract.
type MezoBridgeAssetsLockedIterator ¶
type MezoBridgeAssetsLockedIterator struct { Event *MezoBridgeAssetsLocked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MezoBridgeAssetsLockedIterator is returned from FilterAssetsLocked and is used to iterate over the raw logs and unpacked data for AssetsLocked events raised by the MezoBridge contract.
func (*MezoBridgeAssetsLockedIterator) Close ¶
func (it *MezoBridgeAssetsLockedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MezoBridgeAssetsLockedIterator) Error ¶
func (it *MezoBridgeAssetsLockedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MezoBridgeAssetsLockedIterator) Next ¶
func (it *MezoBridgeAssetsLockedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MezoBridgeBTCDepositFinalized ¶
type MezoBridgeBTCDepositFinalized struct { BtcDepositKey *big.Int InitialAmount *big.Int TbtcAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
MezoBridgeBTCDepositFinalized represents a BTCDepositFinalized event raised by the MezoBridge contract.
type MezoBridgeBTCDepositFinalizedIterator ¶
type MezoBridgeBTCDepositFinalizedIterator struct { Event *MezoBridgeBTCDepositFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MezoBridgeBTCDepositFinalizedIterator is returned from FilterBTCDepositFinalized and is used to iterate over the raw logs and unpacked data for BTCDepositFinalized events raised by the MezoBridge contract.
func (*MezoBridgeBTCDepositFinalizedIterator) Close ¶
func (it *MezoBridgeBTCDepositFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MezoBridgeBTCDepositFinalizedIterator) Error ¶
func (it *MezoBridgeBTCDepositFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MezoBridgeBTCDepositFinalizedIterator) Next ¶
func (it *MezoBridgeBTCDepositFinalizedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MezoBridgeBTCDepositInitialized ¶
type MezoBridgeBTCDepositInitialized struct { BtcDepositKey *big.Int Recipient common.Address Raw types.Log // Blockchain specific contextual infos }
MezoBridgeBTCDepositInitialized represents a BTCDepositInitialized event raised by the MezoBridge contract.
type MezoBridgeBTCDepositInitializedIterator ¶
type MezoBridgeBTCDepositInitializedIterator struct { Event *MezoBridgeBTCDepositInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MezoBridgeBTCDepositInitializedIterator is returned from FilterBTCDepositInitialized and is used to iterate over the raw logs and unpacked data for BTCDepositInitialized events raised by the MezoBridge contract.
func (*MezoBridgeBTCDepositInitializedIterator) Close ¶
func (it *MezoBridgeBTCDepositInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MezoBridgeBTCDepositInitializedIterator) Error ¶
func (it *MezoBridgeBTCDepositInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MezoBridgeBTCDepositInitializedIterator) Next ¶
func (it *MezoBridgeBTCDepositInitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MezoBridgeCaller ¶
type MezoBridgeCaller struct {
// contains filtered or unexported fields
}
MezoBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMezoBridgeCaller ¶
func NewMezoBridgeCaller(address common.Address, caller bind.ContractCaller) (*MezoBridgeCaller, error)
NewMezoBridgeCaller creates a new read-only instance of MezoBridge, bound to a specific deployed contract.
func (*MezoBridgeCaller) Bridge ¶
Bridge is a free data retrieval call binding the contract method 0xe78cea92.
Solidity: function bridge() view returns(address)
func (*MezoBridgeCaller) BtcDeposits ¶
BtcDeposits is a free data retrieval call binding the contract method 0x941b1f94.
Solidity: function btcDeposits(uint256 ) view returns(uint8)
func (*MezoBridgeCaller) ERC20Tokens ¶
func (_MezoBridge *MezoBridgeCaller) ERC20Tokens(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
ERC20Tokens is a free data retrieval call binding the contract method 0xd80687ef.
Solidity: function ERC20Tokens(address ) view returns(uint256)
func (*MezoBridgeCaller) ERC20TokensCount ¶
ERC20TokensCount is a free data retrieval call binding the contract method 0xd252bb2c.
Solidity: function ERC20TokensCount() view returns(uint256)
func (*MezoBridgeCaller) MAXERC20TOKENS ¶
MAXERC20TOKENS is a free data retrieval call binding the contract method 0x5febd8eb.
Solidity: function MAX_ERC20_TOKENS() view returns(uint256)
func (*MezoBridgeCaller) MinTBTCAmount ¶
MinTBTCAmount is a free data retrieval call binding the contract method 0xdab1b4bd.
Solidity: function minTBTCAmount() view returns(uint256)
func (*MezoBridgeCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MezoBridgeCaller) PendingOwner ¶
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*MezoBridgeCaller) SATOSHIMULTIPLIER ¶
SATOSHIMULTIPLIER is a free data retrieval call binding the contract method 0xc7ba0347.
Solidity: function SATOSHI_MULTIPLIER() view returns(uint256)
func (*MezoBridgeCaller) Sequence ¶
Sequence is a free data retrieval call binding the contract method 0x529d15cc.
Solidity: function sequence() view returns(uint256)
type MezoBridgeCallerRaw ¶
type MezoBridgeCallerRaw struct {
Contract *MezoBridgeCaller // Generic read-only contract binding to access the raw methods on
}
MezoBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MezoBridgeCallerRaw) Call ¶
func (_MezoBridge *MezoBridgeCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type MezoBridgeCallerSession ¶
type MezoBridgeCallerSession struct { Contract *MezoBridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MezoBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MezoBridgeCallerSession) Bridge ¶
func (_MezoBridge *MezoBridgeCallerSession) Bridge() (common.Address, error)
Bridge is a free data retrieval call binding the contract method 0xe78cea92.
Solidity: function bridge() view returns(address)
func (*MezoBridgeCallerSession) BtcDeposits ¶
func (_MezoBridge *MezoBridgeCallerSession) BtcDeposits(arg0 *big.Int) (uint8, error)
BtcDeposits is a free data retrieval call binding the contract method 0x941b1f94.
Solidity: function btcDeposits(uint256 ) view returns(uint8)
func (*MezoBridgeCallerSession) ERC20Tokens ¶
ERC20Tokens is a free data retrieval call binding the contract method 0xd80687ef.
Solidity: function ERC20Tokens(address ) view returns(uint256)
func (*MezoBridgeCallerSession) ERC20TokensCount ¶
func (_MezoBridge *MezoBridgeCallerSession) ERC20TokensCount() (*big.Int, error)
ERC20TokensCount is a free data retrieval call binding the contract method 0xd252bb2c.
Solidity: function ERC20TokensCount() view returns(uint256)
func (*MezoBridgeCallerSession) MAXERC20TOKENS ¶
func (_MezoBridge *MezoBridgeCallerSession) MAXERC20TOKENS() (*big.Int, error)
MAXERC20TOKENS is a free data retrieval call binding the contract method 0x5febd8eb.
Solidity: function MAX_ERC20_TOKENS() view returns(uint256)
func (*MezoBridgeCallerSession) MinTBTCAmount ¶
func (_MezoBridge *MezoBridgeCallerSession) MinTBTCAmount() (*big.Int, error)
MinTBTCAmount is a free data retrieval call binding the contract method 0xdab1b4bd.
Solidity: function minTBTCAmount() view returns(uint256)
func (*MezoBridgeCallerSession) Owner ¶
func (_MezoBridge *MezoBridgeCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MezoBridgeCallerSession) PendingOwner ¶
func (_MezoBridge *MezoBridgeCallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*MezoBridgeCallerSession) SATOSHIMULTIPLIER ¶
func (_MezoBridge *MezoBridgeCallerSession) SATOSHIMULTIPLIER() (*big.Int, error)
SATOSHIMULTIPLIER is a free data retrieval call binding the contract method 0xc7ba0347.
Solidity: function SATOSHI_MULTIPLIER() view returns(uint256)
func (*MezoBridgeCallerSession) Sequence ¶
func (_MezoBridge *MezoBridgeCallerSession) Sequence() (*big.Int, error)
Sequence is a free data retrieval call binding the contract method 0x529d15cc.
Solidity: function sequence() view returns(uint256)
type MezoBridgeERC20TokenDisabled ¶
type MezoBridgeERC20TokenDisabled struct { ERC20Token common.Address Raw types.Log // Blockchain specific contextual infos }
MezoBridgeERC20TokenDisabled represents a ERC20TokenDisabled event raised by the MezoBridge contract.
type MezoBridgeERC20TokenDisabledIterator ¶
type MezoBridgeERC20TokenDisabledIterator struct { Event *MezoBridgeERC20TokenDisabled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MezoBridgeERC20TokenDisabledIterator is returned from FilterERC20TokenDisabled and is used to iterate over the raw logs and unpacked data for ERC20TokenDisabled events raised by the MezoBridge contract.
func (*MezoBridgeERC20TokenDisabledIterator) Close ¶
func (it *MezoBridgeERC20TokenDisabledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MezoBridgeERC20TokenDisabledIterator) Error ¶
func (it *MezoBridgeERC20TokenDisabledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MezoBridgeERC20TokenDisabledIterator) Next ¶
func (it *MezoBridgeERC20TokenDisabledIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MezoBridgeERC20TokenEnabled ¶
type MezoBridgeERC20TokenEnabled struct { ERC20Token common.Address MinERC20Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
MezoBridgeERC20TokenEnabled represents a ERC20TokenEnabled event raised by the MezoBridge contract.
type MezoBridgeERC20TokenEnabledIterator ¶
type MezoBridgeERC20TokenEnabledIterator struct { Event *MezoBridgeERC20TokenEnabled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MezoBridgeERC20TokenEnabledIterator is returned from FilterERC20TokenEnabled and is used to iterate over the raw logs and unpacked data for ERC20TokenEnabled events raised by the MezoBridge contract.
func (*MezoBridgeERC20TokenEnabledIterator) Close ¶
func (it *MezoBridgeERC20TokenEnabledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MezoBridgeERC20TokenEnabledIterator) Error ¶
func (it *MezoBridgeERC20TokenEnabledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MezoBridgeERC20TokenEnabledIterator) Next ¶
func (it *MezoBridgeERC20TokenEnabledIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MezoBridgeFilterer ¶
type MezoBridgeFilterer struct {
// contains filtered or unexported fields
}
MezoBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMezoBridgeFilterer ¶
func NewMezoBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*MezoBridgeFilterer, error)
NewMezoBridgeFilterer creates a new log filterer instance of MezoBridge, bound to a specific deployed contract.
func (*MezoBridgeFilterer) FilterAssetsLocked ¶
func (_MezoBridge *MezoBridgeFilterer) FilterAssetsLocked(opts *bind.FilterOpts, sequenceNumber []*big.Int, recipient []common.Address, token []common.Address) (*MezoBridgeAssetsLockedIterator, error)
FilterAssetsLocked is a free log retrieval operation binding the contract event 0x75aa5616721471b8ab0c49ce59500cbad2b7ef1ad10e5eb9449c693c0a5c8fd1.
Solidity: event AssetsLocked(uint256 indexed sequenceNumber, address indexed recipient, address indexed token, uint256 amount)
func (*MezoBridgeFilterer) FilterBTCDepositFinalized ¶
func (_MezoBridge *MezoBridgeFilterer) FilterBTCDepositFinalized(opts *bind.FilterOpts, btcDepositKey []*big.Int) (*MezoBridgeBTCDepositFinalizedIterator, error)
FilterBTCDepositFinalized is a free log retrieval operation binding the contract event 0xa81d3c9594b1f3363bfc07d9277c4624e0da8dae3b42d466f1edc0718c62ab53.
Solidity: event BTCDepositFinalized(uint256 indexed btcDepositKey, uint256 initialAmount, uint256 tbtcAmount)
func (*MezoBridgeFilterer) FilterBTCDepositInitialized ¶
func (_MezoBridge *MezoBridgeFilterer) FilterBTCDepositInitialized(opts *bind.FilterOpts, btcDepositKey []*big.Int, recipient []common.Address) (*MezoBridgeBTCDepositInitializedIterator, error)
FilterBTCDepositInitialized is a free log retrieval operation binding the contract event 0x2fbc945bad45e66509bad2bda7b97993796881f9ac2543b827d2aaf69f186923.
Solidity: event BTCDepositInitialized(uint256 indexed btcDepositKey, address indexed recipient)
func (*MezoBridgeFilterer) FilterERC20TokenDisabled ¶
func (_MezoBridge *MezoBridgeFilterer) FilterERC20TokenDisabled(opts *bind.FilterOpts, ERC20Token []common.Address) (*MezoBridgeERC20TokenDisabledIterator, error)
FilterERC20TokenDisabled is a free log retrieval operation binding the contract event 0x9c4edffd5782d54d432f513a2a7d944aac6f743c7ef4a83d8c6189ba21dd4299.
Solidity: event ERC20TokenDisabled(address indexed ERC20Token)
func (*MezoBridgeFilterer) FilterERC20TokenEnabled ¶
func (_MezoBridge *MezoBridgeFilterer) FilterERC20TokenEnabled(opts *bind.FilterOpts, ERC20Token []common.Address) (*MezoBridgeERC20TokenEnabledIterator, error)
FilterERC20TokenEnabled is a free log retrieval operation binding the contract event 0xf17d094161c4f2776fc9caa30094c8ebe1b86cd6f2108db5d9f1d46d8f85494c.
Solidity: event ERC20TokenEnabled(address indexed ERC20Token, uint256 minERC20Amount)
func (*MezoBridgeFilterer) FilterInitialized ¶
func (_MezoBridge *MezoBridgeFilterer) FilterInitialized(opts *bind.FilterOpts) (*MezoBridgeInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*MezoBridgeFilterer) FilterMinERC20AmountUpdated ¶
func (_MezoBridge *MezoBridgeFilterer) FilterMinERC20AmountUpdated(opts *bind.FilterOpts, ERC20Token []common.Address) (*MezoBridgeMinERC20AmountUpdatedIterator, error)
FilterMinERC20AmountUpdated is a free log retrieval operation binding the contract event 0x886950a2d9ce5c7d214261968375335366c8547e3e5eb5e1744c3cb581c4a672.
Solidity: event MinERC20AmountUpdated(address indexed ERC20Token, uint256 newMinERC20Amount)
func (*MezoBridgeFilterer) FilterMinTBTCAmountUpdated ¶
func (_MezoBridge *MezoBridgeFilterer) FilterMinTBTCAmountUpdated(opts *bind.FilterOpts) (*MezoBridgeMinTBTCAmountUpdatedIterator, error)
FilterMinTBTCAmountUpdated is a free log retrieval operation binding the contract event 0xe64dbc80c2152cea46e3b80ba80f3e8c125114dc79194e9c947b480cfc80e59c.
Solidity: event MinTBTCAmountUpdated(uint256 minTBTCAmount)
func (*MezoBridgeFilterer) FilterOwnershipTransferStarted ¶
func (_MezoBridge *MezoBridgeFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MezoBridgeOwnershipTransferStartedIterator, error)
FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*MezoBridgeFilterer) FilterOwnershipTransferred ¶
func (_MezoBridge *MezoBridgeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MezoBridgeOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*MezoBridgeFilterer) ParseAssetsLocked ¶
func (_MezoBridge *MezoBridgeFilterer) ParseAssetsLocked(log types.Log) (*MezoBridgeAssetsLocked, error)
ParseAssetsLocked is a log parse operation binding the contract event 0x75aa5616721471b8ab0c49ce59500cbad2b7ef1ad10e5eb9449c693c0a5c8fd1.
Solidity: event AssetsLocked(uint256 indexed sequenceNumber, address indexed recipient, address indexed token, uint256 amount)
func (*MezoBridgeFilterer) ParseBTCDepositFinalized ¶
func (_MezoBridge *MezoBridgeFilterer) ParseBTCDepositFinalized(log types.Log) (*MezoBridgeBTCDepositFinalized, error)
ParseBTCDepositFinalized is a log parse operation binding the contract event 0xa81d3c9594b1f3363bfc07d9277c4624e0da8dae3b42d466f1edc0718c62ab53.
Solidity: event BTCDepositFinalized(uint256 indexed btcDepositKey, uint256 initialAmount, uint256 tbtcAmount)
func (*MezoBridgeFilterer) ParseBTCDepositInitialized ¶
func (_MezoBridge *MezoBridgeFilterer) ParseBTCDepositInitialized(log types.Log) (*MezoBridgeBTCDepositInitialized, error)
ParseBTCDepositInitialized is a log parse operation binding the contract event 0x2fbc945bad45e66509bad2bda7b97993796881f9ac2543b827d2aaf69f186923.
Solidity: event BTCDepositInitialized(uint256 indexed btcDepositKey, address indexed recipient)
func (*MezoBridgeFilterer) ParseERC20TokenDisabled ¶
func (_MezoBridge *MezoBridgeFilterer) ParseERC20TokenDisabled(log types.Log) (*MezoBridgeERC20TokenDisabled, error)
ParseERC20TokenDisabled is a log parse operation binding the contract event 0x9c4edffd5782d54d432f513a2a7d944aac6f743c7ef4a83d8c6189ba21dd4299.
Solidity: event ERC20TokenDisabled(address indexed ERC20Token)
func (*MezoBridgeFilterer) ParseERC20TokenEnabled ¶
func (_MezoBridge *MezoBridgeFilterer) ParseERC20TokenEnabled(log types.Log) (*MezoBridgeERC20TokenEnabled, error)
ParseERC20TokenEnabled is a log parse operation binding the contract event 0xf17d094161c4f2776fc9caa30094c8ebe1b86cd6f2108db5d9f1d46d8f85494c.
Solidity: event ERC20TokenEnabled(address indexed ERC20Token, uint256 minERC20Amount)
func (*MezoBridgeFilterer) ParseInitialized ¶
func (_MezoBridge *MezoBridgeFilterer) ParseInitialized(log types.Log) (*MezoBridgeInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*MezoBridgeFilterer) ParseMinERC20AmountUpdated ¶
func (_MezoBridge *MezoBridgeFilterer) ParseMinERC20AmountUpdated(log types.Log) (*MezoBridgeMinERC20AmountUpdated, error)
ParseMinERC20AmountUpdated is a log parse operation binding the contract event 0x886950a2d9ce5c7d214261968375335366c8547e3e5eb5e1744c3cb581c4a672.
Solidity: event MinERC20AmountUpdated(address indexed ERC20Token, uint256 newMinERC20Amount)
func (*MezoBridgeFilterer) ParseMinTBTCAmountUpdated ¶
func (_MezoBridge *MezoBridgeFilterer) ParseMinTBTCAmountUpdated(log types.Log) (*MezoBridgeMinTBTCAmountUpdated, error)
ParseMinTBTCAmountUpdated is a log parse operation binding the contract event 0xe64dbc80c2152cea46e3b80ba80f3e8c125114dc79194e9c947b480cfc80e59c.
Solidity: event MinTBTCAmountUpdated(uint256 minTBTCAmount)
func (*MezoBridgeFilterer) ParseOwnershipTransferStarted ¶
func (_MezoBridge *MezoBridgeFilterer) ParseOwnershipTransferStarted(log types.Log) (*MezoBridgeOwnershipTransferStarted, error)
ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*MezoBridgeFilterer) ParseOwnershipTransferred ¶
func (_MezoBridge *MezoBridgeFilterer) ParseOwnershipTransferred(log types.Log) (*MezoBridgeOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*MezoBridgeFilterer) WatchAssetsLocked ¶
func (_MezoBridge *MezoBridgeFilterer) WatchAssetsLocked(opts *bind.WatchOpts, sink chan<- *MezoBridgeAssetsLocked, sequenceNumber []*big.Int, recipient []common.Address, token []common.Address) (event.Subscription, error)
WatchAssetsLocked is a free log subscription operation binding the contract event 0x75aa5616721471b8ab0c49ce59500cbad2b7ef1ad10e5eb9449c693c0a5c8fd1.
Solidity: event AssetsLocked(uint256 indexed sequenceNumber, address indexed recipient, address indexed token, uint256 amount)
func (*MezoBridgeFilterer) WatchBTCDepositFinalized ¶
func (_MezoBridge *MezoBridgeFilterer) WatchBTCDepositFinalized(opts *bind.WatchOpts, sink chan<- *MezoBridgeBTCDepositFinalized, btcDepositKey []*big.Int) (event.Subscription, error)
WatchBTCDepositFinalized is a free log subscription operation binding the contract event 0xa81d3c9594b1f3363bfc07d9277c4624e0da8dae3b42d466f1edc0718c62ab53.
Solidity: event BTCDepositFinalized(uint256 indexed btcDepositKey, uint256 initialAmount, uint256 tbtcAmount)
func (*MezoBridgeFilterer) WatchBTCDepositInitialized ¶
func (_MezoBridge *MezoBridgeFilterer) WatchBTCDepositInitialized(opts *bind.WatchOpts, sink chan<- *MezoBridgeBTCDepositInitialized, btcDepositKey []*big.Int, recipient []common.Address) (event.Subscription, error)
WatchBTCDepositInitialized is a free log subscription operation binding the contract event 0x2fbc945bad45e66509bad2bda7b97993796881f9ac2543b827d2aaf69f186923.
Solidity: event BTCDepositInitialized(uint256 indexed btcDepositKey, address indexed recipient)
func (*MezoBridgeFilterer) WatchERC20TokenDisabled ¶
func (_MezoBridge *MezoBridgeFilterer) WatchERC20TokenDisabled(opts *bind.WatchOpts, sink chan<- *MezoBridgeERC20TokenDisabled, ERC20Token []common.Address) (event.Subscription, error)
WatchERC20TokenDisabled is a free log subscription operation binding the contract event 0x9c4edffd5782d54d432f513a2a7d944aac6f743c7ef4a83d8c6189ba21dd4299.
Solidity: event ERC20TokenDisabled(address indexed ERC20Token)
func (*MezoBridgeFilterer) WatchERC20TokenEnabled ¶
func (_MezoBridge *MezoBridgeFilterer) WatchERC20TokenEnabled(opts *bind.WatchOpts, sink chan<- *MezoBridgeERC20TokenEnabled, ERC20Token []common.Address) (event.Subscription, error)
WatchERC20TokenEnabled is a free log subscription operation binding the contract event 0xf17d094161c4f2776fc9caa30094c8ebe1b86cd6f2108db5d9f1d46d8f85494c.
Solidity: event ERC20TokenEnabled(address indexed ERC20Token, uint256 minERC20Amount)
func (*MezoBridgeFilterer) WatchInitialized ¶
func (_MezoBridge *MezoBridgeFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *MezoBridgeInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*MezoBridgeFilterer) WatchMinERC20AmountUpdated ¶
func (_MezoBridge *MezoBridgeFilterer) WatchMinERC20AmountUpdated(opts *bind.WatchOpts, sink chan<- *MezoBridgeMinERC20AmountUpdated, ERC20Token []common.Address) (event.Subscription, error)
WatchMinERC20AmountUpdated is a free log subscription operation binding the contract event 0x886950a2d9ce5c7d214261968375335366c8547e3e5eb5e1744c3cb581c4a672.
Solidity: event MinERC20AmountUpdated(address indexed ERC20Token, uint256 newMinERC20Amount)
func (*MezoBridgeFilterer) WatchMinTBTCAmountUpdated ¶
func (_MezoBridge *MezoBridgeFilterer) WatchMinTBTCAmountUpdated(opts *bind.WatchOpts, sink chan<- *MezoBridgeMinTBTCAmountUpdated) (event.Subscription, error)
WatchMinTBTCAmountUpdated is a free log subscription operation binding the contract event 0xe64dbc80c2152cea46e3b80ba80f3e8c125114dc79194e9c947b480cfc80e59c.
Solidity: event MinTBTCAmountUpdated(uint256 minTBTCAmount)
func (*MezoBridgeFilterer) WatchOwnershipTransferStarted ¶
func (_MezoBridge *MezoBridgeFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *MezoBridgeOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*MezoBridgeFilterer) WatchOwnershipTransferred ¶
func (_MezoBridge *MezoBridgeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MezoBridgeOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type MezoBridgeInitialized ¶
type MezoBridgeInitialized struct { Version uint64 Raw types.Log // Blockchain specific contextual infos }
MezoBridgeInitialized represents a Initialized event raised by the MezoBridge contract.
type MezoBridgeInitializedIterator ¶
type MezoBridgeInitializedIterator struct { Event *MezoBridgeInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MezoBridgeInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the MezoBridge contract.
func (*MezoBridgeInitializedIterator) Close ¶
func (it *MezoBridgeInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MezoBridgeInitializedIterator) Error ¶
func (it *MezoBridgeInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MezoBridgeInitializedIterator) Next ¶
func (it *MezoBridgeInitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MezoBridgeMinERC20AmountUpdated ¶
type MezoBridgeMinERC20AmountUpdated struct { ERC20Token common.Address NewMinERC20Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
MezoBridgeMinERC20AmountUpdated represents a MinERC20AmountUpdated event raised by the MezoBridge contract.
type MezoBridgeMinERC20AmountUpdatedIterator ¶
type MezoBridgeMinERC20AmountUpdatedIterator struct { Event *MezoBridgeMinERC20AmountUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MezoBridgeMinERC20AmountUpdatedIterator is returned from FilterMinERC20AmountUpdated and is used to iterate over the raw logs and unpacked data for MinERC20AmountUpdated events raised by the MezoBridge contract.
func (*MezoBridgeMinERC20AmountUpdatedIterator) Close ¶
func (it *MezoBridgeMinERC20AmountUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MezoBridgeMinERC20AmountUpdatedIterator) Error ¶
func (it *MezoBridgeMinERC20AmountUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MezoBridgeMinERC20AmountUpdatedIterator) Next ¶
func (it *MezoBridgeMinERC20AmountUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MezoBridgeMinTBTCAmountUpdated ¶
type MezoBridgeMinTBTCAmountUpdated struct { MinTBTCAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
MezoBridgeMinTBTCAmountUpdated represents a MinTBTCAmountUpdated event raised by the MezoBridge contract.
type MezoBridgeMinTBTCAmountUpdatedIterator ¶
type MezoBridgeMinTBTCAmountUpdatedIterator struct { Event *MezoBridgeMinTBTCAmountUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MezoBridgeMinTBTCAmountUpdatedIterator is returned from FilterMinTBTCAmountUpdated and is used to iterate over the raw logs and unpacked data for MinTBTCAmountUpdated events raised by the MezoBridge contract.
func (*MezoBridgeMinTBTCAmountUpdatedIterator) Close ¶
func (it *MezoBridgeMinTBTCAmountUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MezoBridgeMinTBTCAmountUpdatedIterator) Error ¶
func (it *MezoBridgeMinTBTCAmountUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MezoBridgeMinTBTCAmountUpdatedIterator) Next ¶
func (it *MezoBridgeMinTBTCAmountUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MezoBridgeOwnershipTransferStarted ¶
type MezoBridgeOwnershipTransferStarted struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
MezoBridgeOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the MezoBridge contract.
type MezoBridgeOwnershipTransferStartedIterator ¶
type MezoBridgeOwnershipTransferStartedIterator struct { Event *MezoBridgeOwnershipTransferStarted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MezoBridgeOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the MezoBridge contract.
func (*MezoBridgeOwnershipTransferStartedIterator) Close ¶
func (it *MezoBridgeOwnershipTransferStartedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MezoBridgeOwnershipTransferStartedIterator) Error ¶
func (it *MezoBridgeOwnershipTransferStartedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MezoBridgeOwnershipTransferStartedIterator) Next ¶
func (it *MezoBridgeOwnershipTransferStartedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MezoBridgeOwnershipTransferred ¶
type MezoBridgeOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
MezoBridgeOwnershipTransferred represents a OwnershipTransferred event raised by the MezoBridge contract.
type MezoBridgeOwnershipTransferredIterator ¶
type MezoBridgeOwnershipTransferredIterator struct { Event *MezoBridgeOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MezoBridgeOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the MezoBridge contract.
func (*MezoBridgeOwnershipTransferredIterator) Close ¶
func (it *MezoBridgeOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MezoBridgeOwnershipTransferredIterator) Error ¶
func (it *MezoBridgeOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MezoBridgeOwnershipTransferredIterator) Next ¶
func (it *MezoBridgeOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MezoBridgeRaw ¶
type MezoBridgeRaw struct {
Contract *MezoBridge // Generic contract binding to access the raw methods on
}
MezoBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MezoBridgeRaw) Call ¶
func (_MezoBridge *MezoBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*MezoBridgeRaw) Transact ¶
func (_MezoBridge *MezoBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MezoBridgeRaw) Transfer ¶
func (_MezoBridge *MezoBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type MezoBridgeSession ¶
type MezoBridgeSession struct { Contract *MezoBridge // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MezoBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MezoBridgeSession) AcceptOwnership ¶
func (_MezoBridge *MezoBridgeSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*MezoBridgeSession) Bridge ¶
func (_MezoBridge *MezoBridgeSession) Bridge() (common.Address, error)
Bridge is a free data retrieval call binding the contract method 0xe78cea92.
Solidity: function bridge() view returns(address)
func (*MezoBridgeSession) BridgeERC20 ¶
func (_MezoBridge *MezoBridgeSession) BridgeERC20(ERC20Token common.Address, amount *big.Int, recipient common.Address) (*types.Transaction, error)
BridgeERC20 is a paid mutator transaction binding the contract method 0x61912174.
Solidity: function bridgeERC20(address ERC20Token, uint256 amount, address recipient) returns()
func (*MezoBridgeSession) BridgeTBTC ¶
func (_MezoBridge *MezoBridgeSession) BridgeTBTC(amount *big.Int, recipient common.Address) (*types.Transaction, error)
BridgeTBTC is a paid mutator transaction binding the contract method 0xdf4d4663.
Solidity: function bridgeTBTC(uint256 amount, address recipient) returns()
func (*MezoBridgeSession) BridgeTBTCWithPermit ¶
func (_MezoBridge *MezoBridgeSession) BridgeTBTCWithPermit(amount *big.Int, recipient common.Address, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
BridgeTBTCWithPermit is a paid mutator transaction binding the contract method 0x427f9568.
Solidity: function bridgeTBTCWithPermit(uint256 amount, address recipient, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*MezoBridgeSession) BtcDeposits ¶
func (_MezoBridge *MezoBridgeSession) BtcDeposits(arg0 *big.Int) (uint8, error)
BtcDeposits is a free data retrieval call binding the contract method 0x941b1f94.
Solidity: function btcDeposits(uint256 ) view returns(uint8)
func (*MezoBridgeSession) DisableERC20Token ¶
func (_MezoBridge *MezoBridgeSession) DisableERC20Token(ERC20Token common.Address) (*types.Transaction, error)
DisableERC20Token is a paid mutator transaction binding the contract method 0x74ca1279.
Solidity: function disableERC20Token(address ERC20Token) returns()
func (*MezoBridgeSession) ERC20Tokens ¶
ERC20Tokens is a free data retrieval call binding the contract method 0xd80687ef.
Solidity: function ERC20Tokens(address ) view returns(uint256)
func (*MezoBridgeSession) ERC20TokensCount ¶
func (_MezoBridge *MezoBridgeSession) ERC20TokensCount() (*big.Int, error)
ERC20TokensCount is a free data retrieval call binding the contract method 0xd252bb2c.
Solidity: function ERC20TokensCount() view returns(uint256)
func (*MezoBridgeSession) EnableERC20Token ¶
func (_MezoBridge *MezoBridgeSession) EnableERC20Token(ERC20Token common.Address, minERC20Amount *big.Int) (*types.Transaction, error)
EnableERC20Token is a paid mutator transaction binding the contract method 0x67a68320.
Solidity: function enableERC20Token(address ERC20Token, uint256 minERC20Amount) returns()
func (*MezoBridgeSession) FinalizeBTCBridging ¶
func (_MezoBridge *MezoBridgeSession) FinalizeBTCBridging(btcDepositKey *big.Int, recipient common.Address) (*types.Transaction, error)
FinalizeBTCBridging is a paid mutator transaction binding the contract method 0x24f90de9.
Solidity: function finalizeBTCBridging(uint256 btcDepositKey, address recipient) returns()
func (*MezoBridgeSession) Initialize ¶
func (_MezoBridge *MezoBridgeSession) Initialize(_tbtcBridge common.Address, _tbtcVault common.Address, _tbtcToken common.Address, _initialSequence *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xcf756fdf.
Solidity: function initialize(address _tbtcBridge, address _tbtcVault, address _tbtcToken, uint256 _initialSequence) returns()
func (*MezoBridgeSession) InitializeBTCBridging ¶
func (_MezoBridge *MezoBridgeSession) InitializeBTCBridging(fundingTx IBridgeTypesBitcoinTxInfo, reveal IBridgeTypesDepositRevealInfo, recipient common.Address) (*types.Transaction, error)
InitializeBTCBridging is a paid mutator transaction binding the contract method 0x6f64aca2.
Solidity: function initializeBTCBridging((bytes4,bytes,bytes,bytes4) fundingTx, (uint32,bytes8,bytes20,bytes20,bytes4,address) reveal, address recipient) returns()
func (*MezoBridgeSession) MAXERC20TOKENS ¶
func (_MezoBridge *MezoBridgeSession) MAXERC20TOKENS() (*big.Int, error)
MAXERC20TOKENS is a free data retrieval call binding the contract method 0x5febd8eb.
Solidity: function MAX_ERC20_TOKENS() view returns(uint256)
func (*MezoBridgeSession) MinTBTCAmount ¶
func (_MezoBridge *MezoBridgeSession) MinTBTCAmount() (*big.Int, error)
MinTBTCAmount is a free data retrieval call binding the contract method 0xdab1b4bd.
Solidity: function minTBTCAmount() view returns(uint256)
func (*MezoBridgeSession) Owner ¶
func (_MezoBridge *MezoBridgeSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MezoBridgeSession) PendingOwner ¶
func (_MezoBridge *MezoBridgeSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*MezoBridgeSession) RenounceOwnership ¶
func (_MezoBridge *MezoBridgeSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*MezoBridgeSession) SATOSHIMULTIPLIER ¶
func (_MezoBridge *MezoBridgeSession) SATOSHIMULTIPLIER() (*big.Int, error)
SATOSHIMULTIPLIER is a free data retrieval call binding the contract method 0xc7ba0347.
Solidity: function SATOSHI_MULTIPLIER() view returns(uint256)
func (*MezoBridgeSession) Sequence ¶
func (_MezoBridge *MezoBridgeSession) Sequence() (*big.Int, error)
Sequence is a free data retrieval call binding the contract method 0x529d15cc.
Solidity: function sequence() view returns(uint256)
func (*MezoBridgeSession) TbtcToken ¶
func (_MezoBridge *MezoBridgeSession) TbtcToken() (common.Address, error)
TbtcToken is a free data retrieval call binding the contract method 0xe5d3d714.
Solidity: function tbtcToken() view returns(address)
func (*MezoBridgeSession) TbtcVault ¶
func (_MezoBridge *MezoBridgeSession) TbtcVault() (common.Address, error)
TbtcVault is a free data retrieval call binding the contract method 0x0f36403a.
Solidity: function tbtcVault() view returns(address)
func (*MezoBridgeSession) TransferOwnership ¶
func (_MezoBridge *MezoBridgeSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*MezoBridgeSession) UpdateMinERC20Amount ¶
func (_MezoBridge *MezoBridgeSession) UpdateMinERC20Amount(ERC20Token common.Address, newMinERC20Amount *big.Int) (*types.Transaction, error)
UpdateMinERC20Amount is a paid mutator transaction binding the contract method 0x908d272b.
Solidity: function updateMinERC20Amount(address ERC20Token, uint256 newMinERC20Amount) returns()
func (*MezoBridgeSession) UpdateMinTBTCAmount ¶
func (_MezoBridge *MezoBridgeSession) UpdateMinTBTCAmount(newMinTBTCAmount *big.Int) (*types.Transaction, error)
UpdateMinTBTCAmount is a paid mutator transaction binding the contract method 0x62fe53e1.
Solidity: function updateMinTBTCAmount(uint256 newMinTBTCAmount) returns()
type MezoBridgeTransactor ¶
type MezoBridgeTransactor struct {
// contains filtered or unexported fields
}
MezoBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMezoBridgeTransactor ¶
func NewMezoBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*MezoBridgeTransactor, error)
NewMezoBridgeTransactor creates a new write-only instance of MezoBridge, bound to a specific deployed contract.
func (*MezoBridgeTransactor) AcceptOwnership ¶
func (_MezoBridge *MezoBridgeTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*MezoBridgeTransactor) BridgeERC20 ¶
func (_MezoBridge *MezoBridgeTransactor) BridgeERC20(opts *bind.TransactOpts, ERC20Token common.Address, amount *big.Int, recipient common.Address) (*types.Transaction, error)
BridgeERC20 is a paid mutator transaction binding the contract method 0x61912174.
Solidity: function bridgeERC20(address ERC20Token, uint256 amount, address recipient) returns()
func (*MezoBridgeTransactor) BridgeTBTC ¶
func (_MezoBridge *MezoBridgeTransactor) BridgeTBTC(opts *bind.TransactOpts, amount *big.Int, recipient common.Address) (*types.Transaction, error)
BridgeTBTC is a paid mutator transaction binding the contract method 0xdf4d4663.
Solidity: function bridgeTBTC(uint256 amount, address recipient) returns()
func (*MezoBridgeTransactor) BridgeTBTCWithPermit ¶
func (_MezoBridge *MezoBridgeTransactor) BridgeTBTCWithPermit(opts *bind.TransactOpts, amount *big.Int, recipient common.Address, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
BridgeTBTCWithPermit is a paid mutator transaction binding the contract method 0x427f9568.
Solidity: function bridgeTBTCWithPermit(uint256 amount, address recipient, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*MezoBridgeTransactor) DisableERC20Token ¶
func (_MezoBridge *MezoBridgeTransactor) DisableERC20Token(opts *bind.TransactOpts, ERC20Token common.Address) (*types.Transaction, error)
DisableERC20Token is a paid mutator transaction binding the contract method 0x74ca1279.
Solidity: function disableERC20Token(address ERC20Token) returns()
func (*MezoBridgeTransactor) EnableERC20Token ¶
func (_MezoBridge *MezoBridgeTransactor) EnableERC20Token(opts *bind.TransactOpts, ERC20Token common.Address, minERC20Amount *big.Int) (*types.Transaction, error)
EnableERC20Token is a paid mutator transaction binding the contract method 0x67a68320.
Solidity: function enableERC20Token(address ERC20Token, uint256 minERC20Amount) returns()
func (*MezoBridgeTransactor) FinalizeBTCBridging ¶
func (_MezoBridge *MezoBridgeTransactor) FinalizeBTCBridging(opts *bind.TransactOpts, btcDepositKey *big.Int, recipient common.Address) (*types.Transaction, error)
FinalizeBTCBridging is a paid mutator transaction binding the contract method 0x24f90de9.
Solidity: function finalizeBTCBridging(uint256 btcDepositKey, address recipient) returns()
func (*MezoBridgeTransactor) Initialize ¶
func (_MezoBridge *MezoBridgeTransactor) Initialize(opts *bind.TransactOpts, _tbtcBridge common.Address, _tbtcVault common.Address, _tbtcToken common.Address, _initialSequence *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xcf756fdf.
Solidity: function initialize(address _tbtcBridge, address _tbtcVault, address _tbtcToken, uint256 _initialSequence) returns()
func (*MezoBridgeTransactor) InitializeBTCBridging ¶
func (_MezoBridge *MezoBridgeTransactor) InitializeBTCBridging(opts *bind.TransactOpts, fundingTx IBridgeTypesBitcoinTxInfo, reveal IBridgeTypesDepositRevealInfo, recipient common.Address) (*types.Transaction, error)
InitializeBTCBridging is a paid mutator transaction binding the contract method 0x6f64aca2.
Solidity: function initializeBTCBridging((bytes4,bytes,bytes,bytes4) fundingTx, (uint32,bytes8,bytes20,bytes20,bytes4,address) reveal, address recipient) returns()
func (*MezoBridgeTransactor) RenounceOwnership ¶
func (_MezoBridge *MezoBridgeTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*MezoBridgeTransactor) TransferOwnership ¶
func (_MezoBridge *MezoBridgeTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*MezoBridgeTransactor) UpdateMinERC20Amount ¶
func (_MezoBridge *MezoBridgeTransactor) UpdateMinERC20Amount(opts *bind.TransactOpts, ERC20Token common.Address, newMinERC20Amount *big.Int) (*types.Transaction, error)
UpdateMinERC20Amount is a paid mutator transaction binding the contract method 0x908d272b.
Solidity: function updateMinERC20Amount(address ERC20Token, uint256 newMinERC20Amount) returns()
func (*MezoBridgeTransactor) UpdateMinTBTCAmount ¶
func (_MezoBridge *MezoBridgeTransactor) UpdateMinTBTCAmount(opts *bind.TransactOpts, newMinTBTCAmount *big.Int) (*types.Transaction, error)
UpdateMinTBTCAmount is a paid mutator transaction binding the contract method 0x62fe53e1.
Solidity: function updateMinTBTCAmount(uint256 newMinTBTCAmount) returns()
type MezoBridgeTransactorRaw ¶
type MezoBridgeTransactorRaw struct {
Contract *MezoBridgeTransactor // Generic write-only contract binding to access the raw methods on
}
MezoBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MezoBridgeTransactorRaw) Transact ¶
func (_MezoBridge *MezoBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MezoBridgeTransactorRaw) Transfer ¶
func (_MezoBridge *MezoBridgeTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type MezoBridgeTransactorSession ¶
type MezoBridgeTransactorSession struct { Contract *MezoBridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MezoBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MezoBridgeTransactorSession) AcceptOwnership ¶
func (_MezoBridge *MezoBridgeTransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*MezoBridgeTransactorSession) BridgeERC20 ¶
func (_MezoBridge *MezoBridgeTransactorSession) BridgeERC20(ERC20Token common.Address, amount *big.Int, recipient common.Address) (*types.Transaction, error)
BridgeERC20 is a paid mutator transaction binding the contract method 0x61912174.
Solidity: function bridgeERC20(address ERC20Token, uint256 amount, address recipient) returns()
func (*MezoBridgeTransactorSession) BridgeTBTC ¶
func (_MezoBridge *MezoBridgeTransactorSession) BridgeTBTC(amount *big.Int, recipient common.Address) (*types.Transaction, error)
BridgeTBTC is a paid mutator transaction binding the contract method 0xdf4d4663.
Solidity: function bridgeTBTC(uint256 amount, address recipient) returns()
func (*MezoBridgeTransactorSession) BridgeTBTCWithPermit ¶
func (_MezoBridge *MezoBridgeTransactorSession) BridgeTBTCWithPermit(amount *big.Int, recipient common.Address, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
BridgeTBTCWithPermit is a paid mutator transaction binding the contract method 0x427f9568.
Solidity: function bridgeTBTCWithPermit(uint256 amount, address recipient, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*MezoBridgeTransactorSession) DisableERC20Token ¶
func (_MezoBridge *MezoBridgeTransactorSession) DisableERC20Token(ERC20Token common.Address) (*types.Transaction, error)
DisableERC20Token is a paid mutator transaction binding the contract method 0x74ca1279.
Solidity: function disableERC20Token(address ERC20Token) returns()
func (*MezoBridgeTransactorSession) EnableERC20Token ¶
func (_MezoBridge *MezoBridgeTransactorSession) EnableERC20Token(ERC20Token common.Address, minERC20Amount *big.Int) (*types.Transaction, error)
EnableERC20Token is a paid mutator transaction binding the contract method 0x67a68320.
Solidity: function enableERC20Token(address ERC20Token, uint256 minERC20Amount) returns()
func (*MezoBridgeTransactorSession) FinalizeBTCBridging ¶
func (_MezoBridge *MezoBridgeTransactorSession) FinalizeBTCBridging(btcDepositKey *big.Int, recipient common.Address) (*types.Transaction, error)
FinalizeBTCBridging is a paid mutator transaction binding the contract method 0x24f90de9.
Solidity: function finalizeBTCBridging(uint256 btcDepositKey, address recipient) returns()
func (*MezoBridgeTransactorSession) Initialize ¶
func (_MezoBridge *MezoBridgeTransactorSession) Initialize(_tbtcBridge common.Address, _tbtcVault common.Address, _tbtcToken common.Address, _initialSequence *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xcf756fdf.
Solidity: function initialize(address _tbtcBridge, address _tbtcVault, address _tbtcToken, uint256 _initialSequence) returns()
func (*MezoBridgeTransactorSession) InitializeBTCBridging ¶
func (_MezoBridge *MezoBridgeTransactorSession) InitializeBTCBridging(fundingTx IBridgeTypesBitcoinTxInfo, reveal IBridgeTypesDepositRevealInfo, recipient common.Address) (*types.Transaction, error)
InitializeBTCBridging is a paid mutator transaction binding the contract method 0x6f64aca2.
Solidity: function initializeBTCBridging((bytes4,bytes,bytes,bytes4) fundingTx, (uint32,bytes8,bytes20,bytes20,bytes4,address) reveal, address recipient) returns()
func (*MezoBridgeTransactorSession) RenounceOwnership ¶
func (_MezoBridge *MezoBridgeTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*MezoBridgeTransactorSession) TransferOwnership ¶
func (_MezoBridge *MezoBridgeTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*MezoBridgeTransactorSession) UpdateMinERC20Amount ¶
func (_MezoBridge *MezoBridgeTransactorSession) UpdateMinERC20Amount(ERC20Token common.Address, newMinERC20Amount *big.Int) (*types.Transaction, error)
UpdateMinERC20Amount is a paid mutator transaction binding the contract method 0x908d272b.
Solidity: function updateMinERC20Amount(address ERC20Token, uint256 newMinERC20Amount) returns()
func (*MezoBridgeTransactorSession) UpdateMinTBTCAmount ¶
func (_MezoBridge *MezoBridgeTransactorSession) UpdateMinTBTCAmount(newMinTBTCAmount *big.Int) (*types.Transaction, error)
UpdateMinTBTCAmount is a paid mutator transaction binding the contract method 0x62fe53e1.
Solidity: function updateMinTBTCAmount(uint256 newMinTBTCAmount) returns()