Documentation ¶
Index ¶
- Variables
- type Dadtoken
- type DadtokenApproval
- type DadtokenApprovalIterator
- type DadtokenCaller
- func (_Dadtoken *DadtokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_Dadtoken *DadtokenCaller) BURNERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Dadtoken *DadtokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Dadtoken *DadtokenCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Dadtoken *DadtokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Dadtoken *DadtokenCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_Dadtoken *DadtokenCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_Dadtoken *DadtokenCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Dadtoken *DadtokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Dadtoken *DadtokenCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_Dadtoken *DadtokenCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Dadtoken *DadtokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Dadtoken *DadtokenCaller) TRANSFERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Dadtoken *DadtokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type DadtokenCallerRaw
- type DadtokenCallerSession
- func (_Dadtoken *DadtokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Dadtoken *DadtokenCallerSession) BURNERROLE() ([32]byte, error)
- func (_Dadtoken *DadtokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Dadtoken *DadtokenCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Dadtoken *DadtokenCallerSession) Decimals() (uint8, error)
- func (_Dadtoken *DadtokenCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Dadtoken *DadtokenCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Dadtoken *DadtokenCallerSession) MINTERROLE() ([32]byte, error)
- func (_Dadtoken *DadtokenCallerSession) Name() (string, error)
- func (_Dadtoken *DadtokenCallerSession) Paused() (bool, error)
- func (_Dadtoken *DadtokenCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Dadtoken *DadtokenCallerSession) Symbol() (string, error)
- func (_Dadtoken *DadtokenCallerSession) TRANSFERROLE() ([32]byte, error)
- func (_Dadtoken *DadtokenCallerSession) TotalSupply() (*big.Int, error)
- type DadtokenFilterer
- func (_Dadtoken *DadtokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*DadtokenApprovalIterator, error)
- func (_Dadtoken *DadtokenFilterer) FilterPaused(opts *bind.FilterOpts) (*DadtokenPausedIterator, error)
- func (_Dadtoken *DadtokenFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*DadtokenRoleAdminChangedIterator, error)
- func (_Dadtoken *DadtokenFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*DadtokenRoleGrantedIterator, error)
- func (_Dadtoken *DadtokenFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*DadtokenRoleRevokedIterator, error)
- func (_Dadtoken *DadtokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*DadtokenTransferIterator, error)
- func (_Dadtoken *DadtokenFilterer) FilterUnpaused(opts *bind.FilterOpts) (*DadtokenUnpausedIterator, error)
- func (_Dadtoken *DadtokenFilterer) ParseApproval(log types.Log) (*DadtokenApproval, error)
- func (_Dadtoken *DadtokenFilterer) ParsePaused(log types.Log) (*DadtokenPaused, error)
- func (_Dadtoken *DadtokenFilterer) ParseRoleAdminChanged(log types.Log) (*DadtokenRoleAdminChanged, error)
- func (_Dadtoken *DadtokenFilterer) ParseRoleGranted(log types.Log) (*DadtokenRoleGranted, error)
- func (_Dadtoken *DadtokenFilterer) ParseRoleRevoked(log types.Log) (*DadtokenRoleRevoked, error)
- func (_Dadtoken *DadtokenFilterer) ParseTransfer(log types.Log) (*DadtokenTransfer, error)
- func (_Dadtoken *DadtokenFilterer) ParseUnpaused(log types.Log) (*DadtokenUnpaused, error)
- func (_Dadtoken *DadtokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *DadtokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Dadtoken *DadtokenFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *DadtokenPaused) (event.Subscription, error)
- func (_Dadtoken *DadtokenFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *DadtokenRoleAdminChanged, role [][32]byte, ...) (event.Subscription, error)
- func (_Dadtoken *DadtokenFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *DadtokenRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_Dadtoken *DadtokenFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *DadtokenRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- func (_Dadtoken *DadtokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *DadtokenTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_Dadtoken *DadtokenFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *DadtokenUnpaused) (event.Subscription, error)
- type DadtokenPaused
- type DadtokenPausedIterator
- type DadtokenRaw
- func (_Dadtoken *DadtokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Dadtoken *DadtokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Dadtoken *DadtokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DadtokenRoleAdminChanged
- type DadtokenRoleAdminChangedIterator
- type DadtokenRoleGranted
- type DadtokenRoleGrantedIterator
- type DadtokenRoleRevoked
- type DadtokenRoleRevokedIterator
- type DadtokenSession
- func (_Dadtoken *DadtokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Dadtoken *DadtokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenSession) BURNERROLE() ([32]byte, error)
- func (_Dadtoken *DadtokenSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Dadtoken *DadtokenSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Dadtoken *DadtokenSession) Decimals() (uint8, error)
- func (_Dadtoken *DadtokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Dadtoken *DadtokenSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Dadtoken *DadtokenSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Dadtoken *DadtokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenSession) MINTERROLE() ([32]byte, error)
- func (_Dadtoken *DadtokenSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenSession) Name() (string, error)
- func (_Dadtoken *DadtokenSession) Pause() (*types.Transaction, error)
- func (_Dadtoken *DadtokenSession) Paused() (bool, error)
- func (_Dadtoken *DadtokenSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Dadtoken *DadtokenSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Dadtoken *DadtokenSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Dadtoken *DadtokenSession) Symbol() (string, error)
- func (_Dadtoken *DadtokenSession) TRANSFERROLE() ([32]byte, error)
- func (_Dadtoken *DadtokenSession) TotalSupply() (*big.Int, error)
- func (_Dadtoken *DadtokenSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenSession) Unpause() (*types.Transaction, error)
- type DadtokenTransactor
- func (_Dadtoken *DadtokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- type DadtokenTransactorRaw
- type DadtokenTransactorSession
- func (_Dadtoken *DadtokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactorSession) Pause() (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Dadtoken *DadtokenTransactorSession) Unpause() (*types.Transaction, error)
- type DadtokenTransfer
- type DadtokenTransferIterator
- type DadtokenUnpaused
- type DadtokenUnpausedIterator
- type Momtoken
- type MomtokenApproval
- type MomtokenApprovalIterator
- type MomtokenCaller
- func (_Momtoken *MomtokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_Momtoken *MomtokenCaller) BURNERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Momtoken *MomtokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Momtoken *MomtokenCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Momtoken *MomtokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Momtoken *MomtokenCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_Momtoken *MomtokenCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_Momtoken *MomtokenCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Momtoken *MomtokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Momtoken *MomtokenCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Momtoken *MomtokenCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_Momtoken *MomtokenCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Momtoken *MomtokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Momtoken *MomtokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type MomtokenCallerRaw
- type MomtokenCallerSession
- func (_Momtoken *MomtokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Momtoken *MomtokenCallerSession) BURNERROLE() ([32]byte, error)
- func (_Momtoken *MomtokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Momtoken *MomtokenCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Momtoken *MomtokenCallerSession) Decimals() (uint8, error)
- func (_Momtoken *MomtokenCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Momtoken *MomtokenCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Momtoken *MomtokenCallerSession) MINTERROLE() ([32]byte, error)
- func (_Momtoken *MomtokenCallerSession) Name() (string, error)
- func (_Momtoken *MomtokenCallerSession) PAUSERROLE() ([32]byte, error)
- func (_Momtoken *MomtokenCallerSession) Paused() (bool, error)
- func (_Momtoken *MomtokenCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Momtoken *MomtokenCallerSession) Symbol() (string, error)
- func (_Momtoken *MomtokenCallerSession) TotalSupply() (*big.Int, error)
- type MomtokenFilterer
- func (_Momtoken *MomtokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MomtokenApprovalIterator, error)
- func (_Momtoken *MomtokenFilterer) FilterPaused(opts *bind.FilterOpts) (*MomtokenPausedIterator, error)
- func (_Momtoken *MomtokenFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*MomtokenRoleAdminChangedIterator, error)
- func (_Momtoken *MomtokenFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*MomtokenRoleGrantedIterator, error)
- func (_Momtoken *MomtokenFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*MomtokenRoleRevokedIterator, error)
- func (_Momtoken *MomtokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MomtokenTransferIterator, error)
- func (_Momtoken *MomtokenFilterer) FilterUnpaused(opts *bind.FilterOpts) (*MomtokenUnpausedIterator, error)
- func (_Momtoken *MomtokenFilterer) ParseApproval(log types.Log) (*MomtokenApproval, error)
- func (_Momtoken *MomtokenFilterer) ParsePaused(log types.Log) (*MomtokenPaused, error)
- func (_Momtoken *MomtokenFilterer) ParseRoleAdminChanged(log types.Log) (*MomtokenRoleAdminChanged, error)
- func (_Momtoken *MomtokenFilterer) ParseRoleGranted(log types.Log) (*MomtokenRoleGranted, error)
- func (_Momtoken *MomtokenFilterer) ParseRoleRevoked(log types.Log) (*MomtokenRoleRevoked, error)
- func (_Momtoken *MomtokenFilterer) ParseTransfer(log types.Log) (*MomtokenTransfer, error)
- func (_Momtoken *MomtokenFilterer) ParseUnpaused(log types.Log) (*MomtokenUnpaused, error)
- func (_Momtoken *MomtokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MomtokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Momtoken *MomtokenFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *MomtokenPaused) (event.Subscription, error)
- func (_Momtoken *MomtokenFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *MomtokenRoleAdminChanged, role [][32]byte, ...) (event.Subscription, error)
- func (_Momtoken *MomtokenFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *MomtokenRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_Momtoken *MomtokenFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *MomtokenRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- func (_Momtoken *MomtokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MomtokenTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_Momtoken *MomtokenFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *MomtokenUnpaused) (event.Subscription, error)
- type MomtokenPaused
- type MomtokenPausedIterator
- type MomtokenRaw
- func (_Momtoken *MomtokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Momtoken *MomtokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Momtoken *MomtokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MomtokenRoleAdminChanged
- type MomtokenRoleAdminChangedIterator
- type MomtokenRoleGranted
- type MomtokenRoleGrantedIterator
- type MomtokenRoleRevoked
- type MomtokenRoleRevokedIterator
- type MomtokenSession
- func (_Momtoken *MomtokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Momtoken *MomtokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenSession) BURNERROLE() ([32]byte, error)
- func (_Momtoken *MomtokenSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Momtoken *MomtokenSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Momtoken *MomtokenSession) Decimals() (uint8, error)
- func (_Momtoken *MomtokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Momtoken *MomtokenSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Momtoken *MomtokenSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Momtoken *MomtokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenSession) MINTERROLE() ([32]byte, error)
- func (_Momtoken *MomtokenSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenSession) MintDad(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenSession) Name() (string, error)
- func (_Momtoken *MomtokenSession) PAUSERROLE() ([32]byte, error)
- func (_Momtoken *MomtokenSession) Pause() (*types.Transaction, error)
- func (_Momtoken *MomtokenSession) Paused() (bool, error)
- func (_Momtoken *MomtokenSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Momtoken *MomtokenSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Momtoken *MomtokenSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Momtoken *MomtokenSession) Symbol() (string, error)
- func (_Momtoken *MomtokenSession) TotalSupply() (*big.Int, error)
- func (_Momtoken *MomtokenSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenSession) Unpause() (*types.Transaction, error)
- type MomtokenTransactor
- func (_Momtoken *MomtokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactor) MintDad(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- type MomtokenTransactorRaw
- type MomtokenTransactorSession
- func (_Momtoken *MomtokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactorSession) MintDad(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactorSession) Pause() (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Momtoken *MomtokenTransactorSession) Unpause() (*types.Transaction, error)
- type MomtokenTransfer
- type MomtokenTransferIterator
- type MomtokenUnpaused
- type MomtokenUnpausedIterator
- type NodeManagementNode
- type Nodemanagement
- type NodemanagementAdminChanged
- type NodemanagementAdminChangedIterator
- type NodemanagementBeaconUpgraded
- type NodemanagementBeaconUpgradedIterator
- type NodemanagementCaller
- func (_Nodemanagement *NodemanagementCaller) FeeETH(opts *bind.CallOpts) (*big.Int, error)
- func (_Nodemanagement *NodemanagementCaller) FeeMom(opts *bind.CallOpts) (*big.Int, error)
- func (_Nodemanagement *NodemanagementCaller) GetNode(opts *bind.CallOpts, node_id *big.Int) (NodeManagementNode, error)
- func (_Nodemanagement *NodemanagementCaller) GetNodeForTheOdyssey(opts *bind.CallOpts, odyssey_id *big.Int) (NodeManagementNode, error)
- func (_Nodemanagement *NodemanagementCaller) MomToken(opts *bind.CallOpts) (common.Address, error)
- func (_Nodemanagement *NodemanagementCaller) NodeFromOdyssey(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Nodemanagement *NodemanagementCaller) Nodes(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Nodemanagement *NodemanagementCaller) NodesCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Nodemanagement *NodemanagementCaller) NodesIndex(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Nodemanagement *NodemanagementCaller) OdysseyNft(opts *bind.CallOpts) (common.Address, error)
- func (_Nodemanagement *NodemanagementCaller) Odysseys(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_Nodemanagement *NodemanagementCaller) OdysseysIndex(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Nodemanagement *NodemanagementCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Nodemanagement *NodemanagementCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_Nodemanagement *NodemanagementCaller) SplitSignature(opts *bind.CallOpts, sig []byte) (uint8, [32]byte, [32]byte, error)
- func (_Nodemanagement *NodemanagementCaller) Treasury(opts *bind.CallOpts) (common.Address, error)
- type NodemanagementCallerRaw
- type NodemanagementCallerSession
- func (_Nodemanagement *NodemanagementCallerSession) FeeETH() (*big.Int, error)
- func (_Nodemanagement *NodemanagementCallerSession) FeeMom() (*big.Int, error)
- func (_Nodemanagement *NodemanagementCallerSession) GetNode(node_id *big.Int) (NodeManagementNode, error)
- func (_Nodemanagement *NodemanagementCallerSession) GetNodeForTheOdyssey(odyssey_id *big.Int) (NodeManagementNode, error)
- func (_Nodemanagement *NodemanagementCallerSession) MomToken() (common.Address, error)
- func (_Nodemanagement *NodemanagementCallerSession) NodeFromOdyssey(arg0 *big.Int) (struct{ ... }, error)
- func (_Nodemanagement *NodemanagementCallerSession) Nodes(arg0 *big.Int) (struct{ ... }, error)
- func (_Nodemanagement *NodemanagementCallerSession) NodesCount() (*big.Int, error)
- func (_Nodemanagement *NodemanagementCallerSession) NodesIndex(arg0 *big.Int) (*big.Int, error)
- func (_Nodemanagement *NodemanagementCallerSession) OdysseyNft() (common.Address, error)
- func (_Nodemanagement *NodemanagementCallerSession) Odysseys(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_Nodemanagement *NodemanagementCallerSession) OdysseysIndex(arg0 *big.Int) (*big.Int, error)
- func (_Nodemanagement *NodemanagementCallerSession) Owner() (common.Address, error)
- func (_Nodemanagement *NodemanagementCallerSession) ProxiableUUID() ([32]byte, error)
- func (_Nodemanagement *NodemanagementCallerSession) SplitSignature(sig []byte) (uint8, [32]byte, [32]byte, error)
- func (_Nodemanagement *NodemanagementCallerSession) Treasury() (common.Address, error)
- type NodemanagementFeeUpdatedEth
- type NodemanagementFeeUpdatedEthIterator
- type NodemanagementFeeUpdatedMom
- type NodemanagementFeeUpdatedMomIterator
- type NodemanagementFilterer
- func (_Nodemanagement *NodemanagementFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*NodemanagementAdminChangedIterator, error)
- func (_Nodemanagement *NodemanagementFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*NodemanagementBeaconUpgradedIterator, error)
- func (_Nodemanagement *NodemanagementFilterer) FilterFeeUpdatedEth(opts *bind.FilterOpts) (*NodemanagementFeeUpdatedEthIterator, error)
- func (_Nodemanagement *NodemanagementFilterer) FilterFeeUpdatedMom(opts *bind.FilterOpts) (*NodemanagementFeeUpdatedMomIterator, error)
- func (_Nodemanagement *NodemanagementFilterer) FilterInitialized(opts *bind.FilterOpts) (*NodemanagementInitializedIterator, error)
- func (_Nodemanagement *NodemanagementFilterer) FilterNodeMgmtEvent(opts *bind.FilterOpts, from_node_id []*big.Int, to_node_id []*big.Int, ...) (*NodemanagementNodeMgmtEventIterator, error)
- func (_Nodemanagement *NodemanagementFilterer) FilterNodeRemoved(opts *bind.FilterOpts, node_id []*big.Int) (*NodemanagementNodeRemovedIterator, error)
- func (_Nodemanagement *NodemanagementFilterer) FilterNodeUpdated(opts *bind.FilterOpts, node_id []*big.Int) (*NodemanagementNodeUpdatedIterator, error)
- func (_Nodemanagement *NodemanagementFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*NodemanagementOwnershipTransferredIterator, error)
- func (_Nodemanagement *NodemanagementFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*NodemanagementUpgradedIterator, error)
- func (_Nodemanagement *NodemanagementFilterer) ParseAdminChanged(log types.Log) (*NodemanagementAdminChanged, error)
- func (_Nodemanagement *NodemanagementFilterer) ParseBeaconUpgraded(log types.Log) (*NodemanagementBeaconUpgraded, error)
- func (_Nodemanagement *NodemanagementFilterer) ParseFeeUpdatedEth(log types.Log) (*NodemanagementFeeUpdatedEth, error)
- func (_Nodemanagement *NodemanagementFilterer) ParseFeeUpdatedMom(log types.Log) (*NodemanagementFeeUpdatedMom, error)
- func (_Nodemanagement *NodemanagementFilterer) ParseInitialized(log types.Log) (*NodemanagementInitialized, error)
- func (_Nodemanagement *NodemanagementFilterer) ParseNodeMgmtEvent(log types.Log) (*NodemanagementNodeMgmtEvent, error)
- func (_Nodemanagement *NodemanagementFilterer) ParseNodeRemoved(log types.Log) (*NodemanagementNodeRemoved, error)
- func (_Nodemanagement *NodemanagementFilterer) ParseNodeUpdated(log types.Log) (*NodemanagementNodeUpdated, error)
- func (_Nodemanagement *NodemanagementFilterer) ParseOwnershipTransferred(log types.Log) (*NodemanagementOwnershipTransferred, error)
- func (_Nodemanagement *NodemanagementFilterer) ParseUpgraded(log types.Log) (*NodemanagementUpgraded, error)
- func (_Nodemanagement *NodemanagementFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *NodemanagementAdminChanged) (event.Subscription, error)
- func (_Nodemanagement *NodemanagementFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *NodemanagementBeaconUpgraded, ...) (event.Subscription, error)
- func (_Nodemanagement *NodemanagementFilterer) WatchFeeUpdatedEth(opts *bind.WatchOpts, sink chan<- *NodemanagementFeeUpdatedEth) (event.Subscription, error)
- func (_Nodemanagement *NodemanagementFilterer) WatchFeeUpdatedMom(opts *bind.WatchOpts, sink chan<- *NodemanagementFeeUpdatedMom) (event.Subscription, error)
- func (_Nodemanagement *NodemanagementFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *NodemanagementInitialized) (event.Subscription, error)
- func (_Nodemanagement *NodemanagementFilterer) WatchNodeMgmtEvent(opts *bind.WatchOpts, sink chan<- *NodemanagementNodeMgmtEvent, ...) (event.Subscription, error)
- func (_Nodemanagement *NodemanagementFilterer) WatchNodeRemoved(opts *bind.WatchOpts, sink chan<- *NodemanagementNodeRemoved, ...) (event.Subscription, error)
- func (_Nodemanagement *NodemanagementFilterer) WatchNodeUpdated(opts *bind.WatchOpts, sink chan<- *NodemanagementNodeUpdated, ...) (event.Subscription, error)
- func (_Nodemanagement *NodemanagementFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *NodemanagementOwnershipTransferred, ...) (event.Subscription, error)
- func (_Nodemanagement *NodemanagementFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *NodemanagementUpgraded, ...) (event.Subscription, error)
- type NodemanagementInitialized
- type NodemanagementInitializedIterator
- type NodemanagementNodeMgmtEvent
- type NodemanagementNodeMgmtEventIterator
- type NodemanagementNodeRemoved
- type NodemanagementNodeRemovedIterator
- type NodemanagementNodeUpdated
- type NodemanagementNodeUpdatedIterator
- type NodemanagementOwnershipTransferred
- type NodemanagementOwnershipTransferredIterator
- type NodemanagementRaw
- func (_Nodemanagement *NodemanagementRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Nodemanagement *NodemanagementRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type NodemanagementSession
- func (_Nodemanagement *NodemanagementSession) AddNodeWithEth(node_id *big.Int, hostname string, name string, pubkey []byte) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementSession) AddNodeWithMom(node_id *big.Int, hostname string, name string, pubkey []byte) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementSession) FeeETH() (*big.Int, error)
- func (_Nodemanagement *NodemanagementSession) FeeMom() (*big.Int, error)
- func (_Nodemanagement *NodemanagementSession) GetNode(node_id *big.Int) (NodeManagementNode, error)
- func (_Nodemanagement *NodemanagementSession) GetNodeForTheOdyssey(odyssey_id *big.Int) (NodeManagementNode, error)
- func (_Nodemanagement *NodemanagementSession) Initialize(_odyssey_nft common.Address, _treasury common.Address, _feeEth *big.Int, ...) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementSession) MomToken() (common.Address, error)
- func (_Nodemanagement *NodemanagementSession) NodeFromOdyssey(arg0 *big.Int) (struct{ ... }, error)
- func (_Nodemanagement *NodemanagementSession) Nodes(arg0 *big.Int) (struct{ ... }, error)
- func (_Nodemanagement *NodemanagementSession) NodesCount() (*big.Int, error)
- func (_Nodemanagement *NodemanagementSession) NodesIndex(arg0 *big.Int) (*big.Int, error)
- func (_Nodemanagement *NodemanagementSession) OdysseyNft() (common.Address, error)
- func (_Nodemanagement *NodemanagementSession) Odysseys(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_Nodemanagement *NodemanagementSession) OdysseysIndex(arg0 *big.Int) (*big.Int, error)
- func (_Nodemanagement *NodemanagementSession) Owner() (common.Address, error)
- func (_Nodemanagement *NodemanagementSession) ProxiableUUID() ([32]byte, error)
- func (_Nodemanagement *NodemanagementSession) RemoveMapping(node_id *big.Int, odyssey_id *big.Int) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementSession) RemoveNode(node_id *big.Int) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementSession) RenounceOwnership() (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementSession) SetNodeMapping(node_id *big.Int, odyssey_id *big.Int, challenge []byte) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementSession) SetOdysseyMapping(node_id *big.Int, odyssey_id *big.Int, challenge []byte) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementSession) SplitSignature(sig []byte) (uint8, [32]byte, [32]byte, error)
- func (_Nodemanagement *NodemanagementSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementSession) Treasury() (common.Address, error)
- func (_Nodemanagement *NodemanagementSession) UpdateFeeEth(new_feeEth *big.Int) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementSession) UpdateFeeMom(new_feeMom *big.Int) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementSession) UpdateNode(node_id *big.Int, hostname string, name string) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementSession) UpdateNodeOwner(node_id *big.Int, new_owner common.Address) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementSession) UpdateNodePubkey(node_id *big.Int, new_pubkey []byte) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type NodemanagementTransactor
- func (_Nodemanagement *NodemanagementTransactor) AddNodeWithEth(opts *bind.TransactOpts, node_id *big.Int, hostname string, name string, ...) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactor) AddNodeWithMom(opts *bind.TransactOpts, node_id *big.Int, hostname string, name string, ...) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactor) Initialize(opts *bind.TransactOpts, _odyssey_nft common.Address, _treasury common.Address, ...) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactor) RemoveMapping(opts *bind.TransactOpts, node_id *big.Int, odyssey_id *big.Int) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactor) RemoveNode(opts *bind.TransactOpts, node_id *big.Int) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactor) SetNodeMapping(opts *bind.TransactOpts, node_id *big.Int, odyssey_id *big.Int, ...) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactor) SetOdysseyMapping(opts *bind.TransactOpts, node_id *big.Int, odyssey_id *big.Int, ...) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactor) UpdateFeeEth(opts *bind.TransactOpts, new_feeEth *big.Int) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactor) UpdateFeeMom(opts *bind.TransactOpts, new_feeMom *big.Int) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactor) UpdateNode(opts *bind.TransactOpts, node_id *big.Int, hostname string, name string) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactor) UpdateNodeOwner(opts *bind.TransactOpts, node_id *big.Int, new_owner common.Address) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactor) UpdateNodePubkey(opts *bind.TransactOpts, node_id *big.Int, new_pubkey []byte) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type NodemanagementTransactorRaw
- type NodemanagementTransactorSession
- func (_Nodemanagement *NodemanagementTransactorSession) AddNodeWithEth(node_id *big.Int, hostname string, name string, pubkey []byte) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactorSession) AddNodeWithMom(node_id *big.Int, hostname string, name string, pubkey []byte) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactorSession) Initialize(_odyssey_nft common.Address, _treasury common.Address, _feeEth *big.Int, ...) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactorSession) RemoveMapping(node_id *big.Int, odyssey_id *big.Int) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactorSession) RemoveNode(node_id *big.Int) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactorSession) SetNodeMapping(node_id *big.Int, odyssey_id *big.Int, challenge []byte) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactorSession) SetOdysseyMapping(node_id *big.Int, odyssey_id *big.Int, challenge []byte) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactorSession) UpdateFeeEth(new_feeEth *big.Int) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactorSession) UpdateFeeMom(new_feeMom *big.Int) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactorSession) UpdateNode(node_id *big.Int, hostname string, name string) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactorSession) UpdateNodeOwner(node_id *big.Int, new_owner common.Address) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactorSession) UpdateNodePubkey(node_id *big.Int, new_pubkey []byte) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_Nodemanagement *NodemanagementTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type NodemanagementUpgraded
- type NodemanagementUpgradedIterator
- type Odysseynft
- type OdysseynftApproval
- type OdysseynftApprovalForAll
- type OdysseynftApprovalForAllIterator
- type OdysseynftApprovalIterator
- type OdysseynftBatchMetadataUpdate
- type OdysseynftBatchMetadataUpdateIterator
- type OdysseynftCaller
- func (_Odysseynft *OdysseynftCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_Odysseynft *OdysseynftCaller) CurrentId(opts *bind.CallOpts) (*big.Int, error)
- func (_Odysseynft *OdysseynftCaller) Exists(opts *bind.CallOpts, tokenId *big.Int) (bool, error)
- func (_Odysseynft *OdysseynftCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Odysseynft *OdysseynftCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_Odysseynft *OdysseynftCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Odysseynft *OdysseynftCaller) Odysseys(opts *bind.CallOpts) (*big.Int, error)
- func (_Odysseynft *OdysseynftCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Odysseynft *OdysseynftCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Odysseynft *OdysseynftCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_Odysseynft *OdysseynftCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Odysseynft *OdysseynftCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Odysseynft *OdysseynftCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- type OdysseynftCallerRaw
- type OdysseynftCallerSession
- func (_Odysseynft *OdysseynftCallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Odysseynft *OdysseynftCallerSession) CurrentId() (*big.Int, error)
- func (_Odysseynft *OdysseynftCallerSession) Exists(tokenId *big.Int) (bool, error)
- func (_Odysseynft *OdysseynftCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Odysseynft *OdysseynftCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Odysseynft *OdysseynftCallerSession) Name() (string, error)
- func (_Odysseynft *OdysseynftCallerSession) Odysseys() (*big.Int, error)
- func (_Odysseynft *OdysseynftCallerSession) Owner() (common.Address, error)
- func (_Odysseynft *OdysseynftCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Odysseynft *OdysseynftCallerSession) Paused() (bool, error)
- func (_Odysseynft *OdysseynftCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Odysseynft *OdysseynftCallerSession) Symbol() (string, error)
- func (_Odysseynft *OdysseynftCallerSession) TokenURI(tokenId *big.Int) (string, error)
- type OdysseynftFilterer
- func (_Odysseynft *OdysseynftFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*OdysseynftApprovalIterator, error)
- func (_Odysseynft *OdysseynftFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*OdysseynftApprovalForAllIterator, error)
- func (_Odysseynft *OdysseynftFilterer) FilterBatchMetadataUpdate(opts *bind.FilterOpts) (*OdysseynftBatchMetadataUpdateIterator, error)
- func (_Odysseynft *OdysseynftFilterer) FilterMetadataUpdate(opts *bind.FilterOpts) (*OdysseynftMetadataUpdateIterator, error)
- func (_Odysseynft *OdysseynftFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OdysseynftOwnershipTransferredIterator, error)
- func (_Odysseynft *OdysseynftFilterer) FilterPaused(opts *bind.FilterOpts) (*OdysseynftPausedIterator, error)
- func (_Odysseynft *OdysseynftFilterer) FilterStateUpdated(opts *bind.FilterOpts, state []string) (*OdysseynftStateUpdatedIterator, error)
- func (_Odysseynft *OdysseynftFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*OdysseynftTransferIterator, error)
- func (_Odysseynft *OdysseynftFilterer) FilterUnpaused(opts *bind.FilterOpts) (*OdysseynftUnpausedIterator, error)
- func (_Odysseynft *OdysseynftFilterer) ParseApproval(log types.Log) (*OdysseynftApproval, error)
- func (_Odysseynft *OdysseynftFilterer) ParseApprovalForAll(log types.Log) (*OdysseynftApprovalForAll, error)
- func (_Odysseynft *OdysseynftFilterer) ParseBatchMetadataUpdate(log types.Log) (*OdysseynftBatchMetadataUpdate, error)
- func (_Odysseynft *OdysseynftFilterer) ParseMetadataUpdate(log types.Log) (*OdysseynftMetadataUpdate, error)
- func (_Odysseynft *OdysseynftFilterer) ParseOwnershipTransferred(log types.Log) (*OdysseynftOwnershipTransferred, error)
- func (_Odysseynft *OdysseynftFilterer) ParsePaused(log types.Log) (*OdysseynftPaused, error)
- func (_Odysseynft *OdysseynftFilterer) ParseStateUpdated(log types.Log) (*OdysseynftStateUpdated, error)
- func (_Odysseynft *OdysseynftFilterer) ParseTransfer(log types.Log) (*OdysseynftTransfer, error)
- func (_Odysseynft *OdysseynftFilterer) ParseUnpaused(log types.Log) (*OdysseynftUnpaused, error)
- func (_Odysseynft *OdysseynftFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *OdysseynftApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Odysseynft *OdysseynftFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *OdysseynftApprovalForAll, ...) (event.Subscription, error)
- func (_Odysseynft *OdysseynftFilterer) WatchBatchMetadataUpdate(opts *bind.WatchOpts, sink chan<- *OdysseynftBatchMetadataUpdate) (event.Subscription, error)
- func (_Odysseynft *OdysseynftFilterer) WatchMetadataUpdate(opts *bind.WatchOpts, sink chan<- *OdysseynftMetadataUpdate) (event.Subscription, error)
- func (_Odysseynft *OdysseynftFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OdysseynftOwnershipTransferred, ...) (event.Subscription, error)
- func (_Odysseynft *OdysseynftFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *OdysseynftPaused) (event.Subscription, error)
- func (_Odysseynft *OdysseynftFilterer) WatchStateUpdated(opts *bind.WatchOpts, sink chan<- *OdysseynftStateUpdated, state []string) (event.Subscription, error)
- func (_Odysseynft *OdysseynftFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *OdysseynftTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_Odysseynft *OdysseynftFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *OdysseynftUnpaused) (event.Subscription, error)
- type OdysseynftMetadataUpdate
- type OdysseynftMetadataUpdateIterator
- type OdysseynftOwnershipTransferred
- type OdysseynftOwnershipTransferredIterator
- type OdysseynftPaused
- type OdysseynftPausedIterator
- type OdysseynftRaw
- func (_Odysseynft *OdysseynftRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Odysseynft *OdysseynftRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OdysseynftSession
- func (_Odysseynft *OdysseynftSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Odysseynft *OdysseynftSession) Burn(tokenId *big.Int) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftSession) CurrentId() (*big.Int, error)
- func (_Odysseynft *OdysseynftSession) Exists(tokenId *big.Int) (bool, error)
- func (_Odysseynft *OdysseynftSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Odysseynft *OdysseynftSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Odysseynft *OdysseynftSession) Name() (string, error)
- func (_Odysseynft *OdysseynftSession) Odysseys() (*big.Int, error)
- func (_Odysseynft *OdysseynftSession) Owner() (common.Address, error)
- func (_Odysseynft *OdysseynftSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Odysseynft *OdysseynftSession) Pause() (*types.Transaction, error)
- func (_Odysseynft *OdysseynftSession) Paused() (bool, error)
- func (_Odysseynft *OdysseynftSession) RenounceOwnership() (*types.Transaction, error)
- func (_Odysseynft *OdysseynftSession) SafeMint(to common.Address) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftSession) SetbaseURI(baseURI string) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Odysseynft *OdysseynftSession) Symbol() (string, error)
- func (_Odysseynft *OdysseynftSession) TokenURI(tokenId *big.Int) (string, error)
- func (_Odysseynft *OdysseynftSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftSession) Unpause() (*types.Transaction, error)
- type OdysseynftStateUpdated
- type OdysseynftStateUpdatedIterator
- type OdysseynftTransactor
- func (_Odysseynft *OdysseynftTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactor) Burn(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactor) SafeMint(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactor) SetbaseURI(opts *bind.TransactOpts, baseURI string) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- type OdysseynftTransactorRaw
- type OdysseynftTransactorSession
- func (_Odysseynft *OdysseynftTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactorSession) Burn(tokenId *big.Int) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactorSession) Pause() (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactorSession) SafeMint(to common.Address) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactorSession) SetbaseURI(baseURI string) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Odysseynft *OdysseynftTransactorSession) Unpause() (*types.Transaction, error)
- type OdysseynftTransfer
- type OdysseynftTransferIterator
- type OdysseynftUnpaused
- type OdysseynftUnpausedIterator
- type Staking
- type StakingAdminChanged
- type StakingAdminChangedIterator
- type StakingBeaconUpgraded
- type StakingBeaconUpgradedIterator
- type StakingCaller
- func (_Staking *StakingCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Staking *StakingCaller) DadToken(opts *bind.CallOpts) (common.Address, error)
- func (_Staking *StakingCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_Staking *StakingCaller) GetStakedBy(opts *bind.CallOpts, odyssey *big.Int) ([]StakingStakedBy, error)
- func (_Staking *StakingCaller) GetStakedOdysseys(opts *bind.CallOpts) ([]*big.Int, error)
- func (_Staking *StakingCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_Staking *StakingCaller) LastRewardsCalculation(opts *bind.CallOpts) (*big.Int, error)
- func (_Staking *StakingCaller) LockingPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_Staking *StakingCaller) MANAGERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Staking *StakingCaller) MomToken(opts *bind.CallOpts) (common.Address, error)
- func (_Staking *StakingCaller) OdysseyNfts(opts *bind.CallOpts) (common.Address, error)
- func (_Staking *StakingCaller) Odysseys(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Staking *StakingCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_Staking *StakingCaller) RewardsTimeout(opts *bind.CallOpts) (*big.Int, error)
- func (_Staking *StakingCaller) StakedBy(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (struct{ ... }, error)
- func (_Staking *StakingCaller) StakedByIndexes(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (*big.Int, error)
- func (_Staking *StakingCaller) StakedOdysseys(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Staking *StakingCaller) Stakers(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_Staking *StakingCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Staking *StakingCaller) TotalStaked(opts *bind.CallOpts) (*big.Int, error)
- func (_Staking *StakingCaller) Treasury(opts *bind.CallOpts) (common.Address, error)
- func (_Staking *StakingCaller) Unstakes(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- type StakingCallerRaw
- type StakingCallerSession
- func (_Staking *StakingCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Staking *StakingCallerSession) DadToken() (common.Address, error)
- func (_Staking *StakingCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Staking *StakingCallerSession) GetStakedBy(odyssey *big.Int) ([]StakingStakedBy, error)
- func (_Staking *StakingCallerSession) GetStakedOdysseys() ([]*big.Int, error)
- func (_Staking *StakingCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Staking *StakingCallerSession) LastRewardsCalculation() (*big.Int, error)
- func (_Staking *StakingCallerSession) LockingPeriod() (*big.Int, error)
- func (_Staking *StakingCallerSession) MANAGERROLE() ([32]byte, error)
- func (_Staking *StakingCallerSession) MomToken() (common.Address, error)
- func (_Staking *StakingCallerSession) OdysseyNfts() (common.Address, error)
- func (_Staking *StakingCallerSession) Odysseys(arg0 *big.Int) (struct{ ... }, error)
- func (_Staking *StakingCallerSession) ProxiableUUID() ([32]byte, error)
- func (_Staking *StakingCallerSession) RewardsTimeout() (*big.Int, error)
- func (_Staking *StakingCallerSession) StakedBy(arg0 *big.Int, arg1 *big.Int) (struct{ ... }, error)
- func (_Staking *StakingCallerSession) StakedByIndexes(arg0 *big.Int, arg1 common.Address) (*big.Int, error)
- func (_Staking *StakingCallerSession) StakedOdysseys(arg0 *big.Int) (*big.Int, error)
- func (_Staking *StakingCallerSession) Stakers(arg0 common.Address) (struct{ ... }, error)
- func (_Staking *StakingCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Staking *StakingCallerSession) TotalStaked() (*big.Int, error)
- func (_Staking *StakingCallerSession) Treasury() (common.Address, error)
- func (_Staking *StakingCallerSession) Unstakes(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- type StakingClaimedUnstaked
- type StakingClaimedUnstakedIterator
- type StakingFilterer
- func (_Staking *StakingFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*StakingAdminChangedIterator, error)
- func (_Staking *StakingFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*StakingBeaconUpgradedIterator, error)
- func (_Staking *StakingFilterer) FilterClaimedUnstaked(opts *bind.FilterOpts, user []common.Address) (*StakingClaimedUnstakedIterator, error)
- func (_Staking *StakingFilterer) FilterInitialized(opts *bind.FilterOpts) (*StakingInitializedIterator, error)
- func (_Staking *StakingFilterer) FilterOdysseyRewardsClaimed(opts *bind.FilterOpts, odyssey_id []*big.Int) (*StakingOdysseyRewardsClaimedIterator, error)
- func (_Staking *StakingFilterer) FilterRestake(opts *bind.FilterOpts, user []common.Address, odyssey_from []*big.Int, ...) (*StakingRestakeIterator, error)
- func (_Staking *StakingFilterer) FilterRewardsClaimed(opts *bind.FilterOpts, user []common.Address) (*StakingRewardsClaimedIterator, error)
- func (_Staking *StakingFilterer) FilterRewardsUpdated(opts *bind.FilterOpts) (*StakingRewardsUpdatedIterator, error)
- func (_Staking *StakingFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*StakingRoleAdminChangedIterator, error)
- func (_Staking *StakingFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*StakingRoleGrantedIterator, error)
- func (_Staking *StakingFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*StakingRoleRevokedIterator, error)
- func (_Staking *StakingFilterer) FilterStake(opts *bind.FilterOpts, user []common.Address, odyssey_id []*big.Int) (*StakingStakeIterator, error)
- func (_Staking *StakingFilterer) FilterStateUpdated(opts *bind.FilterOpts, state []string) (*StakingStateUpdatedIterator, error)
- func (_Staking *StakingFilterer) FilterUnstake(opts *bind.FilterOpts, user []common.Address, odyssey_id []*big.Int) (*StakingUnstakeIterator, error)
- func (_Staking *StakingFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*StakingUpgradedIterator, error)
- func (_Staking *StakingFilterer) ParseAdminChanged(log types.Log) (*StakingAdminChanged, error)
- func (_Staking *StakingFilterer) ParseBeaconUpgraded(log types.Log) (*StakingBeaconUpgraded, error)
- func (_Staking *StakingFilterer) ParseClaimedUnstaked(log types.Log) (*StakingClaimedUnstaked, error)
- func (_Staking *StakingFilterer) ParseInitialized(log types.Log) (*StakingInitialized, error)
- func (_Staking *StakingFilterer) ParseOdysseyRewardsClaimed(log types.Log) (*StakingOdysseyRewardsClaimed, error)
- func (_Staking *StakingFilterer) ParseRestake(log types.Log) (*StakingRestake, error)
- func (_Staking *StakingFilterer) ParseRewardsClaimed(log types.Log) (*StakingRewardsClaimed, error)
- func (_Staking *StakingFilterer) ParseRewardsUpdated(log types.Log) (*StakingRewardsUpdated, error)
- func (_Staking *StakingFilterer) ParseRoleAdminChanged(log types.Log) (*StakingRoleAdminChanged, error)
- func (_Staking *StakingFilterer) ParseRoleGranted(log types.Log) (*StakingRoleGranted, error)
- func (_Staking *StakingFilterer) ParseRoleRevoked(log types.Log) (*StakingRoleRevoked, error)
- func (_Staking *StakingFilterer) ParseStake(log types.Log) (*StakingStake, error)
- func (_Staking *StakingFilterer) ParseStateUpdated(log types.Log) (*StakingStateUpdated, error)
- func (_Staking *StakingFilterer) ParseUnstake(log types.Log) (*StakingUnstake, error)
- func (_Staking *StakingFilterer) ParseUpgraded(log types.Log) (*StakingUpgraded, error)
- func (_Staking *StakingFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *StakingAdminChanged) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *StakingBeaconUpgraded, ...) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchClaimedUnstaked(opts *bind.WatchOpts, sink chan<- *StakingClaimedUnstaked, ...) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *StakingInitialized) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchOdysseyRewardsClaimed(opts *bind.WatchOpts, sink chan<- *StakingOdysseyRewardsClaimed, ...) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchRestake(opts *bind.WatchOpts, sink chan<- *StakingRestake, user []common.Address, ...) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchRewardsClaimed(opts *bind.WatchOpts, sink chan<- *StakingRewardsClaimed, ...) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchRewardsUpdated(opts *bind.WatchOpts, sink chan<- *StakingRewardsUpdated) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *StakingRoleAdminChanged, role [][32]byte, ...) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *StakingRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *StakingRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchStake(opts *bind.WatchOpts, sink chan<- *StakingStake, user []common.Address, ...) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchStateUpdated(opts *bind.WatchOpts, sink chan<- *StakingStateUpdated, state []string) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchUnstake(opts *bind.WatchOpts, sink chan<- *StakingUnstake, user []common.Address, ...) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *StakingUpgraded, ...) (event.Subscription, error)
- type StakingInitialized
- type StakingInitializedIterator
- type StakingOdysseyRewardsClaimed
- type StakingOdysseyRewardsClaimedIterator
- type StakingRaw
- func (_Staking *StakingRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Staking *StakingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Staking *StakingRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StakingRestake
- type StakingRestakeIterator
- type StakingRewardsClaimed
- type StakingRewardsClaimedIterator
- type StakingRewardsUpdated
- type StakingRewardsUpdatedIterator
- type StakingRoleAdminChanged
- type StakingRoleAdminChangedIterator
- type StakingRoleGranted
- type StakingRoleGrantedIterator
- type StakingRoleRevoked
- type StakingRoleRevokedIterator
- type StakingSession
- func (_Staking *StakingSession) ClaimRewards(odyssey_id *big.Int) (*types.Transaction, error)
- func (_Staking *StakingSession) ClaimRewards0() (*types.Transaction, error)
- func (_Staking *StakingSession) ClaimUnstakedTokens() (*types.Transaction, error)
- func (_Staking *StakingSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Staking *StakingSession) DadToken() (common.Address, error)
- func (_Staking *StakingSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Staking *StakingSession) GetStakedBy(odyssey *big.Int) ([]StakingStakedBy, error)
- func (_Staking *StakingSession) GetStakedOdysseys() ([]*big.Int, error)
- func (_Staking *StakingSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Staking *StakingSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Staking *StakingSession) Initialize(_mom_token common.Address, _dad_token common.Address, ...) (*types.Transaction, error)
- func (_Staking *StakingSession) LastRewardsCalculation() (*big.Int, error)
- func (_Staking *StakingSession) LockingPeriod() (*big.Int, error)
- func (_Staking *StakingSession) MANAGERROLE() ([32]byte, error)
- func (_Staking *StakingSession) MomToken() (common.Address, error)
- func (_Staking *StakingSession) OdysseyNfts() (common.Address, error)
- func (_Staking *StakingSession) Odysseys(arg0 *big.Int) (struct{ ... }, error)
- func (_Staking *StakingSession) ProxiableUUID() ([32]byte, error)
- func (_Staking *StakingSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Staking *StakingSession) Restake(from_odyssey_id *big.Int, to_odyssey_id *big.Int, amount *big.Int, token uint8) (*types.Transaction, error)
- func (_Staking *StakingSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Staking *StakingSession) RewardsTimeout() (*big.Int, error)
- func (_Staking *StakingSession) Stake(odyssey_id *big.Int, amount *big.Int, token uint8) (*types.Transaction, error)
- func (_Staking *StakingSession) StakedBy(arg0 *big.Int, arg1 *big.Int) (struct{ ... }, error)
- func (_Staking *StakingSession) StakedByIndexes(arg0 *big.Int, arg1 common.Address) (*big.Int, error)
- func (_Staking *StakingSession) StakedOdysseys(arg0 *big.Int) (*big.Int, error)
- func (_Staking *StakingSession) Stakers(arg0 common.Address) (struct{ ... }, error)
- func (_Staking *StakingSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Staking *StakingSession) TotalStaked() (*big.Int, error)
- func (_Staking *StakingSession) Treasury() (common.Address, error)
- func (_Staking *StakingSession) Unstake(odyssey_id *big.Int, token uint8) (*types.Transaction, error)
- func (_Staking *StakingSession) Unstakes(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- func (_Staking *StakingSession) UpdateLockingPeriod(_locking_period *big.Int) (*types.Transaction, error)
- func (_Staking *StakingSession) UpdateRewards(addresses []common.Address, stakers_amount_mom []*big.Int, ...) (*types.Transaction, error)
- func (_Staking *StakingSession) UpdateRewardsTimeout(_rewards_timeout *big.Int) (*types.Transaction, error)
- func (_Staking *StakingSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_Staking *StakingSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type StakingStake
- type StakingStakeIterator
- type StakingStakedBy
- type StakingStateUpdated
- type StakingStateUpdatedIterator
- type StakingTransactor
- func (_Staking *StakingTransactor) ClaimRewards(opts *bind.TransactOpts, odyssey_id *big.Int) (*types.Transaction, error)
- func (_Staking *StakingTransactor) ClaimRewards0(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Staking *StakingTransactor) ClaimUnstakedTokens(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Staking *StakingTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Staking *StakingTransactor) Initialize(opts *bind.TransactOpts, _mom_token common.Address, _dad_token common.Address, ...) (*types.Transaction, error)
- func (_Staking *StakingTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Staking *StakingTransactor) Restake(opts *bind.TransactOpts, from_odyssey_id *big.Int, to_odyssey_id *big.Int, ...) (*types.Transaction, error)
- func (_Staking *StakingTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Staking *StakingTransactor) Stake(opts *bind.TransactOpts, odyssey_id *big.Int, amount *big.Int, token uint8) (*types.Transaction, error)
- func (_Staking *StakingTransactor) Unstake(opts *bind.TransactOpts, odyssey_id *big.Int, token uint8) (*types.Transaction, error)
- func (_Staking *StakingTransactor) UpdateLockingPeriod(opts *bind.TransactOpts, _locking_period *big.Int) (*types.Transaction, error)
- func (_Staking *StakingTransactor) UpdateRewards(opts *bind.TransactOpts, addresses []common.Address, ...) (*types.Transaction, error)
- func (_Staking *StakingTransactor) UpdateRewardsTimeout(opts *bind.TransactOpts, _rewards_timeout *big.Int) (*types.Transaction, error)
- func (_Staking *StakingTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_Staking *StakingTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type StakingTransactorRaw
- type StakingTransactorSession
- func (_Staking *StakingTransactorSession) ClaimRewards(odyssey_id *big.Int) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) ClaimRewards0() (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) ClaimUnstakedTokens() (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) Initialize(_mom_token common.Address, _dad_token common.Address, ...) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) Restake(from_odyssey_id *big.Int, to_odyssey_id *big.Int, amount *big.Int, token uint8) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) Stake(odyssey_id *big.Int, amount *big.Int, token uint8) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) Unstake(odyssey_id *big.Int, token uint8) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) UpdateLockingPeriod(_locking_period *big.Int) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) UpdateRewards(addresses []common.Address, stakers_amount_mom []*big.Int, ...) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) UpdateRewardsTimeout(_rewards_timeout *big.Int) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type StakingUnstake
- type StakingUnstakeIterator
- type StakingUpgraded
- type StakingUpgradedIterator
- type Vesting
- type VestingCaller
- func (_Vesting *VestingCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Vesting *VestingCaller) DadToken(opts *bind.CallOpts) (common.Address, error)
- func (_Vesting *VestingCaller) EndDate(opts *bind.CallOpts) (*big.Int, error)
- func (_Vesting *VestingCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_Vesting *VestingCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_Vesting *VestingCaller) Holders(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_Vesting *VestingCaller) MomToken(opts *bind.CallOpts) (common.Address, error)
- func (_Vesting *VestingCaller) StartingDate(opts *bind.CallOpts) (*big.Int, error)
- func (_Vesting *VestingCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Vesting *VestingCaller) UPDATERROLE(opts *bind.CallOpts) ([32]byte, error)
- type VestingCallerRaw
- type VestingCallerSession
- func (_Vesting *VestingCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Vesting *VestingCallerSession) DadToken() (common.Address, error)
- func (_Vesting *VestingCallerSession) EndDate() (*big.Int, error)
- func (_Vesting *VestingCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Vesting *VestingCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Vesting *VestingCallerSession) Holders(arg0 common.Address) (struct{ ... }, error)
- func (_Vesting *VestingCallerSession) MomToken() (common.Address, error)
- func (_Vesting *VestingCallerSession) StartingDate() (*big.Int, error)
- func (_Vesting *VestingCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Vesting *VestingCallerSession) UPDATERROLE() ([32]byte, error)
- type VestingFilterer
- func (_Vesting *VestingFilterer) FilterHolderUpdated(opts *bind.FilterOpts) (*VestingHolderUpdatedIterator, error)
- func (_Vesting *VestingFilterer) FilterMOMAddressUpdated(opts *bind.FilterOpts) (*VestingMOMAddressUpdatedIterator, error)
- func (_Vesting *VestingFilterer) FilterRedeemed(opts *bind.FilterOpts) (*VestingRedeemedIterator, error)
- func (_Vesting *VestingFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*VestingRoleAdminChangedIterator, error)
- func (_Vesting *VestingFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*VestingRoleGrantedIterator, error)
- func (_Vesting *VestingFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*VestingRoleRevokedIterator, error)
- func (_Vesting *VestingFilterer) ParseHolderUpdated(log types.Log) (*VestingHolderUpdated, error)
- func (_Vesting *VestingFilterer) ParseMOMAddressUpdated(log types.Log) (*VestingMOMAddressUpdated, error)
- func (_Vesting *VestingFilterer) ParseRedeemed(log types.Log) (*VestingRedeemed, error)
- func (_Vesting *VestingFilterer) ParseRoleAdminChanged(log types.Log) (*VestingRoleAdminChanged, error)
- func (_Vesting *VestingFilterer) ParseRoleGranted(log types.Log) (*VestingRoleGranted, error)
- func (_Vesting *VestingFilterer) ParseRoleRevoked(log types.Log) (*VestingRoleRevoked, error)
- func (_Vesting *VestingFilterer) WatchHolderUpdated(opts *bind.WatchOpts, sink chan<- *VestingHolderUpdated) (event.Subscription, error)
- func (_Vesting *VestingFilterer) WatchMOMAddressUpdated(opts *bind.WatchOpts, sink chan<- *VestingMOMAddressUpdated) (event.Subscription, error)
- func (_Vesting *VestingFilterer) WatchRedeemed(opts *bind.WatchOpts, sink chan<- *VestingRedeemed) (event.Subscription, error)
- func (_Vesting *VestingFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *VestingRoleAdminChanged, role [][32]byte, ...) (event.Subscription, error)
- func (_Vesting *VestingFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *VestingRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_Vesting *VestingFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *VestingRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- type VestingHolderUpdated
- type VestingHolderUpdatedIterator
- type VestingMOMAddressUpdated
- type VestingMOMAddressUpdatedIterator
- type VestingRaw
- func (_Vesting *VestingRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Vesting *VestingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Vesting *VestingRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VestingRedeemed
- type VestingRedeemedIterator
- type VestingRoleAdminChanged
- type VestingRoleAdminChangedIterator
- type VestingRoleGranted
- type VestingRoleGrantedIterator
- type VestingRoleRevoked
- type VestingRoleRevokedIterator
- type VestingSession
- func (_Vesting *VestingSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Vesting *VestingSession) DadToken() (common.Address, error)
- func (_Vesting *VestingSession) EndDate() (*big.Int, error)
- func (_Vesting *VestingSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Vesting *VestingSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Vesting *VestingSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Vesting *VestingSession) Holders(arg0 common.Address) (struct{ ... }, error)
- func (_Vesting *VestingSession) MomToken() (common.Address, error)
- func (_Vesting *VestingSession) RedeemTokens() (*types.Transaction, error)
- func (_Vesting *VestingSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Vesting *VestingSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Vesting *VestingSession) SetMomAddress(_mom_token common.Address) (*types.Transaction, error)
- func (_Vesting *VestingSession) StartingDate() (*big.Int, error)
- func (_Vesting *VestingSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Vesting *VestingSession) UPDATERROLE() ([32]byte, error)
- func (_Vesting *VestingSession) UpdateHolder(holder common.Address, amount *big.Int) (*types.Transaction, error)
- type VestingTransactor
- func (_Vesting *VestingTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Vesting *VestingTransactor) RedeemTokens(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Vesting *VestingTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Vesting *VestingTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Vesting *VestingTransactor) SetMomAddress(opts *bind.TransactOpts, _mom_token common.Address) (*types.Transaction, error)
- func (_Vesting *VestingTransactor) UpdateHolder(opts *bind.TransactOpts, holder common.Address, amount *big.Int) (*types.Transaction, error)
- type VestingTransactorRaw
- type VestingTransactorSession
- func (_Vesting *VestingTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Vesting *VestingTransactorSession) RedeemTokens() (*types.Transaction, error)
- func (_Vesting *VestingTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Vesting *VestingTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Vesting *VestingTransactorSession) SetMomAddress(_mom_token common.Address) (*types.Transaction, error)
- func (_Vesting *VestingTransactorSession) UpdateHolder(holder common.Address, amount *big.Int) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var DadtokenABI = DadtokenMetaData.ABI
DadtokenABI is the input ABI used to generate the binding from. Deprecated: Use DadtokenMetaData.ABI instead.
var DadtokenMetaData = &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\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BURNER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"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\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"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\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"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\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"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\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
DadtokenMetaData contains all meta data concerning the Dadtoken contract.
var MomtokenABI = MomtokenMetaData.ABI
MomtokenABI is the input ABI used to generate the binding from. Deprecated: Use MomtokenMetaData.ABI instead.
var MomtokenMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"initialSupply\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_vesting\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_dad\",\"type\":\"address\"}],\"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\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BURNER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PAUSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"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\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"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\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mintDad\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"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\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"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\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
MomtokenMetaData contains all meta data concerning the Momtoken contract.
var NodemanagementABI = NodemanagementMetaData.ABI
NodemanagementABI is the input ABI used to generate the binding from. Deprecated: Use NodemanagementMetaData.ABI instead.
var NodemanagementMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"old_fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"new_fee\",\"type\":\"uint256\"}],\"name\":\"FeeUpdatedEth\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"old_fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"new_fee\",\"type\":\"uint256\"}],\"name\":\"FeeUpdatedMom\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"from_node_id\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"to_node_id\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"odyssey_id\",\"type\":\"uint256\"}],\"name\":\"NodeMgmtEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"node_id\",\"type\":\"uint256\"}],\"name\":\"NodeRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"node_id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"old_owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"new_owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"old_hostname\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"new_hostname\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"old_name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"new_name\",\"type\":\"string\"}],\"name\":\"NodeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"node_id\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"hostname\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"pubkey\",\"type\":\"bytes\"}],\"name\":\"addNodeWithEth\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"node_id\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"hostname\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"pubkey\",\"type\":\"bytes\"}],\"name\":\"addNodeWithMom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeETH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeMom\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"node_id\",\"type\":\"uint256\"}],\"name\":\"getNode\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"node_id\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"hostname\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"pubkey\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"node_account\",\"type\":\"address\"}],\"internalType\":\"structNodeManagement.Node\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"odyssey_id\",\"type\":\"uint256\"}],\"name\":\"getNodeForTheOdyssey\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"node_id\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"hostname\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"pubkey\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"node_account\",\"type\":\"address\"}],\"internalType\":\"structNodeManagement.Node\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_odyssey_nft\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_treasury\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_feeEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_feeMom\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_mom_token\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mom_token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"node_from_odyssey\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"node_id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"nodes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"node_id\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"hostname\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"pubkey\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"node_account\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nodesCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"nodes_index\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"odyssey_nft\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"odysseys\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"odysseys_index\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"node_id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"odyssey_id\",\"type\":\"uint256\"}],\"name\":\"removeMapping\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"node_id\",\"type\":\"uint256\"}],\"name\":\"removeNode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"node_id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"odyssey_id\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"challenge\",\"type\":\"bytes\"}],\"name\":\"setNodeMapping\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"node_id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"odyssey_id\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"challenge\",\"type\":\"bytes\"}],\"name\":\"setOdysseyMapping\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"sig\",\"type\":\"bytes\"}],\"name\":\"splitSignature\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treasury\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"node_id\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"hostname\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"updateNode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"node_id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"new_owner\",\"type\":\"address\"}],\"name\":\"updateNodeOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"node_id\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"new_pubkey\",\"type\":\"bytes\"}],\"name\":\"updateNodePubkey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"new_feeEth\",\"type\":\"uint256\"}],\"name\":\"update_feeEth\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"new_feeMom\",\"type\":\"uint256\"}],\"name\":\"update_feeMom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}
NodemanagementMetaData contains all meta data concerning the Nodemanagement contract.
var OdysseynftABI = OdysseynftMetaData.ABI
OdysseynftABI is the input ABI used to generate the binding from. Deprecated: Use OdysseynftMetaData.ABI instead.
var OdysseynftMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"customBaseURI\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_fromTokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_toTokenId\",\"type\":\"uint256\"}],\"name\":\"BatchMetadataUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"MetadataUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"state\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"from\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"to\",\"type\":\"string\"}],\"name\":\"StateUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"exists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"odysseys\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"safeMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"baseURI\",\"type\":\"string\"}],\"name\":\"setbaseURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
OdysseynftMetaData contains all meta data concerning the Odysseynft contract.
var StakingABI = StakingMetaData.ABI
StakingABI is the input ABI used to generate the binding from. Deprecated: Use StakingMetaData.ABI instead.
var StakingMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"total_claimed\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"total_staked\",\"type\":\"uint256\"}],\"name\":\"ClaimedUnstaked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"odyssey_id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"total_mom_rewards_claimed\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"total_dad_rewards_claimed\",\"type\":\"uint256\"}],\"name\":\"OdysseyRewardsClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"odyssey_from\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"odyssey_to\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"enumStaking.Token\",\"name\":\"token\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"total_staked_from\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"total_staked_to\",\"type\":\"uint256\"}],\"name\":\"Restake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"total_mom_rewards_claimed\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"total_dad_rewards_claimed\",\"type\":\"uint256\"}],\"name\":\"RewardsClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"blocknumber\",\"type\":\"uint256\"}],\"name\":\"RewardsUpdated\",\"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\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"odyssey_id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount_staked\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"enumStaking.Token\",\"name\":\"token\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"total_staked\",\"type\":\"uint256\"}],\"name\":\"Stake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"state\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"from\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"to\",\"type\":\"uint256\"}],\"name\":\"StateUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"odyssey_id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount_unstaked\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"enumStaking.Token\",\"name\":\"token\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"total_staked\",\"type\":\"uint256\"}],\"name\":\"Unstake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MANAGER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"odyssey_id\",\"type\":\"uint256\"}],\"name\":\"claim_rewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claim_rewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claim_unstaked_tokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"dad_token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"odyssey\",\"type\":\"uint256\"}],\"name\":\"get_staked_by\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"total_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dad_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mom_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"effective_timestamp_mom\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"effective_timestamp_dad\",\"type\":\"uint256\"}],\"internalType\":\"structStaking.StakedBy[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"get_staked_odysseys\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"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\":\"_mom_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_dad_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_odyssey_nfts\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_treasury\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"last_rewards_calculation\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"locking_period\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mom_token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"odyssey_nfts\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"odysseys\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"odyssey_id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"total_staked_into\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"total_stakers\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"total_rewards\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dad_rewards\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mom_rewards\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"staked_odysseys_index\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"from_odyssey_id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"to_odyssey_id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"enumStaking.Token\",\"name\":\"token\",\"type\":\"uint8\"}],\"name\":\"restake\",\"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\":\"rewards_timeout\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"odyssey_id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"enumStaking.Token\",\"name\":\"token\",\"type\":\"uint8\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"staked_by\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"total_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dad_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mom_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"effective_timestamp_mom\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"effective_timestamp_dad\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"staked_by_indexes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"staked_odysseys\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"stakers\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"total_rewards\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dad_rewards\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mom_rewards\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"total_staked\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dad_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mom_amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"total_staked\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treasury\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"odyssey_id\",\"type\":\"uint256\"},{\"internalType\":\"enumStaking.Token\",\"name\":\"token\",\"type\":\"uint8\"}],\"name\":\"unstake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"unstakes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"dad_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mom_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"unstaking_timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_locking_period\",\"type\":\"uint256\"}],\"name\":\"update_locking_period\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"addresses\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"stakers_amount_mom\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"stakers_amount_dad\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"odysseys_ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"odysseys_amount_mom\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"odysseys_amount_dad\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"treasury_ammount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"update_rewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewards_timeout\",\"type\":\"uint256\"}],\"name\":\"update_rewards_timeout\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}
StakingMetaData contains all meta data concerning the Staking contract.
var VestingABI = VestingMetaData.ABI
VestingABI is the input ABI used to generate the binding from. Deprecated: Use VestingMetaData.ABI instead.
var VestingMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dad_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_starting_date\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"last_claim_date\",\"type\":\"uint256\"}],\"name\":\"HolderUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"mom\",\"type\":\"address\"}],\"name\":\"MOMAddressUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Redeemed\",\"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\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UPDATER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"dad_token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"end_date\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\":\"\",\"type\":\"address\"}],\"name\":\"holders\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"last_claim_date\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"total_tokens\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mom_token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"redeem_tokens\",\"outputs\":[],\"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\":[{\"internalType\":\"address\",\"name\":\"_mom_token\",\"type\":\"address\"}],\"name\":\"set_mom_address\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"starting_date\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"update_holder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
VestingMetaData contains all meta data concerning the Vesting contract.
Functions ¶
This section is empty.
Types ¶
type Dadtoken ¶
type Dadtoken struct { DadtokenCaller // Read-only binding to the contract DadtokenTransactor // Write-only binding to the contract DadtokenFilterer // Log filterer for contract events }
Dadtoken is an auto generated Go binding around an Ethereum contract.
func NewDadtoken ¶
NewDadtoken creates a new instance of Dadtoken, bound to a specific deployed contract.
type DadtokenApproval ¶
type DadtokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
DadtokenApproval represents a Approval event raised by the Dadtoken contract.
type DadtokenApprovalIterator ¶
type DadtokenApprovalIterator struct { Event *DadtokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DadtokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Dadtoken contract.
func (*DadtokenApprovalIterator) Close ¶
func (it *DadtokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DadtokenApprovalIterator) Error ¶
func (it *DadtokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DadtokenApprovalIterator) Next ¶
func (it *DadtokenApprovalIterator) 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 DadtokenCaller ¶
type DadtokenCaller struct {
// contains filtered or unexported fields
}
DadtokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDadtokenCaller ¶
func NewDadtokenCaller(address common.Address, caller bind.ContractCaller) (*DadtokenCaller, error)
NewDadtokenCaller creates a new read-only instance of Dadtoken, bound to a specific deployed contract.
func (*DadtokenCaller) Allowance ¶
func (_Dadtoken *DadtokenCaller) 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 (*DadtokenCaller) BURNERROLE ¶
func (_Dadtoken *DadtokenCaller) BURNERROLE(opts *bind.CallOpts) ([32]byte, error)
BURNERROLE is a free data retrieval call binding the contract method 0x282c51f3.
Solidity: function BURNER_ROLE() view returns(bytes32)
func (*DadtokenCaller) BalanceOf ¶
func (_Dadtoken *DadtokenCaller) 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 (*DadtokenCaller) DEFAULTADMINROLE ¶
func (_Dadtoken *DadtokenCaller) 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 (*DadtokenCaller) Decimals ¶
func (_Dadtoken *DadtokenCaller) 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 (*DadtokenCaller) GetRoleAdmin ¶
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*DadtokenCaller) HasRole ¶
func (_Dadtoken *DadtokenCaller) 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 (*DadtokenCaller) MINTERROLE ¶
func (_Dadtoken *DadtokenCaller) 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 (*DadtokenCaller) Name ¶
func (_Dadtoken *DadtokenCaller) 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 (*DadtokenCaller) Paused ¶
func (_Dadtoken *DadtokenCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*DadtokenCaller) SupportsInterface ¶
func (_Dadtoken *DadtokenCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*DadtokenCaller) Symbol ¶
func (_Dadtoken *DadtokenCaller) 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 (*DadtokenCaller) TRANSFERROLE ¶
func (_Dadtoken *DadtokenCaller) TRANSFERROLE(opts *bind.CallOpts) ([32]byte, error)
TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.
Solidity: function TRANSFER_ROLE() view returns(bytes32)
func (*DadtokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type DadtokenCallerRaw ¶
type DadtokenCallerRaw struct {
Contract *DadtokenCaller // Generic read-only contract binding to access the raw methods on
}
DadtokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DadtokenCallerRaw) Call ¶
func (_Dadtoken *DadtokenCallerRaw) 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 DadtokenCallerSession ¶
type DadtokenCallerSession struct { Contract *DadtokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DadtokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*DadtokenCallerSession) Allowance ¶
func (_Dadtoken *DadtokenCallerSession) 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 (*DadtokenCallerSession) BURNERROLE ¶
func (_Dadtoken *DadtokenCallerSession) BURNERROLE() ([32]byte, error)
BURNERROLE is a free data retrieval call binding the contract method 0x282c51f3.
Solidity: function BURNER_ROLE() view returns(bytes32)
func (*DadtokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*DadtokenCallerSession) DEFAULTADMINROLE ¶
func (_Dadtoken *DadtokenCallerSession) 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 (*DadtokenCallerSession) Decimals ¶
func (_Dadtoken *DadtokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*DadtokenCallerSession) GetRoleAdmin ¶
func (_Dadtoken *DadtokenCallerSession) 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 (*DadtokenCallerSession) HasRole ¶
func (_Dadtoken *DadtokenCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*DadtokenCallerSession) MINTERROLE ¶
func (_Dadtoken *DadtokenCallerSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*DadtokenCallerSession) Name ¶
func (_Dadtoken *DadtokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*DadtokenCallerSession) Paused ¶
func (_Dadtoken *DadtokenCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*DadtokenCallerSession) SupportsInterface ¶
func (_Dadtoken *DadtokenCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*DadtokenCallerSession) Symbol ¶
func (_Dadtoken *DadtokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*DadtokenCallerSession) TRANSFERROLE ¶
func (_Dadtoken *DadtokenCallerSession) TRANSFERROLE() ([32]byte, error)
TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.
Solidity: function TRANSFER_ROLE() view returns(bytes32)
func (*DadtokenCallerSession) TotalSupply ¶
func (_Dadtoken *DadtokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type DadtokenFilterer ¶
type DadtokenFilterer struct {
// contains filtered or unexported fields
}
DadtokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewDadtokenFilterer ¶
func NewDadtokenFilterer(address common.Address, filterer bind.ContractFilterer) (*DadtokenFilterer, error)
NewDadtokenFilterer creates a new log filterer instance of Dadtoken, bound to a specific deployed contract.
func (*DadtokenFilterer) FilterApproval ¶
func (_Dadtoken *DadtokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*DadtokenApprovalIterator, 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 (*DadtokenFilterer) FilterPaused ¶
func (_Dadtoken *DadtokenFilterer) FilterPaused(opts *bind.FilterOpts) (*DadtokenPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*DadtokenFilterer) FilterRoleAdminChanged ¶
func (_Dadtoken *DadtokenFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*DadtokenRoleAdminChangedIterator, 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 (*DadtokenFilterer) FilterRoleGranted ¶
func (_Dadtoken *DadtokenFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*DadtokenRoleGrantedIterator, 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 (*DadtokenFilterer) FilterRoleRevoked ¶
func (_Dadtoken *DadtokenFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*DadtokenRoleRevokedIterator, 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 (*DadtokenFilterer) FilterTransfer ¶
func (_Dadtoken *DadtokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*DadtokenTransferIterator, 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 (*DadtokenFilterer) FilterUnpaused ¶
func (_Dadtoken *DadtokenFilterer) FilterUnpaused(opts *bind.FilterOpts) (*DadtokenUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*DadtokenFilterer) ParseApproval ¶
func (_Dadtoken *DadtokenFilterer) ParseApproval(log types.Log) (*DadtokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*DadtokenFilterer) ParsePaused ¶
func (_Dadtoken *DadtokenFilterer) ParsePaused(log types.Log) (*DadtokenPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*DadtokenFilterer) ParseRoleAdminChanged ¶
func (_Dadtoken *DadtokenFilterer) ParseRoleAdminChanged(log types.Log) (*DadtokenRoleAdminChanged, 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 (*DadtokenFilterer) ParseRoleGranted ¶
func (_Dadtoken *DadtokenFilterer) ParseRoleGranted(log types.Log) (*DadtokenRoleGranted, 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 (*DadtokenFilterer) ParseRoleRevoked ¶
func (_Dadtoken *DadtokenFilterer) ParseRoleRevoked(log types.Log) (*DadtokenRoleRevoked, 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 (*DadtokenFilterer) ParseTransfer ¶
func (_Dadtoken *DadtokenFilterer) ParseTransfer(log types.Log) (*DadtokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*DadtokenFilterer) ParseUnpaused ¶
func (_Dadtoken *DadtokenFilterer) ParseUnpaused(log types.Log) (*DadtokenUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*DadtokenFilterer) WatchApproval ¶
func (_Dadtoken *DadtokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *DadtokenApproval, 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 (*DadtokenFilterer) WatchPaused ¶
func (_Dadtoken *DadtokenFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *DadtokenPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*DadtokenFilterer) WatchRoleAdminChanged ¶
func (_Dadtoken *DadtokenFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *DadtokenRoleAdminChanged, 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 (*DadtokenFilterer) WatchRoleGranted ¶
func (_Dadtoken *DadtokenFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *DadtokenRoleGranted, 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 (*DadtokenFilterer) WatchRoleRevoked ¶
func (_Dadtoken *DadtokenFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *DadtokenRoleRevoked, 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 (*DadtokenFilterer) WatchTransfer ¶
func (_Dadtoken *DadtokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *DadtokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*DadtokenFilterer) WatchUnpaused ¶
func (_Dadtoken *DadtokenFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *DadtokenUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type DadtokenPaused ¶
type DadtokenPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
DadtokenPaused represents a Paused event raised by the Dadtoken contract.
type DadtokenPausedIterator ¶
type DadtokenPausedIterator struct { Event *DadtokenPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DadtokenPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Dadtoken contract.
func (*DadtokenPausedIterator) Close ¶
func (it *DadtokenPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DadtokenPausedIterator) Error ¶
func (it *DadtokenPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DadtokenPausedIterator) Next ¶
func (it *DadtokenPausedIterator) 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 DadtokenRaw ¶
type DadtokenRaw struct {
Contract *Dadtoken // Generic contract binding to access the raw methods on
}
DadtokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DadtokenRaw) Call ¶
func (_Dadtoken *DadtokenRaw) 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 (*DadtokenRaw) Transact ¶
func (_Dadtoken *DadtokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DadtokenRaw) Transfer ¶
func (_Dadtoken *DadtokenRaw) 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 DadtokenRoleAdminChanged ¶
type DadtokenRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
DadtokenRoleAdminChanged represents a RoleAdminChanged event raised by the Dadtoken contract.
type DadtokenRoleAdminChangedIterator ¶
type DadtokenRoleAdminChangedIterator struct { Event *DadtokenRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DadtokenRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Dadtoken contract.
func (*DadtokenRoleAdminChangedIterator) Close ¶
func (it *DadtokenRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DadtokenRoleAdminChangedIterator) Error ¶
func (it *DadtokenRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DadtokenRoleAdminChangedIterator) Next ¶
func (it *DadtokenRoleAdminChangedIterator) 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 DadtokenRoleGranted ¶
type DadtokenRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
DadtokenRoleGranted represents a RoleGranted event raised by the Dadtoken contract.
type DadtokenRoleGrantedIterator ¶
type DadtokenRoleGrantedIterator struct { Event *DadtokenRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DadtokenRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Dadtoken contract.
func (*DadtokenRoleGrantedIterator) Close ¶
func (it *DadtokenRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DadtokenRoleGrantedIterator) Error ¶
func (it *DadtokenRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DadtokenRoleGrantedIterator) Next ¶
func (it *DadtokenRoleGrantedIterator) 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 DadtokenRoleRevoked ¶
type DadtokenRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
DadtokenRoleRevoked represents a RoleRevoked event raised by the Dadtoken contract.
type DadtokenRoleRevokedIterator ¶
type DadtokenRoleRevokedIterator struct { Event *DadtokenRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DadtokenRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Dadtoken contract.
func (*DadtokenRoleRevokedIterator) Close ¶
func (it *DadtokenRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DadtokenRoleRevokedIterator) Error ¶
func (it *DadtokenRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DadtokenRoleRevokedIterator) Next ¶
func (it *DadtokenRoleRevokedIterator) 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 DadtokenSession ¶
type DadtokenSession struct { Contract *Dadtoken // 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 }
DadtokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DadtokenSession) Allowance ¶
func (_Dadtoken *DadtokenSession) 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 (*DadtokenSession) Approve ¶
func (_Dadtoken *DadtokenSession) 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 (*DadtokenSession) BURNERROLE ¶
func (_Dadtoken *DadtokenSession) BURNERROLE() ([32]byte, error)
BURNERROLE is a free data retrieval call binding the contract method 0x282c51f3.
Solidity: function BURNER_ROLE() view returns(bytes32)
func (*DadtokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*DadtokenSession) Burn ¶
func (_Dadtoken *DadtokenSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*DadtokenSession) BurnFrom ¶
func (_Dadtoken *DadtokenSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*DadtokenSession) DEFAULTADMINROLE ¶
func (_Dadtoken *DadtokenSession) 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 (*DadtokenSession) Decimals ¶
func (_Dadtoken *DadtokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*DadtokenSession) DecreaseAllowance ¶
func (_Dadtoken *DadtokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*DadtokenSession) GetRoleAdmin ¶
func (_Dadtoken *DadtokenSession) 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 (*DadtokenSession) GrantRole ¶
func (_Dadtoken *DadtokenSession) 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 (*DadtokenSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*DadtokenSession) IncreaseAllowance ¶
func (_Dadtoken *DadtokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*DadtokenSession) MINTERROLE ¶
func (_Dadtoken *DadtokenSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*DadtokenSession) Mint ¶
func (_Dadtoken *DadtokenSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*DadtokenSession) Name ¶
func (_Dadtoken *DadtokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*DadtokenSession) Pause ¶
func (_Dadtoken *DadtokenSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*DadtokenSession) Paused ¶
func (_Dadtoken *DadtokenSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*DadtokenSession) RenounceRole ¶
func (_Dadtoken *DadtokenSession) 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 (*DadtokenSession) RevokeRole ¶
func (_Dadtoken *DadtokenSession) 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 (*DadtokenSession) SupportsInterface ¶
func (_Dadtoken *DadtokenSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*DadtokenSession) Symbol ¶
func (_Dadtoken *DadtokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*DadtokenSession) TRANSFERROLE ¶
func (_Dadtoken *DadtokenSession) TRANSFERROLE() ([32]byte, error)
TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.
Solidity: function TRANSFER_ROLE() view returns(bytes32)
func (*DadtokenSession) TotalSupply ¶
func (_Dadtoken *DadtokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*DadtokenSession) Transfer ¶
func (_Dadtoken *DadtokenSession) 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 (*DadtokenSession) TransferFrom ¶
func (_Dadtoken *DadtokenSession) 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 (*DadtokenSession) Unpause ¶
func (_Dadtoken *DadtokenSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type DadtokenTransactor ¶
type DadtokenTransactor struct {
// contains filtered or unexported fields
}
DadtokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDadtokenTransactor ¶
func NewDadtokenTransactor(address common.Address, transactor bind.ContractTransactor) (*DadtokenTransactor, error)
NewDadtokenTransactor creates a new write-only instance of Dadtoken, bound to a specific deployed contract.
func (*DadtokenTransactor) Approve ¶
func (_Dadtoken *DadtokenTransactor) 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 (*DadtokenTransactor) Burn ¶
func (_Dadtoken *DadtokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*DadtokenTransactor) BurnFrom ¶
func (_Dadtoken *DadtokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*DadtokenTransactor) DecreaseAllowance ¶
func (_Dadtoken *DadtokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*DadtokenTransactor) GrantRole ¶
func (_Dadtoken *DadtokenTransactor) 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 (*DadtokenTransactor) IncreaseAllowance ¶
func (_Dadtoken *DadtokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*DadtokenTransactor) Mint ¶
func (_Dadtoken *DadtokenTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*DadtokenTransactor) Pause ¶
func (_Dadtoken *DadtokenTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*DadtokenTransactor) RenounceRole ¶
func (_Dadtoken *DadtokenTransactor) 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 (*DadtokenTransactor) RevokeRole ¶
func (_Dadtoken *DadtokenTransactor) 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 (*DadtokenTransactor) Transfer ¶
func (_Dadtoken *DadtokenTransactor) 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 (*DadtokenTransactor) TransferFrom ¶
func (_Dadtoken *DadtokenTransactor) 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)
func (*DadtokenTransactor) Unpause ¶
func (_Dadtoken *DadtokenTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type DadtokenTransactorRaw ¶
type DadtokenTransactorRaw struct {
Contract *DadtokenTransactor // Generic write-only contract binding to access the raw methods on
}
DadtokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DadtokenTransactorRaw) Transact ¶
func (_Dadtoken *DadtokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DadtokenTransactorRaw) Transfer ¶
func (_Dadtoken *DadtokenTransactorRaw) 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 DadtokenTransactorSession ¶
type DadtokenTransactorSession struct { Contract *DadtokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DadtokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*DadtokenTransactorSession) Approve ¶
func (_Dadtoken *DadtokenTransactorSession) 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 (*DadtokenTransactorSession) Burn ¶
func (_Dadtoken *DadtokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*DadtokenTransactorSession) BurnFrom ¶
func (_Dadtoken *DadtokenTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*DadtokenTransactorSession) DecreaseAllowance ¶
func (_Dadtoken *DadtokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*DadtokenTransactorSession) GrantRole ¶
func (_Dadtoken *DadtokenTransactorSession) 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 (*DadtokenTransactorSession) IncreaseAllowance ¶
func (_Dadtoken *DadtokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*DadtokenTransactorSession) Mint ¶
func (_Dadtoken *DadtokenTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*DadtokenTransactorSession) Pause ¶
func (_Dadtoken *DadtokenTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*DadtokenTransactorSession) RenounceRole ¶
func (_Dadtoken *DadtokenTransactorSession) 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 (*DadtokenTransactorSession) RevokeRole ¶
func (_Dadtoken *DadtokenTransactorSession) 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 (*DadtokenTransactorSession) Transfer ¶
func (_Dadtoken *DadtokenTransactorSession) 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 (*DadtokenTransactorSession) TransferFrom ¶
func (_Dadtoken *DadtokenTransactorSession) 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 (*DadtokenTransactorSession) Unpause ¶
func (_Dadtoken *DadtokenTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type DadtokenTransfer ¶
type DadtokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
DadtokenTransfer represents a Transfer event raised by the Dadtoken contract.
type DadtokenTransferIterator ¶
type DadtokenTransferIterator struct { Event *DadtokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DadtokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Dadtoken contract.
func (*DadtokenTransferIterator) Close ¶
func (it *DadtokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DadtokenTransferIterator) Error ¶
func (it *DadtokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DadtokenTransferIterator) Next ¶
func (it *DadtokenTransferIterator) 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 DadtokenUnpaused ¶
type DadtokenUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
DadtokenUnpaused represents a Unpaused event raised by the Dadtoken contract.
type DadtokenUnpausedIterator ¶
type DadtokenUnpausedIterator struct { Event *DadtokenUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DadtokenUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Dadtoken contract.
func (*DadtokenUnpausedIterator) Close ¶
func (it *DadtokenUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DadtokenUnpausedIterator) Error ¶
func (it *DadtokenUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DadtokenUnpausedIterator) Next ¶
func (it *DadtokenUnpausedIterator) 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 Momtoken ¶
type Momtoken struct { MomtokenCaller // Read-only binding to the contract MomtokenTransactor // Write-only binding to the contract MomtokenFilterer // Log filterer for contract events }
Momtoken is an auto generated Go binding around an Ethereum contract.
func NewMomtoken ¶
NewMomtoken creates a new instance of Momtoken, bound to a specific deployed contract.
type MomtokenApproval ¶
type MomtokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
MomtokenApproval represents a Approval event raised by the Momtoken contract.
type MomtokenApprovalIterator ¶
type MomtokenApprovalIterator struct { Event *MomtokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MomtokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Momtoken contract.
func (*MomtokenApprovalIterator) Close ¶
func (it *MomtokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MomtokenApprovalIterator) Error ¶
func (it *MomtokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MomtokenApprovalIterator) Next ¶
func (it *MomtokenApprovalIterator) 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 MomtokenCaller ¶
type MomtokenCaller struct {
// contains filtered or unexported fields
}
MomtokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMomtokenCaller ¶
func NewMomtokenCaller(address common.Address, caller bind.ContractCaller) (*MomtokenCaller, error)
NewMomtokenCaller creates a new read-only instance of Momtoken, bound to a specific deployed contract.
func (*MomtokenCaller) Allowance ¶
func (_Momtoken *MomtokenCaller) 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 (*MomtokenCaller) BURNERROLE ¶
func (_Momtoken *MomtokenCaller) BURNERROLE(opts *bind.CallOpts) ([32]byte, error)
BURNERROLE is a free data retrieval call binding the contract method 0x282c51f3.
Solidity: function BURNER_ROLE() view returns(bytes32)
func (*MomtokenCaller) BalanceOf ¶
func (_Momtoken *MomtokenCaller) 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 (*MomtokenCaller) DEFAULTADMINROLE ¶
func (_Momtoken *MomtokenCaller) 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 (*MomtokenCaller) Decimals ¶
func (_Momtoken *MomtokenCaller) 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 (*MomtokenCaller) GetRoleAdmin ¶
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*MomtokenCaller) HasRole ¶
func (_Momtoken *MomtokenCaller) 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 (*MomtokenCaller) MINTERROLE ¶
func (_Momtoken *MomtokenCaller) 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 (*MomtokenCaller) Name ¶
func (_Momtoken *MomtokenCaller) 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 (*MomtokenCaller) PAUSERROLE ¶
func (_Momtoken *MomtokenCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*MomtokenCaller) Paused ¶
func (_Momtoken *MomtokenCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*MomtokenCaller) SupportsInterface ¶
func (_Momtoken *MomtokenCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*MomtokenCaller) Symbol ¶
func (_Momtoken *MomtokenCaller) 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 (*MomtokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type MomtokenCallerRaw ¶
type MomtokenCallerRaw struct {
Contract *MomtokenCaller // Generic read-only contract binding to access the raw methods on
}
MomtokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MomtokenCallerRaw) Call ¶
func (_Momtoken *MomtokenCallerRaw) 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 MomtokenCallerSession ¶
type MomtokenCallerSession struct { Contract *MomtokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MomtokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MomtokenCallerSession) Allowance ¶
func (_Momtoken *MomtokenCallerSession) 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 (*MomtokenCallerSession) BURNERROLE ¶
func (_Momtoken *MomtokenCallerSession) BURNERROLE() ([32]byte, error)
BURNERROLE is a free data retrieval call binding the contract method 0x282c51f3.
Solidity: function BURNER_ROLE() view returns(bytes32)
func (*MomtokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*MomtokenCallerSession) DEFAULTADMINROLE ¶
func (_Momtoken *MomtokenCallerSession) 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 (*MomtokenCallerSession) Decimals ¶
func (_Momtoken *MomtokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*MomtokenCallerSession) GetRoleAdmin ¶
func (_Momtoken *MomtokenCallerSession) 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 (*MomtokenCallerSession) HasRole ¶
func (_Momtoken *MomtokenCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*MomtokenCallerSession) MINTERROLE ¶
func (_Momtoken *MomtokenCallerSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*MomtokenCallerSession) Name ¶
func (_Momtoken *MomtokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*MomtokenCallerSession) PAUSERROLE ¶
func (_Momtoken *MomtokenCallerSession) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*MomtokenCallerSession) Paused ¶
func (_Momtoken *MomtokenCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*MomtokenCallerSession) SupportsInterface ¶
func (_Momtoken *MomtokenCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*MomtokenCallerSession) Symbol ¶
func (_Momtoken *MomtokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*MomtokenCallerSession) TotalSupply ¶
func (_Momtoken *MomtokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type MomtokenFilterer ¶
type MomtokenFilterer struct {
// contains filtered or unexported fields
}
MomtokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMomtokenFilterer ¶
func NewMomtokenFilterer(address common.Address, filterer bind.ContractFilterer) (*MomtokenFilterer, error)
NewMomtokenFilterer creates a new log filterer instance of Momtoken, bound to a specific deployed contract.
func (*MomtokenFilterer) FilterApproval ¶
func (_Momtoken *MomtokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MomtokenApprovalIterator, 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 (*MomtokenFilterer) FilterPaused ¶
func (_Momtoken *MomtokenFilterer) FilterPaused(opts *bind.FilterOpts) (*MomtokenPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*MomtokenFilterer) FilterRoleAdminChanged ¶
func (_Momtoken *MomtokenFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*MomtokenRoleAdminChangedIterator, 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 (*MomtokenFilterer) FilterRoleGranted ¶
func (_Momtoken *MomtokenFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*MomtokenRoleGrantedIterator, 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 (*MomtokenFilterer) FilterRoleRevoked ¶
func (_Momtoken *MomtokenFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*MomtokenRoleRevokedIterator, 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 (*MomtokenFilterer) FilterTransfer ¶
func (_Momtoken *MomtokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MomtokenTransferIterator, 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 (*MomtokenFilterer) FilterUnpaused ¶
func (_Momtoken *MomtokenFilterer) FilterUnpaused(opts *bind.FilterOpts) (*MomtokenUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*MomtokenFilterer) ParseApproval ¶
func (_Momtoken *MomtokenFilterer) ParseApproval(log types.Log) (*MomtokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*MomtokenFilterer) ParsePaused ¶
func (_Momtoken *MomtokenFilterer) ParsePaused(log types.Log) (*MomtokenPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*MomtokenFilterer) ParseRoleAdminChanged ¶
func (_Momtoken *MomtokenFilterer) ParseRoleAdminChanged(log types.Log) (*MomtokenRoleAdminChanged, 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 (*MomtokenFilterer) ParseRoleGranted ¶
func (_Momtoken *MomtokenFilterer) ParseRoleGranted(log types.Log) (*MomtokenRoleGranted, 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 (*MomtokenFilterer) ParseRoleRevoked ¶
func (_Momtoken *MomtokenFilterer) ParseRoleRevoked(log types.Log) (*MomtokenRoleRevoked, 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 (*MomtokenFilterer) ParseTransfer ¶
func (_Momtoken *MomtokenFilterer) ParseTransfer(log types.Log) (*MomtokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*MomtokenFilterer) ParseUnpaused ¶
func (_Momtoken *MomtokenFilterer) ParseUnpaused(log types.Log) (*MomtokenUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*MomtokenFilterer) WatchApproval ¶
func (_Momtoken *MomtokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MomtokenApproval, 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 (*MomtokenFilterer) WatchPaused ¶
func (_Momtoken *MomtokenFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *MomtokenPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*MomtokenFilterer) WatchRoleAdminChanged ¶
func (_Momtoken *MomtokenFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *MomtokenRoleAdminChanged, 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 (*MomtokenFilterer) WatchRoleGranted ¶
func (_Momtoken *MomtokenFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *MomtokenRoleGranted, 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 (*MomtokenFilterer) WatchRoleRevoked ¶
func (_Momtoken *MomtokenFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *MomtokenRoleRevoked, 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 (*MomtokenFilterer) WatchTransfer ¶
func (_Momtoken *MomtokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MomtokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*MomtokenFilterer) WatchUnpaused ¶
func (_Momtoken *MomtokenFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *MomtokenUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type MomtokenPaused ¶
type MomtokenPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
MomtokenPaused represents a Paused event raised by the Momtoken contract.
type MomtokenPausedIterator ¶
type MomtokenPausedIterator struct { Event *MomtokenPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MomtokenPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Momtoken contract.
func (*MomtokenPausedIterator) Close ¶
func (it *MomtokenPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MomtokenPausedIterator) Error ¶
func (it *MomtokenPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MomtokenPausedIterator) Next ¶
func (it *MomtokenPausedIterator) 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 MomtokenRaw ¶
type MomtokenRaw struct {
Contract *Momtoken // Generic contract binding to access the raw methods on
}
MomtokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MomtokenRaw) Call ¶
func (_Momtoken *MomtokenRaw) 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 (*MomtokenRaw) Transact ¶
func (_Momtoken *MomtokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MomtokenRaw) Transfer ¶
func (_Momtoken *MomtokenRaw) 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 MomtokenRoleAdminChanged ¶
type MomtokenRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
MomtokenRoleAdminChanged represents a RoleAdminChanged event raised by the Momtoken contract.
type MomtokenRoleAdminChangedIterator ¶
type MomtokenRoleAdminChangedIterator struct { Event *MomtokenRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MomtokenRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Momtoken contract.
func (*MomtokenRoleAdminChangedIterator) Close ¶
func (it *MomtokenRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MomtokenRoleAdminChangedIterator) Error ¶
func (it *MomtokenRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MomtokenRoleAdminChangedIterator) Next ¶
func (it *MomtokenRoleAdminChangedIterator) 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 MomtokenRoleGranted ¶
type MomtokenRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
MomtokenRoleGranted represents a RoleGranted event raised by the Momtoken contract.
type MomtokenRoleGrantedIterator ¶
type MomtokenRoleGrantedIterator struct { Event *MomtokenRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MomtokenRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Momtoken contract.
func (*MomtokenRoleGrantedIterator) Close ¶
func (it *MomtokenRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MomtokenRoleGrantedIterator) Error ¶
func (it *MomtokenRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MomtokenRoleGrantedIterator) Next ¶
func (it *MomtokenRoleGrantedIterator) 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 MomtokenRoleRevoked ¶
type MomtokenRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
MomtokenRoleRevoked represents a RoleRevoked event raised by the Momtoken contract.
type MomtokenRoleRevokedIterator ¶
type MomtokenRoleRevokedIterator struct { Event *MomtokenRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MomtokenRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Momtoken contract.
func (*MomtokenRoleRevokedIterator) Close ¶
func (it *MomtokenRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MomtokenRoleRevokedIterator) Error ¶
func (it *MomtokenRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MomtokenRoleRevokedIterator) Next ¶
func (it *MomtokenRoleRevokedIterator) 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 MomtokenSession ¶
type MomtokenSession struct { Contract *Momtoken // 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 }
MomtokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MomtokenSession) Allowance ¶
func (_Momtoken *MomtokenSession) 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 (*MomtokenSession) Approve ¶
func (_Momtoken *MomtokenSession) 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 (*MomtokenSession) BURNERROLE ¶
func (_Momtoken *MomtokenSession) BURNERROLE() ([32]byte, error)
BURNERROLE is a free data retrieval call binding the contract method 0x282c51f3.
Solidity: function BURNER_ROLE() view returns(bytes32)
func (*MomtokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*MomtokenSession) Burn ¶
func (_Momtoken *MomtokenSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*MomtokenSession) BurnFrom ¶
func (_Momtoken *MomtokenSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*MomtokenSession) DEFAULTADMINROLE ¶
func (_Momtoken *MomtokenSession) 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 (*MomtokenSession) Decimals ¶
func (_Momtoken *MomtokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*MomtokenSession) DecreaseAllowance ¶
func (_Momtoken *MomtokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*MomtokenSession) GetRoleAdmin ¶
func (_Momtoken *MomtokenSession) 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 (*MomtokenSession) GrantRole ¶
func (_Momtoken *MomtokenSession) 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 (*MomtokenSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*MomtokenSession) IncreaseAllowance ¶
func (_Momtoken *MomtokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*MomtokenSession) MINTERROLE ¶
func (_Momtoken *MomtokenSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*MomtokenSession) Mint ¶
func (_Momtoken *MomtokenSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*MomtokenSession) MintDad ¶
func (_Momtoken *MomtokenSession) MintDad(to common.Address, amount *big.Int) (*types.Transaction, error)
MintDad is a paid mutator transaction binding the contract method 0x89d69370.
Solidity: function mintDad(address to, uint256 amount) returns()
func (*MomtokenSession) Name ¶
func (_Momtoken *MomtokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*MomtokenSession) PAUSERROLE ¶
func (_Momtoken *MomtokenSession) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*MomtokenSession) Pause ¶
func (_Momtoken *MomtokenSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*MomtokenSession) Paused ¶
func (_Momtoken *MomtokenSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*MomtokenSession) RenounceRole ¶
func (_Momtoken *MomtokenSession) 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 (*MomtokenSession) RevokeRole ¶
func (_Momtoken *MomtokenSession) 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 (*MomtokenSession) SupportsInterface ¶
func (_Momtoken *MomtokenSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*MomtokenSession) Symbol ¶
func (_Momtoken *MomtokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*MomtokenSession) TotalSupply ¶
func (_Momtoken *MomtokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*MomtokenSession) Transfer ¶
func (_Momtoken *MomtokenSession) 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 (*MomtokenSession) TransferFrom ¶
func (_Momtoken *MomtokenSession) 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 (*MomtokenSession) Unpause ¶
func (_Momtoken *MomtokenSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type MomtokenTransactor ¶
type MomtokenTransactor struct {
// contains filtered or unexported fields
}
MomtokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMomtokenTransactor ¶
func NewMomtokenTransactor(address common.Address, transactor bind.ContractTransactor) (*MomtokenTransactor, error)
NewMomtokenTransactor creates a new write-only instance of Momtoken, bound to a specific deployed contract.
func (*MomtokenTransactor) Approve ¶
func (_Momtoken *MomtokenTransactor) 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 (*MomtokenTransactor) Burn ¶
func (_Momtoken *MomtokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*MomtokenTransactor) BurnFrom ¶
func (_Momtoken *MomtokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*MomtokenTransactor) DecreaseAllowance ¶
func (_Momtoken *MomtokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*MomtokenTransactor) GrantRole ¶
func (_Momtoken *MomtokenTransactor) 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 (*MomtokenTransactor) IncreaseAllowance ¶
func (_Momtoken *MomtokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*MomtokenTransactor) Mint ¶
func (_Momtoken *MomtokenTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*MomtokenTransactor) MintDad ¶
func (_Momtoken *MomtokenTransactor) MintDad(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
MintDad is a paid mutator transaction binding the contract method 0x89d69370.
Solidity: function mintDad(address to, uint256 amount) returns()
func (*MomtokenTransactor) Pause ¶
func (_Momtoken *MomtokenTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*MomtokenTransactor) RenounceRole ¶
func (_Momtoken *MomtokenTransactor) 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 (*MomtokenTransactor) RevokeRole ¶
func (_Momtoken *MomtokenTransactor) 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 (*MomtokenTransactor) Transfer ¶
func (_Momtoken *MomtokenTransactor) 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 (*MomtokenTransactor) TransferFrom ¶
func (_Momtoken *MomtokenTransactor) 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)
func (*MomtokenTransactor) Unpause ¶
func (_Momtoken *MomtokenTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type MomtokenTransactorRaw ¶
type MomtokenTransactorRaw struct {
Contract *MomtokenTransactor // Generic write-only contract binding to access the raw methods on
}
MomtokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MomtokenTransactorRaw) Transact ¶
func (_Momtoken *MomtokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MomtokenTransactorRaw) Transfer ¶
func (_Momtoken *MomtokenTransactorRaw) 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 MomtokenTransactorSession ¶
type MomtokenTransactorSession struct { Contract *MomtokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MomtokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MomtokenTransactorSession) Approve ¶
func (_Momtoken *MomtokenTransactorSession) 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 (*MomtokenTransactorSession) Burn ¶
func (_Momtoken *MomtokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*MomtokenTransactorSession) BurnFrom ¶
func (_Momtoken *MomtokenTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*MomtokenTransactorSession) DecreaseAllowance ¶
func (_Momtoken *MomtokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*MomtokenTransactorSession) GrantRole ¶
func (_Momtoken *MomtokenTransactorSession) 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 (*MomtokenTransactorSession) IncreaseAllowance ¶
func (_Momtoken *MomtokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*MomtokenTransactorSession) Mint ¶
func (_Momtoken *MomtokenTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*MomtokenTransactorSession) MintDad ¶
func (_Momtoken *MomtokenTransactorSession) MintDad(to common.Address, amount *big.Int) (*types.Transaction, error)
MintDad is a paid mutator transaction binding the contract method 0x89d69370.
Solidity: function mintDad(address to, uint256 amount) returns()
func (*MomtokenTransactorSession) Pause ¶
func (_Momtoken *MomtokenTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*MomtokenTransactorSession) RenounceRole ¶
func (_Momtoken *MomtokenTransactorSession) 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 (*MomtokenTransactorSession) RevokeRole ¶
func (_Momtoken *MomtokenTransactorSession) 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 (*MomtokenTransactorSession) Transfer ¶
func (_Momtoken *MomtokenTransactorSession) 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 (*MomtokenTransactorSession) TransferFrom ¶
func (_Momtoken *MomtokenTransactorSession) 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 (*MomtokenTransactorSession) Unpause ¶
func (_Momtoken *MomtokenTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type MomtokenTransfer ¶
type MomtokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
MomtokenTransfer represents a Transfer event raised by the Momtoken contract.
type MomtokenTransferIterator ¶
type MomtokenTransferIterator struct { Event *MomtokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MomtokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Momtoken contract.
func (*MomtokenTransferIterator) Close ¶
func (it *MomtokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MomtokenTransferIterator) Error ¶
func (it *MomtokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MomtokenTransferIterator) Next ¶
func (it *MomtokenTransferIterator) 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 MomtokenUnpaused ¶
type MomtokenUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
MomtokenUnpaused represents a Unpaused event raised by the Momtoken contract.
type MomtokenUnpausedIterator ¶
type MomtokenUnpausedIterator struct { Event *MomtokenUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MomtokenUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Momtoken contract.
func (*MomtokenUnpausedIterator) Close ¶
func (it *MomtokenUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MomtokenUnpausedIterator) Error ¶
func (it *MomtokenUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MomtokenUnpausedIterator) Next ¶
func (it *MomtokenUnpausedIterator) 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 NodeManagementNode ¶
type NodeManagementNode struct { NodeId *big.Int Name string Hostname string Owner common.Address Pubkey []byte NodeAccount common.Address }
NodeManagementNode is an auto generated low-level Go binding around an user-defined struct.
type Nodemanagement ¶
type Nodemanagement struct { NodemanagementCaller // Read-only binding to the contract NodemanagementTransactor // Write-only binding to the contract NodemanagementFilterer // Log filterer for contract events }
Nodemanagement is an auto generated Go binding around an Ethereum contract.
func NewNodemanagement ¶
func NewNodemanagement(address common.Address, backend bind.ContractBackend) (*Nodemanagement, error)
NewNodemanagement creates a new instance of Nodemanagement, bound to a specific deployed contract.
type NodemanagementAdminChanged ¶
type NodemanagementAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
NodemanagementAdminChanged represents a AdminChanged event raised by the Nodemanagement contract.
type NodemanagementAdminChangedIterator ¶
type NodemanagementAdminChangedIterator struct { Event *NodemanagementAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodemanagementAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the Nodemanagement contract.
func (*NodemanagementAdminChangedIterator) Close ¶
func (it *NodemanagementAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodemanagementAdminChangedIterator) Error ¶
func (it *NodemanagementAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodemanagementAdminChangedIterator) Next ¶
func (it *NodemanagementAdminChangedIterator) 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 NodemanagementBeaconUpgraded ¶
type NodemanagementBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
NodemanagementBeaconUpgraded represents a BeaconUpgraded event raised by the Nodemanagement contract.
type NodemanagementBeaconUpgradedIterator ¶
type NodemanagementBeaconUpgradedIterator struct { Event *NodemanagementBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodemanagementBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the Nodemanagement contract.
func (*NodemanagementBeaconUpgradedIterator) Close ¶
func (it *NodemanagementBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodemanagementBeaconUpgradedIterator) Error ¶
func (it *NodemanagementBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodemanagementBeaconUpgradedIterator) Next ¶
func (it *NodemanagementBeaconUpgradedIterator) 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 NodemanagementCaller ¶
type NodemanagementCaller struct {
// contains filtered or unexported fields
}
NodemanagementCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewNodemanagementCaller ¶
func NewNodemanagementCaller(address common.Address, caller bind.ContractCaller) (*NodemanagementCaller, error)
NewNodemanagementCaller creates a new read-only instance of Nodemanagement, bound to a specific deployed contract.
func (*NodemanagementCaller) FeeETH ¶
FeeETH is a free data retrieval call binding the contract method 0x4078fca8.
Solidity: function feeETH() view returns(uint256)
func (*NodemanagementCaller) FeeMom ¶
FeeMom is a free data retrieval call binding the contract method 0x47ad1b70.
Solidity: function feeMom() view returns(uint256)
func (*NodemanagementCaller) GetNode ¶
func (_Nodemanagement *NodemanagementCaller) GetNode(opts *bind.CallOpts, node_id *big.Int) (NodeManagementNode, error)
GetNode is a free data retrieval call binding the contract method 0x4f0f4aa9.
Solidity: function getNode(uint256 node_id) view returns((uint256,string,string,address,bytes,address))
func (*NodemanagementCaller) GetNodeForTheOdyssey ¶
func (_Nodemanagement *NodemanagementCaller) GetNodeForTheOdyssey(opts *bind.CallOpts, odyssey_id *big.Int) (NodeManagementNode, error)
GetNodeForTheOdyssey is a free data retrieval call binding the contract method 0x2752c044.
Solidity: function getNodeForTheOdyssey(uint256 odyssey_id) view returns((uint256,string,string,address,bytes,address))
func (*NodemanagementCaller) MomToken ¶
MomToken is a free data retrieval call binding the contract method 0x3a2bb837.
Solidity: function mom_token() view returns(address)
func (*NodemanagementCaller) NodeFromOdyssey ¶
func (_Nodemanagement *NodemanagementCaller) NodeFromOdyssey(opts *bind.CallOpts, arg0 *big.Int) (struct { NodeId *big.Int Index *big.Int }, error)
NodeFromOdyssey is a free data retrieval call binding the contract method 0xc5e8000e.
Solidity: function node_from_odyssey(uint256 ) view returns(uint256 node_id, uint256 index)
func (*NodemanagementCaller) Nodes ¶
func (_Nodemanagement *NodemanagementCaller) Nodes(opts *bind.CallOpts, arg0 *big.Int) (struct { NodeId *big.Int Name string Hostname string Owner common.Address Pubkey []byte NodeAccount common.Address }, error)
Nodes is a free data retrieval call binding the contract method 0x1c53c280.
Solidity: function nodes(uint256 ) view returns(uint256 node_id, string name, string hostname, address owner, bytes pubkey, address node_account)
func (*NodemanagementCaller) NodesCount ¶
NodesCount is a free data retrieval call binding the contract method 0xf1a3c5b3.
Solidity: function nodesCount() view returns(uint256)
func (*NodemanagementCaller) NodesIndex ¶
func (_Nodemanagement *NodemanagementCaller) NodesIndex(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
NodesIndex is a free data retrieval call binding the contract method 0xf452ba40.
Solidity: function nodes_index(uint256 ) view returns(uint256)
func (*NodemanagementCaller) OdysseyNft ¶
func (_Nodemanagement *NodemanagementCaller) OdysseyNft(opts *bind.CallOpts) (common.Address, error)
OdysseyNft is a free data retrieval call binding the contract method 0x98edac36.
Solidity: function odyssey_nft() view returns(address)
func (*NodemanagementCaller) Odysseys ¶
func (_Nodemanagement *NodemanagementCaller) Odysseys(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
Odysseys is a free data retrieval call binding the contract method 0x1c257a13.
Solidity: function odysseys(uint256 , uint256 ) view returns(uint256)
func (*NodemanagementCaller) OdysseysIndex ¶
func (_Nodemanagement *NodemanagementCaller) OdysseysIndex(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
OdysseysIndex is a free data retrieval call binding the contract method 0x16c859bb.
Solidity: function odysseys_index(uint256 ) view returns(uint256)
func (*NodemanagementCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*NodemanagementCaller) ProxiableUUID ¶
func (_Nodemanagement *NodemanagementCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*NodemanagementCaller) SplitSignature ¶
func (_Nodemanagement *NodemanagementCaller) SplitSignature(opts *bind.CallOpts, sig []byte) (uint8, [32]byte, [32]byte, error)
SplitSignature is a free data retrieval call binding the contract method 0xa7bb5803.
Solidity: function splitSignature(bytes sig) pure returns(uint8, bytes32, bytes32)
type NodemanagementCallerRaw ¶
type NodemanagementCallerRaw struct {
Contract *NodemanagementCaller // Generic read-only contract binding to access the raw methods on
}
NodemanagementCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*NodemanagementCallerRaw) Call ¶
func (_Nodemanagement *NodemanagementCallerRaw) 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 NodemanagementCallerSession ¶
type NodemanagementCallerSession struct { Contract *NodemanagementCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
NodemanagementCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*NodemanagementCallerSession) FeeETH ¶
func (_Nodemanagement *NodemanagementCallerSession) FeeETH() (*big.Int, error)
FeeETH is a free data retrieval call binding the contract method 0x4078fca8.
Solidity: function feeETH() view returns(uint256)
func (*NodemanagementCallerSession) FeeMom ¶
func (_Nodemanagement *NodemanagementCallerSession) FeeMom() (*big.Int, error)
FeeMom is a free data retrieval call binding the contract method 0x47ad1b70.
Solidity: function feeMom() view returns(uint256)
func (*NodemanagementCallerSession) GetNode ¶
func (_Nodemanagement *NodemanagementCallerSession) GetNode(node_id *big.Int) (NodeManagementNode, error)
GetNode is a free data retrieval call binding the contract method 0x4f0f4aa9.
Solidity: function getNode(uint256 node_id) view returns((uint256,string,string,address,bytes,address))
func (*NodemanagementCallerSession) GetNodeForTheOdyssey ¶
func (_Nodemanagement *NodemanagementCallerSession) GetNodeForTheOdyssey(odyssey_id *big.Int) (NodeManagementNode, error)
GetNodeForTheOdyssey is a free data retrieval call binding the contract method 0x2752c044.
Solidity: function getNodeForTheOdyssey(uint256 odyssey_id) view returns((uint256,string,string,address,bytes,address))
func (*NodemanagementCallerSession) MomToken ¶
func (_Nodemanagement *NodemanagementCallerSession) MomToken() (common.Address, error)
MomToken is a free data retrieval call binding the contract method 0x3a2bb837.
Solidity: function mom_token() view returns(address)
func (*NodemanagementCallerSession) NodeFromOdyssey ¶
func (_Nodemanagement *NodemanagementCallerSession) NodeFromOdyssey(arg0 *big.Int) (struct { NodeId *big.Int Index *big.Int }, error)
NodeFromOdyssey is a free data retrieval call binding the contract method 0xc5e8000e.
Solidity: function node_from_odyssey(uint256 ) view returns(uint256 node_id, uint256 index)
func (*NodemanagementCallerSession) Nodes ¶
func (_Nodemanagement *NodemanagementCallerSession) Nodes(arg0 *big.Int) (struct { NodeId *big.Int Name string Hostname string Owner common.Address Pubkey []byte NodeAccount common.Address }, error)
Nodes is a free data retrieval call binding the contract method 0x1c53c280.
Solidity: function nodes(uint256 ) view returns(uint256 node_id, string name, string hostname, address owner, bytes pubkey, address node_account)
func (*NodemanagementCallerSession) NodesCount ¶
func (_Nodemanagement *NodemanagementCallerSession) NodesCount() (*big.Int, error)
NodesCount is a free data retrieval call binding the contract method 0xf1a3c5b3.
Solidity: function nodesCount() view returns(uint256)
func (*NodemanagementCallerSession) NodesIndex ¶
NodesIndex is a free data retrieval call binding the contract method 0xf452ba40.
Solidity: function nodes_index(uint256 ) view returns(uint256)
func (*NodemanagementCallerSession) OdysseyNft ¶
func (_Nodemanagement *NodemanagementCallerSession) OdysseyNft() (common.Address, error)
OdysseyNft is a free data retrieval call binding the contract method 0x98edac36.
Solidity: function odyssey_nft() view returns(address)
func (*NodemanagementCallerSession) Odysseys ¶
func (_Nodemanagement *NodemanagementCallerSession) Odysseys(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
Odysseys is a free data retrieval call binding the contract method 0x1c257a13.
Solidity: function odysseys(uint256 , uint256 ) view returns(uint256)
func (*NodemanagementCallerSession) OdysseysIndex ¶
OdysseysIndex is a free data retrieval call binding the contract method 0x16c859bb.
Solidity: function odysseys_index(uint256 ) view returns(uint256)
func (*NodemanagementCallerSession) Owner ¶
func (_Nodemanagement *NodemanagementCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*NodemanagementCallerSession) ProxiableUUID ¶
func (_Nodemanagement *NodemanagementCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*NodemanagementCallerSession) SplitSignature ¶
func (_Nodemanagement *NodemanagementCallerSession) SplitSignature(sig []byte) (uint8, [32]byte, [32]byte, error)
SplitSignature is a free data retrieval call binding the contract method 0xa7bb5803.
Solidity: function splitSignature(bytes sig) pure returns(uint8, bytes32, bytes32)
type NodemanagementFeeUpdatedEth ¶
type NodemanagementFeeUpdatedEth struct { OldFee *big.Int NewFee *big.Int Raw types.Log // Blockchain specific contextual infos }
NodemanagementFeeUpdatedEth represents a FeeUpdatedEth event raised by the Nodemanagement contract.
type NodemanagementFeeUpdatedEthIterator ¶
type NodemanagementFeeUpdatedEthIterator struct { Event *NodemanagementFeeUpdatedEth // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodemanagementFeeUpdatedEthIterator is returned from FilterFeeUpdatedEth and is used to iterate over the raw logs and unpacked data for FeeUpdatedEth events raised by the Nodemanagement contract.
func (*NodemanagementFeeUpdatedEthIterator) Close ¶
func (it *NodemanagementFeeUpdatedEthIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodemanagementFeeUpdatedEthIterator) Error ¶
func (it *NodemanagementFeeUpdatedEthIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodemanagementFeeUpdatedEthIterator) Next ¶
func (it *NodemanagementFeeUpdatedEthIterator) 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 NodemanagementFeeUpdatedMom ¶
type NodemanagementFeeUpdatedMom struct { OldFee *big.Int NewFee *big.Int Raw types.Log // Blockchain specific contextual infos }
NodemanagementFeeUpdatedMom represents a FeeUpdatedMom event raised by the Nodemanagement contract.
type NodemanagementFeeUpdatedMomIterator ¶
type NodemanagementFeeUpdatedMomIterator struct { Event *NodemanagementFeeUpdatedMom // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodemanagementFeeUpdatedMomIterator is returned from FilterFeeUpdatedMom and is used to iterate over the raw logs and unpacked data for FeeUpdatedMom events raised by the Nodemanagement contract.
func (*NodemanagementFeeUpdatedMomIterator) Close ¶
func (it *NodemanagementFeeUpdatedMomIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodemanagementFeeUpdatedMomIterator) Error ¶
func (it *NodemanagementFeeUpdatedMomIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodemanagementFeeUpdatedMomIterator) Next ¶
func (it *NodemanagementFeeUpdatedMomIterator) 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 NodemanagementFilterer ¶
type NodemanagementFilterer struct {
// contains filtered or unexported fields
}
NodemanagementFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewNodemanagementFilterer ¶
func NewNodemanagementFilterer(address common.Address, filterer bind.ContractFilterer) (*NodemanagementFilterer, error)
NewNodemanagementFilterer creates a new log filterer instance of Nodemanagement, bound to a specific deployed contract.
func (*NodemanagementFilterer) FilterAdminChanged ¶
func (_Nodemanagement *NodemanagementFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*NodemanagementAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*NodemanagementFilterer) FilterBeaconUpgraded ¶
func (_Nodemanagement *NodemanagementFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*NodemanagementBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*NodemanagementFilterer) FilterFeeUpdatedEth ¶
func (_Nodemanagement *NodemanagementFilterer) FilterFeeUpdatedEth(opts *bind.FilterOpts) (*NodemanagementFeeUpdatedEthIterator, error)
FilterFeeUpdatedEth is a free log retrieval operation binding the contract event 0xabad68c916849b2d3dc65063fb53673e2afbca565ccafa6d879693ee2dc6eae1.
Solidity: event FeeUpdatedEth(uint256 old_fee, uint256 new_fee)
func (*NodemanagementFilterer) FilterFeeUpdatedMom ¶
func (_Nodemanagement *NodemanagementFilterer) FilterFeeUpdatedMom(opts *bind.FilterOpts) (*NodemanagementFeeUpdatedMomIterator, error)
FilterFeeUpdatedMom is a free log retrieval operation binding the contract event 0x8173aa58a259e63faf706f8a21a9f36cc8177d015a0a272c554bce99ef47188b.
Solidity: event FeeUpdatedMom(uint256 old_fee, uint256 new_fee)
func (*NodemanagementFilterer) FilterInitialized ¶
func (_Nodemanagement *NodemanagementFilterer) FilterInitialized(opts *bind.FilterOpts) (*NodemanagementInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*NodemanagementFilterer) FilterNodeMgmtEvent ¶
func (_Nodemanagement *NodemanagementFilterer) FilterNodeMgmtEvent(opts *bind.FilterOpts, from_node_id []*big.Int, to_node_id []*big.Int, odyssey_id []*big.Int) (*NodemanagementNodeMgmtEventIterator, error)
FilterNodeMgmtEvent is a free log retrieval operation binding the contract event 0xe56a80af793b5747dedcba9783e630d0affdfbda849f9f8e55f3e9888c1d67f6.
Solidity: event NodeMgmtEvent(uint256 indexed from_node_id, uint256 indexed to_node_id, uint256 indexed odyssey_id)
func (*NodemanagementFilterer) FilterNodeRemoved ¶
func (_Nodemanagement *NodemanagementFilterer) FilterNodeRemoved(opts *bind.FilterOpts, node_id []*big.Int) (*NodemanagementNodeRemovedIterator, error)
FilterNodeRemoved is a free log retrieval operation binding the contract event 0x2b61f53058df44855c08a7304979066cb409f86a3dca910e2275b9e85635d1f9.
Solidity: event NodeRemoved(uint256 indexed node_id)
func (*NodemanagementFilterer) FilterNodeUpdated ¶
func (_Nodemanagement *NodemanagementFilterer) FilterNodeUpdated(opts *bind.FilterOpts, node_id []*big.Int) (*NodemanagementNodeUpdatedIterator, error)
FilterNodeUpdated is a free log retrieval operation binding the contract event 0x7dc29048401c15b1b76c7fb99c378fb0bc6cd5f5248191e6b4dc5027cf65692a.
Solidity: event NodeUpdated(uint256 indexed node_id, address old_owner, address new_owner, string old_hostname, string new_hostname, string old_name, string new_name)
func (*NodemanagementFilterer) FilterOwnershipTransferred ¶
func (_Nodemanagement *NodemanagementFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*NodemanagementOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*NodemanagementFilterer) FilterUpgraded ¶
func (_Nodemanagement *NodemanagementFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*NodemanagementUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*NodemanagementFilterer) ParseAdminChanged ¶
func (_Nodemanagement *NodemanagementFilterer) ParseAdminChanged(log types.Log) (*NodemanagementAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*NodemanagementFilterer) ParseBeaconUpgraded ¶
func (_Nodemanagement *NodemanagementFilterer) ParseBeaconUpgraded(log types.Log) (*NodemanagementBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*NodemanagementFilterer) ParseFeeUpdatedEth ¶
func (_Nodemanagement *NodemanagementFilterer) ParseFeeUpdatedEth(log types.Log) (*NodemanagementFeeUpdatedEth, error)
ParseFeeUpdatedEth is a log parse operation binding the contract event 0xabad68c916849b2d3dc65063fb53673e2afbca565ccafa6d879693ee2dc6eae1.
Solidity: event FeeUpdatedEth(uint256 old_fee, uint256 new_fee)
func (*NodemanagementFilterer) ParseFeeUpdatedMom ¶
func (_Nodemanagement *NodemanagementFilterer) ParseFeeUpdatedMom(log types.Log) (*NodemanagementFeeUpdatedMom, error)
ParseFeeUpdatedMom is a log parse operation binding the contract event 0x8173aa58a259e63faf706f8a21a9f36cc8177d015a0a272c554bce99ef47188b.
Solidity: event FeeUpdatedMom(uint256 old_fee, uint256 new_fee)
func (*NodemanagementFilterer) ParseInitialized ¶
func (_Nodemanagement *NodemanagementFilterer) ParseInitialized(log types.Log) (*NodemanagementInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*NodemanagementFilterer) ParseNodeMgmtEvent ¶
func (_Nodemanagement *NodemanagementFilterer) ParseNodeMgmtEvent(log types.Log) (*NodemanagementNodeMgmtEvent, error)
ParseNodeMgmtEvent is a log parse operation binding the contract event 0xe56a80af793b5747dedcba9783e630d0affdfbda849f9f8e55f3e9888c1d67f6.
Solidity: event NodeMgmtEvent(uint256 indexed from_node_id, uint256 indexed to_node_id, uint256 indexed odyssey_id)
func (*NodemanagementFilterer) ParseNodeRemoved ¶
func (_Nodemanagement *NodemanagementFilterer) ParseNodeRemoved(log types.Log) (*NodemanagementNodeRemoved, error)
ParseNodeRemoved is a log parse operation binding the contract event 0x2b61f53058df44855c08a7304979066cb409f86a3dca910e2275b9e85635d1f9.
Solidity: event NodeRemoved(uint256 indexed node_id)
func (*NodemanagementFilterer) ParseNodeUpdated ¶
func (_Nodemanagement *NodemanagementFilterer) ParseNodeUpdated(log types.Log) (*NodemanagementNodeUpdated, error)
ParseNodeUpdated is a log parse operation binding the contract event 0x7dc29048401c15b1b76c7fb99c378fb0bc6cd5f5248191e6b4dc5027cf65692a.
Solidity: event NodeUpdated(uint256 indexed node_id, address old_owner, address new_owner, string old_hostname, string new_hostname, string old_name, string new_name)
func (*NodemanagementFilterer) ParseOwnershipTransferred ¶
func (_Nodemanagement *NodemanagementFilterer) ParseOwnershipTransferred(log types.Log) (*NodemanagementOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*NodemanagementFilterer) ParseUpgraded ¶
func (_Nodemanagement *NodemanagementFilterer) ParseUpgraded(log types.Log) (*NodemanagementUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*NodemanagementFilterer) WatchAdminChanged ¶
func (_Nodemanagement *NodemanagementFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *NodemanagementAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*NodemanagementFilterer) WatchBeaconUpgraded ¶
func (_Nodemanagement *NodemanagementFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *NodemanagementBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*NodemanagementFilterer) WatchFeeUpdatedEth ¶
func (_Nodemanagement *NodemanagementFilterer) WatchFeeUpdatedEth(opts *bind.WatchOpts, sink chan<- *NodemanagementFeeUpdatedEth) (event.Subscription, error)
WatchFeeUpdatedEth is a free log subscription operation binding the contract event 0xabad68c916849b2d3dc65063fb53673e2afbca565ccafa6d879693ee2dc6eae1.
Solidity: event FeeUpdatedEth(uint256 old_fee, uint256 new_fee)
func (*NodemanagementFilterer) WatchFeeUpdatedMom ¶
func (_Nodemanagement *NodemanagementFilterer) WatchFeeUpdatedMom(opts *bind.WatchOpts, sink chan<- *NodemanagementFeeUpdatedMom) (event.Subscription, error)
WatchFeeUpdatedMom is a free log subscription operation binding the contract event 0x8173aa58a259e63faf706f8a21a9f36cc8177d015a0a272c554bce99ef47188b.
Solidity: event FeeUpdatedMom(uint256 old_fee, uint256 new_fee)
func (*NodemanagementFilterer) WatchInitialized ¶
func (_Nodemanagement *NodemanagementFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *NodemanagementInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*NodemanagementFilterer) WatchNodeMgmtEvent ¶
func (_Nodemanagement *NodemanagementFilterer) WatchNodeMgmtEvent(opts *bind.WatchOpts, sink chan<- *NodemanagementNodeMgmtEvent, from_node_id []*big.Int, to_node_id []*big.Int, odyssey_id []*big.Int) (event.Subscription, error)
WatchNodeMgmtEvent is a free log subscription operation binding the contract event 0xe56a80af793b5747dedcba9783e630d0affdfbda849f9f8e55f3e9888c1d67f6.
Solidity: event NodeMgmtEvent(uint256 indexed from_node_id, uint256 indexed to_node_id, uint256 indexed odyssey_id)
func (*NodemanagementFilterer) WatchNodeRemoved ¶
func (_Nodemanagement *NodemanagementFilterer) WatchNodeRemoved(opts *bind.WatchOpts, sink chan<- *NodemanagementNodeRemoved, node_id []*big.Int) (event.Subscription, error)
WatchNodeRemoved is a free log subscription operation binding the contract event 0x2b61f53058df44855c08a7304979066cb409f86a3dca910e2275b9e85635d1f9.
Solidity: event NodeRemoved(uint256 indexed node_id)
func (*NodemanagementFilterer) WatchNodeUpdated ¶
func (_Nodemanagement *NodemanagementFilterer) WatchNodeUpdated(opts *bind.WatchOpts, sink chan<- *NodemanagementNodeUpdated, node_id []*big.Int) (event.Subscription, error)
WatchNodeUpdated is a free log subscription operation binding the contract event 0x7dc29048401c15b1b76c7fb99c378fb0bc6cd5f5248191e6b4dc5027cf65692a.
Solidity: event NodeUpdated(uint256 indexed node_id, address old_owner, address new_owner, string old_hostname, string new_hostname, string old_name, string new_name)
func (*NodemanagementFilterer) WatchOwnershipTransferred ¶
func (_Nodemanagement *NodemanagementFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *NodemanagementOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*NodemanagementFilterer) WatchUpgraded ¶
func (_Nodemanagement *NodemanagementFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *NodemanagementUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type NodemanagementInitialized ¶
type NodemanagementInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
NodemanagementInitialized represents a Initialized event raised by the Nodemanagement contract.
type NodemanagementInitializedIterator ¶
type NodemanagementInitializedIterator struct { Event *NodemanagementInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodemanagementInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Nodemanagement contract.
func (*NodemanagementInitializedIterator) Close ¶
func (it *NodemanagementInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodemanagementInitializedIterator) Error ¶
func (it *NodemanagementInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodemanagementInitializedIterator) Next ¶
func (it *NodemanagementInitializedIterator) 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 NodemanagementNodeMgmtEvent ¶
type NodemanagementNodeMgmtEvent struct { FromNodeId *big.Int ToNodeId *big.Int OdysseyId *big.Int Raw types.Log // Blockchain specific contextual infos }
NodemanagementNodeMgmtEvent represents a NodeMgmtEvent event raised by the Nodemanagement contract.
type NodemanagementNodeMgmtEventIterator ¶
type NodemanagementNodeMgmtEventIterator struct { Event *NodemanagementNodeMgmtEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodemanagementNodeMgmtEventIterator is returned from FilterNodeMgmtEvent and is used to iterate over the raw logs and unpacked data for NodeMgmtEvent events raised by the Nodemanagement contract.
func (*NodemanagementNodeMgmtEventIterator) Close ¶
func (it *NodemanagementNodeMgmtEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodemanagementNodeMgmtEventIterator) Error ¶
func (it *NodemanagementNodeMgmtEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodemanagementNodeMgmtEventIterator) Next ¶
func (it *NodemanagementNodeMgmtEventIterator) 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 NodemanagementNodeRemoved ¶
type NodemanagementNodeRemoved struct { NodeId *big.Int Raw types.Log // Blockchain specific contextual infos }
NodemanagementNodeRemoved represents a NodeRemoved event raised by the Nodemanagement contract.
type NodemanagementNodeRemovedIterator ¶
type NodemanagementNodeRemovedIterator struct { Event *NodemanagementNodeRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodemanagementNodeRemovedIterator is returned from FilterNodeRemoved and is used to iterate over the raw logs and unpacked data for NodeRemoved events raised by the Nodemanagement contract.
func (*NodemanagementNodeRemovedIterator) Close ¶
func (it *NodemanagementNodeRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodemanagementNodeRemovedIterator) Error ¶
func (it *NodemanagementNodeRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodemanagementNodeRemovedIterator) Next ¶
func (it *NodemanagementNodeRemovedIterator) 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 NodemanagementNodeUpdated ¶
type NodemanagementNodeUpdated struct { NodeId *big.Int OldOwner common.Address NewOwner common.Address OldHostname string NewHostname string OldName string NewName string Raw types.Log // Blockchain specific contextual infos }
NodemanagementNodeUpdated represents a NodeUpdated event raised by the Nodemanagement contract.
type NodemanagementNodeUpdatedIterator ¶
type NodemanagementNodeUpdatedIterator struct { Event *NodemanagementNodeUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodemanagementNodeUpdatedIterator is returned from FilterNodeUpdated and is used to iterate over the raw logs and unpacked data for NodeUpdated events raised by the Nodemanagement contract.
func (*NodemanagementNodeUpdatedIterator) Close ¶
func (it *NodemanagementNodeUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodemanagementNodeUpdatedIterator) Error ¶
func (it *NodemanagementNodeUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodemanagementNodeUpdatedIterator) Next ¶
func (it *NodemanagementNodeUpdatedIterator) 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 NodemanagementOwnershipTransferred ¶
type NodemanagementOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
NodemanagementOwnershipTransferred represents a OwnershipTransferred event raised by the Nodemanagement contract.
type NodemanagementOwnershipTransferredIterator ¶
type NodemanagementOwnershipTransferredIterator struct { Event *NodemanagementOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodemanagementOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Nodemanagement contract.
func (*NodemanagementOwnershipTransferredIterator) Close ¶
func (it *NodemanagementOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodemanagementOwnershipTransferredIterator) Error ¶
func (it *NodemanagementOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodemanagementOwnershipTransferredIterator) Next ¶
func (it *NodemanagementOwnershipTransferredIterator) 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 NodemanagementRaw ¶
type NodemanagementRaw struct {
Contract *Nodemanagement // Generic contract binding to access the raw methods on
}
NodemanagementRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*NodemanagementRaw) Call ¶
func (_Nodemanagement *NodemanagementRaw) 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 (*NodemanagementRaw) Transact ¶
func (_Nodemanagement *NodemanagementRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NodemanagementRaw) Transfer ¶
func (_Nodemanagement *NodemanagementRaw) 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 NodemanagementSession ¶
type NodemanagementSession struct { Contract *Nodemanagement // 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 }
NodemanagementSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*NodemanagementSession) AddNodeWithEth ¶
func (_Nodemanagement *NodemanagementSession) AddNodeWithEth(node_id *big.Int, hostname string, name string, pubkey []byte) (*types.Transaction, error)
AddNodeWithEth is a paid mutator transaction binding the contract method 0x69541c1c.
Solidity: function addNodeWithEth(uint256 node_id, string hostname, string name, bytes pubkey) returns()
func (*NodemanagementSession) AddNodeWithMom ¶
func (_Nodemanagement *NodemanagementSession) AddNodeWithMom(node_id *big.Int, hostname string, name string, pubkey []byte) (*types.Transaction, error)
AddNodeWithMom is a paid mutator transaction binding the contract method 0x36fe2fd4.
Solidity: function addNodeWithMom(uint256 node_id, string hostname, string name, bytes pubkey) returns()
func (*NodemanagementSession) FeeETH ¶
func (_Nodemanagement *NodemanagementSession) FeeETH() (*big.Int, error)
FeeETH is a free data retrieval call binding the contract method 0x4078fca8.
Solidity: function feeETH() view returns(uint256)
func (*NodemanagementSession) FeeMom ¶
func (_Nodemanagement *NodemanagementSession) FeeMom() (*big.Int, error)
FeeMom is a free data retrieval call binding the contract method 0x47ad1b70.
Solidity: function feeMom() view returns(uint256)
func (*NodemanagementSession) GetNode ¶
func (_Nodemanagement *NodemanagementSession) GetNode(node_id *big.Int) (NodeManagementNode, error)
GetNode is a free data retrieval call binding the contract method 0x4f0f4aa9.
Solidity: function getNode(uint256 node_id) view returns((uint256,string,string,address,bytes,address))
func (*NodemanagementSession) GetNodeForTheOdyssey ¶
func (_Nodemanagement *NodemanagementSession) GetNodeForTheOdyssey(odyssey_id *big.Int) (NodeManagementNode, error)
GetNodeForTheOdyssey is a free data retrieval call binding the contract method 0x2752c044.
Solidity: function getNodeForTheOdyssey(uint256 odyssey_id) view returns((uint256,string,string,address,bytes,address))
func (*NodemanagementSession) Initialize ¶
func (_Nodemanagement *NodemanagementSession) Initialize(_odyssey_nft common.Address, _treasury common.Address, _feeEth *big.Int, _feeMom *big.Int, _mom_token common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x57fb25cc.
Solidity: function initialize(address _odyssey_nft, address _treasury, uint256 _feeEth, uint256 _feeMom, address _mom_token) returns()
func (*NodemanagementSession) MomToken ¶
func (_Nodemanagement *NodemanagementSession) MomToken() (common.Address, error)
MomToken is a free data retrieval call binding the contract method 0x3a2bb837.
Solidity: function mom_token() view returns(address)
func (*NodemanagementSession) NodeFromOdyssey ¶
func (_Nodemanagement *NodemanagementSession) NodeFromOdyssey(arg0 *big.Int) (struct { NodeId *big.Int Index *big.Int }, error)
NodeFromOdyssey is a free data retrieval call binding the contract method 0xc5e8000e.
Solidity: function node_from_odyssey(uint256 ) view returns(uint256 node_id, uint256 index)
func (*NodemanagementSession) Nodes ¶
func (_Nodemanagement *NodemanagementSession) Nodes(arg0 *big.Int) (struct { NodeId *big.Int Name string Hostname string Owner common.Address Pubkey []byte NodeAccount common.Address }, error)
Nodes is a free data retrieval call binding the contract method 0x1c53c280.
Solidity: function nodes(uint256 ) view returns(uint256 node_id, string name, string hostname, address owner, bytes pubkey, address node_account)
func (*NodemanagementSession) NodesCount ¶
func (_Nodemanagement *NodemanagementSession) NodesCount() (*big.Int, error)
NodesCount is a free data retrieval call binding the contract method 0xf1a3c5b3.
Solidity: function nodesCount() view returns(uint256)
func (*NodemanagementSession) NodesIndex ¶
NodesIndex is a free data retrieval call binding the contract method 0xf452ba40.
Solidity: function nodes_index(uint256 ) view returns(uint256)
func (*NodemanagementSession) OdysseyNft ¶
func (_Nodemanagement *NodemanagementSession) OdysseyNft() (common.Address, error)
OdysseyNft is a free data retrieval call binding the contract method 0x98edac36.
Solidity: function odyssey_nft() view returns(address)
func (*NodemanagementSession) Odysseys ¶
func (_Nodemanagement *NodemanagementSession) Odysseys(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
Odysseys is a free data retrieval call binding the contract method 0x1c257a13.
Solidity: function odysseys(uint256 , uint256 ) view returns(uint256)
func (*NodemanagementSession) OdysseysIndex ¶
OdysseysIndex is a free data retrieval call binding the contract method 0x16c859bb.
Solidity: function odysseys_index(uint256 ) view returns(uint256)
func (*NodemanagementSession) Owner ¶
func (_Nodemanagement *NodemanagementSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*NodemanagementSession) ProxiableUUID ¶
func (_Nodemanagement *NodemanagementSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*NodemanagementSession) RemoveMapping ¶
func (_Nodemanagement *NodemanagementSession) RemoveMapping(node_id *big.Int, odyssey_id *big.Int) (*types.Transaction, error)
RemoveMapping is a paid mutator transaction binding the contract method 0x57bed438.
Solidity: function removeMapping(uint256 node_id, uint256 odyssey_id) returns()
func (*NodemanagementSession) RemoveNode ¶
func (_Nodemanagement *NodemanagementSession) RemoveNode(node_id *big.Int) (*types.Transaction, error)
RemoveNode is a paid mutator transaction binding the contract method 0xffd740df.
Solidity: function removeNode(uint256 node_id) returns()
func (*NodemanagementSession) RenounceOwnership ¶
func (_Nodemanagement *NodemanagementSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*NodemanagementSession) SetNodeMapping ¶
func (_Nodemanagement *NodemanagementSession) SetNodeMapping(node_id *big.Int, odyssey_id *big.Int, challenge []byte) (*types.Transaction, error)
SetNodeMapping is a paid mutator transaction binding the contract method 0x76b32e37.
Solidity: function setNodeMapping(uint256 node_id, uint256 odyssey_id, bytes challenge) returns()
func (*NodemanagementSession) SetOdysseyMapping ¶
func (_Nodemanagement *NodemanagementSession) SetOdysseyMapping(node_id *big.Int, odyssey_id *big.Int, challenge []byte) (*types.Transaction, error)
SetOdysseyMapping is a paid mutator transaction binding the contract method 0x805e408c.
Solidity: function setOdysseyMapping(uint256 node_id, uint256 odyssey_id, bytes challenge) returns()
func (*NodemanagementSession) SplitSignature ¶
func (_Nodemanagement *NodemanagementSession) SplitSignature(sig []byte) (uint8, [32]byte, [32]byte, error)
SplitSignature is a free data retrieval call binding the contract method 0xa7bb5803.
Solidity: function splitSignature(bytes sig) pure returns(uint8, bytes32, bytes32)
func (*NodemanagementSession) TransferOwnership ¶
func (_Nodemanagement *NodemanagementSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*NodemanagementSession) Treasury ¶
func (_Nodemanagement *NodemanagementSession) Treasury() (common.Address, error)
Treasury is a free data retrieval call binding the contract method 0x61d027b3.
Solidity: function treasury() view returns(address)
func (*NodemanagementSession) UpdateFeeEth ¶
func (_Nodemanagement *NodemanagementSession) UpdateFeeEth(new_feeEth *big.Int) (*types.Transaction, error)
UpdateFeeEth is a paid mutator transaction binding the contract method 0x84182ceb.
Solidity: function update_feeEth(uint256 new_feeEth) returns()
func (*NodemanagementSession) UpdateFeeMom ¶
func (_Nodemanagement *NodemanagementSession) UpdateFeeMom(new_feeMom *big.Int) (*types.Transaction, error)
UpdateFeeMom is a paid mutator transaction binding the contract method 0x9a900650.
Solidity: function update_feeMom(uint256 new_feeMom) returns()
func (*NodemanagementSession) UpdateNode ¶
func (_Nodemanagement *NodemanagementSession) UpdateNode(node_id *big.Int, hostname string, name string) (*types.Transaction, error)
UpdateNode is a paid mutator transaction binding the contract method 0x6cc0243e.
Solidity: function updateNode(uint256 node_id, string hostname, string name) returns()
func (*NodemanagementSession) UpdateNodeOwner ¶
func (_Nodemanagement *NodemanagementSession) UpdateNodeOwner(node_id *big.Int, new_owner common.Address) (*types.Transaction, error)
UpdateNodeOwner is a paid mutator transaction binding the contract method 0x97749506.
Solidity: function updateNodeOwner(uint256 node_id, address new_owner) returns()
func (*NodemanagementSession) UpdateNodePubkey ¶
func (_Nodemanagement *NodemanagementSession) UpdateNodePubkey(node_id *big.Int, new_pubkey []byte) (*types.Transaction, error)
UpdateNodePubkey is a paid mutator transaction binding the contract method 0x64d7d365.
Solidity: function updateNodePubkey(uint256 node_id, bytes new_pubkey) returns()
func (*NodemanagementSession) UpgradeTo ¶
func (_Nodemanagement *NodemanagementSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*NodemanagementSession) UpgradeToAndCall ¶
func (_Nodemanagement *NodemanagementSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type NodemanagementTransactor ¶
type NodemanagementTransactor struct {
// contains filtered or unexported fields
}
NodemanagementTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewNodemanagementTransactor ¶
func NewNodemanagementTransactor(address common.Address, transactor bind.ContractTransactor) (*NodemanagementTransactor, error)
NewNodemanagementTransactor creates a new write-only instance of Nodemanagement, bound to a specific deployed contract.
func (*NodemanagementTransactor) AddNodeWithEth ¶
func (_Nodemanagement *NodemanagementTransactor) AddNodeWithEth(opts *bind.TransactOpts, node_id *big.Int, hostname string, name string, pubkey []byte) (*types.Transaction, error)
AddNodeWithEth is a paid mutator transaction binding the contract method 0x69541c1c.
Solidity: function addNodeWithEth(uint256 node_id, string hostname, string name, bytes pubkey) returns()
func (*NodemanagementTransactor) AddNodeWithMom ¶
func (_Nodemanagement *NodemanagementTransactor) AddNodeWithMom(opts *bind.TransactOpts, node_id *big.Int, hostname string, name string, pubkey []byte) (*types.Transaction, error)
AddNodeWithMom is a paid mutator transaction binding the contract method 0x36fe2fd4.
Solidity: function addNodeWithMom(uint256 node_id, string hostname, string name, bytes pubkey) returns()
func (*NodemanagementTransactor) Initialize ¶
func (_Nodemanagement *NodemanagementTransactor) Initialize(opts *bind.TransactOpts, _odyssey_nft common.Address, _treasury common.Address, _feeEth *big.Int, _feeMom *big.Int, _mom_token common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x57fb25cc.
Solidity: function initialize(address _odyssey_nft, address _treasury, uint256 _feeEth, uint256 _feeMom, address _mom_token) returns()
func (*NodemanagementTransactor) RemoveMapping ¶
func (_Nodemanagement *NodemanagementTransactor) RemoveMapping(opts *bind.TransactOpts, node_id *big.Int, odyssey_id *big.Int) (*types.Transaction, error)
RemoveMapping is a paid mutator transaction binding the contract method 0x57bed438.
Solidity: function removeMapping(uint256 node_id, uint256 odyssey_id) returns()
func (*NodemanagementTransactor) RemoveNode ¶
func (_Nodemanagement *NodemanagementTransactor) RemoveNode(opts *bind.TransactOpts, node_id *big.Int) (*types.Transaction, error)
RemoveNode is a paid mutator transaction binding the contract method 0xffd740df.
Solidity: function removeNode(uint256 node_id) returns()
func (*NodemanagementTransactor) RenounceOwnership ¶
func (_Nodemanagement *NodemanagementTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*NodemanagementTransactor) SetNodeMapping ¶
func (_Nodemanagement *NodemanagementTransactor) SetNodeMapping(opts *bind.TransactOpts, node_id *big.Int, odyssey_id *big.Int, challenge []byte) (*types.Transaction, error)
SetNodeMapping is a paid mutator transaction binding the contract method 0x76b32e37.
Solidity: function setNodeMapping(uint256 node_id, uint256 odyssey_id, bytes challenge) returns()
func (*NodemanagementTransactor) SetOdysseyMapping ¶
func (_Nodemanagement *NodemanagementTransactor) SetOdysseyMapping(opts *bind.TransactOpts, node_id *big.Int, odyssey_id *big.Int, challenge []byte) (*types.Transaction, error)
SetOdysseyMapping is a paid mutator transaction binding the contract method 0x805e408c.
Solidity: function setOdysseyMapping(uint256 node_id, uint256 odyssey_id, bytes challenge) returns()
func (*NodemanagementTransactor) TransferOwnership ¶
func (_Nodemanagement *NodemanagementTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*NodemanagementTransactor) UpdateFeeEth ¶
func (_Nodemanagement *NodemanagementTransactor) UpdateFeeEth(opts *bind.TransactOpts, new_feeEth *big.Int) (*types.Transaction, error)
UpdateFeeEth is a paid mutator transaction binding the contract method 0x84182ceb.
Solidity: function update_feeEth(uint256 new_feeEth) returns()
func (*NodemanagementTransactor) UpdateFeeMom ¶
func (_Nodemanagement *NodemanagementTransactor) UpdateFeeMom(opts *bind.TransactOpts, new_feeMom *big.Int) (*types.Transaction, error)
UpdateFeeMom is a paid mutator transaction binding the contract method 0x9a900650.
Solidity: function update_feeMom(uint256 new_feeMom) returns()
func (*NodemanagementTransactor) UpdateNode ¶
func (_Nodemanagement *NodemanagementTransactor) UpdateNode(opts *bind.TransactOpts, node_id *big.Int, hostname string, name string) (*types.Transaction, error)
UpdateNode is a paid mutator transaction binding the contract method 0x6cc0243e.
Solidity: function updateNode(uint256 node_id, string hostname, string name) returns()
func (*NodemanagementTransactor) UpdateNodeOwner ¶
func (_Nodemanagement *NodemanagementTransactor) UpdateNodeOwner(opts *bind.TransactOpts, node_id *big.Int, new_owner common.Address) (*types.Transaction, error)
UpdateNodeOwner is a paid mutator transaction binding the contract method 0x97749506.
Solidity: function updateNodeOwner(uint256 node_id, address new_owner) returns()
func (*NodemanagementTransactor) UpdateNodePubkey ¶
func (_Nodemanagement *NodemanagementTransactor) UpdateNodePubkey(opts *bind.TransactOpts, node_id *big.Int, new_pubkey []byte) (*types.Transaction, error)
UpdateNodePubkey is a paid mutator transaction binding the contract method 0x64d7d365.
Solidity: function updateNodePubkey(uint256 node_id, bytes new_pubkey) returns()
func (*NodemanagementTransactor) UpgradeTo ¶
func (_Nodemanagement *NodemanagementTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*NodemanagementTransactor) UpgradeToAndCall ¶
func (_Nodemanagement *NodemanagementTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type NodemanagementTransactorRaw ¶
type NodemanagementTransactorRaw struct {
Contract *NodemanagementTransactor // Generic write-only contract binding to access the raw methods on
}
NodemanagementTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*NodemanagementTransactorRaw) Transact ¶
func (_Nodemanagement *NodemanagementTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NodemanagementTransactorRaw) Transfer ¶
func (_Nodemanagement *NodemanagementTransactorRaw) 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 NodemanagementTransactorSession ¶
type NodemanagementTransactorSession struct { Contract *NodemanagementTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
NodemanagementTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*NodemanagementTransactorSession) AddNodeWithEth ¶
func (_Nodemanagement *NodemanagementTransactorSession) AddNodeWithEth(node_id *big.Int, hostname string, name string, pubkey []byte) (*types.Transaction, error)
AddNodeWithEth is a paid mutator transaction binding the contract method 0x69541c1c.
Solidity: function addNodeWithEth(uint256 node_id, string hostname, string name, bytes pubkey) returns()
func (*NodemanagementTransactorSession) AddNodeWithMom ¶
func (_Nodemanagement *NodemanagementTransactorSession) AddNodeWithMom(node_id *big.Int, hostname string, name string, pubkey []byte) (*types.Transaction, error)
AddNodeWithMom is a paid mutator transaction binding the contract method 0x36fe2fd4.
Solidity: function addNodeWithMom(uint256 node_id, string hostname, string name, bytes pubkey) returns()
func (*NodemanagementTransactorSession) Initialize ¶
func (_Nodemanagement *NodemanagementTransactorSession) Initialize(_odyssey_nft common.Address, _treasury common.Address, _feeEth *big.Int, _feeMom *big.Int, _mom_token common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x57fb25cc.
Solidity: function initialize(address _odyssey_nft, address _treasury, uint256 _feeEth, uint256 _feeMom, address _mom_token) returns()
func (*NodemanagementTransactorSession) RemoveMapping ¶
func (_Nodemanagement *NodemanagementTransactorSession) RemoveMapping(node_id *big.Int, odyssey_id *big.Int) (*types.Transaction, error)
RemoveMapping is a paid mutator transaction binding the contract method 0x57bed438.
Solidity: function removeMapping(uint256 node_id, uint256 odyssey_id) returns()
func (*NodemanagementTransactorSession) RemoveNode ¶
func (_Nodemanagement *NodemanagementTransactorSession) RemoveNode(node_id *big.Int) (*types.Transaction, error)
RemoveNode is a paid mutator transaction binding the contract method 0xffd740df.
Solidity: function removeNode(uint256 node_id) returns()
func (*NodemanagementTransactorSession) RenounceOwnership ¶
func (_Nodemanagement *NodemanagementTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*NodemanagementTransactorSession) SetNodeMapping ¶
func (_Nodemanagement *NodemanagementTransactorSession) SetNodeMapping(node_id *big.Int, odyssey_id *big.Int, challenge []byte) (*types.Transaction, error)
SetNodeMapping is a paid mutator transaction binding the contract method 0x76b32e37.
Solidity: function setNodeMapping(uint256 node_id, uint256 odyssey_id, bytes challenge) returns()
func (*NodemanagementTransactorSession) SetOdysseyMapping ¶
func (_Nodemanagement *NodemanagementTransactorSession) SetOdysseyMapping(node_id *big.Int, odyssey_id *big.Int, challenge []byte) (*types.Transaction, error)
SetOdysseyMapping is a paid mutator transaction binding the contract method 0x805e408c.
Solidity: function setOdysseyMapping(uint256 node_id, uint256 odyssey_id, bytes challenge) returns()
func (*NodemanagementTransactorSession) TransferOwnership ¶
func (_Nodemanagement *NodemanagementTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*NodemanagementTransactorSession) UpdateFeeEth ¶
func (_Nodemanagement *NodemanagementTransactorSession) UpdateFeeEth(new_feeEth *big.Int) (*types.Transaction, error)
UpdateFeeEth is a paid mutator transaction binding the contract method 0x84182ceb.
Solidity: function update_feeEth(uint256 new_feeEth) returns()
func (*NodemanagementTransactorSession) UpdateFeeMom ¶
func (_Nodemanagement *NodemanagementTransactorSession) UpdateFeeMom(new_feeMom *big.Int) (*types.Transaction, error)
UpdateFeeMom is a paid mutator transaction binding the contract method 0x9a900650.
Solidity: function update_feeMom(uint256 new_feeMom) returns()
func (*NodemanagementTransactorSession) UpdateNode ¶
func (_Nodemanagement *NodemanagementTransactorSession) UpdateNode(node_id *big.Int, hostname string, name string) (*types.Transaction, error)
UpdateNode is a paid mutator transaction binding the contract method 0x6cc0243e.
Solidity: function updateNode(uint256 node_id, string hostname, string name) returns()
func (*NodemanagementTransactorSession) UpdateNodeOwner ¶
func (_Nodemanagement *NodemanagementTransactorSession) UpdateNodeOwner(node_id *big.Int, new_owner common.Address) (*types.Transaction, error)
UpdateNodeOwner is a paid mutator transaction binding the contract method 0x97749506.
Solidity: function updateNodeOwner(uint256 node_id, address new_owner) returns()
func (*NodemanagementTransactorSession) UpdateNodePubkey ¶
func (_Nodemanagement *NodemanagementTransactorSession) UpdateNodePubkey(node_id *big.Int, new_pubkey []byte) (*types.Transaction, error)
UpdateNodePubkey is a paid mutator transaction binding the contract method 0x64d7d365.
Solidity: function updateNodePubkey(uint256 node_id, bytes new_pubkey) returns()
func (*NodemanagementTransactorSession) UpgradeTo ¶
func (_Nodemanagement *NodemanagementTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*NodemanagementTransactorSession) UpgradeToAndCall ¶
func (_Nodemanagement *NodemanagementTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type NodemanagementUpgraded ¶
type NodemanagementUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
NodemanagementUpgraded represents a Upgraded event raised by the Nodemanagement contract.
type NodemanagementUpgradedIterator ¶
type NodemanagementUpgradedIterator struct { Event *NodemanagementUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodemanagementUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the Nodemanagement contract.
func (*NodemanagementUpgradedIterator) Close ¶
func (it *NodemanagementUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodemanagementUpgradedIterator) Error ¶
func (it *NodemanagementUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodemanagementUpgradedIterator) Next ¶
func (it *NodemanagementUpgradedIterator) 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 Odysseynft ¶
type Odysseynft struct { OdysseynftCaller // Read-only binding to the contract OdysseynftTransactor // Write-only binding to the contract OdysseynftFilterer // Log filterer for contract events }
Odysseynft is an auto generated Go binding around an Ethereum contract.
func NewOdysseynft ¶
func NewOdysseynft(address common.Address, backend bind.ContractBackend) (*Odysseynft, error)
NewOdysseynft creates a new instance of Odysseynft, bound to a specific deployed contract.
type OdysseynftApproval ¶
type OdysseynftApproval struct { Owner common.Address Approved common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
OdysseynftApproval represents a Approval event raised by the Odysseynft contract.
type OdysseynftApprovalForAll ¶
type OdysseynftApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
OdysseynftApprovalForAll represents a ApprovalForAll event raised by the Odysseynft contract.
type OdysseynftApprovalForAllIterator ¶
type OdysseynftApprovalForAllIterator struct { Event *OdysseynftApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OdysseynftApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Odysseynft contract.
func (*OdysseynftApprovalForAllIterator) Close ¶
func (it *OdysseynftApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OdysseynftApprovalForAllIterator) Error ¶
func (it *OdysseynftApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OdysseynftApprovalForAllIterator) Next ¶
func (it *OdysseynftApprovalForAllIterator) 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 OdysseynftApprovalIterator ¶
type OdysseynftApprovalIterator struct { Event *OdysseynftApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OdysseynftApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Odysseynft contract.
func (*OdysseynftApprovalIterator) Close ¶
func (it *OdysseynftApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OdysseynftApprovalIterator) Error ¶
func (it *OdysseynftApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OdysseynftApprovalIterator) Next ¶
func (it *OdysseynftApprovalIterator) 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 OdysseynftBatchMetadataUpdate ¶
type OdysseynftBatchMetadataUpdate struct { FromTokenId *big.Int ToTokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
OdysseynftBatchMetadataUpdate represents a BatchMetadataUpdate event raised by the Odysseynft contract.
type OdysseynftBatchMetadataUpdateIterator ¶
type OdysseynftBatchMetadataUpdateIterator struct { Event *OdysseynftBatchMetadataUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OdysseynftBatchMetadataUpdateIterator is returned from FilterBatchMetadataUpdate and is used to iterate over the raw logs and unpacked data for BatchMetadataUpdate events raised by the Odysseynft contract.
func (*OdysseynftBatchMetadataUpdateIterator) Close ¶
func (it *OdysseynftBatchMetadataUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OdysseynftBatchMetadataUpdateIterator) Error ¶
func (it *OdysseynftBatchMetadataUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OdysseynftBatchMetadataUpdateIterator) Next ¶
func (it *OdysseynftBatchMetadataUpdateIterator) 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 OdysseynftCaller ¶
type OdysseynftCaller struct {
// contains filtered or unexported fields
}
OdysseynftCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOdysseynftCaller ¶
func NewOdysseynftCaller(address common.Address, caller bind.ContractCaller) (*OdysseynftCaller, error)
NewOdysseynftCaller creates a new read-only instance of Odysseynft, bound to a specific deployed contract.
func (*OdysseynftCaller) BalanceOf ¶
func (_Odysseynft *OdysseynftCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*OdysseynftCaller) CurrentId ¶
CurrentId is a free data retrieval call binding the contract method 0xe00dd161.
Solidity: function currentId() view returns(uint256)
func (*OdysseynftCaller) Exists ¶
Exists is a free data retrieval call binding the contract method 0x4f558e79.
Solidity: function exists(uint256 tokenId) view returns(bool)
func (*OdysseynftCaller) GetApproved ¶
func (_Odysseynft *OdysseynftCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*OdysseynftCaller) IsApprovedForAll ¶
func (_Odysseynft *OdysseynftCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*OdysseynftCaller) Name ¶
func (_Odysseynft *OdysseynftCaller) 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 (*OdysseynftCaller) Odysseys ¶
Odysseys is a free data retrieval call binding the contract method 0x4a18c5ff.
Solidity: function odysseys() view returns(uint256)
func (*OdysseynftCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OdysseynftCaller) OwnerOf ¶
func (_Odysseynft *OdysseynftCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*OdysseynftCaller) Paused ¶
func (_Odysseynft *OdysseynftCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*OdysseynftCaller) SupportsInterface ¶
func (_Odysseynft *OdysseynftCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
type OdysseynftCallerRaw ¶
type OdysseynftCallerRaw struct {
Contract *OdysseynftCaller // Generic read-only contract binding to access the raw methods on
}
OdysseynftCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OdysseynftCallerRaw) Call ¶
func (_Odysseynft *OdysseynftCallerRaw) 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 OdysseynftCallerSession ¶
type OdysseynftCallerSession struct { Contract *OdysseynftCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OdysseynftCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OdysseynftCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*OdysseynftCallerSession) CurrentId ¶
func (_Odysseynft *OdysseynftCallerSession) CurrentId() (*big.Int, error)
CurrentId is a free data retrieval call binding the contract method 0xe00dd161.
Solidity: function currentId() view returns(uint256)
func (*OdysseynftCallerSession) Exists ¶
func (_Odysseynft *OdysseynftCallerSession) Exists(tokenId *big.Int) (bool, error)
Exists is a free data retrieval call binding the contract method 0x4f558e79.
Solidity: function exists(uint256 tokenId) view returns(bool)
func (*OdysseynftCallerSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*OdysseynftCallerSession) IsApprovedForAll ¶
func (_Odysseynft *OdysseynftCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*OdysseynftCallerSession) Name ¶
func (_Odysseynft *OdysseynftCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*OdysseynftCallerSession) Odysseys ¶
func (_Odysseynft *OdysseynftCallerSession) Odysseys() (*big.Int, error)
Odysseys is a free data retrieval call binding the contract method 0x4a18c5ff.
Solidity: function odysseys() view returns(uint256)
func (*OdysseynftCallerSession) Owner ¶
func (_Odysseynft *OdysseynftCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OdysseynftCallerSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*OdysseynftCallerSession) Paused ¶
func (_Odysseynft *OdysseynftCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*OdysseynftCallerSession) SupportsInterface ¶
func (_Odysseynft *OdysseynftCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*OdysseynftCallerSession) Symbol ¶
func (_Odysseynft *OdysseynftCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
type OdysseynftFilterer ¶
type OdysseynftFilterer struct {
// contains filtered or unexported fields
}
OdysseynftFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOdysseynftFilterer ¶
func NewOdysseynftFilterer(address common.Address, filterer bind.ContractFilterer) (*OdysseynftFilterer, error)
NewOdysseynftFilterer creates a new log filterer instance of Odysseynft, bound to a specific deployed contract.
func (*OdysseynftFilterer) FilterApproval ¶
func (_Odysseynft *OdysseynftFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*OdysseynftApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*OdysseynftFilterer) FilterApprovalForAll ¶
func (_Odysseynft *OdysseynftFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*OdysseynftApprovalForAllIterator, error)
FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*OdysseynftFilterer) FilterBatchMetadataUpdate ¶
func (_Odysseynft *OdysseynftFilterer) FilterBatchMetadataUpdate(opts *bind.FilterOpts) (*OdysseynftBatchMetadataUpdateIterator, error)
FilterBatchMetadataUpdate is a free log retrieval operation binding the contract event 0x6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c.
Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)
func (*OdysseynftFilterer) FilterMetadataUpdate ¶
func (_Odysseynft *OdysseynftFilterer) FilterMetadataUpdate(opts *bind.FilterOpts) (*OdysseynftMetadataUpdateIterator, error)
FilterMetadataUpdate is a free log retrieval operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.
Solidity: event MetadataUpdate(uint256 _tokenId)
func (*OdysseynftFilterer) FilterOwnershipTransferred ¶
func (_Odysseynft *OdysseynftFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OdysseynftOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OdysseynftFilterer) FilterPaused ¶
func (_Odysseynft *OdysseynftFilterer) FilterPaused(opts *bind.FilterOpts) (*OdysseynftPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*OdysseynftFilterer) FilterStateUpdated ¶
func (_Odysseynft *OdysseynftFilterer) FilterStateUpdated(opts *bind.FilterOpts, state []string) (*OdysseynftStateUpdatedIterator, error)
FilterStateUpdated is a free log retrieval operation binding the contract event 0xafa0c737e4e73fe7fdffeddcaef6341a14203894766da748e74287e94a32187a.
Solidity: event StateUpdated(string indexed state, string from, string to)
func (*OdysseynftFilterer) FilterTransfer ¶
func (_Odysseynft *OdysseynftFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*OdysseynftTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
func (*OdysseynftFilterer) FilterUnpaused ¶
func (_Odysseynft *OdysseynftFilterer) FilterUnpaused(opts *bind.FilterOpts) (*OdysseynftUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*OdysseynftFilterer) ParseApproval ¶
func (_Odysseynft *OdysseynftFilterer) ParseApproval(log types.Log) (*OdysseynftApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*OdysseynftFilterer) ParseApprovalForAll ¶
func (_Odysseynft *OdysseynftFilterer) ParseApprovalForAll(log types.Log) (*OdysseynftApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*OdysseynftFilterer) ParseBatchMetadataUpdate ¶
func (_Odysseynft *OdysseynftFilterer) ParseBatchMetadataUpdate(log types.Log) (*OdysseynftBatchMetadataUpdate, error)
ParseBatchMetadataUpdate is a log parse operation binding the contract event 0x6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c.
Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)
func (*OdysseynftFilterer) ParseMetadataUpdate ¶
func (_Odysseynft *OdysseynftFilterer) ParseMetadataUpdate(log types.Log) (*OdysseynftMetadataUpdate, error)
ParseMetadataUpdate is a log parse operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.
Solidity: event MetadataUpdate(uint256 _tokenId)
func (*OdysseynftFilterer) ParseOwnershipTransferred ¶
func (_Odysseynft *OdysseynftFilterer) ParseOwnershipTransferred(log types.Log) (*OdysseynftOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OdysseynftFilterer) ParsePaused ¶
func (_Odysseynft *OdysseynftFilterer) ParsePaused(log types.Log) (*OdysseynftPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*OdysseynftFilterer) ParseStateUpdated ¶
func (_Odysseynft *OdysseynftFilterer) ParseStateUpdated(log types.Log) (*OdysseynftStateUpdated, error)
ParseStateUpdated is a log parse operation binding the contract event 0xafa0c737e4e73fe7fdffeddcaef6341a14203894766da748e74287e94a32187a.
Solidity: event StateUpdated(string indexed state, string from, string to)
func (*OdysseynftFilterer) ParseTransfer ¶
func (_Odysseynft *OdysseynftFilterer) ParseTransfer(log types.Log) (*OdysseynftTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
func (*OdysseynftFilterer) ParseUnpaused ¶
func (_Odysseynft *OdysseynftFilterer) ParseUnpaused(log types.Log) (*OdysseynftUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*OdysseynftFilterer) WatchApproval ¶
func (_Odysseynft *OdysseynftFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *OdysseynftApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*OdysseynftFilterer) WatchApprovalForAll ¶
func (_Odysseynft *OdysseynftFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *OdysseynftApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)
WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*OdysseynftFilterer) WatchBatchMetadataUpdate ¶
func (_Odysseynft *OdysseynftFilterer) WatchBatchMetadataUpdate(opts *bind.WatchOpts, sink chan<- *OdysseynftBatchMetadataUpdate) (event.Subscription, error)
WatchBatchMetadataUpdate is a free log subscription operation binding the contract event 0x6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c.
Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)
func (*OdysseynftFilterer) WatchMetadataUpdate ¶
func (_Odysseynft *OdysseynftFilterer) WatchMetadataUpdate(opts *bind.WatchOpts, sink chan<- *OdysseynftMetadataUpdate) (event.Subscription, error)
WatchMetadataUpdate is a free log subscription operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.
Solidity: event MetadataUpdate(uint256 _tokenId)
func (*OdysseynftFilterer) WatchOwnershipTransferred ¶
func (_Odysseynft *OdysseynftFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OdysseynftOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OdysseynftFilterer) WatchPaused ¶
func (_Odysseynft *OdysseynftFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *OdysseynftPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*OdysseynftFilterer) WatchStateUpdated ¶
func (_Odysseynft *OdysseynftFilterer) WatchStateUpdated(opts *bind.WatchOpts, sink chan<- *OdysseynftStateUpdated, state []string) (event.Subscription, error)
WatchStateUpdated is a free log subscription operation binding the contract event 0xafa0c737e4e73fe7fdffeddcaef6341a14203894766da748e74287e94a32187a.
Solidity: event StateUpdated(string indexed state, string from, string to)
func (*OdysseynftFilterer) WatchTransfer ¶
func (_Odysseynft *OdysseynftFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *OdysseynftTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (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 indexed tokenId)
func (*OdysseynftFilterer) WatchUnpaused ¶
func (_Odysseynft *OdysseynftFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *OdysseynftUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type OdysseynftMetadataUpdate ¶
type OdysseynftMetadataUpdate struct { TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
OdysseynftMetadataUpdate represents a MetadataUpdate event raised by the Odysseynft contract.
type OdysseynftMetadataUpdateIterator ¶
type OdysseynftMetadataUpdateIterator struct { Event *OdysseynftMetadataUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OdysseynftMetadataUpdateIterator is returned from FilterMetadataUpdate and is used to iterate over the raw logs and unpacked data for MetadataUpdate events raised by the Odysseynft contract.
func (*OdysseynftMetadataUpdateIterator) Close ¶
func (it *OdysseynftMetadataUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OdysseynftMetadataUpdateIterator) Error ¶
func (it *OdysseynftMetadataUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OdysseynftMetadataUpdateIterator) Next ¶
func (it *OdysseynftMetadataUpdateIterator) 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 OdysseynftOwnershipTransferred ¶
type OdysseynftOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
OdysseynftOwnershipTransferred represents a OwnershipTransferred event raised by the Odysseynft contract.
type OdysseynftOwnershipTransferredIterator ¶
type OdysseynftOwnershipTransferredIterator struct { Event *OdysseynftOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OdysseynftOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Odysseynft contract.
func (*OdysseynftOwnershipTransferredIterator) Close ¶
func (it *OdysseynftOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OdysseynftOwnershipTransferredIterator) Error ¶
func (it *OdysseynftOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OdysseynftOwnershipTransferredIterator) Next ¶
func (it *OdysseynftOwnershipTransferredIterator) 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 OdysseynftPaused ¶
type OdysseynftPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
OdysseynftPaused represents a Paused event raised by the Odysseynft contract.
type OdysseynftPausedIterator ¶
type OdysseynftPausedIterator struct { Event *OdysseynftPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OdysseynftPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Odysseynft contract.
func (*OdysseynftPausedIterator) Close ¶
func (it *OdysseynftPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OdysseynftPausedIterator) Error ¶
func (it *OdysseynftPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OdysseynftPausedIterator) Next ¶
func (it *OdysseynftPausedIterator) 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 OdysseynftRaw ¶
type OdysseynftRaw struct {
Contract *Odysseynft // Generic contract binding to access the raw methods on
}
OdysseynftRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OdysseynftRaw) Call ¶
func (_Odysseynft *OdysseynftRaw) 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 (*OdysseynftRaw) Transact ¶
func (_Odysseynft *OdysseynftRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OdysseynftRaw) Transfer ¶
func (_Odysseynft *OdysseynftRaw) 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 OdysseynftSession ¶
type OdysseynftSession struct { Contract *Odysseynft // 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 }
OdysseynftSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OdysseynftSession) Approve ¶
func (_Odysseynft *OdysseynftSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*OdysseynftSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*OdysseynftSession) Burn ¶
func (_Odysseynft *OdysseynftSession) Burn(tokenId *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 tokenId) returns()
func (*OdysseynftSession) CurrentId ¶
func (_Odysseynft *OdysseynftSession) CurrentId() (*big.Int, error)
CurrentId is a free data retrieval call binding the contract method 0xe00dd161.
Solidity: function currentId() view returns(uint256)
func (*OdysseynftSession) Exists ¶
func (_Odysseynft *OdysseynftSession) Exists(tokenId *big.Int) (bool, error)
Exists is a free data retrieval call binding the contract method 0x4f558e79.
Solidity: function exists(uint256 tokenId) view returns(bool)
func (*OdysseynftSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*OdysseynftSession) IsApprovedForAll ¶
func (_Odysseynft *OdysseynftSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*OdysseynftSession) Name ¶
func (_Odysseynft *OdysseynftSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*OdysseynftSession) Odysseys ¶
func (_Odysseynft *OdysseynftSession) Odysseys() (*big.Int, error)
Odysseys is a free data retrieval call binding the contract method 0x4a18c5ff.
Solidity: function odysseys() view returns(uint256)
func (*OdysseynftSession) Owner ¶
func (_Odysseynft *OdysseynftSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OdysseynftSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*OdysseynftSession) Pause ¶
func (_Odysseynft *OdysseynftSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*OdysseynftSession) Paused ¶
func (_Odysseynft *OdysseynftSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*OdysseynftSession) RenounceOwnership ¶
func (_Odysseynft *OdysseynftSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OdysseynftSession) SafeMint ¶
func (_Odysseynft *OdysseynftSession) SafeMint(to common.Address) (*types.Transaction, error)
SafeMint is a paid mutator transaction binding the contract method 0x40d097c3.
Solidity: function safeMint(address to) returns()
func (*OdysseynftSession) SafeTransferFrom ¶
func (_Odysseynft *OdysseynftSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*OdysseynftSession) SafeTransferFrom0 ¶
func (_Odysseynft *OdysseynftSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*OdysseynftSession) SetApprovalForAll ¶
func (_Odysseynft *OdysseynftSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*OdysseynftSession) SetbaseURI ¶
func (_Odysseynft *OdysseynftSession) SetbaseURI(baseURI string) (*types.Transaction, error)
SetbaseURI is a paid mutator transaction binding the contract method 0x4a44f379.
Solidity: function setbaseURI(string baseURI) returns()
func (*OdysseynftSession) SupportsInterface ¶
func (_Odysseynft *OdysseynftSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*OdysseynftSession) Symbol ¶
func (_Odysseynft *OdysseynftSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*OdysseynftSession) TokenURI ¶
func (_Odysseynft *OdysseynftSession) TokenURI(tokenId *big.Int) (string, error)
TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
Solidity: function tokenURI(uint256 tokenId) view returns(string)
func (*OdysseynftSession) TransferFrom ¶
func (_Odysseynft *OdysseynftSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
func (*OdysseynftSession) TransferOwnership ¶
func (_Odysseynft *OdysseynftSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*OdysseynftSession) Unpause ¶
func (_Odysseynft *OdysseynftSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type OdysseynftStateUpdated ¶
type OdysseynftStateUpdated struct { State common.Hash From string To string Raw types.Log // Blockchain specific contextual infos }
OdysseynftStateUpdated represents a StateUpdated event raised by the Odysseynft contract.
type OdysseynftStateUpdatedIterator ¶
type OdysseynftStateUpdatedIterator struct { Event *OdysseynftStateUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OdysseynftStateUpdatedIterator is returned from FilterStateUpdated and is used to iterate over the raw logs and unpacked data for StateUpdated events raised by the Odysseynft contract.
func (*OdysseynftStateUpdatedIterator) Close ¶
func (it *OdysseynftStateUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OdysseynftStateUpdatedIterator) Error ¶
func (it *OdysseynftStateUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OdysseynftStateUpdatedIterator) Next ¶
func (it *OdysseynftStateUpdatedIterator) 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 OdysseynftTransactor ¶
type OdysseynftTransactor struct {
// contains filtered or unexported fields
}
OdysseynftTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOdysseynftTransactor ¶
func NewOdysseynftTransactor(address common.Address, transactor bind.ContractTransactor) (*OdysseynftTransactor, error)
NewOdysseynftTransactor creates a new write-only instance of Odysseynft, bound to a specific deployed contract.
func (*OdysseynftTransactor) Approve ¶
func (_Odysseynft *OdysseynftTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*OdysseynftTransactor) Burn ¶
func (_Odysseynft *OdysseynftTransactor) Burn(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 tokenId) returns()
func (*OdysseynftTransactor) Pause ¶
func (_Odysseynft *OdysseynftTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*OdysseynftTransactor) RenounceOwnership ¶
func (_Odysseynft *OdysseynftTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OdysseynftTransactor) SafeMint ¶
func (_Odysseynft *OdysseynftTransactor) SafeMint(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
SafeMint is a paid mutator transaction binding the contract method 0x40d097c3.
Solidity: function safeMint(address to) returns()
func (*OdysseynftTransactor) SafeTransferFrom ¶
func (_Odysseynft *OdysseynftTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*OdysseynftTransactor) SafeTransferFrom0 ¶
func (_Odysseynft *OdysseynftTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*OdysseynftTransactor) SetApprovalForAll ¶
func (_Odysseynft *OdysseynftTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*OdysseynftTransactor) SetbaseURI ¶
func (_Odysseynft *OdysseynftTransactor) SetbaseURI(opts *bind.TransactOpts, baseURI string) (*types.Transaction, error)
SetbaseURI is a paid mutator transaction binding the contract method 0x4a44f379.
Solidity: function setbaseURI(string baseURI) returns()
func (*OdysseynftTransactor) TransferFrom ¶
func (_Odysseynft *OdysseynftTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
func (*OdysseynftTransactor) TransferOwnership ¶
func (_Odysseynft *OdysseynftTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*OdysseynftTransactor) Unpause ¶
func (_Odysseynft *OdysseynftTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type OdysseynftTransactorRaw ¶
type OdysseynftTransactorRaw struct {
Contract *OdysseynftTransactor // Generic write-only contract binding to access the raw methods on
}
OdysseynftTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OdysseynftTransactorRaw) Transact ¶
func (_Odysseynft *OdysseynftTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OdysseynftTransactorRaw) Transfer ¶
func (_Odysseynft *OdysseynftTransactorRaw) 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 OdysseynftTransactorSession ¶
type OdysseynftTransactorSession struct { Contract *OdysseynftTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OdysseynftTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OdysseynftTransactorSession) Approve ¶
func (_Odysseynft *OdysseynftTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*OdysseynftTransactorSession) Burn ¶
func (_Odysseynft *OdysseynftTransactorSession) Burn(tokenId *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 tokenId) returns()
func (*OdysseynftTransactorSession) Pause ¶
func (_Odysseynft *OdysseynftTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*OdysseynftTransactorSession) RenounceOwnership ¶
func (_Odysseynft *OdysseynftTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OdysseynftTransactorSession) SafeMint ¶
func (_Odysseynft *OdysseynftTransactorSession) SafeMint(to common.Address) (*types.Transaction, error)
SafeMint is a paid mutator transaction binding the contract method 0x40d097c3.
Solidity: function safeMint(address to) returns()
func (*OdysseynftTransactorSession) SafeTransferFrom ¶
func (_Odysseynft *OdysseynftTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*OdysseynftTransactorSession) SafeTransferFrom0 ¶
func (_Odysseynft *OdysseynftTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*OdysseynftTransactorSession) SetApprovalForAll ¶
func (_Odysseynft *OdysseynftTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*OdysseynftTransactorSession) SetbaseURI ¶
func (_Odysseynft *OdysseynftTransactorSession) SetbaseURI(baseURI string) (*types.Transaction, error)
SetbaseURI is a paid mutator transaction binding the contract method 0x4a44f379.
Solidity: function setbaseURI(string baseURI) returns()
func (*OdysseynftTransactorSession) TransferFrom ¶
func (_Odysseynft *OdysseynftTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
func (*OdysseynftTransactorSession) TransferOwnership ¶
func (_Odysseynft *OdysseynftTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*OdysseynftTransactorSession) Unpause ¶
func (_Odysseynft *OdysseynftTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type OdysseynftTransfer ¶
type OdysseynftTransfer struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
OdysseynftTransfer represents a Transfer event raised by the Odysseynft contract.
type OdysseynftTransferIterator ¶
type OdysseynftTransferIterator struct { Event *OdysseynftTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OdysseynftTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Odysseynft contract.
func (*OdysseynftTransferIterator) Close ¶
func (it *OdysseynftTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OdysseynftTransferIterator) Error ¶
func (it *OdysseynftTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OdysseynftTransferIterator) Next ¶
func (it *OdysseynftTransferIterator) 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 OdysseynftUnpaused ¶
type OdysseynftUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
OdysseynftUnpaused represents a Unpaused event raised by the Odysseynft contract.
type OdysseynftUnpausedIterator ¶
type OdysseynftUnpausedIterator struct { Event *OdysseynftUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OdysseynftUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Odysseynft contract.
func (*OdysseynftUnpausedIterator) Close ¶
func (it *OdysseynftUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OdysseynftUnpausedIterator) Error ¶
func (it *OdysseynftUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OdysseynftUnpausedIterator) Next ¶
func (it *OdysseynftUnpausedIterator) 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 Staking ¶
type Staking struct { StakingCaller // Read-only binding to the contract StakingTransactor // Write-only binding to the contract StakingFilterer // Log filterer for contract events }
Staking is an auto generated Go binding around an Ethereum contract.
func NewStaking ¶
NewStaking creates a new instance of Staking, bound to a specific deployed contract.
type StakingAdminChanged ¶
type StakingAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
StakingAdminChanged represents a AdminChanged event raised by the Staking contract.
type StakingAdminChangedIterator ¶
type StakingAdminChangedIterator struct { Event *StakingAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the Staking contract.
func (*StakingAdminChangedIterator) Close ¶
func (it *StakingAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingAdminChangedIterator) Error ¶
func (it *StakingAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingAdminChangedIterator) Next ¶
func (it *StakingAdminChangedIterator) 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 StakingBeaconUpgraded ¶
type StakingBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
StakingBeaconUpgraded represents a BeaconUpgraded event raised by the Staking contract.
type StakingBeaconUpgradedIterator ¶
type StakingBeaconUpgradedIterator struct { Event *StakingBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the Staking contract.
func (*StakingBeaconUpgradedIterator) Close ¶
func (it *StakingBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingBeaconUpgradedIterator) Error ¶
func (it *StakingBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingBeaconUpgradedIterator) Next ¶
func (it *StakingBeaconUpgradedIterator) 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 StakingCaller ¶
type StakingCaller struct {
// contains filtered or unexported fields
}
StakingCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStakingCaller ¶
func NewStakingCaller(address common.Address, caller bind.ContractCaller) (*StakingCaller, error)
NewStakingCaller creates a new read-only instance of Staking, bound to a specific deployed contract.
func (*StakingCaller) DEFAULTADMINROLE ¶
func (_Staking *StakingCaller) 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 (*StakingCaller) DadToken ¶
DadToken is a free data retrieval call binding the contract method 0x16a2d236.
Solidity: function dad_token() view returns(address)
func (*StakingCaller) GetRoleAdmin ¶
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*StakingCaller) GetStakedBy ¶
func (_Staking *StakingCaller) GetStakedBy(opts *bind.CallOpts, odyssey *big.Int) ([]StakingStakedBy, error)
GetStakedBy is a free data retrieval call binding the contract method 0xe22619ec.
Solidity: function get_staked_by(uint256 odyssey) view returns((address,uint256,uint256,uint256,uint256,uint256,uint256)[])
func (*StakingCaller) GetStakedOdysseys ¶
GetStakedOdysseys is a free data retrieval call binding the contract method 0x27b5f0ba.
Solidity: function get_staked_odysseys() view returns(uint256[])
func (*StakingCaller) HasRole ¶
func (_Staking *StakingCaller) 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 (*StakingCaller) LastRewardsCalculation ¶
LastRewardsCalculation is a free data retrieval call binding the contract method 0x89f1c6b0.
Solidity: function last_rewards_calculation() view returns(uint256)
func (*StakingCaller) LockingPeriod ¶
LockingPeriod is a free data retrieval call binding the contract method 0x6dbf218e.
Solidity: function locking_period() view returns(uint256)
func (*StakingCaller) MANAGERROLE ¶
func (_Staking *StakingCaller) MANAGERROLE(opts *bind.CallOpts) ([32]byte, error)
MANAGERROLE is a free data retrieval call binding the contract method 0xec87621c.
Solidity: function MANAGER_ROLE() view returns(bytes32)
func (*StakingCaller) MomToken ¶
MomToken is a free data retrieval call binding the contract method 0x3a2bb837.
Solidity: function mom_token() view returns(address)
func (*StakingCaller) OdysseyNfts ¶
OdysseyNfts is a free data retrieval call binding the contract method 0x995c4a3c.
Solidity: function odyssey_nfts() view returns(address)
func (*StakingCaller) Odysseys ¶
func (_Staking *StakingCaller) Odysseys(opts *bind.CallOpts, arg0 *big.Int) (struct { OdysseyId *big.Int TotalStakedInto *big.Int TotalStakers *big.Int TotalRewards *big.Int DadRewards *big.Int MomRewards *big.Int StakedOdysseysIndex *big.Int }, error)
Odysseys is a free data retrieval call binding the contract method 0x6efdf56c.
Solidity: function odysseys(uint256 ) view returns(uint256 odyssey_id, uint256 total_staked_into, uint256 total_stakers, uint256 total_rewards, uint256 dad_rewards, uint256 mom_rewards, uint256 staked_odysseys_index)
func (*StakingCaller) ProxiableUUID ¶
func (_Staking *StakingCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*StakingCaller) RewardsTimeout ¶
RewardsTimeout is a free data retrieval call binding the contract method 0xb143c584.
Solidity: function rewards_timeout() view returns(uint256)
func (*StakingCaller) StakedBy ¶
func (_Staking *StakingCaller) StakedBy(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (struct { User common.Address TotalAmount *big.Int DadAmount *big.Int MomAmount *big.Int Timestamp *big.Int EffectiveTimestampMom *big.Int EffectiveTimestampDad *big.Int }, error)
StakedBy is a free data retrieval call binding the contract method 0xa2e9c3be.
Solidity: function staked_by(uint256 , uint256 ) view returns(address user, uint256 total_amount, uint256 dad_amount, uint256 mom_amount, uint256 timestamp, uint256 effective_timestamp_mom, uint256 effective_timestamp_dad)
func (*StakingCaller) StakedByIndexes ¶
func (_Staking *StakingCaller) StakedByIndexes(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (*big.Int, error)
StakedByIndexes is a free data retrieval call binding the contract method 0x67925344.
Solidity: function staked_by_indexes(uint256 , address ) view returns(uint256)
func (*StakingCaller) StakedOdysseys ¶
StakedOdysseys is a free data retrieval call binding the contract method 0xc02bdf70.
Solidity: function staked_odysseys(uint256 ) view returns(uint256)
func (*StakingCaller) Stakers ¶
func (_Staking *StakingCaller) Stakers(opts *bind.CallOpts, arg0 common.Address) (struct { User common.Address TotalRewards *big.Int DadRewards *big.Int MomRewards *big.Int TotalStaked *big.Int DadAmount *big.Int MomAmount *big.Int }, error)
Stakers is a free data retrieval call binding the contract method 0x9168ae72.
Solidity: function stakers(address ) view returns(address user, uint256 total_rewards, uint256 dad_rewards, uint256 mom_rewards, uint256 total_staked, uint256 dad_amount, uint256 mom_amount)
func (*StakingCaller) SupportsInterface ¶
func (_Staking *StakingCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*StakingCaller) TotalStaked ¶
TotalStaked is a free data retrieval call binding the contract method 0xaf7568dd.
Solidity: function total_staked() view returns(uint256)
func (*StakingCaller) Treasury ¶
Treasury is a free data retrieval call binding the contract method 0x61d027b3.
Solidity: function treasury() view returns(address)
func (*StakingCaller) Unstakes ¶
func (_Staking *StakingCaller) Unstakes(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct { DadAmount *big.Int MomAmount *big.Int UnstakingTimestamp *big.Int }, error)
Unstakes is a free data retrieval call binding the contract method 0xdfef94b4.
Solidity: function unstakes(address , uint256 ) view returns(uint256 dad_amount, uint256 mom_amount, uint256 unstaking_timestamp)
type StakingCallerRaw ¶
type StakingCallerRaw struct {
Contract *StakingCaller // Generic read-only contract binding to access the raw methods on
}
StakingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StakingCallerRaw) Call ¶
func (_Staking *StakingCallerRaw) 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 StakingCallerSession ¶
type StakingCallerSession struct { Contract *StakingCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StakingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StakingCallerSession) DEFAULTADMINROLE ¶
func (_Staking *StakingCallerSession) 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 (*StakingCallerSession) DadToken ¶
func (_Staking *StakingCallerSession) DadToken() (common.Address, error)
DadToken is a free data retrieval call binding the contract method 0x16a2d236.
Solidity: function dad_token() view returns(address)
func (*StakingCallerSession) GetRoleAdmin ¶
func (_Staking *StakingCallerSession) 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 (*StakingCallerSession) GetStakedBy ¶
func (_Staking *StakingCallerSession) GetStakedBy(odyssey *big.Int) ([]StakingStakedBy, error)
GetStakedBy is a free data retrieval call binding the contract method 0xe22619ec.
Solidity: function get_staked_by(uint256 odyssey) view returns((address,uint256,uint256,uint256,uint256,uint256,uint256)[])
func (*StakingCallerSession) GetStakedOdysseys ¶
func (_Staking *StakingCallerSession) GetStakedOdysseys() ([]*big.Int, error)
GetStakedOdysseys is a free data retrieval call binding the contract method 0x27b5f0ba.
Solidity: function get_staked_odysseys() view returns(uint256[])
func (*StakingCallerSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*StakingCallerSession) LastRewardsCalculation ¶
func (_Staking *StakingCallerSession) LastRewardsCalculation() (*big.Int, error)
LastRewardsCalculation is a free data retrieval call binding the contract method 0x89f1c6b0.
Solidity: function last_rewards_calculation() view returns(uint256)
func (*StakingCallerSession) LockingPeriod ¶
func (_Staking *StakingCallerSession) LockingPeriod() (*big.Int, error)
LockingPeriod is a free data retrieval call binding the contract method 0x6dbf218e.
Solidity: function locking_period() view returns(uint256)
func (*StakingCallerSession) MANAGERROLE ¶
func (_Staking *StakingCallerSession) MANAGERROLE() ([32]byte, error)
MANAGERROLE is a free data retrieval call binding the contract method 0xec87621c.
Solidity: function MANAGER_ROLE() view returns(bytes32)
func (*StakingCallerSession) MomToken ¶
func (_Staking *StakingCallerSession) MomToken() (common.Address, error)
MomToken is a free data retrieval call binding the contract method 0x3a2bb837.
Solidity: function mom_token() view returns(address)
func (*StakingCallerSession) OdysseyNfts ¶
func (_Staking *StakingCallerSession) OdysseyNfts() (common.Address, error)
OdysseyNfts is a free data retrieval call binding the contract method 0x995c4a3c.
Solidity: function odyssey_nfts() view returns(address)
func (*StakingCallerSession) Odysseys ¶
func (_Staking *StakingCallerSession) Odysseys(arg0 *big.Int) (struct { OdysseyId *big.Int TotalStakedInto *big.Int TotalStakers *big.Int TotalRewards *big.Int DadRewards *big.Int MomRewards *big.Int StakedOdysseysIndex *big.Int }, error)
Odysseys is a free data retrieval call binding the contract method 0x6efdf56c.
Solidity: function odysseys(uint256 ) view returns(uint256 odyssey_id, uint256 total_staked_into, uint256 total_stakers, uint256 total_rewards, uint256 dad_rewards, uint256 mom_rewards, uint256 staked_odysseys_index)
func (*StakingCallerSession) ProxiableUUID ¶
func (_Staking *StakingCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*StakingCallerSession) RewardsTimeout ¶
func (_Staking *StakingCallerSession) RewardsTimeout() (*big.Int, error)
RewardsTimeout is a free data retrieval call binding the contract method 0xb143c584.
Solidity: function rewards_timeout() view returns(uint256)
func (*StakingCallerSession) StakedBy ¶
func (_Staking *StakingCallerSession) StakedBy(arg0 *big.Int, arg1 *big.Int) (struct { User common.Address TotalAmount *big.Int DadAmount *big.Int MomAmount *big.Int Timestamp *big.Int EffectiveTimestampMom *big.Int EffectiveTimestampDad *big.Int }, error)
StakedBy is a free data retrieval call binding the contract method 0xa2e9c3be.
Solidity: function staked_by(uint256 , uint256 ) view returns(address user, uint256 total_amount, uint256 dad_amount, uint256 mom_amount, uint256 timestamp, uint256 effective_timestamp_mom, uint256 effective_timestamp_dad)
func (*StakingCallerSession) StakedByIndexes ¶
func (_Staking *StakingCallerSession) StakedByIndexes(arg0 *big.Int, arg1 common.Address) (*big.Int, error)
StakedByIndexes is a free data retrieval call binding the contract method 0x67925344.
Solidity: function staked_by_indexes(uint256 , address ) view returns(uint256)
func (*StakingCallerSession) StakedOdysseys ¶
StakedOdysseys is a free data retrieval call binding the contract method 0xc02bdf70.
Solidity: function staked_odysseys(uint256 ) view returns(uint256)
func (*StakingCallerSession) Stakers ¶
func (_Staking *StakingCallerSession) Stakers(arg0 common.Address) (struct { User common.Address TotalRewards *big.Int DadRewards *big.Int MomRewards *big.Int TotalStaked *big.Int DadAmount *big.Int MomAmount *big.Int }, error)
Stakers is a free data retrieval call binding the contract method 0x9168ae72.
Solidity: function stakers(address ) view returns(address user, uint256 total_rewards, uint256 dad_rewards, uint256 mom_rewards, uint256 total_staked, uint256 dad_amount, uint256 mom_amount)
func (*StakingCallerSession) SupportsInterface ¶
func (_Staking *StakingCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*StakingCallerSession) TotalStaked ¶
func (_Staking *StakingCallerSession) TotalStaked() (*big.Int, error)
TotalStaked is a free data retrieval call binding the contract method 0xaf7568dd.
Solidity: function total_staked() view returns(uint256)
func (*StakingCallerSession) Treasury ¶
func (_Staking *StakingCallerSession) Treasury() (common.Address, error)
Treasury is a free data retrieval call binding the contract method 0x61d027b3.
Solidity: function treasury() view returns(address)
func (*StakingCallerSession) Unstakes ¶
func (_Staking *StakingCallerSession) Unstakes(arg0 common.Address, arg1 *big.Int) (struct { DadAmount *big.Int MomAmount *big.Int UnstakingTimestamp *big.Int }, error)
Unstakes is a free data retrieval call binding the contract method 0xdfef94b4.
Solidity: function unstakes(address , uint256 ) view returns(uint256 dad_amount, uint256 mom_amount, uint256 unstaking_timestamp)
type StakingClaimedUnstaked ¶
type StakingClaimedUnstaked struct { User common.Address TotalClaimed *big.Int TotalStaked *big.Int Raw types.Log // Blockchain specific contextual infos }
StakingClaimedUnstaked represents a ClaimedUnstaked event raised by the Staking contract.
type StakingClaimedUnstakedIterator ¶
type StakingClaimedUnstakedIterator struct { Event *StakingClaimedUnstaked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingClaimedUnstakedIterator is returned from FilterClaimedUnstaked and is used to iterate over the raw logs and unpacked data for ClaimedUnstaked events raised by the Staking contract.
func (*StakingClaimedUnstakedIterator) Close ¶
func (it *StakingClaimedUnstakedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingClaimedUnstakedIterator) Error ¶
func (it *StakingClaimedUnstakedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingClaimedUnstakedIterator) Next ¶
func (it *StakingClaimedUnstakedIterator) 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 StakingFilterer ¶
type StakingFilterer struct {
// contains filtered or unexported fields
}
StakingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStakingFilterer ¶
func NewStakingFilterer(address common.Address, filterer bind.ContractFilterer) (*StakingFilterer, error)
NewStakingFilterer creates a new log filterer instance of Staking, bound to a specific deployed contract.
func (*StakingFilterer) FilterAdminChanged ¶
func (_Staking *StakingFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*StakingAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*StakingFilterer) FilterBeaconUpgraded ¶
func (_Staking *StakingFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*StakingBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*StakingFilterer) FilterClaimedUnstaked ¶
func (_Staking *StakingFilterer) FilterClaimedUnstaked(opts *bind.FilterOpts, user []common.Address) (*StakingClaimedUnstakedIterator, error)
FilterClaimedUnstaked is a free log retrieval operation binding the contract event 0x6eeaedc56832e751596e30e289453c8568daad613b8050876671fa4cced0fb8c.
Solidity: event ClaimedUnstaked(address indexed user, uint256 total_claimed, uint256 total_staked)
func (*StakingFilterer) FilterInitialized ¶
func (_Staking *StakingFilterer) FilterInitialized(opts *bind.FilterOpts) (*StakingInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*StakingFilterer) FilterOdysseyRewardsClaimed ¶
func (_Staking *StakingFilterer) FilterOdysseyRewardsClaimed(opts *bind.FilterOpts, odyssey_id []*big.Int) (*StakingOdysseyRewardsClaimedIterator, error)
FilterOdysseyRewardsClaimed is a free log retrieval operation binding the contract event 0xd2cd4e555ff21ca5b3e062f46ca367ade0dc15004407960a7eaa8760fb808b25.
Solidity: event OdysseyRewardsClaimed(uint256 indexed odyssey_id, uint256 total_mom_rewards_claimed, uint256 total_dad_rewards_claimed)
func (*StakingFilterer) FilterRestake ¶
func (_Staking *StakingFilterer) FilterRestake(opts *bind.FilterOpts, user []common.Address, odyssey_from []*big.Int, odyssey_to []*big.Int) (*StakingRestakeIterator, error)
FilterRestake is a free log retrieval operation binding the contract event 0xf5b31220c1acf678c8a904f3a060a4b4a0bc4b9e42c9a49d318142bf4c282672.
Solidity: event Restake(address indexed user, uint256 indexed odyssey_from, uint256 indexed odyssey_to, uint256 amount, uint8 token, uint256 total_staked_from, uint256 total_staked_to)
func (*StakingFilterer) FilterRewardsClaimed ¶
func (_Staking *StakingFilterer) FilterRewardsClaimed(opts *bind.FilterOpts, user []common.Address) (*StakingRewardsClaimedIterator, error)
FilterRewardsClaimed is a free log retrieval operation binding the contract event 0xdacbdde355ba930696a362ea6738feb9f8bd52dfb3d81947558fd3217e23e325.
Solidity: event RewardsClaimed(address indexed user, uint256 total_mom_rewards_claimed, uint256 total_dad_rewards_claimed)
func (*StakingFilterer) FilterRewardsUpdated ¶
func (_Staking *StakingFilterer) FilterRewardsUpdated(opts *bind.FilterOpts) (*StakingRewardsUpdatedIterator, error)
FilterRewardsUpdated is a free log retrieval operation binding the contract event 0xcd7c861d63893659123f817b192b8621ff1923a7c4589c260173cedcf9e986a6.
Solidity: event RewardsUpdated(uint256 timestamp, uint256 blocknumber)
func (*StakingFilterer) FilterRoleAdminChanged ¶
func (_Staking *StakingFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*StakingRoleAdminChangedIterator, 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 (*StakingFilterer) FilterRoleGranted ¶
func (_Staking *StakingFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*StakingRoleGrantedIterator, 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 (*StakingFilterer) FilterRoleRevoked ¶
func (_Staking *StakingFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*StakingRoleRevokedIterator, 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 (*StakingFilterer) FilterStake ¶
func (_Staking *StakingFilterer) FilterStake(opts *bind.FilterOpts, user []common.Address, odyssey_id []*big.Int) (*StakingStakeIterator, error)
FilterStake is a free log retrieval operation binding the contract event 0xc1a5c084e329922f8ec7c1f9d388080b5ce185980b99830170a9bd911e56ce7d.
Solidity: event Stake(address indexed user, uint256 indexed odyssey_id, uint256 amount_staked, uint8 token, uint256 total_staked)
func (*StakingFilterer) FilterStateUpdated ¶
func (_Staking *StakingFilterer) FilterStateUpdated(opts *bind.FilterOpts, state []string) (*StakingStateUpdatedIterator, error)
FilterStateUpdated is a free log retrieval operation binding the contract event 0x348b835bd624f424a1ce88f82b74506124327d9b949e2b159c2744cb21310648.
Solidity: event StateUpdated(string indexed state, uint256 from, uint256 to)
func (*StakingFilterer) FilterUnstake ¶
func (_Staking *StakingFilterer) FilterUnstake(opts *bind.FilterOpts, user []common.Address, odyssey_id []*big.Int) (*StakingUnstakeIterator, error)
FilterUnstake is a free log retrieval operation binding the contract event 0xcd1b86c650bf0663e252966651bfd5312669a3bb6e38353a141fa368541e3735.
Solidity: event Unstake(address indexed user, uint256 indexed odyssey_id, uint256 amount_unstaked, uint8 token, uint256 total_staked)
func (*StakingFilterer) FilterUpgraded ¶
func (_Staking *StakingFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*StakingUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*StakingFilterer) ParseAdminChanged ¶
func (_Staking *StakingFilterer) ParseAdminChanged(log types.Log) (*StakingAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*StakingFilterer) ParseBeaconUpgraded ¶
func (_Staking *StakingFilterer) ParseBeaconUpgraded(log types.Log) (*StakingBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*StakingFilterer) ParseClaimedUnstaked ¶
func (_Staking *StakingFilterer) ParseClaimedUnstaked(log types.Log) (*StakingClaimedUnstaked, error)
ParseClaimedUnstaked is a log parse operation binding the contract event 0x6eeaedc56832e751596e30e289453c8568daad613b8050876671fa4cced0fb8c.
Solidity: event ClaimedUnstaked(address indexed user, uint256 total_claimed, uint256 total_staked)
func (*StakingFilterer) ParseInitialized ¶
func (_Staking *StakingFilterer) ParseInitialized(log types.Log) (*StakingInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*StakingFilterer) ParseOdysseyRewardsClaimed ¶
func (_Staking *StakingFilterer) ParseOdysseyRewardsClaimed(log types.Log) (*StakingOdysseyRewardsClaimed, error)
ParseOdysseyRewardsClaimed is a log parse operation binding the contract event 0xd2cd4e555ff21ca5b3e062f46ca367ade0dc15004407960a7eaa8760fb808b25.
Solidity: event OdysseyRewardsClaimed(uint256 indexed odyssey_id, uint256 total_mom_rewards_claimed, uint256 total_dad_rewards_claimed)
func (*StakingFilterer) ParseRestake ¶
func (_Staking *StakingFilterer) ParseRestake(log types.Log) (*StakingRestake, error)
ParseRestake is a log parse operation binding the contract event 0xf5b31220c1acf678c8a904f3a060a4b4a0bc4b9e42c9a49d318142bf4c282672.
Solidity: event Restake(address indexed user, uint256 indexed odyssey_from, uint256 indexed odyssey_to, uint256 amount, uint8 token, uint256 total_staked_from, uint256 total_staked_to)
func (*StakingFilterer) ParseRewardsClaimed ¶
func (_Staking *StakingFilterer) ParseRewardsClaimed(log types.Log) (*StakingRewardsClaimed, error)
ParseRewardsClaimed is a log parse operation binding the contract event 0xdacbdde355ba930696a362ea6738feb9f8bd52dfb3d81947558fd3217e23e325.
Solidity: event RewardsClaimed(address indexed user, uint256 total_mom_rewards_claimed, uint256 total_dad_rewards_claimed)
func (*StakingFilterer) ParseRewardsUpdated ¶
func (_Staking *StakingFilterer) ParseRewardsUpdated(log types.Log) (*StakingRewardsUpdated, error)
ParseRewardsUpdated is a log parse operation binding the contract event 0xcd7c861d63893659123f817b192b8621ff1923a7c4589c260173cedcf9e986a6.
Solidity: event RewardsUpdated(uint256 timestamp, uint256 blocknumber)
func (*StakingFilterer) ParseRoleAdminChanged ¶
func (_Staking *StakingFilterer) ParseRoleAdminChanged(log types.Log) (*StakingRoleAdminChanged, 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 (*StakingFilterer) ParseRoleGranted ¶
func (_Staking *StakingFilterer) ParseRoleGranted(log types.Log) (*StakingRoleGranted, 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 (*StakingFilterer) ParseRoleRevoked ¶
func (_Staking *StakingFilterer) ParseRoleRevoked(log types.Log) (*StakingRoleRevoked, 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 (*StakingFilterer) ParseStake ¶
func (_Staking *StakingFilterer) ParseStake(log types.Log) (*StakingStake, error)
ParseStake is a log parse operation binding the contract event 0xc1a5c084e329922f8ec7c1f9d388080b5ce185980b99830170a9bd911e56ce7d.
Solidity: event Stake(address indexed user, uint256 indexed odyssey_id, uint256 amount_staked, uint8 token, uint256 total_staked)
func (*StakingFilterer) ParseStateUpdated ¶
func (_Staking *StakingFilterer) ParseStateUpdated(log types.Log) (*StakingStateUpdated, error)
ParseStateUpdated is a log parse operation binding the contract event 0x348b835bd624f424a1ce88f82b74506124327d9b949e2b159c2744cb21310648.
Solidity: event StateUpdated(string indexed state, uint256 from, uint256 to)
func (*StakingFilterer) ParseUnstake ¶
func (_Staking *StakingFilterer) ParseUnstake(log types.Log) (*StakingUnstake, error)
ParseUnstake is a log parse operation binding the contract event 0xcd1b86c650bf0663e252966651bfd5312669a3bb6e38353a141fa368541e3735.
Solidity: event Unstake(address indexed user, uint256 indexed odyssey_id, uint256 amount_unstaked, uint8 token, uint256 total_staked)
func (*StakingFilterer) ParseUpgraded ¶
func (_Staking *StakingFilterer) ParseUpgraded(log types.Log) (*StakingUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*StakingFilterer) WatchAdminChanged ¶
func (_Staking *StakingFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *StakingAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*StakingFilterer) WatchBeaconUpgraded ¶
func (_Staking *StakingFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *StakingBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*StakingFilterer) WatchClaimedUnstaked ¶
func (_Staking *StakingFilterer) WatchClaimedUnstaked(opts *bind.WatchOpts, sink chan<- *StakingClaimedUnstaked, user []common.Address) (event.Subscription, error)
WatchClaimedUnstaked is a free log subscription operation binding the contract event 0x6eeaedc56832e751596e30e289453c8568daad613b8050876671fa4cced0fb8c.
Solidity: event ClaimedUnstaked(address indexed user, uint256 total_claimed, uint256 total_staked)
func (*StakingFilterer) WatchInitialized ¶
func (_Staking *StakingFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *StakingInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*StakingFilterer) WatchOdysseyRewardsClaimed ¶
func (_Staking *StakingFilterer) WatchOdysseyRewardsClaimed(opts *bind.WatchOpts, sink chan<- *StakingOdysseyRewardsClaimed, odyssey_id []*big.Int) (event.Subscription, error)
WatchOdysseyRewardsClaimed is a free log subscription operation binding the contract event 0xd2cd4e555ff21ca5b3e062f46ca367ade0dc15004407960a7eaa8760fb808b25.
Solidity: event OdysseyRewardsClaimed(uint256 indexed odyssey_id, uint256 total_mom_rewards_claimed, uint256 total_dad_rewards_claimed)
func (*StakingFilterer) WatchRestake ¶
func (_Staking *StakingFilterer) WatchRestake(opts *bind.WatchOpts, sink chan<- *StakingRestake, user []common.Address, odyssey_from []*big.Int, odyssey_to []*big.Int) (event.Subscription, error)
WatchRestake is a free log subscription operation binding the contract event 0xf5b31220c1acf678c8a904f3a060a4b4a0bc4b9e42c9a49d318142bf4c282672.
Solidity: event Restake(address indexed user, uint256 indexed odyssey_from, uint256 indexed odyssey_to, uint256 amount, uint8 token, uint256 total_staked_from, uint256 total_staked_to)
func (*StakingFilterer) WatchRewardsClaimed ¶
func (_Staking *StakingFilterer) WatchRewardsClaimed(opts *bind.WatchOpts, sink chan<- *StakingRewardsClaimed, user []common.Address) (event.Subscription, error)
WatchRewardsClaimed is a free log subscription operation binding the contract event 0xdacbdde355ba930696a362ea6738feb9f8bd52dfb3d81947558fd3217e23e325.
Solidity: event RewardsClaimed(address indexed user, uint256 total_mom_rewards_claimed, uint256 total_dad_rewards_claimed)
func (*StakingFilterer) WatchRewardsUpdated ¶
func (_Staking *StakingFilterer) WatchRewardsUpdated(opts *bind.WatchOpts, sink chan<- *StakingRewardsUpdated) (event.Subscription, error)
WatchRewardsUpdated is a free log subscription operation binding the contract event 0xcd7c861d63893659123f817b192b8621ff1923a7c4589c260173cedcf9e986a6.
Solidity: event RewardsUpdated(uint256 timestamp, uint256 blocknumber)
func (*StakingFilterer) WatchRoleAdminChanged ¶
func (_Staking *StakingFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *StakingRoleAdminChanged, 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 (*StakingFilterer) WatchRoleGranted ¶
func (_Staking *StakingFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *StakingRoleGranted, 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 (*StakingFilterer) WatchRoleRevoked ¶
func (_Staking *StakingFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *StakingRoleRevoked, 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 (*StakingFilterer) WatchStake ¶
func (_Staking *StakingFilterer) WatchStake(opts *bind.WatchOpts, sink chan<- *StakingStake, user []common.Address, odyssey_id []*big.Int) (event.Subscription, error)
WatchStake is a free log subscription operation binding the contract event 0xc1a5c084e329922f8ec7c1f9d388080b5ce185980b99830170a9bd911e56ce7d.
Solidity: event Stake(address indexed user, uint256 indexed odyssey_id, uint256 amount_staked, uint8 token, uint256 total_staked)
func (*StakingFilterer) WatchStateUpdated ¶
func (_Staking *StakingFilterer) WatchStateUpdated(opts *bind.WatchOpts, sink chan<- *StakingStateUpdated, state []string) (event.Subscription, error)
WatchStateUpdated is a free log subscription operation binding the contract event 0x348b835bd624f424a1ce88f82b74506124327d9b949e2b159c2744cb21310648.
Solidity: event StateUpdated(string indexed state, uint256 from, uint256 to)
func (*StakingFilterer) WatchUnstake ¶
func (_Staking *StakingFilterer) WatchUnstake(opts *bind.WatchOpts, sink chan<- *StakingUnstake, user []common.Address, odyssey_id []*big.Int) (event.Subscription, error)
WatchUnstake is a free log subscription operation binding the contract event 0xcd1b86c650bf0663e252966651bfd5312669a3bb6e38353a141fa368541e3735.
Solidity: event Unstake(address indexed user, uint256 indexed odyssey_id, uint256 amount_unstaked, uint8 token, uint256 total_staked)
func (*StakingFilterer) WatchUpgraded ¶
func (_Staking *StakingFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *StakingUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type StakingInitialized ¶
type StakingInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
StakingInitialized represents a Initialized event raised by the Staking contract.
type StakingInitializedIterator ¶
type StakingInitializedIterator struct { Event *StakingInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Staking contract.
func (*StakingInitializedIterator) Close ¶
func (it *StakingInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingInitializedIterator) Error ¶
func (it *StakingInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingInitializedIterator) Next ¶
func (it *StakingInitializedIterator) 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 StakingOdysseyRewardsClaimed ¶
type StakingOdysseyRewardsClaimed struct { OdysseyId *big.Int TotalMomRewardsClaimed *big.Int TotalDadRewardsClaimed *big.Int Raw types.Log // Blockchain specific contextual infos }
StakingOdysseyRewardsClaimed represents a OdysseyRewardsClaimed event raised by the Staking contract.
type StakingOdysseyRewardsClaimedIterator ¶
type StakingOdysseyRewardsClaimedIterator struct { Event *StakingOdysseyRewardsClaimed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingOdysseyRewardsClaimedIterator is returned from FilterOdysseyRewardsClaimed and is used to iterate over the raw logs and unpacked data for OdysseyRewardsClaimed events raised by the Staking contract.
func (*StakingOdysseyRewardsClaimedIterator) Close ¶
func (it *StakingOdysseyRewardsClaimedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingOdysseyRewardsClaimedIterator) Error ¶
func (it *StakingOdysseyRewardsClaimedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingOdysseyRewardsClaimedIterator) Next ¶
func (it *StakingOdysseyRewardsClaimedIterator) 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 StakingRaw ¶
type StakingRaw struct {
Contract *Staking // Generic contract binding to access the raw methods on
}
StakingRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StakingRaw) Call ¶
func (_Staking *StakingRaw) 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 (*StakingRaw) Transact ¶
func (_Staking *StakingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StakingRaw) Transfer ¶
func (_Staking *StakingRaw) 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 StakingRestake ¶
type StakingRestake struct { User common.Address OdysseyFrom *big.Int OdysseyTo *big.Int Amount *big.Int Token uint8 TotalStakedFrom *big.Int TotalStakedTo *big.Int Raw types.Log // Blockchain specific contextual infos }
StakingRestake represents a Restake event raised by the Staking contract.
type StakingRestakeIterator ¶
type StakingRestakeIterator struct { Event *StakingRestake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingRestakeIterator is returned from FilterRestake and is used to iterate over the raw logs and unpacked data for Restake events raised by the Staking contract.
func (*StakingRestakeIterator) Close ¶
func (it *StakingRestakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingRestakeIterator) Error ¶
func (it *StakingRestakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingRestakeIterator) Next ¶
func (it *StakingRestakeIterator) 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 StakingRewardsClaimed ¶
type StakingRewardsClaimed struct { User common.Address TotalMomRewardsClaimed *big.Int TotalDadRewardsClaimed *big.Int Raw types.Log // Blockchain specific contextual infos }
StakingRewardsClaimed represents a RewardsClaimed event raised by the Staking contract.
type StakingRewardsClaimedIterator ¶
type StakingRewardsClaimedIterator struct { Event *StakingRewardsClaimed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingRewardsClaimedIterator is returned from FilterRewardsClaimed and is used to iterate over the raw logs and unpacked data for RewardsClaimed events raised by the Staking contract.
func (*StakingRewardsClaimedIterator) Close ¶
func (it *StakingRewardsClaimedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingRewardsClaimedIterator) Error ¶
func (it *StakingRewardsClaimedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingRewardsClaimedIterator) Next ¶
func (it *StakingRewardsClaimedIterator) 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 StakingRewardsUpdated ¶
type StakingRewardsUpdated struct { Timestamp *big.Int Blocknumber *big.Int Raw types.Log // Blockchain specific contextual infos }
StakingRewardsUpdated represents a RewardsUpdated event raised by the Staking contract.
type StakingRewardsUpdatedIterator ¶
type StakingRewardsUpdatedIterator struct { Event *StakingRewardsUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingRewardsUpdatedIterator is returned from FilterRewardsUpdated and is used to iterate over the raw logs and unpacked data for RewardsUpdated events raised by the Staking contract.
func (*StakingRewardsUpdatedIterator) Close ¶
func (it *StakingRewardsUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingRewardsUpdatedIterator) Error ¶
func (it *StakingRewardsUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingRewardsUpdatedIterator) Next ¶
func (it *StakingRewardsUpdatedIterator) 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 StakingRoleAdminChanged ¶
type StakingRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
StakingRoleAdminChanged represents a RoleAdminChanged event raised by the Staking contract.
type StakingRoleAdminChangedIterator ¶
type StakingRoleAdminChangedIterator struct { Event *StakingRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Staking contract.
func (*StakingRoleAdminChangedIterator) Close ¶
func (it *StakingRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingRoleAdminChangedIterator) Error ¶
func (it *StakingRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingRoleAdminChangedIterator) Next ¶
func (it *StakingRoleAdminChangedIterator) 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 StakingRoleGranted ¶
type StakingRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
StakingRoleGranted represents a RoleGranted event raised by the Staking contract.
type StakingRoleGrantedIterator ¶
type StakingRoleGrantedIterator struct { Event *StakingRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Staking contract.
func (*StakingRoleGrantedIterator) Close ¶
func (it *StakingRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingRoleGrantedIterator) Error ¶
func (it *StakingRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingRoleGrantedIterator) Next ¶
func (it *StakingRoleGrantedIterator) 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 StakingRoleRevoked ¶
type StakingRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
StakingRoleRevoked represents a RoleRevoked event raised by the Staking contract.
type StakingRoleRevokedIterator ¶
type StakingRoleRevokedIterator struct { Event *StakingRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Staking contract.
func (*StakingRoleRevokedIterator) Close ¶
func (it *StakingRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingRoleRevokedIterator) Error ¶
func (it *StakingRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingRoleRevokedIterator) Next ¶
func (it *StakingRoleRevokedIterator) 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 StakingSession ¶
type StakingSession struct { Contract *Staking // 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 }
StakingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StakingSession) ClaimRewards ¶
func (_Staking *StakingSession) ClaimRewards(odyssey_id *big.Int) (*types.Transaction, error)
ClaimRewards is a paid mutator transaction binding the contract method 0xb5d3ef17.
Solidity: function claim_rewards(uint256 odyssey_id) returns()
func (*StakingSession) ClaimRewards0 ¶
func (_Staking *StakingSession) ClaimRewards0() (*types.Transaction, error)
ClaimRewards0 is a paid mutator transaction binding the contract method 0xe6f1daf2.
Solidity: function claim_rewards() returns()
func (*StakingSession) ClaimUnstakedTokens ¶
func (_Staking *StakingSession) ClaimUnstakedTokens() (*types.Transaction, error)
ClaimUnstakedTokens is a paid mutator transaction binding the contract method 0x2fb0e9f6.
Solidity: function claim_unstaked_tokens() returns()
func (*StakingSession) DEFAULTADMINROLE ¶
func (_Staking *StakingSession) 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 (*StakingSession) DadToken ¶
func (_Staking *StakingSession) DadToken() (common.Address, error)
DadToken is a free data retrieval call binding the contract method 0x16a2d236.
Solidity: function dad_token() view returns(address)
func (*StakingSession) GetRoleAdmin ¶
func (_Staking *StakingSession) 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 (*StakingSession) GetStakedBy ¶
func (_Staking *StakingSession) GetStakedBy(odyssey *big.Int) ([]StakingStakedBy, error)
GetStakedBy is a free data retrieval call binding the contract method 0xe22619ec.
Solidity: function get_staked_by(uint256 odyssey) view returns((address,uint256,uint256,uint256,uint256,uint256,uint256)[])
func (*StakingSession) GetStakedOdysseys ¶
func (_Staking *StakingSession) GetStakedOdysseys() ([]*big.Int, error)
GetStakedOdysseys is a free data retrieval call binding the contract method 0x27b5f0ba.
Solidity: function get_staked_odysseys() view returns(uint256[])
func (*StakingSession) GrantRole ¶
func (_Staking *StakingSession) 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 (*StakingSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*StakingSession) Initialize ¶
func (_Staking *StakingSession) Initialize(_mom_token common.Address, _dad_token common.Address, _odyssey_nfts common.Address, _treasury common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xf8c8765e.
Solidity: function initialize(address _mom_token, address _dad_token, address _odyssey_nfts, address _treasury) returns()
func (*StakingSession) LastRewardsCalculation ¶
func (_Staking *StakingSession) LastRewardsCalculation() (*big.Int, error)
LastRewardsCalculation is a free data retrieval call binding the contract method 0x89f1c6b0.
Solidity: function last_rewards_calculation() view returns(uint256)
func (*StakingSession) LockingPeriod ¶
func (_Staking *StakingSession) LockingPeriod() (*big.Int, error)
LockingPeriod is a free data retrieval call binding the contract method 0x6dbf218e.
Solidity: function locking_period() view returns(uint256)
func (*StakingSession) MANAGERROLE ¶
func (_Staking *StakingSession) MANAGERROLE() ([32]byte, error)
MANAGERROLE is a free data retrieval call binding the contract method 0xec87621c.
Solidity: function MANAGER_ROLE() view returns(bytes32)
func (*StakingSession) MomToken ¶
func (_Staking *StakingSession) MomToken() (common.Address, error)
MomToken is a free data retrieval call binding the contract method 0x3a2bb837.
Solidity: function mom_token() view returns(address)
func (*StakingSession) OdysseyNfts ¶
func (_Staking *StakingSession) OdysseyNfts() (common.Address, error)
OdysseyNfts is a free data retrieval call binding the contract method 0x995c4a3c.
Solidity: function odyssey_nfts() view returns(address)
func (*StakingSession) Odysseys ¶
func (_Staking *StakingSession) Odysseys(arg0 *big.Int) (struct { OdysseyId *big.Int TotalStakedInto *big.Int TotalStakers *big.Int TotalRewards *big.Int DadRewards *big.Int MomRewards *big.Int StakedOdysseysIndex *big.Int }, error)
Odysseys is a free data retrieval call binding the contract method 0x6efdf56c.
Solidity: function odysseys(uint256 ) view returns(uint256 odyssey_id, uint256 total_staked_into, uint256 total_stakers, uint256 total_rewards, uint256 dad_rewards, uint256 mom_rewards, uint256 staked_odysseys_index)
func (*StakingSession) ProxiableUUID ¶
func (_Staking *StakingSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*StakingSession) RenounceRole ¶
func (_Staking *StakingSession) 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 (*StakingSession) Restake ¶
func (_Staking *StakingSession) Restake(from_odyssey_id *big.Int, to_odyssey_id *big.Int, amount *big.Int, token uint8) (*types.Transaction, error)
Restake is a paid mutator transaction binding the contract method 0x09f082a7.
Solidity: function restake(uint256 from_odyssey_id, uint256 to_odyssey_id, uint256 amount, uint8 token) returns()
func (*StakingSession) RevokeRole ¶
func (_Staking *StakingSession) 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 (*StakingSession) RewardsTimeout ¶
func (_Staking *StakingSession) RewardsTimeout() (*big.Int, error)
RewardsTimeout is a free data retrieval call binding the contract method 0xb143c584.
Solidity: function rewards_timeout() view returns(uint256)
func (*StakingSession) Stake ¶
func (_Staking *StakingSession) Stake(odyssey_id *big.Int, amount *big.Int, token uint8) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0x748e6856.
Solidity: function stake(uint256 odyssey_id, uint256 amount, uint8 token) returns()
func (*StakingSession) StakedBy ¶
func (_Staking *StakingSession) StakedBy(arg0 *big.Int, arg1 *big.Int) (struct { User common.Address TotalAmount *big.Int DadAmount *big.Int MomAmount *big.Int Timestamp *big.Int EffectiveTimestampMom *big.Int EffectiveTimestampDad *big.Int }, error)
StakedBy is a free data retrieval call binding the contract method 0xa2e9c3be.
Solidity: function staked_by(uint256 , uint256 ) view returns(address user, uint256 total_amount, uint256 dad_amount, uint256 mom_amount, uint256 timestamp, uint256 effective_timestamp_mom, uint256 effective_timestamp_dad)
func (*StakingSession) StakedByIndexes ¶
func (_Staking *StakingSession) StakedByIndexes(arg0 *big.Int, arg1 common.Address) (*big.Int, error)
StakedByIndexes is a free data retrieval call binding the contract method 0x67925344.
Solidity: function staked_by_indexes(uint256 , address ) view returns(uint256)
func (*StakingSession) StakedOdysseys ¶
StakedOdysseys is a free data retrieval call binding the contract method 0xc02bdf70.
Solidity: function staked_odysseys(uint256 ) view returns(uint256)
func (*StakingSession) Stakers ¶
func (_Staking *StakingSession) Stakers(arg0 common.Address) (struct { User common.Address TotalRewards *big.Int DadRewards *big.Int MomRewards *big.Int TotalStaked *big.Int DadAmount *big.Int MomAmount *big.Int }, error)
Stakers is a free data retrieval call binding the contract method 0x9168ae72.
Solidity: function stakers(address ) view returns(address user, uint256 total_rewards, uint256 dad_rewards, uint256 mom_rewards, uint256 total_staked, uint256 dad_amount, uint256 mom_amount)
func (*StakingSession) SupportsInterface ¶
func (_Staking *StakingSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*StakingSession) TotalStaked ¶
func (_Staking *StakingSession) TotalStaked() (*big.Int, error)
TotalStaked is a free data retrieval call binding the contract method 0xaf7568dd.
Solidity: function total_staked() view returns(uint256)
func (*StakingSession) Treasury ¶
func (_Staking *StakingSession) Treasury() (common.Address, error)
Treasury is a free data retrieval call binding the contract method 0x61d027b3.
Solidity: function treasury() view returns(address)
func (*StakingSession) Unstake ¶
func (_Staking *StakingSession) Unstake(odyssey_id *big.Int, token uint8) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0xbc9699f1.
Solidity: function unstake(uint256 odyssey_id, uint8 token) returns()
func (*StakingSession) Unstakes ¶
func (_Staking *StakingSession) Unstakes(arg0 common.Address, arg1 *big.Int) (struct { DadAmount *big.Int MomAmount *big.Int UnstakingTimestamp *big.Int }, error)
Unstakes is a free data retrieval call binding the contract method 0xdfef94b4.
Solidity: function unstakes(address , uint256 ) view returns(uint256 dad_amount, uint256 mom_amount, uint256 unstaking_timestamp)
func (*StakingSession) UpdateLockingPeriod ¶
func (_Staking *StakingSession) UpdateLockingPeriod(_locking_period *big.Int) (*types.Transaction, error)
UpdateLockingPeriod is a paid mutator transaction binding the contract method 0xcef47851.
Solidity: function update_locking_period(uint256 _locking_period) returns()
func (*StakingSession) UpdateRewards ¶
func (_Staking *StakingSession) UpdateRewards(addresses []common.Address, stakers_amount_mom []*big.Int, stakers_amount_dad []*big.Int, odysseys_ids []*big.Int, odysseys_amount_mom []*big.Int, odysseys_amount_dad []*big.Int, treasury_ammount *big.Int, timestamp *big.Int) (*types.Transaction, error)
UpdateRewards is a paid mutator transaction binding the contract method 0x2564a93f.
Solidity: function update_rewards(address[] addresses, uint256[] stakers_amount_mom, uint256[] stakers_amount_dad, uint256[] odysseys_ids, uint256[] odysseys_amount_mom, uint256[] odysseys_amount_dad, uint256 treasury_ammount, uint256 timestamp) returns()
func (*StakingSession) UpdateRewardsTimeout ¶
func (_Staking *StakingSession) UpdateRewardsTimeout(_rewards_timeout *big.Int) (*types.Transaction, error)
UpdateRewardsTimeout is a paid mutator transaction binding the contract method 0x969f7d46.
Solidity: function update_rewards_timeout(uint256 _rewards_timeout) returns()
func (*StakingSession) UpgradeTo ¶
func (_Staking *StakingSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*StakingSession) UpgradeToAndCall ¶
func (_Staking *StakingSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type StakingStake ¶
type StakingStake struct { User common.Address OdysseyId *big.Int AmountStaked *big.Int Token uint8 TotalStaked *big.Int Raw types.Log // Blockchain specific contextual infos }
StakingStake represents a Stake event raised by the Staking contract.
type StakingStakeIterator ¶
type StakingStakeIterator struct { Event *StakingStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingStakeIterator is returned from FilterStake and is used to iterate over the raw logs and unpacked data for Stake events raised by the Staking contract.
func (*StakingStakeIterator) Close ¶
func (it *StakingStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingStakeIterator) Error ¶
func (it *StakingStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingStakeIterator) Next ¶
func (it *StakingStakeIterator) 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 StakingStakedBy ¶
type StakingStakedBy struct { User common.Address TotalAmount *big.Int DadAmount *big.Int MomAmount *big.Int Timestamp *big.Int EffectiveTimestampMom *big.Int EffectiveTimestampDad *big.Int }
StakingStakedBy is an auto generated low-level Go binding around an user-defined struct.
type StakingStateUpdated ¶
type StakingStateUpdated struct { State common.Hash From *big.Int To *big.Int Raw types.Log // Blockchain specific contextual infos }
StakingStateUpdated represents a StateUpdated event raised by the Staking contract.
type StakingStateUpdatedIterator ¶
type StakingStateUpdatedIterator struct { Event *StakingStateUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingStateUpdatedIterator is returned from FilterStateUpdated and is used to iterate over the raw logs and unpacked data for StateUpdated events raised by the Staking contract.
func (*StakingStateUpdatedIterator) Close ¶
func (it *StakingStateUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingStateUpdatedIterator) Error ¶
func (it *StakingStateUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingStateUpdatedIterator) Next ¶
func (it *StakingStateUpdatedIterator) 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 StakingTransactor ¶
type StakingTransactor struct {
// contains filtered or unexported fields
}
StakingTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStakingTransactor ¶
func NewStakingTransactor(address common.Address, transactor bind.ContractTransactor) (*StakingTransactor, error)
NewStakingTransactor creates a new write-only instance of Staking, bound to a specific deployed contract.
func (*StakingTransactor) ClaimRewards ¶
func (_Staking *StakingTransactor) ClaimRewards(opts *bind.TransactOpts, odyssey_id *big.Int) (*types.Transaction, error)
ClaimRewards is a paid mutator transaction binding the contract method 0xb5d3ef17.
Solidity: function claim_rewards(uint256 odyssey_id) returns()
func (*StakingTransactor) ClaimRewards0 ¶
func (_Staking *StakingTransactor) ClaimRewards0(opts *bind.TransactOpts) (*types.Transaction, error)
ClaimRewards0 is a paid mutator transaction binding the contract method 0xe6f1daf2.
Solidity: function claim_rewards() returns()
func (*StakingTransactor) ClaimUnstakedTokens ¶
func (_Staking *StakingTransactor) ClaimUnstakedTokens(opts *bind.TransactOpts) (*types.Transaction, error)
ClaimUnstakedTokens is a paid mutator transaction binding the contract method 0x2fb0e9f6.
Solidity: function claim_unstaked_tokens() returns()
func (*StakingTransactor) GrantRole ¶
func (_Staking *StakingTransactor) 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 (*StakingTransactor) Initialize ¶
func (_Staking *StakingTransactor) Initialize(opts *bind.TransactOpts, _mom_token common.Address, _dad_token common.Address, _odyssey_nfts common.Address, _treasury common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xf8c8765e.
Solidity: function initialize(address _mom_token, address _dad_token, address _odyssey_nfts, address _treasury) returns()
func (*StakingTransactor) RenounceRole ¶
func (_Staking *StakingTransactor) 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 (*StakingTransactor) Restake ¶
func (_Staking *StakingTransactor) Restake(opts *bind.TransactOpts, from_odyssey_id *big.Int, to_odyssey_id *big.Int, amount *big.Int, token uint8) (*types.Transaction, error)
Restake is a paid mutator transaction binding the contract method 0x09f082a7.
Solidity: function restake(uint256 from_odyssey_id, uint256 to_odyssey_id, uint256 amount, uint8 token) returns()
func (*StakingTransactor) RevokeRole ¶
func (_Staking *StakingTransactor) 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 (*StakingTransactor) Stake ¶
func (_Staking *StakingTransactor) Stake(opts *bind.TransactOpts, odyssey_id *big.Int, amount *big.Int, token uint8) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0x748e6856.
Solidity: function stake(uint256 odyssey_id, uint256 amount, uint8 token) returns()
func (*StakingTransactor) Unstake ¶
func (_Staking *StakingTransactor) Unstake(opts *bind.TransactOpts, odyssey_id *big.Int, token uint8) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0xbc9699f1.
Solidity: function unstake(uint256 odyssey_id, uint8 token) returns()
func (*StakingTransactor) UpdateLockingPeriod ¶
func (_Staking *StakingTransactor) UpdateLockingPeriod(opts *bind.TransactOpts, _locking_period *big.Int) (*types.Transaction, error)
UpdateLockingPeriod is a paid mutator transaction binding the contract method 0xcef47851.
Solidity: function update_locking_period(uint256 _locking_period) returns()
func (*StakingTransactor) UpdateRewards ¶
func (_Staking *StakingTransactor) UpdateRewards(opts *bind.TransactOpts, addresses []common.Address, stakers_amount_mom []*big.Int, stakers_amount_dad []*big.Int, odysseys_ids []*big.Int, odysseys_amount_mom []*big.Int, odysseys_amount_dad []*big.Int, treasury_ammount *big.Int, timestamp *big.Int) (*types.Transaction, error)
UpdateRewards is a paid mutator transaction binding the contract method 0x2564a93f.
Solidity: function update_rewards(address[] addresses, uint256[] stakers_amount_mom, uint256[] stakers_amount_dad, uint256[] odysseys_ids, uint256[] odysseys_amount_mom, uint256[] odysseys_amount_dad, uint256 treasury_ammount, uint256 timestamp) returns()
func (*StakingTransactor) UpdateRewardsTimeout ¶
func (_Staking *StakingTransactor) UpdateRewardsTimeout(opts *bind.TransactOpts, _rewards_timeout *big.Int) (*types.Transaction, error)
UpdateRewardsTimeout is a paid mutator transaction binding the contract method 0x969f7d46.
Solidity: function update_rewards_timeout(uint256 _rewards_timeout) returns()
func (*StakingTransactor) UpgradeTo ¶
func (_Staking *StakingTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*StakingTransactor) UpgradeToAndCall ¶
func (_Staking *StakingTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type StakingTransactorRaw ¶
type StakingTransactorRaw struct {
Contract *StakingTransactor // Generic write-only contract binding to access the raw methods on
}
StakingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StakingTransactorRaw) Transact ¶
func (_Staking *StakingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StakingTransactorRaw) Transfer ¶
func (_Staking *StakingTransactorRaw) 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 StakingTransactorSession ¶
type StakingTransactorSession struct { Contract *StakingTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StakingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StakingTransactorSession) ClaimRewards ¶
func (_Staking *StakingTransactorSession) ClaimRewards(odyssey_id *big.Int) (*types.Transaction, error)
ClaimRewards is a paid mutator transaction binding the contract method 0xb5d3ef17.
Solidity: function claim_rewards(uint256 odyssey_id) returns()
func (*StakingTransactorSession) ClaimRewards0 ¶
func (_Staking *StakingTransactorSession) ClaimRewards0() (*types.Transaction, error)
ClaimRewards0 is a paid mutator transaction binding the contract method 0xe6f1daf2.
Solidity: function claim_rewards() returns()
func (*StakingTransactorSession) ClaimUnstakedTokens ¶
func (_Staking *StakingTransactorSession) ClaimUnstakedTokens() (*types.Transaction, error)
ClaimUnstakedTokens is a paid mutator transaction binding the contract method 0x2fb0e9f6.
Solidity: function claim_unstaked_tokens() returns()
func (*StakingTransactorSession) GrantRole ¶
func (_Staking *StakingTransactorSession) 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 (*StakingTransactorSession) Initialize ¶
func (_Staking *StakingTransactorSession) Initialize(_mom_token common.Address, _dad_token common.Address, _odyssey_nfts common.Address, _treasury common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xf8c8765e.
Solidity: function initialize(address _mom_token, address _dad_token, address _odyssey_nfts, address _treasury) returns()
func (*StakingTransactorSession) RenounceRole ¶
func (_Staking *StakingTransactorSession) 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 (*StakingTransactorSession) Restake ¶
func (_Staking *StakingTransactorSession) Restake(from_odyssey_id *big.Int, to_odyssey_id *big.Int, amount *big.Int, token uint8) (*types.Transaction, error)
Restake is a paid mutator transaction binding the contract method 0x09f082a7.
Solidity: function restake(uint256 from_odyssey_id, uint256 to_odyssey_id, uint256 amount, uint8 token) returns()
func (*StakingTransactorSession) RevokeRole ¶
func (_Staking *StakingTransactorSession) 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 (*StakingTransactorSession) Stake ¶
func (_Staking *StakingTransactorSession) Stake(odyssey_id *big.Int, amount *big.Int, token uint8) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0x748e6856.
Solidity: function stake(uint256 odyssey_id, uint256 amount, uint8 token) returns()
func (*StakingTransactorSession) Unstake ¶
func (_Staking *StakingTransactorSession) Unstake(odyssey_id *big.Int, token uint8) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0xbc9699f1.
Solidity: function unstake(uint256 odyssey_id, uint8 token) returns()
func (*StakingTransactorSession) UpdateLockingPeriod ¶
func (_Staking *StakingTransactorSession) UpdateLockingPeriod(_locking_period *big.Int) (*types.Transaction, error)
UpdateLockingPeriod is a paid mutator transaction binding the contract method 0xcef47851.
Solidity: function update_locking_period(uint256 _locking_period) returns()
func (*StakingTransactorSession) UpdateRewards ¶
func (_Staking *StakingTransactorSession) UpdateRewards(addresses []common.Address, stakers_amount_mom []*big.Int, stakers_amount_dad []*big.Int, odysseys_ids []*big.Int, odysseys_amount_mom []*big.Int, odysseys_amount_dad []*big.Int, treasury_ammount *big.Int, timestamp *big.Int) (*types.Transaction, error)
UpdateRewards is a paid mutator transaction binding the contract method 0x2564a93f.
Solidity: function update_rewards(address[] addresses, uint256[] stakers_amount_mom, uint256[] stakers_amount_dad, uint256[] odysseys_ids, uint256[] odysseys_amount_mom, uint256[] odysseys_amount_dad, uint256 treasury_ammount, uint256 timestamp) returns()
func (*StakingTransactorSession) UpdateRewardsTimeout ¶
func (_Staking *StakingTransactorSession) UpdateRewardsTimeout(_rewards_timeout *big.Int) (*types.Transaction, error)
UpdateRewardsTimeout is a paid mutator transaction binding the contract method 0x969f7d46.
Solidity: function update_rewards_timeout(uint256 _rewards_timeout) returns()
func (*StakingTransactorSession) UpgradeTo ¶
func (_Staking *StakingTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*StakingTransactorSession) UpgradeToAndCall ¶
func (_Staking *StakingTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type StakingUnstake ¶
type StakingUnstake struct { User common.Address OdysseyId *big.Int AmountUnstaked *big.Int Token uint8 TotalStaked *big.Int Raw types.Log // Blockchain specific contextual infos }
StakingUnstake represents a Unstake event raised by the Staking contract.
type StakingUnstakeIterator ¶
type StakingUnstakeIterator struct { Event *StakingUnstake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingUnstakeIterator is returned from FilterUnstake and is used to iterate over the raw logs and unpacked data for Unstake events raised by the Staking contract.
func (*StakingUnstakeIterator) Close ¶
func (it *StakingUnstakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingUnstakeIterator) Error ¶
func (it *StakingUnstakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingUnstakeIterator) Next ¶
func (it *StakingUnstakeIterator) 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 StakingUpgraded ¶
type StakingUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
StakingUpgraded represents a Upgraded event raised by the Staking contract.
type StakingUpgradedIterator ¶
type StakingUpgradedIterator struct { Event *StakingUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the Staking contract.
func (*StakingUpgradedIterator) Close ¶
func (it *StakingUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingUpgradedIterator) Error ¶
func (it *StakingUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingUpgradedIterator) Next ¶
func (it *StakingUpgradedIterator) 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 Vesting ¶
type Vesting struct { VestingCaller // Read-only binding to the contract VestingTransactor // Write-only binding to the contract VestingFilterer // Log filterer for contract events }
Vesting is an auto generated Go binding around an Ethereum contract.
func NewVesting ¶
NewVesting creates a new instance of Vesting, bound to a specific deployed contract.
type VestingCaller ¶
type VestingCaller struct {
// contains filtered or unexported fields
}
VestingCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewVestingCaller ¶
func NewVestingCaller(address common.Address, caller bind.ContractCaller) (*VestingCaller, error)
NewVestingCaller creates a new read-only instance of Vesting, bound to a specific deployed contract.
func (*VestingCaller) DEFAULTADMINROLE ¶
func (_Vesting *VestingCaller) 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 (*VestingCaller) DadToken ¶
DadToken is a free data retrieval call binding the contract method 0x16a2d236.
Solidity: function dad_token() view returns(address)
func (*VestingCaller) EndDate ¶
EndDate is a free data retrieval call binding the contract method 0x33bbae93.
Solidity: function end_date() view returns(uint256)
func (*VestingCaller) GetRoleAdmin ¶
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*VestingCaller) HasRole ¶
func (_Vesting *VestingCaller) 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 (*VestingCaller) Holders ¶
func (_Vesting *VestingCaller) Holders(opts *bind.CallOpts, arg0 common.Address) (struct { LastClaimDate *big.Int TotalTokens *big.Int }, error)
Holders is a free data retrieval call binding the contract method 0x18a5bbdc.
Solidity: function holders(address ) view returns(uint256 last_claim_date, uint256 total_tokens)
func (*VestingCaller) MomToken ¶
MomToken is a free data retrieval call binding the contract method 0x3a2bb837.
Solidity: function mom_token() view returns(address)
func (*VestingCaller) StartingDate ¶
StartingDate is a free data retrieval call binding the contract method 0x9e6286a6.
Solidity: function starting_date() view returns(uint256)
func (*VestingCaller) SupportsInterface ¶
func (_Vesting *VestingCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*VestingCaller) UPDATERROLE ¶
func (_Vesting *VestingCaller) UPDATERROLE(opts *bind.CallOpts) ([32]byte, error)
UPDATERROLE is a free data retrieval call binding the contract method 0x47e63380.
Solidity: function UPDATER_ROLE() view returns(bytes32)
type VestingCallerRaw ¶
type VestingCallerRaw struct {
Contract *VestingCaller // Generic read-only contract binding to access the raw methods on
}
VestingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*VestingCallerRaw) Call ¶
func (_Vesting *VestingCallerRaw) 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 VestingCallerSession ¶
type VestingCallerSession struct { Contract *VestingCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
VestingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*VestingCallerSession) DEFAULTADMINROLE ¶
func (_Vesting *VestingCallerSession) 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 (*VestingCallerSession) DadToken ¶
func (_Vesting *VestingCallerSession) DadToken() (common.Address, error)
DadToken is a free data retrieval call binding the contract method 0x16a2d236.
Solidity: function dad_token() view returns(address)
func (*VestingCallerSession) EndDate ¶
func (_Vesting *VestingCallerSession) EndDate() (*big.Int, error)
EndDate is a free data retrieval call binding the contract method 0x33bbae93.
Solidity: function end_date() view returns(uint256)
func (*VestingCallerSession) GetRoleAdmin ¶
func (_Vesting *VestingCallerSession) 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 (*VestingCallerSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*VestingCallerSession) Holders ¶
func (_Vesting *VestingCallerSession) Holders(arg0 common.Address) (struct { LastClaimDate *big.Int TotalTokens *big.Int }, error)
Holders is a free data retrieval call binding the contract method 0x18a5bbdc.
Solidity: function holders(address ) view returns(uint256 last_claim_date, uint256 total_tokens)
func (*VestingCallerSession) MomToken ¶
func (_Vesting *VestingCallerSession) MomToken() (common.Address, error)
MomToken is a free data retrieval call binding the contract method 0x3a2bb837.
Solidity: function mom_token() view returns(address)
func (*VestingCallerSession) StartingDate ¶
func (_Vesting *VestingCallerSession) StartingDate() (*big.Int, error)
StartingDate is a free data retrieval call binding the contract method 0x9e6286a6.
Solidity: function starting_date() view returns(uint256)
func (*VestingCallerSession) SupportsInterface ¶
func (_Vesting *VestingCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*VestingCallerSession) UPDATERROLE ¶
func (_Vesting *VestingCallerSession) UPDATERROLE() ([32]byte, error)
UPDATERROLE is a free data retrieval call binding the contract method 0x47e63380.
Solidity: function UPDATER_ROLE() view returns(bytes32)
type VestingFilterer ¶
type VestingFilterer struct {
// contains filtered or unexported fields
}
VestingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewVestingFilterer ¶
func NewVestingFilterer(address common.Address, filterer bind.ContractFilterer) (*VestingFilterer, error)
NewVestingFilterer creates a new log filterer instance of Vesting, bound to a specific deployed contract.
func (*VestingFilterer) FilterHolderUpdated ¶
func (_Vesting *VestingFilterer) FilterHolderUpdated(opts *bind.FilterOpts) (*VestingHolderUpdatedIterator, error)
FilterHolderUpdated is a free log retrieval operation binding the contract event 0xbe90c177b758726eaac3c47d0956232b12f1f5252248c1d0fa129b6fb35c8d00.
Solidity: event HolderUpdated(address holder, uint256 amount, uint256 last_claim_date)
func (*VestingFilterer) FilterMOMAddressUpdated ¶
func (_Vesting *VestingFilterer) FilterMOMAddressUpdated(opts *bind.FilterOpts) (*VestingMOMAddressUpdatedIterator, error)
FilterMOMAddressUpdated is a free log retrieval operation binding the contract event 0x09e1d4fb8192dbd7602a29a119b236a9666c85bd825b70ef31d5a5396cdadd67.
Solidity: event MOMAddressUpdated(address mom)
func (*VestingFilterer) FilterRedeemed ¶
func (_Vesting *VestingFilterer) FilterRedeemed(opts *bind.FilterOpts) (*VestingRedeemedIterator, error)
FilterRedeemed is a free log retrieval operation binding the contract event 0x4896181ff8f4543cc00db9fe9b6fb7e6f032b7eb772c72ab1ec1b4d2e03b9369.
Solidity: event Redeemed(address holder, uint256 amount)
func (*VestingFilterer) FilterRoleAdminChanged ¶
func (_Vesting *VestingFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*VestingRoleAdminChangedIterator, 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 (*VestingFilterer) FilterRoleGranted ¶
func (_Vesting *VestingFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*VestingRoleGrantedIterator, 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 (*VestingFilterer) FilterRoleRevoked ¶
func (_Vesting *VestingFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*VestingRoleRevokedIterator, 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 (*VestingFilterer) ParseHolderUpdated ¶
func (_Vesting *VestingFilterer) ParseHolderUpdated(log types.Log) (*VestingHolderUpdated, error)
ParseHolderUpdated is a log parse operation binding the contract event 0xbe90c177b758726eaac3c47d0956232b12f1f5252248c1d0fa129b6fb35c8d00.
Solidity: event HolderUpdated(address holder, uint256 amount, uint256 last_claim_date)
func (*VestingFilterer) ParseMOMAddressUpdated ¶
func (_Vesting *VestingFilterer) ParseMOMAddressUpdated(log types.Log) (*VestingMOMAddressUpdated, error)
ParseMOMAddressUpdated is a log parse operation binding the contract event 0x09e1d4fb8192dbd7602a29a119b236a9666c85bd825b70ef31d5a5396cdadd67.
Solidity: event MOMAddressUpdated(address mom)
func (*VestingFilterer) ParseRedeemed ¶
func (_Vesting *VestingFilterer) ParseRedeemed(log types.Log) (*VestingRedeemed, error)
ParseRedeemed is a log parse operation binding the contract event 0x4896181ff8f4543cc00db9fe9b6fb7e6f032b7eb772c72ab1ec1b4d2e03b9369.
Solidity: event Redeemed(address holder, uint256 amount)
func (*VestingFilterer) ParseRoleAdminChanged ¶
func (_Vesting *VestingFilterer) ParseRoleAdminChanged(log types.Log) (*VestingRoleAdminChanged, 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 (*VestingFilterer) ParseRoleGranted ¶
func (_Vesting *VestingFilterer) ParseRoleGranted(log types.Log) (*VestingRoleGranted, 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 (*VestingFilterer) ParseRoleRevoked ¶
func (_Vesting *VestingFilterer) ParseRoleRevoked(log types.Log) (*VestingRoleRevoked, 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 (*VestingFilterer) WatchHolderUpdated ¶
func (_Vesting *VestingFilterer) WatchHolderUpdated(opts *bind.WatchOpts, sink chan<- *VestingHolderUpdated) (event.Subscription, error)
WatchHolderUpdated is a free log subscription operation binding the contract event 0xbe90c177b758726eaac3c47d0956232b12f1f5252248c1d0fa129b6fb35c8d00.
Solidity: event HolderUpdated(address holder, uint256 amount, uint256 last_claim_date)
func (*VestingFilterer) WatchMOMAddressUpdated ¶
func (_Vesting *VestingFilterer) WatchMOMAddressUpdated(opts *bind.WatchOpts, sink chan<- *VestingMOMAddressUpdated) (event.Subscription, error)
WatchMOMAddressUpdated is a free log subscription operation binding the contract event 0x09e1d4fb8192dbd7602a29a119b236a9666c85bd825b70ef31d5a5396cdadd67.
Solidity: event MOMAddressUpdated(address mom)
func (*VestingFilterer) WatchRedeemed ¶
func (_Vesting *VestingFilterer) WatchRedeemed(opts *bind.WatchOpts, sink chan<- *VestingRedeemed) (event.Subscription, error)
WatchRedeemed is a free log subscription operation binding the contract event 0x4896181ff8f4543cc00db9fe9b6fb7e6f032b7eb772c72ab1ec1b4d2e03b9369.
Solidity: event Redeemed(address holder, uint256 amount)
func (*VestingFilterer) WatchRoleAdminChanged ¶
func (_Vesting *VestingFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *VestingRoleAdminChanged, 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 (*VestingFilterer) WatchRoleGranted ¶
func (_Vesting *VestingFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *VestingRoleGranted, 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 (*VestingFilterer) WatchRoleRevoked ¶
func (_Vesting *VestingFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *VestingRoleRevoked, 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)
type VestingHolderUpdated ¶
type VestingHolderUpdated struct { Holder common.Address Amount *big.Int LastClaimDate *big.Int Raw types.Log // Blockchain specific contextual infos }
VestingHolderUpdated represents a HolderUpdated event raised by the Vesting contract.
type VestingHolderUpdatedIterator ¶
type VestingHolderUpdatedIterator struct { Event *VestingHolderUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VestingHolderUpdatedIterator is returned from FilterHolderUpdated and is used to iterate over the raw logs and unpacked data for HolderUpdated events raised by the Vesting contract.
func (*VestingHolderUpdatedIterator) Close ¶
func (it *VestingHolderUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VestingHolderUpdatedIterator) Error ¶
func (it *VestingHolderUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VestingHolderUpdatedIterator) Next ¶
func (it *VestingHolderUpdatedIterator) 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 VestingMOMAddressUpdated ¶
type VestingMOMAddressUpdated struct { Mom common.Address Raw types.Log // Blockchain specific contextual infos }
VestingMOMAddressUpdated represents a MOMAddressUpdated event raised by the Vesting contract.
type VestingMOMAddressUpdatedIterator ¶
type VestingMOMAddressUpdatedIterator struct { Event *VestingMOMAddressUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VestingMOMAddressUpdatedIterator is returned from FilterMOMAddressUpdated and is used to iterate over the raw logs and unpacked data for MOMAddressUpdated events raised by the Vesting contract.
func (*VestingMOMAddressUpdatedIterator) Close ¶
func (it *VestingMOMAddressUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VestingMOMAddressUpdatedIterator) Error ¶
func (it *VestingMOMAddressUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VestingMOMAddressUpdatedIterator) Next ¶
func (it *VestingMOMAddressUpdatedIterator) 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 VestingRaw ¶
type VestingRaw struct {
Contract *Vesting // Generic contract binding to access the raw methods on
}
VestingRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*VestingRaw) Call ¶
func (_Vesting *VestingRaw) 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 (*VestingRaw) Transact ¶
func (_Vesting *VestingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VestingRaw) Transfer ¶
func (_Vesting *VestingRaw) 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 VestingRedeemed ¶
type VestingRedeemed struct { Holder common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
VestingRedeemed represents a Redeemed event raised by the Vesting contract.
type VestingRedeemedIterator ¶
type VestingRedeemedIterator struct { Event *VestingRedeemed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VestingRedeemedIterator is returned from FilterRedeemed and is used to iterate over the raw logs and unpacked data for Redeemed events raised by the Vesting contract.
func (*VestingRedeemedIterator) Close ¶
func (it *VestingRedeemedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VestingRedeemedIterator) Error ¶
func (it *VestingRedeemedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VestingRedeemedIterator) Next ¶
func (it *VestingRedeemedIterator) 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 VestingRoleAdminChanged ¶
type VestingRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
VestingRoleAdminChanged represents a RoleAdminChanged event raised by the Vesting contract.
type VestingRoleAdminChangedIterator ¶
type VestingRoleAdminChangedIterator struct { Event *VestingRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VestingRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Vesting contract.
func (*VestingRoleAdminChangedIterator) Close ¶
func (it *VestingRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VestingRoleAdminChangedIterator) Error ¶
func (it *VestingRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VestingRoleAdminChangedIterator) Next ¶
func (it *VestingRoleAdminChangedIterator) 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 VestingRoleGranted ¶
type VestingRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
VestingRoleGranted represents a RoleGranted event raised by the Vesting contract.
type VestingRoleGrantedIterator ¶
type VestingRoleGrantedIterator struct { Event *VestingRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VestingRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Vesting contract.
func (*VestingRoleGrantedIterator) Close ¶
func (it *VestingRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VestingRoleGrantedIterator) Error ¶
func (it *VestingRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VestingRoleGrantedIterator) Next ¶
func (it *VestingRoleGrantedIterator) 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 VestingRoleRevoked ¶
type VestingRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
VestingRoleRevoked represents a RoleRevoked event raised by the Vesting contract.
type VestingRoleRevokedIterator ¶
type VestingRoleRevokedIterator struct { Event *VestingRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VestingRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Vesting contract.
func (*VestingRoleRevokedIterator) Close ¶
func (it *VestingRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VestingRoleRevokedIterator) Error ¶
func (it *VestingRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VestingRoleRevokedIterator) Next ¶
func (it *VestingRoleRevokedIterator) 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 VestingSession ¶
type VestingSession struct { Contract *Vesting // 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 }
VestingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*VestingSession) DEFAULTADMINROLE ¶
func (_Vesting *VestingSession) 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 (*VestingSession) DadToken ¶
func (_Vesting *VestingSession) DadToken() (common.Address, error)
DadToken is a free data retrieval call binding the contract method 0x16a2d236.
Solidity: function dad_token() view returns(address)
func (*VestingSession) EndDate ¶
func (_Vesting *VestingSession) EndDate() (*big.Int, error)
EndDate is a free data retrieval call binding the contract method 0x33bbae93.
Solidity: function end_date() view returns(uint256)
func (*VestingSession) GetRoleAdmin ¶
func (_Vesting *VestingSession) 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 (*VestingSession) GrantRole ¶
func (_Vesting *VestingSession) 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 (*VestingSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*VestingSession) Holders ¶
func (_Vesting *VestingSession) Holders(arg0 common.Address) (struct { LastClaimDate *big.Int TotalTokens *big.Int }, error)
Holders is a free data retrieval call binding the contract method 0x18a5bbdc.
Solidity: function holders(address ) view returns(uint256 last_claim_date, uint256 total_tokens)
func (*VestingSession) MomToken ¶
func (_Vesting *VestingSession) MomToken() (common.Address, error)
MomToken is a free data retrieval call binding the contract method 0x3a2bb837.
Solidity: function mom_token() view returns(address)
func (*VestingSession) RedeemTokens ¶
func (_Vesting *VestingSession) RedeemTokens() (*types.Transaction, error)
RedeemTokens is a paid mutator transaction binding the contract method 0xf790ea98.
Solidity: function redeem_tokens() returns()
func (*VestingSession) RenounceRole ¶
func (_Vesting *VestingSession) 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 (*VestingSession) RevokeRole ¶
func (_Vesting *VestingSession) 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 (*VestingSession) SetMomAddress ¶
func (_Vesting *VestingSession) SetMomAddress(_mom_token common.Address) (*types.Transaction, error)
SetMomAddress is a paid mutator transaction binding the contract method 0x4700e993.
Solidity: function set_mom_address(address _mom_token) returns()
func (*VestingSession) StartingDate ¶
func (_Vesting *VestingSession) StartingDate() (*big.Int, error)
StartingDate is a free data retrieval call binding the contract method 0x9e6286a6.
Solidity: function starting_date() view returns(uint256)
func (*VestingSession) SupportsInterface ¶
func (_Vesting *VestingSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*VestingSession) UPDATERROLE ¶
func (_Vesting *VestingSession) UPDATERROLE() ([32]byte, error)
UPDATERROLE is a free data retrieval call binding the contract method 0x47e63380.
Solidity: function UPDATER_ROLE() view returns(bytes32)
func (*VestingSession) UpdateHolder ¶
func (_Vesting *VestingSession) UpdateHolder(holder common.Address, amount *big.Int) (*types.Transaction, error)
UpdateHolder is a paid mutator transaction binding the contract method 0xb7fe5839.
Solidity: function update_holder(address holder, uint256 amount) returns()
type VestingTransactor ¶
type VestingTransactor struct {
// contains filtered or unexported fields
}
VestingTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewVestingTransactor ¶
func NewVestingTransactor(address common.Address, transactor bind.ContractTransactor) (*VestingTransactor, error)
NewVestingTransactor creates a new write-only instance of Vesting, bound to a specific deployed contract.
func (*VestingTransactor) GrantRole ¶
func (_Vesting *VestingTransactor) 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 (*VestingTransactor) RedeemTokens ¶
func (_Vesting *VestingTransactor) RedeemTokens(opts *bind.TransactOpts) (*types.Transaction, error)
RedeemTokens is a paid mutator transaction binding the contract method 0xf790ea98.
Solidity: function redeem_tokens() returns()
func (*VestingTransactor) RenounceRole ¶
func (_Vesting *VestingTransactor) 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 (*VestingTransactor) RevokeRole ¶
func (_Vesting *VestingTransactor) 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 (*VestingTransactor) SetMomAddress ¶
func (_Vesting *VestingTransactor) SetMomAddress(opts *bind.TransactOpts, _mom_token common.Address) (*types.Transaction, error)
SetMomAddress is a paid mutator transaction binding the contract method 0x4700e993.
Solidity: function set_mom_address(address _mom_token) returns()
func (*VestingTransactor) UpdateHolder ¶
func (_Vesting *VestingTransactor) UpdateHolder(opts *bind.TransactOpts, holder common.Address, amount *big.Int) (*types.Transaction, error)
UpdateHolder is a paid mutator transaction binding the contract method 0xb7fe5839.
Solidity: function update_holder(address holder, uint256 amount) returns()
type VestingTransactorRaw ¶
type VestingTransactorRaw struct {
Contract *VestingTransactor // Generic write-only contract binding to access the raw methods on
}
VestingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*VestingTransactorRaw) Transact ¶
func (_Vesting *VestingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VestingTransactorRaw) Transfer ¶
func (_Vesting *VestingTransactorRaw) 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 VestingTransactorSession ¶
type VestingTransactorSession struct { Contract *VestingTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VestingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*VestingTransactorSession) GrantRole ¶
func (_Vesting *VestingTransactorSession) 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 (*VestingTransactorSession) RedeemTokens ¶
func (_Vesting *VestingTransactorSession) RedeemTokens() (*types.Transaction, error)
RedeemTokens is a paid mutator transaction binding the contract method 0xf790ea98.
Solidity: function redeem_tokens() returns()
func (*VestingTransactorSession) RenounceRole ¶
func (_Vesting *VestingTransactorSession) 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 (*VestingTransactorSession) RevokeRole ¶
func (_Vesting *VestingTransactorSession) 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 (*VestingTransactorSession) SetMomAddress ¶
func (_Vesting *VestingTransactorSession) SetMomAddress(_mom_token common.Address) (*types.Transaction, error)
SetMomAddress is a paid mutator transaction binding the contract method 0x4700e993.
Solidity: function set_mom_address(address _mom_token) returns()
func (*VestingTransactorSession) UpdateHolder ¶
func (_Vesting *VestingTransactorSession) UpdateHolder(holder common.Address, amount *big.Int) (*types.Transaction, error)
UpdateHolder is a paid mutator transaction binding the contract method 0xb7fe5839.
Solidity: function update_holder(address holder, uint256 amount) returns()