Documentation ¶
Index ¶
- Variables
- type YellowToken
- type YellowTokenApproval
- type YellowTokenApprovalIterator
- type YellowTokenCaller
- func (_YellowToken *YellowTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_YellowToken *YellowTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_YellowToken *YellowTokenCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_YellowToken *YellowTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_YellowToken *YellowTokenCaller) Eip712Domain(opts *bind.CallOpts) (struct{ ... }, error)
- func (_YellowToken *YellowTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_YellowToken *YellowTokenCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_YellowToken *YellowTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_YellowToken *YellowTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type YellowTokenCallerRaw
- type YellowTokenCallerSession
- func (_YellowToken *YellowTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_YellowToken *YellowTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_YellowToken *YellowTokenCallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_YellowToken *YellowTokenCallerSession) Decimals() (uint8, error)
- func (_YellowToken *YellowTokenCallerSession) Eip712Domain() (struct{ ... }, error)
- func (_YellowToken *YellowTokenCallerSession) Name() (string, error)
- func (_YellowToken *YellowTokenCallerSession) Nonces(owner common.Address) (*big.Int, error)
- func (_YellowToken *YellowTokenCallerSession) Symbol() (string, error)
- func (_YellowToken *YellowTokenCallerSession) TotalSupply() (*big.Int, error)
- type YellowTokenEIP712DomainChanged
- type YellowTokenEIP712DomainChangedIterator
- type YellowTokenFilterer
- func (_YellowToken *YellowTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*YellowTokenApprovalIterator, error)
- func (_YellowToken *YellowTokenFilterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*YellowTokenEIP712DomainChangedIterator, error)
- func (_YellowToken *YellowTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*YellowTokenTransferIterator, error)
- func (_YellowToken *YellowTokenFilterer) ParseApproval(log types.Log) (*YellowTokenApproval, error)
- func (_YellowToken *YellowTokenFilterer) ParseEIP712DomainChanged(log types.Log) (*YellowTokenEIP712DomainChanged, error)
- func (_YellowToken *YellowTokenFilterer) ParseTransfer(log types.Log) (*YellowTokenTransfer, error)
- func (_YellowToken *YellowTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *YellowTokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_YellowToken *YellowTokenFilterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *YellowTokenEIP712DomainChanged) (event.Subscription, error)
- func (_YellowToken *YellowTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *YellowTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type YellowTokenRaw
- func (_YellowToken *YellowTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_YellowToken *YellowTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_YellowToken *YellowTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type YellowTokenSession
- func (_YellowToken *YellowTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_YellowToken *YellowTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_YellowToken *YellowTokenSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_YellowToken *YellowTokenSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_YellowToken *YellowTokenSession) Decimals() (uint8, error)
- func (_YellowToken *YellowTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_YellowToken *YellowTokenSession) Eip712Domain() (struct{ ... }, error)
- func (_YellowToken *YellowTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_YellowToken *YellowTokenSession) Name() (string, error)
- func (_YellowToken *YellowTokenSession) Nonces(owner common.Address) (*big.Int, error)
- func (_YellowToken *YellowTokenSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_YellowToken *YellowTokenSession) Symbol() (string, error)
- func (_YellowToken *YellowTokenSession) TotalSupply() (*big.Int, error)
- func (_YellowToken *YellowTokenSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_YellowToken *YellowTokenSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- type YellowTokenTransactor
- func (_YellowToken *YellowTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_YellowToken *YellowTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_YellowToken *YellowTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_YellowToken *YellowTokenTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_YellowToken *YellowTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_YellowToken *YellowTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type YellowTokenTransactorRaw
- type YellowTokenTransactorSession
- func (_YellowToken *YellowTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_YellowToken *YellowTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_YellowToken *YellowTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_YellowToken *YellowTokenTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_YellowToken *YellowTokenTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_YellowToken *YellowTokenTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- type YellowTokenTransfer
- type YellowTokenTransferIterator
Constants ¶
This section is empty.
Variables ¶
var YellowTokenABI = YellowTokenMetaData.ABI
YellowTokenABI is the input ABI used to generate the binding from. Deprecated: Use YellowTokenMetaData.ABI instead.
var YellowTokenBin = YellowTokenMetaData.Bin
YellowTokenBin is the compiled bytecode used for deploying new contracts. Deprecated: Use YellowTokenMetaData.Bin instead.
var YellowTokenMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"supply\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidShortString\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"StringTooLong\",\"type\":\"error\"},{\"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\":[],\"name\":\"EIP712DomainChanged\",\"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\":[{\"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\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"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\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"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\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"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\":[],\"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\":\"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: "0x6101606040523480156200001257600080fd5b50604051620018d5380380620018d5833981016040819052620000359162000387565b6040805180820190915260018152603160f81b6020820152839081908185600362000061838262000488565b50600462000070828262000488565b5050506200008e6005836200015860201b6200060b1790919060201c565b61012052620000ab81600662000158602090811b6200060b17901c565b61014052815160208084019190912060e052815190820120610100524660a0526200013960e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c052506200014f3382620001a8565b505050620005d0565b6000602083511015620001785762000170836200026f565b9050620001a2565b826200018f83620002b260201b6200063c1760201c565b906200019c908262000488565b5060ff90505b92915050565b6001600160a01b038216620002045760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b806002600082825462000218919062000554565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600080829050601f815111156200029d578260405163305a27a960e01b8152600401620001fb919062000576565b8051620002aa82620005ab565b179392505050565b90565b505050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620002ed578181015183820152602001620002d3565b50506000910152565b600082601f8301126200030857600080fd5b81516001600160401b0380821115620003255762000325620002ba565b604051601f8301601f19908116603f01168101908282118183101715620003505762000350620002ba565b816040528381528660208588010111156200036a57600080fd5b6200037d846020830160208901620002d0565b9695505050505050565b6000806000606084860312156200039d57600080fd5b83516001600160401b0380821115620003b557600080fd5b620003c387838801620002f6565b94506020860151915080821115620003da57600080fd5b50620003e986828701620002f6565b925050604084015190509250925092565b600181811c908216806200040f57607f821691505b6020821081036200043057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002b557600081815260208120601f850160051c810160208610156200045f5750805b601f850160051c820191505b8181101562000480578281556001016200046b565b505050505050565b81516001600160401b03811115620004a457620004a4620002ba565b620004bc81620004b58454620003fa565b8462000436565b602080601f831160018114620004f45760008415620004db5750858301515b600019600386901b1c1916600185901b17855562000480565b600085815260208120601f198616915b82811015620005255788860151825594840194600190910190840162000504565b5085821015620005445787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620001a257634e487b7160e01b600052601160045260246000fd5b602081526000825180602084015262000597816040850160208701620002d0565b601f01601f19169190910160400192915050565b80516020808301519190811015620004305760001960209190910360031b1b16919050565b60805160a05160c05160e0516101005161012051610140516112aa6200062b600039600061038f0152600061036401526000610a5b01526000610a330152600061098e015260006109b8015260006109e201526112aa6000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806370a0823111610097578063a457c2d711610066578063a457c2d7146101e9578063a9059cbb146101fc578063d505accf1461020f578063dd62ed3e1461022457600080fd5b806370a082311461018a5780637ecebe00146101b357806384b0196e146101c657806395d89b41146101e157600080fd5b806323b872dd116100d357806323b872dd1461014d578063313ce567146101605780633644e5151461016f578063395093511461017757600080fd5b806306fdde03146100fa578063095ea7b31461011857806318160ddd1461013b575b600080fd5b610102610237565b60405161010f9190610ece565b60405180910390f35b61012b610126366004610f04565b6102c9565b604051901515815260200161010f565b6002545b60405190815260200161010f565b61012b61015b366004610f2e565b6102e3565b6040516008815260200161010f565b61013f610307565b61012b610185366004610f04565b610316565b61013f610198366004610f6a565b6001600160a01b031660009081526020819052604090205490565b61013f6101c1366004610f6a565b610338565b6101ce610356565b60405161010f9796959493929190610f85565b6101026103df565b61012b6101f7366004610f04565b6103ee565b61012b61020a366004610f04565b61046e565b61022261021d36600461101b565b61047c565b005b61013f61023236600461108e565b6105e0565b606060038054610246906110c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610272906110c1565b80156102bf5780601f10610294576101008083540402835291602001916102bf565b820191906000526020600020905b8154815290600101906020018083116102a257829003601f168201915b5050505050905090565b6000336102d781858561063f565b60019150505b92915050565b6000336102f1858285610763565b6102fc8585856107dd565b506001949350505050565b6000610311610981565b905090565b6000336102d781858561032983836105e0565b61033391906110f5565b61063f565b6001600160a01b0381166000908152600760205260408120546102dd565b60006060808280808361038a7f00000000000000000000000000000000000000000000000000000000000000006005610aac565b6103b57f00000000000000000000000000000000000000000000000000000000000000006006610aac565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b606060048054610246906110c1565b600033816103fc82866105e0565b9050838110156104615760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102fc828686840361063f565b6000336102d78185856107dd565b834211156104cc5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610458565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886104fb8c610b50565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061055682610b78565b9050600061056682878787610ba5565b9050896001600160a01b0316816001600160a01b0316146105c95760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610458565b6105d48a8a8a61063f565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006020835110156106275761062083610bcd565b90506102dd565b81610632848261117a565b5060ff90506102dd565b90565b6001600160a01b0383166106a15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610458565b6001600160a01b0382166107025760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610458565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061076f84846105e0565b905060001981146107d757818110156107ca5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610458565b6107d7848484840361063f565b50505050565b6001600160a01b0383166108415760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610458565b6001600160a01b0382166108a35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610458565b6001600160a01b0383166000908152602081905260409020548181101561091b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610458565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36107d7565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156109da57507f000000000000000000000000000000000000000000000000000000000000000046145b15610a0457507f000000000000000000000000000000000000000000000000000000000000000090565b610311604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b606060ff8314610abf5761062083610c10565b818054610acb906110c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610af7906110c1565b8015610b445780601f10610b1957610100808354040283529160200191610b44565b820191906000526020600020905b815481529060010190602001808311610b2757829003601f168201915b505050505090506102dd565b6001600160a01b03811660009081526007602052604090208054600181018255905b50919050565b60006102dd610b85610981565b8360405161190160f01b8152600281019290925260228201526042902090565b6000806000610bb687878787610c4f565b91509150610bc381610d13565b5095945050505050565b600080829050601f81511115610bf8578260405163305a27a960e01b81526004016104589190610ece565b8051610c038261123a565b179392505050565b505050565b60606000610c1d83610e60565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610c865750600090506003610d0a565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610cda573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610d0357600060019250925050610d0a565b9150600090505b94509492505050565b6000816004811115610d2757610d2761125e565b03610d2f5750565b6001816004811115610d4357610d4361125e565b03610d905760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610458565b6002816004811115610da457610da461125e565b03610df15760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610458565b6003816004811115610e0557610e0561125e565b03610e5d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610458565b50565b600060ff8216601f8111156102dd57604051632cd44ac360e21b815260040160405180910390fd5b6000815180845260005b81811015610eae57602081850181015186830182015201610e92565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610ee16020830184610e88565b9392505050565b80356001600160a01b0381168114610eff57600080fd5b919050565b60008060408385031215610f1757600080fd5b610f2083610ee8565b946020939093013593505050565b600080600060608486031215610f4357600080fd5b610f4c84610ee8565b9250610f5a60208501610ee8565b9150604084013590509250925092565b600060208284031215610f7c57600080fd5b610ee182610ee8565b60ff60f81b881681526000602060e081840152610fa560e084018a610e88565b8381036040850152610fb7818a610e88565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b8181101561100957835183529284019291840191600101610fed565b50909c9b505050505050505050505050565b600080600080600080600060e0888a03121561103657600080fd5b61103f88610ee8565b965061104d60208901610ee8565b95506040880135945060608801359350608088013560ff8116811461107157600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156110a157600080fd5b6110aa83610ee8565b91506110b860208401610ee8565b90509250929050565b600181811c908216806110d557607f821691505b602082108103610b7257634e487b7160e01b600052602260045260246000fd5b808201808211156102dd57634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b601f821115610c0b57600081815260208120601f850160051c810160208610156111535750805b601f850160051c820191505b818110156111725782815560010161115f565b505050505050565b815167ffffffffffffffff81111561119457611194611116565b6111a8816111a284546110c1565b8461112c565b602080601f8311600181146111dd57600084156111c55750858301515b600019600386901b1c1916600185901b178555611172565b600085815260208120601f198616915b8281101561120c578886015182559484019460019091019084016111ed565b508582101561122a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80516020808301519190811015610b725760001960209190910360031b1b16919050565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220bee3a14bab1036afca1457f8e09eebf900e4452524cd36f1d001d9a854fb3a1b64736f6c63430008120033",
}
YellowTokenMetaData contains all meta data concerning the YellowToken contract.
Functions ¶
This section is empty.
Types ¶
type YellowToken ¶
type YellowToken struct { YellowTokenCaller // Read-only binding to the contract YellowTokenTransactor // Write-only binding to the contract YellowTokenFilterer // Log filterer for contract events }
YellowToken is an auto generated Go binding around an Ethereum contract.
func DeployYellowToken ¶
func DeployYellowToken(auth *bind.TransactOpts, backend bind.ContractBackend, name string, symbol string, supply *big.Int) (common.Address, *types.Transaction, *YellowToken, error)
DeployYellowToken deploys a new Ethereum contract, binding an instance of YellowToken to it.
func NewYellowToken ¶
func NewYellowToken(address common.Address, backend bind.ContractBackend) (*YellowToken, error)
NewYellowToken creates a new instance of YellowToken, bound to a specific deployed contract.
type YellowTokenApproval ¶
type YellowTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
YellowTokenApproval represents a Approval event raised by the YellowToken contract.
type YellowTokenApprovalIterator ¶
type YellowTokenApprovalIterator struct { Event *YellowTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
YellowTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the YellowToken contract.
func (*YellowTokenApprovalIterator) Close ¶
func (it *YellowTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*YellowTokenApprovalIterator) Error ¶
func (it *YellowTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*YellowTokenApprovalIterator) Next ¶
func (it *YellowTokenApprovalIterator) 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 YellowTokenCaller ¶
type YellowTokenCaller struct {
// contains filtered or unexported fields
}
YellowTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewYellowTokenCaller ¶
func NewYellowTokenCaller(address common.Address, caller bind.ContractCaller) (*YellowTokenCaller, error)
NewYellowTokenCaller creates a new read-only instance of YellowToken, bound to a specific deployed contract.
func (*YellowTokenCaller) Allowance ¶
func (_YellowToken *YellowTokenCaller) 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 (*YellowTokenCaller) BalanceOf ¶
func (_YellowToken *YellowTokenCaller) 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 (*YellowTokenCaller) DOMAINSEPARATOR ¶ added in v0.0.14
func (_YellowToken *YellowTokenCaller) 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 (*YellowTokenCaller) Decimals ¶
func (_YellowToken *YellowTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*YellowTokenCaller) Eip712Domain ¶ added in v0.0.14
func (_YellowToken *YellowTokenCaller) Eip712Domain(opts *bind.CallOpts) (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*YellowTokenCaller) Name ¶
func (_YellowToken *YellowTokenCaller) 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 (*YellowTokenCaller) Nonces ¶ added in v0.0.14
func (_YellowToken *YellowTokenCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*YellowTokenCaller) Symbol ¶
func (_YellowToken *YellowTokenCaller) 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 (*YellowTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type YellowTokenCallerRaw ¶
type YellowTokenCallerRaw struct {
Contract *YellowTokenCaller // Generic read-only contract binding to access the raw methods on
}
YellowTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*YellowTokenCallerRaw) Call ¶
func (_YellowToken *YellowTokenCallerRaw) 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 YellowTokenCallerSession ¶
type YellowTokenCallerSession struct { Contract *YellowTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
YellowTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*YellowTokenCallerSession) Allowance ¶
func (_YellowToken *YellowTokenCallerSession) 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 (*YellowTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*YellowTokenCallerSession) DOMAINSEPARATOR ¶ added in v0.0.14
func (_YellowToken *YellowTokenCallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*YellowTokenCallerSession) Decimals ¶
func (_YellowToken *YellowTokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*YellowTokenCallerSession) Eip712Domain ¶ added in v0.0.14
func (_YellowToken *YellowTokenCallerSession) Eip712Domain() (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*YellowTokenCallerSession) Name ¶
func (_YellowToken *YellowTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*YellowTokenCallerSession) Nonces ¶ added in v0.0.14
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*YellowTokenCallerSession) Symbol ¶
func (_YellowToken *YellowTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*YellowTokenCallerSession) TotalSupply ¶
func (_YellowToken *YellowTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type YellowTokenEIP712DomainChanged ¶ added in v0.0.14
type YellowTokenEIP712DomainChanged struct {
Raw types.Log // Blockchain specific contextual infos
}
YellowTokenEIP712DomainChanged represents a EIP712DomainChanged event raised by the YellowToken contract.
type YellowTokenEIP712DomainChangedIterator ¶ added in v0.0.14
type YellowTokenEIP712DomainChangedIterator struct { Event *YellowTokenEIP712DomainChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
YellowTokenEIP712DomainChangedIterator is returned from FilterEIP712DomainChanged and is used to iterate over the raw logs and unpacked data for EIP712DomainChanged events raised by the YellowToken contract.
func (*YellowTokenEIP712DomainChangedIterator) Close ¶ added in v0.0.14
func (it *YellowTokenEIP712DomainChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*YellowTokenEIP712DomainChangedIterator) Error ¶ added in v0.0.14
func (it *YellowTokenEIP712DomainChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*YellowTokenEIP712DomainChangedIterator) Next ¶ added in v0.0.14
func (it *YellowTokenEIP712DomainChangedIterator) 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 YellowTokenFilterer ¶
type YellowTokenFilterer struct {
// contains filtered or unexported fields
}
YellowTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewYellowTokenFilterer ¶
func NewYellowTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*YellowTokenFilterer, error)
NewYellowTokenFilterer creates a new log filterer instance of YellowToken, bound to a specific deployed contract.
func (*YellowTokenFilterer) FilterApproval ¶
func (_YellowToken *YellowTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*YellowTokenApprovalIterator, 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 (*YellowTokenFilterer) FilterEIP712DomainChanged ¶ added in v0.0.14
func (_YellowToken *YellowTokenFilterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*YellowTokenEIP712DomainChangedIterator, error)
FilterEIP712DomainChanged is a free log retrieval operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
func (*YellowTokenFilterer) FilterTransfer ¶
func (_YellowToken *YellowTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*YellowTokenTransferIterator, 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 (*YellowTokenFilterer) ParseApproval ¶
func (_YellowToken *YellowTokenFilterer) ParseApproval(log types.Log) (*YellowTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*YellowTokenFilterer) ParseEIP712DomainChanged ¶ added in v0.0.14
func (_YellowToken *YellowTokenFilterer) ParseEIP712DomainChanged(log types.Log) (*YellowTokenEIP712DomainChanged, error)
ParseEIP712DomainChanged is a log parse operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
func (*YellowTokenFilterer) ParseTransfer ¶
func (_YellowToken *YellowTokenFilterer) ParseTransfer(log types.Log) (*YellowTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*YellowTokenFilterer) WatchApproval ¶
func (_YellowToken *YellowTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *YellowTokenApproval, 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 (*YellowTokenFilterer) WatchEIP712DomainChanged ¶ added in v0.0.14
func (_YellowToken *YellowTokenFilterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *YellowTokenEIP712DomainChanged) (event.Subscription, error)
WatchEIP712DomainChanged is a free log subscription operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
func (*YellowTokenFilterer) WatchTransfer ¶
func (_YellowToken *YellowTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *YellowTokenTransfer, 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 YellowTokenRaw ¶
type YellowTokenRaw struct {
Contract *YellowToken // Generic contract binding to access the raw methods on
}
YellowTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*YellowTokenRaw) Call ¶
func (_YellowToken *YellowTokenRaw) 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 (*YellowTokenRaw) Transact ¶
func (_YellowToken *YellowTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*YellowTokenRaw) Transfer ¶
func (_YellowToken *YellowTokenRaw) 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 YellowTokenSession ¶
type YellowTokenSession struct { Contract *YellowToken // 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 }
YellowTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*YellowTokenSession) Allowance ¶
func (_YellowToken *YellowTokenSession) 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 (*YellowTokenSession) Approve ¶
func (_YellowToken *YellowTokenSession) 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 (*YellowTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*YellowTokenSession) DOMAINSEPARATOR ¶ added in v0.0.14
func (_YellowToken *YellowTokenSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*YellowTokenSession) Decimals ¶
func (_YellowToken *YellowTokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*YellowTokenSession) DecreaseAllowance ¶
func (_YellowToken *YellowTokenSession) 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 (*YellowTokenSession) Eip712Domain ¶ added in v0.0.14
func (_YellowToken *YellowTokenSession) Eip712Domain() (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*YellowTokenSession) IncreaseAllowance ¶
func (_YellowToken *YellowTokenSession) 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 (*YellowTokenSession) Name ¶
func (_YellowToken *YellowTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*YellowTokenSession) Nonces ¶ added in v0.0.14
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*YellowTokenSession) Permit ¶ added in v0.0.14
func (_YellowToken *YellowTokenSession) Permit(owner 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 owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*YellowTokenSession) Symbol ¶
func (_YellowToken *YellowTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*YellowTokenSession) TotalSupply ¶
func (_YellowToken *YellowTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*YellowTokenSession) Transfer ¶
func (_YellowToken *YellowTokenSession) 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 (*YellowTokenSession) TransferFrom ¶
func (_YellowToken *YellowTokenSession) 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 YellowTokenTransactor ¶
type YellowTokenTransactor struct {
// contains filtered or unexported fields
}
YellowTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewYellowTokenTransactor ¶
func NewYellowTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*YellowTokenTransactor, error)
NewYellowTokenTransactor creates a new write-only instance of YellowToken, bound to a specific deployed contract.
func (*YellowTokenTransactor) Approve ¶
func (_YellowToken *YellowTokenTransactor) 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 (*YellowTokenTransactor) DecreaseAllowance ¶
func (_YellowToken *YellowTokenTransactor) 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 (*YellowTokenTransactor) IncreaseAllowance ¶
func (_YellowToken *YellowTokenTransactor) 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 (*YellowTokenTransactor) Permit ¶ added in v0.0.14
func (_YellowToken *YellowTokenTransactor) Permit(opts *bind.TransactOpts, owner 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 owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*YellowTokenTransactor) Transfer ¶
func (_YellowToken *YellowTokenTransactor) 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 (*YellowTokenTransactor) TransferFrom ¶
func (_YellowToken *YellowTokenTransactor) 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 YellowTokenTransactorRaw ¶
type YellowTokenTransactorRaw struct {
Contract *YellowTokenTransactor // Generic write-only contract binding to access the raw methods on
}
YellowTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*YellowTokenTransactorRaw) Transact ¶
func (_YellowToken *YellowTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*YellowTokenTransactorRaw) Transfer ¶
func (_YellowToken *YellowTokenTransactorRaw) 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 YellowTokenTransactorSession ¶
type YellowTokenTransactorSession struct { Contract *YellowTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
YellowTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*YellowTokenTransactorSession) Approve ¶
func (_YellowToken *YellowTokenTransactorSession) 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 (*YellowTokenTransactorSession) DecreaseAllowance ¶
func (_YellowToken *YellowTokenTransactorSession) 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 (*YellowTokenTransactorSession) IncreaseAllowance ¶
func (_YellowToken *YellowTokenTransactorSession) 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 (*YellowTokenTransactorSession) Permit ¶ added in v0.0.14
func (_YellowToken *YellowTokenTransactorSession) Permit(owner 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 owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*YellowTokenTransactorSession) Transfer ¶
func (_YellowToken *YellowTokenTransactorSession) 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 (*YellowTokenTransactorSession) TransferFrom ¶
func (_YellowToken *YellowTokenTransactorSession) 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 YellowTokenTransfer ¶
type YellowTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
YellowTokenTransfer represents a Transfer event raised by the YellowToken contract.
type YellowTokenTransferIterator ¶
type YellowTokenTransferIterator struct { Event *YellowTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
YellowTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the YellowToken contract.
func (*YellowTokenTransferIterator) Close ¶
func (it *YellowTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*YellowTokenTransferIterator) Error ¶
func (it *YellowTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*YellowTokenTransferIterator) Next ¶
func (it *YellowTokenTransferIterator) 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.