Documentation ¶
Index ¶
- Constants
- Variables
- type BaseToken
- type BaseTokenApproval
- type BaseTokenApprovalIterator
- type BaseTokenCaller
- func (_BaseToken *BaseTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_BaseToken *BaseTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_BaseToken *BaseTokenCaller) Cap(opts *bind.CallOpts) (*big.Int, error)
- func (_BaseToken *BaseTokenCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_BaseToken *BaseTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_BaseToken *BaseTokenCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_BaseToken *BaseTokenCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_BaseToken *BaseTokenCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_BaseToken *BaseTokenCaller) MintingFinished(opts *bind.CallOpts) (bool, error)
- func (_BaseToken *BaseTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_BaseToken *BaseTokenCaller) OPERATORROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_BaseToken *BaseTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_BaseToken *BaseTokenCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_BaseToken *BaseTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_BaseToken *BaseTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_BaseToken *BaseTokenCaller) TransferEnabled(opts *bind.CallOpts) (bool, error)
- type BaseTokenCallerRaw
- type BaseTokenCallerSession
- func (_BaseToken *BaseTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_BaseToken *BaseTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_BaseToken *BaseTokenCallerSession) Cap() (*big.Int, error)
- func (_BaseToken *BaseTokenCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_BaseToken *BaseTokenCallerSession) Decimals() (uint8, error)
- func (_BaseToken *BaseTokenCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_BaseToken *BaseTokenCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_BaseToken *BaseTokenCallerSession) MINTERROLE() ([32]byte, error)
- func (_BaseToken *BaseTokenCallerSession) MintingFinished() (bool, error)
- func (_BaseToken *BaseTokenCallerSession) Name() (string, error)
- func (_BaseToken *BaseTokenCallerSession) OPERATORROLE() ([32]byte, error)
- func (_BaseToken *BaseTokenCallerSession) Owner() (common.Address, error)
- func (_BaseToken *BaseTokenCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_BaseToken *BaseTokenCallerSession) Symbol() (string, error)
- func (_BaseToken *BaseTokenCallerSession) TotalSupply() (*big.Int, error)
- func (_BaseToken *BaseTokenCallerSession) TransferEnabled() (bool, error)
- type BaseTokenFilterer
- func (_BaseToken *BaseTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BaseTokenApprovalIterator, error)
- func (_BaseToken *BaseTokenFilterer) FilterMintFinished(opts *bind.FilterOpts) (*BaseTokenMintFinishedIterator, error)
- func (_BaseToken *BaseTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*BaseTokenOwnershipTransferredIterator, error)
- func (_BaseToken *BaseTokenFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*BaseTokenRoleAdminChangedIterator, error)
- func (_BaseToken *BaseTokenFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*BaseTokenRoleGrantedIterator, error)
- func (_BaseToken *BaseTokenFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*BaseTokenRoleRevokedIterator, error)
- func (_BaseToken *BaseTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BaseTokenTransferIterator, error)
- func (_BaseToken *BaseTokenFilterer) FilterTransferEnabled(opts *bind.FilterOpts) (*BaseTokenTransferEnabledIterator, error)
- func (_BaseToken *BaseTokenFilterer) ParseApproval(log types.Log) (*BaseTokenApproval, error)
- func (_BaseToken *BaseTokenFilterer) ParseMintFinished(log types.Log) (*BaseTokenMintFinished, error)
- func (_BaseToken *BaseTokenFilterer) ParseOwnershipTransferred(log types.Log) (*BaseTokenOwnershipTransferred, error)
- func (_BaseToken *BaseTokenFilterer) ParseRoleAdminChanged(log types.Log) (*BaseTokenRoleAdminChanged, error)
- func (_BaseToken *BaseTokenFilterer) ParseRoleGranted(log types.Log) (*BaseTokenRoleGranted, error)
- func (_BaseToken *BaseTokenFilterer) ParseRoleRevoked(log types.Log) (*BaseTokenRoleRevoked, error)
- func (_BaseToken *BaseTokenFilterer) ParseTransfer(log types.Log) (*BaseTokenTransfer, error)
- func (_BaseToken *BaseTokenFilterer) ParseTransferEnabled(log types.Log) (*BaseTokenTransferEnabled, error)
- func (_BaseToken *BaseTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BaseTokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_BaseToken *BaseTokenFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *BaseTokenMintFinished) (event.Subscription, error)
- func (_BaseToken *BaseTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BaseTokenOwnershipTransferred, ...) (event.Subscription, error)
- func (_BaseToken *BaseTokenFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *BaseTokenRoleAdminChanged, role [][32]byte, ...) (event.Subscription, error)
- func (_BaseToken *BaseTokenFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *BaseTokenRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_BaseToken *BaseTokenFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *BaseTokenRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- func (_BaseToken *BaseTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BaseTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_BaseToken *BaseTokenFilterer) WatchTransferEnabled(opts *bind.WatchOpts, sink chan<- *BaseTokenTransferEnabled) (event.Subscription, error)
- type BaseTokenMintFinished
- type BaseTokenMintFinishedIterator
- type BaseTokenOwnershipTransferred
- type BaseTokenOwnershipTransferredIterator
- type BaseTokenRaw
- func (_BaseToken *BaseTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_BaseToken *BaseTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BaseToken *BaseTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BaseTokenRoleAdminChanged
- type BaseTokenRoleAdminChangedIterator
- type BaseTokenRoleGranted
- type BaseTokenRoleGrantedIterator
- type BaseTokenRoleRevoked
- type BaseTokenRoleRevokedIterator
- type BaseTokenSession
- func (_BaseToken *BaseTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_BaseToken *BaseTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) ApproveAndCall(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) ApproveAndCall0(spender common.Address, value *big.Int, data []byte) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_BaseToken *BaseTokenSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) Cap() (*big.Int, error)
- func (_BaseToken *BaseTokenSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_BaseToken *BaseTokenSession) Decimals() (uint8, error)
- func (_BaseToken *BaseTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) EnableTransfer() (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) FinishMinting() (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_BaseToken *BaseTokenSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_BaseToken *BaseTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) MINTERROLE() ([32]byte, error)
- func (_BaseToken *BaseTokenSession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) MintingFinished() (bool, error)
- func (_BaseToken *BaseTokenSession) Name() (string, error)
- func (_BaseToken *BaseTokenSession) OPERATORROLE() ([32]byte, error)
- func (_BaseToken *BaseTokenSession) Owner() (common.Address, error)
- func (_BaseToken *BaseTokenSession) RecoverERC20(tokenAddress common.Address, tokenAmount *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) RenounceOwnership() (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_BaseToken *BaseTokenSession) Symbol() (string, error)
- func (_BaseToken *BaseTokenSession) TotalSupply() (*big.Int, error)
- func (_BaseToken *BaseTokenSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) TransferAndCall(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) TransferAndCall0(to common.Address, value *big.Int, data []byte) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) TransferEnabled() (bool, error)
- func (_BaseToken *BaseTokenSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) TransferFromAndCall(from common.Address, to common.Address, value *big.Int, data []byte) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) TransferFromAndCall0(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type BaseTokenTransactor
- func (_BaseToken *BaseTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) ApproveAndCall(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) ApproveAndCall0(opts *bind.TransactOpts, spender common.Address, value *big.Int, data []byte) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) EnableTransfer(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) Mint(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) RecoverERC20(opts *bind.TransactOpts, tokenAddress common.Address, tokenAmount *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) TransferAndCall(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) TransferAndCall0(opts *bind.TransactOpts, to common.Address, value *big.Int, data []byte) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) TransferFromAndCall(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) TransferFromAndCall0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type BaseTokenTransactorRaw
- type BaseTokenTransactorSession
- func (_BaseToken *BaseTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) ApproveAndCall(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) ApproveAndCall0(spender common.Address, value *big.Int, data []byte) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) EnableTransfer() (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) FinishMinting() (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) RecoverERC20(tokenAddress common.Address, tokenAmount *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) TransferAndCall(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) TransferAndCall0(to common.Address, value *big.Int, data []byte) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) TransferFromAndCall(from common.Address, to common.Address, value *big.Int, data []byte) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) TransferFromAndCall0(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_BaseToken *BaseTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type BaseTokenTransfer
- type BaseTokenTransferEnabled
- type BaseTokenTransferEnabledIterator
- type BaseTokenTransferIterator
Constants ¶
const BaseTokenABI = "" /* 12111-byte string literal not displayed */
BaseTokenABI is the input ABI used to generate the binding from.
Variables ¶
var BaseTokenBin = "" /* 21332-byte string literal not displayed */
BaseTokenBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type BaseToken ¶
type BaseToken struct { BaseTokenCaller // Read-only binding to the contract BaseTokenTransactor // Write-only binding to the contract BaseTokenFilterer // Log filterer for contract events }
BaseToken is an auto generated Go binding around an Ethereum contract.
func DeployBaseToken ¶
func DeployBaseToken(auth *bind.TransactOpts, backend bind.ContractBackend, name string, symbol string, decimals_ uint8, cap *big.Int, initialSupply *big.Int, transferEnabled_ bool, mintingFinished_ bool) (common.Address, *types.Transaction, *BaseToken, error)
DeployBaseToken deploys a new Ethereum contract, binding an instance of BaseToken to it.
func NewBaseToken ¶
NewBaseToken creates a new instance of BaseToken, bound to a specific deployed contract.
type BaseTokenApproval ¶
type BaseTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BaseTokenApproval represents a Approval event raised by the BaseToken contract.
type BaseTokenApprovalIterator ¶
type BaseTokenApprovalIterator struct { Event *BaseTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BaseTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the BaseToken contract.
func (*BaseTokenApprovalIterator) Close ¶
func (it *BaseTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BaseTokenApprovalIterator) Error ¶
func (it *BaseTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BaseTokenApprovalIterator) Next ¶
func (it *BaseTokenApprovalIterator) 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 BaseTokenCaller ¶
type BaseTokenCaller struct {
// contains filtered or unexported fields
}
BaseTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBaseTokenCaller ¶
func NewBaseTokenCaller(address common.Address, caller bind.ContractCaller) (*BaseTokenCaller, error)
NewBaseTokenCaller creates a new read-only instance of BaseToken, bound to a specific deployed contract.
func (*BaseTokenCaller) Allowance ¶
func (_BaseToken *BaseTokenCaller) 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 (*BaseTokenCaller) BalanceOf ¶
func (_BaseToken *BaseTokenCaller) 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 (*BaseTokenCaller) Cap ¶
Cap is a free data retrieval call binding the contract method 0x355274ea.
Solidity: function cap() view returns(uint256)
func (*BaseTokenCaller) DEFAULTADMINROLE ¶
func (_BaseToken *BaseTokenCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*BaseTokenCaller) Decimals ¶
func (_BaseToken *BaseTokenCaller) 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 (*BaseTokenCaller) GetRoleAdmin ¶
func (_BaseToken *BaseTokenCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*BaseTokenCaller) HasRole ¶
func (_BaseToken *BaseTokenCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*BaseTokenCaller) MINTERROLE ¶
func (_BaseToken *BaseTokenCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*BaseTokenCaller) MintingFinished ¶
func (_BaseToken *BaseTokenCaller) MintingFinished(opts *bind.CallOpts) (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() view returns(bool)
func (*BaseTokenCaller) Name ¶
func (_BaseToken *BaseTokenCaller) 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 (*BaseTokenCaller) OPERATORROLE ¶
func (_BaseToken *BaseTokenCaller) OPERATORROLE(opts *bind.CallOpts) ([32]byte, error)
OPERATORROLE is a free data retrieval call binding the contract method 0xf5b541a6.
Solidity: function OPERATOR_ROLE() view returns(bytes32)
func (*BaseTokenCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*BaseTokenCaller) SupportsInterface ¶
func (_BaseToken *BaseTokenCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*BaseTokenCaller) Symbol ¶
func (_BaseToken *BaseTokenCaller) 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 (*BaseTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BaseTokenCaller) TransferEnabled ¶
func (_BaseToken *BaseTokenCaller) TransferEnabled(opts *bind.CallOpts) (bool, error)
TransferEnabled is a free data retrieval call binding the contract method 0x4cd412d5.
Solidity: function transferEnabled() view returns(bool)
type BaseTokenCallerRaw ¶
type BaseTokenCallerRaw struct {
Contract *BaseTokenCaller // Generic read-only contract binding to access the raw methods on
}
BaseTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BaseTokenCallerRaw) Call ¶
func (_BaseToken *BaseTokenCallerRaw) 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 BaseTokenCallerSession ¶
type BaseTokenCallerSession struct { Contract *BaseTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BaseTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BaseTokenCallerSession) Allowance ¶
func (_BaseToken *BaseTokenCallerSession) 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 (*BaseTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*BaseTokenCallerSession) Cap ¶
func (_BaseToken *BaseTokenCallerSession) Cap() (*big.Int, error)
Cap is a free data retrieval call binding the contract method 0x355274ea.
Solidity: function cap() view returns(uint256)
func (*BaseTokenCallerSession) DEFAULTADMINROLE ¶
func (_BaseToken *BaseTokenCallerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*BaseTokenCallerSession) Decimals ¶
func (_BaseToken *BaseTokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*BaseTokenCallerSession) GetRoleAdmin ¶
func (_BaseToken *BaseTokenCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*BaseTokenCallerSession) HasRole ¶
func (_BaseToken *BaseTokenCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*BaseTokenCallerSession) MINTERROLE ¶
func (_BaseToken *BaseTokenCallerSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*BaseTokenCallerSession) MintingFinished ¶
func (_BaseToken *BaseTokenCallerSession) MintingFinished() (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() view returns(bool)
func (*BaseTokenCallerSession) Name ¶
func (_BaseToken *BaseTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BaseTokenCallerSession) OPERATORROLE ¶
func (_BaseToken *BaseTokenCallerSession) OPERATORROLE() ([32]byte, error)
OPERATORROLE is a free data retrieval call binding the contract method 0xf5b541a6.
Solidity: function OPERATOR_ROLE() view returns(bytes32)
func (*BaseTokenCallerSession) Owner ¶
func (_BaseToken *BaseTokenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*BaseTokenCallerSession) SupportsInterface ¶
func (_BaseToken *BaseTokenCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*BaseTokenCallerSession) Symbol ¶
func (_BaseToken *BaseTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BaseTokenCallerSession) TotalSupply ¶
func (_BaseToken *BaseTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BaseTokenCallerSession) TransferEnabled ¶
func (_BaseToken *BaseTokenCallerSession) TransferEnabled() (bool, error)
TransferEnabled is a free data retrieval call binding the contract method 0x4cd412d5.
Solidity: function transferEnabled() view returns(bool)
type BaseTokenFilterer ¶
type BaseTokenFilterer struct {
// contains filtered or unexported fields
}
BaseTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBaseTokenFilterer ¶
func NewBaseTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*BaseTokenFilterer, error)
NewBaseTokenFilterer creates a new log filterer instance of BaseToken, bound to a specific deployed contract.
func (*BaseTokenFilterer) FilterApproval ¶
func (_BaseToken *BaseTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BaseTokenApprovalIterator, 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 (*BaseTokenFilterer) FilterMintFinished ¶
func (_BaseToken *BaseTokenFilterer) FilterMintFinished(opts *bind.FilterOpts) (*BaseTokenMintFinishedIterator, error)
FilterMintFinished is a free log retrieval operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*BaseTokenFilterer) FilterOwnershipTransferred ¶
func (_BaseToken *BaseTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BaseTokenOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*BaseTokenFilterer) FilterRoleAdminChanged ¶
func (_BaseToken *BaseTokenFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*BaseTokenRoleAdminChangedIterator, error)
FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*BaseTokenFilterer) FilterRoleGranted ¶
func (_BaseToken *BaseTokenFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*BaseTokenRoleGrantedIterator, error)
FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*BaseTokenFilterer) FilterRoleRevoked ¶
func (_BaseToken *BaseTokenFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*BaseTokenRoleRevokedIterator, error)
FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*BaseTokenFilterer) FilterTransfer ¶
func (_BaseToken *BaseTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BaseTokenTransferIterator, 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 (*BaseTokenFilterer) FilterTransferEnabled ¶
func (_BaseToken *BaseTokenFilterer) FilterTransferEnabled(opts *bind.FilterOpts) (*BaseTokenTransferEnabledIterator, error)
FilterTransferEnabled is a free log retrieval operation binding the contract event 0x75fce015c314a132947a3e42f6ab79ab8e05397dabf35b4d742dea228bbadc2d.
Solidity: event TransferEnabled()
func (*BaseTokenFilterer) ParseApproval ¶
func (_BaseToken *BaseTokenFilterer) ParseApproval(log types.Log) (*BaseTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*BaseTokenFilterer) ParseMintFinished ¶
func (_BaseToken *BaseTokenFilterer) ParseMintFinished(log types.Log) (*BaseTokenMintFinished, error)
ParseMintFinished is a log parse operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*BaseTokenFilterer) ParseOwnershipTransferred ¶
func (_BaseToken *BaseTokenFilterer) ParseOwnershipTransferred(log types.Log) (*BaseTokenOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*BaseTokenFilterer) ParseRoleAdminChanged ¶
func (_BaseToken *BaseTokenFilterer) ParseRoleAdminChanged(log types.Log) (*BaseTokenRoleAdminChanged, error)
ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*BaseTokenFilterer) ParseRoleGranted ¶
func (_BaseToken *BaseTokenFilterer) ParseRoleGranted(log types.Log) (*BaseTokenRoleGranted, error)
ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*BaseTokenFilterer) ParseRoleRevoked ¶
func (_BaseToken *BaseTokenFilterer) ParseRoleRevoked(log types.Log) (*BaseTokenRoleRevoked, error)
ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*BaseTokenFilterer) ParseTransfer ¶
func (_BaseToken *BaseTokenFilterer) ParseTransfer(log types.Log) (*BaseTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*BaseTokenFilterer) ParseTransferEnabled ¶
func (_BaseToken *BaseTokenFilterer) ParseTransferEnabled(log types.Log) (*BaseTokenTransferEnabled, error)
ParseTransferEnabled is a log parse operation binding the contract event 0x75fce015c314a132947a3e42f6ab79ab8e05397dabf35b4d742dea228bbadc2d.
Solidity: event TransferEnabled()
func (*BaseTokenFilterer) WatchApproval ¶
func (_BaseToken *BaseTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BaseTokenApproval, 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 (*BaseTokenFilterer) WatchMintFinished ¶
func (_BaseToken *BaseTokenFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *BaseTokenMintFinished) (event.Subscription, error)
WatchMintFinished is a free log subscription operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*BaseTokenFilterer) WatchOwnershipTransferred ¶
func (_BaseToken *BaseTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BaseTokenOwnershipTransferred, 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 (*BaseTokenFilterer) WatchRoleAdminChanged ¶
func (_BaseToken *BaseTokenFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *BaseTokenRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)
WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*BaseTokenFilterer) WatchRoleGranted ¶
func (_BaseToken *BaseTokenFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *BaseTokenRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*BaseTokenFilterer) WatchRoleRevoked ¶
func (_BaseToken *BaseTokenFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *BaseTokenRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*BaseTokenFilterer) WatchTransfer ¶
func (_BaseToken *BaseTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BaseTokenTransfer, 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)
func (*BaseTokenFilterer) WatchTransferEnabled ¶
func (_BaseToken *BaseTokenFilterer) WatchTransferEnabled(opts *bind.WatchOpts, sink chan<- *BaseTokenTransferEnabled) (event.Subscription, error)
WatchTransferEnabled is a free log subscription operation binding the contract event 0x75fce015c314a132947a3e42f6ab79ab8e05397dabf35b4d742dea228bbadc2d.
Solidity: event TransferEnabled()
type BaseTokenMintFinished ¶
BaseTokenMintFinished represents a MintFinished event raised by the BaseToken contract.
type BaseTokenMintFinishedIterator ¶
type BaseTokenMintFinishedIterator struct { Event *BaseTokenMintFinished // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BaseTokenMintFinishedIterator is returned from FilterMintFinished and is used to iterate over the raw logs and unpacked data for MintFinished events raised by the BaseToken contract.
func (*BaseTokenMintFinishedIterator) Close ¶
func (it *BaseTokenMintFinishedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BaseTokenMintFinishedIterator) Error ¶
func (it *BaseTokenMintFinishedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BaseTokenMintFinishedIterator) Next ¶
func (it *BaseTokenMintFinishedIterator) 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 BaseTokenOwnershipTransferred ¶
type BaseTokenOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
BaseTokenOwnershipTransferred represents a OwnershipTransferred event raised by the BaseToken contract.
type BaseTokenOwnershipTransferredIterator ¶
type BaseTokenOwnershipTransferredIterator struct { Event *BaseTokenOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BaseTokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the BaseToken contract.
func (*BaseTokenOwnershipTransferredIterator) Close ¶
func (it *BaseTokenOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BaseTokenOwnershipTransferredIterator) Error ¶
func (it *BaseTokenOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BaseTokenOwnershipTransferredIterator) Next ¶
func (it *BaseTokenOwnershipTransferredIterator) 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 BaseTokenRaw ¶
type BaseTokenRaw struct {
Contract *BaseToken // Generic contract binding to access the raw methods on
}
BaseTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BaseTokenRaw) Call ¶
func (_BaseToken *BaseTokenRaw) 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 (*BaseTokenRaw) Transact ¶
func (_BaseToken *BaseTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BaseTokenRaw) Transfer ¶
func (_BaseToken *BaseTokenRaw) 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 BaseTokenRoleAdminChanged ¶
type BaseTokenRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
BaseTokenRoleAdminChanged represents a RoleAdminChanged event raised by the BaseToken contract.
type BaseTokenRoleAdminChangedIterator ¶
type BaseTokenRoleAdminChangedIterator struct { Event *BaseTokenRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BaseTokenRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the BaseToken contract.
func (*BaseTokenRoleAdminChangedIterator) Close ¶
func (it *BaseTokenRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BaseTokenRoleAdminChangedIterator) Error ¶
func (it *BaseTokenRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BaseTokenRoleAdminChangedIterator) Next ¶
func (it *BaseTokenRoleAdminChangedIterator) 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 BaseTokenRoleGranted ¶
type BaseTokenRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
BaseTokenRoleGranted represents a RoleGranted event raised by the BaseToken contract.
type BaseTokenRoleGrantedIterator ¶
type BaseTokenRoleGrantedIterator struct { Event *BaseTokenRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BaseTokenRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the BaseToken contract.
func (*BaseTokenRoleGrantedIterator) Close ¶
func (it *BaseTokenRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BaseTokenRoleGrantedIterator) Error ¶
func (it *BaseTokenRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BaseTokenRoleGrantedIterator) Next ¶
func (it *BaseTokenRoleGrantedIterator) 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 BaseTokenRoleRevoked ¶
type BaseTokenRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
BaseTokenRoleRevoked represents a RoleRevoked event raised by the BaseToken contract.
type BaseTokenRoleRevokedIterator ¶
type BaseTokenRoleRevokedIterator struct { Event *BaseTokenRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BaseTokenRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the BaseToken contract.
func (*BaseTokenRoleRevokedIterator) Close ¶
func (it *BaseTokenRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BaseTokenRoleRevokedIterator) Error ¶
func (it *BaseTokenRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BaseTokenRoleRevokedIterator) Next ¶
func (it *BaseTokenRoleRevokedIterator) 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 BaseTokenSession ¶
type BaseTokenSession struct { Contract *BaseToken // 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 }
BaseTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BaseTokenSession) Allowance ¶
func (_BaseToken *BaseTokenSession) 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 (*BaseTokenSession) Approve ¶
func (_BaseToken *BaseTokenSession) 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 (*BaseTokenSession) ApproveAndCall ¶
func (_BaseToken *BaseTokenSession) ApproveAndCall(spender common.Address, value *big.Int) (*types.Transaction, error)
ApproveAndCall is a paid mutator transaction binding the contract method 0x3177029f.
Solidity: function approveAndCall(address spender, uint256 value) returns(bool)
func (*BaseTokenSession) ApproveAndCall0 ¶
func (_BaseToken *BaseTokenSession) ApproveAndCall0(spender common.Address, value *big.Int, data []byte) (*types.Transaction, error)
ApproveAndCall0 is a paid mutator transaction binding the contract method 0xcae9ca51.
Solidity: function approveAndCall(address spender, uint256 value, bytes data) returns(bool)
func (*BaseTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*BaseTokenSession) Burn ¶
func (_BaseToken *BaseTokenSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*BaseTokenSession) BurnFrom ¶
func (_BaseToken *BaseTokenSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*BaseTokenSession) Cap ¶
func (_BaseToken *BaseTokenSession) Cap() (*big.Int, error)
Cap is a free data retrieval call binding the contract method 0x355274ea.
Solidity: function cap() view returns(uint256)
func (*BaseTokenSession) DEFAULTADMINROLE ¶
func (_BaseToken *BaseTokenSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*BaseTokenSession) Decimals ¶
func (_BaseToken *BaseTokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*BaseTokenSession) DecreaseAllowance ¶
func (_BaseToken *BaseTokenSession) 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 (*BaseTokenSession) EnableTransfer ¶
func (_BaseToken *BaseTokenSession) EnableTransfer() (*types.Transaction, error)
EnableTransfer is a paid mutator transaction binding the contract method 0xf1b50c1d.
Solidity: function enableTransfer() returns()
func (*BaseTokenSession) FinishMinting ¶
func (_BaseToken *BaseTokenSession) FinishMinting() (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns()
func (*BaseTokenSession) GetRoleAdmin ¶
func (_BaseToken *BaseTokenSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*BaseTokenSession) GrantRole ¶
func (_BaseToken *BaseTokenSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*BaseTokenSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*BaseTokenSession) IncreaseAllowance ¶
func (_BaseToken *BaseTokenSession) 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 (*BaseTokenSession) MINTERROLE ¶
func (_BaseToken *BaseTokenSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*BaseTokenSession) Mint ¶
func (_BaseToken *BaseTokenSession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 value) returns()
func (*BaseTokenSession) MintingFinished ¶
func (_BaseToken *BaseTokenSession) MintingFinished() (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() view returns(bool)
func (*BaseTokenSession) Name ¶
func (_BaseToken *BaseTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BaseTokenSession) OPERATORROLE ¶
func (_BaseToken *BaseTokenSession) OPERATORROLE() ([32]byte, error)
OPERATORROLE is a free data retrieval call binding the contract method 0xf5b541a6.
Solidity: function OPERATOR_ROLE() view returns(bytes32)
func (*BaseTokenSession) Owner ¶
func (_BaseToken *BaseTokenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*BaseTokenSession) RecoverERC20 ¶
func (_BaseToken *BaseTokenSession) RecoverERC20(tokenAddress common.Address, tokenAmount *big.Int) (*types.Transaction, error)
RecoverERC20 is a paid mutator transaction binding the contract method 0x8980f11f.
Solidity: function recoverERC20(address tokenAddress, uint256 tokenAmount) returns()
func (*BaseTokenSession) RenounceOwnership ¶
func (_BaseToken *BaseTokenSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*BaseTokenSession) RenounceRole ¶
func (_BaseToken *BaseTokenSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*BaseTokenSession) RevokeRole ¶
func (_BaseToken *BaseTokenSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*BaseTokenSession) SupportsInterface ¶
func (_BaseToken *BaseTokenSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*BaseTokenSession) Symbol ¶
func (_BaseToken *BaseTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BaseTokenSession) TotalSupply ¶
func (_BaseToken *BaseTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BaseTokenSession) Transfer ¶
func (_BaseToken *BaseTokenSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*BaseTokenSession) TransferAndCall ¶
func (_BaseToken *BaseTokenSession) TransferAndCall(to common.Address, value *big.Int) (*types.Transaction, error)
TransferAndCall is a paid mutator transaction binding the contract method 0x1296ee62.
Solidity: function transferAndCall(address to, uint256 value) returns(bool)
func (*BaseTokenSession) TransferAndCall0 ¶
func (_BaseToken *BaseTokenSession) TransferAndCall0(to common.Address, value *big.Int, data []byte) (*types.Transaction, error)
TransferAndCall0 is a paid mutator transaction binding the contract method 0x4000aea0.
Solidity: function transferAndCall(address to, uint256 value, bytes data) returns(bool)
func (*BaseTokenSession) TransferEnabled ¶
func (_BaseToken *BaseTokenSession) TransferEnabled() (bool, error)
TransferEnabled is a free data retrieval call binding the contract method 0x4cd412d5.
Solidity: function transferEnabled() view returns(bool)
func (*BaseTokenSession) TransferFrom ¶
func (_BaseToken *BaseTokenSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
func (*BaseTokenSession) TransferFromAndCall ¶
func (_BaseToken *BaseTokenSession) TransferFromAndCall(from common.Address, to common.Address, value *big.Int, data []byte) (*types.Transaction, error)
TransferFromAndCall is a paid mutator transaction binding the contract method 0xc1d34b89.
Solidity: function transferFromAndCall(address from, address to, uint256 value, bytes data) returns(bool)
func (*BaseTokenSession) TransferFromAndCall0 ¶
func (_BaseToken *BaseTokenSession) TransferFromAndCall0(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFromAndCall0 is a paid mutator transaction binding the contract method 0xd8fbe994.
Solidity: function transferFromAndCall(address from, address to, uint256 value) returns(bool)
func (*BaseTokenSession) TransferOwnership ¶
func (_BaseToken *BaseTokenSession) 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 BaseTokenTransactor ¶
type BaseTokenTransactor struct {
// contains filtered or unexported fields
}
BaseTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBaseTokenTransactor ¶
func NewBaseTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*BaseTokenTransactor, error)
NewBaseTokenTransactor creates a new write-only instance of BaseToken, bound to a specific deployed contract.
func (*BaseTokenTransactor) Approve ¶
func (_BaseToken *BaseTokenTransactor) 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 (*BaseTokenTransactor) ApproveAndCall ¶
func (_BaseToken *BaseTokenTransactor) ApproveAndCall(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
ApproveAndCall is a paid mutator transaction binding the contract method 0x3177029f.
Solidity: function approveAndCall(address spender, uint256 value) returns(bool)
func (*BaseTokenTransactor) ApproveAndCall0 ¶
func (_BaseToken *BaseTokenTransactor) ApproveAndCall0(opts *bind.TransactOpts, spender common.Address, value *big.Int, data []byte) (*types.Transaction, error)
ApproveAndCall0 is a paid mutator transaction binding the contract method 0xcae9ca51.
Solidity: function approveAndCall(address spender, uint256 value, bytes data) returns(bool)
func (*BaseTokenTransactor) Burn ¶
func (_BaseToken *BaseTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*BaseTokenTransactor) BurnFrom ¶
func (_BaseToken *BaseTokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*BaseTokenTransactor) DecreaseAllowance ¶
func (_BaseToken *BaseTokenTransactor) 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 (*BaseTokenTransactor) EnableTransfer ¶
func (_BaseToken *BaseTokenTransactor) EnableTransfer(opts *bind.TransactOpts) (*types.Transaction, error)
EnableTransfer is a paid mutator transaction binding the contract method 0xf1b50c1d.
Solidity: function enableTransfer() returns()
func (*BaseTokenTransactor) FinishMinting ¶
func (_BaseToken *BaseTokenTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns()
func (*BaseTokenTransactor) GrantRole ¶
func (_BaseToken *BaseTokenTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*BaseTokenTransactor) IncreaseAllowance ¶
func (_BaseToken *BaseTokenTransactor) 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 (*BaseTokenTransactor) Mint ¶
func (_BaseToken *BaseTokenTransactor) Mint(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 value) returns()
func (*BaseTokenTransactor) RecoverERC20 ¶
func (_BaseToken *BaseTokenTransactor) RecoverERC20(opts *bind.TransactOpts, tokenAddress common.Address, tokenAmount *big.Int) (*types.Transaction, error)
RecoverERC20 is a paid mutator transaction binding the contract method 0x8980f11f.
Solidity: function recoverERC20(address tokenAddress, uint256 tokenAmount) returns()
func (*BaseTokenTransactor) RenounceOwnership ¶
func (_BaseToken *BaseTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*BaseTokenTransactor) RenounceRole ¶
func (_BaseToken *BaseTokenTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*BaseTokenTransactor) RevokeRole ¶
func (_BaseToken *BaseTokenTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*BaseTokenTransactor) Transfer ¶
func (_BaseToken *BaseTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*BaseTokenTransactor) TransferAndCall ¶
func (_BaseToken *BaseTokenTransactor) TransferAndCall(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
TransferAndCall is a paid mutator transaction binding the contract method 0x1296ee62.
Solidity: function transferAndCall(address to, uint256 value) returns(bool)
func (*BaseTokenTransactor) TransferAndCall0 ¶
func (_BaseToken *BaseTokenTransactor) TransferAndCall0(opts *bind.TransactOpts, to common.Address, value *big.Int, data []byte) (*types.Transaction, error)
TransferAndCall0 is a paid mutator transaction binding the contract method 0x4000aea0.
Solidity: function transferAndCall(address to, uint256 value, bytes data) returns(bool)
func (*BaseTokenTransactor) TransferFrom ¶
func (_BaseToken *BaseTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
func (*BaseTokenTransactor) TransferFromAndCall ¶
func (_BaseToken *BaseTokenTransactor) TransferFromAndCall(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int, data []byte) (*types.Transaction, error)
TransferFromAndCall is a paid mutator transaction binding the contract method 0xc1d34b89.
Solidity: function transferFromAndCall(address from, address to, uint256 value, bytes data) returns(bool)
func (*BaseTokenTransactor) TransferFromAndCall0 ¶
func (_BaseToken *BaseTokenTransactor) TransferFromAndCall0(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFromAndCall0 is a paid mutator transaction binding the contract method 0xd8fbe994.
Solidity: function transferFromAndCall(address from, address to, uint256 value) returns(bool)
func (*BaseTokenTransactor) TransferOwnership ¶
func (_BaseToken *BaseTokenTransactor) 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 BaseTokenTransactorRaw ¶
type BaseTokenTransactorRaw struct {
Contract *BaseTokenTransactor // Generic write-only contract binding to access the raw methods on
}
BaseTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BaseTokenTransactorRaw) Transact ¶
func (_BaseToken *BaseTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BaseTokenTransactorRaw) Transfer ¶
func (_BaseToken *BaseTokenTransactorRaw) 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 BaseTokenTransactorSession ¶
type BaseTokenTransactorSession struct { Contract *BaseTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BaseTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BaseTokenTransactorSession) Approve ¶
func (_BaseToken *BaseTokenTransactorSession) 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 (*BaseTokenTransactorSession) ApproveAndCall ¶
func (_BaseToken *BaseTokenTransactorSession) ApproveAndCall(spender common.Address, value *big.Int) (*types.Transaction, error)
ApproveAndCall is a paid mutator transaction binding the contract method 0x3177029f.
Solidity: function approveAndCall(address spender, uint256 value) returns(bool)
func (*BaseTokenTransactorSession) ApproveAndCall0 ¶
func (_BaseToken *BaseTokenTransactorSession) ApproveAndCall0(spender common.Address, value *big.Int, data []byte) (*types.Transaction, error)
ApproveAndCall0 is a paid mutator transaction binding the contract method 0xcae9ca51.
Solidity: function approveAndCall(address spender, uint256 value, bytes data) returns(bool)
func (*BaseTokenTransactorSession) Burn ¶
func (_BaseToken *BaseTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*BaseTokenTransactorSession) BurnFrom ¶
func (_BaseToken *BaseTokenTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*BaseTokenTransactorSession) DecreaseAllowance ¶
func (_BaseToken *BaseTokenTransactorSession) 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 (*BaseTokenTransactorSession) EnableTransfer ¶
func (_BaseToken *BaseTokenTransactorSession) EnableTransfer() (*types.Transaction, error)
EnableTransfer is a paid mutator transaction binding the contract method 0xf1b50c1d.
Solidity: function enableTransfer() returns()
func (*BaseTokenTransactorSession) FinishMinting ¶
func (_BaseToken *BaseTokenTransactorSession) FinishMinting() (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns()
func (*BaseTokenTransactorSession) GrantRole ¶
func (_BaseToken *BaseTokenTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*BaseTokenTransactorSession) IncreaseAllowance ¶
func (_BaseToken *BaseTokenTransactorSession) 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 (*BaseTokenTransactorSession) Mint ¶
func (_BaseToken *BaseTokenTransactorSession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 value) returns()
func (*BaseTokenTransactorSession) RecoverERC20 ¶
func (_BaseToken *BaseTokenTransactorSession) RecoverERC20(tokenAddress common.Address, tokenAmount *big.Int) (*types.Transaction, error)
RecoverERC20 is a paid mutator transaction binding the contract method 0x8980f11f.
Solidity: function recoverERC20(address tokenAddress, uint256 tokenAmount) returns()
func (*BaseTokenTransactorSession) RenounceOwnership ¶
func (_BaseToken *BaseTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*BaseTokenTransactorSession) RenounceRole ¶
func (_BaseToken *BaseTokenTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*BaseTokenTransactorSession) RevokeRole ¶
func (_BaseToken *BaseTokenTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*BaseTokenTransactorSession) Transfer ¶
func (_BaseToken *BaseTokenTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*BaseTokenTransactorSession) TransferAndCall ¶
func (_BaseToken *BaseTokenTransactorSession) TransferAndCall(to common.Address, value *big.Int) (*types.Transaction, error)
TransferAndCall is a paid mutator transaction binding the contract method 0x1296ee62.
Solidity: function transferAndCall(address to, uint256 value) returns(bool)
func (*BaseTokenTransactorSession) TransferAndCall0 ¶
func (_BaseToken *BaseTokenTransactorSession) TransferAndCall0(to common.Address, value *big.Int, data []byte) (*types.Transaction, error)
TransferAndCall0 is a paid mutator transaction binding the contract method 0x4000aea0.
Solidity: function transferAndCall(address to, uint256 value, bytes data) returns(bool)
func (*BaseTokenTransactorSession) TransferFrom ¶
func (_BaseToken *BaseTokenTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
func (*BaseTokenTransactorSession) TransferFromAndCall ¶
func (_BaseToken *BaseTokenTransactorSession) TransferFromAndCall(from common.Address, to common.Address, value *big.Int, data []byte) (*types.Transaction, error)
TransferFromAndCall is a paid mutator transaction binding the contract method 0xc1d34b89.
Solidity: function transferFromAndCall(address from, address to, uint256 value, bytes data) returns(bool)
func (*BaseTokenTransactorSession) TransferFromAndCall0 ¶
func (_BaseToken *BaseTokenTransactorSession) TransferFromAndCall0(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFromAndCall0 is a paid mutator transaction binding the contract method 0xd8fbe994.
Solidity: function transferFromAndCall(address from, address to, uint256 value) returns(bool)
func (*BaseTokenTransactorSession) TransferOwnership ¶
func (_BaseToken *BaseTokenTransactorSession) 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 BaseTokenTransfer ¶
type BaseTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BaseTokenTransfer represents a Transfer event raised by the BaseToken contract.
type BaseTokenTransferEnabled ¶
BaseTokenTransferEnabled represents a TransferEnabled event raised by the BaseToken contract.
type BaseTokenTransferEnabledIterator ¶
type BaseTokenTransferEnabledIterator struct { Event *BaseTokenTransferEnabled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BaseTokenTransferEnabledIterator is returned from FilterTransferEnabled and is used to iterate over the raw logs and unpacked data for TransferEnabled events raised by the BaseToken contract.
func (*BaseTokenTransferEnabledIterator) Close ¶
func (it *BaseTokenTransferEnabledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BaseTokenTransferEnabledIterator) Error ¶
func (it *BaseTokenTransferEnabledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BaseTokenTransferEnabledIterator) Next ¶
func (it *BaseTokenTransferEnabledIterator) 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 BaseTokenTransferIterator ¶
type BaseTokenTransferIterator struct { Event *BaseTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BaseTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the BaseToken contract.
func (*BaseTokenTransferIterator) Close ¶
func (it *BaseTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BaseTokenTransferIterator) Error ¶
func (it *BaseTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BaseTokenTransferIterator) Next ¶
func (it *BaseTokenTransferIterator) 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.