Documentation ¶
Index ¶
- Variables
- type DiamondFacet
- type DiamondStorageFacetInfo
- type Points
- type PointsApproval
- type PointsApprovalIterator
- type PointsCaller
- func (_Points *PointsCaller) AGENTROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Points *PointsCaller) Allowance(opts *bind.CallOpts, owner_ common.Address, spender_ common.Address) (*big.Int, error)
- func (_Points *PointsCaller) BURNSELECTOR(opts *bind.CallOpts) ([4]byte, error)
- func (_Points *PointsCaller) BalanceOf(opts *bind.CallOpts, account_ common.Address) (*big.Int, error)
- func (_Points *PointsCaller) CheckRole(opts *bind.CallOpts, role_ [32]byte, account_ common.Address) error
- func (_Points *PointsCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Points *PointsCaller) DIAMONDACCESSCONTROLSTORAGESLOT(opts *bind.CallOpts) ([32]byte, error)
- func (_Points *PointsCaller) DIAMONDERC20STORAGESLOT(opts *bind.CallOpts) ([32]byte, error)
- func (_Points *PointsCaller) DIAMONDSTORAGESLOT(opts *bind.CallOpts) ([32]byte, error)
- func (_Points *PointsCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_Points *PointsCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Points *PointsCaller) EIP712DIAMONDSTORAGESLOT(opts *bind.CallOpts) ([32]byte, error)
- func (_Points *PointsCaller) Eip712Domain(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Points *PointsCaller) FORCEDTRANSFERSELECTOR(opts *bind.CallOpts) ([4]byte, error)
- func (_Points *PointsCaller) FacetAddress(opts *bind.CallOpts, selector_ [4]byte) (common.Address, error)
- func (_Points *PointsCaller) FacetAddresses(opts *bind.CallOpts) ([]common.Address, error)
- func (_Points *PointsCaller) FacetFunctionSelectors(opts *bind.CallOpts, facet_ common.Address) ([][4]byte, error)
- func (_Points *PointsCaller) Facets(opts *bind.CallOpts) ([]DiamondStorageFacetInfo, error)
- func (_Points *PointsCaller) GetRoleAdmin(opts *bind.CallOpts, role_ [32]byte) ([32]byte, error)
- func (_Points *PointsCaller) HasRole(opts *bind.CallOpts, role_ [32]byte, account_ common.Address) (bool, error)
- func (_Points *PointsCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Points *PointsCaller) MINTSELECTOR(opts *bind.CallOpts) ([4]byte, error)
- func (_Points *PointsCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Points *PointsCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_Points *PointsCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_Points *PointsCaller) POINTSSTORAGESLOT(opts *bind.CallOpts) ([32]byte, error)
- func (_Points *PointsCaller) RECOVERYSELECTOR(opts *bind.CallOpts) ([4]byte, error)
- func (_Points *PointsCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Points *PointsCaller) TRANSFERFROMSELECTOR(opts *bind.CallOpts) ([4]byte, error)
- func (_Points *PointsCaller) TRANSFERSELECTOR(opts *bind.CallOpts) ([4]byte, error)
- func (_Points *PointsCaller) TYPEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_Points *PointsCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_Points *PointsCaller) UPGRADERROLE(opts *bind.CallOpts) ([32]byte, error)
- type PointsCallerRaw
- type PointsCallerSession
- func (_Points *PointsCallerSession) AGENTROLE() ([32]byte, error)
- func (_Points *PointsCallerSession) Allowance(owner_ common.Address, spender_ common.Address) (*big.Int, error)
- func (_Points *PointsCallerSession) BURNSELECTOR() ([4]byte, error)
- func (_Points *PointsCallerSession) BalanceOf(account_ common.Address) (*big.Int, error)
- func (_Points *PointsCallerSession) CheckRole(role_ [32]byte, account_ common.Address) error
- func (_Points *PointsCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Points *PointsCallerSession) DIAMONDACCESSCONTROLSTORAGESLOT() ([32]byte, error)
- func (_Points *PointsCallerSession) DIAMONDERC20STORAGESLOT() ([32]byte, error)
- func (_Points *PointsCallerSession) DIAMONDSTORAGESLOT() ([32]byte, error)
- func (_Points *PointsCallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_Points *PointsCallerSession) Decimals() (uint8, error)
- func (_Points *PointsCallerSession) EIP712DIAMONDSTORAGESLOT() ([32]byte, error)
- func (_Points *PointsCallerSession) Eip712Domain() (struct{ ... }, error)
- func (_Points *PointsCallerSession) FORCEDTRANSFERSELECTOR() ([4]byte, error)
- func (_Points *PointsCallerSession) FacetAddress(selector_ [4]byte) (common.Address, error)
- func (_Points *PointsCallerSession) FacetAddresses() ([]common.Address, error)
- func (_Points *PointsCallerSession) FacetFunctionSelectors(facet_ common.Address) ([][4]byte, error)
- func (_Points *PointsCallerSession) Facets() ([]DiamondStorageFacetInfo, error)
- func (_Points *PointsCallerSession) GetRoleAdmin(role_ [32]byte) ([32]byte, error)
- func (_Points *PointsCallerSession) HasRole(role_ [32]byte, account_ common.Address) (bool, error)
- func (_Points *PointsCallerSession) MINTERROLE() ([32]byte, error)
- func (_Points *PointsCallerSession) MINTSELECTOR() ([4]byte, error)
- func (_Points *PointsCallerSession) Name() (string, error)
- func (_Points *PointsCallerSession) Nonces(owner common.Address) (*big.Int, error)
- func (_Points *PointsCallerSession) PERMITTYPEHASH() ([32]byte, error)
- func (_Points *PointsCallerSession) POINTSSTORAGESLOT() ([32]byte, error)
- func (_Points *PointsCallerSession) RECOVERYSELECTOR() ([4]byte, error)
- func (_Points *PointsCallerSession) Symbol() (string, error)
- func (_Points *PointsCallerSession) TRANSFERFROMSELECTOR() ([4]byte, error)
- func (_Points *PointsCallerSession) TRANSFERSELECTOR() ([4]byte, error)
- func (_Points *PointsCallerSession) TYPEHASH() ([32]byte, error)
- func (_Points *PointsCallerSession) TotalSupply() (*big.Int, error)
- func (_Points *PointsCallerSession) UPGRADERROLE() ([32]byte, error)
- type PointsDiamondCut
- type PointsDiamondCutIterator
- type PointsEIP712DomainChanged
- type PointsEIP712DomainChangedIterator
- type PointsFilterer
- func (_Points *PointsFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*PointsApprovalIterator, error)
- func (_Points *PointsFilterer) FilterDiamondCut(opts *bind.FilterOpts) (*PointsDiamondCutIterator, error)
- func (_Points *PointsFilterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*PointsEIP712DomainChangedIterator, error)
- func (_Points *PointsFilterer) FilterInitialized(opts *bind.FilterOpts) (*PointsInitializedIterator, error)
- func (_Points *PointsFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*PointsRoleAdminChangedIterator, error)
- func (_Points *PointsFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*PointsRoleGrantedIterator, error)
- func (_Points *PointsFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*PointsRoleRevokedIterator, error)
- func (_Points *PointsFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*PointsTransferIterator, error)
- func (_Points *PointsFilterer) ParseApproval(log types.Log) (*PointsApproval, error)
- func (_Points *PointsFilterer) ParseDiamondCut(log types.Log) (*PointsDiamondCut, error)
- func (_Points *PointsFilterer) ParseEIP712DomainChanged(log types.Log) (*PointsEIP712DomainChanged, error)
- func (_Points *PointsFilterer) ParseInitialized(log types.Log) (*PointsInitialized, error)
- func (_Points *PointsFilterer) ParseRoleAdminChanged(log types.Log) (*PointsRoleAdminChanged, error)
- func (_Points *PointsFilterer) ParseRoleGranted(log types.Log) (*PointsRoleGranted, error)
- func (_Points *PointsFilterer) ParseRoleRevoked(log types.Log) (*PointsRoleRevoked, error)
- func (_Points *PointsFilterer) ParseTransfer(log types.Log) (*PointsTransfer, error)
- func (_Points *PointsFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *PointsApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Points *PointsFilterer) WatchDiamondCut(opts *bind.WatchOpts, sink chan<- *PointsDiamondCut) (event.Subscription, error)
- func (_Points *PointsFilterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *PointsEIP712DomainChanged) (event.Subscription, error)
- func (_Points *PointsFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *PointsInitialized) (event.Subscription, error)
- func (_Points *PointsFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *PointsRoleAdminChanged, role [][32]byte, ...) (event.Subscription, error)
- func (_Points *PointsFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *PointsRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_Points *PointsFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *PointsRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- func (_Points *PointsFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *PointsTransfer, from []common.Address, ...) (event.Subscription, error)
- type PointsInitialized
- type PointsInitializedIterator
- type PointsRaw
- func (_Points *PointsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Points *PointsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Points *PointsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PointsRoleAdminChanged
- type PointsRoleAdminChangedIterator
- type PointsRoleGranted
- type PointsRoleGrantedIterator
- type PointsRoleRevoked
- type PointsRoleRevokedIterator
- type PointsSession
- func (_Points *PointsSession) AGENTROLE() ([32]byte, error)
- func (_Points *PointsSession) Allowance(owner_ common.Address, spender_ common.Address) (*big.Int, error)
- func (_Points *PointsSession) Approve(spender_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Points *PointsSession) BURNSELECTOR() ([4]byte, error)
- func (_Points *PointsSession) BalanceOf(account_ common.Address) (*big.Int, error)
- func (_Points *PointsSession) Burn(account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Points *PointsSession) CheckRole(role_ [32]byte, account_ common.Address) error
- func (_Points *PointsSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Points *PointsSession) DIAMONDACCESSCONTROLSTORAGESLOT() ([32]byte, error)
- func (_Points *PointsSession) DIAMONDERC20STORAGESLOT() ([32]byte, error)
- func (_Points *PointsSession) DIAMONDSTORAGESLOT() ([32]byte, error)
- func (_Points *PointsSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_Points *PointsSession) Decimals() (uint8, error)
- func (_Points *PointsSession) DiamondCut(modules_ []DiamondFacet, initModule_ common.Address, initData_ []byte) (*types.Transaction, error)
- func (_Points *PointsSession) DiamondCut0(modules_ []DiamondFacet) (*types.Transaction, error)
- func (_Points *PointsSession) EIP712DIAMONDSTORAGESLOT() ([32]byte, error)
- func (_Points *PointsSession) Eip712Domain() (struct{ ... }, error)
- func (_Points *PointsSession) FORCEDTRANSFERSELECTOR() ([4]byte, error)
- func (_Points *PointsSession) FacetAddress(selector_ [4]byte) (common.Address, error)
- func (_Points *PointsSession) FacetAddresses() ([]common.Address, error)
- func (_Points *PointsSession) FacetFunctionSelectors(facet_ common.Address) ([][4]byte, error)
- func (_Points *PointsSession) Facets() ([]DiamondStorageFacetInfo, error)
- func (_Points *PointsSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_Points *PointsSession) ForcedTransfer(from_ common.Address, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Points *PointsSession) GetRoleAdmin(role_ [32]byte) ([32]byte, error)
- func (_Points *PointsSession) GrantRole(role_ [32]byte, account_ common.Address) (*types.Transaction, error)
- func (_Points *PointsSession) HasRole(role_ [32]byte, account_ common.Address) (bool, error)
- func (_Points *PointsSession) MINTERROLE() ([32]byte, error)
- func (_Points *PointsSession) MINTSELECTOR() ([4]byte, error)
- func (_Points *PointsSession) Mint(account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Points *PointsSession) Name() (string, error)
- func (_Points *PointsSession) Nonces(owner common.Address) (*big.Int, error)
- func (_Points *PointsSession) PERMITTYPEHASH() ([32]byte, error)
- func (_Points *PointsSession) POINTSSTORAGESLOT() ([32]byte, error)
- func (_Points *PointsSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_Points *PointsSession) PointsInit(name_ string, symbol_ string, decimals_ uint8, ...) (*types.Transaction, error)
- func (_Points *PointsSession) RECOVERYSELECTOR() ([4]byte, error)
- func (_Points *PointsSession) Recovery(oldAccount_ common.Address, newAccount_ common.Address) (*types.Transaction, error)
- func (_Points *PointsSession) RenounceRole(role_ [32]byte, account_ common.Address) (*types.Transaction, error)
- func (_Points *PointsSession) RevokeRole(role_ [32]byte, account_ common.Address) (*types.Transaction, error)
- func (_Points *PointsSession) Symbol() (string, error)
- func (_Points *PointsSession) TRANSFERFROMSELECTOR() ([4]byte, error)
- func (_Points *PointsSession) TRANSFERSELECTOR() ([4]byte, error)
- func (_Points *PointsSession) TYPEHASH() ([32]byte, error)
- func (_Points *PointsSession) TotalSupply() (*big.Int, error)
- func (_Points *PointsSession) Transfer(to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Points *PointsSession) TransferFrom(from_ common.Address, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Points *PointsSession) UPGRADERROLE() ([32]byte, error)
- type PointsTransactor
- func (_Points *PointsTransactor) Approve(opts *bind.TransactOpts, spender_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Points *PointsTransactor) Burn(opts *bind.TransactOpts, account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Points *PointsTransactor) DiamondCut(opts *bind.TransactOpts, modules_ []DiamondFacet, initModule_ common.Address, ...) (*types.Transaction, error)
- func (_Points *PointsTransactor) DiamondCut0(opts *bind.TransactOpts, modules_ []DiamondFacet) (*types.Transaction, error)
- func (_Points *PointsTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_Points *PointsTransactor) ForcedTransfer(opts *bind.TransactOpts, from_ common.Address, to_ common.Address, ...) (*types.Transaction, error)
- func (_Points *PointsTransactor) GrantRole(opts *bind.TransactOpts, role_ [32]byte, account_ common.Address) (*types.Transaction, error)
- func (_Points *PointsTransactor) Mint(opts *bind.TransactOpts, account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Points *PointsTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_Points *PointsTransactor) PointsInit(opts *bind.TransactOpts, name_ string, symbol_ string, decimals_ uint8, ...) (*types.Transaction, error)
- func (_Points *PointsTransactor) Recovery(opts *bind.TransactOpts, oldAccount_ common.Address, ...) (*types.Transaction, error)
- func (_Points *PointsTransactor) RenounceRole(opts *bind.TransactOpts, role_ [32]byte, account_ common.Address) (*types.Transaction, error)
- func (_Points *PointsTransactor) RevokeRole(opts *bind.TransactOpts, role_ [32]byte, account_ common.Address) (*types.Transaction, error)
- func (_Points *PointsTransactor) Transfer(opts *bind.TransactOpts, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Points *PointsTransactor) TransferFrom(opts *bind.TransactOpts, from_ common.Address, to_ common.Address, ...) (*types.Transaction, error)
- type PointsTransactorRaw
- type PointsTransactorSession
- func (_Points *PointsTransactorSession) Approve(spender_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Points *PointsTransactorSession) Burn(account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Points *PointsTransactorSession) DiamondCut(modules_ []DiamondFacet, initModule_ common.Address, initData_ []byte) (*types.Transaction, error)
- func (_Points *PointsTransactorSession) DiamondCut0(modules_ []DiamondFacet) (*types.Transaction, error)
- func (_Points *PointsTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_Points *PointsTransactorSession) ForcedTransfer(from_ common.Address, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Points *PointsTransactorSession) GrantRole(role_ [32]byte, account_ common.Address) (*types.Transaction, error)
- func (_Points *PointsTransactorSession) Mint(account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Points *PointsTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_Points *PointsTransactorSession) PointsInit(name_ string, symbol_ string, decimals_ uint8, ...) (*types.Transaction, error)
- func (_Points *PointsTransactorSession) Recovery(oldAccount_ common.Address, newAccount_ common.Address) (*types.Transaction, error)
- func (_Points *PointsTransactorSession) RenounceRole(role_ [32]byte, account_ common.Address) (*types.Transaction, error)
- func (_Points *PointsTransactorSession) RevokeRole(role_ [32]byte, account_ common.Address) (*types.Transaction, error)
- func (_Points *PointsTransactorSession) Transfer(to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Points *PointsTransactorSession) TransferFrom(from_ common.Address, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- type PointsTransfer
- type PointsTransferIterator
Constants ¶
This section is empty.
Variables ¶
var PointsABI = PointsMetaData.ABI
PointsABI is the input ABI used to generate the binding from. Deprecated: Use PointsMetaData.ABI instead.
var PointsMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enumDiamond.FacetAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"indexed\":false,\"internalType\":\"structDiamond.Facet[]\",\"name\":\"facets\",\"type\":\"tuple[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"initFacet\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"initData\",\"type\":\"bytes\"}],\"name\":\"DiamondCut\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"storageSlot\",\"type\":\"bytes32\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"AGENT_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BURN_SELECTOR\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DIAMOND_ACCESS_CONTROL_STORAGE_SLOT\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DIAMOND_ERC20_STORAGE_SLOT\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DIAMOND_STORAGE_SLOT\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"EIP712_DIAMOND_STORAGE_SLOT\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FORCED_TRANSFER_SELECTOR\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINT_SELECTOR\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POINTS_STORAGE_SLOT\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RECOVERY_SELECTOR\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER_FROM_SELECTOR\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER_SELECTOR\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TYPE_HASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UPGRADER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals_\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"regulatoryCompliance_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"kycCompliance_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"initRegulatory_\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"initKYC_\",\"type\":\"bytes\"}],\"name\":\"__Points_init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender_\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account_\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role_\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account_\",\"type\":\"address\"}],\"name\":\"checkRole\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enumDiamond.FacetAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"structDiamond.Facet[]\",\"name\":\"modules_\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"initModule_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"initData_\",\"type\":\"bytes\"}],\"name\":\"diamondCut\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enumDiamond.FacetAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"structDiamond.Facet[]\",\"name\":\"modules_\",\"type\":\"tuple[]\"}],\"name\":\"diamondCut\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"selector_\",\"type\":\"bytes4\"}],\"name\":\"facetAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"facet_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"facetAddresses\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"facets_\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"facet_\",\"type\":\"address\"}],\"name\":\"facetFunctionSelectors\",\"outputs\":[{\"internalType\":\"bytes4[]\",\"name\":\"selectors_\",\"type\":\"bytes4[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"facets\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"structDiamondStorage.FacetInfo[]\",\"name\":\"facets_\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"forcedTransfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role_\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role_\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account_\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role_\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account_\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"oldAccount_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newAccount_\",\"type\":\"address\"}],\"name\":\"recovery\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role_\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account_\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role_\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account_\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
PointsMetaData contains all meta data concerning the Points contract.
Functions ¶
This section is empty.
Types ¶
type DiamondFacet ¶
DiamondFacet is an auto generated low-level Go binding around an user-defined struct.
type DiamondStorageFacetInfo ¶
DiamondStorageFacetInfo is an auto generated low-level Go binding around an user-defined struct.
type Points ¶
type Points struct { PointsCaller // Read-only binding to the contract PointsTransactor // Write-only binding to the contract PointsFilterer // Log filterer for contract events }
Points is an auto generated Go binding around an Ethereum contract.
type PointsApproval ¶
type PointsApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
PointsApproval represents a Approval event raised by the Points contract.
type PointsApprovalIterator ¶
type PointsApprovalIterator struct { Event *PointsApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PointsApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Points contract.
func (*PointsApprovalIterator) Close ¶
func (it *PointsApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PointsApprovalIterator) Error ¶
func (it *PointsApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PointsApprovalIterator) Next ¶
func (it *PointsApprovalIterator) 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 PointsCaller ¶
type PointsCaller struct {
// contains filtered or unexported fields
}
PointsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPointsCaller ¶
func NewPointsCaller(address common.Address, caller bind.ContractCaller) (*PointsCaller, error)
NewPointsCaller creates a new read-only instance of Points, bound to a specific deployed contract.
func (*PointsCaller) AGENTROLE ¶
func (_Points *PointsCaller) AGENTROLE(opts *bind.CallOpts) ([32]byte, error)
AGENTROLE is a free data retrieval call binding the contract method 0x22459e18.
Solidity: function AGENT_ROLE() view returns(bytes32)
func (*PointsCaller) Allowance ¶
func (_Points *PointsCaller) 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 (*PointsCaller) BURNSELECTOR ¶
func (_Points *PointsCaller) BURNSELECTOR(opts *bind.CallOpts) ([4]byte, error)
BURNSELECTOR is a free data retrieval call binding the contract method 0x87a131bb.
Solidity: function BURN_SELECTOR() view returns(bytes4)
func (*PointsCaller) BalanceOf ¶
func (_Points *PointsCaller) 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 (*PointsCaller) CheckRole ¶
func (_Points *PointsCaller) CheckRole(opts *bind.CallOpts, role_ [32]byte, account_ common.Address) error
CheckRole is a free data retrieval call binding the contract method 0x12d9a6ad.
Solidity: function checkRole(bytes32 role_, address account_) view returns()
func (*PointsCaller) DEFAULTADMINROLE ¶
func (_Points *PointsCaller) 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 (*PointsCaller) DIAMONDACCESSCONTROLSTORAGESLOT ¶
func (_Points *PointsCaller) DIAMONDACCESSCONTROLSTORAGESLOT(opts *bind.CallOpts) ([32]byte, error)
DIAMONDACCESSCONTROLSTORAGESLOT is a free data retrieval call binding the contract method 0xb29b3bc0.
Solidity: function DIAMOND_ACCESS_CONTROL_STORAGE_SLOT() view returns(bytes32)
func (*PointsCaller) DIAMONDERC20STORAGESLOT ¶
func (_Points *PointsCaller) DIAMONDERC20STORAGESLOT(opts *bind.CallOpts) ([32]byte, error)
DIAMONDERC20STORAGESLOT is a free data retrieval call binding the contract method 0x6812cb2a.
Solidity: function DIAMOND_ERC20_STORAGE_SLOT() view returns(bytes32)
func (*PointsCaller) DIAMONDSTORAGESLOT ¶
func (_Points *PointsCaller) DIAMONDSTORAGESLOT(opts *bind.CallOpts) ([32]byte, error)
DIAMONDSTORAGESLOT is a free data retrieval call binding the contract method 0xe828c51f.
Solidity: function DIAMOND_STORAGE_SLOT() view returns(bytes32)
func (*PointsCaller) DOMAINSEPARATOR ¶
func (_Points *PointsCaller) 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 (*PointsCaller) Decimals ¶
func (_Points *PointsCaller) 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 (*PointsCaller) EIP712DIAMONDSTORAGESLOT ¶
func (_Points *PointsCaller) EIP712DIAMONDSTORAGESLOT(opts *bind.CallOpts) ([32]byte, error)
EIP712DIAMONDSTORAGESLOT is a free data retrieval call binding the contract method 0x20cb691b.
Solidity: function EIP712_DIAMOND_STORAGE_SLOT() view returns(bytes32)
func (*PointsCaller) Eip712Domain ¶
func (_Points *PointsCaller) Eip712Domain(opts *bind.CallOpts) (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*PointsCaller) FORCEDTRANSFERSELECTOR ¶
func (_Points *PointsCaller) FORCEDTRANSFERSELECTOR(opts *bind.CallOpts) ([4]byte, error)
FORCEDTRANSFERSELECTOR is a free data retrieval call binding the contract method 0xc7ff5a47.
Solidity: function FORCED_TRANSFER_SELECTOR() view returns(bytes4)
func (*PointsCaller) FacetAddress ¶
func (_Points *PointsCaller) FacetAddress(opts *bind.CallOpts, selector_ [4]byte) (common.Address, error)
FacetAddress is a free data retrieval call binding the contract method 0xcdffacc6.
Solidity: function facetAddress(bytes4 selector_) view returns(address facet_)
func (*PointsCaller) FacetAddresses ¶
FacetAddresses is a free data retrieval call binding the contract method 0x52ef6b2c.
Solidity: function facetAddresses() view returns(address[] facets_)
func (*PointsCaller) FacetFunctionSelectors ¶
func (_Points *PointsCaller) FacetFunctionSelectors(opts *bind.CallOpts, facet_ common.Address) ([][4]byte, error)
FacetFunctionSelectors is a free data retrieval call binding the contract method 0xadfca15e.
Solidity: function facetFunctionSelectors(address facet_) view returns(bytes4[] selectors_)
func (*PointsCaller) Facets ¶
func (_Points *PointsCaller) Facets(opts *bind.CallOpts) ([]DiamondStorageFacetInfo, error)
Facets is a free data retrieval call binding the contract method 0x7a0ed627.
Solidity: function facets() view returns((address,bytes4[])[] facets_)
func (*PointsCaller) GetRoleAdmin ¶
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role_) view returns(bytes32)
func (*PointsCaller) HasRole ¶
func (_Points *PointsCaller) 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 (*PointsCaller) MINTERROLE ¶
func (_Points *PointsCaller) 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 (*PointsCaller) MINTSELECTOR ¶
func (_Points *PointsCaller) MINTSELECTOR(opts *bind.CallOpts) ([4]byte, error)
MINTSELECTOR is a free data retrieval call binding the contract method 0x544fe464.
Solidity: function MINT_SELECTOR() view returns(bytes4)
func (*PointsCaller) Name ¶
func (_Points *PointsCaller) 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 (*PointsCaller) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*PointsCaller) PERMITTYPEHASH ¶
func (_Points *PointsCaller) 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 (*PointsCaller) POINTSSTORAGESLOT ¶
func (_Points *PointsCaller) POINTSSTORAGESLOT(opts *bind.CallOpts) ([32]byte, error)
POINTSSTORAGESLOT is a free data retrieval call binding the contract method 0x616e3487.
Solidity: function POINTS_STORAGE_SLOT() view returns(bytes32)
func (*PointsCaller) RECOVERYSELECTOR ¶
func (_Points *PointsCaller) RECOVERYSELECTOR(opts *bind.CallOpts) ([4]byte, error)
RECOVERYSELECTOR is a free data retrieval call binding the contract method 0xe4c38584.
Solidity: function RECOVERY_SELECTOR() view returns(bytes4)
func (*PointsCaller) Symbol ¶
func (_Points *PointsCaller) 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 (*PointsCaller) TRANSFERFROMSELECTOR ¶
func (_Points *PointsCaller) TRANSFERFROMSELECTOR(opts *bind.CallOpts) ([4]byte, error)
TRANSFERFROMSELECTOR is a free data retrieval call binding the contract method 0xa53016a3.
Solidity: function TRANSFER_FROM_SELECTOR() view returns(bytes4)
func (*PointsCaller) TRANSFERSELECTOR ¶
func (_Points *PointsCaller) TRANSFERSELECTOR(opts *bind.CallOpts) ([4]byte, error)
TRANSFERSELECTOR is a free data retrieval call binding the contract method 0x72e93225.
Solidity: function TRANSFER_SELECTOR() view returns(bytes4)
func (*PointsCaller) TYPEHASH ¶
func (_Points *PointsCaller) TYPEHASH(opts *bind.CallOpts) ([32]byte, error)
TYPEHASH is a free data retrieval call binding the contract method 0x64d4c819.
Solidity: function TYPE_HASH() view returns(bytes32)
func (*PointsCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*PointsCaller) UPGRADERROLE ¶
func (_Points *PointsCaller) UPGRADERROLE(opts *bind.CallOpts) ([32]byte, error)
UPGRADERROLE is a free data retrieval call binding the contract method 0xf72c0d8b.
Solidity: function UPGRADER_ROLE() view returns(bytes32)
type PointsCallerRaw ¶
type PointsCallerRaw struct {
Contract *PointsCaller // Generic read-only contract binding to access the raw methods on
}
PointsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PointsCallerRaw) Call ¶
func (_Points *PointsCallerRaw) 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 PointsCallerSession ¶
type PointsCallerSession struct { Contract *PointsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PointsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PointsCallerSession) AGENTROLE ¶
func (_Points *PointsCallerSession) AGENTROLE() ([32]byte, error)
AGENTROLE is a free data retrieval call binding the contract method 0x22459e18.
Solidity: function AGENT_ROLE() view returns(bytes32)
func (*PointsCallerSession) Allowance ¶
func (_Points *PointsCallerSession) 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 (*PointsCallerSession) BURNSELECTOR ¶
func (_Points *PointsCallerSession) BURNSELECTOR() ([4]byte, error)
BURNSELECTOR is a free data retrieval call binding the contract method 0x87a131bb.
Solidity: function BURN_SELECTOR() view returns(bytes4)
func (*PointsCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account_) view returns(uint256)
func (*PointsCallerSession) CheckRole ¶
func (_Points *PointsCallerSession) CheckRole(role_ [32]byte, account_ common.Address) error
CheckRole is a free data retrieval call binding the contract method 0x12d9a6ad.
Solidity: function checkRole(bytes32 role_, address account_) view returns()
func (*PointsCallerSession) DEFAULTADMINROLE ¶
func (_Points *PointsCallerSession) 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 (*PointsCallerSession) DIAMONDACCESSCONTROLSTORAGESLOT ¶
func (_Points *PointsCallerSession) DIAMONDACCESSCONTROLSTORAGESLOT() ([32]byte, error)
DIAMONDACCESSCONTROLSTORAGESLOT is a free data retrieval call binding the contract method 0xb29b3bc0.
Solidity: function DIAMOND_ACCESS_CONTROL_STORAGE_SLOT() view returns(bytes32)
func (*PointsCallerSession) DIAMONDERC20STORAGESLOT ¶
func (_Points *PointsCallerSession) DIAMONDERC20STORAGESLOT() ([32]byte, error)
DIAMONDERC20STORAGESLOT is a free data retrieval call binding the contract method 0x6812cb2a.
Solidity: function DIAMOND_ERC20_STORAGE_SLOT() view returns(bytes32)
func (*PointsCallerSession) DIAMONDSTORAGESLOT ¶
func (_Points *PointsCallerSession) DIAMONDSTORAGESLOT() ([32]byte, error)
DIAMONDSTORAGESLOT is a free data retrieval call binding the contract method 0xe828c51f.
Solidity: function DIAMOND_STORAGE_SLOT() view returns(bytes32)
func (*PointsCallerSession) DOMAINSEPARATOR ¶
func (_Points *PointsCallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*PointsCallerSession) Decimals ¶
func (_Points *PointsCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*PointsCallerSession) EIP712DIAMONDSTORAGESLOT ¶
func (_Points *PointsCallerSession) EIP712DIAMONDSTORAGESLOT() ([32]byte, error)
EIP712DIAMONDSTORAGESLOT is a free data retrieval call binding the contract method 0x20cb691b.
Solidity: function EIP712_DIAMOND_STORAGE_SLOT() view returns(bytes32)
func (*PointsCallerSession) Eip712Domain ¶
func (_Points *PointsCallerSession) Eip712Domain() (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*PointsCallerSession) FORCEDTRANSFERSELECTOR ¶
func (_Points *PointsCallerSession) FORCEDTRANSFERSELECTOR() ([4]byte, error)
FORCEDTRANSFERSELECTOR is a free data retrieval call binding the contract method 0xc7ff5a47.
Solidity: function FORCED_TRANSFER_SELECTOR() view returns(bytes4)
func (*PointsCallerSession) FacetAddress ¶
func (_Points *PointsCallerSession) FacetAddress(selector_ [4]byte) (common.Address, error)
FacetAddress is a free data retrieval call binding the contract method 0xcdffacc6.
Solidity: function facetAddress(bytes4 selector_) view returns(address facet_)
func (*PointsCallerSession) FacetAddresses ¶
func (_Points *PointsCallerSession) FacetAddresses() ([]common.Address, error)
FacetAddresses is a free data retrieval call binding the contract method 0x52ef6b2c.
Solidity: function facetAddresses() view returns(address[] facets_)
func (*PointsCallerSession) FacetFunctionSelectors ¶
func (_Points *PointsCallerSession) FacetFunctionSelectors(facet_ common.Address) ([][4]byte, error)
FacetFunctionSelectors is a free data retrieval call binding the contract method 0xadfca15e.
Solidity: function facetFunctionSelectors(address facet_) view returns(bytes4[] selectors_)
func (*PointsCallerSession) Facets ¶
func (_Points *PointsCallerSession) Facets() ([]DiamondStorageFacetInfo, error)
Facets is a free data retrieval call binding the contract method 0x7a0ed627.
Solidity: function facets() view returns((address,bytes4[])[] facets_)
func (*PointsCallerSession) GetRoleAdmin ¶
func (_Points *PointsCallerSession) 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 (*PointsCallerSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role_, address account_) view returns(bool)
func (*PointsCallerSession) MINTERROLE ¶
func (_Points *PointsCallerSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*PointsCallerSession) MINTSELECTOR ¶
func (_Points *PointsCallerSession) MINTSELECTOR() ([4]byte, error)
MINTSELECTOR is a free data retrieval call binding the contract method 0x544fe464.
Solidity: function MINT_SELECTOR() view returns(bytes4)
func (*PointsCallerSession) Name ¶
func (_Points *PointsCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*PointsCallerSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*PointsCallerSession) PERMITTYPEHASH ¶
func (_Points *PointsCallerSession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*PointsCallerSession) POINTSSTORAGESLOT ¶
func (_Points *PointsCallerSession) POINTSSTORAGESLOT() ([32]byte, error)
POINTSSTORAGESLOT is a free data retrieval call binding the contract method 0x616e3487.
Solidity: function POINTS_STORAGE_SLOT() view returns(bytes32)
func (*PointsCallerSession) RECOVERYSELECTOR ¶
func (_Points *PointsCallerSession) RECOVERYSELECTOR() ([4]byte, error)
RECOVERYSELECTOR is a free data retrieval call binding the contract method 0xe4c38584.
Solidity: function RECOVERY_SELECTOR() view returns(bytes4)
func (*PointsCallerSession) Symbol ¶
func (_Points *PointsCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*PointsCallerSession) TRANSFERFROMSELECTOR ¶
func (_Points *PointsCallerSession) TRANSFERFROMSELECTOR() ([4]byte, error)
TRANSFERFROMSELECTOR is a free data retrieval call binding the contract method 0xa53016a3.
Solidity: function TRANSFER_FROM_SELECTOR() view returns(bytes4)
func (*PointsCallerSession) TRANSFERSELECTOR ¶
func (_Points *PointsCallerSession) TRANSFERSELECTOR() ([4]byte, error)
TRANSFERSELECTOR is a free data retrieval call binding the contract method 0x72e93225.
Solidity: function TRANSFER_SELECTOR() view returns(bytes4)
func (*PointsCallerSession) TYPEHASH ¶
func (_Points *PointsCallerSession) TYPEHASH() ([32]byte, error)
TYPEHASH is a free data retrieval call binding the contract method 0x64d4c819.
Solidity: function TYPE_HASH() view returns(bytes32)
func (*PointsCallerSession) TotalSupply ¶
func (_Points *PointsCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*PointsCallerSession) UPGRADERROLE ¶
func (_Points *PointsCallerSession) UPGRADERROLE() ([32]byte, error)
UPGRADERROLE is a free data retrieval call binding the contract method 0xf72c0d8b.
Solidity: function UPGRADER_ROLE() view returns(bytes32)
type PointsDiamondCut ¶
type PointsDiamondCut struct { Facets []DiamondFacet InitFacet common.Address InitData []byte Raw types.Log // Blockchain specific contextual infos }
PointsDiamondCut represents a DiamondCut event raised by the Points contract.
type PointsDiamondCutIterator ¶
type PointsDiamondCutIterator struct { Event *PointsDiamondCut // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PointsDiamondCutIterator is returned from FilterDiamondCut and is used to iterate over the raw logs and unpacked data for DiamondCut events raised by the Points contract.
func (*PointsDiamondCutIterator) Close ¶
func (it *PointsDiamondCutIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PointsDiamondCutIterator) Error ¶
func (it *PointsDiamondCutIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PointsDiamondCutIterator) Next ¶
func (it *PointsDiamondCutIterator) 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 PointsEIP712DomainChanged ¶
PointsEIP712DomainChanged represents a EIP712DomainChanged event raised by the Points contract.
type PointsEIP712DomainChangedIterator ¶
type PointsEIP712DomainChangedIterator struct { Event *PointsEIP712DomainChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PointsEIP712DomainChangedIterator is returned from FilterEIP712DomainChanged and is used to iterate over the raw logs and unpacked data for EIP712DomainChanged events raised by the Points contract.
func (*PointsEIP712DomainChangedIterator) Close ¶
func (it *PointsEIP712DomainChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PointsEIP712DomainChangedIterator) Error ¶
func (it *PointsEIP712DomainChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PointsEIP712DomainChangedIterator) Next ¶
func (it *PointsEIP712DomainChangedIterator) 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 PointsFilterer ¶
type PointsFilterer struct {
// contains filtered or unexported fields
}
PointsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPointsFilterer ¶
func NewPointsFilterer(address common.Address, filterer bind.ContractFilterer) (*PointsFilterer, error)
NewPointsFilterer creates a new log filterer instance of Points, bound to a specific deployed contract.
func (*PointsFilterer) FilterApproval ¶
func (_Points *PointsFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*PointsApprovalIterator, 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 (*PointsFilterer) FilterDiamondCut ¶
func (_Points *PointsFilterer) FilterDiamondCut(opts *bind.FilterOpts) (*PointsDiamondCutIterator, error)
FilterDiamondCut is a free log retrieval operation binding the contract event 0x8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673.
Solidity: event DiamondCut((address,uint8,bytes4[])[] facets, address initFacet, bytes initData)
func (*PointsFilterer) FilterEIP712DomainChanged ¶
func (_Points *PointsFilterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*PointsEIP712DomainChangedIterator, error)
FilterEIP712DomainChanged is a free log retrieval operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
func (*PointsFilterer) FilterInitialized ¶
func (_Points *PointsFilterer) FilterInitialized(opts *bind.FilterOpts) (*PointsInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0xdc73717d728bcfa015e8117438a65319aa06e979ca324afa6e1ea645c28ea15d.
Solidity: event Initialized(bytes32 storageSlot)
func (*PointsFilterer) FilterRoleAdminChanged ¶
func (_Points *PointsFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*PointsRoleAdminChangedIterator, error)
FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*PointsFilterer) FilterRoleGranted ¶
func (_Points *PointsFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*PointsRoleGrantedIterator, 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 (*PointsFilterer) FilterRoleRevoked ¶
func (_Points *PointsFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*PointsRoleRevokedIterator, 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 (*PointsFilterer) FilterTransfer ¶
func (_Points *PointsFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*PointsTransferIterator, 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 (*PointsFilterer) ParseApproval ¶
func (_Points *PointsFilterer) ParseApproval(log types.Log) (*PointsApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*PointsFilterer) ParseDiamondCut ¶
func (_Points *PointsFilterer) ParseDiamondCut(log types.Log) (*PointsDiamondCut, error)
ParseDiamondCut is a log parse operation binding the contract event 0x8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673.
Solidity: event DiamondCut((address,uint8,bytes4[])[] facets, address initFacet, bytes initData)
func (*PointsFilterer) ParseEIP712DomainChanged ¶
func (_Points *PointsFilterer) ParseEIP712DomainChanged(log types.Log) (*PointsEIP712DomainChanged, error)
ParseEIP712DomainChanged is a log parse operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
func (*PointsFilterer) ParseInitialized ¶
func (_Points *PointsFilterer) ParseInitialized(log types.Log) (*PointsInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0xdc73717d728bcfa015e8117438a65319aa06e979ca324afa6e1ea645c28ea15d.
Solidity: event Initialized(bytes32 storageSlot)
func (*PointsFilterer) ParseRoleAdminChanged ¶
func (_Points *PointsFilterer) ParseRoleAdminChanged(log types.Log) (*PointsRoleAdminChanged, error)
ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*PointsFilterer) ParseRoleGranted ¶
func (_Points *PointsFilterer) ParseRoleGranted(log types.Log) (*PointsRoleGranted, 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 (*PointsFilterer) ParseRoleRevoked ¶
func (_Points *PointsFilterer) ParseRoleRevoked(log types.Log) (*PointsRoleRevoked, 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 (*PointsFilterer) ParseTransfer ¶
func (_Points *PointsFilterer) ParseTransfer(log types.Log) (*PointsTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*PointsFilterer) WatchApproval ¶
func (_Points *PointsFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *PointsApproval, 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 (*PointsFilterer) WatchDiamondCut ¶
func (_Points *PointsFilterer) WatchDiamondCut(opts *bind.WatchOpts, sink chan<- *PointsDiamondCut) (event.Subscription, error)
WatchDiamondCut is a free log subscription operation binding the contract event 0x8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673.
Solidity: event DiamondCut((address,uint8,bytes4[])[] facets, address initFacet, bytes initData)
func (*PointsFilterer) WatchEIP712DomainChanged ¶
func (_Points *PointsFilterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *PointsEIP712DomainChanged) (event.Subscription, error)
WatchEIP712DomainChanged is a free log subscription operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
func (*PointsFilterer) WatchInitialized ¶
func (_Points *PointsFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *PointsInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0xdc73717d728bcfa015e8117438a65319aa06e979ca324afa6e1ea645c28ea15d.
Solidity: event Initialized(bytes32 storageSlot)
func (*PointsFilterer) WatchRoleAdminChanged ¶
func (_Points *PointsFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *PointsRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)
WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*PointsFilterer) WatchRoleGranted ¶
func (_Points *PointsFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *PointsRoleGranted, 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 (*PointsFilterer) WatchRoleRevoked ¶
func (_Points *PointsFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *PointsRoleRevoked, 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 (*PointsFilterer) WatchTransfer ¶
func (_Points *PointsFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *PointsTransfer, 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 PointsInitialized ¶
type PointsInitialized struct { StorageSlot [32]byte Raw types.Log // Blockchain specific contextual infos }
PointsInitialized represents a Initialized event raised by the Points contract.
type PointsInitializedIterator ¶
type PointsInitializedIterator struct { Event *PointsInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PointsInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Points contract.
func (*PointsInitializedIterator) Close ¶
func (it *PointsInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PointsInitializedIterator) Error ¶
func (it *PointsInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PointsInitializedIterator) Next ¶
func (it *PointsInitializedIterator) 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 PointsRaw ¶
type PointsRaw struct {
Contract *Points // Generic contract binding to access the raw methods on
}
PointsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PointsRaw) Call ¶
func (_Points *PointsRaw) 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 (*PointsRaw) Transact ¶
func (_Points *PointsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PointsRaw) Transfer ¶
func (_Points *PointsRaw) 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 PointsRoleAdminChanged ¶
type PointsRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
PointsRoleAdminChanged represents a RoleAdminChanged event raised by the Points contract.
type PointsRoleAdminChangedIterator ¶
type PointsRoleAdminChangedIterator struct { Event *PointsRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PointsRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Points contract.
func (*PointsRoleAdminChangedIterator) Close ¶
func (it *PointsRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PointsRoleAdminChangedIterator) Error ¶
func (it *PointsRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PointsRoleAdminChangedIterator) Next ¶
func (it *PointsRoleAdminChangedIterator) 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 PointsRoleGranted ¶
type PointsRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
PointsRoleGranted represents a RoleGranted event raised by the Points contract.
type PointsRoleGrantedIterator ¶
type PointsRoleGrantedIterator struct { Event *PointsRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PointsRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Points contract.
func (*PointsRoleGrantedIterator) Close ¶
func (it *PointsRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PointsRoleGrantedIterator) Error ¶
func (it *PointsRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PointsRoleGrantedIterator) Next ¶
func (it *PointsRoleGrantedIterator) 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 PointsRoleRevoked ¶
type PointsRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
PointsRoleRevoked represents a RoleRevoked event raised by the Points contract.
type PointsRoleRevokedIterator ¶
type PointsRoleRevokedIterator struct { Event *PointsRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PointsRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Points contract.
func (*PointsRoleRevokedIterator) Close ¶
func (it *PointsRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PointsRoleRevokedIterator) Error ¶
func (it *PointsRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PointsRoleRevokedIterator) Next ¶
func (it *PointsRoleRevokedIterator) 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 PointsSession ¶
type PointsSession struct { Contract *Points // 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 }
PointsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PointsSession) AGENTROLE ¶
func (_Points *PointsSession) AGENTROLE() ([32]byte, error)
AGENTROLE is a free data retrieval call binding the contract method 0x22459e18.
Solidity: function AGENT_ROLE() view returns(bytes32)
func (*PointsSession) Allowance ¶
func (_Points *PointsSession) 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 (*PointsSession) Approve ¶
func (_Points *PointsSession) 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 (*PointsSession) BURNSELECTOR ¶
func (_Points *PointsSession) BURNSELECTOR() ([4]byte, error)
BURNSELECTOR is a free data retrieval call binding the contract method 0x87a131bb.
Solidity: function BURN_SELECTOR() view returns(bytes4)
func (*PointsSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account_) view returns(uint256)
func (*PointsSession) Burn ¶
func (_Points *PointsSession) Burn(account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address account_, uint256 amount_) returns(bool)
func (*PointsSession) CheckRole ¶
func (_Points *PointsSession) CheckRole(role_ [32]byte, account_ common.Address) error
CheckRole is a free data retrieval call binding the contract method 0x12d9a6ad.
Solidity: function checkRole(bytes32 role_, address account_) view returns()
func (*PointsSession) DEFAULTADMINROLE ¶
func (_Points *PointsSession) 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 (*PointsSession) DIAMONDACCESSCONTROLSTORAGESLOT ¶
func (_Points *PointsSession) DIAMONDACCESSCONTROLSTORAGESLOT() ([32]byte, error)
DIAMONDACCESSCONTROLSTORAGESLOT is a free data retrieval call binding the contract method 0xb29b3bc0.
Solidity: function DIAMOND_ACCESS_CONTROL_STORAGE_SLOT() view returns(bytes32)
func (*PointsSession) DIAMONDERC20STORAGESLOT ¶
func (_Points *PointsSession) DIAMONDERC20STORAGESLOT() ([32]byte, error)
DIAMONDERC20STORAGESLOT is a free data retrieval call binding the contract method 0x6812cb2a.
Solidity: function DIAMOND_ERC20_STORAGE_SLOT() view returns(bytes32)
func (*PointsSession) DIAMONDSTORAGESLOT ¶
func (_Points *PointsSession) DIAMONDSTORAGESLOT() ([32]byte, error)
DIAMONDSTORAGESLOT is a free data retrieval call binding the contract method 0xe828c51f.
Solidity: function DIAMOND_STORAGE_SLOT() view returns(bytes32)
func (*PointsSession) DOMAINSEPARATOR ¶
func (_Points *PointsSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*PointsSession) Decimals ¶
func (_Points *PointsSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*PointsSession) DiamondCut ¶
func (_Points *PointsSession) DiamondCut(modules_ []DiamondFacet, initModule_ common.Address, initData_ []byte) (*types.Transaction, error)
DiamondCut is a paid mutator transaction binding the contract method 0x1f931c1c.
Solidity: function diamondCut((address,uint8,bytes4[])[] modules_, address initModule_, bytes initData_) returns()
func (*PointsSession) DiamondCut0 ¶
func (_Points *PointsSession) DiamondCut0(modules_ []DiamondFacet) (*types.Transaction, error)
DiamondCut0 is a paid mutator transaction binding the contract method 0xe57e69c6.
Solidity: function diamondCut((address,uint8,bytes4[])[] modules_) returns()
func (*PointsSession) EIP712DIAMONDSTORAGESLOT ¶
func (_Points *PointsSession) EIP712DIAMONDSTORAGESLOT() ([32]byte, error)
EIP712DIAMONDSTORAGESLOT is a free data retrieval call binding the contract method 0x20cb691b.
Solidity: function EIP712_DIAMOND_STORAGE_SLOT() view returns(bytes32)
func (*PointsSession) Eip712Domain ¶
func (_Points *PointsSession) Eip712Domain() (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*PointsSession) FORCEDTRANSFERSELECTOR ¶
func (_Points *PointsSession) FORCEDTRANSFERSELECTOR() ([4]byte, error)
FORCEDTRANSFERSELECTOR is a free data retrieval call binding the contract method 0xc7ff5a47.
Solidity: function FORCED_TRANSFER_SELECTOR() view returns(bytes4)
func (*PointsSession) FacetAddress ¶
func (_Points *PointsSession) FacetAddress(selector_ [4]byte) (common.Address, error)
FacetAddress is a free data retrieval call binding the contract method 0xcdffacc6.
Solidity: function facetAddress(bytes4 selector_) view returns(address facet_)
func (*PointsSession) FacetAddresses ¶
func (_Points *PointsSession) FacetAddresses() ([]common.Address, error)
FacetAddresses is a free data retrieval call binding the contract method 0x52ef6b2c.
Solidity: function facetAddresses() view returns(address[] facets_)
func (*PointsSession) FacetFunctionSelectors ¶
func (_Points *PointsSession) FacetFunctionSelectors(facet_ common.Address) ([][4]byte, error)
FacetFunctionSelectors is a free data retrieval call binding the contract method 0xadfca15e.
Solidity: function facetFunctionSelectors(address facet_) view returns(bytes4[] selectors_)
func (*PointsSession) Facets ¶
func (_Points *PointsSession) Facets() ([]DiamondStorageFacetInfo, error)
Facets is a free data retrieval call binding the contract method 0x7a0ed627.
Solidity: function facets() view returns((address,bytes4[])[] facets_)
func (*PointsSession) Fallback ¶
func (_Points *PointsSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*PointsSession) ForcedTransfer ¶
func (_Points *PointsSession) ForcedTransfer(from_ common.Address, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
ForcedTransfer is a paid mutator transaction binding the contract method 0x9fc1d0e7.
Solidity: function forcedTransfer(address from_, address to_, uint256 amount_) returns(bool)
func (*PointsSession) GetRoleAdmin ¶
func (_Points *PointsSession) 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 (*PointsSession) GrantRole ¶
func (_Points *PointsSession) 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 (*PointsSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role_, address account_) view returns(bool)
func (*PointsSession) MINTERROLE ¶
func (_Points *PointsSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*PointsSession) MINTSELECTOR ¶
func (_Points *PointsSession) MINTSELECTOR() ([4]byte, error)
MINTSELECTOR is a free data retrieval call binding the contract method 0x544fe464.
Solidity: function MINT_SELECTOR() view returns(bytes4)
func (*PointsSession) Mint ¶
func (_Points *PointsSession) Mint(account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account_, uint256 amount_) returns(bool)
func (*PointsSession) Name ¶
func (_Points *PointsSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*PointsSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*PointsSession) PERMITTYPEHASH ¶
func (_Points *PointsSession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*PointsSession) POINTSSTORAGESLOT ¶
func (_Points *PointsSession) POINTSSTORAGESLOT() ([32]byte, error)
POINTSSTORAGESLOT is a free data retrieval call binding the contract method 0x616e3487.
Solidity: function POINTS_STORAGE_SLOT() view returns(bytes32)
func (*PointsSession) Permit ¶
func (_Points *PointsSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, signature []byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0x9fd5a6cf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, bytes signature) returns()
func (*PointsSession) PointsInit ¶
func (_Points *PointsSession) PointsInit(name_ string, symbol_ string, decimals_ uint8, regulatoryCompliance_ common.Address, kycCompliance_ common.Address, initRegulatory_ []byte, initKYC_ []byte) (*types.Transaction, error)
PointsInit is a paid mutator transaction binding the contract method 0xa7fe5e30.
Solidity: function __Points_init(string name_, string symbol_, uint8 decimals_, address regulatoryCompliance_, address kycCompliance_, bytes initRegulatory_, bytes initKYC_) returns()
func (*PointsSession) RECOVERYSELECTOR ¶
func (_Points *PointsSession) RECOVERYSELECTOR() ([4]byte, error)
RECOVERYSELECTOR is a free data retrieval call binding the contract method 0xe4c38584.
Solidity: function RECOVERY_SELECTOR() view returns(bytes4)
func (*PointsSession) Recovery ¶
func (_Points *PointsSession) Recovery(oldAccount_ common.Address, newAccount_ common.Address) (*types.Transaction, error)
Recovery is a paid mutator transaction binding the contract method 0x8d785674.
Solidity: function recovery(address oldAccount_, address newAccount_) returns(bool)
func (*PointsSession) RenounceRole ¶
func (_Points *PointsSession) 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 (*PointsSession) RevokeRole ¶
func (_Points *PointsSession) 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 (*PointsSession) Symbol ¶
func (_Points *PointsSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*PointsSession) TRANSFERFROMSELECTOR ¶
func (_Points *PointsSession) TRANSFERFROMSELECTOR() ([4]byte, error)
TRANSFERFROMSELECTOR is a free data retrieval call binding the contract method 0xa53016a3.
Solidity: function TRANSFER_FROM_SELECTOR() view returns(bytes4)
func (*PointsSession) TRANSFERSELECTOR ¶
func (_Points *PointsSession) TRANSFERSELECTOR() ([4]byte, error)
TRANSFERSELECTOR is a free data retrieval call binding the contract method 0x72e93225.
Solidity: function TRANSFER_SELECTOR() view returns(bytes4)
func (*PointsSession) TYPEHASH ¶
func (_Points *PointsSession) TYPEHASH() ([32]byte, error)
TYPEHASH is a free data retrieval call binding the contract method 0x64d4c819.
Solidity: function TYPE_HASH() view returns(bytes32)
func (*PointsSession) TotalSupply ¶
func (_Points *PointsSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*PointsSession) Transfer ¶
func (_Points *PointsSession) Transfer(to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to_, uint256 amount_) returns(bool)
func (*PointsSession) TransferFrom ¶
func (_Points *PointsSession) TransferFrom(from_ common.Address, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from_, address to_, uint256 amount_) returns(bool)
func (*PointsSession) UPGRADERROLE ¶
func (_Points *PointsSession) UPGRADERROLE() ([32]byte, error)
UPGRADERROLE is a free data retrieval call binding the contract method 0xf72c0d8b.
Solidity: function UPGRADER_ROLE() view returns(bytes32)
type PointsTransactor ¶
type PointsTransactor struct {
// contains filtered or unexported fields
}
PointsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPointsTransactor ¶
func NewPointsTransactor(address common.Address, transactor bind.ContractTransactor) (*PointsTransactor, error)
NewPointsTransactor creates a new write-only instance of Points, bound to a specific deployed contract.
func (*PointsTransactor) Approve ¶
func (_Points *PointsTransactor) 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 (*PointsTransactor) Burn ¶
func (_Points *PointsTransactor) Burn(opts *bind.TransactOpts, account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address account_, uint256 amount_) returns(bool)
func (*PointsTransactor) DiamondCut ¶
func (_Points *PointsTransactor) DiamondCut(opts *bind.TransactOpts, modules_ []DiamondFacet, initModule_ common.Address, initData_ []byte) (*types.Transaction, error)
DiamondCut is a paid mutator transaction binding the contract method 0x1f931c1c.
Solidity: function diamondCut((address,uint8,bytes4[])[] modules_, address initModule_, bytes initData_) returns()
func (*PointsTransactor) DiamondCut0 ¶
func (_Points *PointsTransactor) DiamondCut0(opts *bind.TransactOpts, modules_ []DiamondFacet) (*types.Transaction, error)
DiamondCut0 is a paid mutator transaction binding the contract method 0xe57e69c6.
Solidity: function diamondCut((address,uint8,bytes4[])[] modules_) returns()
func (*PointsTransactor) Fallback ¶
func (_Points *PointsTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*PointsTransactor) ForcedTransfer ¶
func (_Points *PointsTransactor) ForcedTransfer(opts *bind.TransactOpts, from_ common.Address, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
ForcedTransfer is a paid mutator transaction binding the contract method 0x9fc1d0e7.
Solidity: function forcedTransfer(address from_, address to_, uint256 amount_) returns(bool)
func (*PointsTransactor) GrantRole ¶
func (_Points *PointsTransactor) 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 (*PointsTransactor) Mint ¶
func (_Points *PointsTransactor) Mint(opts *bind.TransactOpts, account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account_, uint256 amount_) returns(bool)
func (*PointsTransactor) Permit ¶
func (_Points *PointsTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, signature []byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0x9fd5a6cf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, bytes signature) returns()
func (*PointsTransactor) PointsInit ¶
func (_Points *PointsTransactor) PointsInit(opts *bind.TransactOpts, name_ string, symbol_ string, decimals_ uint8, regulatoryCompliance_ common.Address, kycCompliance_ common.Address, initRegulatory_ []byte, initKYC_ []byte) (*types.Transaction, error)
PointsInit is a paid mutator transaction binding the contract method 0xa7fe5e30.
Solidity: function __Points_init(string name_, string symbol_, uint8 decimals_, address regulatoryCompliance_, address kycCompliance_, bytes initRegulatory_, bytes initKYC_) returns()
func (*PointsTransactor) Recovery ¶
func (_Points *PointsTransactor) Recovery(opts *bind.TransactOpts, oldAccount_ common.Address, newAccount_ common.Address) (*types.Transaction, error)
Recovery is a paid mutator transaction binding the contract method 0x8d785674.
Solidity: function recovery(address oldAccount_, address newAccount_) returns(bool)
func (*PointsTransactor) RenounceRole ¶
func (_Points *PointsTransactor) 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 (*PointsTransactor) RevokeRole ¶
func (_Points *PointsTransactor) 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 (*PointsTransactor) Transfer ¶
func (_Points *PointsTransactor) Transfer(opts *bind.TransactOpts, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to_, uint256 amount_) returns(bool)
func (*PointsTransactor) TransferFrom ¶
func (_Points *PointsTransactor) TransferFrom(opts *bind.TransactOpts, from_ common.Address, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from_, address to_, uint256 amount_) returns(bool)
type PointsTransactorRaw ¶
type PointsTransactorRaw struct {
Contract *PointsTransactor // Generic write-only contract binding to access the raw methods on
}
PointsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PointsTransactorRaw) Transact ¶
func (_Points *PointsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PointsTransactorRaw) Transfer ¶
func (_Points *PointsTransactorRaw) 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 PointsTransactorSession ¶
type PointsTransactorSession struct { Contract *PointsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PointsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PointsTransactorSession) Approve ¶
func (_Points *PointsTransactorSession) 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 (*PointsTransactorSession) Burn ¶
func (_Points *PointsTransactorSession) Burn(account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address account_, uint256 amount_) returns(bool)
func (*PointsTransactorSession) DiamondCut ¶
func (_Points *PointsTransactorSession) DiamondCut(modules_ []DiamondFacet, initModule_ common.Address, initData_ []byte) (*types.Transaction, error)
DiamondCut is a paid mutator transaction binding the contract method 0x1f931c1c.
Solidity: function diamondCut((address,uint8,bytes4[])[] modules_, address initModule_, bytes initData_) returns()
func (*PointsTransactorSession) DiamondCut0 ¶
func (_Points *PointsTransactorSession) DiamondCut0(modules_ []DiamondFacet) (*types.Transaction, error)
DiamondCut0 is a paid mutator transaction binding the contract method 0xe57e69c6.
Solidity: function diamondCut((address,uint8,bytes4[])[] modules_) returns()
func (*PointsTransactorSession) Fallback ¶
func (_Points *PointsTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*PointsTransactorSession) ForcedTransfer ¶
func (_Points *PointsTransactorSession) ForcedTransfer(from_ common.Address, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
ForcedTransfer is a paid mutator transaction binding the contract method 0x9fc1d0e7.
Solidity: function forcedTransfer(address from_, address to_, uint256 amount_) returns(bool)
func (*PointsTransactorSession) GrantRole ¶
func (_Points *PointsTransactorSession) 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 (*PointsTransactorSession) Mint ¶
func (_Points *PointsTransactorSession) Mint(account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account_, uint256 amount_) returns(bool)
func (*PointsTransactorSession) Permit ¶
func (_Points *PointsTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, signature []byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0x9fd5a6cf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, bytes signature) returns()
func (*PointsTransactorSession) PointsInit ¶
func (_Points *PointsTransactorSession) PointsInit(name_ string, symbol_ string, decimals_ uint8, regulatoryCompliance_ common.Address, kycCompliance_ common.Address, initRegulatory_ []byte, initKYC_ []byte) (*types.Transaction, error)
PointsInit is a paid mutator transaction binding the contract method 0xa7fe5e30.
Solidity: function __Points_init(string name_, string symbol_, uint8 decimals_, address regulatoryCompliance_, address kycCompliance_, bytes initRegulatory_, bytes initKYC_) returns()
func (*PointsTransactorSession) Recovery ¶
func (_Points *PointsTransactorSession) Recovery(oldAccount_ common.Address, newAccount_ common.Address) (*types.Transaction, error)
Recovery is a paid mutator transaction binding the contract method 0x8d785674.
Solidity: function recovery(address oldAccount_, address newAccount_) returns(bool)
func (*PointsTransactorSession) RenounceRole ¶
func (_Points *PointsTransactorSession) 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 (*PointsTransactorSession) RevokeRole ¶
func (_Points *PointsTransactorSession) 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 (*PointsTransactorSession) Transfer ¶
func (_Points *PointsTransactorSession) Transfer(to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to_, uint256 amount_) returns(bool)
func (*PointsTransactorSession) TransferFrom ¶
func (_Points *PointsTransactorSession) TransferFrom(from_ common.Address, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from_, address to_, uint256 amount_) returns(bool)
type PointsTransfer ¶
type PointsTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
PointsTransfer represents a Transfer event raised by the Points contract.
type PointsTransferIterator ¶
type PointsTransferIterator struct { Event *PointsTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PointsTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Points contract.
func (*PointsTransferIterator) Close ¶
func (it *PointsTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PointsTransferIterator) Error ¶
func (it *PointsTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PointsTransferIterator) Next ¶
func (it *PointsTransferIterator) 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.