Documentation ¶
Index ¶
- Constants
- Variables
- type Approval
- func (*Approval) Descriptor() ([]byte, []int)deprecated
- func (x *Approval) GetOwner() []byte
- func (x *Approval) GetSpender() []byte
- func (x *Approval) GetTs() *timestamppb.Timestamp
- func (x *Approval) GetValue() []byte
- func (*Approval) ProtoMessage()
- func (x *Approval) ProtoReflect() protoreflect.Message
- func (x *Approval) Reset()
- func (x *Approval) String() string
- type BAL
- type BALApproval
- type BALApprovalIterator
- type BALCaller
- func (_BAL *BALCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_BAL *BALCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_BAL *BALCaller) BalanceOfAt(opts *bind.CallOpts, account common.Address, snapshotId *big.Int) (*big.Int, error)
- func (_BAL *BALCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_BAL *BALCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_BAL *BALCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_BAL *BALCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_BAL *BALCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
- func (_BAL *BALCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
- func (_BAL *BALCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_BAL *BALCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_BAL *BALCaller) Name(opts *bind.CallOpts) (string, error)
- func (_BAL *BALCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_BAL *BALCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_BAL *BALCaller) SNAPSHOTROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_BAL *BALCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_BAL *BALCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_BAL *BALCaller) TotalSupplyAt(opts *bind.CallOpts, snapshotId *big.Int) (*big.Int, error)
- func (_BAL *BALCaller) Version(opts *bind.CallOpts) (string, error)
- type BALCallerRaw
- type BALCallerSession
- func (_BAL *BALCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_BAL *BALCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_BAL *BALCallerSession) BalanceOfAt(account common.Address, snapshotId *big.Int) (*big.Int, error)
- func (_BAL *BALCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_BAL *BALCallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_BAL *BALCallerSession) Decimals() (uint8, error)
- func (_BAL *BALCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_BAL *BALCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_BAL *BALCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_BAL *BALCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_BAL *BALCallerSession) MINTERROLE() ([32]byte, error)
- func (_BAL *BALCallerSession) Name() (string, error)
- func (_BAL *BALCallerSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_BAL *BALCallerSession) PERMITTYPEHASH() ([32]byte, error)
- func (_BAL *BALCallerSession) SNAPSHOTROLE() ([32]byte, error)
- func (_BAL *BALCallerSession) Symbol() (string, error)
- func (_BAL *BALCallerSession) TotalSupply() (*big.Int, error)
- func (_BAL *BALCallerSession) TotalSupplyAt(snapshotId *big.Int) (*big.Int, error)
- func (_BAL *BALCallerSession) Version() (string, error)
- type BALFilterer
- func (_BAL *BALFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BALApprovalIterator, error)
- func (_BAL *BALFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*BALRoleGrantedIterator, error)
- func (_BAL *BALFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*BALRoleRevokedIterator, error)
- func (_BAL *BALFilterer) FilterSnapshot(opts *bind.FilterOpts) (*BALSnapshotIterator, error)
- func (_BAL *BALFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BALTransferIterator, error)
- func (_BAL *BALFilterer) ParseApproval(log types.Log) (*BALApproval, error)
- func (_BAL *BALFilterer) ParseRoleGranted(log types.Log) (*BALRoleGranted, error)
- func (_BAL *BALFilterer) ParseRoleRevoked(log types.Log) (*BALRoleRevoked, error)
- func (_BAL *BALFilterer) ParseSnapshot(log types.Log) (*BALSnapshot, error)
- func (_BAL *BALFilterer) ParseTransfer(log types.Log) (*BALTransfer, error)
- func (_BAL *BALFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BALApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_BAL *BALFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *BALRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_BAL *BALFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *BALRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- func (_BAL *BALFilterer) WatchSnapshot(opts *bind.WatchOpts, sink chan<- *BALSnapshot) (event.Subscription, error)
- func (_BAL *BALFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BALTransfer, from []common.Address, ...) (event.Subscription, error)
- type BALRaw
- type BALRoleGranted
- type BALRoleGrantedIterator
- type BALRoleRevoked
- type BALRoleRevokedIterator
- type BALSession
- func (_BAL *BALSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_BAL *BALSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BAL *BALSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_BAL *BALSession) BalanceOfAt(account common.Address, snapshotId *big.Int) (*big.Int, error)
- func (_BAL *BALSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_BAL *BALSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BAL *BALSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_BAL *BALSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_BAL *BALSession) Decimals() (uint8, error)
- func (_BAL *BALSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_BAL *BALSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_BAL *BALSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_BAL *BALSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_BAL *BALSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BAL *BALSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_BAL *BALSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_BAL *BALSession) MINTERROLE() ([32]byte, error)
- func (_BAL *BALSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BAL *BALSession) Name() (string, error)
- func (_BAL *BALSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_BAL *BALSession) PERMITTYPEHASH() ([32]byte, error)
- func (_BAL *BALSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_BAL *BALSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BAL *BALSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BAL *BALSession) SNAPSHOTROLE() ([32]byte, error)
- func (_BAL *BALSession) Snapshot() (*types.Transaction, error)
- func (_BAL *BALSession) Symbol() (string, error)
- func (_BAL *BALSession) TotalSupply() (*big.Int, error)
- func (_BAL *BALSession) TotalSupplyAt(snapshotId *big.Int) (*big.Int, error)
- func (_BAL *BALSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BAL *BALSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BAL *BALSession) Version() (string, error)
- type BALSnapshot
- type BALSnapshotIterator
- type BALTransactor
- func (_BAL *BALTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BAL *BALTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_BAL *BALTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BAL *BALTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_BAL *BALTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BAL *BALTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_BAL *BALTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BAL *BALTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_BAL *BALTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BAL *BALTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BAL *BALTransactor) Snapshot(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_BAL *BALTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BAL *BALTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type BALTransactorRaw
- type BALTransactorSession
- func (_BAL *BALTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BAL *BALTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_BAL *BALTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BAL *BALTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_BAL *BALTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BAL *BALTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_BAL *BALTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BAL *BALTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_BAL *BALTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BAL *BALTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BAL *BALTransactorSession) Snapshot() (*types.Transaction, error)
- func (_BAL *BALTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BAL *BALTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type BALTransfer
- type BALTransferIterator
- type RoleGranted
- func (*RoleGranted) Descriptor() ([]byte, []int)deprecated
- func (x *RoleGranted) GetAccount() []byte
- func (x *RoleGranted) GetRole() []byte
- func (x *RoleGranted) GetSender() []byte
- func (x *RoleGranted) GetTs() *timestamppb.Timestamp
- func (*RoleGranted) ProtoMessage()
- func (x *RoleGranted) ProtoReflect() protoreflect.Message
- func (x *RoleGranted) Reset()
- func (x *RoleGranted) String() string
- type RoleRevoked
- func (*RoleRevoked) Descriptor() ([]byte, []int)deprecated
- func (x *RoleRevoked) GetAccount() []byte
- func (x *RoleRevoked) GetRole() []byte
- func (x *RoleRevoked) GetSender() []byte
- func (x *RoleRevoked) GetTs() *timestamppb.Timestamp
- func (*RoleRevoked) ProtoMessage()
- func (x *RoleRevoked) ProtoReflect() protoreflect.Message
- func (x *RoleRevoked) Reset()
- func (x *RoleRevoked) String() string
- type SmartContract
- type Snapshot
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)deprecated
- func (x *Transfer) GetFrom() []byte
- func (x *Transfer) GetTo() []byte
- func (x *Transfer) GetTs() *timestamppb.Timestamp
- func (x *Transfer) GetValue() []byte
- func (*Transfer) ProtoMessage()
- func (x *Transfer) ProtoReflect() protoreflect.Message
- func (x *Transfer) Reset()
- func (x *Transfer) String() string
Constants ¶
const BALABI = "" /* 9736-byte string literal not displayed */
BALABI is the input ABI used to generate the binding from.
Variables ¶
var File_Bal_Bal_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Approval ¶
type Approval struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Owner []byte `protobuf:"bytes,2,opt,name=Owner,proto3" json:"Owner,omitempty"` // address Spender []byte `protobuf:"bytes,3,opt,name=Spender,proto3" json:"Spender,omitempty"` // address Value []byte `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"` // uint256 // contains filtered or unexported fields }
func (*Approval) Descriptor
deprecated
func (*Approval) GetSpender ¶
func (*Approval) GetTs ¶
func (x *Approval) GetTs() *timestamppb.Timestamp
func (*Approval) ProtoMessage ¶
func (*Approval) ProtoMessage()
func (*Approval) ProtoReflect ¶
func (x *Approval) ProtoReflect() protoreflect.Message
type BAL ¶
type BAL struct { BALCaller // Read-only binding to the contract BALTransactor // Write-only binding to the contract BALFilterer // Log filterer for contract events }
BAL is an auto generated Go binding around an Ethereum contract.
type BALApproval ¶
type BALApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BALApproval represents a Approval event raised by the BAL contract.
type BALApprovalIterator ¶
type BALApprovalIterator struct { Event *BALApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BALApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the BAL contract.
func (*BALApprovalIterator) Close ¶
func (it *BALApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BALApprovalIterator) Error ¶
func (it *BALApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BALApprovalIterator) Next ¶
func (it *BALApprovalIterator) 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 BALCaller ¶
type BALCaller struct {
// contains filtered or unexported fields
}
BALCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBALCaller ¶
NewBALCaller creates a new read-only instance of BAL, bound to a specific deployed contract.
func (*BALCaller) Allowance ¶
func (_BAL *BALCaller) 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 (*BALCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*BALCaller) BalanceOfAt ¶
func (_BAL *BALCaller) 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 (*BALCaller) DEFAULTADMINROLE ¶
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*BALCaller) DOMAINSEPARATOR ¶
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*BALCaller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*BALCaller) GetRoleAdmin ¶
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*BALCaller) GetRoleMember ¶
func (_BAL *BALCaller) 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 (*BALCaller) GetRoleMemberCount ¶
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*BALCaller) HasRole ¶
func (_BAL *BALCaller) 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 (*BALCaller) MINTERROLE ¶
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*BALCaller) Name ¶
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BALCaller) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*BALCaller) PERMITTYPEHASH ¶
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*BALCaller) SNAPSHOTROLE ¶
SNAPSHOTROLE is a free data retrieval call binding the contract method 0x7028e2cd.
Solidity: function SNAPSHOT_ROLE() view returns(bytes32)
func (*BALCaller) Symbol ¶
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BALCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BALCaller) TotalSupplyAt ¶
TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.
Solidity: function totalSupplyAt(uint256 snapshotId) view returns(uint256)
type BALCallerRaw ¶
type BALCallerRaw struct {
Contract *BALCaller // Generic read-only contract binding to access the raw methods on
}
BALCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BALCallerRaw) Call ¶
func (_BAL *BALCallerRaw) 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 BALCallerSession ¶
type BALCallerSession struct { Contract *BALCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BALCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BALCallerSession) Allowance ¶
func (_BAL *BALCallerSession) 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 (*BALCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*BALCallerSession) BalanceOfAt ¶
func (_BAL *BALCallerSession) 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 (*BALCallerSession) DEFAULTADMINROLE ¶
func (_BAL *BALCallerSession) 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 (*BALCallerSession) DOMAINSEPARATOR ¶
func (_BAL *BALCallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*BALCallerSession) Decimals ¶
func (_BAL *BALCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*BALCallerSession) GetRoleAdmin ¶
func (_BAL *BALCallerSession) 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 (*BALCallerSession) GetRoleMember ¶
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*BALCallerSession) GetRoleMemberCount ¶
func (_BAL *BALCallerSession) 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 (*BALCallerSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*BALCallerSession) MINTERROLE ¶
func (_BAL *BALCallerSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*BALCallerSession) Name ¶
func (_BAL *BALCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BALCallerSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*BALCallerSession) PERMITTYPEHASH ¶
func (_BAL *BALCallerSession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*BALCallerSession) SNAPSHOTROLE ¶
func (_BAL *BALCallerSession) SNAPSHOTROLE() ([32]byte, error)
SNAPSHOTROLE is a free data retrieval call binding the contract method 0x7028e2cd.
Solidity: function SNAPSHOT_ROLE() view returns(bytes32)
func (*BALCallerSession) Symbol ¶
func (_BAL *BALCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BALCallerSession) TotalSupply ¶
func (_BAL *BALCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BALCallerSession) TotalSupplyAt ¶
TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.
Solidity: function totalSupplyAt(uint256 snapshotId) view returns(uint256)
func (*BALCallerSession) Version ¶
func (_BAL *BALCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type BALFilterer ¶
type BALFilterer struct {
// contains filtered or unexported fields
}
BALFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBALFilterer ¶
func NewBALFilterer(address common.Address, filterer bind.ContractFilterer) (*BALFilterer, error)
NewBALFilterer creates a new log filterer instance of BAL, bound to a specific deployed contract.
func (*BALFilterer) FilterApproval ¶
func (_BAL *BALFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BALApprovalIterator, 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 (*BALFilterer) FilterRoleGranted ¶
func (_BAL *BALFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*BALRoleGrantedIterator, 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 (*BALFilterer) FilterRoleRevoked ¶
func (_BAL *BALFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*BALRoleRevokedIterator, 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 (*BALFilterer) FilterSnapshot ¶
func (_BAL *BALFilterer) FilterSnapshot(opts *bind.FilterOpts) (*BALSnapshotIterator, error)
FilterSnapshot is a free log retrieval operation binding the contract event 0x8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67.
Solidity: event Snapshot(uint256 id)
func (*BALFilterer) FilterTransfer ¶
func (_BAL *BALFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BALTransferIterator, 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 (*BALFilterer) ParseApproval ¶
func (_BAL *BALFilterer) ParseApproval(log types.Log) (*BALApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*BALFilterer) ParseRoleGranted ¶
func (_BAL *BALFilterer) ParseRoleGranted(log types.Log) (*BALRoleGranted, 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 (*BALFilterer) ParseRoleRevoked ¶
func (_BAL *BALFilterer) ParseRoleRevoked(log types.Log) (*BALRoleRevoked, 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 (*BALFilterer) ParseSnapshot ¶
func (_BAL *BALFilterer) ParseSnapshot(log types.Log) (*BALSnapshot, error)
ParseSnapshot is a log parse operation binding the contract event 0x8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67.
Solidity: event Snapshot(uint256 id)
func (*BALFilterer) ParseTransfer ¶
func (_BAL *BALFilterer) ParseTransfer(log types.Log) (*BALTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*BALFilterer) WatchApproval ¶
func (_BAL *BALFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BALApproval, 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 (*BALFilterer) WatchRoleGranted ¶
func (_BAL *BALFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *BALRoleGranted, 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 (*BALFilterer) WatchRoleRevoked ¶
func (_BAL *BALFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *BALRoleRevoked, 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 (*BALFilterer) WatchSnapshot ¶
func (_BAL *BALFilterer) WatchSnapshot(opts *bind.WatchOpts, sink chan<- *BALSnapshot) (event.Subscription, error)
WatchSnapshot is a free log subscription operation binding the contract event 0x8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67.
Solidity: event Snapshot(uint256 id)
func (*BALFilterer) WatchTransfer ¶
func (_BAL *BALFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BALTransfer, 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 BALRaw ¶
type BALRaw struct {
Contract *BAL // Generic contract binding to access the raw methods on
}
BALRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BALRaw) Call ¶
func (_BAL *BALRaw) 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 (*BALRaw) Transact ¶
func (_BAL *BALRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BALRaw) Transfer ¶
func (_BAL *BALRaw) 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 BALRoleGranted ¶
type BALRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
BALRoleGranted represents a RoleGranted event raised by the BAL contract.
type BALRoleGrantedIterator ¶
type BALRoleGrantedIterator struct { Event *BALRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BALRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the BAL contract.
func (*BALRoleGrantedIterator) Close ¶
func (it *BALRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BALRoleGrantedIterator) Error ¶
func (it *BALRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BALRoleGrantedIterator) Next ¶
func (it *BALRoleGrantedIterator) 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 BALRoleRevoked ¶
type BALRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
BALRoleRevoked represents a RoleRevoked event raised by the BAL contract.
type BALRoleRevokedIterator ¶
type BALRoleRevokedIterator struct { Event *BALRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BALRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the BAL contract.
func (*BALRoleRevokedIterator) Close ¶
func (it *BALRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BALRoleRevokedIterator) Error ¶
func (it *BALRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BALRoleRevokedIterator) Next ¶
func (it *BALRoleRevokedIterator) 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 BALSession ¶
type BALSession struct { Contract *BAL // 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 }
BALSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BALSession) Allowance ¶
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*BALSession) Approve ¶
func (_BAL *BALSession) 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 (*BALSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*BALSession) BalanceOfAt ¶
BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.
Solidity: function balanceOfAt(address account, uint256 snapshotId) view returns(uint256)
func (*BALSession) Burn ¶
func (_BAL *BALSession) 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 (*BALSession) BurnFrom ¶
func (_BAL *BALSession) 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 (*BALSession) DEFAULTADMINROLE ¶
func (_BAL *BALSession) 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 (*BALSession) DOMAINSEPARATOR ¶
func (_BAL *BALSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*BALSession) Decimals ¶
func (_BAL *BALSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*BALSession) DecreaseAllowance ¶
func (_BAL *BALSession) 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 (*BALSession) GetRoleAdmin ¶
func (_BAL *BALSession) 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 (*BALSession) GetRoleMember ¶
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*BALSession) GetRoleMemberCount ¶
func (_BAL *BALSession) 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 (*BALSession) GrantRole ¶
func (_BAL *BALSession) 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 (*BALSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*BALSession) IncreaseAllowance ¶
func (_BAL *BALSession) 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 (*BALSession) MINTERROLE ¶
func (_BAL *BALSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*BALSession) Mint ¶
func (_BAL *BALSession) 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 (*BALSession) Name ¶
func (_BAL *BALSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BALSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*BALSession) PERMITTYPEHASH ¶
func (_BAL *BALSession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*BALSession) Permit ¶
func (_BAL *BALSession) 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 (*BALSession) RenounceRole ¶
func (_BAL *BALSession) 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 (*BALSession) RevokeRole ¶
func (_BAL *BALSession) 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 (*BALSession) SNAPSHOTROLE ¶
func (_BAL *BALSession) SNAPSHOTROLE() ([32]byte, error)
SNAPSHOTROLE is a free data retrieval call binding the contract method 0x7028e2cd.
Solidity: function SNAPSHOT_ROLE() view returns(bytes32)
func (*BALSession) Snapshot ¶
func (_BAL *BALSession) Snapshot() (*types.Transaction, error)
Snapshot is a paid mutator transaction binding the contract method 0x9711715a.
Solidity: function snapshot() returns()
func (*BALSession) Symbol ¶
func (_BAL *BALSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BALSession) TotalSupply ¶
func (_BAL *BALSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BALSession) TotalSupplyAt ¶
TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.
Solidity: function totalSupplyAt(uint256 snapshotId) view returns(uint256)
func (*BALSession) Transfer ¶
func (_BAL *BALSession) 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 (*BALSession) TransferFrom ¶
func (_BAL *BALSession) 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 (*BALSession) Version ¶
func (_BAL *BALSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type BALSnapshot ¶
BALSnapshot represents a Snapshot event raised by the BAL contract.
type BALSnapshotIterator ¶
type BALSnapshotIterator struct { Event *BALSnapshot // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BALSnapshotIterator is returned from FilterSnapshot and is used to iterate over the raw logs and unpacked data for Snapshot events raised by the BAL contract.
func (*BALSnapshotIterator) Close ¶
func (it *BALSnapshotIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BALSnapshotIterator) Error ¶
func (it *BALSnapshotIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BALSnapshotIterator) Next ¶
func (it *BALSnapshotIterator) 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 BALTransactor ¶
type BALTransactor struct {
// contains filtered or unexported fields
}
BALTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBALTransactor ¶
func NewBALTransactor(address common.Address, transactor bind.ContractTransactor) (*BALTransactor, error)
NewBALTransactor creates a new write-only instance of BAL, bound to a specific deployed contract.
func (*BALTransactor) Approve ¶
func (_BAL *BALTransactor) 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 (*BALTransactor) Burn ¶
func (_BAL *BALTransactor) 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 (*BALTransactor) BurnFrom ¶
func (_BAL *BALTransactor) 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 (*BALTransactor) DecreaseAllowance ¶
func (_BAL *BALTransactor) 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 (*BALTransactor) GrantRole ¶
func (_BAL *BALTransactor) 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 (*BALTransactor) IncreaseAllowance ¶
func (_BAL *BALTransactor) 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 (*BALTransactor) Mint ¶
func (_BAL *BALTransactor) 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 (*BALTransactor) Permit ¶
func (_BAL *BALTransactor) 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 (*BALTransactor) RenounceRole ¶
func (_BAL *BALTransactor) 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 (*BALTransactor) RevokeRole ¶
func (_BAL *BALTransactor) 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 (*BALTransactor) Snapshot ¶
func (_BAL *BALTransactor) Snapshot(opts *bind.TransactOpts) (*types.Transaction, error)
Snapshot is a paid mutator transaction binding the contract method 0x9711715a.
Solidity: function snapshot() returns()
func (*BALTransactor) Transfer ¶
func (_BAL *BALTransactor) 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 (*BALTransactor) TransferFrom ¶
func (_BAL *BALTransactor) 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 BALTransactorRaw ¶
type BALTransactorRaw struct {
Contract *BALTransactor // Generic write-only contract binding to access the raw methods on
}
BALTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BALTransactorRaw) Transact ¶
func (_BAL *BALTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BALTransactorRaw) Transfer ¶
func (_BAL *BALTransactorRaw) 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 BALTransactorSession ¶
type BALTransactorSession struct { Contract *BALTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BALTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BALTransactorSession) Approve ¶
func (_BAL *BALTransactorSession) 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 (*BALTransactorSession) Burn ¶
func (_BAL *BALTransactorSession) 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 (*BALTransactorSession) BurnFrom ¶
func (_BAL *BALTransactorSession) 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 (*BALTransactorSession) DecreaseAllowance ¶
func (_BAL *BALTransactorSession) 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 (*BALTransactorSession) GrantRole ¶
func (_BAL *BALTransactorSession) 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 (*BALTransactorSession) IncreaseAllowance ¶
func (_BAL *BALTransactorSession) 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 (*BALTransactorSession) Mint ¶
func (_BAL *BALTransactorSession) 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 (*BALTransactorSession) Permit ¶
func (_BAL *BALTransactorSession) 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 (*BALTransactorSession) RenounceRole ¶
func (_BAL *BALTransactorSession) 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 (*BALTransactorSession) RevokeRole ¶
func (_BAL *BALTransactorSession) 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 (*BALTransactorSession) Snapshot ¶
func (_BAL *BALTransactorSession) Snapshot() (*types.Transaction, error)
Snapshot is a paid mutator transaction binding the contract method 0x9711715a.
Solidity: function snapshot() returns()
func (*BALTransactorSession) Transfer ¶
func (_BAL *BALTransactorSession) 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 (*BALTransactorSession) TransferFrom ¶
func (_BAL *BALTransactorSession) 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 BALTransfer ¶
type BALTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BALTransfer represents a Transfer event raised by the BAL contract.
type BALTransferIterator ¶
type BALTransferIterator struct { Event *BALTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BALTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the BAL contract.
func (*BALTransferIterator) Close ¶
func (it *BALTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BALTransferIterator) Error ¶
func (it *BALTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BALTransferIterator) Next ¶
func (it *BALTransferIterator) 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 RoleGranted ¶
type RoleGranted struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Role []byte `protobuf:"bytes,2,opt,name=Role,proto3" json:"Role,omitempty"` // bytes32 Account []byte `protobuf:"bytes,3,opt,name=Account,proto3" json:"Account,omitempty"` // address Sender []byte `protobuf:"bytes,4,opt,name=Sender,proto3" json:"Sender,omitempty"` // address // contains filtered or unexported fields }
func (*RoleGranted) Descriptor
deprecated
func (*RoleGranted) Descriptor() ([]byte, []int)
Deprecated: Use RoleGranted.ProtoReflect.Descriptor instead.
func (*RoleGranted) GetAccount ¶
func (x *RoleGranted) GetAccount() []byte
func (*RoleGranted) GetRole ¶
func (x *RoleGranted) GetRole() []byte
func (*RoleGranted) GetSender ¶
func (x *RoleGranted) GetSender() []byte
func (*RoleGranted) GetTs ¶
func (x *RoleGranted) GetTs() *timestamppb.Timestamp
func (*RoleGranted) ProtoMessage ¶
func (*RoleGranted) ProtoMessage()
func (*RoleGranted) ProtoReflect ¶
func (x *RoleGranted) ProtoReflect() protoreflect.Message
func (*RoleGranted) Reset ¶
func (x *RoleGranted) Reset()
func (*RoleGranted) String ¶
func (x *RoleGranted) String() string
type RoleRevoked ¶
type RoleRevoked struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Role []byte `protobuf:"bytes,2,opt,name=Role,proto3" json:"Role,omitempty"` // bytes32 Account []byte `protobuf:"bytes,3,opt,name=Account,proto3" json:"Account,omitempty"` // address Sender []byte `protobuf:"bytes,4,opt,name=Sender,proto3" json:"Sender,omitempty"` // address // contains filtered or unexported fields }
func (*RoleRevoked) Descriptor
deprecated
func (*RoleRevoked) Descriptor() ([]byte, []int)
Deprecated: Use RoleRevoked.ProtoReflect.Descriptor instead.
func (*RoleRevoked) GetAccount ¶
func (x *RoleRevoked) GetAccount() []byte
func (*RoleRevoked) GetRole ¶
func (x *RoleRevoked) GetRole() []byte
func (*RoleRevoked) GetSender ¶
func (x *RoleRevoked) GetSender() []byte
func (*RoleRevoked) GetTs ¶
func (x *RoleRevoked) GetTs() *timestamppb.Timestamp
func (*RoleRevoked) ProtoMessage ¶
func (*RoleRevoked) ProtoMessage()
func (*RoleRevoked) ProtoReflect ¶
func (x *RoleRevoked) ProtoReflect() protoreflect.Message
func (*RoleRevoked) Reset ¶
func (x *RoleRevoked) Reset()
func (*RoleRevoked) String ¶
func (x *RoleRevoked) String() string
type SmartContract ¶
type SmartContract struct{}
func (*SmartContract) Message ¶
func (sc *SmartContract) Message(eventName string, contractAbi *abi.ABI, vLog types.Log, timestamp *timestamppb.Timestamp) protoreflect.ProtoMessage
type Snapshot ¶
type Snapshot struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Id []byte `protobuf:"bytes,2,opt,name=Id,proto3" json:"Id,omitempty"` // uint256 // contains filtered or unexported fields }
func (*Snapshot) Descriptor
deprecated
func (*Snapshot) GetTs ¶
func (x *Snapshot) GetTs() *timestamppb.Timestamp
func (*Snapshot) ProtoMessage ¶
func (*Snapshot) ProtoMessage()
func (*Snapshot) ProtoReflect ¶
func (x *Snapshot) ProtoReflect() protoreflect.Message
type Transfer ¶
type Transfer struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` From []byte `protobuf:"bytes,2,opt,name=From,proto3" json:"From,omitempty"` // address To []byte `protobuf:"bytes,3,opt,name=To,proto3" json:"To,omitempty"` // address Value []byte `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"` // uint256 // contains filtered or unexported fields }
func (*Transfer) Descriptor
deprecated
func (*Transfer) GetTs ¶
func (x *Transfer) GetTs() *timestamppb.Timestamp
func (*Transfer) ProtoMessage ¶
func (*Transfer) ProtoMessage()
func (*Transfer) ProtoReflect ¶
func (x *Transfer) ProtoReflect() protoreflect.Message