Documentation ¶
Index ¶
- Constants
- type Baltokencontract
- type BaltokencontractApproval
- type BaltokencontractApprovalIterator
- type BaltokencontractCaller
- func (_Baltokencontract *BaltokencontractCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractCaller) BalanceOfAt(opts *bind.CallOpts, account common.Address, snapshotId *big.Int) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Baltokencontract *BaltokencontractCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_Baltokencontract *BaltokencontractCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Baltokencontract *BaltokencontractCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_Baltokencontract *BaltokencontractCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
- func (_Baltokencontract *BaltokencontractCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_Baltokencontract *BaltokencontractCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Baltokencontract *BaltokencontractCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Baltokencontract *BaltokencontractCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_Baltokencontract *BaltokencontractCaller) SNAPSHOTROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Baltokencontract *BaltokencontractCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Baltokencontract *BaltokencontractCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractCaller) TotalSupplyAt(opts *bind.CallOpts, snapshotId *big.Int) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractCaller) Version(opts *bind.CallOpts) (string, error)
- type BaltokencontractCallerRaw
- type BaltokencontractCallerSession
- func (_Baltokencontract *BaltokencontractCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractCallerSession) BalanceOfAt(account common.Address, snapshotId *big.Int) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Baltokencontract *BaltokencontractCallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_Baltokencontract *BaltokencontractCallerSession) Decimals() (uint8, error)
- func (_Baltokencontract *BaltokencontractCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Baltokencontract *BaltokencontractCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_Baltokencontract *BaltokencontractCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Baltokencontract *BaltokencontractCallerSession) MINTERROLE() ([32]byte, error)
- func (_Baltokencontract *BaltokencontractCallerSession) Name() (string, error)
- func (_Baltokencontract *BaltokencontractCallerSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractCallerSession) PERMITTYPEHASH() ([32]byte, error)
- func (_Baltokencontract *BaltokencontractCallerSession) SNAPSHOTROLE() ([32]byte, error)
- func (_Baltokencontract *BaltokencontractCallerSession) Symbol() (string, error)
- func (_Baltokencontract *BaltokencontractCallerSession) TotalSupply() (*big.Int, error)
- func (_Baltokencontract *BaltokencontractCallerSession) TotalSupplyAt(snapshotId *big.Int) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractCallerSession) Version() (string, error)
- type BaltokencontractFilterer
- func (_Baltokencontract *BaltokencontractFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BaltokencontractApprovalIterator, error)
- func (_Baltokencontract *BaltokencontractFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*BaltokencontractRoleGrantedIterator, error)
- func (_Baltokencontract *BaltokencontractFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*BaltokencontractRoleRevokedIterator, error)
- func (_Baltokencontract *BaltokencontractFilterer) FilterSnapshot(opts *bind.FilterOpts) (*BaltokencontractSnapshotIterator, error)
- func (_Baltokencontract *BaltokencontractFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BaltokencontractTransferIterator, error)
- func (_Baltokencontract *BaltokencontractFilterer) ParseApproval(log types.Log) (*BaltokencontractApproval, error)
- func (_Baltokencontract *BaltokencontractFilterer) ParseRoleGranted(log types.Log) (*BaltokencontractRoleGranted, error)
- func (_Baltokencontract *BaltokencontractFilterer) ParseRoleRevoked(log types.Log) (*BaltokencontractRoleRevoked, error)
- func (_Baltokencontract *BaltokencontractFilterer) ParseSnapshot(log types.Log) (*BaltokencontractSnapshot, error)
- func (_Baltokencontract *BaltokencontractFilterer) ParseTransfer(log types.Log) (*BaltokencontractTransfer, error)
- func (_Baltokencontract *BaltokencontractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BaltokencontractApproval, ...) (event.Subscription, error)
- func (_Baltokencontract *BaltokencontractFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *BaltokencontractRoleGranted, ...) (event.Subscription, error)
- func (_Baltokencontract *BaltokencontractFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *BaltokencontractRoleRevoked, ...) (event.Subscription, error)
- func (_Baltokencontract *BaltokencontractFilterer) WatchSnapshot(opts *bind.WatchOpts, sink chan<- *BaltokencontractSnapshot) (event.Subscription, error)
- func (_Baltokencontract *BaltokencontractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BaltokencontractTransfer, ...) (event.Subscription, error)
- type BaltokencontractRaw
- func (_Baltokencontract *BaltokencontractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Baltokencontract *BaltokencontractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BaltokencontractRoleGranted
- type BaltokencontractRoleGrantedIterator
- type BaltokencontractRoleRevoked
- type BaltokencontractRoleRevokedIterator
- type BaltokencontractSession
- func (_Baltokencontract *BaltokencontractSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractSession) BalanceOfAt(account common.Address, snapshotId *big.Int) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Baltokencontract *BaltokencontractSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_Baltokencontract *BaltokencontractSession) Decimals() (uint8, error)
- func (_Baltokencontract *BaltokencontractSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Baltokencontract *BaltokencontractSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_Baltokencontract *BaltokencontractSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Baltokencontract *BaltokencontractSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractSession) MINTERROLE() ([32]byte, error)
- func (_Baltokencontract *BaltokencontractSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractSession) Name() (string, error)
- func (_Baltokencontract *BaltokencontractSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractSession) PERMITTYPEHASH() ([32]byte, error)
- func (_Baltokencontract *BaltokencontractSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractSession) SNAPSHOTROLE() ([32]byte, error)
- func (_Baltokencontract *BaltokencontractSession) Snapshot() (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractSession) Symbol() (string, error)
- func (_Baltokencontract *BaltokencontractSession) TotalSupply() (*big.Int, error)
- func (_Baltokencontract *BaltokencontractSession) TotalSupplyAt(snapshotId *big.Int) (*big.Int, error)
- func (_Baltokencontract *BaltokencontractSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractSession) Version() (string, error)
- type BaltokencontractSnapshot
- type BaltokencontractSnapshotIterator
- type BaltokencontractTransactor
- func (_Baltokencontract *BaltokencontractTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactor) Snapshot(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type BaltokencontractTransactorRaw
- type BaltokencontractTransactorSession
- func (_Baltokencontract *BaltokencontractTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactorSession) Snapshot() (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Baltokencontract *BaltokencontractTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type BaltokencontractTransfer
- type BaltokencontractTransferIterator
Constants ¶
const BaltokencontractABI = "" /* 9736-byte string literal not displayed */
BaltokencontractABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Baltokencontract ¶
type Baltokencontract struct { BaltokencontractCaller // Read-only binding to the contract BaltokencontractTransactor // Write-only binding to the contract BaltokencontractFilterer // Log filterer for contract events }
Baltokencontract is an auto generated Go binding around an Ethereum contract.
func NewBaltokencontract ¶
func NewBaltokencontract(address common.Address, backend bind.ContractBackend) (*Baltokencontract, error)
NewBaltokencontract creates a new instance of Baltokencontract, bound to a specific deployed contract.
type BaltokencontractApproval ¶
type BaltokencontractApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BaltokencontractApproval represents a Approval event raised by the Baltokencontract contract.
type BaltokencontractApprovalIterator ¶
type BaltokencontractApprovalIterator struct { Event *BaltokencontractApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BaltokencontractApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Baltokencontract contract.
func (*BaltokencontractApprovalIterator) Close ¶
func (it *BaltokencontractApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BaltokencontractApprovalIterator) Error ¶
func (it *BaltokencontractApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BaltokencontractApprovalIterator) Next ¶
func (it *BaltokencontractApprovalIterator) 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 BaltokencontractCaller ¶
type BaltokencontractCaller struct {
// contains filtered or unexported fields
}
BaltokencontractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBaltokencontractCaller ¶
func NewBaltokencontractCaller(address common.Address, caller bind.ContractCaller) (*BaltokencontractCaller, error)
NewBaltokencontractCaller creates a new read-only instance of Baltokencontract, bound to a specific deployed contract.
func (*BaltokencontractCaller) Allowance ¶
func (_Baltokencontract *BaltokencontractCaller) 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 (*BaltokencontractCaller) BalanceOf ¶
func (_Baltokencontract *BaltokencontractCaller) 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 (*BaltokencontractCaller) BalanceOfAt ¶
func (_Baltokencontract *BaltokencontractCaller) BalanceOfAt(opts *bind.CallOpts, account common.Address, snapshotId *big.Int) (*big.Int, error)
BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.
Solidity: function balanceOfAt(address account, uint256 snapshotId) view returns(uint256)
func (*BaltokencontractCaller) DEFAULTADMINROLE ¶
func (_Baltokencontract *BaltokencontractCaller) 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 (*BaltokencontractCaller) DOMAINSEPARATOR ¶
func (_Baltokencontract *BaltokencontractCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*BaltokencontractCaller) Decimals ¶
func (_Baltokencontract *BaltokencontractCaller) 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 (*BaltokencontractCaller) GetRoleAdmin ¶
func (_Baltokencontract *BaltokencontractCaller) 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 (*BaltokencontractCaller) GetRoleMember ¶
func (_Baltokencontract *BaltokencontractCaller) 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 (*BaltokencontractCaller) GetRoleMemberCount ¶
func (_Baltokencontract *BaltokencontractCaller) 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 (*BaltokencontractCaller) HasRole ¶
func (_Baltokencontract *BaltokencontractCaller) 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 (*BaltokencontractCaller) MINTERROLE ¶
func (_Baltokencontract *BaltokencontractCaller) 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 (*BaltokencontractCaller) Name ¶
func (_Baltokencontract *BaltokencontractCaller) 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 (*BaltokencontractCaller) Nonces ¶
func (_Baltokencontract *BaltokencontractCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*BaltokencontractCaller) PERMITTYPEHASH ¶
func (_Baltokencontract *BaltokencontractCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*BaltokencontractCaller) SNAPSHOTROLE ¶
func (_Baltokencontract *BaltokencontractCaller) SNAPSHOTROLE(opts *bind.CallOpts) ([32]byte, error)
SNAPSHOTROLE is a free data retrieval call binding the contract method 0x7028e2cd.
Solidity: function SNAPSHOT_ROLE() view returns(bytes32)
func (*BaltokencontractCaller) Symbol ¶
func (_Baltokencontract *BaltokencontractCaller) 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 (*BaltokencontractCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BaltokencontractCaller) TotalSupplyAt ¶
func (_Baltokencontract *BaltokencontractCaller) TotalSupplyAt(opts *bind.CallOpts, snapshotId *big.Int) (*big.Int, error)
TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.
Solidity: function totalSupplyAt(uint256 snapshotId) view returns(uint256)
type BaltokencontractCallerRaw ¶
type BaltokencontractCallerRaw struct {
Contract *BaltokencontractCaller // Generic read-only contract binding to access the raw methods on
}
BaltokencontractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BaltokencontractCallerRaw) Call ¶
func (_Baltokencontract *BaltokencontractCallerRaw) 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 BaltokencontractCallerSession ¶
type BaltokencontractCallerSession struct { Contract *BaltokencontractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BaltokencontractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BaltokencontractCallerSession) Allowance ¶
func (_Baltokencontract *BaltokencontractCallerSession) 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 (*BaltokencontractCallerSession) BalanceOf ¶
func (_Baltokencontract *BaltokencontractCallerSession) 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 (*BaltokencontractCallerSession) BalanceOfAt ¶
func (_Baltokencontract *BaltokencontractCallerSession) BalanceOfAt(account common.Address, snapshotId *big.Int) (*big.Int, error)
BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.
Solidity: function balanceOfAt(address account, uint256 snapshotId) view returns(uint256)
func (*BaltokencontractCallerSession) DEFAULTADMINROLE ¶
func (_Baltokencontract *BaltokencontractCallerSession) 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 (*BaltokencontractCallerSession) DOMAINSEPARATOR ¶
func (_Baltokencontract *BaltokencontractCallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*BaltokencontractCallerSession) Decimals ¶
func (_Baltokencontract *BaltokencontractCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*BaltokencontractCallerSession) GetRoleAdmin ¶
func (_Baltokencontract *BaltokencontractCallerSession) 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 (*BaltokencontractCallerSession) GetRoleMember ¶
func (_Baltokencontract *BaltokencontractCallerSession) 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 (*BaltokencontractCallerSession) GetRoleMemberCount ¶
func (_Baltokencontract *BaltokencontractCallerSession) 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 (*BaltokencontractCallerSession) HasRole ¶
func (_Baltokencontract *BaltokencontractCallerSession) 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 (*BaltokencontractCallerSession) MINTERROLE ¶
func (_Baltokencontract *BaltokencontractCallerSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*BaltokencontractCallerSession) Name ¶
func (_Baltokencontract *BaltokencontractCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BaltokencontractCallerSession) Nonces ¶
func (_Baltokencontract *BaltokencontractCallerSession) Nonces(arg0 common.Address) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*BaltokencontractCallerSession) PERMITTYPEHASH ¶
func (_Baltokencontract *BaltokencontractCallerSession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*BaltokencontractCallerSession) SNAPSHOTROLE ¶
func (_Baltokencontract *BaltokencontractCallerSession) SNAPSHOTROLE() ([32]byte, error)
SNAPSHOTROLE is a free data retrieval call binding the contract method 0x7028e2cd.
Solidity: function SNAPSHOT_ROLE() view returns(bytes32)
func (*BaltokencontractCallerSession) Symbol ¶
func (_Baltokencontract *BaltokencontractCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BaltokencontractCallerSession) TotalSupply ¶
func (_Baltokencontract *BaltokencontractCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BaltokencontractCallerSession) TotalSupplyAt ¶
func (_Baltokencontract *BaltokencontractCallerSession) TotalSupplyAt(snapshotId *big.Int) (*big.Int, error)
TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.
Solidity: function totalSupplyAt(uint256 snapshotId) view returns(uint256)
func (*BaltokencontractCallerSession) Version ¶
func (_Baltokencontract *BaltokencontractCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type BaltokencontractFilterer ¶
type BaltokencontractFilterer struct {
// contains filtered or unexported fields
}
BaltokencontractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBaltokencontractFilterer ¶
func NewBaltokencontractFilterer(address common.Address, filterer bind.ContractFilterer) (*BaltokencontractFilterer, error)
NewBaltokencontractFilterer creates a new log filterer instance of Baltokencontract, bound to a specific deployed contract.
func (*BaltokencontractFilterer) FilterApproval ¶
func (_Baltokencontract *BaltokencontractFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BaltokencontractApprovalIterator, 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 (*BaltokencontractFilterer) FilterRoleGranted ¶
func (_Baltokencontract *BaltokencontractFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*BaltokencontractRoleGrantedIterator, 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 (*BaltokencontractFilterer) FilterRoleRevoked ¶
func (_Baltokencontract *BaltokencontractFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*BaltokencontractRoleRevokedIterator, 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 (*BaltokencontractFilterer) FilterSnapshot ¶
func (_Baltokencontract *BaltokencontractFilterer) FilterSnapshot(opts *bind.FilterOpts) (*BaltokencontractSnapshotIterator, error)
FilterSnapshot is a free log retrieval operation binding the contract event 0x8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67.
Solidity: event Snapshot(uint256 id)
func (*BaltokencontractFilterer) FilterTransfer ¶
func (_Baltokencontract *BaltokencontractFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BaltokencontractTransferIterator, 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 (*BaltokencontractFilterer) ParseApproval ¶
func (_Baltokencontract *BaltokencontractFilterer) ParseApproval(log types.Log) (*BaltokencontractApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*BaltokencontractFilterer) ParseRoleGranted ¶
func (_Baltokencontract *BaltokencontractFilterer) ParseRoleGranted(log types.Log) (*BaltokencontractRoleGranted, 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 (*BaltokencontractFilterer) ParseRoleRevoked ¶
func (_Baltokencontract *BaltokencontractFilterer) ParseRoleRevoked(log types.Log) (*BaltokencontractRoleRevoked, 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 (*BaltokencontractFilterer) ParseSnapshot ¶
func (_Baltokencontract *BaltokencontractFilterer) ParseSnapshot(log types.Log) (*BaltokencontractSnapshot, error)
ParseSnapshot is a log parse operation binding the contract event 0x8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67.
Solidity: event Snapshot(uint256 id)
func (*BaltokencontractFilterer) ParseTransfer ¶
func (_Baltokencontract *BaltokencontractFilterer) ParseTransfer(log types.Log) (*BaltokencontractTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*BaltokencontractFilterer) WatchApproval ¶
func (_Baltokencontract *BaltokencontractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BaltokencontractApproval, 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 (*BaltokencontractFilterer) WatchRoleGranted ¶
func (_Baltokencontract *BaltokencontractFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *BaltokencontractRoleGranted, 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 (*BaltokencontractFilterer) WatchRoleRevoked ¶
func (_Baltokencontract *BaltokencontractFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *BaltokencontractRoleRevoked, 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 (*BaltokencontractFilterer) WatchSnapshot ¶
func (_Baltokencontract *BaltokencontractFilterer) WatchSnapshot(opts *bind.WatchOpts, sink chan<- *BaltokencontractSnapshot) (event.Subscription, error)
WatchSnapshot is a free log subscription operation binding the contract event 0x8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67.
Solidity: event Snapshot(uint256 id)
func (*BaltokencontractFilterer) WatchTransfer ¶
func (_Baltokencontract *BaltokencontractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BaltokencontractTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type BaltokencontractRaw ¶
type BaltokencontractRaw struct {
Contract *Baltokencontract // Generic contract binding to access the raw methods on
}
BaltokencontractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BaltokencontractRaw) Call ¶
func (_Baltokencontract *BaltokencontractRaw) 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 (*BaltokencontractRaw) Transact ¶
func (_Baltokencontract *BaltokencontractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BaltokencontractRaw) Transfer ¶
func (_Baltokencontract *BaltokencontractRaw) 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 BaltokencontractRoleGranted ¶
type BaltokencontractRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
BaltokencontractRoleGranted represents a RoleGranted event raised by the Baltokencontract contract.
type BaltokencontractRoleGrantedIterator ¶
type BaltokencontractRoleGrantedIterator struct { Event *BaltokencontractRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BaltokencontractRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Baltokencontract contract.
func (*BaltokencontractRoleGrantedIterator) Close ¶
func (it *BaltokencontractRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BaltokencontractRoleGrantedIterator) Error ¶
func (it *BaltokencontractRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BaltokencontractRoleGrantedIterator) Next ¶
func (it *BaltokencontractRoleGrantedIterator) 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 BaltokencontractRoleRevoked ¶
type BaltokencontractRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
BaltokencontractRoleRevoked represents a RoleRevoked event raised by the Baltokencontract contract.
type BaltokencontractRoleRevokedIterator ¶
type BaltokencontractRoleRevokedIterator struct { Event *BaltokencontractRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BaltokencontractRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Baltokencontract contract.
func (*BaltokencontractRoleRevokedIterator) Close ¶
func (it *BaltokencontractRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BaltokencontractRoleRevokedIterator) Error ¶
func (it *BaltokencontractRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BaltokencontractRoleRevokedIterator) Next ¶
func (it *BaltokencontractRoleRevokedIterator) 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 BaltokencontractSession ¶
type BaltokencontractSession struct { Contract *Baltokencontract // 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 }
BaltokencontractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BaltokencontractSession) Allowance ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) Approve ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) BalanceOf ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) BalanceOfAt ¶
func (_Baltokencontract *BaltokencontractSession) BalanceOfAt(account common.Address, snapshotId *big.Int) (*big.Int, error)
BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.
Solidity: function balanceOfAt(address account, uint256 snapshotId) view returns(uint256)
func (*BaltokencontractSession) Burn ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) BurnFrom ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) DEFAULTADMINROLE ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) DOMAINSEPARATOR ¶
func (_Baltokencontract *BaltokencontractSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*BaltokencontractSession) Decimals ¶
func (_Baltokencontract *BaltokencontractSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*BaltokencontractSession) DecreaseAllowance ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) GetRoleAdmin ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) GetRoleMember ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) GetRoleMemberCount ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) GrantRole ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) HasRole ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) IncreaseAllowance ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) MINTERROLE ¶
func (_Baltokencontract *BaltokencontractSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*BaltokencontractSession) Mint ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) Name ¶
func (_Baltokencontract *BaltokencontractSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BaltokencontractSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*BaltokencontractSession) PERMITTYPEHASH ¶
func (_Baltokencontract *BaltokencontractSession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*BaltokencontractSession) Permit ¶
func (_Baltokencontract *BaltokencontractSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*BaltokencontractSession) RenounceRole ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) RevokeRole ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) SNAPSHOTROLE ¶
func (_Baltokencontract *BaltokencontractSession) SNAPSHOTROLE() ([32]byte, error)
SNAPSHOTROLE is a free data retrieval call binding the contract method 0x7028e2cd.
Solidity: function SNAPSHOT_ROLE() view returns(bytes32)
func (*BaltokencontractSession) Snapshot ¶
func (_Baltokencontract *BaltokencontractSession) Snapshot() (*types.Transaction, error)
Snapshot is a paid mutator transaction binding the contract method 0x9711715a.
Solidity: function snapshot() returns()
func (*BaltokencontractSession) Symbol ¶
func (_Baltokencontract *BaltokencontractSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BaltokencontractSession) TotalSupply ¶
func (_Baltokencontract *BaltokencontractSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BaltokencontractSession) TotalSupplyAt ¶
func (_Baltokencontract *BaltokencontractSession) TotalSupplyAt(snapshotId *big.Int) (*big.Int, error)
TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.
Solidity: function totalSupplyAt(uint256 snapshotId) view returns(uint256)
func (*BaltokencontractSession) Transfer ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) TransferFrom ¶
func (_Baltokencontract *BaltokencontractSession) 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 (*BaltokencontractSession) Version ¶
func (_Baltokencontract *BaltokencontractSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type BaltokencontractSnapshot ¶
type BaltokencontractSnapshot struct { Id *big.Int Raw types.Log // Blockchain specific contextual infos }
BaltokencontractSnapshot represents a Snapshot event raised by the Baltokencontract contract.
type BaltokencontractSnapshotIterator ¶
type BaltokencontractSnapshotIterator struct { Event *BaltokencontractSnapshot // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BaltokencontractSnapshotIterator is returned from FilterSnapshot and is used to iterate over the raw logs and unpacked data for Snapshot events raised by the Baltokencontract contract.
func (*BaltokencontractSnapshotIterator) Close ¶
func (it *BaltokencontractSnapshotIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BaltokencontractSnapshotIterator) Error ¶
func (it *BaltokencontractSnapshotIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BaltokencontractSnapshotIterator) Next ¶
func (it *BaltokencontractSnapshotIterator) 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 BaltokencontractTransactor ¶
type BaltokencontractTransactor struct {
// contains filtered or unexported fields
}
BaltokencontractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBaltokencontractTransactor ¶
func NewBaltokencontractTransactor(address common.Address, transactor bind.ContractTransactor) (*BaltokencontractTransactor, error)
NewBaltokencontractTransactor creates a new write-only instance of Baltokencontract, bound to a specific deployed contract.
func (*BaltokencontractTransactor) Approve ¶
func (_Baltokencontract *BaltokencontractTransactor) 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 (*BaltokencontractTransactor) Burn ¶
func (_Baltokencontract *BaltokencontractTransactor) 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 (*BaltokencontractTransactor) BurnFrom ¶
func (_Baltokencontract *BaltokencontractTransactor) 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 (*BaltokencontractTransactor) DecreaseAllowance ¶
func (_Baltokencontract *BaltokencontractTransactor) 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 (*BaltokencontractTransactor) GrantRole ¶
func (_Baltokencontract *BaltokencontractTransactor) 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 (*BaltokencontractTransactor) IncreaseAllowance ¶
func (_Baltokencontract *BaltokencontractTransactor) 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 (*BaltokencontractTransactor) Mint ¶
func (_Baltokencontract *BaltokencontractTransactor) 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 (*BaltokencontractTransactor) Permit ¶
func (_Baltokencontract *BaltokencontractTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*BaltokencontractTransactor) RenounceRole ¶
func (_Baltokencontract *BaltokencontractTransactor) 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 (*BaltokencontractTransactor) RevokeRole ¶
func (_Baltokencontract *BaltokencontractTransactor) 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 (*BaltokencontractTransactor) Snapshot ¶
func (_Baltokencontract *BaltokencontractTransactor) Snapshot(opts *bind.TransactOpts) (*types.Transaction, error)
Snapshot is a paid mutator transaction binding the contract method 0x9711715a.
Solidity: function snapshot() returns()
func (*BaltokencontractTransactor) Transfer ¶
func (_Baltokencontract *BaltokencontractTransactor) 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 (*BaltokencontractTransactor) TransferFrom ¶
func (_Baltokencontract *BaltokencontractTransactor) 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)
type BaltokencontractTransactorRaw ¶
type BaltokencontractTransactorRaw struct {
Contract *BaltokencontractTransactor // Generic write-only contract binding to access the raw methods on
}
BaltokencontractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BaltokencontractTransactorRaw) Transact ¶
func (_Baltokencontract *BaltokencontractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BaltokencontractTransactorRaw) Transfer ¶
func (_Baltokencontract *BaltokencontractTransactorRaw) 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 BaltokencontractTransactorSession ¶
type BaltokencontractTransactorSession struct { Contract *BaltokencontractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BaltokencontractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BaltokencontractTransactorSession) Approve ¶
func (_Baltokencontract *BaltokencontractTransactorSession) 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 (*BaltokencontractTransactorSession) Burn ¶
func (_Baltokencontract *BaltokencontractTransactorSession) 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 (*BaltokencontractTransactorSession) BurnFrom ¶
func (_Baltokencontract *BaltokencontractTransactorSession) 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 (*BaltokencontractTransactorSession) DecreaseAllowance ¶
func (_Baltokencontract *BaltokencontractTransactorSession) 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 (*BaltokencontractTransactorSession) GrantRole ¶
func (_Baltokencontract *BaltokencontractTransactorSession) 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 (*BaltokencontractTransactorSession) IncreaseAllowance ¶
func (_Baltokencontract *BaltokencontractTransactorSession) 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 (*BaltokencontractTransactorSession) Mint ¶
func (_Baltokencontract *BaltokencontractTransactorSession) 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 (*BaltokencontractTransactorSession) Permit ¶
func (_Baltokencontract *BaltokencontractTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*BaltokencontractTransactorSession) RenounceRole ¶
func (_Baltokencontract *BaltokencontractTransactorSession) 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 (*BaltokencontractTransactorSession) RevokeRole ¶
func (_Baltokencontract *BaltokencontractTransactorSession) 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 (*BaltokencontractTransactorSession) Snapshot ¶
func (_Baltokencontract *BaltokencontractTransactorSession) Snapshot() (*types.Transaction, error)
Snapshot is a paid mutator transaction binding the contract method 0x9711715a.
Solidity: function snapshot() returns()
func (*BaltokencontractTransactorSession) Transfer ¶
func (_Baltokencontract *BaltokencontractTransactorSession) 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 (*BaltokencontractTransactorSession) TransferFrom ¶
func (_Baltokencontract *BaltokencontractTransactorSession) 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)
type BaltokencontractTransfer ¶
type BaltokencontractTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BaltokencontractTransfer represents a Transfer event raised by the Baltokencontract contract.
type BaltokencontractTransferIterator ¶
type BaltokencontractTransferIterator struct { Event *BaltokencontractTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BaltokencontractTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Baltokencontract contract.
func (*BaltokencontractTransferIterator) Close ¶
func (it *BaltokencontractTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BaltokencontractTransferIterator) Error ¶
func (it *BaltokencontractTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BaltokencontractTransferIterator) Next ¶
func (it *BaltokencontractTransferIterator) 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.