Documentation ¶
Index ¶
- Variables
- type IZRC20
- type IZRC20Caller
- func (_IZRC20 *IZRC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_IZRC20 *IZRC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_IZRC20 *IZRC20Caller) PROTOCOLFLATFEE(opts *bind.CallOpts) (*big.Int, error)
- func (_IZRC20 *IZRC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_IZRC20 *IZRC20Caller) WithdrawGasFee(opts *bind.CallOpts) (common.Address, *big.Int, error)
- type IZRC20CallerRaw
- type IZRC20CallerSession
- func (_IZRC20 *IZRC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_IZRC20 *IZRC20CallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_IZRC20 *IZRC20CallerSession) PROTOCOLFLATFEE() (*big.Int, error)
- func (_IZRC20 *IZRC20CallerSession) TotalSupply() (*big.Int, error)
- func (_IZRC20 *IZRC20CallerSession) WithdrawGasFee() (common.Address, *big.Int, error)
- type IZRC20Filterer
- type IZRC20Metadata
- type IZRC20MetadataCaller
- func (_IZRC20Metadata *IZRC20MetadataCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_IZRC20Metadata *IZRC20MetadataCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_IZRC20Metadata *IZRC20MetadataCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_IZRC20Metadata *IZRC20MetadataCaller) Name(opts *bind.CallOpts) (string, error)
- func (_IZRC20Metadata *IZRC20MetadataCaller) PROTOCOLFLATFEE(opts *bind.CallOpts) (*big.Int, error)
- func (_IZRC20Metadata *IZRC20MetadataCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_IZRC20Metadata *IZRC20MetadataCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_IZRC20Metadata *IZRC20MetadataCaller) WithdrawGasFee(opts *bind.CallOpts) (common.Address, *big.Int, error)
- type IZRC20MetadataCallerRaw
- type IZRC20MetadataCallerSession
- func (_IZRC20Metadata *IZRC20MetadataCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_IZRC20Metadata *IZRC20MetadataCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_IZRC20Metadata *IZRC20MetadataCallerSession) Decimals() (uint8, error)
- func (_IZRC20Metadata *IZRC20MetadataCallerSession) Name() (string, error)
- func (_IZRC20Metadata *IZRC20MetadataCallerSession) PROTOCOLFLATFEE() (*big.Int, error)
- func (_IZRC20Metadata *IZRC20MetadataCallerSession) Symbol() (string, error)
- func (_IZRC20Metadata *IZRC20MetadataCallerSession) TotalSupply() (*big.Int, error)
- func (_IZRC20Metadata *IZRC20MetadataCallerSession) WithdrawGasFee() (common.Address, *big.Int, error)
- type IZRC20MetadataFilterer
- type IZRC20MetadataRaw
- func (_IZRC20Metadata *IZRC20MetadataRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IZRC20Metadata *IZRC20MetadataRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IZRC20Metadata *IZRC20MetadataRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IZRC20MetadataSession
- func (_IZRC20Metadata *IZRC20MetadataSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_IZRC20Metadata *IZRC20MetadataSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20Metadata *IZRC20MetadataSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_IZRC20Metadata *IZRC20MetadataSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_IZRC20Metadata *IZRC20MetadataSession) Decimals() (uint8, error)
- func (_IZRC20Metadata *IZRC20MetadataSession) Deposit(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20Metadata *IZRC20MetadataSession) Name() (string, error)
- func (_IZRC20Metadata *IZRC20MetadataSession) PROTOCOLFLATFEE() (*big.Int, error)
- func (_IZRC20Metadata *IZRC20MetadataSession) Symbol() (string, error)
- func (_IZRC20Metadata *IZRC20MetadataSession) TotalSupply() (*big.Int, error)
- func (_IZRC20Metadata *IZRC20MetadataSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20Metadata *IZRC20MetadataSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20Metadata *IZRC20MetadataSession) Withdraw(to []byte, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20Metadata *IZRC20MetadataSession) WithdrawGasFee() (common.Address, *big.Int, error)
- type IZRC20MetadataTransactor
- func (_IZRC20Metadata *IZRC20MetadataTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20Metadata *IZRC20MetadataTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20Metadata *IZRC20MetadataTransactor) Deposit(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20Metadata *IZRC20MetadataTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20Metadata *IZRC20MetadataTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_IZRC20Metadata *IZRC20MetadataTransactor) Withdraw(opts *bind.TransactOpts, to []byte, amount *big.Int) (*types.Transaction, error)
- type IZRC20MetadataTransactorRaw
- type IZRC20MetadataTransactorSession
- func (_IZRC20Metadata *IZRC20MetadataTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20Metadata *IZRC20MetadataTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_IZRC20Metadata *IZRC20MetadataTransactorSession) Deposit(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20Metadata *IZRC20MetadataTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20Metadata *IZRC20MetadataTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20Metadata *IZRC20MetadataTransactorSession) Withdraw(to []byte, amount *big.Int) (*types.Transaction, error)
- type IZRC20Raw
- func (_IZRC20 *IZRC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IZRC20 *IZRC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IZRC20 *IZRC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IZRC20Session
- func (_IZRC20 *IZRC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_IZRC20 *IZRC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20 *IZRC20Session) BalanceOf(account common.Address) (*big.Int, error)
- func (_IZRC20 *IZRC20Session) Burn(amount *big.Int) (*types.Transaction, error)
- func (_IZRC20 *IZRC20Session) Deposit(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20 *IZRC20Session) PROTOCOLFLATFEE() (*big.Int, error)
- func (_IZRC20 *IZRC20Session) TotalSupply() (*big.Int, error)
- func (_IZRC20 *IZRC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20 *IZRC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20 *IZRC20Session) Withdraw(to []byte, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20 *IZRC20Session) WithdrawGasFee() (common.Address, *big.Int, error)
- type IZRC20Transactor
- func (_IZRC20 *IZRC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20 *IZRC20Transactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20 *IZRC20Transactor) Deposit(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20 *IZRC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20 *IZRC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_IZRC20 *IZRC20Transactor) Withdraw(opts *bind.TransactOpts, to []byte, amount *big.Int) (*types.Transaction, error)
- type IZRC20TransactorRaw
- type IZRC20TransactorSession
- func (_IZRC20 *IZRC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20 *IZRC20TransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_IZRC20 *IZRC20TransactorSession) Deposit(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20 *IZRC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20 *IZRC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IZRC20 *IZRC20TransactorSession) Withdraw(to []byte, amount *big.Int) (*types.Transaction, error)
- type ZRC20Events
- type ZRC20EventsApproval
- type ZRC20EventsApprovalIterator
- type ZRC20EventsCaller
- type ZRC20EventsCallerRaw
- type ZRC20EventsCallerSession
- type ZRC20EventsDeposit
- type ZRC20EventsDepositIterator
- type ZRC20EventsFilterer
- func (_ZRC20Events *ZRC20EventsFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ZRC20EventsApprovalIterator, error)
- func (_ZRC20Events *ZRC20EventsFilterer) FilterDeposit(opts *bind.FilterOpts, to []common.Address) (*ZRC20EventsDepositIterator, error)
- func (_ZRC20Events *ZRC20EventsFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ZRC20EventsTransferIterator, error)
- func (_ZRC20Events *ZRC20EventsFilterer) FilterUpdatedGasLimit(opts *bind.FilterOpts) (*ZRC20EventsUpdatedGasLimitIterator, error)
- func (_ZRC20Events *ZRC20EventsFilterer) FilterUpdatedProtocolFlatFee(opts *bind.FilterOpts) (*ZRC20EventsUpdatedProtocolFlatFeeIterator, error)
- func (_ZRC20Events *ZRC20EventsFilterer) FilterUpdatedSystemContract(opts *bind.FilterOpts) (*ZRC20EventsUpdatedSystemContractIterator, error)
- func (_ZRC20Events *ZRC20EventsFilterer) FilterWithdrawal(opts *bind.FilterOpts, from []common.Address) (*ZRC20EventsWithdrawalIterator, error)
- func (_ZRC20Events *ZRC20EventsFilterer) ParseApproval(log types.Log) (*ZRC20EventsApproval, error)
- func (_ZRC20Events *ZRC20EventsFilterer) ParseDeposit(log types.Log) (*ZRC20EventsDeposit, error)
- func (_ZRC20Events *ZRC20EventsFilterer) ParseTransfer(log types.Log) (*ZRC20EventsTransfer, error)
- func (_ZRC20Events *ZRC20EventsFilterer) ParseUpdatedGasLimit(log types.Log) (*ZRC20EventsUpdatedGasLimit, error)
- func (_ZRC20Events *ZRC20EventsFilterer) ParseUpdatedProtocolFlatFee(log types.Log) (*ZRC20EventsUpdatedProtocolFlatFee, error)
- func (_ZRC20Events *ZRC20EventsFilterer) ParseUpdatedSystemContract(log types.Log) (*ZRC20EventsUpdatedSystemContract, error)
- func (_ZRC20Events *ZRC20EventsFilterer) ParseWithdrawal(log types.Log) (*ZRC20EventsWithdrawal, error)
- func (_ZRC20Events *ZRC20EventsFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ZRC20EventsApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_ZRC20Events *ZRC20EventsFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *ZRC20EventsDeposit, to []common.Address) (event.Subscription, error)
- func (_ZRC20Events *ZRC20EventsFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ZRC20EventsTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_ZRC20Events *ZRC20EventsFilterer) WatchUpdatedGasLimit(opts *bind.WatchOpts, sink chan<- *ZRC20EventsUpdatedGasLimit) (event.Subscription, error)
- func (_ZRC20Events *ZRC20EventsFilterer) WatchUpdatedProtocolFlatFee(opts *bind.WatchOpts, sink chan<- *ZRC20EventsUpdatedProtocolFlatFee) (event.Subscription, error)
- func (_ZRC20Events *ZRC20EventsFilterer) WatchUpdatedSystemContract(opts *bind.WatchOpts, sink chan<- *ZRC20EventsUpdatedSystemContract) (event.Subscription, error)
- func (_ZRC20Events *ZRC20EventsFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *ZRC20EventsWithdrawal, ...) (event.Subscription, error)
- type ZRC20EventsRaw
- func (_ZRC20Events *ZRC20EventsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ZRC20Events *ZRC20EventsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ZRC20Events *ZRC20EventsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ZRC20EventsSession
- type ZRC20EventsTransactor
- type ZRC20EventsTransactorRaw
- type ZRC20EventsTransactorSession
- type ZRC20EventsTransfer
- type ZRC20EventsTransferIterator
- type ZRC20EventsUpdatedGasLimit
- type ZRC20EventsUpdatedGasLimitIterator
- type ZRC20EventsUpdatedProtocolFlatFee
- type ZRC20EventsUpdatedProtocolFlatFeeIterator
- type ZRC20EventsUpdatedSystemContract
- type ZRC20EventsUpdatedSystemContractIterator
- type ZRC20EventsWithdrawal
- type ZRC20EventsWithdrawalIterator
Constants ¶
This section is empty.
Variables ¶
var IZRC20ABI = IZRC20MetaData.ABI
IZRC20ABI is the input ABI used to generate the binding from. Deprecated: Use IZRC20MetaData.ABI instead.
var IZRC20MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"PROTOCOL_FLAT_FEE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"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\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"to\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawGasFee\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
IZRC20MetaData contains all meta data concerning the IZRC20 contract.
var IZRC20MetadataABI = IZRC20MetadataMetaData.ABI
IZRC20MetadataABI is the input ABI used to generate the binding from. Deprecated: Use IZRC20MetadataMetaData.ABI instead.
var IZRC20MetadataMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"PROTOCOL_FLAT_FEE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"to\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawGasFee\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
IZRC20MetadataMetaData contains all meta data concerning the IZRC20Metadata contract.
var ZRC20EventsABI = ZRC20EventsMetaData.ABI
ZRC20EventsABI is the input ABI used to generate the binding from. Deprecated: Use ZRC20EventsMetaData.ABI instead.
var ZRC20EventsMetaData = &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\":false,\"internalType\":\"bytes\",\"name\":\"from\",\"type\":\"bytes\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"}],\"name\":\"UpdatedGasLimit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"protocolFlatFee\",\"type\":\"uint256\"}],\"name\":\"UpdatedProtocolFlatFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"systemContract\",\"type\":\"address\"}],\"name\":\"UpdatedSystemContract\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"to\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"gasFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"protocolFlatFee\",\"type\":\"uint256\"}],\"name\":\"Withdrawal\",\"type\":\"event\"}]",
}
ZRC20EventsMetaData contains all meta data concerning the ZRC20Events contract.
Functions ¶
This section is empty.
Types ¶
type IZRC20 ¶
type IZRC20 struct { IZRC20Caller // Read-only binding to the contract IZRC20Transactor // Write-only binding to the contract IZRC20Filterer // Log filterer for contract events }
IZRC20 is an auto generated Go binding around an Ethereum contract.
type IZRC20Caller ¶
type IZRC20Caller struct {
// contains filtered or unexported fields
}
IZRC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewIZRC20Caller ¶
func NewIZRC20Caller(address common.Address, caller bind.ContractCaller) (*IZRC20Caller, error)
NewIZRC20Caller creates a new read-only instance of IZRC20, bound to a specific deployed contract.
func (*IZRC20Caller) Allowance ¶
func (_IZRC20 *IZRC20Caller) 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 (*IZRC20Caller) BalanceOf ¶
func (_IZRC20 *IZRC20Caller) 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 (*IZRC20Caller) PROTOCOLFLATFEE ¶
PROTOCOLFLATFEE is a free data retrieval call binding the contract method 0x4d8943bb.
Solidity: function PROTOCOL_FLAT_FEE() view returns(uint256)
func (*IZRC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*IZRC20Caller) WithdrawGasFee ¶
WithdrawGasFee is a free data retrieval call binding the contract method 0xd9eeebed.
Solidity: function withdrawGasFee() view returns(address, uint256)
type IZRC20CallerRaw ¶
type IZRC20CallerRaw struct {
Contract *IZRC20Caller // Generic read-only contract binding to access the raw methods on
}
IZRC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IZRC20CallerRaw) Call ¶
func (_IZRC20 *IZRC20CallerRaw) 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 IZRC20CallerSession ¶
type IZRC20CallerSession struct { Contract *IZRC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IZRC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IZRC20CallerSession) Allowance ¶
func (_IZRC20 *IZRC20CallerSession) 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 (*IZRC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IZRC20CallerSession) PROTOCOLFLATFEE ¶
func (_IZRC20 *IZRC20CallerSession) PROTOCOLFLATFEE() (*big.Int, error)
PROTOCOLFLATFEE is a free data retrieval call binding the contract method 0x4d8943bb.
Solidity: function PROTOCOL_FLAT_FEE() view returns(uint256)
func (*IZRC20CallerSession) TotalSupply ¶
func (_IZRC20 *IZRC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*IZRC20CallerSession) WithdrawGasFee ¶
WithdrawGasFee is a free data retrieval call binding the contract method 0xd9eeebed.
Solidity: function withdrawGasFee() view returns(address, uint256)
type IZRC20Filterer ¶
type IZRC20Filterer struct {
// contains filtered or unexported fields
}
IZRC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIZRC20Filterer ¶
func NewIZRC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IZRC20Filterer, error)
NewIZRC20Filterer creates a new log filterer instance of IZRC20, bound to a specific deployed contract.
type IZRC20Metadata ¶
type IZRC20Metadata struct { IZRC20MetadataCaller // Read-only binding to the contract IZRC20MetadataTransactor // Write-only binding to the contract IZRC20MetadataFilterer // Log filterer for contract events }
IZRC20Metadata is an auto generated Go binding around an Ethereum contract.
func NewIZRC20Metadata ¶
func NewIZRC20Metadata(address common.Address, backend bind.ContractBackend) (*IZRC20Metadata, error)
NewIZRC20Metadata creates a new instance of IZRC20Metadata, bound to a specific deployed contract.
type IZRC20MetadataCaller ¶
type IZRC20MetadataCaller struct {
// contains filtered or unexported fields
}
IZRC20MetadataCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIZRC20MetadataCaller ¶
func NewIZRC20MetadataCaller(address common.Address, caller bind.ContractCaller) (*IZRC20MetadataCaller, error)
NewIZRC20MetadataCaller creates a new read-only instance of IZRC20Metadata, bound to a specific deployed contract.
func (*IZRC20MetadataCaller) Allowance ¶
func (_IZRC20Metadata *IZRC20MetadataCaller) 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 (*IZRC20MetadataCaller) BalanceOf ¶
func (_IZRC20Metadata *IZRC20MetadataCaller) 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 (*IZRC20MetadataCaller) Decimals ¶
func (_IZRC20Metadata *IZRC20MetadataCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*IZRC20MetadataCaller) Name ¶
func (_IZRC20Metadata *IZRC20MetadataCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*IZRC20MetadataCaller) PROTOCOLFLATFEE ¶
PROTOCOLFLATFEE is a free data retrieval call binding the contract method 0x4d8943bb.
Solidity: function PROTOCOL_FLAT_FEE() view returns(uint256)
func (*IZRC20MetadataCaller) Symbol ¶
func (_IZRC20Metadata *IZRC20MetadataCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*IZRC20MetadataCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*IZRC20MetadataCaller) WithdrawGasFee ¶
func (_IZRC20Metadata *IZRC20MetadataCaller) WithdrawGasFee(opts *bind.CallOpts) (common.Address, *big.Int, error)
WithdrawGasFee is a free data retrieval call binding the contract method 0xd9eeebed.
Solidity: function withdrawGasFee() view returns(address, uint256)
type IZRC20MetadataCallerRaw ¶
type IZRC20MetadataCallerRaw struct {
Contract *IZRC20MetadataCaller // Generic read-only contract binding to access the raw methods on
}
IZRC20MetadataCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IZRC20MetadataCallerRaw) Call ¶
func (_IZRC20Metadata *IZRC20MetadataCallerRaw) 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 IZRC20MetadataCallerSession ¶
type IZRC20MetadataCallerSession struct { Contract *IZRC20MetadataCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IZRC20MetadataCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IZRC20MetadataCallerSession) Allowance ¶
func (_IZRC20Metadata *IZRC20MetadataCallerSession) 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 (*IZRC20MetadataCallerSession) BalanceOf ¶
func (_IZRC20Metadata *IZRC20MetadataCallerSession) 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 (*IZRC20MetadataCallerSession) Decimals ¶
func (_IZRC20Metadata *IZRC20MetadataCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*IZRC20MetadataCallerSession) Name ¶
func (_IZRC20Metadata *IZRC20MetadataCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*IZRC20MetadataCallerSession) PROTOCOLFLATFEE ¶
func (_IZRC20Metadata *IZRC20MetadataCallerSession) PROTOCOLFLATFEE() (*big.Int, error)
PROTOCOLFLATFEE is a free data retrieval call binding the contract method 0x4d8943bb.
Solidity: function PROTOCOL_FLAT_FEE() view returns(uint256)
func (*IZRC20MetadataCallerSession) Symbol ¶
func (_IZRC20Metadata *IZRC20MetadataCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*IZRC20MetadataCallerSession) TotalSupply ¶
func (_IZRC20Metadata *IZRC20MetadataCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*IZRC20MetadataCallerSession) WithdrawGasFee ¶
func (_IZRC20Metadata *IZRC20MetadataCallerSession) WithdrawGasFee() (common.Address, *big.Int, error)
WithdrawGasFee is a free data retrieval call binding the contract method 0xd9eeebed.
Solidity: function withdrawGasFee() view returns(address, uint256)
type IZRC20MetadataFilterer ¶
type IZRC20MetadataFilterer struct {
// contains filtered or unexported fields
}
IZRC20MetadataFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIZRC20MetadataFilterer ¶
func NewIZRC20MetadataFilterer(address common.Address, filterer bind.ContractFilterer) (*IZRC20MetadataFilterer, error)
NewIZRC20MetadataFilterer creates a new log filterer instance of IZRC20Metadata, bound to a specific deployed contract.
type IZRC20MetadataRaw ¶
type IZRC20MetadataRaw struct {
Contract *IZRC20Metadata // Generic contract binding to access the raw methods on
}
IZRC20MetadataRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IZRC20MetadataRaw) Call ¶
func (_IZRC20Metadata *IZRC20MetadataRaw) 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 (*IZRC20MetadataRaw) Transact ¶
func (_IZRC20Metadata *IZRC20MetadataRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IZRC20MetadataRaw) Transfer ¶
func (_IZRC20Metadata *IZRC20MetadataRaw) 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 IZRC20MetadataSession ¶
type IZRC20MetadataSession struct { Contract *IZRC20Metadata // 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 }
IZRC20MetadataSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IZRC20MetadataSession) Allowance ¶
func (_IZRC20Metadata *IZRC20MetadataSession) 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 (*IZRC20MetadataSession) Approve ¶
func (_IZRC20Metadata *IZRC20MetadataSession) 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 (*IZRC20MetadataSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IZRC20MetadataSession) Burn ¶
func (_IZRC20Metadata *IZRC20MetadataSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns(bool)
func (*IZRC20MetadataSession) Decimals ¶
func (_IZRC20Metadata *IZRC20MetadataSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*IZRC20MetadataSession) Deposit ¶
func (_IZRC20Metadata *IZRC20MetadataSession) Deposit(to common.Address, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address to, uint256 amount) returns(bool)
func (*IZRC20MetadataSession) Name ¶
func (_IZRC20Metadata *IZRC20MetadataSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*IZRC20MetadataSession) PROTOCOLFLATFEE ¶
func (_IZRC20Metadata *IZRC20MetadataSession) PROTOCOLFLATFEE() (*big.Int, error)
PROTOCOLFLATFEE is a free data retrieval call binding the contract method 0x4d8943bb.
Solidity: function PROTOCOL_FLAT_FEE() view returns(uint256)
func (*IZRC20MetadataSession) Symbol ¶
func (_IZRC20Metadata *IZRC20MetadataSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*IZRC20MetadataSession) TotalSupply ¶
func (_IZRC20Metadata *IZRC20MetadataSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*IZRC20MetadataSession) Transfer ¶
func (_IZRC20Metadata *IZRC20MetadataSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*IZRC20MetadataSession) TransferFrom ¶
func (_IZRC20Metadata *IZRC20MetadataSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*IZRC20MetadataSession) Withdraw ¶
func (_IZRC20Metadata *IZRC20MetadataSession) Withdraw(to []byte, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xc7012626.
Solidity: function withdraw(bytes to, uint256 amount) returns(bool)
func (*IZRC20MetadataSession) WithdrawGasFee ¶
WithdrawGasFee is a free data retrieval call binding the contract method 0xd9eeebed.
Solidity: function withdrawGasFee() view returns(address, uint256)
type IZRC20MetadataTransactor ¶
type IZRC20MetadataTransactor struct {
// contains filtered or unexported fields
}
IZRC20MetadataTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIZRC20MetadataTransactor ¶
func NewIZRC20MetadataTransactor(address common.Address, transactor bind.ContractTransactor) (*IZRC20MetadataTransactor, error)
NewIZRC20MetadataTransactor creates a new write-only instance of IZRC20Metadata, bound to a specific deployed contract.
func (*IZRC20MetadataTransactor) Approve ¶
func (_IZRC20Metadata *IZRC20MetadataTransactor) 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 (*IZRC20MetadataTransactor) Burn ¶
func (_IZRC20Metadata *IZRC20MetadataTransactor) 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(bool)
func (*IZRC20MetadataTransactor) Deposit ¶
func (_IZRC20Metadata *IZRC20MetadataTransactor) Deposit(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address to, uint256 amount) returns(bool)
func (*IZRC20MetadataTransactor) Transfer ¶
func (_IZRC20Metadata *IZRC20MetadataTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*IZRC20MetadataTransactor) TransferFrom ¶
func (_IZRC20Metadata *IZRC20MetadataTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*IZRC20MetadataTransactor) Withdraw ¶
func (_IZRC20Metadata *IZRC20MetadataTransactor) Withdraw(opts *bind.TransactOpts, to []byte, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xc7012626.
Solidity: function withdraw(bytes to, uint256 amount) returns(bool)
type IZRC20MetadataTransactorRaw ¶
type IZRC20MetadataTransactorRaw struct {
Contract *IZRC20MetadataTransactor // Generic write-only contract binding to access the raw methods on
}
IZRC20MetadataTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IZRC20MetadataTransactorRaw) Transact ¶
func (_IZRC20Metadata *IZRC20MetadataTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IZRC20MetadataTransactorRaw) Transfer ¶
func (_IZRC20Metadata *IZRC20MetadataTransactorRaw) 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 IZRC20MetadataTransactorSession ¶
type IZRC20MetadataTransactorSession struct { Contract *IZRC20MetadataTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IZRC20MetadataTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IZRC20MetadataTransactorSession) Approve ¶
func (_IZRC20Metadata *IZRC20MetadataTransactorSession) 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 (*IZRC20MetadataTransactorSession) Burn ¶
func (_IZRC20Metadata *IZRC20MetadataTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns(bool)
func (*IZRC20MetadataTransactorSession) Deposit ¶
func (_IZRC20Metadata *IZRC20MetadataTransactorSession) Deposit(to common.Address, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address to, uint256 amount) returns(bool)
func (*IZRC20MetadataTransactorSession) Transfer ¶
func (_IZRC20Metadata *IZRC20MetadataTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*IZRC20MetadataTransactorSession) TransferFrom ¶
func (_IZRC20Metadata *IZRC20MetadataTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*IZRC20MetadataTransactorSession) Withdraw ¶
func (_IZRC20Metadata *IZRC20MetadataTransactorSession) Withdraw(to []byte, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xc7012626.
Solidity: function withdraw(bytes to, uint256 amount) returns(bool)
type IZRC20Raw ¶
type IZRC20Raw struct {
Contract *IZRC20 // Generic contract binding to access the raw methods on
}
IZRC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*IZRC20Raw) Call ¶
func (_IZRC20 *IZRC20Raw) 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 (*IZRC20Raw) Transact ¶
func (_IZRC20 *IZRC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IZRC20Raw) Transfer ¶
func (_IZRC20 *IZRC20Raw) 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 IZRC20Session ¶
type IZRC20Session struct { Contract *IZRC20 // 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 }
IZRC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IZRC20Session) Allowance ¶
func (_IZRC20 *IZRC20Session) 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 (*IZRC20Session) Approve ¶
func (_IZRC20 *IZRC20Session) 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 (*IZRC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IZRC20Session) Burn ¶
func (_IZRC20 *IZRC20Session) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns(bool)
func (*IZRC20Session) Deposit ¶
func (_IZRC20 *IZRC20Session) Deposit(to common.Address, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address to, uint256 amount) returns(bool)
func (*IZRC20Session) PROTOCOLFLATFEE ¶
func (_IZRC20 *IZRC20Session) PROTOCOLFLATFEE() (*big.Int, error)
PROTOCOLFLATFEE is a free data retrieval call binding the contract method 0x4d8943bb.
Solidity: function PROTOCOL_FLAT_FEE() view returns(uint256)
func (*IZRC20Session) TotalSupply ¶
func (_IZRC20 *IZRC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*IZRC20Session) Transfer ¶
func (_IZRC20 *IZRC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*IZRC20Session) TransferFrom ¶
func (_IZRC20 *IZRC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*IZRC20Session) Withdraw ¶
func (_IZRC20 *IZRC20Session) Withdraw(to []byte, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xc7012626.
Solidity: function withdraw(bytes to, uint256 amount) returns(bool)
func (*IZRC20Session) WithdrawGasFee ¶
WithdrawGasFee is a free data retrieval call binding the contract method 0xd9eeebed.
Solidity: function withdrawGasFee() view returns(address, uint256)
type IZRC20Transactor ¶
type IZRC20Transactor struct {
// contains filtered or unexported fields
}
IZRC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIZRC20Transactor ¶
func NewIZRC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IZRC20Transactor, error)
NewIZRC20Transactor creates a new write-only instance of IZRC20, bound to a specific deployed contract.
func (*IZRC20Transactor) Approve ¶
func (_IZRC20 *IZRC20Transactor) 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 (*IZRC20Transactor) Burn ¶
func (_IZRC20 *IZRC20Transactor) 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(bool)
func (*IZRC20Transactor) Deposit ¶
func (_IZRC20 *IZRC20Transactor) Deposit(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address to, uint256 amount) returns(bool)
func (*IZRC20Transactor) Transfer ¶
func (_IZRC20 *IZRC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*IZRC20Transactor) TransferFrom ¶
func (_IZRC20 *IZRC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*IZRC20Transactor) Withdraw ¶
func (_IZRC20 *IZRC20Transactor) Withdraw(opts *bind.TransactOpts, to []byte, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xc7012626.
Solidity: function withdraw(bytes to, uint256 amount) returns(bool)
type IZRC20TransactorRaw ¶
type IZRC20TransactorRaw struct {
Contract *IZRC20Transactor // Generic write-only contract binding to access the raw methods on
}
IZRC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IZRC20TransactorRaw) Transact ¶
func (_IZRC20 *IZRC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IZRC20TransactorRaw) Transfer ¶
func (_IZRC20 *IZRC20TransactorRaw) 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 IZRC20TransactorSession ¶
type IZRC20TransactorSession struct { Contract *IZRC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IZRC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IZRC20TransactorSession) Approve ¶
func (_IZRC20 *IZRC20TransactorSession) 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 (*IZRC20TransactorSession) Burn ¶
func (_IZRC20 *IZRC20TransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns(bool)
func (*IZRC20TransactorSession) Deposit ¶
func (_IZRC20 *IZRC20TransactorSession) Deposit(to common.Address, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address to, uint256 amount) returns(bool)
func (*IZRC20TransactorSession) Transfer ¶
func (_IZRC20 *IZRC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*IZRC20TransactorSession) TransferFrom ¶
func (_IZRC20 *IZRC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*IZRC20TransactorSession) Withdraw ¶
func (_IZRC20 *IZRC20TransactorSession) Withdraw(to []byte, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xc7012626.
Solidity: function withdraw(bytes to, uint256 amount) returns(bool)
type ZRC20Events ¶
type ZRC20Events struct { ZRC20EventsCaller // Read-only binding to the contract ZRC20EventsTransactor // Write-only binding to the contract ZRC20EventsFilterer // Log filterer for contract events }
ZRC20Events is an auto generated Go binding around an Ethereum contract.
func NewZRC20Events ¶
func NewZRC20Events(address common.Address, backend bind.ContractBackend) (*ZRC20Events, error)
NewZRC20Events creates a new instance of ZRC20Events, bound to a specific deployed contract.
type ZRC20EventsApproval ¶
type ZRC20EventsApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ZRC20EventsApproval represents a Approval event raised by the ZRC20Events contract.
type ZRC20EventsApprovalIterator ¶
type ZRC20EventsApprovalIterator struct { Event *ZRC20EventsApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZRC20EventsApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ZRC20Events contract.
func (*ZRC20EventsApprovalIterator) Close ¶
func (it *ZRC20EventsApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZRC20EventsApprovalIterator) Error ¶
func (it *ZRC20EventsApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZRC20EventsApprovalIterator) Next ¶
func (it *ZRC20EventsApprovalIterator) 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 ZRC20EventsCaller ¶
type ZRC20EventsCaller struct {
// contains filtered or unexported fields
}
ZRC20EventsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewZRC20EventsCaller ¶
func NewZRC20EventsCaller(address common.Address, caller bind.ContractCaller) (*ZRC20EventsCaller, error)
NewZRC20EventsCaller creates a new read-only instance of ZRC20Events, bound to a specific deployed contract.
type ZRC20EventsCallerRaw ¶
type ZRC20EventsCallerRaw struct {
Contract *ZRC20EventsCaller // Generic read-only contract binding to access the raw methods on
}
ZRC20EventsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ZRC20EventsCallerRaw) Call ¶
func (_ZRC20Events *ZRC20EventsCallerRaw) 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 ZRC20EventsCallerSession ¶
type ZRC20EventsCallerSession struct { Contract *ZRC20EventsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ZRC20EventsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ZRC20EventsDeposit ¶
type ZRC20EventsDeposit struct { From []byte To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ZRC20EventsDeposit represents a Deposit event raised by the ZRC20Events contract.
type ZRC20EventsDepositIterator ¶
type ZRC20EventsDepositIterator struct { Event *ZRC20EventsDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZRC20EventsDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the ZRC20Events contract.
func (*ZRC20EventsDepositIterator) Close ¶
func (it *ZRC20EventsDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZRC20EventsDepositIterator) Error ¶
func (it *ZRC20EventsDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZRC20EventsDepositIterator) Next ¶
func (it *ZRC20EventsDepositIterator) 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 ZRC20EventsFilterer ¶
type ZRC20EventsFilterer struct {
// contains filtered or unexported fields
}
ZRC20EventsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewZRC20EventsFilterer ¶
func NewZRC20EventsFilterer(address common.Address, filterer bind.ContractFilterer) (*ZRC20EventsFilterer, error)
NewZRC20EventsFilterer creates a new log filterer instance of ZRC20Events, bound to a specific deployed contract.
func (*ZRC20EventsFilterer) FilterApproval ¶
func (_ZRC20Events *ZRC20EventsFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ZRC20EventsApprovalIterator, 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 (*ZRC20EventsFilterer) FilterDeposit ¶
func (_ZRC20Events *ZRC20EventsFilterer) FilterDeposit(opts *bind.FilterOpts, to []common.Address) (*ZRC20EventsDepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0x67fc7bdaed5b0ec550d8706b87d60568ab70c6b781263c70101d54cd1564aab3.
Solidity: event Deposit(bytes from, address indexed to, uint256 value)
func (*ZRC20EventsFilterer) FilterTransfer ¶
func (_ZRC20Events *ZRC20EventsFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ZRC20EventsTransferIterator, 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 (*ZRC20EventsFilterer) FilterUpdatedGasLimit ¶
func (_ZRC20Events *ZRC20EventsFilterer) FilterUpdatedGasLimit(opts *bind.FilterOpts) (*ZRC20EventsUpdatedGasLimitIterator, error)
FilterUpdatedGasLimit is a free log retrieval operation binding the contract event 0xff5788270f43bfc1ca41c503606d2594aa3023a1a7547de403a3e2f146a4a80a.
Solidity: event UpdatedGasLimit(uint256 gasLimit)
func (*ZRC20EventsFilterer) FilterUpdatedProtocolFlatFee ¶
func (_ZRC20Events *ZRC20EventsFilterer) FilterUpdatedProtocolFlatFee(opts *bind.FilterOpts) (*ZRC20EventsUpdatedProtocolFlatFeeIterator, error)
FilterUpdatedProtocolFlatFee is a free log retrieval operation binding the contract event 0xef13af88e424b5d15f49c77758542c1938b08b8b95b91ed0751f98ba99000d8f.
Solidity: event UpdatedProtocolFlatFee(uint256 protocolFlatFee)
func (*ZRC20EventsFilterer) FilterUpdatedSystemContract ¶
func (_ZRC20Events *ZRC20EventsFilterer) FilterUpdatedSystemContract(opts *bind.FilterOpts) (*ZRC20EventsUpdatedSystemContractIterator, error)
FilterUpdatedSystemContract is a free log retrieval operation binding the contract event 0xd55614e962c5fd6ece71614f6348d702468a997a394dd5e5c1677950226d97ae.
Solidity: event UpdatedSystemContract(address systemContract)
func (*ZRC20EventsFilterer) FilterWithdrawal ¶
func (_ZRC20Events *ZRC20EventsFilterer) FilterWithdrawal(opts *bind.FilterOpts, from []common.Address) (*ZRC20EventsWithdrawalIterator, error)
FilterWithdrawal is a free log retrieval operation binding the contract event 0x9ffbffc04a397460ee1dbe8c9503e098090567d6b7f4b3c02a8617d800b6d955.
Solidity: event Withdrawal(address indexed from, bytes to, uint256 value, uint256 gasFee, uint256 protocolFlatFee)
func (*ZRC20EventsFilterer) ParseApproval ¶
func (_ZRC20Events *ZRC20EventsFilterer) ParseApproval(log types.Log) (*ZRC20EventsApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ZRC20EventsFilterer) ParseDeposit ¶
func (_ZRC20Events *ZRC20EventsFilterer) ParseDeposit(log types.Log) (*ZRC20EventsDeposit, error)
ParseDeposit is a log parse operation binding the contract event 0x67fc7bdaed5b0ec550d8706b87d60568ab70c6b781263c70101d54cd1564aab3.
Solidity: event Deposit(bytes from, address indexed to, uint256 value)
func (*ZRC20EventsFilterer) ParseTransfer ¶
func (_ZRC20Events *ZRC20EventsFilterer) ParseTransfer(log types.Log) (*ZRC20EventsTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ZRC20EventsFilterer) ParseUpdatedGasLimit ¶
func (_ZRC20Events *ZRC20EventsFilterer) ParseUpdatedGasLimit(log types.Log) (*ZRC20EventsUpdatedGasLimit, error)
ParseUpdatedGasLimit is a log parse operation binding the contract event 0xff5788270f43bfc1ca41c503606d2594aa3023a1a7547de403a3e2f146a4a80a.
Solidity: event UpdatedGasLimit(uint256 gasLimit)
func (*ZRC20EventsFilterer) ParseUpdatedProtocolFlatFee ¶
func (_ZRC20Events *ZRC20EventsFilterer) ParseUpdatedProtocolFlatFee(log types.Log) (*ZRC20EventsUpdatedProtocolFlatFee, error)
ParseUpdatedProtocolFlatFee is a log parse operation binding the contract event 0xef13af88e424b5d15f49c77758542c1938b08b8b95b91ed0751f98ba99000d8f.
Solidity: event UpdatedProtocolFlatFee(uint256 protocolFlatFee)
func (*ZRC20EventsFilterer) ParseUpdatedSystemContract ¶
func (_ZRC20Events *ZRC20EventsFilterer) ParseUpdatedSystemContract(log types.Log) (*ZRC20EventsUpdatedSystemContract, error)
ParseUpdatedSystemContract is a log parse operation binding the contract event 0xd55614e962c5fd6ece71614f6348d702468a997a394dd5e5c1677950226d97ae.
Solidity: event UpdatedSystemContract(address systemContract)
func (*ZRC20EventsFilterer) ParseWithdrawal ¶
func (_ZRC20Events *ZRC20EventsFilterer) ParseWithdrawal(log types.Log) (*ZRC20EventsWithdrawal, error)
ParseWithdrawal is a log parse operation binding the contract event 0x9ffbffc04a397460ee1dbe8c9503e098090567d6b7f4b3c02a8617d800b6d955.
Solidity: event Withdrawal(address indexed from, bytes to, uint256 value, uint256 gasFee, uint256 protocolFlatFee)
func (*ZRC20EventsFilterer) WatchApproval ¶
func (_ZRC20Events *ZRC20EventsFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ZRC20EventsApproval, 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 (*ZRC20EventsFilterer) WatchDeposit ¶
func (_ZRC20Events *ZRC20EventsFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *ZRC20EventsDeposit, to []common.Address) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0x67fc7bdaed5b0ec550d8706b87d60568ab70c6b781263c70101d54cd1564aab3.
Solidity: event Deposit(bytes from, address indexed to, uint256 value)
func (*ZRC20EventsFilterer) WatchTransfer ¶
func (_ZRC20Events *ZRC20EventsFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ZRC20EventsTransfer, 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)
func (*ZRC20EventsFilterer) WatchUpdatedGasLimit ¶
func (_ZRC20Events *ZRC20EventsFilterer) WatchUpdatedGasLimit(opts *bind.WatchOpts, sink chan<- *ZRC20EventsUpdatedGasLimit) (event.Subscription, error)
WatchUpdatedGasLimit is a free log subscription operation binding the contract event 0xff5788270f43bfc1ca41c503606d2594aa3023a1a7547de403a3e2f146a4a80a.
Solidity: event UpdatedGasLimit(uint256 gasLimit)
func (*ZRC20EventsFilterer) WatchUpdatedProtocolFlatFee ¶
func (_ZRC20Events *ZRC20EventsFilterer) WatchUpdatedProtocolFlatFee(opts *bind.WatchOpts, sink chan<- *ZRC20EventsUpdatedProtocolFlatFee) (event.Subscription, error)
WatchUpdatedProtocolFlatFee is a free log subscription operation binding the contract event 0xef13af88e424b5d15f49c77758542c1938b08b8b95b91ed0751f98ba99000d8f.
Solidity: event UpdatedProtocolFlatFee(uint256 protocolFlatFee)
func (*ZRC20EventsFilterer) WatchUpdatedSystemContract ¶
func (_ZRC20Events *ZRC20EventsFilterer) WatchUpdatedSystemContract(opts *bind.WatchOpts, sink chan<- *ZRC20EventsUpdatedSystemContract) (event.Subscription, error)
WatchUpdatedSystemContract is a free log subscription operation binding the contract event 0xd55614e962c5fd6ece71614f6348d702468a997a394dd5e5c1677950226d97ae.
Solidity: event UpdatedSystemContract(address systemContract)
func (*ZRC20EventsFilterer) WatchWithdrawal ¶
func (_ZRC20Events *ZRC20EventsFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *ZRC20EventsWithdrawal, from []common.Address) (event.Subscription, error)
WatchWithdrawal is a free log subscription operation binding the contract event 0x9ffbffc04a397460ee1dbe8c9503e098090567d6b7f4b3c02a8617d800b6d955.
Solidity: event Withdrawal(address indexed from, bytes to, uint256 value, uint256 gasFee, uint256 protocolFlatFee)
type ZRC20EventsRaw ¶
type ZRC20EventsRaw struct {
Contract *ZRC20Events // Generic contract binding to access the raw methods on
}
ZRC20EventsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ZRC20EventsRaw) Call ¶
func (_ZRC20Events *ZRC20EventsRaw) 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 (*ZRC20EventsRaw) Transact ¶
func (_ZRC20Events *ZRC20EventsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZRC20EventsRaw) Transfer ¶
func (_ZRC20Events *ZRC20EventsRaw) 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 ZRC20EventsSession ¶
type ZRC20EventsSession struct { Contract *ZRC20Events // 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 }
ZRC20EventsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ZRC20EventsTransactor ¶
type ZRC20EventsTransactor struct {
// contains filtered or unexported fields
}
ZRC20EventsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewZRC20EventsTransactor ¶
func NewZRC20EventsTransactor(address common.Address, transactor bind.ContractTransactor) (*ZRC20EventsTransactor, error)
NewZRC20EventsTransactor creates a new write-only instance of ZRC20Events, bound to a specific deployed contract.
type ZRC20EventsTransactorRaw ¶
type ZRC20EventsTransactorRaw struct {
Contract *ZRC20EventsTransactor // Generic write-only contract binding to access the raw methods on
}
ZRC20EventsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ZRC20EventsTransactorRaw) Transact ¶
func (_ZRC20Events *ZRC20EventsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZRC20EventsTransactorRaw) Transfer ¶
func (_ZRC20Events *ZRC20EventsTransactorRaw) 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 ZRC20EventsTransactorSession ¶
type ZRC20EventsTransactorSession struct { Contract *ZRC20EventsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ZRC20EventsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ZRC20EventsTransfer ¶
type ZRC20EventsTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ZRC20EventsTransfer represents a Transfer event raised by the ZRC20Events contract.
type ZRC20EventsTransferIterator ¶
type ZRC20EventsTransferIterator struct { Event *ZRC20EventsTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZRC20EventsTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ZRC20Events contract.
func (*ZRC20EventsTransferIterator) Close ¶
func (it *ZRC20EventsTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZRC20EventsTransferIterator) Error ¶
func (it *ZRC20EventsTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZRC20EventsTransferIterator) Next ¶
func (it *ZRC20EventsTransferIterator) 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 ZRC20EventsUpdatedGasLimit ¶
type ZRC20EventsUpdatedGasLimit struct { GasLimit *big.Int Raw types.Log // Blockchain specific contextual infos }
ZRC20EventsUpdatedGasLimit represents a UpdatedGasLimit event raised by the ZRC20Events contract.
type ZRC20EventsUpdatedGasLimitIterator ¶
type ZRC20EventsUpdatedGasLimitIterator struct { Event *ZRC20EventsUpdatedGasLimit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZRC20EventsUpdatedGasLimitIterator is returned from FilterUpdatedGasLimit and is used to iterate over the raw logs and unpacked data for UpdatedGasLimit events raised by the ZRC20Events contract.
func (*ZRC20EventsUpdatedGasLimitIterator) Close ¶
func (it *ZRC20EventsUpdatedGasLimitIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZRC20EventsUpdatedGasLimitIterator) Error ¶
func (it *ZRC20EventsUpdatedGasLimitIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZRC20EventsUpdatedGasLimitIterator) Next ¶
func (it *ZRC20EventsUpdatedGasLimitIterator) 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 ZRC20EventsUpdatedProtocolFlatFee ¶
type ZRC20EventsUpdatedProtocolFlatFee struct { ProtocolFlatFee *big.Int Raw types.Log // Blockchain specific contextual infos }
ZRC20EventsUpdatedProtocolFlatFee represents a UpdatedProtocolFlatFee event raised by the ZRC20Events contract.
type ZRC20EventsUpdatedProtocolFlatFeeIterator ¶
type ZRC20EventsUpdatedProtocolFlatFeeIterator struct { Event *ZRC20EventsUpdatedProtocolFlatFee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZRC20EventsUpdatedProtocolFlatFeeIterator is returned from FilterUpdatedProtocolFlatFee and is used to iterate over the raw logs and unpacked data for UpdatedProtocolFlatFee events raised by the ZRC20Events contract.
func (*ZRC20EventsUpdatedProtocolFlatFeeIterator) Close ¶
func (it *ZRC20EventsUpdatedProtocolFlatFeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZRC20EventsUpdatedProtocolFlatFeeIterator) Error ¶
func (it *ZRC20EventsUpdatedProtocolFlatFeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZRC20EventsUpdatedProtocolFlatFeeIterator) Next ¶
func (it *ZRC20EventsUpdatedProtocolFlatFeeIterator) 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 ZRC20EventsUpdatedSystemContract ¶
type ZRC20EventsUpdatedSystemContract struct { SystemContract common.Address Raw types.Log // Blockchain specific contextual infos }
ZRC20EventsUpdatedSystemContract represents a UpdatedSystemContract event raised by the ZRC20Events contract.
type ZRC20EventsUpdatedSystemContractIterator ¶
type ZRC20EventsUpdatedSystemContractIterator struct { Event *ZRC20EventsUpdatedSystemContract // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZRC20EventsUpdatedSystemContractIterator is returned from FilterUpdatedSystemContract and is used to iterate over the raw logs and unpacked data for UpdatedSystemContract events raised by the ZRC20Events contract.
func (*ZRC20EventsUpdatedSystemContractIterator) Close ¶
func (it *ZRC20EventsUpdatedSystemContractIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZRC20EventsUpdatedSystemContractIterator) Error ¶
func (it *ZRC20EventsUpdatedSystemContractIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZRC20EventsUpdatedSystemContractIterator) Next ¶
func (it *ZRC20EventsUpdatedSystemContractIterator) 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 ZRC20EventsWithdrawal ¶
type ZRC20EventsWithdrawal struct { From common.Address To []byte Value *big.Int GasFee *big.Int ProtocolFlatFee *big.Int Raw types.Log // Blockchain specific contextual infos }
ZRC20EventsWithdrawal represents a Withdrawal event raised by the ZRC20Events contract.
type ZRC20EventsWithdrawalIterator ¶
type ZRC20EventsWithdrawalIterator struct { Event *ZRC20EventsWithdrawal // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZRC20EventsWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the ZRC20Events contract.
func (*ZRC20EventsWithdrawalIterator) Close ¶
func (it *ZRC20EventsWithdrawalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZRC20EventsWithdrawalIterator) Error ¶
func (it *ZRC20EventsWithdrawalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZRC20EventsWithdrawalIterator) Next ¶
func (it *ZRC20EventsWithdrawalIterator) 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.