mocktokenminter

package
v0.0.47 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package mocktokenminter contains an interface for interacting with circles Cross-Chain transfer protocol.

Code generated by synapse abigen DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var Contracts map[string]*compiler.Contract

Contracts are unmarshalled on start

View Source
var IERC20ABI = IERC20MetaData.ABI

IERC20ABI is the input ABI used to generate the binding from. Deprecated: Use IERC20MetaData.ABI instead.

View Source
var IERC20FuncSigs = IERC20MetaData.Sigs

Deprecated: Use IERC20MetaData.Sigs instead. IERC20FuncSigs maps the 4-byte function signature to its string representation.

View Source
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.

View Source
var IMintBurnTokenABI = IMintBurnTokenMetaData.ABI

IMintBurnTokenABI is the input ABI used to generate the binding from. Deprecated: Use IMintBurnTokenMetaData.ABI instead.

View Source
var IMintBurnTokenFuncSigs = IMintBurnTokenMetaData.Sigs

Deprecated: Use IMintBurnTokenMetaData.Sigs instead. IMintBurnTokenFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IMintBurnTokenMetaData = &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\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"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)",
		"42966c68": "burn(uint256)",
		"40c10f19": "mint(address,uint256)",
		"18160ddd": "totalSupply()",
		"a9059cbb": "transfer(address,uint256)",
		"23b872dd": "transferFrom(address,address,uint256)",
	},
}

IMintBurnTokenMetaData contains all meta data concerning the IMintBurnToken contract.

View Source
var ITokenMinterABI = ITokenMinterMetaData.ABI

ITokenMinterABI is the input ABI used to generate the binding from. Deprecated: Use ITokenMinterMetaData.ABI instead.

View Source
var ITokenMinterFuncSigs = ITokenMinterMetaData.Sigs

Deprecated: Use ITokenMinterMetaData.Sigs instead. ITokenMinterFuncSigs maps the 4-byte function signature to its string representation.

View Source
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.

View Source
var MockTokenMinterABI = MockTokenMinterMetaData.ABI

MockTokenMinterABI is the input ABI used to generate the binding from. Deprecated: Use MockTokenMinterMetaData.ABI instead.

View Source
var MockTokenMinterBin = MockTokenMinterMetaData.Bin

MockTokenMinterBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MockTokenMinterMetaData.Bin instead.

View Source
var MockTokenMinterFuncSigs = MockTokenMinterMetaData.Sigs

Deprecated: Use MockTokenMinterMetaData.Sigs instead. MockTokenMinterFuncSigs maps the 4-byte function signature to its string representation.

View Source
var MockTokenMinterMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"localTokenMessenger_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"burnToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"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\":[],\"name\":\"localTokenMessenger\",\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"limit\",\"type\":\"uint256\"}],\"name\":\"setBurnLimitPerMessage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"remoteDomain\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"remoteToken\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"localToken\",\"type\":\"address\"}],\"name\":\"setLocalToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"9dc29fac": "burn(address,uint256)",
		"a56ec632": "burnLimitsPerMessage(address)",
		"78a0565e": "getLocalToken(uint32,bytes32)",
		"770fc1f0": "localTokenMessenger()",
		"d54de06f": "mint(uint32,bytes32,address,uint256)",
		"c7823e2b": "setBurnLimitPerMessage(address,uint256)",
		"6a879ac4": "setLocalToken(uint32,bytes32,address)",
	},
	Bin: "0x608060405234801561001057600080fd5b506040516106ee3803806106ee83398101604081905261002f91610054565b600180546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61065b806100936000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80639dc29fac1161005b5780639dc29fac14610186578063a56ec63214610199578063c7823e2b146101c7578063d54de06f146101fe57600080fd5b80636a879ac414610082578063770fc1f0146100f557806378a0565e1461013f575b600080fd5b6100f361009036600461051b565b63ffffffff929092166000908152602081815260408083209383529290522080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909216919091179055565b005b6001546101159073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61011561014d366004610557565b63ffffffff91909116600090815260208181526040808320938352929052205473ffffffffffffffffffffffffffffffffffffffff1690565b6100f3610194366004610581565b610211565b6101b96101a736600461059d565b60026020526000908152604090205481565b604051908152602001610136565b6100f36101d5366004610581565b73ffffffffffffffffffffffffffffffffffffffff909116600090815260026020526040902055565b61011561020c3660046105bf565b61031b565b60015473ffffffffffffffffffffffffffffffffffffffff163314610297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f43616c6c6572206e6f74206c6f63616c20546f6b656e4d657373656e6765720060448201526064015b60405180910390fd5b6040517f42966c680000000000000000000000000000000000000000000000000000000081526004810182905273ffffffffffffffffffffffffffffffffffffffff8316906342966c6890602401600060405180830381600087803b1580156102ff57600080fd5b505af1158015610313573d6000803e3d6000fd5b505050505050565b60015460009073ffffffffffffffffffffffffffffffffffffffff16331461039f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f43616c6c6572206e6f74206c6f63616c20546f6b656e4d657373656e67657200604482015260640161028e565b5063ffffffff841660009081526020818152604080832086845290915290205473ffffffffffffffffffffffffffffffffffffffff168061043c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4d696e7420746f6b656e206e6f7420737570706f727465640000000000000000604482015260640161028e565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152602482018490528216906340c10f19906044016020604051808303816000875af11580156104b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d59190610603565b50949350505050565b803563ffffffff811681146104f257600080fd5b919050565b803573ffffffffffffffffffffffffffffffffffffffff811681146104f257600080fd5b60008060006060848603121561053057600080fd5b610539846104de565b92506020840135915061054e604085016104f7565b90509250925092565b6000806040838503121561056a57600080fd5b610573836104de565b946020939093013593505050565b6000806040838503121561059457600080fd5b610573836104f7565b6000602082840312156105af57600080fd5b6105b8826104f7565b9392505050565b600080600080608085870312156105d557600080fd5b6105de856104de565b9350602085013592506105f3604086016104f7565b9396929550929360600135925050565b60006020828403121561061557600080fd5b815180151581146105b857600080fdfea2646970667358221220dd305bbb874df5df5ebd93550fd296a25a4152acafb318f1ae3083cbd42e7b0364736f6c63430008110033",
}

MockTokenMinterMetaData contains all meta data concerning the MockTokenMinter contract.

Functions

This section is empty.

Types

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.

func NewIERC20

func NewIERC20(address common.Address, backend bind.ContractBackend) (*IERC20, error)

NewIERC20 creates a new instance of IERC20, bound to a specific deployed 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

func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

func (_IERC20 *IERC20CallerSession) BalanceOf(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 (*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

func (_IERC20 *IERC20Session) BalanceOf(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 (*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 IMintBurnToken

type IMintBurnToken struct {
	IMintBurnTokenCaller     // Read-only binding to the contract
	IMintBurnTokenTransactor // Write-only binding to the contract
	IMintBurnTokenFilterer   // Log filterer for contract events
}

IMintBurnToken is an auto generated Go binding around an Ethereum contract.

func NewIMintBurnToken

func NewIMintBurnToken(address common.Address, backend bind.ContractBackend) (*IMintBurnToken, error)

NewIMintBurnToken creates a new instance of IMintBurnToken, bound to a specific deployed contract.

type IMintBurnTokenApproval

type IMintBurnTokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IMintBurnTokenApproval represents a Approval event raised by the IMintBurnToken contract.

type IMintBurnTokenApprovalIterator

type IMintBurnTokenApprovalIterator struct {
	Event *IMintBurnTokenApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IMintBurnTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IMintBurnToken contract.

func (*IMintBurnTokenApprovalIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*IMintBurnTokenApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IMintBurnTokenApprovalIterator) Next

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 IMintBurnTokenCaller

type IMintBurnTokenCaller struct {
	// contains filtered or unexported fields
}

IMintBurnTokenCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewIMintBurnTokenCaller

func NewIMintBurnTokenCaller(address common.Address, caller bind.ContractCaller) (*IMintBurnTokenCaller, error)

NewIMintBurnTokenCaller creates a new read-only instance of IMintBurnToken, bound to a specific deployed contract.

func (*IMintBurnTokenCaller) Allowance

func (_IMintBurnToken *IMintBurnTokenCaller) 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 (*IMintBurnTokenCaller) BalanceOf

func (_IMintBurnToken *IMintBurnTokenCaller) 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 (*IMintBurnTokenCaller) TotalSupply

func (_IMintBurnToken *IMintBurnTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IMintBurnTokenCallerRaw

type IMintBurnTokenCallerRaw struct {
	Contract *IMintBurnTokenCaller // Generic read-only contract binding to access the raw methods on
}

IMintBurnTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*IMintBurnTokenCallerRaw) Call

func (_IMintBurnToken *IMintBurnTokenCallerRaw) 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 IMintBurnTokenCallerSession

type IMintBurnTokenCallerSession struct {
	Contract *IMintBurnTokenCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

IMintBurnTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*IMintBurnTokenCallerSession) Allowance

func (_IMintBurnToken *IMintBurnTokenCallerSession) 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 (*IMintBurnTokenCallerSession) BalanceOf

func (_IMintBurnToken *IMintBurnTokenCallerSession) BalanceOf(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 (*IMintBurnTokenCallerSession) TotalSupply

func (_IMintBurnToken *IMintBurnTokenCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IMintBurnTokenFilterer

type IMintBurnTokenFilterer struct {
	// contains filtered or unexported fields
}

IMintBurnTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewIMintBurnTokenFilterer

func NewIMintBurnTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*IMintBurnTokenFilterer, error)

NewIMintBurnTokenFilterer creates a new log filterer instance of IMintBurnToken, bound to a specific deployed contract.

func (*IMintBurnTokenFilterer) FilterApproval

func (_IMintBurnToken *IMintBurnTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IMintBurnTokenApprovalIterator, 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 (*IMintBurnTokenFilterer) FilterTransfer

func (_IMintBurnToken *IMintBurnTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IMintBurnTokenTransferIterator, 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 (*IMintBurnTokenFilterer) ParseApproval

func (_IMintBurnToken *IMintBurnTokenFilterer) ParseApproval(log types.Log) (*IMintBurnTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IMintBurnTokenFilterer) ParseTransfer

func (_IMintBurnToken *IMintBurnTokenFilterer) ParseTransfer(log types.Log) (*IMintBurnTokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IMintBurnTokenFilterer) WatchApproval

func (_IMintBurnToken *IMintBurnTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IMintBurnTokenApproval, 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 (*IMintBurnTokenFilterer) WatchTransfer

func (_IMintBurnToken *IMintBurnTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IMintBurnTokenTransfer, 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 IMintBurnTokenRaw

type IMintBurnTokenRaw struct {
	Contract *IMintBurnToken // Generic contract binding to access the raw methods on
}

IMintBurnTokenRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*IMintBurnTokenRaw) Call

func (_IMintBurnToken *IMintBurnTokenRaw) 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 (*IMintBurnTokenRaw) Transact

func (_IMintBurnToken *IMintBurnTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IMintBurnTokenRaw) Transfer

func (_IMintBurnToken *IMintBurnTokenRaw) 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 IMintBurnTokenSession

type IMintBurnTokenSession struct {
	Contract     *IMintBurnToken   // 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
}

IMintBurnTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*IMintBurnTokenSession) Allowance

func (_IMintBurnToken *IMintBurnTokenSession) 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 (*IMintBurnTokenSession) Approve

func (_IMintBurnToken *IMintBurnTokenSession) 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 (*IMintBurnTokenSession) BalanceOf

func (_IMintBurnToken *IMintBurnTokenSession) BalanceOf(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 (*IMintBurnTokenSession) Burn

func (_IMintBurnToken *IMintBurnTokenSession) Burn(amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*IMintBurnTokenSession) Mint

func (_IMintBurnToken *IMintBurnTokenSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns(bool)

func (*IMintBurnTokenSession) TotalSupply

func (_IMintBurnToken *IMintBurnTokenSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*IMintBurnTokenSession) Transfer

func (_IMintBurnToken *IMintBurnTokenSession) 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 (*IMintBurnTokenSession) TransferFrom

func (_IMintBurnToken *IMintBurnTokenSession) 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 IMintBurnTokenTransactor

type IMintBurnTokenTransactor struct {
	// contains filtered or unexported fields
}

IMintBurnTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewIMintBurnTokenTransactor

func NewIMintBurnTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*IMintBurnTokenTransactor, error)

NewIMintBurnTokenTransactor creates a new write-only instance of IMintBurnToken, bound to a specific deployed contract.

func (*IMintBurnTokenTransactor) Approve

func (_IMintBurnToken *IMintBurnTokenTransactor) 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 (*IMintBurnTokenTransactor) Burn

func (_IMintBurnToken *IMintBurnTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*IMintBurnTokenTransactor) Mint

func (_IMintBurnToken *IMintBurnTokenTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns(bool)

func (*IMintBurnTokenTransactor) Transfer

func (_IMintBurnToken *IMintBurnTokenTransactor) 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 (*IMintBurnTokenTransactor) TransferFrom

func (_IMintBurnToken *IMintBurnTokenTransactor) 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 IMintBurnTokenTransactorRaw

type IMintBurnTokenTransactorRaw struct {
	Contract *IMintBurnTokenTransactor // Generic write-only contract binding to access the raw methods on
}

IMintBurnTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*IMintBurnTokenTransactorRaw) Transact

func (_IMintBurnToken *IMintBurnTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IMintBurnTokenTransactorRaw) Transfer

func (_IMintBurnToken *IMintBurnTokenTransactorRaw) 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 IMintBurnTokenTransactorSession

type IMintBurnTokenTransactorSession struct {
	Contract     *IMintBurnTokenTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

IMintBurnTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*IMintBurnTokenTransactorSession) Approve

func (_IMintBurnToken *IMintBurnTokenTransactorSession) 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 (*IMintBurnTokenTransactorSession) Burn

func (_IMintBurnToken *IMintBurnTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*IMintBurnTokenTransactorSession) Mint

func (_IMintBurnToken *IMintBurnTokenTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns(bool)

func (*IMintBurnTokenTransactorSession) Transfer

func (_IMintBurnToken *IMintBurnTokenTransactorSession) 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 (*IMintBurnTokenTransactorSession) TransferFrom

func (_IMintBurnToken *IMintBurnTokenTransactorSession) 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 IMintBurnTokenTransfer

type IMintBurnTokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

IMintBurnTokenTransfer represents a Transfer event raised by the IMintBurnToken contract.

type IMintBurnTokenTransferIterator

type IMintBurnTokenTransferIterator struct {
	Event *IMintBurnTokenTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IMintBurnTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IMintBurnToken contract.

func (*IMintBurnTokenTransferIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*IMintBurnTokenTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IMintBurnTokenTransferIterator) Next

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 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 MockTokenMinter

type MockTokenMinter struct {
	MockTokenMinterCaller     // Read-only binding to the contract
	MockTokenMinterTransactor // Write-only binding to the contract
	MockTokenMinterFilterer   // Log filterer for contract events
}

MockTokenMinter is an auto generated Go binding around an Ethereum contract.

func DeployMockTokenMinter

func DeployMockTokenMinter(auth *bind.TransactOpts, backend bind.ContractBackend, localTokenMessenger_ common.Address) (common.Address, *types.Transaction, *MockTokenMinter, error)

DeployMockTokenMinter deploys a new Ethereum contract, binding an instance of MockTokenMinter to it.

func NewMockTokenMinter

func NewMockTokenMinter(address common.Address, backend bind.ContractBackend) (*MockTokenMinter, error)

NewMockTokenMinter creates a new instance of MockTokenMinter, bound to a specific deployed contract.

type MockTokenMinterCaller

type MockTokenMinterCaller struct {
	// contains filtered or unexported fields
}

MockTokenMinterCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewMockTokenMinterCaller

func NewMockTokenMinterCaller(address common.Address, caller bind.ContractCaller) (*MockTokenMinterCaller, error)

NewMockTokenMinterCaller creates a new read-only instance of MockTokenMinter, bound to a specific deployed contract.

func (*MockTokenMinterCaller) BurnLimitsPerMessage

func (_MockTokenMinter *MockTokenMinterCaller) BurnLimitsPerMessage(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BurnLimitsPerMessage is a free data retrieval call binding the contract method 0xa56ec632.

Solidity: function burnLimitsPerMessage(address ) view returns(uint256)

func (*MockTokenMinterCaller) GetLocalToken

func (_MockTokenMinter *MockTokenMinterCaller) 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)

func (*MockTokenMinterCaller) LocalTokenMessenger

func (_MockTokenMinter *MockTokenMinterCaller) LocalTokenMessenger(opts *bind.CallOpts) (common.Address, error)

LocalTokenMessenger is a free data retrieval call binding the contract method 0x770fc1f0.

Solidity: function localTokenMessenger() view returns(address)

type MockTokenMinterCallerRaw

type MockTokenMinterCallerRaw struct {
	Contract *MockTokenMinterCaller // Generic read-only contract binding to access the raw methods on
}

MockTokenMinterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*MockTokenMinterCallerRaw) Call

func (_MockTokenMinter *MockTokenMinterCallerRaw) 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 MockTokenMinterCallerSession

type MockTokenMinterCallerSession struct {
	Contract *MockTokenMinterCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts          // Call options to use throughout this session
}

MockTokenMinterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*MockTokenMinterCallerSession) BurnLimitsPerMessage

func (_MockTokenMinter *MockTokenMinterCallerSession) BurnLimitsPerMessage(arg0 common.Address) (*big.Int, error)

BurnLimitsPerMessage is a free data retrieval call binding the contract method 0xa56ec632.

Solidity: function burnLimitsPerMessage(address ) view returns(uint256)

func (*MockTokenMinterCallerSession) GetLocalToken

func (_MockTokenMinter *MockTokenMinterCallerSession) 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 (*MockTokenMinterCallerSession) LocalTokenMessenger

func (_MockTokenMinter *MockTokenMinterCallerSession) LocalTokenMessenger() (common.Address, error)

LocalTokenMessenger is a free data retrieval call binding the contract method 0x770fc1f0.

Solidity: function localTokenMessenger() view returns(address)

type MockTokenMinterFilterer

type MockTokenMinterFilterer struct {
	// contains filtered or unexported fields
}

MockTokenMinterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewMockTokenMinterFilterer

func NewMockTokenMinterFilterer(address common.Address, filterer bind.ContractFilterer) (*MockTokenMinterFilterer, error)

NewMockTokenMinterFilterer creates a new log filterer instance of MockTokenMinter, bound to a specific deployed contract.

type MockTokenMinterRaw

type MockTokenMinterRaw struct {
	Contract *MockTokenMinter // Generic contract binding to access the raw methods on
}

MockTokenMinterRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*MockTokenMinterRaw) Call

func (_MockTokenMinter *MockTokenMinterRaw) 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 (*MockTokenMinterRaw) Transact

func (_MockTokenMinter *MockTokenMinterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MockTokenMinterRaw) Transfer

func (_MockTokenMinter *MockTokenMinterRaw) 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 MockTokenMinterRef

type MockTokenMinterRef struct {
	*MockTokenMinter
	// contains filtered or unexported fields
}

MockTokenMinterRef is a bound cctp contract that conforms to vm.ContractRef.

func NewMockTokenMinterRef

func NewMockTokenMinterRef(address common.Address, backend bind.ContractBackend) (*MockTokenMinterRef, error)

NewMockTokenMinterRef creates a new MockMessageTransmitterRef contract with a contract ref.

func (MockTokenMinterRef) Address

func (m MockTokenMinterRef) Address() common.Address

Address is the contract address.

type MockTokenMinterSession

type MockTokenMinterSession struct {
	Contract     *MockTokenMinter  // 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
}

MockTokenMinterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*MockTokenMinterSession) Burn

func (_MockTokenMinter *MockTokenMinterSession) 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 (*MockTokenMinterSession) BurnLimitsPerMessage

func (_MockTokenMinter *MockTokenMinterSession) BurnLimitsPerMessage(arg0 common.Address) (*big.Int, error)

BurnLimitsPerMessage is a free data retrieval call binding the contract method 0xa56ec632.

Solidity: function burnLimitsPerMessage(address ) view returns(uint256)

func (*MockTokenMinterSession) GetLocalToken

func (_MockTokenMinter *MockTokenMinterSession) 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 (*MockTokenMinterSession) LocalTokenMessenger

func (_MockTokenMinter *MockTokenMinterSession) LocalTokenMessenger() (common.Address, error)

LocalTokenMessenger is a free data retrieval call binding the contract method 0x770fc1f0.

Solidity: function localTokenMessenger() view returns(address)

func (*MockTokenMinterSession) Mint

func (_MockTokenMinter *MockTokenMinterSession) 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)

func (*MockTokenMinterSession) SetBurnLimitPerMessage

func (_MockTokenMinter *MockTokenMinterSession) SetBurnLimitPerMessage(token common.Address, limit *big.Int) (*types.Transaction, error)

SetBurnLimitPerMessage is a paid mutator transaction binding the contract method 0xc7823e2b.

Solidity: function setBurnLimitPerMessage(address token, uint256 limit) returns()

func (*MockTokenMinterSession) SetLocalToken

func (_MockTokenMinter *MockTokenMinterSession) SetLocalToken(remoteDomain uint32, remoteToken [32]byte, localToken common.Address) (*types.Transaction, error)

SetLocalToken is a paid mutator transaction binding the contract method 0x6a879ac4.

Solidity: function setLocalToken(uint32 remoteDomain, bytes32 remoteToken, address localToken) returns()

type MockTokenMinterTransactor

type MockTokenMinterTransactor struct {
	// contains filtered or unexported fields
}

MockTokenMinterTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewMockTokenMinterTransactor

func NewMockTokenMinterTransactor(address common.Address, transactor bind.ContractTransactor) (*MockTokenMinterTransactor, error)

NewMockTokenMinterTransactor creates a new write-only instance of MockTokenMinter, bound to a specific deployed contract.

func (*MockTokenMinterTransactor) Burn

func (_MockTokenMinter *MockTokenMinterTransactor) 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 (*MockTokenMinterTransactor) Mint

func (_MockTokenMinter *MockTokenMinterTransactor) 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)

func (*MockTokenMinterTransactor) SetBurnLimitPerMessage

func (_MockTokenMinter *MockTokenMinterTransactor) SetBurnLimitPerMessage(opts *bind.TransactOpts, token common.Address, limit *big.Int) (*types.Transaction, error)

SetBurnLimitPerMessage is a paid mutator transaction binding the contract method 0xc7823e2b.

Solidity: function setBurnLimitPerMessage(address token, uint256 limit) returns()

func (*MockTokenMinterTransactor) SetLocalToken

func (_MockTokenMinter *MockTokenMinterTransactor) SetLocalToken(opts *bind.TransactOpts, remoteDomain uint32, remoteToken [32]byte, localToken common.Address) (*types.Transaction, error)

SetLocalToken is a paid mutator transaction binding the contract method 0x6a879ac4.

Solidity: function setLocalToken(uint32 remoteDomain, bytes32 remoteToken, address localToken) returns()

type MockTokenMinterTransactorRaw

type MockTokenMinterTransactorRaw struct {
	Contract *MockTokenMinterTransactor // Generic write-only contract binding to access the raw methods on
}

MockTokenMinterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*MockTokenMinterTransactorRaw) Transact

func (_MockTokenMinter *MockTokenMinterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MockTokenMinterTransactorRaw) Transfer

func (_MockTokenMinter *MockTokenMinterTransactorRaw) 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 MockTokenMinterTransactorSession

type MockTokenMinterTransactorSession struct {
	Contract     *MockTokenMinterTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts          // Transaction auth options to use throughout this session
}

MockTokenMinterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*MockTokenMinterTransactorSession) Burn

func (_MockTokenMinter *MockTokenMinterTransactorSession) 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 (*MockTokenMinterTransactorSession) Mint

func (_MockTokenMinter *MockTokenMinterTransactorSession) 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)

func (*MockTokenMinterTransactorSession) SetBurnLimitPerMessage

func (_MockTokenMinter *MockTokenMinterTransactorSession) SetBurnLimitPerMessage(token common.Address, limit *big.Int) (*types.Transaction, error)

SetBurnLimitPerMessage is a paid mutator transaction binding the contract method 0xc7823e2b.

Solidity: function setBurnLimitPerMessage(address token, uint256 limit) returns()

func (*MockTokenMinterTransactorSession) SetLocalToken

func (_MockTokenMinter *MockTokenMinterTransactorSession) SetLocalToken(remoteDomain uint32, remoteToken [32]byte, localToken common.Address) (*types.Transaction, error)

SetLocalToken is a paid mutator transaction binding the contract method 0x6a879ac4.

Solidity: function setLocalToken(uint32 remoteDomain, bytes32 remoteToken, address localToken) returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL