Documentation ¶
Index ¶
- Variables
- type Assets
- type AssetsApproval
- type AssetsApprovalIterator
- type AssetsCaller
- func (_Assets *AssetsCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_Assets *AssetsCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Assets *AssetsCaller) BaseTokenURI(opts *bind.CallOpts) (string, error)
- func (_Assets *AssetsCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Assets *AssetsCaller) MasterToken(opts *bind.CallOpts) (common.Address, error)
- func (_Assets *AssetsCaller) MaxSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_Assets *AssetsCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Assets *AssetsCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Assets *AssetsCaller) OwnerToken(opts *bind.CallOpts) (common.Address, error)
- func (_Assets *AssetsCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Assets *AssetsCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type AssetsCallerRaw
- type AssetsCallerSession
- func (_Assets *AssetsCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Assets *AssetsCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Assets *AssetsCallerSession) BaseTokenURI() (string, error)
- func (_Assets *AssetsCallerSession) Decimals() (uint8, error)
- func (_Assets *AssetsCallerSession) MasterToken() (common.Address, error)
- func (_Assets *AssetsCallerSession) MaxSupply() (*big.Int, error)
- func (_Assets *AssetsCallerSession) Name() (string, error)
- func (_Assets *AssetsCallerSession) Owner() (common.Address, error)
- func (_Assets *AssetsCallerSession) OwnerToken() (common.Address, error)
- func (_Assets *AssetsCallerSession) Symbol() (string, error)
- func (_Assets *AssetsCallerSession) TotalSupply() (*big.Int, error)
- type AssetsFilterer
- func (_Assets *AssetsFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*AssetsApprovalIterator, error)
- func (_Assets *AssetsFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*AssetsOwnershipTransferredIterator, error)
- func (_Assets *AssetsFilterer) FilterStatusMint(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*AssetsStatusMintIterator, error)
- func (_Assets *AssetsFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*AssetsTransferIterator, error)
- func (_Assets *AssetsFilterer) ParseApproval(log types.Log) (*AssetsApproval, error)
- func (_Assets *AssetsFilterer) ParseOwnershipTransferred(log types.Log) (*AssetsOwnershipTransferred, error)
- func (_Assets *AssetsFilterer) ParseStatusMint(log types.Log) (*AssetsStatusMint, error)
- func (_Assets *AssetsFilterer) ParseTransfer(log types.Log) (*AssetsTransfer, error)
- func (_Assets *AssetsFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *AssetsApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Assets *AssetsFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AssetsOwnershipTransferred, ...) (event.Subscription, error)
- func (_Assets *AssetsFilterer) WatchStatusMint(opts *bind.WatchOpts, sink chan<- *AssetsStatusMint, from []common.Address, ...) (event.Subscription, error)
- func (_Assets *AssetsFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *AssetsTransfer, from []common.Address, ...) (event.Subscription, error)
- type AssetsOwnershipTransferred
- type AssetsOwnershipTransferredIterator
- type AssetsRaw
- func (_Assets *AssetsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Assets *AssetsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Assets *AssetsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AssetsSession
- func (_Assets *AssetsSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Assets *AssetsSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Assets *AssetsSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Assets *AssetsSession) BaseTokenURI() (string, error)
- func (_Assets *AssetsSession) Decimals() (uint8, error)
- func (_Assets *AssetsSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Assets *AssetsSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Assets *AssetsSession) MasterToken() (common.Address, error)
- func (_Assets *AssetsSession) MaxSupply() (*big.Int, error)
- func (_Assets *AssetsSession) MintTo(addresses []common.Address, amounts []*big.Int) (*types.Transaction, error)
- func (_Assets *AssetsSession) Name() (string, error)
- func (_Assets *AssetsSession) Owner() (common.Address, error)
- func (_Assets *AssetsSession) OwnerToken() (common.Address, error)
- func (_Assets *AssetsSession) RenounceOwnership() (*types.Transaction, error)
- func (_Assets *AssetsSession) SetMaxSupply(newMaxSupply *big.Int) (*types.Transaction, error)
- func (_Assets *AssetsSession) Symbol() (string, error)
- func (_Assets *AssetsSession) TotalSupply() (*big.Int, error)
- func (_Assets *AssetsSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Assets *AssetsSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Assets *AssetsSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type AssetsStatusMint
- type AssetsStatusMintIterator
- type AssetsTransactor
- func (_Assets *AssetsTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Assets *AssetsTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Assets *AssetsTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Assets *AssetsTransactor) MintTo(opts *bind.TransactOpts, addresses []common.Address, amounts []*big.Int) (*types.Transaction, error)
- func (_Assets *AssetsTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Assets *AssetsTransactor) SetMaxSupply(opts *bind.TransactOpts, newMaxSupply *big.Int) (*types.Transaction, error)
- func (_Assets *AssetsTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Assets *AssetsTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Assets *AssetsTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type AssetsTransactorRaw
- type AssetsTransactorSession
- func (_Assets *AssetsTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Assets *AssetsTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Assets *AssetsTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Assets *AssetsTransactorSession) MintTo(addresses []common.Address, amounts []*big.Int) (*types.Transaction, error)
- func (_Assets *AssetsTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Assets *AssetsTransactorSession) SetMaxSupply(newMaxSupply *big.Int) (*types.Transaction, error)
- func (_Assets *AssetsTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Assets *AssetsTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Assets *AssetsTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type AssetsTransfer
- type AssetsTransferIterator
Constants ¶
This section is empty.
Variables ¶
var AssetsABI = AssetsMetaData.ABI
AssetsABI is the input ABI used to generate the binding from. Deprecated: Use AssetsMetaData.ABI instead.
var AssetsBin = AssetsMetaData.Bin
AssetsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AssetsMetaData.Bin instead.
var AssetsMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"_decimals\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"_maxSupply\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_baseTokenURI\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_ownerToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_masterToken\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"CommunityERC20_MaxSupplyLowerThanTotalSupply\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CommunityERC20_MaxSupplyReached\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CommunityERC20_MismatchingAddressesAndAmountsLengths\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CommunityOwnable_InvalidTokenAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CommunityOwnable_NotAuthorized\",\"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\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"StatusMint\",\"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\":\"baseTokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"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\":\"masterToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"addresses\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"mintTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ownerToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newMaxSupply\",\"type\":\"uint256\"}],\"name\":\"setMaxSupply\",\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60e06040523480156200001157600080fd5b5060405162001cdf38038062001cdf83398101604081905262000034916200020b565b818188886200004333620000d9565b600462000051838262000375565b50600562000060828262000375565b5050506001600160a01b03808316608081905290821660a05215801562000090575060a0516001600160a01b0316155b15620000af5760405163c9d8a9b360e01b815260040160405180910390fd5b5050600684905560ff851660c0526007620000cb848262000375565b505050505050505062000441565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200015157600080fd5b81516001600160401b03808211156200016e576200016e62000129565b604051601f8301601f19908116603f0116810190828211818310171562000199576200019962000129565b81604052838152602092508683858801011115620001b657600080fd5b600091505b83821015620001da5785820183015181830184015290820190620001bb565b600093810190920192909252949350505050565b80516001600160a01b03811681146200020657600080fd5b919050565b600080600080600080600060e0888a0312156200022757600080fd5b87516001600160401b03808211156200023f57600080fd5b6200024d8b838c016200013f565b985060208a01519150808211156200026457600080fd5b620002728b838c016200013f565b975060408a0151915060ff821682146200028b57600080fd5b60608a015160808b0151929750955080821115620002a857600080fd5b50620002b78a828b016200013f565b935050620002c860a08901620001ee565b9150620002d860c08901620001ee565b905092959891949750929550565b600181811c90821680620002fb57607f821691505b6020821081036200031c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200037057600081815260208120601f850160051c810160208610156200034b5750805b601f850160051c820191505b818110156200036c5782815560010162000357565b5050505b505050565b81516001600160401b0381111562000391576200039162000129565b620003a981620003a28454620002e6565b8462000322565b602080601f831160018114620003e15760008415620003c85750858301515b600019600386901b1c1916600185901b1785556200036c565b600085815260208120601f198616915b828110156200041257888601518255948401946001909101908401620003f1565b5085821015620004315787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c051611836620004a9600039600061022a0152600081816101dc015281816105bf0152818161062b0152818161094101526109ad01526000818161026c015281816104c8015281816105340152818161084a01526108b601526118366000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c806370a08231116100cd578063a9059cbb11610081578063d5abeb0111610066578063d5abeb0114610348578063dd62ed3e14610351578063f2fde38b1461039757600080fd5b8063a9059cbb1461032d578063d547cfb71461034057600080fd5b80638da5cb5b116100b25780638da5cb5b146102f457806395d89b4114610312578063a457c2d71461031a57600080fd5b806370a08231146102b6578063715018a6146102ec57600080fd5b8063313ce567116101245780636537188311610109578063653718831461026757806369add11d1461028e5780636f8b44b0146102a357600080fd5b8063313ce56714610223578063395093511461025457600080fd5b806318160ddd1161015557806318160ddd146101b257806323b872dd146101c45780632bb5e31e146101d757600080fd5b806306fdde0314610171578063095ea7b31461018f575b600080fd5b6101796103aa565b60405161018691906113de565b60405180910390f35b6101a261019d366004611473565b61043c565b6040519015158152602001610186565b6003545b604051908152602001610186565b6101a26101d236600461149d565b610456565b6101fe7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610186565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610186565b6101a2610262366004611473565b61047a565b6101fe7f000000000000000000000000000000000000000000000000000000000000000081565b6102a161029c3660046115e6565b6104c6565b005b6102a16102b13660046116a6565b610848565b6101b66102c43660046116bf565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205490565b6102a1610aa7565b60005473ffffffffffffffffffffffffffffffffffffffff166101fe565b610179610abb565b6101a2610328366004611473565b610aca565b6101a261033b366004611473565b610ba0565b610179610bae565b6101b660065481565b6101b661035f3660046116e1565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205490565b6102a16103a53660046116bf565b610c3c565b6060600480546103b990611714565b80601f01602080910402602001604051908101604052809291908181526020018280546103e590611714565b80156104325780601f1061040757610100808354040283529160200191610432565b820191906000526020600020905b81548152906001019060200180831161041557829003601f168201915b5050505050905090565b60003361044a818585610cf3565b60019150505b92915050565b600033610464858285610ea6565b61046f858585610f7d565b506001949350505050565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919061044a90829086906104c1908790611796565b610cf3565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16158015906105b657506040517f70a082310000000000000000000000000000000000000000000000000000000081523360048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b491906117a9565b155b80156106ad57507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16158015906106ad57506040517f70a082310000000000000000000000000000000000000000000000000000000081523360048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610687573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ab91906117a9565b155b156106e4576040517f7cea464e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805182511461071f576040517f825caa1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b825181101561084357600082828151811061073f5761073f6117c2565b602002602001015190506006548161075660035490565b6107609190611796565b1115610798576040517fb9da758f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6107bb8483815181106107ad576107ad6117c2565b6020026020010151826111f3565b808483815181106107ce576107ce6117c2565b602002602001015173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f28c427b0611d99da5c4f7368abe57e86b045b483c4689ae93e90745802335b8760405160405180910390a4508061083b816117f1565b915050610722565b505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff161580159061093857506040517f70a082310000000000000000000000000000000000000000000000000000000081523360048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610912573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093691906117a9565b155b8015610a2f57507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1615801590610a2f57506040517f70a082310000000000000000000000000000000000000000000000000000000081523360048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610a09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2d91906117a9565b155b15610a66576040517f7cea464e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600354811015610aa2576040517f5716872300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600655565b610aaf6112e8565b610ab96000611369565b565b6060600580546103b990611714565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610b93576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61046f8286868403610cf3565b60003361044a818585610f7d565b60078054610bbb90611714565b80601f0160208091040260200160405190810160405280929190818152602001828054610be790611714565b8015610c345780601f10610c0957610100808354040283529160200191610c34565b820191906000526020600020905b815481529060010190602001808311610c1757829003601f168201915b505050505081565b610c446112e8565b73ffffffffffffffffffffffffffffffffffffffff8116610ce7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b8a565b610cf081611369565b50565b73ffffffffffffffffffffffffffffffffffffffff8316610d95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610b8a565b73ffffffffffffffffffffffffffffffffffffffff8216610e38576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610b8a565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600260209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610f775781811015610f6a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b8a565b610f778484848403610cf3565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316611020576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610b8a565b73ffffffffffffffffffffffffffffffffffffffff82166110c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610b8a565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604090205481811015611179576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610b8a565b73ffffffffffffffffffffffffffffffffffffffff80851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906111e69086815260200190565b60405180910390a3610f77565b73ffffffffffffffffffffffffffffffffffffffff8216611270576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610b8a565b80600360008282546112829190611796565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610ab9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b8a565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208083528351808285015260005b8181101561140b578581018301518582016040015282016113ef565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461146e57600080fd5b919050565b6000806040838503121561148657600080fd5b61148f8361144a565b946020939093013593505050565b6000806000606084860312156114b257600080fd5b6114bb8461144a565b92506114c96020850161144a565b9150604084013590509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561154f5761154f6114d9565b604052919050565b600067ffffffffffffffff821115611571576115716114d9565b5060051b60200190565b600082601f83011261158c57600080fd5b813560206115a161159c83611557565b611508565b82815260059290921b840181019181810190868411156115c057600080fd5b8286015b848110156115db57803583529183019183016115c4565b509695505050505050565b600080604083850312156115f957600080fd5b823567ffffffffffffffff8082111561161157600080fd5b818501915085601f83011261162557600080fd5b8135602061163561159c83611557565b82815260059290921b8401810191818101908984111561165457600080fd5b948201945b838610156116795761166a8661144a565b82529482019490820190611659565b9650508601359250508082111561168f57600080fd5b5061169c8582860161157b565b9150509250929050565b6000602082840312156116b857600080fd5b5035919050565b6000602082840312156116d157600080fd5b6116da8261144a565b9392505050565b600080604083850312156116f457600080fd5b6116fd8361144a565b915061170b6020840161144a565b90509250929050565b600181811c9082168061172857607f821691505b602082108103611761577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082018082111561045057610450611767565b6000602082840312156117bb57600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361182257611822611767565b506001019056fea164736f6c6343000811000a",
}
AssetsMetaData contains all meta data concerning the Assets contract.
Functions ¶
This section is empty.
Types ¶
type Assets ¶
type Assets struct { AssetsCaller // Read-only binding to the contract AssetsTransactor // Write-only binding to the contract AssetsFilterer // Log filterer for contract events }
Assets is an auto generated Go binding around an Ethereum contract.
func DeployAssets ¶
func DeployAssets(auth *bind.TransactOpts, backend bind.ContractBackend, _name string, _symbol string, _decimals uint8, _maxSupply *big.Int, _baseTokenURI string, _ownerToken common.Address, _masterToken common.Address) (common.Address, *types.Transaction, *Assets, error)
DeployAssets deploys a new Ethereum contract, binding an instance of Assets to it.
type AssetsApproval ¶
type AssetsApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
AssetsApproval represents a Approval event raised by the Assets contract.
type AssetsApprovalIterator ¶
type AssetsApprovalIterator struct { Event *AssetsApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AssetsApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Assets contract.
func (*AssetsApprovalIterator) Close ¶
func (it *AssetsApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AssetsApprovalIterator) Error ¶
func (it *AssetsApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AssetsApprovalIterator) Next ¶
func (it *AssetsApprovalIterator) 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 AssetsCaller ¶
type AssetsCaller struct {
// contains filtered or unexported fields
}
AssetsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAssetsCaller ¶
func NewAssetsCaller(address common.Address, caller bind.ContractCaller) (*AssetsCaller, error)
NewAssetsCaller creates a new read-only instance of Assets, bound to a specific deployed contract.
func (*AssetsCaller) Allowance ¶
func (_Assets *AssetsCaller) 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 (*AssetsCaller) BalanceOf ¶
func (_Assets *AssetsCaller) 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 (*AssetsCaller) BaseTokenURI ¶ added in v0.171.3
func (_Assets *AssetsCaller) BaseTokenURI(opts *bind.CallOpts) (string, error)
BaseTokenURI is a free data retrieval call binding the contract method 0xd547cfb7.
Solidity: function baseTokenURI() view returns(string)
func (*AssetsCaller) Decimals ¶
func (_Assets *AssetsCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*AssetsCaller) MasterToken ¶ added in v0.171.3
MasterToken is a free data retrieval call binding the contract method 0x2bb5e31e.
Solidity: function masterToken() view returns(address)
func (*AssetsCaller) MaxSupply ¶
MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.
Solidity: function maxSupply() view returns(uint256)
func (*AssetsCaller) Name ¶
func (_Assets *AssetsCaller) 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 (*AssetsCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AssetsCaller) OwnerToken ¶ added in v0.171.3
OwnerToken is a free data retrieval call binding the contract method 0x65371883.
Solidity: function ownerToken() view returns(address)
func (*AssetsCaller) Symbol ¶
func (_Assets *AssetsCaller) 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 (*AssetsCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type AssetsCallerRaw ¶
type AssetsCallerRaw struct {
Contract *AssetsCaller // Generic read-only contract binding to access the raw methods on
}
AssetsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AssetsCallerRaw) Call ¶
func (_Assets *AssetsCallerRaw) 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 AssetsCallerSession ¶
type AssetsCallerSession struct { Contract *AssetsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AssetsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AssetsCallerSession) Allowance ¶
func (_Assets *AssetsCallerSession) 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 (*AssetsCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*AssetsCallerSession) BaseTokenURI ¶ added in v0.171.3
func (_Assets *AssetsCallerSession) BaseTokenURI() (string, error)
BaseTokenURI is a free data retrieval call binding the contract method 0xd547cfb7.
Solidity: function baseTokenURI() view returns(string)
func (*AssetsCallerSession) Decimals ¶
func (_Assets *AssetsCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*AssetsCallerSession) MasterToken ¶ added in v0.171.3
func (_Assets *AssetsCallerSession) MasterToken() (common.Address, error)
MasterToken is a free data retrieval call binding the contract method 0x2bb5e31e.
Solidity: function masterToken() view returns(address)
func (*AssetsCallerSession) MaxSupply ¶
func (_Assets *AssetsCallerSession) MaxSupply() (*big.Int, error)
MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.
Solidity: function maxSupply() view returns(uint256)
func (*AssetsCallerSession) Name ¶
func (_Assets *AssetsCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*AssetsCallerSession) Owner ¶
func (_Assets *AssetsCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AssetsCallerSession) OwnerToken ¶ added in v0.171.3
func (_Assets *AssetsCallerSession) OwnerToken() (common.Address, error)
OwnerToken is a free data retrieval call binding the contract method 0x65371883.
Solidity: function ownerToken() view returns(address)
func (*AssetsCallerSession) Symbol ¶
func (_Assets *AssetsCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*AssetsCallerSession) TotalSupply ¶
func (_Assets *AssetsCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type AssetsFilterer ¶
type AssetsFilterer struct {
// contains filtered or unexported fields
}
AssetsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAssetsFilterer ¶
func NewAssetsFilterer(address common.Address, filterer bind.ContractFilterer) (*AssetsFilterer, error)
NewAssetsFilterer creates a new log filterer instance of Assets, bound to a specific deployed contract.
func (*AssetsFilterer) FilterApproval ¶
func (_Assets *AssetsFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*AssetsApprovalIterator, 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 (*AssetsFilterer) FilterOwnershipTransferred ¶
func (_Assets *AssetsFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AssetsOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AssetsFilterer) FilterStatusMint ¶ added in v0.171.3
func (_Assets *AssetsFilterer) FilterStatusMint(opts *bind.FilterOpts, from []common.Address, to []common.Address, amount []*big.Int) (*AssetsStatusMintIterator, error)
FilterStatusMint is a free log retrieval operation binding the contract event 0x28c427b0611d99da5c4f7368abe57e86b045b483c4689ae93e90745802335b87.
Solidity: event StatusMint(address indexed from, address indexed to, uint256 indexed amount)
func (*AssetsFilterer) FilterTransfer ¶
func (_Assets *AssetsFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*AssetsTransferIterator, 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 (*AssetsFilterer) ParseApproval ¶
func (_Assets *AssetsFilterer) ParseApproval(log types.Log) (*AssetsApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*AssetsFilterer) ParseOwnershipTransferred ¶
func (_Assets *AssetsFilterer) ParseOwnershipTransferred(log types.Log) (*AssetsOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AssetsFilterer) ParseStatusMint ¶ added in v0.171.3
func (_Assets *AssetsFilterer) ParseStatusMint(log types.Log) (*AssetsStatusMint, error)
ParseStatusMint is a log parse operation binding the contract event 0x28c427b0611d99da5c4f7368abe57e86b045b483c4689ae93e90745802335b87.
Solidity: event StatusMint(address indexed from, address indexed to, uint256 indexed amount)
func (*AssetsFilterer) ParseTransfer ¶
func (_Assets *AssetsFilterer) ParseTransfer(log types.Log) (*AssetsTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*AssetsFilterer) WatchApproval ¶
func (_Assets *AssetsFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *AssetsApproval, 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 (*AssetsFilterer) WatchOwnershipTransferred ¶
func (_Assets *AssetsFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AssetsOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AssetsFilterer) WatchStatusMint ¶ added in v0.171.3
func (_Assets *AssetsFilterer) WatchStatusMint(opts *bind.WatchOpts, sink chan<- *AssetsStatusMint, from []common.Address, to []common.Address, amount []*big.Int) (event.Subscription, error)
WatchStatusMint is a free log subscription operation binding the contract event 0x28c427b0611d99da5c4f7368abe57e86b045b483c4689ae93e90745802335b87.
Solidity: event StatusMint(address indexed from, address indexed to, uint256 indexed amount)
func (*AssetsFilterer) WatchTransfer ¶
func (_Assets *AssetsFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *AssetsTransfer, 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 AssetsOwnershipTransferred ¶
type AssetsOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
AssetsOwnershipTransferred represents a OwnershipTransferred event raised by the Assets contract.
type AssetsOwnershipTransferredIterator ¶
type AssetsOwnershipTransferredIterator struct { Event *AssetsOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AssetsOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Assets contract.
func (*AssetsOwnershipTransferredIterator) Close ¶
func (it *AssetsOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AssetsOwnershipTransferredIterator) Error ¶
func (it *AssetsOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AssetsOwnershipTransferredIterator) Next ¶
func (it *AssetsOwnershipTransferredIterator) 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 AssetsRaw ¶
type AssetsRaw struct {
Contract *Assets // Generic contract binding to access the raw methods on
}
AssetsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AssetsRaw) Call ¶
func (_Assets *AssetsRaw) 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 (*AssetsRaw) Transact ¶
func (_Assets *AssetsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AssetsRaw) Transfer ¶
func (_Assets *AssetsRaw) 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 AssetsSession ¶
type AssetsSession struct { Contract *Assets // 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 }
AssetsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AssetsSession) Allowance ¶
func (_Assets *AssetsSession) 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 (*AssetsSession) Approve ¶
func (_Assets *AssetsSession) 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 (*AssetsSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*AssetsSession) BaseTokenURI ¶ added in v0.171.3
func (_Assets *AssetsSession) BaseTokenURI() (string, error)
BaseTokenURI is a free data retrieval call binding the contract method 0xd547cfb7.
Solidity: function baseTokenURI() view returns(string)
func (*AssetsSession) Decimals ¶
func (_Assets *AssetsSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*AssetsSession) DecreaseAllowance ¶
func (_Assets *AssetsSession) 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 (*AssetsSession) IncreaseAllowance ¶
func (_Assets *AssetsSession) 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 (*AssetsSession) MasterToken ¶ added in v0.171.3
func (_Assets *AssetsSession) MasterToken() (common.Address, error)
MasterToken is a free data retrieval call binding the contract method 0x2bb5e31e.
Solidity: function masterToken() view returns(address)
func (*AssetsSession) MaxSupply ¶
func (_Assets *AssetsSession) MaxSupply() (*big.Int, error)
MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.
Solidity: function maxSupply() view returns(uint256)
func (*AssetsSession) MintTo ¶
func (_Assets *AssetsSession) MintTo(addresses []common.Address, amounts []*big.Int) (*types.Transaction, error)
MintTo is a paid mutator transaction binding the contract method 0x69add11d.
Solidity: function mintTo(address[] addresses, uint256[] amounts) returns()
func (*AssetsSession) Name ¶
func (_Assets *AssetsSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*AssetsSession) Owner ¶
func (_Assets *AssetsSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AssetsSession) OwnerToken ¶ added in v0.171.3
func (_Assets *AssetsSession) OwnerToken() (common.Address, error)
OwnerToken is a free data retrieval call binding the contract method 0x65371883.
Solidity: function ownerToken() view returns(address)
func (*AssetsSession) RenounceOwnership ¶
func (_Assets *AssetsSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AssetsSession) SetMaxSupply ¶
func (_Assets *AssetsSession) SetMaxSupply(newMaxSupply *big.Int) (*types.Transaction, error)
SetMaxSupply is a paid mutator transaction binding the contract method 0x6f8b44b0.
Solidity: function setMaxSupply(uint256 newMaxSupply) returns()
func (*AssetsSession) Symbol ¶
func (_Assets *AssetsSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*AssetsSession) TotalSupply ¶
func (_Assets *AssetsSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*AssetsSession) Transfer ¶
func (_Assets *AssetsSession) 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 (*AssetsSession) TransferFrom ¶
func (_Assets *AssetsSession) 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)
func (*AssetsSession) TransferOwnership ¶
func (_Assets *AssetsSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type AssetsStatusMint ¶ added in v0.171.3
type AssetsStatusMint struct { From common.Address To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
AssetsStatusMint represents a StatusMint event raised by the Assets contract.
type AssetsStatusMintIterator ¶ added in v0.171.3
type AssetsStatusMintIterator struct { Event *AssetsStatusMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AssetsStatusMintIterator is returned from FilterStatusMint and is used to iterate over the raw logs and unpacked data for StatusMint events raised by the Assets contract.
func (*AssetsStatusMintIterator) Close ¶ added in v0.171.3
func (it *AssetsStatusMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AssetsStatusMintIterator) Error ¶ added in v0.171.3
func (it *AssetsStatusMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AssetsStatusMintIterator) Next ¶ added in v0.171.3
func (it *AssetsStatusMintIterator) 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 AssetsTransactor ¶
type AssetsTransactor struct {
// contains filtered or unexported fields
}
AssetsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAssetsTransactor ¶
func NewAssetsTransactor(address common.Address, transactor bind.ContractTransactor) (*AssetsTransactor, error)
NewAssetsTransactor creates a new write-only instance of Assets, bound to a specific deployed contract.
func (*AssetsTransactor) Approve ¶
func (_Assets *AssetsTransactor) 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 (*AssetsTransactor) DecreaseAllowance ¶
func (_Assets *AssetsTransactor) 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 (*AssetsTransactor) IncreaseAllowance ¶
func (_Assets *AssetsTransactor) 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 (*AssetsTransactor) MintTo ¶
func (_Assets *AssetsTransactor) MintTo(opts *bind.TransactOpts, addresses []common.Address, amounts []*big.Int) (*types.Transaction, error)
MintTo is a paid mutator transaction binding the contract method 0x69add11d.
Solidity: function mintTo(address[] addresses, uint256[] amounts) returns()
func (*AssetsTransactor) RenounceOwnership ¶
func (_Assets *AssetsTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AssetsTransactor) SetMaxSupply ¶
func (_Assets *AssetsTransactor) SetMaxSupply(opts *bind.TransactOpts, newMaxSupply *big.Int) (*types.Transaction, error)
SetMaxSupply is a paid mutator transaction binding the contract method 0x6f8b44b0.
Solidity: function setMaxSupply(uint256 newMaxSupply) returns()
func (*AssetsTransactor) Transfer ¶
func (_Assets *AssetsTransactor) 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 (*AssetsTransactor) TransferFrom ¶
func (_Assets *AssetsTransactor) 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)
func (*AssetsTransactor) TransferOwnership ¶
func (_Assets *AssetsTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type AssetsTransactorRaw ¶
type AssetsTransactorRaw struct {
Contract *AssetsTransactor // Generic write-only contract binding to access the raw methods on
}
AssetsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AssetsTransactorRaw) Transact ¶
func (_Assets *AssetsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AssetsTransactorRaw) Transfer ¶
func (_Assets *AssetsTransactorRaw) 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 AssetsTransactorSession ¶
type AssetsTransactorSession struct { Contract *AssetsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AssetsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AssetsTransactorSession) Approve ¶
func (_Assets *AssetsTransactorSession) 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 (*AssetsTransactorSession) DecreaseAllowance ¶
func (_Assets *AssetsTransactorSession) 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 (*AssetsTransactorSession) IncreaseAllowance ¶
func (_Assets *AssetsTransactorSession) 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 (*AssetsTransactorSession) MintTo ¶
func (_Assets *AssetsTransactorSession) MintTo(addresses []common.Address, amounts []*big.Int) (*types.Transaction, error)
MintTo is a paid mutator transaction binding the contract method 0x69add11d.
Solidity: function mintTo(address[] addresses, uint256[] amounts) returns()
func (*AssetsTransactorSession) RenounceOwnership ¶
func (_Assets *AssetsTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AssetsTransactorSession) SetMaxSupply ¶
func (_Assets *AssetsTransactorSession) SetMaxSupply(newMaxSupply *big.Int) (*types.Transaction, error)
SetMaxSupply is a paid mutator transaction binding the contract method 0x6f8b44b0.
Solidity: function setMaxSupply(uint256 newMaxSupply) returns()
func (*AssetsTransactorSession) Transfer ¶
func (_Assets *AssetsTransactorSession) 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 (*AssetsTransactorSession) TransferFrom ¶
func (_Assets *AssetsTransactorSession) 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)
func (*AssetsTransactorSession) TransferOwnership ¶
func (_Assets *AssetsTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type AssetsTransfer ¶
type AssetsTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
AssetsTransfer represents a Transfer event raised by the Assets contract.
type AssetsTransferIterator ¶
type AssetsTransferIterator struct { Event *AssetsTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AssetsTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Assets contract.
func (*AssetsTransferIterator) Close ¶
func (it *AssetsTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AssetsTransferIterator) Error ¶
func (it *AssetsTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AssetsTransferIterator) Next ¶
func (it *AssetsTransferIterator) 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.