erc20weirdmetadata

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Erc20weirdmetadataABI = Erc20weirdmetadataMetaData.ABI

Erc20weirdmetadataABI is the input ABI used to generate the binding from. Deprecated: Use Erc20weirdmetadataMetaData.ABI instead.

View Source
var Erc20weirdmetadataBin = Erc20weirdmetadataMetaData.Bin

Erc20weirdmetadataBin is the compiled bytecode used for deploying new contracts. Deprecated: Use Erc20weirdmetadataMetaData.Bin instead.

View Source
var Erc20weirdmetadataMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"name_\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"symbol_\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"decimals_\",\"type\":\"uint256\"}],\"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\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isRevert\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newDecimals\",\"type\":\"uint256\"}],\"name\":\"setDecimals\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"toggleIsRevert\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60806040523480156200001157600080fd5b5060405162000fb838038062000fb883398101604081905262000034916200006a565b60038390556004620000478382620001e2565b5060055550620002ae9050565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156200008057600080fd5b8351602080860151919450906001600160401b0380821115620000a257600080fd5b818701915087601f830112620000b757600080fd5b815181811115620000cc57620000cc62000054565b604051601f8201601f19908116603f01168101908382118183101715620000f757620000f762000054565b816040528281528a868487010111156200011057600080fd5b600093505b8284101562000134578484018601518185018701529285019262000115565b6000868483010152809750505050505050604084015190509250925092565b600181811c908216806200016857607f821691505b6020821081036200018957634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001dd57600081815260208120601f850160051c81016020861015620001b85750805b601f850160051c820191505b81811015620001d957828155600101620001c4565b5050505b505050565b81516001600160401b03811115620001fe57620001fe62000054565b62000216816200020f845462000153565b846200018f565b602080601f8311600181146200024e5760008415620002355750858301515b600019600386901b1c1916600185901b178555620001d9565b600085815260208120601f198616915b828110156200027f578886015182559484019460019091019084016200025e565b50858210156200029e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610cfa80620002be6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80633ccafd111161009757806395d89b411161006657806395d89b411461020e578063a457c2d714610223578063a9059cbb14610236578063dd62ed3e1461024957600080fd5b80633ccafd11146101a557806340c10f19146101b257806370a08231146101c55780638c8885c8146101fb57600080fd5b806318160ddd116100d357806318160ddd1461016f57806323b872dd14610177578063313ce5671461018a578063395093511461019257600080fd5b806306fdde03146100fa578063095ea7b31461011557806315a87bee14610138575b600080fd5b61010261028f565b6040519081526020015b60405180910390f35b610128610123366004610af7565b6102a9565b604051901515815260200161010c565b61016d600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b005b600254610102565b610128610185366004610b21565b6102c3565b6101026102e7565b6101286101a0366004610af7565b610301565b6006546101289060ff1681565b61016d6101c0366004610af7565b61034d565b6101026101d3366004610b5d565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61016d610209366004610b7f565b600555565b61021661035b565b60405161010c9190610b98565b610128610231366004610af7565b6103fe565b610128610244366004610af7565b6104d4565b610102610257366004610c04565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60065460009060ff16156102a257600080fd5b5060035490565b6000336102b78185856104e2565b60019150505b92915050565b6000336102d1858285610695565b6102dc85858561076c565b506001949350505050565b60065460009060ff16156102fa57600080fd5b5060055490565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906102b79082908690610348908790610c37565b6104e2565b61035782826109db565b5050565b60065460609060ff161561036e57600080fd5b6004805461037b90610c71565b80601f01602080910402602001604051908101604052809291908181526020018280546103a790610c71565b80156103f45780601f106103c9576101008083540402835291602001916103f4565b820191906000526020600020905b8154815290600101906020018083116103d757829003601f168201915b5050505050905090565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156104c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102dc82868684036104e2565b6000336102b781858561076c565b73ffffffffffffffffffffffffffffffffffffffff8316610584576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104be565b73ffffffffffffffffffffffffffffffffffffffff8216610627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104be565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146107665781811015610759576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104be565b61076684848484036104e2565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831661080f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104be565b73ffffffffffffffffffffffffffffffffffffffff82166108b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104be565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104be565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610766565b73ffffffffffffffffffffffffffffffffffffffff8216610a58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104be565b8060026000828254610a6a9190610c37565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610af257600080fd5b919050565b60008060408385031215610b0a57600080fd5b610b1383610ace565b946020939093013593505050565b600080600060608486031215610b3657600080fd5b610b3f84610ace565b9250610b4d60208501610ace565b9150604084013590509250925092565b600060208284031215610b6f57600080fd5b610b7882610ace565b9392505050565b600060208284031215610b9157600080fd5b5035919050565b600060208083528351808285015260005b81811015610bc557858101830151858201604001528201610ba9565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b60008060408385031215610c1757600080fd5b610c2083610ace565b9150610c2e60208401610ace565b90509250929050565b808201808211156102bd577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600181811c90821680610c8557607f821691505b602082108103610cbe577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b5091905056fea264697066735822122036af5718b1e1ef72c5e649ad8f3509f126bbb09e465edcd7d28180330cb7f34364736f6c63430008140033",
}

Erc20weirdmetadataMetaData contains all meta data concerning the Erc20weirdmetadata contract.

Functions

This section is empty.

Types

type Erc20weirdmetadata

type Erc20weirdmetadata struct {
	Erc20weirdmetadataCaller     // Read-only binding to the contract
	Erc20weirdmetadataTransactor // Write-only binding to the contract
	Erc20weirdmetadataFilterer   // Log filterer for contract events
}

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

func DeployErc20weirdmetadata

func DeployErc20weirdmetadata(auth *bind.TransactOpts, backend bind.ContractBackend, name_ [32]byte, symbol_ []byte, decimals_ *big.Int) (common.Address, *types.Transaction, *Erc20weirdmetadata, error)

DeployErc20weirdmetadata deploys a new Ethereum contract, binding an instance of Erc20weirdmetadata to it.

func NewErc20weirdmetadata

func NewErc20weirdmetadata(address common.Address, backend bind.ContractBackend) (*Erc20weirdmetadata, error)

NewErc20weirdmetadata creates a new instance of Erc20weirdmetadata, bound to a specific deployed contract.

type Erc20weirdmetadataApproval

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

Erc20weirdmetadataApproval represents a Approval event raised by the Erc20weirdmetadata contract.

type Erc20weirdmetadataApprovalIterator

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

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

func (*Erc20weirdmetadataApprovalIterator) Close

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

func (*Erc20weirdmetadataApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc20weirdmetadataApprovalIterator) 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 Erc20weirdmetadataCaller

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

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

func NewErc20weirdmetadataCaller

func NewErc20weirdmetadataCaller(address common.Address, caller bind.ContractCaller) (*Erc20weirdmetadataCaller, error)

NewErc20weirdmetadataCaller creates a new read-only instance of Erc20weirdmetadata, bound to a specific deployed contract.

func (*Erc20weirdmetadataCaller) Allowance

func (_Erc20weirdmetadata *Erc20weirdmetadataCaller) 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 (*Erc20weirdmetadataCaller) BalanceOf

func (_Erc20weirdmetadata *Erc20weirdmetadataCaller) 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 (*Erc20weirdmetadataCaller) Decimals

func (_Erc20weirdmetadata *Erc20weirdmetadataCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function decimals() view returns(uint256)

func (*Erc20weirdmetadataCaller) IsRevert

func (_Erc20weirdmetadata *Erc20weirdmetadataCaller) IsRevert(opts *bind.CallOpts) (bool, error)

IsRevert is a free data retrieval call binding the contract method 0x3ccafd11.

Solidity: function isRevert() view returns(bool)

func (*Erc20weirdmetadataCaller) Name

func (_Erc20weirdmetadata *Erc20weirdmetadataCaller) Name(opts *bind.CallOpts) ([32]byte, error)

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

Solidity: function name() view returns(bytes32)

func (*Erc20weirdmetadataCaller) Symbol

func (_Erc20weirdmetadata *Erc20weirdmetadataCaller) Symbol(opts *bind.CallOpts) ([]byte, error)

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

Solidity: function symbol() view returns(bytes)

func (*Erc20weirdmetadataCaller) TotalSupply

func (_Erc20weirdmetadata *Erc20weirdmetadataCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type Erc20weirdmetadataCallerRaw

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

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

func (*Erc20weirdmetadataCallerRaw) Call

func (_Erc20weirdmetadata *Erc20weirdmetadataCallerRaw) 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 Erc20weirdmetadataCallerSession

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

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

func (*Erc20weirdmetadataCallerSession) Allowance

func (_Erc20weirdmetadata *Erc20weirdmetadataCallerSession) 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 (*Erc20weirdmetadataCallerSession) BalanceOf

func (_Erc20weirdmetadata *Erc20weirdmetadataCallerSession) 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 (*Erc20weirdmetadataCallerSession) Decimals

func (_Erc20weirdmetadata *Erc20weirdmetadataCallerSession) Decimals() (*big.Int, error)

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

Solidity: function decimals() view returns(uint256)

func (*Erc20weirdmetadataCallerSession) IsRevert

func (_Erc20weirdmetadata *Erc20weirdmetadataCallerSession) IsRevert() (bool, error)

IsRevert is a free data retrieval call binding the contract method 0x3ccafd11.

Solidity: function isRevert() view returns(bool)

func (*Erc20weirdmetadataCallerSession) Name

func (_Erc20weirdmetadata *Erc20weirdmetadataCallerSession) Name() ([32]byte, error)

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

Solidity: function name() view returns(bytes32)

func (*Erc20weirdmetadataCallerSession) Symbol

func (_Erc20weirdmetadata *Erc20weirdmetadataCallerSession) Symbol() ([]byte, error)

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

Solidity: function symbol() view returns(bytes)

func (*Erc20weirdmetadataCallerSession) TotalSupply

func (_Erc20weirdmetadata *Erc20weirdmetadataCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type Erc20weirdmetadataFilterer

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

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

func NewErc20weirdmetadataFilterer

func NewErc20weirdmetadataFilterer(address common.Address, filterer bind.ContractFilterer) (*Erc20weirdmetadataFilterer, error)

NewErc20weirdmetadataFilterer creates a new log filterer instance of Erc20weirdmetadata, bound to a specific deployed contract.

func (*Erc20weirdmetadataFilterer) FilterApproval

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

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

func (_Erc20weirdmetadata *Erc20weirdmetadataFilterer) ParseApproval(log types.Log) (*Erc20weirdmetadataApproval, error)

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

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

func (*Erc20weirdmetadataFilterer) ParseTransfer

func (_Erc20weirdmetadata *Erc20weirdmetadataFilterer) ParseTransfer(log types.Log) (*Erc20weirdmetadataTransfer, error)

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

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

func (*Erc20weirdmetadataFilterer) WatchApproval

func (_Erc20weirdmetadata *Erc20weirdmetadataFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Erc20weirdmetadataApproval, 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 (*Erc20weirdmetadataFilterer) WatchTransfer

func (_Erc20weirdmetadata *Erc20weirdmetadataFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Erc20weirdmetadataTransfer, 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 Erc20weirdmetadataRaw

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

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

func (*Erc20weirdmetadataRaw) Call

func (_Erc20weirdmetadata *Erc20weirdmetadataRaw) 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 (*Erc20weirdmetadataRaw) Transact

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

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

func (*Erc20weirdmetadataRaw) Transfer

func (_Erc20weirdmetadata *Erc20weirdmetadataRaw) 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 Erc20weirdmetadataSession

type Erc20weirdmetadataSession struct {
	Contract     *Erc20weirdmetadata // 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
}

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

func (*Erc20weirdmetadataSession) Allowance

func (_Erc20weirdmetadata *Erc20weirdmetadataSession) 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 (*Erc20weirdmetadataSession) Approve

func (_Erc20weirdmetadata *Erc20weirdmetadataSession) 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 (*Erc20weirdmetadataSession) BalanceOf

func (_Erc20weirdmetadata *Erc20weirdmetadataSession) 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 (*Erc20weirdmetadataSession) Decimals

func (_Erc20weirdmetadata *Erc20weirdmetadataSession) Decimals() (*big.Int, error)

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

Solidity: function decimals() view returns(uint256)

func (*Erc20weirdmetadataSession) DecreaseAllowance

func (_Erc20weirdmetadata *Erc20weirdmetadataSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

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

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*Erc20weirdmetadataSession) IncreaseAllowance

func (_Erc20weirdmetadata *Erc20weirdmetadataSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

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

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

func (*Erc20weirdmetadataSession) IsRevert

func (_Erc20weirdmetadata *Erc20weirdmetadataSession) IsRevert() (bool, error)

IsRevert is a free data retrieval call binding the contract method 0x3ccafd11.

Solidity: function isRevert() view returns(bool)

func (*Erc20weirdmetadataSession) Mint

func (_Erc20weirdmetadata *Erc20weirdmetadataSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address account, uint256 amount) returns()

func (*Erc20weirdmetadataSession) Name

func (_Erc20weirdmetadata *Erc20weirdmetadataSession) Name() ([32]byte, error)

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

Solidity: function name() view returns(bytes32)

func (*Erc20weirdmetadataSession) SetDecimals

func (_Erc20weirdmetadata *Erc20weirdmetadataSession) SetDecimals(newDecimals *big.Int) (*types.Transaction, error)

SetDecimals is a paid mutator transaction binding the contract method 0x8c8885c8.

Solidity: function setDecimals(uint256 newDecimals) returns()

func (*Erc20weirdmetadataSession) Symbol

func (_Erc20weirdmetadata *Erc20weirdmetadataSession) Symbol() ([]byte, error)

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

Solidity: function symbol() view returns(bytes)

func (*Erc20weirdmetadataSession) ToggleIsRevert

func (_Erc20weirdmetadata *Erc20weirdmetadataSession) ToggleIsRevert() (*types.Transaction, error)

ToggleIsRevert is a paid mutator transaction binding the contract method 0x15a87bee.

Solidity: function toggleIsRevert() returns()

func (*Erc20weirdmetadataSession) TotalSupply

func (_Erc20weirdmetadata *Erc20weirdmetadataSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*Erc20weirdmetadataSession) Transfer

func (_Erc20weirdmetadata *Erc20weirdmetadataSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*Erc20weirdmetadataSession) TransferFrom

func (_Erc20weirdmetadata *Erc20weirdmetadataSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

type Erc20weirdmetadataTransactor

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

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

func NewErc20weirdmetadataTransactor

func NewErc20weirdmetadataTransactor(address common.Address, transactor bind.ContractTransactor) (*Erc20weirdmetadataTransactor, error)

NewErc20weirdmetadataTransactor creates a new write-only instance of Erc20weirdmetadata, bound to a specific deployed contract.

func (*Erc20weirdmetadataTransactor) Approve

func (_Erc20weirdmetadata *Erc20weirdmetadataTransactor) 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 (*Erc20weirdmetadataTransactor) DecreaseAllowance

func (_Erc20weirdmetadata *Erc20weirdmetadataTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

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

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*Erc20weirdmetadataTransactor) IncreaseAllowance

func (_Erc20weirdmetadata *Erc20weirdmetadataTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

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

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

func (*Erc20weirdmetadataTransactor) Mint

func (_Erc20weirdmetadata *Erc20weirdmetadataTransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address account, uint256 amount) returns()

func (*Erc20weirdmetadataTransactor) SetDecimals

func (_Erc20weirdmetadata *Erc20weirdmetadataTransactor) SetDecimals(opts *bind.TransactOpts, newDecimals *big.Int) (*types.Transaction, error)

SetDecimals is a paid mutator transaction binding the contract method 0x8c8885c8.

Solidity: function setDecimals(uint256 newDecimals) returns()

func (*Erc20weirdmetadataTransactor) ToggleIsRevert

func (_Erc20weirdmetadata *Erc20weirdmetadataTransactor) ToggleIsRevert(opts *bind.TransactOpts) (*types.Transaction, error)

ToggleIsRevert is a paid mutator transaction binding the contract method 0x15a87bee.

Solidity: function toggleIsRevert() returns()

func (*Erc20weirdmetadataTransactor) Transfer

func (_Erc20weirdmetadata *Erc20weirdmetadataTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*Erc20weirdmetadataTransactor) TransferFrom

func (_Erc20weirdmetadata *Erc20weirdmetadataTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

type Erc20weirdmetadataTransactorRaw

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

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

func (*Erc20weirdmetadataTransactorRaw) Transact

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

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

func (*Erc20weirdmetadataTransactorRaw) Transfer

func (_Erc20weirdmetadata *Erc20weirdmetadataTransactorRaw) 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 Erc20weirdmetadataTransactorSession

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

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

func (*Erc20weirdmetadataTransactorSession) Approve

func (_Erc20weirdmetadata *Erc20weirdmetadataTransactorSession) 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 (*Erc20weirdmetadataTransactorSession) DecreaseAllowance

func (_Erc20weirdmetadata *Erc20weirdmetadataTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

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

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*Erc20weirdmetadataTransactorSession) IncreaseAllowance

func (_Erc20weirdmetadata *Erc20weirdmetadataTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

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

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

func (*Erc20weirdmetadataTransactorSession) Mint

func (_Erc20weirdmetadata *Erc20weirdmetadataTransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address account, uint256 amount) returns()

func (*Erc20weirdmetadataTransactorSession) SetDecimals

func (_Erc20weirdmetadata *Erc20weirdmetadataTransactorSession) SetDecimals(newDecimals *big.Int) (*types.Transaction, error)

SetDecimals is a paid mutator transaction binding the contract method 0x8c8885c8.

Solidity: function setDecimals(uint256 newDecimals) returns()

func (*Erc20weirdmetadataTransactorSession) ToggleIsRevert

func (_Erc20weirdmetadata *Erc20weirdmetadataTransactorSession) ToggleIsRevert() (*types.Transaction, error)

ToggleIsRevert is a paid mutator transaction binding the contract method 0x15a87bee.

Solidity: function toggleIsRevert() returns()

func (*Erc20weirdmetadataTransactorSession) Transfer

func (_Erc20weirdmetadata *Erc20weirdmetadataTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*Erc20weirdmetadataTransactorSession) TransferFrom

func (_Erc20weirdmetadata *Erc20weirdmetadataTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

type Erc20weirdmetadataTransfer

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

Erc20weirdmetadataTransfer represents a Transfer event raised by the Erc20weirdmetadata contract.

type Erc20weirdmetadataTransferIterator

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

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

func (*Erc20weirdmetadataTransferIterator) Close

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

func (*Erc20weirdmetadataTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

Jump to

Keyboard shortcuts

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