Versions in this module Expand all Collapse all v0 v0.1.36 Nov 3, 2023 v0.1.35 Oct 23, 2023 Changes in this version + var ERC20ABI = ERC20MetaData.ABI + var ERC20Bin = ERC20MetaData.Bin + var ERC20MetaData = &bind.MetaData + var ERC721ABI = ERC721MetaData.ABI + var ERC721Bin = ERC721MetaData.Bin + var ERC721MetaData = &bind.MetaData + type ERC20 struct + func DeployERC20(auth *bind.TransactOpts, backend bind.ContractBackend, _name string, ...) (common.Address, *types.Transaction, *ERC20, error) + func NewERC20(address common.Address, backend bind.ContractBackend) (*ERC20, error) + type ERC20Approval struct + Owner common.Address + Raw types.Log + Spender common.Address + Value *big.Int + type ERC20ApprovalIterator struct + Event *ERC20Approval + func (it *ERC20ApprovalIterator) Close() error + func (it *ERC20ApprovalIterator) Error() error + func (it *ERC20ApprovalIterator) Next() bool + type ERC20Caller struct + func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error) + func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) + func (_ERC20 *ERC20Caller) Allowances(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error) + func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) + func (_ERC20 *ERC20Caller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_ERC20 *ERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error) + func (_ERC20 *ERC20Caller) Name(opts *bind.CallOpts) (string, error) + func (_ERC20 *ERC20Caller) Symbol(opts *bind.CallOpts) (string, error) + func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) + type ERC20CallerRaw struct + Contract *ERC20Caller + func (_ERC20 *ERC20CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type ERC20CallerSession struct + CallOpts bind.CallOpts + Contract *ERC20Caller + func (_ERC20 *ERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error) + func (_ERC20 *ERC20CallerSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error) + func (_ERC20 *ERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error) + func (_ERC20 *ERC20CallerSession) Balances(arg0 common.Address) (*big.Int, error) + func (_ERC20 *ERC20CallerSession) Decimals() (uint8, error) + func (_ERC20 *ERC20CallerSession) Name() (string, error) + func (_ERC20 *ERC20CallerSession) Symbol() (string, error) + func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error) + type ERC20Filterer struct + func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error) + func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error) + func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error) + func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error) + func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error) + func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, ...) (event.Subscription, error) + func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, ...) (event.Subscription, error) + type ERC20Raw struct + Contract *ERC20 + func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type ERC20Session struct + CallOpts bind.CallOpts + Contract *ERC20 + TransactOpts bind.TransactOpts + func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error) + func (_ERC20 *ERC20Session) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error) + func (_ERC20 *ERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20Session) BalanceOf(account common.Address) (*big.Int, error) + func (_ERC20 *ERC20Session) Balances(arg0 common.Address) (*big.Int, error) + func (_ERC20 *ERC20Session) Burn(amount *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20Session) Decimals() (uint8, error) + func (_ERC20 *ERC20Session) Mint(amount *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20Session) Name() (string, error) + func (_ERC20 *ERC20Session) Symbol() (string, error) + func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error) + func (_ERC20 *ERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error) + type ERC20Transactor struct + func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error) + func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20Transactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20Transactor) Mint(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error) + type ERC20TransactorRaw struct + Contract *ERC20Transactor + func (_ERC20 *ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_ERC20 *ERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type ERC20TransactorSession struct + Contract *ERC20Transactor + TransactOpts bind.TransactOpts + func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20TransactorSession) Burn(amount *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20TransactorSession) Mint(amount *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error) + type ERC20Transfer struct + From common.Address + Raw types.Log + To common.Address + Value *big.Int + type ERC20TransferIterator struct + Event *ERC20Transfer + func (it *ERC20TransferIterator) Close() error + func (it *ERC20TransferIterator) Error() error + func (it *ERC20TransferIterator) Next() bool + type ERC721 struct + func DeployERC721(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC721, error) + func NewERC721(address common.Address, backend bind.ContractBackend) (*ERC721, error) + type ERC721Approval struct + Id *big.Int + Owner common.Address + Raw types.Log + Spender common.Address + type ERC721ApprovalForAll struct + Approved bool + Operator common.Address + Owner common.Address + Raw types.Log + type ERC721ApprovalForAllIterator struct + Event *ERC721ApprovalForAll + func (it *ERC721ApprovalForAllIterator) Close() error + func (it *ERC721ApprovalForAllIterator) Error() error + func (it *ERC721ApprovalForAllIterator) Next() bool + type ERC721ApprovalIterator struct + Event *ERC721Approval + func (it *ERC721ApprovalIterator) Close() error + func (it *ERC721ApprovalIterator) Error() error + func (it *ERC721ApprovalIterator) Next() bool + type ERC721Caller struct + func NewERC721Caller(address common.Address, caller bind.ContractCaller) (*ERC721Caller, error) + func (_ERC721 *ERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) + func (_ERC721 *ERC721Caller) GetApproved(opts *bind.CallOpts, id *big.Int) (common.Address, error) + func (_ERC721 *ERC721Caller) IsApprovedForAll(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error) + func (_ERC721 *ERC721Caller) OwnerOf(opts *bind.CallOpts, id *big.Int) (common.Address, error) + func (_ERC721 *ERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) + type ERC721CallerRaw struct + Contract *ERC721Caller + func (_ERC721 *ERC721CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type ERC721CallerSession struct + CallOpts bind.CallOpts + Contract *ERC721Caller + func (_ERC721 *ERC721CallerSession) BalanceOf(owner common.Address) (*big.Int, error) + func (_ERC721 *ERC721CallerSession) GetApproved(id *big.Int) (common.Address, error) + func (_ERC721 *ERC721CallerSession) IsApprovedForAll(arg0 common.Address, arg1 common.Address) (bool, error) + func (_ERC721 *ERC721CallerSession) OwnerOf(id *big.Int) (common.Address, error) + func (_ERC721 *ERC721CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error) + type ERC721Filterer struct + func NewERC721Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC721Filterer, error) + func (_ERC721 *ERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address, ...) (*ERC721ApprovalIterator, error) + func (_ERC721 *ERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721ApprovalForAllIterator, error) + func (_ERC721 *ERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*ERC721TransferIterator, error) + func (_ERC721 *ERC721Filterer) ParseApproval(log types.Log) (*ERC721Approval, error) + func (_ERC721 *ERC721Filterer) ParseApprovalForAll(log types.Log) (*ERC721ApprovalForAll, error) + func (_ERC721 *ERC721Filterer) ParseTransfer(log types.Log) (*ERC721Transfer, error) + func (_ERC721 *ERC721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721Approval, owner []common.Address, ...) (event.Subscription, error) + func (_ERC721 *ERC721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721ApprovalForAll, ...) (event.Subscription, error) + func (_ERC721 *ERC721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721Transfer, from []common.Address, ...) (event.Subscription, error) + type ERC721Raw struct + Contract *ERC721 + func (_ERC721 *ERC721Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_ERC721 *ERC721Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_ERC721 *ERC721Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type ERC721Session struct + CallOpts bind.CallOpts + Contract *ERC721 + TransactOpts bind.TransactOpts + func (_ERC721 *ERC721Session) Approve(spender common.Address, id *big.Int) (*types.Transaction, error) + func (_ERC721 *ERC721Session) BalanceOf(owner common.Address) (*big.Int, error) + func (_ERC721 *ERC721Session) GetApproved(id *big.Int) (common.Address, error) + func (_ERC721 *ERC721Session) IsApprovedForAll(arg0 common.Address, arg1 common.Address) (bool, error) + func (_ERC721 *ERC721Session) MintBatch(to common.Address, quantity *big.Int) (*types.Transaction, error) + func (_ERC721 *ERC721Session) OwnerOf(id *big.Int) (common.Address, error) + func (_ERC721 *ERC721Session) SafeTransferFrom(from common.Address, to common.Address, id *big.Int) (*types.Transaction, error) + func (_ERC721 *ERC721Session) SafeTransferFrom0(from common.Address, to common.Address, id *big.Int, data []byte) (*types.Transaction, error) + func (_ERC721 *ERC721Session) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error) + func (_ERC721 *ERC721Session) SupportsInterface(interfaceId [4]byte) (bool, error) + func (_ERC721 *ERC721Session) TransferFrom(from common.Address, to common.Address, id *big.Int) (*types.Transaction, error) + type ERC721Transactor struct + func NewERC721Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC721Transactor, error) + func (_ERC721 *ERC721Transactor) Approve(opts *bind.TransactOpts, spender common.Address, id *big.Int) (*types.Transaction, error) + func (_ERC721 *ERC721Transactor) MintBatch(opts *bind.TransactOpts, to common.Address, quantity *big.Int) (*types.Transaction, error) + func (_ERC721 *ERC721Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int) (*types.Transaction, error) + func (_ERC721 *ERC721Transactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, ...) (*types.Transaction, error) + func (_ERC721 *ERC721Transactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error) + func (_ERC721 *ERC721Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int) (*types.Transaction, error) + type ERC721TransactorRaw struct + Contract *ERC721Transactor + func (_ERC721 *ERC721TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_ERC721 *ERC721TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type ERC721TransactorSession struct + Contract *ERC721Transactor + TransactOpts bind.TransactOpts + func (_ERC721 *ERC721TransactorSession) Approve(spender common.Address, id *big.Int) (*types.Transaction, error) + func (_ERC721 *ERC721TransactorSession) MintBatch(to common.Address, quantity *big.Int) (*types.Transaction, error) + func (_ERC721 *ERC721TransactorSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int) (*types.Transaction, error) + func (_ERC721 *ERC721TransactorSession) SafeTransferFrom0(from common.Address, to common.Address, id *big.Int, data []byte) (*types.Transaction, error) + func (_ERC721 *ERC721TransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error) + func (_ERC721 *ERC721TransactorSession) TransferFrom(from common.Address, to common.Address, id *big.Int) (*types.Transaction, error) + type ERC721Transfer struct + From common.Address + Id *big.Int + Raw types.Log + To common.Address + type ERC721TransferIterator struct + Event *ERC721Transfer + func (it *ERC721TransferIterator) Close() error + func (it *ERC721TransferIterator) Error() error + func (it *ERC721TransferIterator) Next() bool