Documentation ¶
Index ¶
- Constants
- 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) Decimals(opts *bind.CallOpts) (uint8, 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) 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) Decimals() (uint8, error)
- func (_Assets *AssetsCallerSession) MaxSupply() (*big.Int, error)
- func (_Assets *AssetsCallerSession) Name() (string, error)
- func (_Assets *AssetsCallerSession) Owner() (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) 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) 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) 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) 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) 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) 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 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 ¶
const AssetsABI = "" /* 5227-byte string literal not displayed */
AssetsABI is the input ABI used to generate the binding from.
Variables ¶
var AssetsBin = "" /* 9126-byte string literal not displayed */
AssetsBin is the compiled bytecode used for deploying new contracts.
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, _maxSupply *big.Int) (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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 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.