anyerc20

package
v1.4.560 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Anyerc20ABI = Anyerc20MetaData.ABI

Anyerc20ABI is the input ABI used to generate the binding from. Deprecated: Use Anyerc20MetaData.ABI instead.

View Source
var Anyerc20MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"_decimals\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"_underlying\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_vault\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"auth\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"LogAddAuth\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"effectiveHeight\",\"type\":\"uint256\"}],\"name\":\"LogChangeMPCOwner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldVault\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newVault\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"effectiveTime\",\"type\":\"uint256\"}],\"name\":\"LogChangeVault\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"txhash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"LogSwapin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"bindaddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"LogSwapout\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"txhash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Swapin\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"bindaddr\",\"type\":\"address\"}],\"name\":\"Swapout\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"applyMinter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"applyVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newVault\",\"type\":\"address\"}],\"name\":\"changeMPCOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newVault\",\"type\":\"address\"}],\"name\":\"changeVault\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"delay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"delayDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"delayMinter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"delayVault\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"depositVault\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"depositWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"depositWithTransferPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllMinters\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_vault\",\"type\":\"address\"}],\"name\":\"initVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isMinter\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"minters\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mpc\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingMinter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingVault\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_auth\",\"type\":\"address\"}],\"name\":\"revokeMinter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_auth\",\"type\":\"address\"}],\"name\":\"setMinter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_vault\",\"type\":\"address\"}],\"name\":\"setVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"setVaultOnly\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"transferAndCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"transferWithPermit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"underlying\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vault\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"withdrawVault\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

Anyerc20MetaData contains all meta data concerning the Anyerc20 contract.

Functions

This section is empty.

Types

type Anyerc20

type Anyerc20 struct {
	Anyerc20Caller     // Read-only binding to the contract
	Anyerc20Transactor // Write-only binding to the contract
	Anyerc20Filterer   // Log filterer for contract events
}

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

func NewAnyerc20

func NewAnyerc20(address common.Address, backend bind.ContractBackend) (*Anyerc20, error)

NewAnyerc20 creates a new instance of Anyerc20, bound to a specific deployed contract.

type Anyerc20Approval

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

Anyerc20Approval represents a Approval event raised by the Anyerc20 contract.

type Anyerc20ApprovalIterator

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

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

func (*Anyerc20ApprovalIterator) Close

func (it *Anyerc20ApprovalIterator) Close() error

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

func (*Anyerc20ApprovalIterator) Error

func (it *Anyerc20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Anyerc20ApprovalIterator) Next

func (it *Anyerc20ApprovalIterator) 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 Anyerc20Caller

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

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

func NewAnyerc20Caller

func NewAnyerc20Caller(address common.Address, caller bind.ContractCaller) (*Anyerc20Caller, error)

NewAnyerc20Caller creates a new read-only instance of Anyerc20, bound to a specific deployed contract.

func (*Anyerc20Caller) Allowance

func (_Anyerc20 *Anyerc20Caller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*Anyerc20Caller) BalanceOf

func (_Anyerc20 *Anyerc20Caller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*Anyerc20Caller) DOMAINSEPARATOR

func (_Anyerc20 *Anyerc20Caller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*Anyerc20Caller) Decimals

func (_Anyerc20 *Anyerc20Caller) 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 (*Anyerc20Caller) Delay

func (_Anyerc20 *Anyerc20Caller) Delay(opts *bind.CallOpts) (*big.Int, error)

Delay is a free data retrieval call binding the contract method 0x6a42b8f8.

Solidity: function delay() view returns(uint256)

func (*Anyerc20Caller) DelayDelay

func (_Anyerc20 *Anyerc20Caller) DelayDelay(opts *bind.CallOpts) (*big.Int, error)

DelayDelay is a free data retrieval call binding the contract method 0xa29dff72.

Solidity: function delayDelay() view returns(uint256)

func (*Anyerc20Caller) DelayMinter

func (_Anyerc20 *Anyerc20Caller) DelayMinter(opts *bind.CallOpts) (*big.Int, error)

DelayMinter is a free data retrieval call binding the contract method 0xc3081240.

Solidity: function delayMinter() view returns(uint256)

func (*Anyerc20Caller) DelayVault

func (_Anyerc20 *Anyerc20Caller) DelayVault(opts *bind.CallOpts) (*big.Int, error)

DelayVault is a free data retrieval call binding the contract method 0x87689e28.

Solidity: function delayVault() view returns(uint256)

func (*Anyerc20Caller) GetAllMinters

func (_Anyerc20 *Anyerc20Caller) GetAllMinters(opts *bind.CallOpts) ([]common.Address, error)

GetAllMinters is a free data retrieval call binding the contract method 0xa045442c.

Solidity: function getAllMinters() view returns(address[])

func (*Anyerc20Caller) IsMinter

func (_Anyerc20 *Anyerc20Caller) IsMinter(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address ) view returns(bool)

func (*Anyerc20Caller) Minters

func (_Anyerc20 *Anyerc20Caller) Minters(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Minters is a free data retrieval call binding the contract method 0x8623ec7b.

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

func (*Anyerc20Caller) Mpc

func (_Anyerc20 *Anyerc20Caller) Mpc(opts *bind.CallOpts) (common.Address, error)

Mpc is a free data retrieval call binding the contract method 0xf75c2664.

Solidity: function mpc() view returns(address)

func (*Anyerc20Caller) Name

func (_Anyerc20 *Anyerc20Caller) 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 (*Anyerc20Caller) Nonces

func (_Anyerc20 *Anyerc20Caller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*Anyerc20Caller) Owner

func (_Anyerc20 *Anyerc20Caller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*Anyerc20Caller) PERMITTYPEHASH

func (_Anyerc20 *Anyerc20Caller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*Anyerc20Caller) PendingDelay

func (_Anyerc20 *Anyerc20Caller) PendingDelay(opts *bind.CallOpts) (*big.Int, error)

PendingDelay is a free data retrieval call binding the contract method 0x4ca8f0ed.

Solidity: function pendingDelay() view returns(uint256)

func (*Anyerc20Caller) PendingMinter

func (_Anyerc20 *Anyerc20Caller) PendingMinter(opts *bind.CallOpts) (common.Address, error)

PendingMinter is a free data retrieval call binding the contract method 0x91c5df49.

Solidity: function pendingMinter() view returns(address)

func (*Anyerc20Caller) PendingVault

func (_Anyerc20 *Anyerc20Caller) PendingVault(opts *bind.CallOpts) (common.Address, error)

PendingVault is a free data retrieval call binding the contract method 0x52113ba7.

Solidity: function pendingVault() view returns(address)

func (*Anyerc20Caller) Symbol

func (_Anyerc20 *Anyerc20Caller) 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 (*Anyerc20Caller) TRANSFERTYPEHASH

func (_Anyerc20 *Anyerc20Caller) TRANSFERTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

TRANSFERTYPEHASH is a free data retrieval call binding the contract method 0x00bf26f4.

Solidity: function TRANSFER_TYPEHASH() view returns(bytes32)

func (*Anyerc20Caller) TotalSupply

func (_Anyerc20 *Anyerc20Caller) 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 (*Anyerc20Caller) Underlying

func (_Anyerc20 *Anyerc20Caller) Underlying(opts *bind.CallOpts) (common.Address, error)

Underlying is a free data retrieval call binding the contract method 0x6f307dc3.

Solidity: function underlying() view returns(address)

func (*Anyerc20Caller) Vault

func (_Anyerc20 *Anyerc20Caller) Vault(opts *bind.CallOpts) (common.Address, error)

Vault is a free data retrieval call binding the contract method 0xfbfa77cf.

Solidity: function vault() view returns(address)

type Anyerc20CallerRaw

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

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

func (*Anyerc20CallerRaw) Call

func (_Anyerc20 *Anyerc20CallerRaw) 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 Anyerc20CallerSession

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

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

func (*Anyerc20CallerSession) Allowance

func (_Anyerc20 *Anyerc20CallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*Anyerc20CallerSession) BalanceOf

func (_Anyerc20 *Anyerc20CallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*Anyerc20CallerSession) DOMAINSEPARATOR

func (_Anyerc20 *Anyerc20CallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*Anyerc20CallerSession) Decimals

func (_Anyerc20 *Anyerc20CallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*Anyerc20CallerSession) Delay

func (_Anyerc20 *Anyerc20CallerSession) Delay() (*big.Int, error)

Delay is a free data retrieval call binding the contract method 0x6a42b8f8.

Solidity: function delay() view returns(uint256)

func (*Anyerc20CallerSession) DelayDelay

func (_Anyerc20 *Anyerc20CallerSession) DelayDelay() (*big.Int, error)

DelayDelay is a free data retrieval call binding the contract method 0xa29dff72.

Solidity: function delayDelay() view returns(uint256)

func (*Anyerc20CallerSession) DelayMinter

func (_Anyerc20 *Anyerc20CallerSession) DelayMinter() (*big.Int, error)

DelayMinter is a free data retrieval call binding the contract method 0xc3081240.

Solidity: function delayMinter() view returns(uint256)

func (*Anyerc20CallerSession) DelayVault

func (_Anyerc20 *Anyerc20CallerSession) DelayVault() (*big.Int, error)

DelayVault is a free data retrieval call binding the contract method 0x87689e28.

Solidity: function delayVault() view returns(uint256)

func (*Anyerc20CallerSession) GetAllMinters

func (_Anyerc20 *Anyerc20CallerSession) GetAllMinters() ([]common.Address, error)

GetAllMinters is a free data retrieval call binding the contract method 0xa045442c.

Solidity: function getAllMinters() view returns(address[])

func (*Anyerc20CallerSession) IsMinter

func (_Anyerc20 *Anyerc20CallerSession) IsMinter(arg0 common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address ) view returns(bool)

func (*Anyerc20CallerSession) Minters

func (_Anyerc20 *Anyerc20CallerSession) Minters(arg0 *big.Int) (common.Address, error)

Minters is a free data retrieval call binding the contract method 0x8623ec7b.

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

func (*Anyerc20CallerSession) Mpc

func (_Anyerc20 *Anyerc20CallerSession) Mpc() (common.Address, error)

Mpc is a free data retrieval call binding the contract method 0xf75c2664.

Solidity: function mpc() view returns(address)

func (*Anyerc20CallerSession) Name

func (_Anyerc20 *Anyerc20CallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*Anyerc20CallerSession) Nonces

func (_Anyerc20 *Anyerc20CallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*Anyerc20CallerSession) Owner

func (_Anyerc20 *Anyerc20CallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*Anyerc20CallerSession) PERMITTYPEHASH

func (_Anyerc20 *Anyerc20CallerSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*Anyerc20CallerSession) PendingDelay

func (_Anyerc20 *Anyerc20CallerSession) PendingDelay() (*big.Int, error)

PendingDelay is a free data retrieval call binding the contract method 0x4ca8f0ed.

Solidity: function pendingDelay() view returns(uint256)

func (*Anyerc20CallerSession) PendingMinter

func (_Anyerc20 *Anyerc20CallerSession) PendingMinter() (common.Address, error)

PendingMinter is a free data retrieval call binding the contract method 0x91c5df49.

Solidity: function pendingMinter() view returns(address)

func (*Anyerc20CallerSession) PendingVault

func (_Anyerc20 *Anyerc20CallerSession) PendingVault() (common.Address, error)

PendingVault is a free data retrieval call binding the contract method 0x52113ba7.

Solidity: function pendingVault() view returns(address)

func (*Anyerc20CallerSession) Symbol

func (_Anyerc20 *Anyerc20CallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*Anyerc20CallerSession) TRANSFERTYPEHASH

func (_Anyerc20 *Anyerc20CallerSession) TRANSFERTYPEHASH() ([32]byte, error)

TRANSFERTYPEHASH is a free data retrieval call binding the contract method 0x00bf26f4.

Solidity: function TRANSFER_TYPEHASH() view returns(bytes32)

func (*Anyerc20CallerSession) TotalSupply

func (_Anyerc20 *Anyerc20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*Anyerc20CallerSession) Underlying

func (_Anyerc20 *Anyerc20CallerSession) Underlying() (common.Address, error)

Underlying is a free data retrieval call binding the contract method 0x6f307dc3.

Solidity: function underlying() view returns(address)

func (*Anyerc20CallerSession) Vault

func (_Anyerc20 *Anyerc20CallerSession) Vault() (common.Address, error)

Vault is a free data retrieval call binding the contract method 0xfbfa77cf.

Solidity: function vault() view returns(address)

type Anyerc20Filterer

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

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

func NewAnyerc20Filterer

func NewAnyerc20Filterer(address common.Address, filterer bind.ContractFilterer) (*Anyerc20Filterer, error)

NewAnyerc20Filterer creates a new log filterer instance of Anyerc20, bound to a specific deployed contract.

func (*Anyerc20Filterer) FilterApproval

func (_Anyerc20 *Anyerc20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*Anyerc20ApprovalIterator, 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 (*Anyerc20Filterer) FilterLogAddAuth

func (_Anyerc20 *Anyerc20Filterer) FilterLogAddAuth(opts *bind.FilterOpts, auth []common.Address) (*Anyerc20LogAddAuthIterator, error)

FilterLogAddAuth is a free log retrieval operation binding the contract event 0xff9be4a5a0b9027fd253167d4c170ef1bbf8403af21bf06a0ed87ac8c8ecb5c6.

Solidity: event LogAddAuth(address indexed auth, uint256 timestamp)

func (*Anyerc20Filterer) FilterLogChangeMPCOwner

func (_Anyerc20 *Anyerc20Filterer) FilterLogChangeMPCOwner(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address, effectiveHeight []*big.Int) (*Anyerc20LogChangeMPCOwnerIterator, error)

FilterLogChangeMPCOwner is a free log retrieval operation binding the contract event 0x1d065115f314fb9bad9557bd5460b9e3c66f7223b1dd04e73e828f0bb5afe89f.

Solidity: event LogChangeMPCOwner(address indexed oldOwner, address indexed newOwner, uint256 indexed effectiveHeight)

func (*Anyerc20Filterer) FilterLogChangeVault

func (_Anyerc20 *Anyerc20Filterer) FilterLogChangeVault(opts *bind.FilterOpts, oldVault []common.Address, newVault []common.Address, effectiveTime []*big.Int) (*Anyerc20LogChangeVaultIterator, error)

FilterLogChangeVault is a free log retrieval operation binding the contract event 0x5c364079e7102c27c608f9b237c735a1b7bfa0b67f27c2ad26bad447bf965cac.

Solidity: event LogChangeVault(address indexed oldVault, address indexed newVault, uint256 indexed effectiveTime)

func (*Anyerc20Filterer) FilterLogSwapin

func (_Anyerc20 *Anyerc20Filterer) FilterLogSwapin(opts *bind.FilterOpts, txhash [][32]byte, account []common.Address) (*Anyerc20LogSwapinIterator, error)

FilterLogSwapin is a free log retrieval operation binding the contract event 0x05d0634fe981be85c22e2942a880821b70095d84e152c3ea3c17a4e4250d9d61.

Solidity: event LogSwapin(bytes32 indexed txhash, address indexed account, uint256 amount)

func (*Anyerc20Filterer) FilterLogSwapout

func (_Anyerc20 *Anyerc20Filterer) FilterLogSwapout(opts *bind.FilterOpts, account []common.Address, bindaddr []common.Address) (*Anyerc20LogSwapoutIterator, error)

FilterLogSwapout is a free log retrieval operation binding the contract event 0x6b616089d04950dc06c45c6dd787d657980543f89651aec47924752c7d16c888.

Solidity: event LogSwapout(address indexed account, address indexed bindaddr, uint256 amount)

func (*Anyerc20Filterer) FilterTransfer

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

func (_Anyerc20 *Anyerc20Filterer) ParseApproval(log types.Log) (*Anyerc20Approval, error)

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

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

func (*Anyerc20Filterer) ParseLogAddAuth

func (_Anyerc20 *Anyerc20Filterer) ParseLogAddAuth(log types.Log) (*Anyerc20LogAddAuth, error)

ParseLogAddAuth is a log parse operation binding the contract event 0xff9be4a5a0b9027fd253167d4c170ef1bbf8403af21bf06a0ed87ac8c8ecb5c6.

Solidity: event LogAddAuth(address indexed auth, uint256 timestamp)

func (*Anyerc20Filterer) ParseLogChangeMPCOwner

func (_Anyerc20 *Anyerc20Filterer) ParseLogChangeMPCOwner(log types.Log) (*Anyerc20LogChangeMPCOwner, error)

ParseLogChangeMPCOwner is a log parse operation binding the contract event 0x1d065115f314fb9bad9557bd5460b9e3c66f7223b1dd04e73e828f0bb5afe89f.

Solidity: event LogChangeMPCOwner(address indexed oldOwner, address indexed newOwner, uint256 indexed effectiveHeight)

func (*Anyerc20Filterer) ParseLogChangeVault

func (_Anyerc20 *Anyerc20Filterer) ParseLogChangeVault(log types.Log) (*Anyerc20LogChangeVault, error)

ParseLogChangeVault is a log parse operation binding the contract event 0x5c364079e7102c27c608f9b237c735a1b7bfa0b67f27c2ad26bad447bf965cac.

Solidity: event LogChangeVault(address indexed oldVault, address indexed newVault, uint256 indexed effectiveTime)

func (*Anyerc20Filterer) ParseLogSwapin

func (_Anyerc20 *Anyerc20Filterer) ParseLogSwapin(log types.Log) (*Anyerc20LogSwapin, error)

ParseLogSwapin is a log parse operation binding the contract event 0x05d0634fe981be85c22e2942a880821b70095d84e152c3ea3c17a4e4250d9d61.

Solidity: event LogSwapin(bytes32 indexed txhash, address indexed account, uint256 amount)

func (*Anyerc20Filterer) ParseLogSwapout

func (_Anyerc20 *Anyerc20Filterer) ParseLogSwapout(log types.Log) (*Anyerc20LogSwapout, error)

ParseLogSwapout is a log parse operation binding the contract event 0x6b616089d04950dc06c45c6dd787d657980543f89651aec47924752c7d16c888.

Solidity: event LogSwapout(address indexed account, address indexed bindaddr, uint256 amount)

func (*Anyerc20Filterer) ParseTransfer

func (_Anyerc20 *Anyerc20Filterer) ParseTransfer(log types.Log) (*Anyerc20Transfer, error)

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

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

func (*Anyerc20Filterer) WatchApproval

func (_Anyerc20 *Anyerc20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Anyerc20Approval, 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 (*Anyerc20Filterer) WatchLogAddAuth

func (_Anyerc20 *Anyerc20Filterer) WatchLogAddAuth(opts *bind.WatchOpts, sink chan<- *Anyerc20LogAddAuth, auth []common.Address) (event.Subscription, error)

WatchLogAddAuth is a free log subscription operation binding the contract event 0xff9be4a5a0b9027fd253167d4c170ef1bbf8403af21bf06a0ed87ac8c8ecb5c6.

Solidity: event LogAddAuth(address indexed auth, uint256 timestamp)

func (*Anyerc20Filterer) WatchLogChangeMPCOwner

func (_Anyerc20 *Anyerc20Filterer) WatchLogChangeMPCOwner(opts *bind.WatchOpts, sink chan<- *Anyerc20LogChangeMPCOwner, oldOwner []common.Address, newOwner []common.Address, effectiveHeight []*big.Int) (event.Subscription, error)

WatchLogChangeMPCOwner is a free log subscription operation binding the contract event 0x1d065115f314fb9bad9557bd5460b9e3c66f7223b1dd04e73e828f0bb5afe89f.

Solidity: event LogChangeMPCOwner(address indexed oldOwner, address indexed newOwner, uint256 indexed effectiveHeight)

func (*Anyerc20Filterer) WatchLogChangeVault

func (_Anyerc20 *Anyerc20Filterer) WatchLogChangeVault(opts *bind.WatchOpts, sink chan<- *Anyerc20LogChangeVault, oldVault []common.Address, newVault []common.Address, effectiveTime []*big.Int) (event.Subscription, error)

WatchLogChangeVault is a free log subscription operation binding the contract event 0x5c364079e7102c27c608f9b237c735a1b7bfa0b67f27c2ad26bad447bf965cac.

Solidity: event LogChangeVault(address indexed oldVault, address indexed newVault, uint256 indexed effectiveTime)

func (*Anyerc20Filterer) WatchLogSwapin

func (_Anyerc20 *Anyerc20Filterer) WatchLogSwapin(opts *bind.WatchOpts, sink chan<- *Anyerc20LogSwapin, txhash [][32]byte, account []common.Address) (event.Subscription, error)

WatchLogSwapin is a free log subscription operation binding the contract event 0x05d0634fe981be85c22e2942a880821b70095d84e152c3ea3c17a4e4250d9d61.

Solidity: event LogSwapin(bytes32 indexed txhash, address indexed account, uint256 amount)

func (*Anyerc20Filterer) WatchLogSwapout

func (_Anyerc20 *Anyerc20Filterer) WatchLogSwapout(opts *bind.WatchOpts, sink chan<- *Anyerc20LogSwapout, account []common.Address, bindaddr []common.Address) (event.Subscription, error)

WatchLogSwapout is a free log subscription operation binding the contract event 0x6b616089d04950dc06c45c6dd787d657980543f89651aec47924752c7d16c888.

Solidity: event LogSwapout(address indexed account, address indexed bindaddr, uint256 amount)

func (*Anyerc20Filterer) WatchTransfer

func (_Anyerc20 *Anyerc20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Anyerc20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

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

type Anyerc20LogAddAuth

type Anyerc20LogAddAuth struct {
	Auth      common.Address
	Timestamp *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

Anyerc20LogAddAuth represents a LogAddAuth event raised by the Anyerc20 contract.

type Anyerc20LogAddAuthIterator

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

Anyerc20LogAddAuthIterator is returned from FilterLogAddAuth and is used to iterate over the raw logs and unpacked data for LogAddAuth events raised by the Anyerc20 contract.

func (*Anyerc20LogAddAuthIterator) Close

func (it *Anyerc20LogAddAuthIterator) Close() error

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

func (*Anyerc20LogAddAuthIterator) Error

func (it *Anyerc20LogAddAuthIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Anyerc20LogAddAuthIterator) Next

func (it *Anyerc20LogAddAuthIterator) 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 Anyerc20LogChangeMPCOwner

type Anyerc20LogChangeMPCOwner struct {
	OldOwner        common.Address
	NewOwner        common.Address
	EffectiveHeight *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

Anyerc20LogChangeMPCOwner represents a LogChangeMPCOwner event raised by the Anyerc20 contract.

type Anyerc20LogChangeMPCOwnerIterator

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

Anyerc20LogChangeMPCOwnerIterator is returned from FilterLogChangeMPCOwner and is used to iterate over the raw logs and unpacked data for LogChangeMPCOwner events raised by the Anyerc20 contract.

func (*Anyerc20LogChangeMPCOwnerIterator) Close

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

func (*Anyerc20LogChangeMPCOwnerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Anyerc20LogChangeMPCOwnerIterator) 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 Anyerc20LogChangeVault

type Anyerc20LogChangeVault struct {
	OldVault      common.Address
	NewVault      common.Address
	EffectiveTime *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

Anyerc20LogChangeVault represents a LogChangeVault event raised by the Anyerc20 contract.

type Anyerc20LogChangeVaultIterator

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

Anyerc20LogChangeVaultIterator is returned from FilterLogChangeVault and is used to iterate over the raw logs and unpacked data for LogChangeVault events raised by the Anyerc20 contract.

func (*Anyerc20LogChangeVaultIterator) Close

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

func (*Anyerc20LogChangeVaultIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Anyerc20LogChangeVaultIterator) 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 Anyerc20LogSwapin

type Anyerc20LogSwapin struct {
	Txhash  [32]byte
	Account common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

Anyerc20LogSwapin represents a LogSwapin event raised by the Anyerc20 contract.

type Anyerc20LogSwapinIterator

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

Anyerc20LogSwapinIterator is returned from FilterLogSwapin and is used to iterate over the raw logs and unpacked data for LogSwapin events raised by the Anyerc20 contract.

func (*Anyerc20LogSwapinIterator) Close

func (it *Anyerc20LogSwapinIterator) Close() error

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

func (*Anyerc20LogSwapinIterator) Error

func (it *Anyerc20LogSwapinIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Anyerc20LogSwapinIterator) Next

func (it *Anyerc20LogSwapinIterator) 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 Anyerc20LogSwapout

type Anyerc20LogSwapout struct {
	Account  common.Address
	Bindaddr common.Address
	Amount   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

Anyerc20LogSwapout represents a LogSwapout event raised by the Anyerc20 contract.

type Anyerc20LogSwapoutIterator

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

Anyerc20LogSwapoutIterator is returned from FilterLogSwapout and is used to iterate over the raw logs and unpacked data for LogSwapout events raised by the Anyerc20 contract.

func (*Anyerc20LogSwapoutIterator) Close

func (it *Anyerc20LogSwapoutIterator) Close() error

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

func (*Anyerc20LogSwapoutIterator) Error

func (it *Anyerc20LogSwapoutIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Anyerc20LogSwapoutIterator) Next

func (it *Anyerc20LogSwapoutIterator) 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 Anyerc20Raw

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

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

func (*Anyerc20Raw) Call

func (_Anyerc20 *Anyerc20Raw) 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 (*Anyerc20Raw) Transact

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

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

func (*Anyerc20Raw) Transfer

func (_Anyerc20 *Anyerc20Raw) 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 Anyerc20Session

type Anyerc20Session struct {
	Contract     *Anyerc20         // 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
}

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

func (*Anyerc20Session) Allowance

func (_Anyerc20 *Anyerc20Session) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*Anyerc20Session) ApplyMinter

func (_Anyerc20 *Anyerc20Session) ApplyMinter() (*types.Transaction, error)

ApplyMinter is a paid mutator transaction binding the contract method 0x0d707df8.

Solidity: function applyMinter() returns()

func (*Anyerc20Session) ApplyVault

func (_Anyerc20 *Anyerc20Session) ApplyVault() (*types.Transaction, error)

ApplyVault is a paid mutator transaction binding the contract method 0xd93f2445.

Solidity: function applyVault() returns()

func (*Anyerc20Session) Approve

func (_Anyerc20 *Anyerc20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*Anyerc20Session) ApproveAndCall

func (_Anyerc20 *Anyerc20Session) ApproveAndCall(spender common.Address, value *big.Int, data []byte) (*types.Transaction, error)

ApproveAndCall is a paid mutator transaction binding the contract method 0xcae9ca51.

Solidity: function approveAndCall(address spender, uint256 value, bytes data) returns(bool)

func (*Anyerc20Session) BalanceOf

func (_Anyerc20 *Anyerc20Session) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*Anyerc20Session) Burn

func (_Anyerc20 *Anyerc20Session) Burn(from common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*Anyerc20Session) ChangeMPCOwner

func (_Anyerc20 *Anyerc20Session) ChangeMPCOwner(newVault common.Address) (*types.Transaction, error)

ChangeMPCOwner is a paid mutator transaction binding the contract method 0x5f9b105d.

Solidity: function changeMPCOwner(address newVault) returns(bool)

func (*Anyerc20Session) ChangeVault

func (_Anyerc20 *Anyerc20Session) ChangeVault(newVault common.Address) (*types.Transaction, error)

ChangeVault is a paid mutator transaction binding the contract method 0x60e232a9.

Solidity: function changeVault(address newVault) returns(bool)

func (*Anyerc20Session) DOMAINSEPARATOR

func (_Anyerc20 *Anyerc20Session) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*Anyerc20Session) Decimals

func (_Anyerc20 *Anyerc20Session) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*Anyerc20Session) Delay

func (_Anyerc20 *Anyerc20Session) Delay() (*big.Int, error)

Delay is a free data retrieval call binding the contract method 0x6a42b8f8.

Solidity: function delay() view returns(uint256)

func (*Anyerc20Session) DelayDelay

func (_Anyerc20 *Anyerc20Session) DelayDelay() (*big.Int, error)

DelayDelay is a free data retrieval call binding the contract method 0xa29dff72.

Solidity: function delayDelay() view returns(uint256)

func (*Anyerc20Session) DelayMinter

func (_Anyerc20 *Anyerc20Session) DelayMinter() (*big.Int, error)

DelayMinter is a free data retrieval call binding the contract method 0xc3081240.

Solidity: function delayMinter() view returns(uint256)

func (*Anyerc20Session) DelayVault

func (_Anyerc20 *Anyerc20Session) DelayVault() (*big.Int, error)

DelayVault is a free data retrieval call binding the contract method 0x87689e28.

Solidity: function delayVault() view returns(uint256)

func (*Anyerc20Session) Deposit

func (_Anyerc20 *Anyerc20Session) Deposit(amount *big.Int, to common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 amount, address to) returns(uint256)

func (*Anyerc20Session) Deposit0

func (_Anyerc20 *Anyerc20Session) Deposit0(amount *big.Int) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 amount) returns(uint256)

func (*Anyerc20Session) Deposit1

func (_Anyerc20 *Anyerc20Session) Deposit1() (*types.Transaction, error)

Deposit1 is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() returns(uint256)

func (*Anyerc20Session) DepositVault

func (_Anyerc20 *Anyerc20Session) DepositVault(amount *big.Int, to common.Address) (*types.Transaction, error)

DepositVault is a paid mutator transaction binding the contract method 0xbebbf4d0.

Solidity: function depositVault(uint256 amount, address to) returns(uint256)

func (*Anyerc20Session) DepositWithPermit

func (_Anyerc20 *Anyerc20Session) DepositWithPermit(target common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte, to common.Address) (*types.Transaction, error)

DepositWithPermit is a paid mutator transaction binding the contract method 0x81a37c18.

Solidity: function depositWithPermit(address target, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s, address to) returns(uint256)

func (*Anyerc20Session) DepositWithTransferPermit

func (_Anyerc20 *Anyerc20Session) DepositWithTransferPermit(target common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte, to common.Address) (*types.Transaction, error)

DepositWithTransferPermit is a paid mutator transaction binding the contract method 0xf954734e.

Solidity: function depositWithTransferPermit(address target, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s, address to) returns(uint256)

func (*Anyerc20Session) GetAllMinters

func (_Anyerc20 *Anyerc20Session) GetAllMinters() ([]common.Address, error)

GetAllMinters is a free data retrieval call binding the contract method 0xa045442c.

Solidity: function getAllMinters() view returns(address[])

func (*Anyerc20Session) InitVault

func (_Anyerc20 *Anyerc20Session) InitVault(_vault common.Address) (*types.Transaction, error)

InitVault is a paid mutator transaction binding the contract method 0x2ebe3fbb.

Solidity: function initVault(address _vault) returns()

func (*Anyerc20Session) IsMinter

func (_Anyerc20 *Anyerc20Session) IsMinter(arg0 common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address ) view returns(bool)

func (*Anyerc20Session) Mint

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

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

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

func (*Anyerc20Session) Minters

func (_Anyerc20 *Anyerc20Session) Minters(arg0 *big.Int) (common.Address, error)

Minters is a free data retrieval call binding the contract method 0x8623ec7b.

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

func (*Anyerc20Session) Mpc

func (_Anyerc20 *Anyerc20Session) Mpc() (common.Address, error)

Mpc is a free data retrieval call binding the contract method 0xf75c2664.

Solidity: function mpc() view returns(address)

func (*Anyerc20Session) Name

func (_Anyerc20 *Anyerc20Session) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*Anyerc20Session) Nonces

func (_Anyerc20 *Anyerc20Session) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*Anyerc20Session) Owner

func (_Anyerc20 *Anyerc20Session) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*Anyerc20Session) PERMITTYPEHASH

func (_Anyerc20 *Anyerc20Session) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*Anyerc20Session) PendingDelay

func (_Anyerc20 *Anyerc20Session) PendingDelay() (*big.Int, error)

PendingDelay is a free data retrieval call binding the contract method 0x4ca8f0ed.

Solidity: function pendingDelay() view returns(uint256)

func (*Anyerc20Session) PendingMinter

func (_Anyerc20 *Anyerc20Session) PendingMinter() (common.Address, error)

PendingMinter is a free data retrieval call binding the contract method 0x91c5df49.

Solidity: function pendingMinter() view returns(address)

func (*Anyerc20Session) PendingVault

func (_Anyerc20 *Anyerc20Session) PendingVault() (common.Address, error)

PendingVault is a free data retrieval call binding the contract method 0x52113ba7.

Solidity: function pendingVault() view returns(address)

func (*Anyerc20Session) Permit

func (_Anyerc20 *Anyerc20Session) Permit(target common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address target, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*Anyerc20Session) RevokeMinter

func (_Anyerc20 *Anyerc20Session) RevokeMinter(_auth common.Address) (*types.Transaction, error)

RevokeMinter is a paid mutator transaction binding the contract method 0xcfbd4885.

Solidity: function revokeMinter(address _auth) returns()

func (*Anyerc20Session) SetMinter

func (_Anyerc20 *Anyerc20Session) SetMinter(_auth common.Address) (*types.Transaction, error)

SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.

Solidity: function setMinter(address _auth) returns()

func (*Anyerc20Session) SetVault

func (_Anyerc20 *Anyerc20Session) SetVault(_vault common.Address) (*types.Transaction, error)

SetVault is a paid mutator transaction binding the contract method 0x6817031b.

Solidity: function setVault(address _vault) returns()

func (*Anyerc20Session) SetVaultOnly

func (_Anyerc20 *Anyerc20Session) SetVaultOnly(enabled bool) (*types.Transaction, error)

SetVaultOnly is a paid mutator transaction binding the contract method 0xc4b740f5.

Solidity: function setVaultOnly(bool enabled) returns()

func (*Anyerc20Session) Swapin

func (_Anyerc20 *Anyerc20Session) Swapin(txhash [32]byte, account common.Address, amount *big.Int) (*types.Transaction, error)

Swapin is a paid mutator transaction binding the contract method 0xec126c77.

Solidity: function Swapin(bytes32 txhash, address account, uint256 amount) returns(bool)

func (*Anyerc20Session) Swapout

func (_Anyerc20 *Anyerc20Session) Swapout(amount *big.Int, bindaddr common.Address) (*types.Transaction, error)

Swapout is a paid mutator transaction binding the contract method 0x628d6cba.

Solidity: function Swapout(uint256 amount, address bindaddr) returns(bool)

func (*Anyerc20Session) Symbol

func (_Anyerc20 *Anyerc20Session) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*Anyerc20Session) TRANSFERTYPEHASH

func (_Anyerc20 *Anyerc20Session) TRANSFERTYPEHASH() ([32]byte, error)

TRANSFERTYPEHASH is a free data retrieval call binding the contract method 0x00bf26f4.

Solidity: function TRANSFER_TYPEHASH() view returns(bytes32)

func (*Anyerc20Session) TotalSupply

func (_Anyerc20 *Anyerc20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*Anyerc20Session) Transfer

func (_Anyerc20 *Anyerc20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*Anyerc20Session) TransferAndCall

func (_Anyerc20 *Anyerc20Session) TransferAndCall(to common.Address, value *big.Int, data []byte) (*types.Transaction, error)

TransferAndCall is a paid mutator transaction binding the contract method 0x4000aea0.

Solidity: function transferAndCall(address to, uint256 value, bytes data) returns(bool)

func (*Anyerc20Session) TransferFrom

func (_Anyerc20 *Anyerc20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

func (*Anyerc20Session) TransferWithPermit

func (_Anyerc20 *Anyerc20Session) TransferWithPermit(target common.Address, to common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

TransferWithPermit is a paid mutator transaction binding the contract method 0x605629d6.

Solidity: function transferWithPermit(address target, address to, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns(bool)

func (*Anyerc20Session) Underlying

func (_Anyerc20 *Anyerc20Session) Underlying() (common.Address, error)

Underlying is a free data retrieval call binding the contract method 0x6f307dc3.

Solidity: function underlying() view returns(address)

func (*Anyerc20Session) Vault

func (_Anyerc20 *Anyerc20Session) Vault() (common.Address, error)

Vault is a free data retrieval call binding the contract method 0xfbfa77cf.

Solidity: function vault() view returns(address)

func (*Anyerc20Session) Withdraw

func (_Anyerc20 *Anyerc20Session) Withdraw(amount *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x00f714ce.

Solidity: function withdraw(uint256 amount, address to) returns(uint256)

func (*Anyerc20Session) Withdraw0

func (_Anyerc20 *Anyerc20Session) Withdraw0(amount *big.Int) (*types.Transaction, error)

Withdraw0 is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns(uint256)

func (*Anyerc20Session) Withdraw1

func (_Anyerc20 *Anyerc20Session) Withdraw1() (*types.Transaction, error)

Withdraw1 is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns(uint256)

func (*Anyerc20Session) WithdrawVault

func (_Anyerc20 *Anyerc20Session) WithdrawVault(from common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)

WithdrawVault is a paid mutator transaction binding the contract method 0x0039d6ec.

Solidity: function withdrawVault(address from, uint256 amount, address to) returns(uint256)

type Anyerc20Transactor

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

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

func NewAnyerc20Transactor

func NewAnyerc20Transactor(address common.Address, transactor bind.ContractTransactor) (*Anyerc20Transactor, error)

NewAnyerc20Transactor creates a new write-only instance of Anyerc20, bound to a specific deployed contract.

func (*Anyerc20Transactor) ApplyMinter

func (_Anyerc20 *Anyerc20Transactor) ApplyMinter(opts *bind.TransactOpts) (*types.Transaction, error)

ApplyMinter is a paid mutator transaction binding the contract method 0x0d707df8.

Solidity: function applyMinter() returns()

func (*Anyerc20Transactor) ApplyVault

func (_Anyerc20 *Anyerc20Transactor) ApplyVault(opts *bind.TransactOpts) (*types.Transaction, error)

ApplyVault is a paid mutator transaction binding the contract method 0xd93f2445.

Solidity: function applyVault() returns()

func (*Anyerc20Transactor) Approve

func (_Anyerc20 *Anyerc20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*Anyerc20Transactor) ApproveAndCall

func (_Anyerc20 *Anyerc20Transactor) ApproveAndCall(opts *bind.TransactOpts, spender common.Address, value *big.Int, data []byte) (*types.Transaction, error)

ApproveAndCall is a paid mutator transaction binding the contract method 0xcae9ca51.

Solidity: function approveAndCall(address spender, uint256 value, bytes data) returns(bool)

func (*Anyerc20Transactor) Burn

func (_Anyerc20 *Anyerc20Transactor) Burn(opts *bind.TransactOpts, from common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*Anyerc20Transactor) ChangeMPCOwner

func (_Anyerc20 *Anyerc20Transactor) ChangeMPCOwner(opts *bind.TransactOpts, newVault common.Address) (*types.Transaction, error)

ChangeMPCOwner is a paid mutator transaction binding the contract method 0x5f9b105d.

Solidity: function changeMPCOwner(address newVault) returns(bool)

func (*Anyerc20Transactor) ChangeVault

func (_Anyerc20 *Anyerc20Transactor) ChangeVault(opts *bind.TransactOpts, newVault common.Address) (*types.Transaction, error)

ChangeVault is a paid mutator transaction binding the contract method 0x60e232a9.

Solidity: function changeVault(address newVault) returns(bool)

func (*Anyerc20Transactor) Deposit

func (_Anyerc20 *Anyerc20Transactor) Deposit(opts *bind.TransactOpts, amount *big.Int, to common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 amount, address to) returns(uint256)

func (*Anyerc20Transactor) Deposit0

func (_Anyerc20 *Anyerc20Transactor) Deposit0(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 amount) returns(uint256)

func (*Anyerc20Transactor) Deposit1

func (_Anyerc20 *Anyerc20Transactor) Deposit1(opts *bind.TransactOpts) (*types.Transaction, error)

Deposit1 is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() returns(uint256)

func (*Anyerc20Transactor) DepositVault

func (_Anyerc20 *Anyerc20Transactor) DepositVault(opts *bind.TransactOpts, amount *big.Int, to common.Address) (*types.Transaction, error)

DepositVault is a paid mutator transaction binding the contract method 0xbebbf4d0.

Solidity: function depositVault(uint256 amount, address to) returns(uint256)

func (*Anyerc20Transactor) DepositWithPermit

func (_Anyerc20 *Anyerc20Transactor) DepositWithPermit(opts *bind.TransactOpts, target common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte, to common.Address) (*types.Transaction, error)

DepositWithPermit is a paid mutator transaction binding the contract method 0x81a37c18.

Solidity: function depositWithPermit(address target, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s, address to) returns(uint256)

func (*Anyerc20Transactor) DepositWithTransferPermit

func (_Anyerc20 *Anyerc20Transactor) DepositWithTransferPermit(opts *bind.TransactOpts, target common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte, to common.Address) (*types.Transaction, error)

DepositWithTransferPermit is a paid mutator transaction binding the contract method 0xf954734e.

Solidity: function depositWithTransferPermit(address target, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s, address to) returns(uint256)

func (*Anyerc20Transactor) InitVault

func (_Anyerc20 *Anyerc20Transactor) InitVault(opts *bind.TransactOpts, _vault common.Address) (*types.Transaction, error)

InitVault is a paid mutator transaction binding the contract method 0x2ebe3fbb.

Solidity: function initVault(address _vault) returns()

func (*Anyerc20Transactor) Mint

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

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

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

func (*Anyerc20Transactor) Permit

func (_Anyerc20 *Anyerc20Transactor) Permit(opts *bind.TransactOpts, target common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address target, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*Anyerc20Transactor) RevokeMinter

func (_Anyerc20 *Anyerc20Transactor) RevokeMinter(opts *bind.TransactOpts, _auth common.Address) (*types.Transaction, error)

RevokeMinter is a paid mutator transaction binding the contract method 0xcfbd4885.

Solidity: function revokeMinter(address _auth) returns()

func (*Anyerc20Transactor) SetMinter

func (_Anyerc20 *Anyerc20Transactor) SetMinter(opts *bind.TransactOpts, _auth common.Address) (*types.Transaction, error)

SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.

Solidity: function setMinter(address _auth) returns()

func (*Anyerc20Transactor) SetVault

func (_Anyerc20 *Anyerc20Transactor) SetVault(opts *bind.TransactOpts, _vault common.Address) (*types.Transaction, error)

SetVault is a paid mutator transaction binding the contract method 0x6817031b.

Solidity: function setVault(address _vault) returns()

func (*Anyerc20Transactor) SetVaultOnly

func (_Anyerc20 *Anyerc20Transactor) SetVaultOnly(opts *bind.TransactOpts, enabled bool) (*types.Transaction, error)

SetVaultOnly is a paid mutator transaction binding the contract method 0xc4b740f5.

Solidity: function setVaultOnly(bool enabled) returns()

func (*Anyerc20Transactor) Swapin

func (_Anyerc20 *Anyerc20Transactor) Swapin(opts *bind.TransactOpts, txhash [32]byte, account common.Address, amount *big.Int) (*types.Transaction, error)

Swapin is a paid mutator transaction binding the contract method 0xec126c77.

Solidity: function Swapin(bytes32 txhash, address account, uint256 amount) returns(bool)

func (*Anyerc20Transactor) Swapout

func (_Anyerc20 *Anyerc20Transactor) Swapout(opts *bind.TransactOpts, amount *big.Int, bindaddr common.Address) (*types.Transaction, error)

Swapout is a paid mutator transaction binding the contract method 0x628d6cba.

Solidity: function Swapout(uint256 amount, address bindaddr) returns(bool)

func (*Anyerc20Transactor) Transfer

func (_Anyerc20 *Anyerc20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*Anyerc20Transactor) TransferAndCall

func (_Anyerc20 *Anyerc20Transactor) TransferAndCall(opts *bind.TransactOpts, to common.Address, value *big.Int, data []byte) (*types.Transaction, error)

TransferAndCall is a paid mutator transaction binding the contract method 0x4000aea0.

Solidity: function transferAndCall(address to, uint256 value, bytes data) returns(bool)

func (*Anyerc20Transactor) TransferFrom

func (_Anyerc20 *Anyerc20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

func (*Anyerc20Transactor) TransferWithPermit

func (_Anyerc20 *Anyerc20Transactor) TransferWithPermit(opts *bind.TransactOpts, target common.Address, to common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

TransferWithPermit is a paid mutator transaction binding the contract method 0x605629d6.

Solidity: function transferWithPermit(address target, address to, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns(bool)

func (*Anyerc20Transactor) Withdraw

func (_Anyerc20 *Anyerc20Transactor) Withdraw(opts *bind.TransactOpts, amount *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x00f714ce.

Solidity: function withdraw(uint256 amount, address to) returns(uint256)

func (*Anyerc20Transactor) Withdraw0

func (_Anyerc20 *Anyerc20Transactor) Withdraw0(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Withdraw0 is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns(uint256)

func (*Anyerc20Transactor) Withdraw1

func (_Anyerc20 *Anyerc20Transactor) Withdraw1(opts *bind.TransactOpts) (*types.Transaction, error)

Withdraw1 is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns(uint256)

func (*Anyerc20Transactor) WithdrawVault

func (_Anyerc20 *Anyerc20Transactor) WithdrawVault(opts *bind.TransactOpts, from common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)

WithdrawVault is a paid mutator transaction binding the contract method 0x0039d6ec.

Solidity: function withdrawVault(address from, uint256 amount, address to) returns(uint256)

type Anyerc20TransactorRaw

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

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

func (*Anyerc20TransactorRaw) Transact

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

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

func (*Anyerc20TransactorRaw) Transfer

func (_Anyerc20 *Anyerc20TransactorRaw) 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 Anyerc20TransactorSession

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

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

func (*Anyerc20TransactorSession) ApplyMinter

func (_Anyerc20 *Anyerc20TransactorSession) ApplyMinter() (*types.Transaction, error)

ApplyMinter is a paid mutator transaction binding the contract method 0x0d707df8.

Solidity: function applyMinter() returns()

func (*Anyerc20TransactorSession) ApplyVault

func (_Anyerc20 *Anyerc20TransactorSession) ApplyVault() (*types.Transaction, error)

ApplyVault is a paid mutator transaction binding the contract method 0xd93f2445.

Solidity: function applyVault() returns()

func (*Anyerc20TransactorSession) Approve

func (_Anyerc20 *Anyerc20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*Anyerc20TransactorSession) ApproveAndCall

func (_Anyerc20 *Anyerc20TransactorSession) ApproveAndCall(spender common.Address, value *big.Int, data []byte) (*types.Transaction, error)

ApproveAndCall is a paid mutator transaction binding the contract method 0xcae9ca51.

Solidity: function approveAndCall(address spender, uint256 value, bytes data) returns(bool)

func (*Anyerc20TransactorSession) Burn

func (_Anyerc20 *Anyerc20TransactorSession) Burn(from common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*Anyerc20TransactorSession) ChangeMPCOwner

func (_Anyerc20 *Anyerc20TransactorSession) ChangeMPCOwner(newVault common.Address) (*types.Transaction, error)

ChangeMPCOwner is a paid mutator transaction binding the contract method 0x5f9b105d.

Solidity: function changeMPCOwner(address newVault) returns(bool)

func (*Anyerc20TransactorSession) ChangeVault

func (_Anyerc20 *Anyerc20TransactorSession) ChangeVault(newVault common.Address) (*types.Transaction, error)

ChangeVault is a paid mutator transaction binding the contract method 0x60e232a9.

Solidity: function changeVault(address newVault) returns(bool)

func (*Anyerc20TransactorSession) Deposit

func (_Anyerc20 *Anyerc20TransactorSession) Deposit(amount *big.Int, to common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 amount, address to) returns(uint256)

func (*Anyerc20TransactorSession) Deposit0

func (_Anyerc20 *Anyerc20TransactorSession) Deposit0(amount *big.Int) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 amount) returns(uint256)

func (*Anyerc20TransactorSession) Deposit1

func (_Anyerc20 *Anyerc20TransactorSession) Deposit1() (*types.Transaction, error)

Deposit1 is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() returns(uint256)

func (*Anyerc20TransactorSession) DepositVault

func (_Anyerc20 *Anyerc20TransactorSession) DepositVault(amount *big.Int, to common.Address) (*types.Transaction, error)

DepositVault is a paid mutator transaction binding the contract method 0xbebbf4d0.

Solidity: function depositVault(uint256 amount, address to) returns(uint256)

func (*Anyerc20TransactorSession) DepositWithPermit

func (_Anyerc20 *Anyerc20TransactorSession) DepositWithPermit(target common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte, to common.Address) (*types.Transaction, error)

DepositWithPermit is a paid mutator transaction binding the contract method 0x81a37c18.

Solidity: function depositWithPermit(address target, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s, address to) returns(uint256)

func (*Anyerc20TransactorSession) DepositWithTransferPermit

func (_Anyerc20 *Anyerc20TransactorSession) DepositWithTransferPermit(target common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte, to common.Address) (*types.Transaction, error)

DepositWithTransferPermit is a paid mutator transaction binding the contract method 0xf954734e.

Solidity: function depositWithTransferPermit(address target, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s, address to) returns(uint256)

func (*Anyerc20TransactorSession) InitVault

func (_Anyerc20 *Anyerc20TransactorSession) InitVault(_vault common.Address) (*types.Transaction, error)

InitVault is a paid mutator transaction binding the contract method 0x2ebe3fbb.

Solidity: function initVault(address _vault) returns()

func (*Anyerc20TransactorSession) Mint

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

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

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

func (*Anyerc20TransactorSession) Permit

func (_Anyerc20 *Anyerc20TransactorSession) Permit(target common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address target, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*Anyerc20TransactorSession) RevokeMinter

func (_Anyerc20 *Anyerc20TransactorSession) RevokeMinter(_auth common.Address) (*types.Transaction, error)

RevokeMinter is a paid mutator transaction binding the contract method 0xcfbd4885.

Solidity: function revokeMinter(address _auth) returns()

func (*Anyerc20TransactorSession) SetMinter

func (_Anyerc20 *Anyerc20TransactorSession) SetMinter(_auth common.Address) (*types.Transaction, error)

SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.

Solidity: function setMinter(address _auth) returns()

func (*Anyerc20TransactorSession) SetVault

func (_Anyerc20 *Anyerc20TransactorSession) SetVault(_vault common.Address) (*types.Transaction, error)

SetVault is a paid mutator transaction binding the contract method 0x6817031b.

Solidity: function setVault(address _vault) returns()

func (*Anyerc20TransactorSession) SetVaultOnly

func (_Anyerc20 *Anyerc20TransactorSession) SetVaultOnly(enabled bool) (*types.Transaction, error)

SetVaultOnly is a paid mutator transaction binding the contract method 0xc4b740f5.

Solidity: function setVaultOnly(bool enabled) returns()

func (*Anyerc20TransactorSession) Swapin

func (_Anyerc20 *Anyerc20TransactorSession) Swapin(txhash [32]byte, account common.Address, amount *big.Int) (*types.Transaction, error)

Swapin is a paid mutator transaction binding the contract method 0xec126c77.

Solidity: function Swapin(bytes32 txhash, address account, uint256 amount) returns(bool)

func (*Anyerc20TransactorSession) Swapout

func (_Anyerc20 *Anyerc20TransactorSession) Swapout(amount *big.Int, bindaddr common.Address) (*types.Transaction, error)

Swapout is a paid mutator transaction binding the contract method 0x628d6cba.

Solidity: function Swapout(uint256 amount, address bindaddr) returns(bool)

func (*Anyerc20TransactorSession) Transfer

func (_Anyerc20 *Anyerc20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*Anyerc20TransactorSession) TransferAndCall

func (_Anyerc20 *Anyerc20TransactorSession) TransferAndCall(to common.Address, value *big.Int, data []byte) (*types.Transaction, error)

TransferAndCall is a paid mutator transaction binding the contract method 0x4000aea0.

Solidity: function transferAndCall(address to, uint256 value, bytes data) returns(bool)

func (*Anyerc20TransactorSession) TransferFrom

func (_Anyerc20 *Anyerc20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

func (*Anyerc20TransactorSession) TransferWithPermit

func (_Anyerc20 *Anyerc20TransactorSession) TransferWithPermit(target common.Address, to common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

TransferWithPermit is a paid mutator transaction binding the contract method 0x605629d6.

Solidity: function transferWithPermit(address target, address to, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns(bool)

func (*Anyerc20TransactorSession) Withdraw

func (_Anyerc20 *Anyerc20TransactorSession) Withdraw(amount *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x00f714ce.

Solidity: function withdraw(uint256 amount, address to) returns(uint256)

func (*Anyerc20TransactorSession) Withdraw0

func (_Anyerc20 *Anyerc20TransactorSession) Withdraw0(amount *big.Int) (*types.Transaction, error)

Withdraw0 is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns(uint256)

func (*Anyerc20TransactorSession) Withdraw1

func (_Anyerc20 *Anyerc20TransactorSession) Withdraw1() (*types.Transaction, error)

Withdraw1 is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns(uint256)

func (*Anyerc20TransactorSession) WithdrawVault

func (_Anyerc20 *Anyerc20TransactorSession) WithdrawVault(from common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)

WithdrawVault is a paid mutator transaction binding the contract method 0x0039d6ec.

Solidity: function withdrawVault(address from, uint256 amount, address to) returns(uint256)

type Anyerc20Transfer

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

Anyerc20Transfer represents a Transfer event raised by the Anyerc20 contract.

type Anyerc20TransferIterator

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

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

func (*Anyerc20TransferIterator) Close

func (it *Anyerc20TransferIterator) Close() error

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

func (*Anyerc20TransferIterator) Error

func (it *Anyerc20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Anyerc20TransferIterator) Next

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