Documentation ¶
Index ¶
- Constants
- Variables
- type ERC20PresetMinterPauser
- type ERC20PresetMinterPauserApproval
- type ERC20PresetMinterPauserApprovalIterator
- type ERC20PresetMinterPauserCaller
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) Name(opts *bind.CallOpts) (string, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ERC20PresetMinterPauserCallerRaw
- type ERC20PresetMinterPauserCallerSession
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) Decimals() (uint8, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) MINTERROLE() ([32]byte, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) Name() (string, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) PAUSERROLE() ([32]byte, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) Paused() (bool, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) Symbol() (string, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) TotalSupply() (*big.Int, error)
- type ERC20PresetMinterPauserFilterer
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20PresetMinterPauserApprovalIterator, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) FilterPaused(opts *bind.FilterOpts) (*ERC20PresetMinterPauserPausedIterator, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*ERC20PresetMinterPauserRoleGrantedIterator, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*ERC20PresetMinterPauserRoleRevokedIterator, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20PresetMinterPauserTransferIterator, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ERC20PresetMinterPauserUnpausedIterator, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) ParseApproval(log types.Log) (*ERC20PresetMinterPauserApproval, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) ParsePaused(log types.Log) (*ERC20PresetMinterPauserPaused, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) ParseRoleGranted(log types.Log) (*ERC20PresetMinterPauserRoleGranted, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) ParseRoleRevoked(log types.Log) (*ERC20PresetMinterPauserRoleRevoked, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) ParseTransfer(log types.Log) (*ERC20PresetMinterPauserTransfer, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) ParseUnpaused(log types.Log) (*ERC20PresetMinterPauserUnpaused, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20PresetMinterPauserApproval, ...) (event.Subscription, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ERC20PresetMinterPauserPaused) (event.Subscription, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *ERC20PresetMinterPauserRoleGranted, ...) (event.Subscription, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *ERC20PresetMinterPauserRoleRevoked, ...) (event.Subscription, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20PresetMinterPauserTransfer, ...) (event.Subscription, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ERC20PresetMinterPauserUnpaused) (event.Subscription, error)
- type ERC20PresetMinterPauserPaused
- type ERC20PresetMinterPauserPausedIterator
- type ERC20PresetMinterPauserRaw
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20PresetMinterPauserRoleGranted
- type ERC20PresetMinterPauserRoleGrantedIterator
- type ERC20PresetMinterPauserRoleRevoked
- type ERC20PresetMinterPauserRoleRevokedIterator
- type ERC20PresetMinterPauserSession
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Decimals() (uint8, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) MINTERROLE() ([32]byte, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Name() (string, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) PAUSERROLE() ([32]byte, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Pause() (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Paused() (bool, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Symbol() (string, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) TotalSupply() (*big.Int, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Unpause() (*types.Transaction, error)
- type ERC20PresetMinterPauserTransactor
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20PresetMinterPauserTransactorRaw
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20PresetMinterPauserTransactorSession
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) Pause() (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) Unpause() (*types.Transaction, error)
- type ERC20PresetMinterPauserTransfer
- type ERC20PresetMinterPauserTransferIterator
- type ERC20PresetMinterPauserUnpaused
- type ERC20PresetMinterPauserUnpausedIterator
Constants ¶
const ERC20PresetMinterPauserABI = "" /* 8258-byte string literal not displayed */
ERC20PresetMinterPauserABI is the input ABI used to generate the binding from.
Variables ¶
var ERC20PresetMinterPauserBin = "" /* 22776-byte string literal not displayed */
ERC20PresetMinterPauserBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type ERC20PresetMinterPauser ¶
type ERC20PresetMinterPauser struct { ERC20PresetMinterPauserCaller // Read-only binding to the contract ERC20PresetMinterPauserTransactor // Write-only binding to the contract ERC20PresetMinterPauserFilterer // Log filterer for contract events }
ERC20PresetMinterPauser is an auto generated Go binding around an Ethereum contract.
func DeployERC20PresetMinterPauser ¶
func DeployERC20PresetMinterPauser(auth *bind.TransactOpts, backend bind.ContractBackend, name string, symbol string) (common.Address, *types.Transaction, *ERC20PresetMinterPauser, error)
DeployERC20PresetMinterPauser deploys a new Ethereum contract, binding an instance of ERC20PresetMinterPauser to it.
func NewERC20PresetMinterPauser ¶
func NewERC20PresetMinterPauser(address common.Address, backend bind.ContractBackend) (*ERC20PresetMinterPauser, error)
NewERC20PresetMinterPauser creates a new instance of ERC20PresetMinterPauser, bound to a specific deployed contract.
type ERC20PresetMinterPauserApproval ¶
type ERC20PresetMinterPauserApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20PresetMinterPauserApproval represents a Approval event raised by the ERC20PresetMinterPauser contract.
type ERC20PresetMinterPauserApprovalIterator ¶
type ERC20PresetMinterPauserApprovalIterator struct { Event *ERC20PresetMinterPauserApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20PresetMinterPauserApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20PresetMinterPauser contract.
func (*ERC20PresetMinterPauserApprovalIterator) Close ¶
func (it *ERC20PresetMinterPauserApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20PresetMinterPauserApprovalIterator) Error ¶
func (it *ERC20PresetMinterPauserApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20PresetMinterPauserApprovalIterator) Next ¶
func (it *ERC20PresetMinterPauserApprovalIterator) 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 ERC20PresetMinterPauserCaller ¶
type ERC20PresetMinterPauserCaller struct {
// contains filtered or unexported fields
}
ERC20PresetMinterPauserCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20PresetMinterPauserCaller ¶
func NewERC20PresetMinterPauserCaller(address common.Address, caller bind.ContractCaller) (*ERC20PresetMinterPauserCaller, error)
NewERC20PresetMinterPauserCaller creates a new read-only instance of ERC20PresetMinterPauser, bound to a specific deployed contract.
func (*ERC20PresetMinterPauserCaller) Allowance ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) 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 (*ERC20PresetMinterPauserCaller) BalanceOf ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) 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 (*ERC20PresetMinterPauserCaller) DEFAULTADMINROLE ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) 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 (*ERC20PresetMinterPauserCaller) Decimals ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) 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 (*ERC20PresetMinterPauserCaller) GetRoleAdmin ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) 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 (*ERC20PresetMinterPauserCaller) GetRoleMember ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*ERC20PresetMinterPauserCaller) GetRoleMemberCount ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*ERC20PresetMinterPauserCaller) HasRole ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) 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 (*ERC20PresetMinterPauserCaller) MINTERROLE ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) 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 (*ERC20PresetMinterPauserCaller) Name ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) 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 (*ERC20PresetMinterPauserCaller) PAUSERROLE ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*ERC20PresetMinterPauserCaller) Paused ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*ERC20PresetMinterPauserCaller) Symbol ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) 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 (*ERC20PresetMinterPauserCaller) TotalSupply ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20PresetMinterPauserCallerRaw ¶
type ERC20PresetMinterPauserCallerRaw struct {
Contract *ERC20PresetMinterPauserCaller // Generic read-only contract binding to access the raw methods on
}
ERC20PresetMinterPauserCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20PresetMinterPauserCallerRaw) Call ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerRaw) 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 ERC20PresetMinterPauserCallerSession ¶
type ERC20PresetMinterPauserCallerSession struct { Contract *ERC20PresetMinterPauserCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20PresetMinterPauserCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20PresetMinterPauserCallerSession) Allowance ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) 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 (*ERC20PresetMinterPauserCallerSession) BalanceOf ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) BalanceOf(account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20PresetMinterPauserCallerSession) DEFAULTADMINROLE ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) 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 (*ERC20PresetMinterPauserCallerSession) Decimals ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20PresetMinterPauserCallerSession) GetRoleAdmin ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) 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 (*ERC20PresetMinterPauserCallerSession) GetRoleMember ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*ERC20PresetMinterPauserCallerSession) GetRoleMemberCount ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*ERC20PresetMinterPauserCallerSession) HasRole ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) 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 (*ERC20PresetMinterPauserCallerSession) MINTERROLE ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*ERC20PresetMinterPauserCallerSession) Name ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20PresetMinterPauserCallerSession) PAUSERROLE ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*ERC20PresetMinterPauserCallerSession) Paused ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*ERC20PresetMinterPauserCallerSession) Symbol ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20PresetMinterPauserCallerSession) TotalSupply ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20PresetMinterPauserFilterer ¶
type ERC20PresetMinterPauserFilterer struct {
// contains filtered or unexported fields
}
ERC20PresetMinterPauserFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20PresetMinterPauserFilterer ¶
func NewERC20PresetMinterPauserFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20PresetMinterPauserFilterer, error)
NewERC20PresetMinterPauserFilterer creates a new log filterer instance of ERC20PresetMinterPauser, bound to a specific deployed contract.
func (*ERC20PresetMinterPauserFilterer) FilterApproval ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20PresetMinterPauserApprovalIterator, 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 (*ERC20PresetMinterPauserFilterer) FilterPaused ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) FilterPaused(opts *bind.FilterOpts) (*ERC20PresetMinterPauserPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ERC20PresetMinterPauserFilterer) FilterRoleGranted ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*ERC20PresetMinterPauserRoleGrantedIterator, 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 (*ERC20PresetMinterPauserFilterer) FilterRoleRevoked ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*ERC20PresetMinterPauserRoleRevokedIterator, 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 (*ERC20PresetMinterPauserFilterer) FilterTransfer ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20PresetMinterPauserTransferIterator, 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 (*ERC20PresetMinterPauserFilterer) FilterUnpaused ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ERC20PresetMinterPauserUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*ERC20PresetMinterPauserFilterer) ParseApproval ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) ParseApproval(log types.Log) (*ERC20PresetMinterPauserApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20PresetMinterPauserFilterer) ParsePaused ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) ParsePaused(log types.Log) (*ERC20PresetMinterPauserPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ERC20PresetMinterPauserFilterer) ParseRoleGranted ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) ParseRoleGranted(log types.Log) (*ERC20PresetMinterPauserRoleGranted, 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 (*ERC20PresetMinterPauserFilterer) ParseRoleRevoked ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) ParseRoleRevoked(log types.Log) (*ERC20PresetMinterPauserRoleRevoked, 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 (*ERC20PresetMinterPauserFilterer) ParseTransfer ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) ParseTransfer(log types.Log) (*ERC20PresetMinterPauserTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20PresetMinterPauserFilterer) ParseUnpaused ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) ParseUnpaused(log types.Log) (*ERC20PresetMinterPauserUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*ERC20PresetMinterPauserFilterer) WatchApproval ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20PresetMinterPauserApproval, 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 (*ERC20PresetMinterPauserFilterer) WatchPaused ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ERC20PresetMinterPauserPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ERC20PresetMinterPauserFilterer) WatchRoleGranted ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *ERC20PresetMinterPauserRoleGranted, 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 (*ERC20PresetMinterPauserFilterer) WatchRoleRevoked ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *ERC20PresetMinterPauserRoleRevoked, 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 (*ERC20PresetMinterPauserFilterer) WatchTransfer ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20PresetMinterPauserTransfer, 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 (*ERC20PresetMinterPauserFilterer) WatchUnpaused ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ERC20PresetMinterPauserUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type ERC20PresetMinterPauserPaused ¶
type ERC20PresetMinterPauserPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20PresetMinterPauserPaused represents a Paused event raised by the ERC20PresetMinterPauser contract.
type ERC20PresetMinterPauserPausedIterator ¶
type ERC20PresetMinterPauserPausedIterator struct { Event *ERC20PresetMinterPauserPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20PresetMinterPauserPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the ERC20PresetMinterPauser contract.
func (*ERC20PresetMinterPauserPausedIterator) Close ¶
func (it *ERC20PresetMinterPauserPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20PresetMinterPauserPausedIterator) Error ¶
func (it *ERC20PresetMinterPauserPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20PresetMinterPauserPausedIterator) Next ¶
func (it *ERC20PresetMinterPauserPausedIterator) 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 ERC20PresetMinterPauserRaw ¶
type ERC20PresetMinterPauserRaw struct {
Contract *ERC20PresetMinterPauser // Generic contract binding to access the raw methods on
}
ERC20PresetMinterPauserRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20PresetMinterPauserRaw) Call ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserRaw) 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 (*ERC20PresetMinterPauserRaw) Transact ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20PresetMinterPauserRaw) Transfer ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserRaw) 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 ERC20PresetMinterPauserRoleGranted ¶
type ERC20PresetMinterPauserRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20PresetMinterPauserRoleGranted represents a RoleGranted event raised by the ERC20PresetMinterPauser contract.
type ERC20PresetMinterPauserRoleGrantedIterator ¶
type ERC20PresetMinterPauserRoleGrantedIterator struct { Event *ERC20PresetMinterPauserRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20PresetMinterPauserRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the ERC20PresetMinterPauser contract.
func (*ERC20PresetMinterPauserRoleGrantedIterator) Close ¶
func (it *ERC20PresetMinterPauserRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20PresetMinterPauserRoleGrantedIterator) Error ¶
func (it *ERC20PresetMinterPauserRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20PresetMinterPauserRoleGrantedIterator) Next ¶
func (it *ERC20PresetMinterPauserRoleGrantedIterator) 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 ERC20PresetMinterPauserRoleRevoked ¶
type ERC20PresetMinterPauserRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20PresetMinterPauserRoleRevoked represents a RoleRevoked event raised by the ERC20PresetMinterPauser contract.
type ERC20PresetMinterPauserRoleRevokedIterator ¶
type ERC20PresetMinterPauserRoleRevokedIterator struct { Event *ERC20PresetMinterPauserRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20PresetMinterPauserRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the ERC20PresetMinterPauser contract.
func (*ERC20PresetMinterPauserRoleRevokedIterator) Close ¶
func (it *ERC20PresetMinterPauserRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20PresetMinterPauserRoleRevokedIterator) Error ¶
func (it *ERC20PresetMinterPauserRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20PresetMinterPauserRoleRevokedIterator) Next ¶
func (it *ERC20PresetMinterPauserRoleRevokedIterator) 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 ERC20PresetMinterPauserSession ¶
type ERC20PresetMinterPauserSession struct { Contract *ERC20PresetMinterPauser // 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 }
ERC20PresetMinterPauserSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20PresetMinterPauserSession) Allowance ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) 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 (*ERC20PresetMinterPauserSession) Approve ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) 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 (*ERC20PresetMinterPauserSession) BalanceOf ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) BalanceOf(account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20PresetMinterPauserSession) Burn ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) 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 (*ERC20PresetMinterPauserSession) BurnFrom ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) 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 (*ERC20PresetMinterPauserSession) DEFAULTADMINROLE ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) 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 (*ERC20PresetMinterPauserSession) Decimals ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20PresetMinterPauserSession) DecreaseAllowance ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) 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 (*ERC20PresetMinterPauserSession) GetRoleAdmin ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) 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 (*ERC20PresetMinterPauserSession) GetRoleMember ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*ERC20PresetMinterPauserSession) GetRoleMemberCount ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*ERC20PresetMinterPauserSession) GrantRole ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) 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 (*ERC20PresetMinterPauserSession) HasRole ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) 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 (*ERC20PresetMinterPauserSession) IncreaseAllowance ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) 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 (*ERC20PresetMinterPauserSession) MINTERROLE ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*ERC20PresetMinterPauserSession) Mint ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*ERC20PresetMinterPauserSession) Name ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20PresetMinterPauserSession) PAUSERROLE ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*ERC20PresetMinterPauserSession) Pause ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ERC20PresetMinterPauserSession) Paused ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*ERC20PresetMinterPauserSession) RenounceRole ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) 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 (*ERC20PresetMinterPauserSession) RevokeRole ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) 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 (*ERC20PresetMinterPauserSession) Symbol ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20PresetMinterPauserSession) TotalSupply ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ERC20PresetMinterPauserSession) Transfer ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20PresetMinterPauserSession) TransferFrom ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*ERC20PresetMinterPauserSession) Unpause ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type ERC20PresetMinterPauserTransactor ¶
type ERC20PresetMinterPauserTransactor struct {
// contains filtered or unexported fields
}
ERC20PresetMinterPauserTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20PresetMinterPauserTransactor ¶
func NewERC20PresetMinterPauserTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20PresetMinterPauserTransactor, error)
NewERC20PresetMinterPauserTransactor creates a new write-only instance of ERC20PresetMinterPauser, bound to a specific deployed contract.
func (*ERC20PresetMinterPauserTransactor) Approve ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) 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 (*ERC20PresetMinterPauserTransactor) Burn ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) 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 (*ERC20PresetMinterPauserTransactor) BurnFrom ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) 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 (*ERC20PresetMinterPauserTransactor) DecreaseAllowance ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) 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 (*ERC20PresetMinterPauserTransactor) GrantRole ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) 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 (*ERC20PresetMinterPauserTransactor) IncreaseAllowance ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) 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 (*ERC20PresetMinterPauserTransactor) Mint ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*ERC20PresetMinterPauserTransactor) Pause ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ERC20PresetMinterPauserTransactor) RenounceRole ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) 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 (*ERC20PresetMinterPauserTransactor) RevokeRole ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) 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 (*ERC20PresetMinterPauserTransactor) Transfer ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20PresetMinterPauserTransactor) TransferFrom ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*ERC20PresetMinterPauserTransactor) Unpause ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type ERC20PresetMinterPauserTransactorRaw ¶
type ERC20PresetMinterPauserTransactorRaw struct {
Contract *ERC20PresetMinterPauserTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20PresetMinterPauserTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20PresetMinterPauserTransactorRaw) Transact ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20PresetMinterPauserTransactorRaw) Transfer ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorRaw) 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 ERC20PresetMinterPauserTransactorSession ¶
type ERC20PresetMinterPauserTransactorSession struct { Contract *ERC20PresetMinterPauserTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20PresetMinterPauserTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20PresetMinterPauserTransactorSession) Approve ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) 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 (*ERC20PresetMinterPauserTransactorSession) Burn ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) 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 (*ERC20PresetMinterPauserTransactorSession) BurnFrom ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) 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 (*ERC20PresetMinterPauserTransactorSession) DecreaseAllowance ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) 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 (*ERC20PresetMinterPauserTransactorSession) GrantRole ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) 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 (*ERC20PresetMinterPauserTransactorSession) IncreaseAllowance ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) 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 (*ERC20PresetMinterPauserTransactorSession) Mint ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*ERC20PresetMinterPauserTransactorSession) Pause ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ERC20PresetMinterPauserTransactorSession) RenounceRole ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) 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 (*ERC20PresetMinterPauserTransactorSession) RevokeRole ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) 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 (*ERC20PresetMinterPauserTransactorSession) Transfer ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20PresetMinterPauserTransactorSession) TransferFrom ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*ERC20PresetMinterPauserTransactorSession) Unpause ¶
func (_ERC20PresetMinterPauser *ERC20PresetMinterPauserTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type ERC20PresetMinterPauserTransfer ¶
type ERC20PresetMinterPauserTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20PresetMinterPauserTransfer represents a Transfer event raised by the ERC20PresetMinterPauser contract.
type ERC20PresetMinterPauserTransferIterator ¶
type ERC20PresetMinterPauserTransferIterator struct { Event *ERC20PresetMinterPauserTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20PresetMinterPauserTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20PresetMinterPauser contract.
func (*ERC20PresetMinterPauserTransferIterator) Close ¶
func (it *ERC20PresetMinterPauserTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20PresetMinterPauserTransferIterator) Error ¶
func (it *ERC20PresetMinterPauserTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20PresetMinterPauserTransferIterator) Next ¶
func (it *ERC20PresetMinterPauserTransferIterator) 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 ERC20PresetMinterPauserUnpaused ¶
type ERC20PresetMinterPauserUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20PresetMinterPauserUnpaused represents a Unpaused event raised by the ERC20PresetMinterPauser contract.
type ERC20PresetMinterPauserUnpausedIterator ¶
type ERC20PresetMinterPauserUnpausedIterator struct { Event *ERC20PresetMinterPauserUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20PresetMinterPauserUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the ERC20PresetMinterPauser contract.
func (*ERC20PresetMinterPauserUnpausedIterator) Close ¶
func (it *ERC20PresetMinterPauserUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20PresetMinterPauserUnpausedIterator) Error ¶
func (it *ERC20PresetMinterPauserUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20PresetMinterPauserUnpausedIterator) Next ¶
func (it *ERC20PresetMinterPauserUnpausedIterator) 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.