Documentation ¶
Overview ¶
Package mocktokenmessenger contains an interface for interacting with circles Cross-Chain transfer protocol.
Code generated by synapse abigen DO NOT EDIT.
Index ¶
- Variables
- type Address
- type AddressCaller
- type AddressCallerRaw
- type AddressCallerSession
- type AddressFilterer
- type AddressRaw
- func (_Address *AddressRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Address *AddressRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Address *AddressRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AddressSession
- type AddressTransactor
- type AddressTransactorRaw
- type AddressTransactorSession
- type IERC20
- type IERC20Approval
- type IERC20ApprovalIterator
- type IERC20Caller
- func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type IERC20CallerRaw
- type IERC20CallerSession
- type IERC20Filterer
- func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)
- func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)
- func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)
- func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)
- func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, ...) (event.Subscription, error)
- type IERC20Raw
- func (_IERC20 *IERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IERC20 *IERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IERC20Session
- func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Session) BalanceOf(account common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)
- func (_IERC20 *IERC20Session) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Session) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- type IERC20Transactor
- func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type IERC20TransactorRaw
- type IERC20TransactorSession
- func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20TransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20TransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- type IERC20Transfer
- type IERC20TransferIterator
- type IMessageTransmitter
- type IMessageTransmitterCaller
- type IMessageTransmitterCallerRaw
- type IMessageTransmitterCallerSession
- type IMessageTransmitterFilterer
- type IMessageTransmitterRaw
- func (_IMessageTransmitter *IMessageTransmitterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IMessageTransmitter *IMessageTransmitterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IMessageTransmitter *IMessageTransmitterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IMessageTransmitterSession
- func (_IMessageTransmitter *IMessageTransmitterSession) LocalDomain() (uint32, error)
- func (_IMessageTransmitter *IMessageTransmitterSession) NextAvailableNonce() (uint64, error)
- func (_IMessageTransmitter *IMessageTransmitterSession) ReceiveMessage(message []byte, signature []byte) (*types.Transaction, error)
- func (_IMessageTransmitter *IMessageTransmitterSession) SendMessageWithCaller(destinationDomain uint32, recipient [32]byte, destinationCaller [32]byte, ...) (*types.Transaction, error)
- type IMessageTransmitterTransactor
- func (_IMessageTransmitter *IMessageTransmitterTransactor) ReceiveMessage(opts *bind.TransactOpts, message []byte, signature []byte) (*types.Transaction, error)
- func (_IMessageTransmitter *IMessageTransmitterTransactor) SendMessageWithCaller(opts *bind.TransactOpts, destinationDomain uint32, recipient [32]byte, ...) (*types.Transaction, error)
- type IMessageTransmitterTransactorRaw
- type IMessageTransmitterTransactorSession
- func (_IMessageTransmitter *IMessageTransmitterTransactorSession) ReceiveMessage(message []byte, signature []byte) (*types.Transaction, error)
- func (_IMessageTransmitter *IMessageTransmitterTransactorSession) SendMessageWithCaller(destinationDomain uint32, recipient [32]byte, destinationCaller [32]byte, ...) (*types.Transaction, error)
- type ITokenMessenger
- type ITokenMessengerCaller
- type ITokenMessengerCallerRaw
- type ITokenMessengerCallerSession
- type ITokenMessengerFilterer
- type ITokenMessengerRaw
- func (_ITokenMessenger *ITokenMessengerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ITokenMessenger *ITokenMessengerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ITokenMessenger *ITokenMessengerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ITokenMessengerSession
- func (_ITokenMessenger *ITokenMessengerSession) DepositForBurnWithCaller(amount *big.Int, destinationDomain uint32, mintRecipient [32]byte, ...) (*types.Transaction, error)
- func (_ITokenMessenger *ITokenMessengerSession) HandleReceiveMessage(remoteDomain uint32, sender [32]byte, messageBody []byte) (*types.Transaction, error)
- func (_ITokenMessenger *ITokenMessengerSession) LocalMessageTransmitter() (common.Address, error)
- func (_ITokenMessenger *ITokenMessengerSession) LocalMinter() (common.Address, error)
- type ITokenMessengerTransactor
- func (_ITokenMessenger *ITokenMessengerTransactor) DepositForBurnWithCaller(opts *bind.TransactOpts, amount *big.Int, destinationDomain uint32, ...) (*types.Transaction, error)
- func (_ITokenMessenger *ITokenMessengerTransactor) HandleReceiveMessage(opts *bind.TransactOpts, remoteDomain uint32, sender [32]byte, ...) (*types.Transaction, error)
- type ITokenMessengerTransactorRaw
- type ITokenMessengerTransactorSession
- func (_ITokenMessenger *ITokenMessengerTransactorSession) DepositForBurnWithCaller(amount *big.Int, destinationDomain uint32, mintRecipient [32]byte, ...) (*types.Transaction, error)
- func (_ITokenMessenger *ITokenMessengerTransactorSession) HandleReceiveMessage(remoteDomain uint32, sender [32]byte, messageBody []byte) (*types.Transaction, error)
- type ITokenMinter
- type ITokenMinterCaller
- type ITokenMinterCallerRaw
- type ITokenMinterCallerSession
- type ITokenMinterFilterer
- type ITokenMinterRaw
- func (_ITokenMinter *ITokenMinterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ITokenMinter *ITokenMinterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ITokenMinter *ITokenMinterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ITokenMinterSession
- func (_ITokenMinter *ITokenMinterSession) Burn(burnToken common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ITokenMinter *ITokenMinterSession) BurnLimitsPerMessage(token common.Address) (*big.Int, error)
- func (_ITokenMinter *ITokenMinterSession) GetLocalToken(remoteDomain uint32, remoteToken [32]byte) (common.Address, error)
- func (_ITokenMinter *ITokenMinterSession) Mint(sourceDomain uint32, burnToken [32]byte, to common.Address, amount *big.Int) (*types.Transaction, error)
- type ITokenMinterTransactor
- type ITokenMinterTransactorRaw
- type ITokenMinterTransactorSession
- type MockTokenMessenger
- type MockTokenMessengerCaller
- func (_MockTokenMessenger *MockTokenMessengerCaller) FormatTokenMessage(opts *bind.CallOpts, amount *big.Int, mintRecipient [32]byte, ...) ([]byte, error)
- func (_MockTokenMessenger *MockTokenMessengerCaller) LocalMessageTransmitter(opts *bind.CallOpts) (common.Address, error)
- func (_MockTokenMessenger *MockTokenMessengerCaller) LocalMinter(opts *bind.CallOpts) (common.Address, error)
- func (_MockTokenMessenger *MockTokenMessengerCaller) RemoteTokenMessenger(opts *bind.CallOpts, arg0 uint32) ([32]byte, error)
- type MockTokenMessengerCallerRaw
- type MockTokenMessengerCallerSession
- func (_MockTokenMessenger *MockTokenMessengerCallerSession) FormatTokenMessage(amount *big.Int, mintRecipient [32]byte, burnToken common.Address) ([]byte, error)
- func (_MockTokenMessenger *MockTokenMessengerCallerSession) LocalMessageTransmitter() (common.Address, error)
- func (_MockTokenMessenger *MockTokenMessengerCallerSession) LocalMinter() (common.Address, error)
- func (_MockTokenMessenger *MockTokenMessengerCallerSession) RemoteTokenMessenger(arg0 uint32) ([32]byte, error)
- type MockTokenMessengerDepositForBurn
- type MockTokenMessengerDepositForBurnIterator
- type MockTokenMessengerFilterer
- func (_MockTokenMessenger *MockTokenMessengerFilterer) FilterDepositForBurn(opts *bind.FilterOpts, nonce []uint64, burnToken []common.Address, ...) (*MockTokenMessengerDepositForBurnIterator, error)
- func (_MockTokenMessenger *MockTokenMessengerFilterer) FilterMintAndWithdraw(opts *bind.FilterOpts, mintRecipient []common.Address, ...) (*MockTokenMessengerMintAndWithdrawIterator, error)
- func (_MockTokenMessenger *MockTokenMessengerFilterer) ParseDepositForBurn(log types.Log) (*MockTokenMessengerDepositForBurn, error)
- func (_MockTokenMessenger *MockTokenMessengerFilterer) ParseMintAndWithdraw(log types.Log) (*MockTokenMessengerMintAndWithdraw, error)
- func (_MockTokenMessenger *MockTokenMessengerFilterer) WatchDepositForBurn(opts *bind.WatchOpts, sink chan<- *MockTokenMessengerDepositForBurn, ...) (event.Subscription, error)
- func (_MockTokenMessenger *MockTokenMessengerFilterer) WatchMintAndWithdraw(opts *bind.WatchOpts, sink chan<- *MockTokenMessengerMintAndWithdraw, ...) (event.Subscription, error)
- type MockTokenMessengerMintAndWithdraw
- type MockTokenMessengerMintAndWithdrawIterator
- type MockTokenMessengerRaw
- func (_MockTokenMessenger *MockTokenMessengerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MockTokenMessenger *MockTokenMessengerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MockTokenMessenger *MockTokenMessengerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MockTokenMessengerRef
- type MockTokenMessengerSession
- func (_MockTokenMessenger *MockTokenMessengerSession) DepositForBurnWithCaller(amount *big.Int, destinationDomain uint32, mintRecipient [32]byte, ...) (*types.Transaction, error)
- func (_MockTokenMessenger *MockTokenMessengerSession) FormatTokenMessage(amount *big.Int, mintRecipient [32]byte, burnToken common.Address) ([]byte, error)
- func (_MockTokenMessenger *MockTokenMessengerSession) HandleReceiveMessage(remoteDomain uint32, sender [32]byte, messageBody []byte) (*types.Transaction, error)
- func (_MockTokenMessenger *MockTokenMessengerSession) LocalMessageTransmitter() (common.Address, error)
- func (_MockTokenMessenger *MockTokenMessengerSession) LocalMinter() (common.Address, error)
- func (_MockTokenMessenger *MockTokenMessengerSession) RemoteTokenMessenger(arg0 uint32) ([32]byte, error)
- func (_MockTokenMessenger *MockTokenMessengerSession) SetLocalMinter(localMinter_ common.Address) (*types.Transaction, error)
- func (_MockTokenMessenger *MockTokenMessengerSession) SetRemoteTokenMessenger(remoteDomain uint32, remoteTokenMessenger_ [32]byte) (*types.Transaction, error)
- type MockTokenMessengerTransactor
- func (_MockTokenMessenger *MockTokenMessengerTransactor) DepositForBurnWithCaller(opts *bind.TransactOpts, amount *big.Int, destinationDomain uint32, ...) (*types.Transaction, error)
- func (_MockTokenMessenger *MockTokenMessengerTransactor) HandleReceiveMessage(opts *bind.TransactOpts, remoteDomain uint32, sender [32]byte, ...) (*types.Transaction, error)
- func (_MockTokenMessenger *MockTokenMessengerTransactor) SetLocalMinter(opts *bind.TransactOpts, localMinter_ common.Address) (*types.Transaction, error)
- func (_MockTokenMessenger *MockTokenMessengerTransactor) SetRemoteTokenMessenger(opts *bind.TransactOpts, remoteDomain uint32, remoteTokenMessenger_ [32]byte) (*types.Transaction, error)
- type MockTokenMessengerTransactorRaw
- type MockTokenMessengerTransactorSession
- func (_MockTokenMessenger *MockTokenMessengerTransactorSession) DepositForBurnWithCaller(amount *big.Int, destinationDomain uint32, mintRecipient [32]byte, ...) (*types.Transaction, error)
- func (_MockTokenMessenger *MockTokenMessengerTransactorSession) HandleReceiveMessage(remoteDomain uint32, sender [32]byte, messageBody []byte) (*types.Transaction, error)
- func (_MockTokenMessenger *MockTokenMessengerTransactorSession) SetLocalMinter(localMinter_ common.Address) (*types.Transaction, error)
- func (_MockTokenMessenger *MockTokenMessengerTransactorSession) SetRemoteTokenMessenger(remoteDomain uint32, remoteTokenMessenger_ [32]byte) (*types.Transaction, error)
- type SafeERC20
- type SafeERC20Caller
- type SafeERC20CallerRaw
- type SafeERC20CallerSession
- type SafeERC20Filterer
- type SafeERC20Raw
- func (_SafeERC20 *SafeERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SafeERC20 *SafeERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeERC20 *SafeERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeERC20Session
- type SafeERC20Transactor
- type SafeERC20TransactorRaw
- type SafeERC20TransactorSession
- type TokenMessengerEvents
- type TokenMessengerEventsCaller
- type TokenMessengerEventsCallerRaw
- type TokenMessengerEventsCallerSession
- type TokenMessengerEventsDepositForBurn
- type TokenMessengerEventsDepositForBurnIterator
- type TokenMessengerEventsFilterer
- func (_TokenMessengerEvents *TokenMessengerEventsFilterer) FilterDepositForBurn(opts *bind.FilterOpts, nonce []uint64, burnToken []common.Address, ...) (*TokenMessengerEventsDepositForBurnIterator, error)
- func (_TokenMessengerEvents *TokenMessengerEventsFilterer) FilterMintAndWithdraw(opts *bind.FilterOpts, mintRecipient []common.Address, ...) (*TokenMessengerEventsMintAndWithdrawIterator, error)
- func (_TokenMessengerEvents *TokenMessengerEventsFilterer) ParseDepositForBurn(log types.Log) (*TokenMessengerEventsDepositForBurn, error)
- func (_TokenMessengerEvents *TokenMessengerEventsFilterer) ParseMintAndWithdraw(log types.Log) (*TokenMessengerEventsMintAndWithdraw, error)
- func (_TokenMessengerEvents *TokenMessengerEventsFilterer) WatchDepositForBurn(opts *bind.WatchOpts, sink chan<- *TokenMessengerEventsDepositForBurn, ...) (event.Subscription, error)
- func (_TokenMessengerEvents *TokenMessengerEventsFilterer) WatchMintAndWithdraw(opts *bind.WatchOpts, sink chan<- *TokenMessengerEventsMintAndWithdraw, ...) (event.Subscription, error)
- type TokenMessengerEventsMintAndWithdraw
- type TokenMessengerEventsMintAndWithdrawIterator
- type TokenMessengerEventsRaw
- func (_TokenMessengerEvents *TokenMessengerEventsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TokenMessengerEvents *TokenMessengerEventsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TokenMessengerEvents *TokenMessengerEventsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TokenMessengerEventsSession
- type TokenMessengerEventsTransactor
- type TokenMessengerEventsTransactorRaw
- type TokenMessengerEventsTransactorSession
Constants ¶
This section is empty.
Variables ¶
var AddressABI = AddressMetaData.ABI
AddressABI is the input ABI used to generate the binding from. Deprecated: Use AddressMetaData.ABI instead.
var AddressBin = AddressMetaData.Bin
AddressBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AddressMetaData.Bin instead.
var AddressMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212204751db3d3fcbfa211147ae7cf195b5d5a7cf565d7301c4706af60c8d8e93727f64736f6c63430008110033",
}
AddressMetaData contains all meta data concerning the Address contract.
var Contracts map[string]*compiler.Contract
Contracts are unmarshalled on start
var IERC20ABI = IERC20MetaData.ABI
IERC20ABI is the input ABI used to generate the binding from. Deprecated: Use IERC20MetaData.ABI instead.
var IERC20FuncSigs = IERC20MetaData.Sigs
Deprecated: Use IERC20MetaData.Sigs instead. IERC20FuncSigs maps the 4-byte function signature to its string representation.
var IERC20MetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "dd62ed3e": "allowance(address,address)", "095ea7b3": "approve(address,uint256)", "70a08231": "balanceOf(address)", "18160ddd": "totalSupply()", "a9059cbb": "transfer(address,uint256)", "23b872dd": "transferFrom(address,address,uint256)", }, }
IERC20MetaData contains all meta data concerning the IERC20 contract.
var IMessageTransmitterABI = IMessageTransmitterMetaData.ABI
IMessageTransmitterABI is the input ABI used to generate the binding from. Deprecated: Use IMessageTransmitterMetaData.ABI instead.
var IMessageTransmitterFuncSigs = IMessageTransmitterMetaData.Sigs
Deprecated: Use IMessageTransmitterMetaData.Sigs instead. IMessageTransmitterFuncSigs maps the 4-byte function signature to its string representation.
var IMessageTransmitterMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"localDomain\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextAvailableNonce\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"receiveMessage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"destinationDomain\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"recipient\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"destinationCaller\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"messageBody\",\"type\":\"bytes\"}],\"name\":\"sendMessageWithCaller\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "8d3638f4": "localDomain()", "8371744e": "nextAvailableNonce()", "57ecfd28": "receiveMessage(bytes,bytes)", "f7259a75": "sendMessageWithCaller(uint32,bytes32,bytes32,bytes)", }, }
IMessageTransmitterMetaData contains all meta data concerning the IMessageTransmitter contract.
var ITokenMessengerABI = ITokenMessengerMetaData.ABI
ITokenMessengerABI is the input ABI used to generate the binding from. Deprecated: Use ITokenMessengerMetaData.ABI instead.
var ITokenMessengerFuncSigs = ITokenMessengerMetaData.Sigs
Deprecated: Use ITokenMessengerMetaData.Sigs instead. ITokenMessengerFuncSigs maps the 4-byte function signature to its string representation.
var ITokenMessengerMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"destinationDomain\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"mintRecipient\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"burnToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"destinationCaller\",\"type\":\"bytes32\"}],\"name\":\"depositForBurnWithCaller\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"remoteDomain\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"sender\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"messageBody\",\"type\":\"bytes\"}],\"name\":\"handleReceiveMessage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"localMessageTransmitter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"localMinter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "f856ddb6": "depositForBurnWithCaller(uint256,uint32,bytes32,address,bytes32)", "96abeb70": "handleReceiveMessage(uint32,bytes32,bytes)", "2c121921": "localMessageTransmitter()", "cb75c11c": "localMinter()", }, }
ITokenMessengerMetaData contains all meta data concerning the ITokenMessenger contract.
var ITokenMinterABI = ITokenMinterMetaData.ABI
ITokenMinterABI is the input ABI used to generate the binding from. Deprecated: Use ITokenMinterMetaData.ABI instead.
var ITokenMinterFuncSigs = ITokenMinterMetaData.Sigs
Deprecated: Use ITokenMinterMetaData.Sigs instead. ITokenMinterFuncSigs maps the 4-byte function signature to its string representation.
var ITokenMinterMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"burnToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"burnLimitsPerMessage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"remoteDomain\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"remoteToken\",\"type\":\"bytes32\"}],\"name\":\"getLocalToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"sourceDomain\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"burnToken\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"mintToken\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "9dc29fac": "burn(address,uint256)", "a56ec632": "burnLimitsPerMessage(address)", "78a0565e": "getLocalToken(uint32,bytes32)", "d54de06f": "mint(uint32,bytes32,address,uint256)", }, }
ITokenMinterMetaData contains all meta data concerning the ITokenMinter contract.
var MockTokenMessengerABI = MockTokenMessengerMetaData.ABI
MockTokenMessengerABI is the input ABI used to generate the binding from. Deprecated: Use MockTokenMessengerMetaData.ABI instead.
var MockTokenMessengerBin = MockTokenMessengerMetaData.Bin
MockTokenMessengerBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MockTokenMessengerMetaData.Bin instead.
var MockTokenMessengerFuncSigs = MockTokenMessengerMetaData.Sigs
Deprecated: Use MockTokenMessengerMetaData.Sigs instead. MockTokenMessengerFuncSigs maps the 4-byte function signature to its string representation.
var MockTokenMessengerMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"localMessageTransmitter_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"burnToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"depositor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"mintRecipient\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"destinationDomain\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"destinationTokenMessenger\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"destinationCaller\",\"type\":\"bytes32\"}],\"name\":\"DepositForBurn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"mintRecipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"mintToken\",\"type\":\"address\"}],\"name\":\"MintAndWithdraw\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"destinationDomain\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"mintRecipient\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"burnToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"destinationCaller\",\"type\":\"bytes32\"}],\"name\":\"depositForBurnWithCaller\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"mintRecipient\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"burnToken\",\"type\":\"address\"}],\"name\":\"formatTokenMessage\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"tokenMessage\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"remoteDomain\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"sender\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"messageBody\",\"type\":\"bytes\"}],\"name\":\"handleReceiveMessage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"localMessageTransmitter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"localMinter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"remoteTokenMessenger\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"localMinter_\",\"type\":\"address\"}],\"name\":\"setLocalMinter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"remoteDomain\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"remoteTokenMessenger_\",\"type\":\"bytes32\"}],\"name\":\"setRemoteTokenMessenger\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "f856ddb6": "depositForBurnWithCaller(uint256,uint32,bytes32,address,bytes32)", "b6aa3fe3": "formatTokenMessage(uint256,bytes32,address)", "96abeb70": "handleReceiveMessage(uint32,bytes32,bytes)", "2c121921": "localMessageTransmitter()", "cb75c11c": "localMinter()", "b35b0464": "remoteTokenMessenger(uint32)", "f5af2a45": "setLocalMinter(address)", "6b51d203": "setRemoteTokenMessenger(uint32,bytes32)", }, Bin: "0x608060405234801561001057600080fd5b50604051610e6d380380610e6d83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610dda806100936000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063b6aa3fe31161005b578063b6aa3fe314610151578063cb75c11c14610171578063f5af2a4514610191578063f856ddb6146101e657600080fd5b80632c1219211461008d5780636b51d203146100d757806396abeb7014610100578063b35b046414610123575b600080fd5b6000546100ad9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100fe6100e5366004610aa6565b63ffffffff909116600090815260026020526040902055565b005b61011361010e366004610ad0565b610212565b60405190151581526020016100ce565b610143610131366004610b57565b60026020526000908152604090205481565b6040519081526020016100ce565b61016461015f366004610b97565b610482565b6040516100ce9190610c3e565b6001546100ad9073ffffffffffffffffffffffffffffffffffffffff1681565b6100fe61019f366004610c51565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6101f96101f4366004610c6e565b6104d0565b60405167ffffffffffffffff90911681526020016100ce565b6000805473ffffffffffffffffffffffffffffffffffffffff163314610299576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f496e76616c6964206d657373616765207472616e736d6974746572000000000060448201526064015b60405180910390fd5b63ffffffff8516600090815260026020526040902054841461033d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f52656d6f746520546f6b656e4d657373656e67657220756e737570706f72746560448201527f64000000000000000000000000000000000000000000000000000000000000006064820152608401610290565b6000808061034d85870187610cbe565b6001546040517fd54de06f00000000000000000000000000000000000000000000000000000000815263ffffffff8d1660048201526024810183905273ffffffffffffffffffffffffffffffffffffffff808516604483015260648201869052949750929550909350600092169063d54de06f906084016020604051808303816000875af11580156103e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104079190610cea565b90508073ffffffffffffffffffffffffffffffffffffffff168360001c73ffffffffffffffffffffffffffffffffffffffff167f1b2a7ff080b8cb6ff436ce0372e399692bbfb6d4ae5766fd8d58a7b8cc6142e68660405161046b91815260200190565b60405180910390a350600198975050505050505050565b604080516020810185905290810183905273ffffffffffffffffffffffffffffffffffffffff82166060808301919091529060800160405160208183030381529060405290505b9392505050565b6001546000906104fc9073ffffffffffffffffffffffffffffffffffffffff85811691339116896106e1565b6001546040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301526024820189905290911690639dc29fac90604401600060405180830381600087803b15801561057057600080fd5b505af1158015610584573d6000803e3d6000fd5b505050506000610595878686610482565b6000805463ffffffff8916825260026020526040918290205491517ff7259a7500000000000000000000000000000000000000000000000000000000815292935073ffffffffffffffffffffffffffffffffffffffff169163f7259a7591610606918a919088908790600401610d07565b6020604051808303816000875af1158015610625573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106499190610d3c565b63ffffffff87166000818152600260209081526040918290205482518c81529182018a905291810192909252606082015260808101859052909250339073ffffffffffffffffffffffffffffffffffffffff86169067ffffffffffffffff8516907f2fa9ca894982930190727e75500a97d8dc500233a5065e0f3126c48fbe0343c09060a00160405180910390a45095945050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905261077690859061077c565b50505050565b60006107de826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661088d9092919063ffffffff16565b80519091501561088857808060200190518101906107fc9190610d66565b610888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610290565b505050565b606061089c84846000856108a4565b949350505050565b606082471015610936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610290565b73ffffffffffffffffffffffffffffffffffffffff85163b6109b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610290565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516109dd9190610d88565b60006040518083038185875af1925050503d8060008114610a1a576040519150601f19603f3d011682016040523d82523d6000602084013e610a1f565b606091505b5091509150610a2f828286610a3a565b979650505050505050565b60608315610a495750816104c9565b825115610a595782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102909190610c3e565b803563ffffffff81168114610aa157600080fd5b919050565b60008060408385031215610ab957600080fd5b610ac283610a8d565b946020939093013593505050565b60008060008060608587031215610ae657600080fd5b610aef85610a8d565b935060208501359250604085013567ffffffffffffffff80821115610b1357600080fd5b818701915087601f830112610b2757600080fd5b813581811115610b3657600080fd5b886020828501011115610b4857600080fd5b95989497505060200194505050565b600060208284031215610b6957600080fd5b6104c982610a8d565b73ffffffffffffffffffffffffffffffffffffffff81168114610b9457600080fd5b50565b600080600060608486031215610bac57600080fd5b83359250602084013591506040840135610bc581610b72565b809150509250925092565b60005b83811015610beb578181015183820152602001610bd3565b50506000910152565b60008151808452610c0c816020860160208601610bd0565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104c96020830184610bf4565b600060208284031215610c6357600080fd5b81356104c981610b72565b600080600080600060a08688031215610c8657600080fd5b85359450610c9660208701610a8d565b9350604086013592506060860135610cad81610b72565b949793965091946080013592915050565b600080600060608486031215610cd357600080fd5b505081359360208301359350604090920135919050565b600060208284031215610cfc57600080fd5b81516104c981610b72565b63ffffffff85168152836020820152826040820152608060608201526000610d326080830184610bf4565b9695505050505050565b600060208284031215610d4e57600080fd5b815167ffffffffffffffff811681146104c957600080fd5b600060208284031215610d7857600080fd5b815180151581146104c957600080fd5b60008251610d9a818460208701610bd0565b919091019291505056fea2646970667358221220ae13fad0038e3868851a210cae376ad28580b982b8441938ff8d42a9df74fde064736f6c63430008110033", }
MockTokenMessengerMetaData contains all meta data concerning the MockTokenMessenger contract.
var SafeERC20ABI = SafeERC20MetaData.ABI
SafeERC20ABI is the input ABI used to generate the binding from. Deprecated: Use SafeERC20MetaData.ABI instead.
var SafeERC20Bin = SafeERC20MetaData.Bin
SafeERC20Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use SafeERC20MetaData.Bin instead.
var SafeERC20MetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e451fbb2ae2021d046e31729b8bbb8de266bb8126a0e9afcff2e64f68c67ab1b64736f6c63430008110033",
}
SafeERC20MetaData contains all meta data concerning the SafeERC20 contract.
var TokenMessengerEventsABI = TokenMessengerEventsMetaData.ABI
TokenMessengerEventsABI is the input ABI used to generate the binding from. Deprecated: Use TokenMessengerEventsMetaData.ABI instead.
var TokenMessengerEventsMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"burnToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"depositor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"mintRecipient\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"destinationDomain\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"destinationTokenMessenger\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"destinationCaller\",\"type\":\"bytes32\"}],\"name\":\"DepositForBurn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"mintRecipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"mintToken\",\"type\":\"address\"}],\"name\":\"MintAndWithdraw\",\"type\":\"event\"}]",
}
TokenMessengerEventsMetaData contains all meta data concerning the TokenMessengerEvents contract.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { AddressCaller // Read-only binding to the contract AddressTransactor // Write-only binding to the contract AddressFilterer // Log filterer for contract events }
Address is an auto generated Go binding around an Ethereum contract.
func DeployAddress ¶
func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Address, error)
DeployAddress deploys a new Ethereum contract, binding an instance of Address to it.
func NewAddress ¶
NewAddress creates a new instance of Address, bound to a specific deployed contract.
type AddressCaller ¶
type AddressCaller struct {
// contains filtered or unexported fields
}
AddressCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAddressCaller ¶
func NewAddressCaller(address common.Address, caller bind.ContractCaller) (*AddressCaller, error)
NewAddressCaller creates a new read-only instance of Address, bound to a specific deployed contract.
type AddressCallerRaw ¶
type AddressCallerRaw struct {
Contract *AddressCaller // Generic read-only contract binding to access the raw methods on
}
AddressCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AddressCallerRaw) Call ¶
func (_Address *AddressCallerRaw) 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 AddressCallerSession ¶
type AddressCallerSession struct { Contract *AddressCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AddressCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type AddressFilterer ¶
type AddressFilterer struct {
// contains filtered or unexported fields
}
AddressFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAddressFilterer ¶
func NewAddressFilterer(address common.Address, filterer bind.ContractFilterer) (*AddressFilterer, error)
NewAddressFilterer creates a new log filterer instance of Address, bound to a specific deployed contract.
type AddressRaw ¶
type AddressRaw struct {
Contract *Address // Generic contract binding to access the raw methods on
}
AddressRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AddressRaw) Call ¶
func (_Address *AddressRaw) 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 (*AddressRaw) Transact ¶
func (_Address *AddressRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AddressRaw) Transfer ¶
func (_Address *AddressRaw) 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 AddressSession ¶
type AddressSession struct { Contract *Address // 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 }
AddressSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type AddressTransactor ¶
type AddressTransactor struct {
// contains filtered or unexported fields
}
AddressTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAddressTransactor ¶
func NewAddressTransactor(address common.Address, transactor bind.ContractTransactor) (*AddressTransactor, error)
NewAddressTransactor creates a new write-only instance of Address, bound to a specific deployed contract.
type AddressTransactorRaw ¶
type AddressTransactorRaw struct {
Contract *AddressTransactor // Generic write-only contract binding to access the raw methods on
}
AddressTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AddressTransactorRaw) Transact ¶
func (_Address *AddressTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AddressTransactorRaw) Transfer ¶
func (_Address *AddressTransactorRaw) 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 AddressTransactorSession ¶
type AddressTransactorSession struct { Contract *AddressTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AddressTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type IERC20 ¶
type IERC20 struct { IERC20Caller // Read-only binding to the contract IERC20Transactor // Write-only binding to the contract IERC20Filterer // Log filterer for contract events }
IERC20 is an auto generated Go binding around an Ethereum contract.
type IERC20Approval ¶
type IERC20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20Approval represents a Approval event raised by the IERC20 contract.
type IERC20ApprovalIterator ¶
type IERC20ApprovalIterator struct { Event *IERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IERC20 contract.
func (*IERC20ApprovalIterator) Close ¶
func (it *IERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20ApprovalIterator) Error ¶
func (it *IERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20ApprovalIterator) Next ¶
func (it *IERC20ApprovalIterator) 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 IERC20Caller ¶
type IERC20Caller struct {
// contains filtered or unexported fields
}
IERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewIERC20Caller ¶
func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error)
NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.
func (*IERC20Caller) Allowance ¶
func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IERC20Caller) BalanceOf ¶
func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IERC20CallerRaw ¶
type IERC20CallerRaw struct {
Contract *IERC20Caller // Generic read-only contract binding to access the raw methods on
}
IERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IERC20CallerRaw) Call ¶
func (_IERC20 *IERC20CallerRaw) 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 IERC20CallerSession ¶
type IERC20CallerSession struct { Contract *IERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IERC20CallerSession) Allowance ¶
func (_IERC20 *IERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20CallerSession) TotalSupply ¶
func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IERC20Filterer ¶
type IERC20Filterer struct {
// contains filtered or unexported fields
}
IERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIERC20Filterer ¶
func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error)
NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.
func (*IERC20Filterer) FilterApproval ¶
func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20Filterer) FilterTransfer ¶
func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*IERC20Filterer) ParseApproval ¶
func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20Filterer) ParseTransfer ¶
func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*IERC20Filterer) WatchApproval ¶
func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20Filterer) WatchTransfer ¶
func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type IERC20Raw ¶
type IERC20Raw struct {
Contract *IERC20 // Generic contract binding to access the raw methods on
}
IERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*IERC20Raw) Call ¶
func (_IERC20 *IERC20Raw) 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 (*IERC20Raw) Transact ¶
func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20Raw) Transfer ¶
func (_IERC20 *IERC20Raw) 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 IERC20Session ¶
type IERC20Session struct { Contract *IERC20 // 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 }
IERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IERC20Session) Allowance ¶
func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IERC20Session) Approve ¶
func (_IERC20 *IERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*IERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20Session) TotalSupply ¶
func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*IERC20Session) Transfer ¶
func (_IERC20 *IERC20Session) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*IERC20Session) TransferFrom ¶
func (_IERC20 *IERC20Session) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
type IERC20Transactor ¶
type IERC20Transactor struct {
// contains filtered or unexported fields
}
IERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIERC20Transactor ¶
func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error)
NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.
func (*IERC20Transactor) Approve ¶
func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*IERC20Transactor) Transfer ¶
func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*IERC20Transactor) TransferFrom ¶
func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
type IERC20TransactorRaw ¶
type IERC20TransactorRaw struct {
Contract *IERC20Transactor // Generic write-only contract binding to access the raw methods on
}
IERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IERC20TransactorRaw) Transact ¶
func (_IERC20 *IERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20TransactorRaw) Transfer ¶
func (_IERC20 *IERC20TransactorRaw) 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 IERC20TransactorSession ¶
type IERC20TransactorSession struct { Contract *IERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IERC20TransactorSession) Approve ¶
func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*IERC20TransactorSession) Transfer ¶
func (_IERC20 *IERC20TransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*IERC20TransactorSession) TransferFrom ¶
func (_IERC20 *IERC20TransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
type IERC20Transfer ¶
type IERC20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20Transfer represents a Transfer event raised by the IERC20 contract.
type IERC20TransferIterator ¶
type IERC20TransferIterator struct { Event *IERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20 contract.
func (*IERC20TransferIterator) Close ¶
func (it *IERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20TransferIterator) Error ¶
func (it *IERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20TransferIterator) Next ¶
func (it *IERC20TransferIterator) 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 IMessageTransmitter ¶
type IMessageTransmitter struct { IMessageTransmitterCaller // Read-only binding to the contract IMessageTransmitterTransactor // Write-only binding to the contract IMessageTransmitterFilterer // Log filterer for contract events }
IMessageTransmitter is an auto generated Go binding around an Ethereum contract.
func NewIMessageTransmitter ¶
func NewIMessageTransmitter(address common.Address, backend bind.ContractBackend) (*IMessageTransmitter, error)
NewIMessageTransmitter creates a new instance of IMessageTransmitter, bound to a specific deployed contract.
type IMessageTransmitterCaller ¶
type IMessageTransmitterCaller struct {
// contains filtered or unexported fields
}
IMessageTransmitterCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIMessageTransmitterCaller ¶
func NewIMessageTransmitterCaller(address common.Address, caller bind.ContractCaller) (*IMessageTransmitterCaller, error)
NewIMessageTransmitterCaller creates a new read-only instance of IMessageTransmitter, bound to a specific deployed contract.
func (*IMessageTransmitterCaller) LocalDomain ¶
func (_IMessageTransmitter *IMessageTransmitterCaller) LocalDomain(opts *bind.CallOpts) (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
func (*IMessageTransmitterCaller) NextAvailableNonce ¶
func (_IMessageTransmitter *IMessageTransmitterCaller) NextAvailableNonce(opts *bind.CallOpts) (uint64, error)
NextAvailableNonce is a free data retrieval call binding the contract method 0x8371744e.
Solidity: function nextAvailableNonce() view returns(uint64)
type IMessageTransmitterCallerRaw ¶
type IMessageTransmitterCallerRaw struct {
Contract *IMessageTransmitterCaller // Generic read-only contract binding to access the raw methods on
}
IMessageTransmitterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IMessageTransmitterCallerRaw) Call ¶
func (_IMessageTransmitter *IMessageTransmitterCallerRaw) 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 IMessageTransmitterCallerSession ¶
type IMessageTransmitterCallerSession struct { Contract *IMessageTransmitterCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IMessageTransmitterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IMessageTransmitterCallerSession) LocalDomain ¶
func (_IMessageTransmitter *IMessageTransmitterCallerSession) LocalDomain() (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
func (*IMessageTransmitterCallerSession) NextAvailableNonce ¶
func (_IMessageTransmitter *IMessageTransmitterCallerSession) NextAvailableNonce() (uint64, error)
NextAvailableNonce is a free data retrieval call binding the contract method 0x8371744e.
Solidity: function nextAvailableNonce() view returns(uint64)
type IMessageTransmitterFilterer ¶
type IMessageTransmitterFilterer struct {
// contains filtered or unexported fields
}
IMessageTransmitterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIMessageTransmitterFilterer ¶
func NewIMessageTransmitterFilterer(address common.Address, filterer bind.ContractFilterer) (*IMessageTransmitterFilterer, error)
NewIMessageTransmitterFilterer creates a new log filterer instance of IMessageTransmitter, bound to a specific deployed contract.
type IMessageTransmitterRaw ¶
type IMessageTransmitterRaw struct {
Contract *IMessageTransmitter // Generic contract binding to access the raw methods on
}
IMessageTransmitterRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IMessageTransmitterRaw) Call ¶
func (_IMessageTransmitter *IMessageTransmitterRaw) 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 (*IMessageTransmitterRaw) Transact ¶
func (_IMessageTransmitter *IMessageTransmitterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IMessageTransmitterRaw) Transfer ¶
func (_IMessageTransmitter *IMessageTransmitterRaw) 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 IMessageTransmitterSession ¶
type IMessageTransmitterSession struct { Contract *IMessageTransmitter // 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 }
IMessageTransmitterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IMessageTransmitterSession) LocalDomain ¶
func (_IMessageTransmitter *IMessageTransmitterSession) LocalDomain() (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
func (*IMessageTransmitterSession) NextAvailableNonce ¶
func (_IMessageTransmitter *IMessageTransmitterSession) NextAvailableNonce() (uint64, error)
NextAvailableNonce is a free data retrieval call binding the contract method 0x8371744e.
Solidity: function nextAvailableNonce() view returns(uint64)
func (*IMessageTransmitterSession) ReceiveMessage ¶
func (_IMessageTransmitter *IMessageTransmitterSession) ReceiveMessage(message []byte, signature []byte) (*types.Transaction, error)
ReceiveMessage is a paid mutator transaction binding the contract method 0x57ecfd28.
Solidity: function receiveMessage(bytes message, bytes signature) returns(bool success)
func (*IMessageTransmitterSession) SendMessageWithCaller ¶
func (_IMessageTransmitter *IMessageTransmitterSession) SendMessageWithCaller(destinationDomain uint32, recipient [32]byte, destinationCaller [32]byte, messageBody []byte) (*types.Transaction, error)
SendMessageWithCaller is a paid mutator transaction binding the contract method 0xf7259a75.
Solidity: function sendMessageWithCaller(uint32 destinationDomain, bytes32 recipient, bytes32 destinationCaller, bytes messageBody) returns(uint64)
type IMessageTransmitterTransactor ¶
type IMessageTransmitterTransactor struct {
// contains filtered or unexported fields
}
IMessageTransmitterTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIMessageTransmitterTransactor ¶
func NewIMessageTransmitterTransactor(address common.Address, transactor bind.ContractTransactor) (*IMessageTransmitterTransactor, error)
NewIMessageTransmitterTransactor creates a new write-only instance of IMessageTransmitter, bound to a specific deployed contract.
func (*IMessageTransmitterTransactor) ReceiveMessage ¶
func (_IMessageTransmitter *IMessageTransmitterTransactor) ReceiveMessage(opts *bind.TransactOpts, message []byte, signature []byte) (*types.Transaction, error)
ReceiveMessage is a paid mutator transaction binding the contract method 0x57ecfd28.
Solidity: function receiveMessage(bytes message, bytes signature) returns(bool success)
func (*IMessageTransmitterTransactor) SendMessageWithCaller ¶
func (_IMessageTransmitter *IMessageTransmitterTransactor) SendMessageWithCaller(opts *bind.TransactOpts, destinationDomain uint32, recipient [32]byte, destinationCaller [32]byte, messageBody []byte) (*types.Transaction, error)
SendMessageWithCaller is a paid mutator transaction binding the contract method 0xf7259a75.
Solidity: function sendMessageWithCaller(uint32 destinationDomain, bytes32 recipient, bytes32 destinationCaller, bytes messageBody) returns(uint64)
type IMessageTransmitterTransactorRaw ¶
type IMessageTransmitterTransactorRaw struct {
Contract *IMessageTransmitterTransactor // Generic write-only contract binding to access the raw methods on
}
IMessageTransmitterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IMessageTransmitterTransactorRaw) Transact ¶
func (_IMessageTransmitter *IMessageTransmitterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IMessageTransmitterTransactorRaw) Transfer ¶
func (_IMessageTransmitter *IMessageTransmitterTransactorRaw) 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 IMessageTransmitterTransactorSession ¶
type IMessageTransmitterTransactorSession struct { Contract *IMessageTransmitterTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IMessageTransmitterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IMessageTransmitterTransactorSession) ReceiveMessage ¶
func (_IMessageTransmitter *IMessageTransmitterTransactorSession) ReceiveMessage(message []byte, signature []byte) (*types.Transaction, error)
ReceiveMessage is a paid mutator transaction binding the contract method 0x57ecfd28.
Solidity: function receiveMessage(bytes message, bytes signature) returns(bool success)
func (*IMessageTransmitterTransactorSession) SendMessageWithCaller ¶
func (_IMessageTransmitter *IMessageTransmitterTransactorSession) SendMessageWithCaller(destinationDomain uint32, recipient [32]byte, destinationCaller [32]byte, messageBody []byte) (*types.Transaction, error)
SendMessageWithCaller is a paid mutator transaction binding the contract method 0xf7259a75.
Solidity: function sendMessageWithCaller(uint32 destinationDomain, bytes32 recipient, bytes32 destinationCaller, bytes messageBody) returns(uint64)
type ITokenMessenger ¶
type ITokenMessenger struct { ITokenMessengerCaller // Read-only binding to the contract ITokenMessengerTransactor // Write-only binding to the contract ITokenMessengerFilterer // Log filterer for contract events }
ITokenMessenger is an auto generated Go binding around an Ethereum contract.
func NewITokenMessenger ¶
func NewITokenMessenger(address common.Address, backend bind.ContractBackend) (*ITokenMessenger, error)
NewITokenMessenger creates a new instance of ITokenMessenger, bound to a specific deployed contract.
type ITokenMessengerCaller ¶
type ITokenMessengerCaller struct {
// contains filtered or unexported fields
}
ITokenMessengerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewITokenMessengerCaller ¶
func NewITokenMessengerCaller(address common.Address, caller bind.ContractCaller) (*ITokenMessengerCaller, error)
NewITokenMessengerCaller creates a new read-only instance of ITokenMessenger, bound to a specific deployed contract.
func (*ITokenMessengerCaller) LocalMessageTransmitter ¶
func (_ITokenMessenger *ITokenMessengerCaller) LocalMessageTransmitter(opts *bind.CallOpts) (common.Address, error)
LocalMessageTransmitter is a free data retrieval call binding the contract method 0x2c121921.
Solidity: function localMessageTransmitter() view returns(address)
func (*ITokenMessengerCaller) LocalMinter ¶
func (_ITokenMessenger *ITokenMessengerCaller) LocalMinter(opts *bind.CallOpts) (common.Address, error)
LocalMinter is a free data retrieval call binding the contract method 0xcb75c11c.
Solidity: function localMinter() view returns(address)
type ITokenMessengerCallerRaw ¶
type ITokenMessengerCallerRaw struct {
Contract *ITokenMessengerCaller // Generic read-only contract binding to access the raw methods on
}
ITokenMessengerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ITokenMessengerCallerRaw) Call ¶
func (_ITokenMessenger *ITokenMessengerCallerRaw) 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 ITokenMessengerCallerSession ¶
type ITokenMessengerCallerSession struct { Contract *ITokenMessengerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ITokenMessengerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ITokenMessengerCallerSession) LocalMessageTransmitter ¶
func (_ITokenMessenger *ITokenMessengerCallerSession) LocalMessageTransmitter() (common.Address, error)
LocalMessageTransmitter is a free data retrieval call binding the contract method 0x2c121921.
Solidity: function localMessageTransmitter() view returns(address)
func (*ITokenMessengerCallerSession) LocalMinter ¶
func (_ITokenMessenger *ITokenMessengerCallerSession) LocalMinter() (common.Address, error)
LocalMinter is a free data retrieval call binding the contract method 0xcb75c11c.
Solidity: function localMinter() view returns(address)
type ITokenMessengerFilterer ¶
type ITokenMessengerFilterer struct {
// contains filtered or unexported fields
}
ITokenMessengerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewITokenMessengerFilterer ¶
func NewITokenMessengerFilterer(address common.Address, filterer bind.ContractFilterer) (*ITokenMessengerFilterer, error)
NewITokenMessengerFilterer creates a new log filterer instance of ITokenMessenger, bound to a specific deployed contract.
type ITokenMessengerRaw ¶
type ITokenMessengerRaw struct {
Contract *ITokenMessenger // Generic contract binding to access the raw methods on
}
ITokenMessengerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ITokenMessengerRaw) Call ¶
func (_ITokenMessenger *ITokenMessengerRaw) 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 (*ITokenMessengerRaw) Transact ¶
func (_ITokenMessenger *ITokenMessengerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ITokenMessengerRaw) Transfer ¶
func (_ITokenMessenger *ITokenMessengerRaw) 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 ITokenMessengerSession ¶
type ITokenMessengerSession struct { Contract *ITokenMessenger // 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 }
ITokenMessengerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ITokenMessengerSession) DepositForBurnWithCaller ¶
func (_ITokenMessenger *ITokenMessengerSession) DepositForBurnWithCaller(amount *big.Int, destinationDomain uint32, mintRecipient [32]byte, burnToken common.Address, destinationCaller [32]byte) (*types.Transaction, error)
DepositForBurnWithCaller is a paid mutator transaction binding the contract method 0xf856ddb6.
Solidity: function depositForBurnWithCaller(uint256 amount, uint32 destinationDomain, bytes32 mintRecipient, address burnToken, bytes32 destinationCaller) returns(uint64 nonce)
func (*ITokenMessengerSession) HandleReceiveMessage ¶
func (_ITokenMessenger *ITokenMessengerSession) HandleReceiveMessage(remoteDomain uint32, sender [32]byte, messageBody []byte) (*types.Transaction, error)
HandleReceiveMessage is a paid mutator transaction binding the contract method 0x96abeb70.
Solidity: function handleReceiveMessage(uint32 remoteDomain, bytes32 sender, bytes messageBody) returns(bool success)
func (*ITokenMessengerSession) LocalMessageTransmitter ¶
func (_ITokenMessenger *ITokenMessengerSession) LocalMessageTransmitter() (common.Address, error)
LocalMessageTransmitter is a free data retrieval call binding the contract method 0x2c121921.
Solidity: function localMessageTransmitter() view returns(address)
func (*ITokenMessengerSession) LocalMinter ¶
func (_ITokenMessenger *ITokenMessengerSession) LocalMinter() (common.Address, error)
LocalMinter is a free data retrieval call binding the contract method 0xcb75c11c.
Solidity: function localMinter() view returns(address)
type ITokenMessengerTransactor ¶
type ITokenMessengerTransactor struct {
// contains filtered or unexported fields
}
ITokenMessengerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewITokenMessengerTransactor ¶
func NewITokenMessengerTransactor(address common.Address, transactor bind.ContractTransactor) (*ITokenMessengerTransactor, error)
NewITokenMessengerTransactor creates a new write-only instance of ITokenMessenger, bound to a specific deployed contract.
func (*ITokenMessengerTransactor) DepositForBurnWithCaller ¶
func (_ITokenMessenger *ITokenMessengerTransactor) DepositForBurnWithCaller(opts *bind.TransactOpts, amount *big.Int, destinationDomain uint32, mintRecipient [32]byte, burnToken common.Address, destinationCaller [32]byte) (*types.Transaction, error)
DepositForBurnWithCaller is a paid mutator transaction binding the contract method 0xf856ddb6.
Solidity: function depositForBurnWithCaller(uint256 amount, uint32 destinationDomain, bytes32 mintRecipient, address burnToken, bytes32 destinationCaller) returns(uint64 nonce)
func (*ITokenMessengerTransactor) HandleReceiveMessage ¶
func (_ITokenMessenger *ITokenMessengerTransactor) HandleReceiveMessage(opts *bind.TransactOpts, remoteDomain uint32, sender [32]byte, messageBody []byte) (*types.Transaction, error)
HandleReceiveMessage is a paid mutator transaction binding the contract method 0x96abeb70.
Solidity: function handleReceiveMessage(uint32 remoteDomain, bytes32 sender, bytes messageBody) returns(bool success)
type ITokenMessengerTransactorRaw ¶
type ITokenMessengerTransactorRaw struct {
Contract *ITokenMessengerTransactor // Generic write-only contract binding to access the raw methods on
}
ITokenMessengerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ITokenMessengerTransactorRaw) Transact ¶
func (_ITokenMessenger *ITokenMessengerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ITokenMessengerTransactorRaw) Transfer ¶
func (_ITokenMessenger *ITokenMessengerTransactorRaw) 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 ITokenMessengerTransactorSession ¶
type ITokenMessengerTransactorSession struct { Contract *ITokenMessengerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ITokenMessengerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ITokenMessengerTransactorSession) DepositForBurnWithCaller ¶
func (_ITokenMessenger *ITokenMessengerTransactorSession) DepositForBurnWithCaller(amount *big.Int, destinationDomain uint32, mintRecipient [32]byte, burnToken common.Address, destinationCaller [32]byte) (*types.Transaction, error)
DepositForBurnWithCaller is a paid mutator transaction binding the contract method 0xf856ddb6.
Solidity: function depositForBurnWithCaller(uint256 amount, uint32 destinationDomain, bytes32 mintRecipient, address burnToken, bytes32 destinationCaller) returns(uint64 nonce)
func (*ITokenMessengerTransactorSession) HandleReceiveMessage ¶
func (_ITokenMessenger *ITokenMessengerTransactorSession) HandleReceiveMessage(remoteDomain uint32, sender [32]byte, messageBody []byte) (*types.Transaction, error)
HandleReceiveMessage is a paid mutator transaction binding the contract method 0x96abeb70.
Solidity: function handleReceiveMessage(uint32 remoteDomain, bytes32 sender, bytes messageBody) returns(bool success)
type ITokenMinter ¶
type ITokenMinter struct { ITokenMinterCaller // Read-only binding to the contract ITokenMinterTransactor // Write-only binding to the contract ITokenMinterFilterer // Log filterer for contract events }
ITokenMinter is an auto generated Go binding around an Ethereum contract.
func NewITokenMinter ¶
func NewITokenMinter(address common.Address, backend bind.ContractBackend) (*ITokenMinter, error)
NewITokenMinter creates a new instance of ITokenMinter, bound to a specific deployed contract.
type ITokenMinterCaller ¶
type ITokenMinterCaller struct {
// contains filtered or unexported fields
}
ITokenMinterCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewITokenMinterCaller ¶
func NewITokenMinterCaller(address common.Address, caller bind.ContractCaller) (*ITokenMinterCaller, error)
NewITokenMinterCaller creates a new read-only instance of ITokenMinter, bound to a specific deployed contract.
func (*ITokenMinterCaller) BurnLimitsPerMessage ¶
func (_ITokenMinter *ITokenMinterCaller) BurnLimitsPerMessage(opts *bind.CallOpts, token common.Address) (*big.Int, error)
BurnLimitsPerMessage is a free data retrieval call binding the contract method 0xa56ec632.
Solidity: function burnLimitsPerMessage(address token) view returns(uint256)
func (*ITokenMinterCaller) GetLocalToken ¶
func (_ITokenMinter *ITokenMinterCaller) GetLocalToken(opts *bind.CallOpts, remoteDomain uint32, remoteToken [32]byte) (common.Address, error)
GetLocalToken is a free data retrieval call binding the contract method 0x78a0565e.
Solidity: function getLocalToken(uint32 remoteDomain, bytes32 remoteToken) view returns(address)
type ITokenMinterCallerRaw ¶
type ITokenMinterCallerRaw struct {
Contract *ITokenMinterCaller // Generic read-only contract binding to access the raw methods on
}
ITokenMinterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ITokenMinterCallerRaw) Call ¶
func (_ITokenMinter *ITokenMinterCallerRaw) 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 ITokenMinterCallerSession ¶
type ITokenMinterCallerSession struct { Contract *ITokenMinterCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ITokenMinterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ITokenMinterCallerSession) BurnLimitsPerMessage ¶
func (_ITokenMinter *ITokenMinterCallerSession) BurnLimitsPerMessage(token common.Address) (*big.Int, error)
BurnLimitsPerMessage is a free data retrieval call binding the contract method 0xa56ec632.
Solidity: function burnLimitsPerMessage(address token) view returns(uint256)
func (*ITokenMinterCallerSession) GetLocalToken ¶
func (_ITokenMinter *ITokenMinterCallerSession) GetLocalToken(remoteDomain uint32, remoteToken [32]byte) (common.Address, error)
GetLocalToken is a free data retrieval call binding the contract method 0x78a0565e.
Solidity: function getLocalToken(uint32 remoteDomain, bytes32 remoteToken) view returns(address)
type ITokenMinterFilterer ¶
type ITokenMinterFilterer struct {
// contains filtered or unexported fields
}
ITokenMinterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewITokenMinterFilterer ¶
func NewITokenMinterFilterer(address common.Address, filterer bind.ContractFilterer) (*ITokenMinterFilterer, error)
NewITokenMinterFilterer creates a new log filterer instance of ITokenMinter, bound to a specific deployed contract.
type ITokenMinterRaw ¶
type ITokenMinterRaw struct {
Contract *ITokenMinter // Generic contract binding to access the raw methods on
}
ITokenMinterRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ITokenMinterRaw) Call ¶
func (_ITokenMinter *ITokenMinterRaw) 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 (*ITokenMinterRaw) Transact ¶
func (_ITokenMinter *ITokenMinterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ITokenMinterRaw) Transfer ¶
func (_ITokenMinter *ITokenMinterRaw) 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 ITokenMinterSession ¶
type ITokenMinterSession struct { Contract *ITokenMinter // 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 }
ITokenMinterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ITokenMinterSession) Burn ¶
func (_ITokenMinter *ITokenMinterSession) Burn(burnToken common.Address, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address burnToken, uint256 amount) returns()
func (*ITokenMinterSession) BurnLimitsPerMessage ¶
func (_ITokenMinter *ITokenMinterSession) BurnLimitsPerMessage(token common.Address) (*big.Int, error)
BurnLimitsPerMessage is a free data retrieval call binding the contract method 0xa56ec632.
Solidity: function burnLimitsPerMessage(address token) view returns(uint256)
func (*ITokenMinterSession) GetLocalToken ¶
func (_ITokenMinter *ITokenMinterSession) GetLocalToken(remoteDomain uint32, remoteToken [32]byte) (common.Address, error)
GetLocalToken is a free data retrieval call binding the contract method 0x78a0565e.
Solidity: function getLocalToken(uint32 remoteDomain, bytes32 remoteToken) view returns(address)
func (*ITokenMinterSession) Mint ¶
func (_ITokenMinter *ITokenMinterSession) Mint(sourceDomain uint32, burnToken [32]byte, to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0xd54de06f.
Solidity: function mint(uint32 sourceDomain, bytes32 burnToken, address to, uint256 amount) returns(address mintToken)
type ITokenMinterTransactor ¶
type ITokenMinterTransactor struct {
// contains filtered or unexported fields
}
ITokenMinterTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewITokenMinterTransactor ¶
func NewITokenMinterTransactor(address common.Address, transactor bind.ContractTransactor) (*ITokenMinterTransactor, error)
NewITokenMinterTransactor creates a new write-only instance of ITokenMinter, bound to a specific deployed contract.
func (*ITokenMinterTransactor) Burn ¶
func (_ITokenMinter *ITokenMinterTransactor) Burn(opts *bind.TransactOpts, burnToken common.Address, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address burnToken, uint256 amount) returns()
func (*ITokenMinterTransactor) Mint ¶
func (_ITokenMinter *ITokenMinterTransactor) Mint(opts *bind.TransactOpts, sourceDomain uint32, burnToken [32]byte, to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0xd54de06f.
Solidity: function mint(uint32 sourceDomain, bytes32 burnToken, address to, uint256 amount) returns(address mintToken)
type ITokenMinterTransactorRaw ¶
type ITokenMinterTransactorRaw struct {
Contract *ITokenMinterTransactor // Generic write-only contract binding to access the raw methods on
}
ITokenMinterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ITokenMinterTransactorRaw) Transact ¶
func (_ITokenMinter *ITokenMinterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ITokenMinterTransactorRaw) Transfer ¶
func (_ITokenMinter *ITokenMinterTransactorRaw) 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 ITokenMinterTransactorSession ¶
type ITokenMinterTransactorSession struct { Contract *ITokenMinterTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ITokenMinterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ITokenMinterTransactorSession) Burn ¶
func (_ITokenMinter *ITokenMinterTransactorSession) Burn(burnToken common.Address, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address burnToken, uint256 amount) returns()
func (*ITokenMinterTransactorSession) Mint ¶
func (_ITokenMinter *ITokenMinterTransactorSession) Mint(sourceDomain uint32, burnToken [32]byte, to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0xd54de06f.
Solidity: function mint(uint32 sourceDomain, bytes32 burnToken, address to, uint256 amount) returns(address mintToken)
type MockTokenMessenger ¶
type MockTokenMessenger struct { MockTokenMessengerCaller // Read-only binding to the contract MockTokenMessengerTransactor // Write-only binding to the contract MockTokenMessengerFilterer // Log filterer for contract events }
MockTokenMessenger is an auto generated Go binding around an Ethereum contract.
func DeployMockTokenMessenger ¶
func DeployMockTokenMessenger(auth *bind.TransactOpts, backend bind.ContractBackend, localMessageTransmitter_ common.Address) (common.Address, *types.Transaction, *MockTokenMessenger, error)
DeployMockTokenMessenger deploys a new Ethereum contract, binding an instance of MockTokenMessenger to it.
func NewMockTokenMessenger ¶
func NewMockTokenMessenger(address common.Address, backend bind.ContractBackend) (*MockTokenMessenger, error)
NewMockTokenMessenger creates a new instance of MockTokenMessenger, bound to a specific deployed contract.
type MockTokenMessengerCaller ¶
type MockTokenMessengerCaller struct {
// contains filtered or unexported fields
}
MockTokenMessengerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMockTokenMessengerCaller ¶
func NewMockTokenMessengerCaller(address common.Address, caller bind.ContractCaller) (*MockTokenMessengerCaller, error)
NewMockTokenMessengerCaller creates a new read-only instance of MockTokenMessenger, bound to a specific deployed contract.
func (*MockTokenMessengerCaller) FormatTokenMessage ¶
func (_MockTokenMessenger *MockTokenMessengerCaller) FormatTokenMessage(opts *bind.CallOpts, amount *big.Int, mintRecipient [32]byte, burnToken common.Address) ([]byte, error)
FormatTokenMessage is a free data retrieval call binding the contract method 0xb6aa3fe3.
Solidity: function formatTokenMessage(uint256 amount, bytes32 mintRecipient, address burnToken) pure returns(bytes tokenMessage)
func (*MockTokenMessengerCaller) LocalMessageTransmitter ¶
func (_MockTokenMessenger *MockTokenMessengerCaller) LocalMessageTransmitter(opts *bind.CallOpts) (common.Address, error)
LocalMessageTransmitter is a free data retrieval call binding the contract method 0x2c121921.
Solidity: function localMessageTransmitter() view returns(address)
func (*MockTokenMessengerCaller) LocalMinter ¶
func (_MockTokenMessenger *MockTokenMessengerCaller) LocalMinter(opts *bind.CallOpts) (common.Address, error)
LocalMinter is a free data retrieval call binding the contract method 0xcb75c11c.
Solidity: function localMinter() view returns(address)
func (*MockTokenMessengerCaller) RemoteTokenMessenger ¶
func (_MockTokenMessenger *MockTokenMessengerCaller) RemoteTokenMessenger(opts *bind.CallOpts, arg0 uint32) ([32]byte, error)
RemoteTokenMessenger is a free data retrieval call binding the contract method 0xb35b0464.
Solidity: function remoteTokenMessenger(uint32 ) view returns(bytes32)
type MockTokenMessengerCallerRaw ¶
type MockTokenMessengerCallerRaw struct {
Contract *MockTokenMessengerCaller // Generic read-only contract binding to access the raw methods on
}
MockTokenMessengerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MockTokenMessengerCallerRaw) Call ¶
func (_MockTokenMessenger *MockTokenMessengerCallerRaw) 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 MockTokenMessengerCallerSession ¶
type MockTokenMessengerCallerSession struct { Contract *MockTokenMessengerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MockTokenMessengerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MockTokenMessengerCallerSession) FormatTokenMessage ¶
func (_MockTokenMessenger *MockTokenMessengerCallerSession) FormatTokenMessage(amount *big.Int, mintRecipient [32]byte, burnToken common.Address) ([]byte, error)
FormatTokenMessage is a free data retrieval call binding the contract method 0xb6aa3fe3.
Solidity: function formatTokenMessage(uint256 amount, bytes32 mintRecipient, address burnToken) pure returns(bytes tokenMessage)
func (*MockTokenMessengerCallerSession) LocalMessageTransmitter ¶
func (_MockTokenMessenger *MockTokenMessengerCallerSession) LocalMessageTransmitter() (common.Address, error)
LocalMessageTransmitter is a free data retrieval call binding the contract method 0x2c121921.
Solidity: function localMessageTransmitter() view returns(address)
func (*MockTokenMessengerCallerSession) LocalMinter ¶
func (_MockTokenMessenger *MockTokenMessengerCallerSession) LocalMinter() (common.Address, error)
LocalMinter is a free data retrieval call binding the contract method 0xcb75c11c.
Solidity: function localMinter() view returns(address)
func (*MockTokenMessengerCallerSession) RemoteTokenMessenger ¶
func (_MockTokenMessenger *MockTokenMessengerCallerSession) RemoteTokenMessenger(arg0 uint32) ([32]byte, error)
RemoteTokenMessenger is a free data retrieval call binding the contract method 0xb35b0464.
Solidity: function remoteTokenMessenger(uint32 ) view returns(bytes32)
type MockTokenMessengerDepositForBurn ¶
type MockTokenMessengerDepositForBurn struct { Nonce uint64 BurnToken common.Address Amount *big.Int Depositor common.Address MintRecipient [32]byte DestinationDomain uint32 DestinationTokenMessenger [32]byte DestinationCaller [32]byte Raw types.Log // Blockchain specific contextual infos }
MockTokenMessengerDepositForBurn represents a DepositForBurn event raised by the MockTokenMessenger contract.
type MockTokenMessengerDepositForBurnIterator ¶
type MockTokenMessengerDepositForBurnIterator struct { Event *MockTokenMessengerDepositForBurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MockTokenMessengerDepositForBurnIterator is returned from FilterDepositForBurn and is used to iterate over the raw logs and unpacked data for DepositForBurn events raised by the MockTokenMessenger contract.
func (*MockTokenMessengerDepositForBurnIterator) Close ¶
func (it *MockTokenMessengerDepositForBurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MockTokenMessengerDepositForBurnIterator) Error ¶
func (it *MockTokenMessengerDepositForBurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MockTokenMessengerDepositForBurnIterator) Next ¶
func (it *MockTokenMessengerDepositForBurnIterator) 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 MockTokenMessengerFilterer ¶
type MockTokenMessengerFilterer struct {
// contains filtered or unexported fields
}
MockTokenMessengerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMockTokenMessengerFilterer ¶
func NewMockTokenMessengerFilterer(address common.Address, filterer bind.ContractFilterer) (*MockTokenMessengerFilterer, error)
NewMockTokenMessengerFilterer creates a new log filterer instance of MockTokenMessenger, bound to a specific deployed contract.
func (*MockTokenMessengerFilterer) FilterDepositForBurn ¶
func (_MockTokenMessenger *MockTokenMessengerFilterer) FilterDepositForBurn(opts *bind.FilterOpts, nonce []uint64, burnToken []common.Address, depositor []common.Address) (*MockTokenMessengerDepositForBurnIterator, error)
FilterDepositForBurn is a free log retrieval operation binding the contract event 0x2fa9ca894982930190727e75500a97d8dc500233a5065e0f3126c48fbe0343c0.
Solidity: event DepositForBurn(uint64 indexed nonce, address indexed burnToken, uint256 amount, address indexed depositor, bytes32 mintRecipient, uint32 destinationDomain, bytes32 destinationTokenMessenger, bytes32 destinationCaller)
func (*MockTokenMessengerFilterer) FilterMintAndWithdraw ¶
func (_MockTokenMessenger *MockTokenMessengerFilterer) FilterMintAndWithdraw(opts *bind.FilterOpts, mintRecipient []common.Address, mintToken []common.Address) (*MockTokenMessengerMintAndWithdrawIterator, error)
FilterMintAndWithdraw is a free log retrieval operation binding the contract event 0x1b2a7ff080b8cb6ff436ce0372e399692bbfb6d4ae5766fd8d58a7b8cc6142e6.
Solidity: event MintAndWithdraw(address indexed mintRecipient, uint256 amount, address indexed mintToken)
func (*MockTokenMessengerFilterer) ParseDepositForBurn ¶
func (_MockTokenMessenger *MockTokenMessengerFilterer) ParseDepositForBurn(log types.Log) (*MockTokenMessengerDepositForBurn, error)
ParseDepositForBurn is a log parse operation binding the contract event 0x2fa9ca894982930190727e75500a97d8dc500233a5065e0f3126c48fbe0343c0.
Solidity: event DepositForBurn(uint64 indexed nonce, address indexed burnToken, uint256 amount, address indexed depositor, bytes32 mintRecipient, uint32 destinationDomain, bytes32 destinationTokenMessenger, bytes32 destinationCaller)
func (*MockTokenMessengerFilterer) ParseMintAndWithdraw ¶
func (_MockTokenMessenger *MockTokenMessengerFilterer) ParseMintAndWithdraw(log types.Log) (*MockTokenMessengerMintAndWithdraw, error)
ParseMintAndWithdraw is a log parse operation binding the contract event 0x1b2a7ff080b8cb6ff436ce0372e399692bbfb6d4ae5766fd8d58a7b8cc6142e6.
Solidity: event MintAndWithdraw(address indexed mintRecipient, uint256 amount, address indexed mintToken)
func (*MockTokenMessengerFilterer) WatchDepositForBurn ¶
func (_MockTokenMessenger *MockTokenMessengerFilterer) WatchDepositForBurn(opts *bind.WatchOpts, sink chan<- *MockTokenMessengerDepositForBurn, nonce []uint64, burnToken []common.Address, depositor []common.Address) (event.Subscription, error)
WatchDepositForBurn is a free log subscription operation binding the contract event 0x2fa9ca894982930190727e75500a97d8dc500233a5065e0f3126c48fbe0343c0.
Solidity: event DepositForBurn(uint64 indexed nonce, address indexed burnToken, uint256 amount, address indexed depositor, bytes32 mintRecipient, uint32 destinationDomain, bytes32 destinationTokenMessenger, bytes32 destinationCaller)
func (*MockTokenMessengerFilterer) WatchMintAndWithdraw ¶
func (_MockTokenMessenger *MockTokenMessengerFilterer) WatchMintAndWithdraw(opts *bind.WatchOpts, sink chan<- *MockTokenMessengerMintAndWithdraw, mintRecipient []common.Address, mintToken []common.Address) (event.Subscription, error)
WatchMintAndWithdraw is a free log subscription operation binding the contract event 0x1b2a7ff080b8cb6ff436ce0372e399692bbfb6d4ae5766fd8d58a7b8cc6142e6.
Solidity: event MintAndWithdraw(address indexed mintRecipient, uint256 amount, address indexed mintToken)
type MockTokenMessengerMintAndWithdraw ¶
type MockTokenMessengerMintAndWithdraw struct { MintRecipient common.Address Amount *big.Int MintToken common.Address Raw types.Log // Blockchain specific contextual infos }
MockTokenMessengerMintAndWithdraw represents a MintAndWithdraw event raised by the MockTokenMessenger contract.
type MockTokenMessengerMintAndWithdrawIterator ¶
type MockTokenMessengerMintAndWithdrawIterator struct { Event *MockTokenMessengerMintAndWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MockTokenMessengerMintAndWithdrawIterator is returned from FilterMintAndWithdraw and is used to iterate over the raw logs and unpacked data for MintAndWithdraw events raised by the MockTokenMessenger contract.
func (*MockTokenMessengerMintAndWithdrawIterator) Close ¶
func (it *MockTokenMessengerMintAndWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MockTokenMessengerMintAndWithdrawIterator) Error ¶
func (it *MockTokenMessengerMintAndWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MockTokenMessengerMintAndWithdrawIterator) Next ¶
func (it *MockTokenMessengerMintAndWithdrawIterator) 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 MockTokenMessengerRaw ¶
type MockTokenMessengerRaw struct {
Contract *MockTokenMessenger // Generic contract binding to access the raw methods on
}
MockTokenMessengerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MockTokenMessengerRaw) Call ¶
func (_MockTokenMessenger *MockTokenMessengerRaw) 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 (*MockTokenMessengerRaw) Transact ¶
func (_MockTokenMessenger *MockTokenMessengerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MockTokenMessengerRaw) Transfer ¶
func (_MockTokenMessenger *MockTokenMessengerRaw) 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 MockTokenMessengerRef ¶
type MockTokenMessengerRef struct { *MockTokenMessenger // contains filtered or unexported fields }
MockTokenMessengerRef is a bound cctp contract that conforms to vm.ContractRef.
func NewMockTokenMessengerRef ¶
func NewMockTokenMessengerRef(address common.Address, backend bind.ContractBackend) (*MockTokenMessengerRef, error)
NewMockTokenMessengerRef creates a new MockMessageTransmitterRef contract with a contract ref.
func (MockTokenMessengerRef) Address ¶
func (m MockTokenMessengerRef) Address() common.Address
Address is the contract address.
type MockTokenMessengerSession ¶
type MockTokenMessengerSession struct { Contract *MockTokenMessenger // 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 }
MockTokenMessengerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MockTokenMessengerSession) DepositForBurnWithCaller ¶
func (_MockTokenMessenger *MockTokenMessengerSession) DepositForBurnWithCaller(amount *big.Int, destinationDomain uint32, mintRecipient [32]byte, burnToken common.Address, destinationCaller [32]byte) (*types.Transaction, error)
DepositForBurnWithCaller is a paid mutator transaction binding the contract method 0xf856ddb6.
Solidity: function depositForBurnWithCaller(uint256 amount, uint32 destinationDomain, bytes32 mintRecipient, address burnToken, bytes32 destinationCaller) returns(uint64 nonce)
func (*MockTokenMessengerSession) FormatTokenMessage ¶
func (_MockTokenMessenger *MockTokenMessengerSession) FormatTokenMessage(amount *big.Int, mintRecipient [32]byte, burnToken common.Address) ([]byte, error)
FormatTokenMessage is a free data retrieval call binding the contract method 0xb6aa3fe3.
Solidity: function formatTokenMessage(uint256 amount, bytes32 mintRecipient, address burnToken) pure returns(bytes tokenMessage)
func (*MockTokenMessengerSession) HandleReceiveMessage ¶
func (_MockTokenMessenger *MockTokenMessengerSession) HandleReceiveMessage(remoteDomain uint32, sender [32]byte, messageBody []byte) (*types.Transaction, error)
HandleReceiveMessage is a paid mutator transaction binding the contract method 0x96abeb70.
Solidity: function handleReceiveMessage(uint32 remoteDomain, bytes32 sender, bytes messageBody) returns(bool success)
func (*MockTokenMessengerSession) LocalMessageTransmitter ¶
func (_MockTokenMessenger *MockTokenMessengerSession) LocalMessageTransmitter() (common.Address, error)
LocalMessageTransmitter is a free data retrieval call binding the contract method 0x2c121921.
Solidity: function localMessageTransmitter() view returns(address)
func (*MockTokenMessengerSession) LocalMinter ¶
func (_MockTokenMessenger *MockTokenMessengerSession) LocalMinter() (common.Address, error)
LocalMinter is a free data retrieval call binding the contract method 0xcb75c11c.
Solidity: function localMinter() view returns(address)
func (*MockTokenMessengerSession) RemoteTokenMessenger ¶
func (_MockTokenMessenger *MockTokenMessengerSession) RemoteTokenMessenger(arg0 uint32) ([32]byte, error)
RemoteTokenMessenger is a free data retrieval call binding the contract method 0xb35b0464.
Solidity: function remoteTokenMessenger(uint32 ) view returns(bytes32)
func (*MockTokenMessengerSession) SetLocalMinter ¶
func (_MockTokenMessenger *MockTokenMessengerSession) SetLocalMinter(localMinter_ common.Address) (*types.Transaction, error)
SetLocalMinter is a paid mutator transaction binding the contract method 0xf5af2a45.
Solidity: function setLocalMinter(address localMinter_) returns()
func (*MockTokenMessengerSession) SetRemoteTokenMessenger ¶
func (_MockTokenMessenger *MockTokenMessengerSession) SetRemoteTokenMessenger(remoteDomain uint32, remoteTokenMessenger_ [32]byte) (*types.Transaction, error)
SetRemoteTokenMessenger is a paid mutator transaction binding the contract method 0x6b51d203.
Solidity: function setRemoteTokenMessenger(uint32 remoteDomain, bytes32 remoteTokenMessenger_) returns()
type MockTokenMessengerTransactor ¶
type MockTokenMessengerTransactor struct {
// contains filtered or unexported fields
}
MockTokenMessengerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMockTokenMessengerTransactor ¶
func NewMockTokenMessengerTransactor(address common.Address, transactor bind.ContractTransactor) (*MockTokenMessengerTransactor, error)
NewMockTokenMessengerTransactor creates a new write-only instance of MockTokenMessenger, bound to a specific deployed contract.
func (*MockTokenMessengerTransactor) DepositForBurnWithCaller ¶
func (_MockTokenMessenger *MockTokenMessengerTransactor) DepositForBurnWithCaller(opts *bind.TransactOpts, amount *big.Int, destinationDomain uint32, mintRecipient [32]byte, burnToken common.Address, destinationCaller [32]byte) (*types.Transaction, error)
DepositForBurnWithCaller is a paid mutator transaction binding the contract method 0xf856ddb6.
Solidity: function depositForBurnWithCaller(uint256 amount, uint32 destinationDomain, bytes32 mintRecipient, address burnToken, bytes32 destinationCaller) returns(uint64 nonce)
func (*MockTokenMessengerTransactor) HandleReceiveMessage ¶
func (_MockTokenMessenger *MockTokenMessengerTransactor) HandleReceiveMessage(opts *bind.TransactOpts, remoteDomain uint32, sender [32]byte, messageBody []byte) (*types.Transaction, error)
HandleReceiveMessage is a paid mutator transaction binding the contract method 0x96abeb70.
Solidity: function handleReceiveMessage(uint32 remoteDomain, bytes32 sender, bytes messageBody) returns(bool success)
func (*MockTokenMessengerTransactor) SetLocalMinter ¶
func (_MockTokenMessenger *MockTokenMessengerTransactor) SetLocalMinter(opts *bind.TransactOpts, localMinter_ common.Address) (*types.Transaction, error)
SetLocalMinter is a paid mutator transaction binding the contract method 0xf5af2a45.
Solidity: function setLocalMinter(address localMinter_) returns()
func (*MockTokenMessengerTransactor) SetRemoteTokenMessenger ¶
func (_MockTokenMessenger *MockTokenMessengerTransactor) SetRemoteTokenMessenger(opts *bind.TransactOpts, remoteDomain uint32, remoteTokenMessenger_ [32]byte) (*types.Transaction, error)
SetRemoteTokenMessenger is a paid mutator transaction binding the contract method 0x6b51d203.
Solidity: function setRemoteTokenMessenger(uint32 remoteDomain, bytes32 remoteTokenMessenger_) returns()
type MockTokenMessengerTransactorRaw ¶
type MockTokenMessengerTransactorRaw struct {
Contract *MockTokenMessengerTransactor // Generic write-only contract binding to access the raw methods on
}
MockTokenMessengerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MockTokenMessengerTransactorRaw) Transact ¶
func (_MockTokenMessenger *MockTokenMessengerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MockTokenMessengerTransactorRaw) Transfer ¶
func (_MockTokenMessenger *MockTokenMessengerTransactorRaw) 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 MockTokenMessengerTransactorSession ¶
type MockTokenMessengerTransactorSession struct { Contract *MockTokenMessengerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MockTokenMessengerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MockTokenMessengerTransactorSession) DepositForBurnWithCaller ¶
func (_MockTokenMessenger *MockTokenMessengerTransactorSession) DepositForBurnWithCaller(amount *big.Int, destinationDomain uint32, mintRecipient [32]byte, burnToken common.Address, destinationCaller [32]byte) (*types.Transaction, error)
DepositForBurnWithCaller is a paid mutator transaction binding the contract method 0xf856ddb6.
Solidity: function depositForBurnWithCaller(uint256 amount, uint32 destinationDomain, bytes32 mintRecipient, address burnToken, bytes32 destinationCaller) returns(uint64 nonce)
func (*MockTokenMessengerTransactorSession) HandleReceiveMessage ¶
func (_MockTokenMessenger *MockTokenMessengerTransactorSession) HandleReceiveMessage(remoteDomain uint32, sender [32]byte, messageBody []byte) (*types.Transaction, error)
HandleReceiveMessage is a paid mutator transaction binding the contract method 0x96abeb70.
Solidity: function handleReceiveMessage(uint32 remoteDomain, bytes32 sender, bytes messageBody) returns(bool success)
func (*MockTokenMessengerTransactorSession) SetLocalMinter ¶
func (_MockTokenMessenger *MockTokenMessengerTransactorSession) SetLocalMinter(localMinter_ common.Address) (*types.Transaction, error)
SetLocalMinter is a paid mutator transaction binding the contract method 0xf5af2a45.
Solidity: function setLocalMinter(address localMinter_) returns()
func (*MockTokenMessengerTransactorSession) SetRemoteTokenMessenger ¶
func (_MockTokenMessenger *MockTokenMessengerTransactorSession) SetRemoteTokenMessenger(remoteDomain uint32, remoteTokenMessenger_ [32]byte) (*types.Transaction, error)
SetRemoteTokenMessenger is a paid mutator transaction binding the contract method 0x6b51d203.
Solidity: function setRemoteTokenMessenger(uint32 remoteDomain, bytes32 remoteTokenMessenger_) returns()
type SafeERC20 ¶
type SafeERC20 struct { SafeERC20Caller // Read-only binding to the contract SafeERC20Transactor // Write-only binding to the contract SafeERC20Filterer // Log filterer for contract events }
SafeERC20 is an auto generated Go binding around an Ethereum contract.
func DeploySafeERC20 ¶
func DeploySafeERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeERC20, error)
DeploySafeERC20 deploys a new Ethereum contract, binding an instance of SafeERC20 to it.
func NewSafeERC20 ¶
NewSafeERC20 creates a new instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20Caller ¶
type SafeERC20Caller struct {
// contains filtered or unexported fields
}
SafeERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeERC20Caller ¶
func NewSafeERC20Caller(address common.Address, caller bind.ContractCaller) (*SafeERC20Caller, error)
NewSafeERC20Caller creates a new read-only instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20CallerRaw ¶
type SafeERC20CallerRaw struct {
Contract *SafeERC20Caller // Generic read-only contract binding to access the raw methods on
}
SafeERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeERC20CallerRaw) Call ¶
func (_SafeERC20 *SafeERC20CallerRaw) 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 SafeERC20CallerSession ¶
type SafeERC20CallerSession struct { Contract *SafeERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeERC20Filterer ¶
type SafeERC20Filterer struct {
// contains filtered or unexported fields
}
SafeERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeERC20Filterer ¶
func NewSafeERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*SafeERC20Filterer, error)
NewSafeERC20Filterer creates a new log filterer instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20Raw ¶
type SafeERC20Raw struct {
Contract *SafeERC20 // Generic contract binding to access the raw methods on
}
SafeERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeERC20Raw) Call ¶
func (_SafeERC20 *SafeERC20Raw) 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 (*SafeERC20Raw) Transact ¶
func (_SafeERC20 *SafeERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeERC20Raw) Transfer ¶
func (_SafeERC20 *SafeERC20Raw) 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 SafeERC20Session ¶
type SafeERC20Session struct { Contract *SafeERC20 // 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 }
SafeERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeERC20Transactor ¶
type SafeERC20Transactor struct {
// contains filtered or unexported fields
}
SafeERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeERC20Transactor ¶
func NewSafeERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*SafeERC20Transactor, error)
NewSafeERC20Transactor creates a new write-only instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20TransactorRaw ¶
type SafeERC20TransactorRaw struct {
Contract *SafeERC20Transactor // Generic write-only contract binding to access the raw methods on
}
SafeERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeERC20TransactorRaw) Transact ¶
func (_SafeERC20 *SafeERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeERC20TransactorRaw) Transfer ¶
func (_SafeERC20 *SafeERC20TransactorRaw) 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 SafeERC20TransactorSession ¶
type SafeERC20TransactorSession struct { Contract *SafeERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type TokenMessengerEvents ¶
type TokenMessengerEvents struct { TokenMessengerEventsCaller // Read-only binding to the contract TokenMessengerEventsTransactor // Write-only binding to the contract TokenMessengerEventsFilterer // Log filterer for contract events }
TokenMessengerEvents is an auto generated Go binding around an Ethereum contract.
func NewTokenMessengerEvents ¶
func NewTokenMessengerEvents(address common.Address, backend bind.ContractBackend) (*TokenMessengerEvents, error)
NewTokenMessengerEvents creates a new instance of TokenMessengerEvents, bound to a specific deployed contract.
type TokenMessengerEventsCaller ¶
type TokenMessengerEventsCaller struct {
// contains filtered or unexported fields
}
TokenMessengerEventsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTokenMessengerEventsCaller ¶
func NewTokenMessengerEventsCaller(address common.Address, caller bind.ContractCaller) (*TokenMessengerEventsCaller, error)
NewTokenMessengerEventsCaller creates a new read-only instance of TokenMessengerEvents, bound to a specific deployed contract.
type TokenMessengerEventsCallerRaw ¶
type TokenMessengerEventsCallerRaw struct {
Contract *TokenMessengerEventsCaller // Generic read-only contract binding to access the raw methods on
}
TokenMessengerEventsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TokenMessengerEventsCallerRaw) Call ¶
func (_TokenMessengerEvents *TokenMessengerEventsCallerRaw) 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 TokenMessengerEventsCallerSession ¶
type TokenMessengerEventsCallerSession struct { Contract *TokenMessengerEventsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TokenMessengerEventsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type TokenMessengerEventsDepositForBurn ¶
type TokenMessengerEventsDepositForBurn struct { Nonce uint64 BurnToken common.Address Amount *big.Int Depositor common.Address MintRecipient [32]byte DestinationDomain uint32 DestinationTokenMessenger [32]byte DestinationCaller [32]byte Raw types.Log // Blockchain specific contextual infos }
TokenMessengerEventsDepositForBurn represents a DepositForBurn event raised by the TokenMessengerEvents contract.
type TokenMessengerEventsDepositForBurnIterator ¶
type TokenMessengerEventsDepositForBurnIterator struct { Event *TokenMessengerEventsDepositForBurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenMessengerEventsDepositForBurnIterator is returned from FilterDepositForBurn and is used to iterate over the raw logs and unpacked data for DepositForBurn events raised by the TokenMessengerEvents contract.
func (*TokenMessengerEventsDepositForBurnIterator) Close ¶
func (it *TokenMessengerEventsDepositForBurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenMessengerEventsDepositForBurnIterator) Error ¶
func (it *TokenMessengerEventsDepositForBurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenMessengerEventsDepositForBurnIterator) Next ¶
func (it *TokenMessengerEventsDepositForBurnIterator) 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 TokenMessengerEventsFilterer ¶
type TokenMessengerEventsFilterer struct {
// contains filtered or unexported fields
}
TokenMessengerEventsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTokenMessengerEventsFilterer ¶
func NewTokenMessengerEventsFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenMessengerEventsFilterer, error)
NewTokenMessengerEventsFilterer creates a new log filterer instance of TokenMessengerEvents, bound to a specific deployed contract.
func (*TokenMessengerEventsFilterer) FilterDepositForBurn ¶
func (_TokenMessengerEvents *TokenMessengerEventsFilterer) FilterDepositForBurn(opts *bind.FilterOpts, nonce []uint64, burnToken []common.Address, depositor []common.Address) (*TokenMessengerEventsDepositForBurnIterator, error)
FilterDepositForBurn is a free log retrieval operation binding the contract event 0x2fa9ca894982930190727e75500a97d8dc500233a5065e0f3126c48fbe0343c0.
Solidity: event DepositForBurn(uint64 indexed nonce, address indexed burnToken, uint256 amount, address indexed depositor, bytes32 mintRecipient, uint32 destinationDomain, bytes32 destinationTokenMessenger, bytes32 destinationCaller)
func (*TokenMessengerEventsFilterer) FilterMintAndWithdraw ¶
func (_TokenMessengerEvents *TokenMessengerEventsFilterer) FilterMintAndWithdraw(opts *bind.FilterOpts, mintRecipient []common.Address, mintToken []common.Address) (*TokenMessengerEventsMintAndWithdrawIterator, error)
FilterMintAndWithdraw is a free log retrieval operation binding the contract event 0x1b2a7ff080b8cb6ff436ce0372e399692bbfb6d4ae5766fd8d58a7b8cc6142e6.
Solidity: event MintAndWithdraw(address indexed mintRecipient, uint256 amount, address indexed mintToken)
func (*TokenMessengerEventsFilterer) ParseDepositForBurn ¶
func (_TokenMessengerEvents *TokenMessengerEventsFilterer) ParseDepositForBurn(log types.Log) (*TokenMessengerEventsDepositForBurn, error)
ParseDepositForBurn is a log parse operation binding the contract event 0x2fa9ca894982930190727e75500a97d8dc500233a5065e0f3126c48fbe0343c0.
Solidity: event DepositForBurn(uint64 indexed nonce, address indexed burnToken, uint256 amount, address indexed depositor, bytes32 mintRecipient, uint32 destinationDomain, bytes32 destinationTokenMessenger, bytes32 destinationCaller)
func (*TokenMessengerEventsFilterer) ParseMintAndWithdraw ¶
func (_TokenMessengerEvents *TokenMessengerEventsFilterer) ParseMintAndWithdraw(log types.Log) (*TokenMessengerEventsMintAndWithdraw, error)
ParseMintAndWithdraw is a log parse operation binding the contract event 0x1b2a7ff080b8cb6ff436ce0372e399692bbfb6d4ae5766fd8d58a7b8cc6142e6.
Solidity: event MintAndWithdraw(address indexed mintRecipient, uint256 amount, address indexed mintToken)
func (*TokenMessengerEventsFilterer) WatchDepositForBurn ¶
func (_TokenMessengerEvents *TokenMessengerEventsFilterer) WatchDepositForBurn(opts *bind.WatchOpts, sink chan<- *TokenMessengerEventsDepositForBurn, nonce []uint64, burnToken []common.Address, depositor []common.Address) (event.Subscription, error)
WatchDepositForBurn is a free log subscription operation binding the contract event 0x2fa9ca894982930190727e75500a97d8dc500233a5065e0f3126c48fbe0343c0.
Solidity: event DepositForBurn(uint64 indexed nonce, address indexed burnToken, uint256 amount, address indexed depositor, bytes32 mintRecipient, uint32 destinationDomain, bytes32 destinationTokenMessenger, bytes32 destinationCaller)
func (*TokenMessengerEventsFilterer) WatchMintAndWithdraw ¶
func (_TokenMessengerEvents *TokenMessengerEventsFilterer) WatchMintAndWithdraw(opts *bind.WatchOpts, sink chan<- *TokenMessengerEventsMintAndWithdraw, mintRecipient []common.Address, mintToken []common.Address) (event.Subscription, error)
WatchMintAndWithdraw is a free log subscription operation binding the contract event 0x1b2a7ff080b8cb6ff436ce0372e399692bbfb6d4ae5766fd8d58a7b8cc6142e6.
Solidity: event MintAndWithdraw(address indexed mintRecipient, uint256 amount, address indexed mintToken)
type TokenMessengerEventsMintAndWithdraw ¶
type TokenMessengerEventsMintAndWithdraw struct { MintRecipient common.Address Amount *big.Int MintToken common.Address Raw types.Log // Blockchain specific contextual infos }
TokenMessengerEventsMintAndWithdraw represents a MintAndWithdraw event raised by the TokenMessengerEvents contract.
type TokenMessengerEventsMintAndWithdrawIterator ¶
type TokenMessengerEventsMintAndWithdrawIterator struct { Event *TokenMessengerEventsMintAndWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenMessengerEventsMintAndWithdrawIterator is returned from FilterMintAndWithdraw and is used to iterate over the raw logs and unpacked data for MintAndWithdraw events raised by the TokenMessengerEvents contract.
func (*TokenMessengerEventsMintAndWithdrawIterator) Close ¶
func (it *TokenMessengerEventsMintAndWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenMessengerEventsMintAndWithdrawIterator) Error ¶
func (it *TokenMessengerEventsMintAndWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenMessengerEventsMintAndWithdrawIterator) Next ¶
func (it *TokenMessengerEventsMintAndWithdrawIterator) 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 TokenMessengerEventsRaw ¶
type TokenMessengerEventsRaw struct {
Contract *TokenMessengerEvents // Generic contract binding to access the raw methods on
}
TokenMessengerEventsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TokenMessengerEventsRaw) Call ¶
func (_TokenMessengerEvents *TokenMessengerEventsRaw) 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 (*TokenMessengerEventsRaw) Transact ¶
func (_TokenMessengerEvents *TokenMessengerEventsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenMessengerEventsRaw) Transfer ¶
func (_TokenMessengerEvents *TokenMessengerEventsRaw) 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 TokenMessengerEventsSession ¶
type TokenMessengerEventsSession struct { Contract *TokenMessengerEvents // 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 }
TokenMessengerEventsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type TokenMessengerEventsTransactor ¶
type TokenMessengerEventsTransactor struct {
// contains filtered or unexported fields
}
TokenMessengerEventsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTokenMessengerEventsTransactor ¶
func NewTokenMessengerEventsTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenMessengerEventsTransactor, error)
NewTokenMessengerEventsTransactor creates a new write-only instance of TokenMessengerEvents, bound to a specific deployed contract.
type TokenMessengerEventsTransactorRaw ¶
type TokenMessengerEventsTransactorRaw struct {
Contract *TokenMessengerEventsTransactor // Generic write-only contract binding to access the raw methods on
}
TokenMessengerEventsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TokenMessengerEventsTransactorRaw) Transact ¶
func (_TokenMessengerEvents *TokenMessengerEventsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenMessengerEventsTransactorRaw) Transfer ¶
func (_TokenMessengerEvents *TokenMessengerEventsTransactorRaw) 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 TokenMessengerEventsTransactorSession ¶
type TokenMessengerEventsTransactorSession struct { Contract *TokenMessengerEventsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TokenMessengerEventsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.