izrc20

package
v1.0.2-athens3 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IZRC20ABI = IZRC20MetaData.ABI

IZRC20ABI is the input ABI used to generate the binding from. Deprecated: Use IZRC20MetaData.ABI instead.

View Source
var IZRC20MetaData = &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\"},{\"inputs\":[],\"name\":\"PROTOCOL_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\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"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\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"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.

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.

func NewIZRC20

func NewIZRC20(address common.Address, backend bind.ContractBackend) (*IZRC20, error)

NewIZRC20 creates a new instance of IZRC20, bound to a specific deployed contract.

type IZRC20Approval

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

IZRC20Approval represents a Approval event raised by the IZRC20 contract.

type IZRC20ApprovalIterator

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

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

func (*IZRC20ApprovalIterator) Close

func (it *IZRC20ApprovalIterator) Close() error

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

func (*IZRC20ApprovalIterator) Error

func (it *IZRC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZRC20ApprovalIterator) Next

func (it *IZRC20ApprovalIterator) 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 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) PROTOCOLFEE

func (_IZRC20 *IZRC20Caller) PROTOCOLFEE(opts *bind.CallOpts) (*big.Int, error)

PROTOCOLFEE is a free data retrieval call binding the contract method 0x0b4501fd.

Solidity: function PROTOCOL_FEE() view returns(uint256)

func (*IZRC20Caller) TotalSupply

func (_IZRC20 *IZRC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*IZRC20Caller) WithdrawGasFee

func (_IZRC20 *IZRC20Caller) 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 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

func (_IZRC20 *IZRC20CallerSession) 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 (*IZRC20CallerSession) PROTOCOLFEE

func (_IZRC20 *IZRC20CallerSession) PROTOCOLFEE() (*big.Int, error)

PROTOCOLFEE is a free data retrieval call binding the contract method 0x0b4501fd.

Solidity: function PROTOCOL_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

func (_IZRC20 *IZRC20CallerSession) 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 IZRC20Deposit

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

IZRC20Deposit represents a Deposit event raised by the IZRC20 contract.

type IZRC20DepositIterator

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

IZRC20DepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the IZRC20 contract.

func (*IZRC20DepositIterator) Close

func (it *IZRC20DepositIterator) Close() error

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

func (*IZRC20DepositIterator) Error

func (it *IZRC20DepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZRC20DepositIterator) Next

func (it *IZRC20DepositIterator) 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 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.

func (*IZRC20Filterer) FilterApproval

func (_IZRC20 *IZRC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IZRC20ApprovalIterator, 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 (*IZRC20Filterer) FilterDeposit

func (_IZRC20 *IZRC20Filterer) FilterDeposit(opts *bind.FilterOpts, to []common.Address) (*IZRC20DepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0x67fc7bdaed5b0ec550d8706b87d60568ab70c6b781263c70101d54cd1564aab3.

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

func (*IZRC20Filterer) FilterTransfer

func (_IZRC20 *IZRC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IZRC20TransferIterator, 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 (*IZRC20Filterer) FilterUpdatedGasLimit

func (_IZRC20 *IZRC20Filterer) FilterUpdatedGasLimit(opts *bind.FilterOpts) (*IZRC20UpdatedGasLimitIterator, error)

FilterUpdatedGasLimit is a free log retrieval operation binding the contract event 0xff5788270f43bfc1ca41c503606d2594aa3023a1a7547de403a3e2f146a4a80a.

Solidity: event UpdatedGasLimit(uint256 gasLimit)

func (*IZRC20Filterer) FilterUpdatedProtocolFlatFee

func (_IZRC20 *IZRC20Filterer) FilterUpdatedProtocolFlatFee(opts *bind.FilterOpts) (*IZRC20UpdatedProtocolFlatFeeIterator, error)

FilterUpdatedProtocolFlatFee is a free log retrieval operation binding the contract event 0xef13af88e424b5d15f49c77758542c1938b08b8b95b91ed0751f98ba99000d8f.

Solidity: event UpdatedProtocolFlatFee(uint256 protocolFlatFee)

func (*IZRC20Filterer) FilterUpdatedSystemContract

func (_IZRC20 *IZRC20Filterer) FilterUpdatedSystemContract(opts *bind.FilterOpts) (*IZRC20UpdatedSystemContractIterator, error)

FilterUpdatedSystemContract is a free log retrieval operation binding the contract event 0xd55614e962c5fd6ece71614f6348d702468a997a394dd5e5c1677950226d97ae.

Solidity: event UpdatedSystemContract(address systemContract)

func (*IZRC20Filterer) FilterWithdrawal

func (_IZRC20 *IZRC20Filterer) FilterWithdrawal(opts *bind.FilterOpts, from []common.Address) (*IZRC20WithdrawalIterator, 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 (*IZRC20Filterer) ParseApproval

func (_IZRC20 *IZRC20Filterer) ParseApproval(log types.Log) (*IZRC20Approval, error)

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

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

func (*IZRC20Filterer) ParseDeposit

func (_IZRC20 *IZRC20Filterer) ParseDeposit(log types.Log) (*IZRC20Deposit, error)

ParseDeposit is a log parse operation binding the contract event 0x67fc7bdaed5b0ec550d8706b87d60568ab70c6b781263c70101d54cd1564aab3.

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

func (*IZRC20Filterer) ParseTransfer

func (_IZRC20 *IZRC20Filterer) ParseTransfer(log types.Log) (*IZRC20Transfer, error)

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

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

func (*IZRC20Filterer) ParseUpdatedGasLimit

func (_IZRC20 *IZRC20Filterer) ParseUpdatedGasLimit(log types.Log) (*IZRC20UpdatedGasLimit, error)

ParseUpdatedGasLimit is a log parse operation binding the contract event 0xff5788270f43bfc1ca41c503606d2594aa3023a1a7547de403a3e2f146a4a80a.

Solidity: event UpdatedGasLimit(uint256 gasLimit)

func (*IZRC20Filterer) ParseUpdatedProtocolFlatFee

func (_IZRC20 *IZRC20Filterer) ParseUpdatedProtocolFlatFee(log types.Log) (*IZRC20UpdatedProtocolFlatFee, error)

ParseUpdatedProtocolFlatFee is a log parse operation binding the contract event 0xef13af88e424b5d15f49c77758542c1938b08b8b95b91ed0751f98ba99000d8f.

Solidity: event UpdatedProtocolFlatFee(uint256 protocolFlatFee)

func (*IZRC20Filterer) ParseUpdatedSystemContract

func (_IZRC20 *IZRC20Filterer) ParseUpdatedSystemContract(log types.Log) (*IZRC20UpdatedSystemContract, error)

ParseUpdatedSystemContract is a log parse operation binding the contract event 0xd55614e962c5fd6ece71614f6348d702468a997a394dd5e5c1677950226d97ae.

Solidity: event UpdatedSystemContract(address systemContract)

func (*IZRC20Filterer) ParseWithdrawal

func (_IZRC20 *IZRC20Filterer) ParseWithdrawal(log types.Log) (*IZRC20Withdrawal, 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 (*IZRC20Filterer) WatchApproval

func (_IZRC20 *IZRC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IZRC20Approval, 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 (*IZRC20Filterer) WatchDeposit

func (_IZRC20 *IZRC20Filterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *IZRC20Deposit, 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 (*IZRC20Filterer) WatchTransfer

func (_IZRC20 *IZRC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IZRC20Transfer, 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 (*IZRC20Filterer) WatchUpdatedGasLimit

func (_IZRC20 *IZRC20Filterer) WatchUpdatedGasLimit(opts *bind.WatchOpts, sink chan<- *IZRC20UpdatedGasLimit) (event.Subscription, error)

WatchUpdatedGasLimit is a free log subscription operation binding the contract event 0xff5788270f43bfc1ca41c503606d2594aa3023a1a7547de403a3e2f146a4a80a.

Solidity: event UpdatedGasLimit(uint256 gasLimit)

func (*IZRC20Filterer) WatchUpdatedProtocolFlatFee

func (_IZRC20 *IZRC20Filterer) WatchUpdatedProtocolFlatFee(opts *bind.WatchOpts, sink chan<- *IZRC20UpdatedProtocolFlatFee) (event.Subscription, error)

WatchUpdatedProtocolFlatFee is a free log subscription operation binding the contract event 0xef13af88e424b5d15f49c77758542c1938b08b8b95b91ed0751f98ba99000d8f.

Solidity: event UpdatedProtocolFlatFee(uint256 protocolFlatFee)

func (*IZRC20Filterer) WatchUpdatedSystemContract

func (_IZRC20 *IZRC20Filterer) WatchUpdatedSystemContract(opts *bind.WatchOpts, sink chan<- *IZRC20UpdatedSystemContract) (event.Subscription, error)

WatchUpdatedSystemContract is a free log subscription operation binding the contract event 0xd55614e962c5fd6ece71614f6348d702468a997a394dd5e5c1677950226d97ae.

Solidity: event UpdatedSystemContract(address systemContract)

func (*IZRC20Filterer) WatchWithdrawal

func (_IZRC20 *IZRC20Filterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *IZRC20Withdrawal, 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 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

func (_IZRC20 *IZRC20Session) 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 (*IZRC20Session) Burn

func (_IZRC20 *IZRC20Session) Burn(account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address account, uint256 amount) returns(bool)

func (*IZRC20Session) DecreaseAllowance

func (_IZRC20 *IZRC20Session) DecreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, 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) IncreaseAllowance

func (_IZRC20 *IZRC20Session) IncreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 amount) returns(bool)

func (*IZRC20Session) PROTOCOLFEE

func (_IZRC20 *IZRC20Session) PROTOCOLFEE() (*big.Int, error)

PROTOCOLFEE is a free data retrieval call binding the contract method 0x0b4501fd.

Solidity: function PROTOCOL_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

func (_IZRC20 *IZRC20Session) 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 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, account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address account, uint256 amount) returns(bool)

func (*IZRC20Transactor) DecreaseAllowance

func (_IZRC20 *IZRC20Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, 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) IncreaseAllowance

func (_IZRC20 *IZRC20Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, 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(account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address account, uint256 amount) returns(bool)

func (*IZRC20TransactorSession) DecreaseAllowance

func (_IZRC20 *IZRC20TransactorSession) DecreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, 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) IncreaseAllowance

func (_IZRC20 *IZRC20TransactorSession) IncreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, 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 IZRC20Transfer

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

IZRC20Transfer represents a Transfer event raised by the IZRC20 contract.

type IZRC20TransferIterator

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

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

func (*IZRC20TransferIterator) Close

func (it *IZRC20TransferIterator) Close() error

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

func (*IZRC20TransferIterator) Error

func (it *IZRC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZRC20TransferIterator) Next

func (it *IZRC20TransferIterator) 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 IZRC20UpdatedGasLimit

type IZRC20UpdatedGasLimit struct {
	GasLimit *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

IZRC20UpdatedGasLimit represents a UpdatedGasLimit event raised by the IZRC20 contract.

type IZRC20UpdatedGasLimitIterator

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

IZRC20UpdatedGasLimitIterator is returned from FilterUpdatedGasLimit and is used to iterate over the raw logs and unpacked data for UpdatedGasLimit events raised by the IZRC20 contract.

func (*IZRC20UpdatedGasLimitIterator) Close

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

func (*IZRC20UpdatedGasLimitIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZRC20UpdatedGasLimitIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IZRC20UpdatedProtocolFlatFee

type IZRC20UpdatedProtocolFlatFee struct {
	ProtocolFlatFee *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

IZRC20UpdatedProtocolFlatFee represents a UpdatedProtocolFlatFee event raised by the IZRC20 contract.

type IZRC20UpdatedProtocolFlatFeeIterator

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

IZRC20UpdatedProtocolFlatFeeIterator is returned from FilterUpdatedProtocolFlatFee and is used to iterate over the raw logs and unpacked data for UpdatedProtocolFlatFee events raised by the IZRC20 contract.

func (*IZRC20UpdatedProtocolFlatFeeIterator) Close

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

func (*IZRC20UpdatedProtocolFlatFeeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZRC20UpdatedProtocolFlatFeeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IZRC20UpdatedSystemContract

type IZRC20UpdatedSystemContract struct {
	SystemContract common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

IZRC20UpdatedSystemContract represents a UpdatedSystemContract event raised by the IZRC20 contract.

type IZRC20UpdatedSystemContractIterator

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

IZRC20UpdatedSystemContractIterator is returned from FilterUpdatedSystemContract and is used to iterate over the raw logs and unpacked data for UpdatedSystemContract events raised by the IZRC20 contract.

func (*IZRC20UpdatedSystemContractIterator) Close

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

func (*IZRC20UpdatedSystemContractIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZRC20UpdatedSystemContractIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IZRC20Withdrawal

type IZRC20Withdrawal struct {
	From            common.Address
	To              []byte
	Value           *big.Int
	GasFee          *big.Int
	ProtocolFlatFee *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

IZRC20Withdrawal represents a Withdrawal event raised by the IZRC20 contract.

type IZRC20WithdrawalIterator

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

IZRC20WithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the IZRC20 contract.

func (*IZRC20WithdrawalIterator) Close

func (it *IZRC20WithdrawalIterator) Close() error

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

func (*IZRC20WithdrawalIterator) Error

func (it *IZRC20WithdrawalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZRC20WithdrawalIterator) Next

func (it *IZRC20WithdrawalIterator) 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.

Jump to

Keyboard shortcuts

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