Versions in this module Expand all Collapse all v0 v0.9.0 Mar 9, 2023 Changes in this version + var RethABI = RethMetaData.ABI + var RethMetaData = &bind.MetaData + type Reth struct + func NewReth(address common.Address, backend bind.ContractBackend) (*Reth, error) + type RethApproval struct + Owner common.Address + Raw types.Log + Spender common.Address + Value *big.Int + type RethApprovalIterator struct + Event *RethApproval + func (it *RethApprovalIterator) Close() error + func (it *RethApprovalIterator) Error() error + func (it *RethApprovalIterator) Next() bool + type RethCaller struct + func NewRethCaller(address common.Address, caller bind.ContractCaller) (*RethCaller, error) + func (_Reth *RethCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) + func (_Reth *RethCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) + func (_Reth *RethCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error) + func (_Reth *RethCaller) Decimals(opts *bind.CallOpts) (uint8, error) + func (_Reth *RethCaller) GetBurnEnabled(opts *bind.CallOpts) (bool, error) + func (_Reth *RethCaller) GetCollateralRate(opts *bind.CallOpts) (*big.Int, error) + func (_Reth *RethCaller) GetEthValue(opts *bind.CallOpts, _rethAmount *big.Int) (*big.Int, error) + func (_Reth *RethCaller) GetExchangeRate(opts *bind.CallOpts) (*big.Int, error) + func (_Reth *RethCaller) GetRethValue(opts *bind.CallOpts, _ethAmount *big.Int) (*big.Int, error) + func (_Reth *RethCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error) + func (_Reth *RethCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error) + func (_Reth *RethCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error) + func (_Reth *RethCaller) GetTotalCollateral(opts *bind.CallOpts) (*big.Int, error) + func (_Reth *RethCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error) + func (_Reth *RethCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error) + func (_Reth *RethCaller) Name(opts *bind.CallOpts) (string, error) + func (_Reth *RethCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error) + func (_Reth *RethCaller) Paused(opts *bind.CallOpts) (bool, error) + func (_Reth *RethCaller) Symbol(opts *bind.CallOpts) (string, error) + func (_Reth *RethCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) + func (_Reth *RethCaller) Version(opts *bind.CallOpts) (uint8, error) + type RethCallerRaw struct + Contract *RethCaller + func (_Reth *RethCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type RethCallerSession struct + CallOpts bind.CallOpts + Contract *RethCaller + func (_Reth *RethCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error) + func (_Reth *RethCallerSession) BalanceOf(account common.Address) (*big.Int, error) + func (_Reth *RethCallerSession) DEFAULTADMINROLE() ([32]byte, error) + func (_Reth *RethCallerSession) Decimals() (uint8, error) + func (_Reth *RethCallerSession) GetBurnEnabled() (bool, error) + func (_Reth *RethCallerSession) GetCollateralRate() (*big.Int, error) + func (_Reth *RethCallerSession) GetEthValue(_rethAmount *big.Int) (*big.Int, error) + func (_Reth *RethCallerSession) GetExchangeRate() (*big.Int, error) + func (_Reth *RethCallerSession) GetRethValue(_ethAmount *big.Int) (*big.Int, error) + func (_Reth *RethCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error) + func (_Reth *RethCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error) + func (_Reth *RethCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error) + func (_Reth *RethCallerSession) GetTotalCollateral() (*big.Int, error) + func (_Reth *RethCallerSession) HasRole(role [32]byte, account common.Address) (bool, error) + func (_Reth *RethCallerSession) MINTERROLE() ([32]byte, error) + func (_Reth *RethCallerSession) Name() (string, error) + func (_Reth *RethCallerSession) PAUSERROLE() ([32]byte, error) + func (_Reth *RethCallerSession) Paused() (bool, error) + func (_Reth *RethCallerSession) Symbol() (string, error) + func (_Reth *RethCallerSession) TotalSupply() (*big.Int, error) + func (_Reth *RethCallerSession) Version() (uint8, error) + type RethEtherDeposited struct + Amount *big.Int + From common.Address + Raw types.Log + Time *big.Int + type RethEtherDepositedIterator struct + Event *RethEtherDeposited + func (it *RethEtherDepositedIterator) Close() error + func (it *RethEtherDepositedIterator) Error() error + func (it *RethEtherDepositedIterator) Next() bool + type RethFilterer struct + func NewRethFilterer(address common.Address, filterer bind.ContractFilterer) (*RethFilterer, error) + func (_Reth *RethFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*RethApprovalIterator, error) + func (_Reth *RethFilterer) FilterEtherDeposited(opts *bind.FilterOpts, from []common.Address) (*RethEtherDepositedIterator, error) + func (_Reth *RethFilterer) FilterPaused(opts *bind.FilterOpts) (*RethPausedIterator, error) + func (_Reth *RethFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*RethRoleAdminChangedIterator, error) + func (_Reth *RethFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*RethRoleGrantedIterator, error) + func (_Reth *RethFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*RethRoleRevokedIterator, error) + func (_Reth *RethFilterer) FilterTokensBurned(opts *bind.FilterOpts, from []common.Address) (*RethTokensBurnedIterator, error) + func (_Reth *RethFilterer) FilterTokensMinted(opts *bind.FilterOpts, to []common.Address) (*RethTokensMintedIterator, error) + func (_Reth *RethFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*RethTransferIterator, error) + func (_Reth *RethFilterer) FilterUnpaused(opts *bind.FilterOpts) (*RethUnpausedIterator, error) + func (_Reth *RethFilterer) ParseApproval(log types.Log) (*RethApproval, error) + func (_Reth *RethFilterer) ParseEtherDeposited(log types.Log) (*RethEtherDeposited, error) + func (_Reth *RethFilterer) ParsePaused(log types.Log) (*RethPaused, error) + func (_Reth *RethFilterer) ParseRoleAdminChanged(log types.Log) (*RethRoleAdminChanged, error) + func (_Reth *RethFilterer) ParseRoleGranted(log types.Log) (*RethRoleGranted, error) + func (_Reth *RethFilterer) ParseRoleRevoked(log types.Log) (*RethRoleRevoked, error) + func (_Reth *RethFilterer) ParseTokensBurned(log types.Log) (*RethTokensBurned, error) + func (_Reth *RethFilterer) ParseTokensMinted(log types.Log) (*RethTokensMinted, error) + func (_Reth *RethFilterer) ParseTransfer(log types.Log) (*RethTransfer, error) + func (_Reth *RethFilterer) ParseUnpaused(log types.Log) (*RethUnpaused, error) + func (_Reth *RethFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *RethApproval, owner []common.Address, ...) (event.Subscription, error) + func (_Reth *RethFilterer) WatchEtherDeposited(opts *bind.WatchOpts, sink chan<- *RethEtherDeposited, from []common.Address) (event.Subscription, error) + func (_Reth *RethFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *RethPaused) (event.Subscription, error) + func (_Reth *RethFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *RethRoleAdminChanged, role [][32]byte, ...) (event.Subscription, error) + func (_Reth *RethFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *RethRoleGranted, role [][32]byte, ...) (event.Subscription, error) + func (_Reth *RethFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *RethRoleRevoked, role [][32]byte, ...) (event.Subscription, error) + func (_Reth *RethFilterer) WatchTokensBurned(opts *bind.WatchOpts, sink chan<- *RethTokensBurned, from []common.Address) (event.Subscription, error) + func (_Reth *RethFilterer) WatchTokensMinted(opts *bind.WatchOpts, sink chan<- *RethTokensMinted, to []common.Address) (event.Subscription, error) + func (_Reth *RethFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *RethTransfer, from []common.Address, ...) (event.Subscription, error) + func (_Reth *RethFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *RethUnpaused) (event.Subscription, error) + type RethPaused struct + Account common.Address + Raw types.Log + type RethPausedIterator struct + Event *RethPaused + func (it *RethPausedIterator) Close() error + func (it *RethPausedIterator) Error() error + func (it *RethPausedIterator) Next() bool + type RethRaw struct + Contract *Reth + func (_Reth *RethRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_Reth *RethRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Reth *RethRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type RethRoleAdminChanged struct + NewAdminRole [32]byte + PreviousAdminRole [32]byte + Raw types.Log + Role [32]byte + type RethRoleAdminChangedIterator struct + Event *RethRoleAdminChanged + func (it *RethRoleAdminChangedIterator) Close() error + func (it *RethRoleAdminChangedIterator) Error() error + func (it *RethRoleAdminChangedIterator) Next() bool + type RethRoleGranted struct + Account common.Address + Raw types.Log + Role [32]byte + Sender common.Address + type RethRoleGrantedIterator struct + Event *RethRoleGranted + func (it *RethRoleGrantedIterator) Close() error + func (it *RethRoleGrantedIterator) Error() error + func (it *RethRoleGrantedIterator) Next() bool + type RethRoleRevoked struct + Account common.Address + Raw types.Log + Role [32]byte + Sender common.Address + type RethRoleRevokedIterator struct + Event *RethRoleRevoked + func (it *RethRoleRevokedIterator) Close() error + func (it *RethRoleRevokedIterator) Error() error + func (it *RethRoleRevokedIterator) Next() bool + type RethSession struct + CallOpts bind.CallOpts + Contract *Reth + TransactOpts bind.TransactOpts + func (_Reth *RethSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error) + func (_Reth *RethSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error) + func (_Reth *RethSession) BalanceOf(account common.Address) (*big.Int, error) + func (_Reth *RethSession) Burn(amount *big.Int) (*types.Transaction, error) + func (_Reth *RethSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error) + func (_Reth *RethSession) DEFAULTADMINROLE() ([32]byte, error) + func (_Reth *RethSession) Decimals() (uint8, error) + func (_Reth *RethSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error) + func (_Reth *RethSession) DepositExcess() (*types.Transaction, error) + func (_Reth *RethSession) DepositRewards() (*types.Transaction, error) + func (_Reth *RethSession) GetBurnEnabled() (bool, error) + func (_Reth *RethSession) GetCollateralRate() (*big.Int, error) + func (_Reth *RethSession) GetEthValue(_rethAmount *big.Int) (*big.Int, error) + func (_Reth *RethSession) GetExchangeRate() (*big.Int, error) + func (_Reth *RethSession) GetRethValue(_ethAmount *big.Int) (*big.Int, error) + func (_Reth *RethSession) GetRoleAdmin(role [32]byte) ([32]byte, error) + func (_Reth *RethSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error) + func (_Reth *RethSession) GetRoleMemberCount(role [32]byte) (*big.Int, error) + func (_Reth *RethSession) GetTotalCollateral() (*big.Int, error) + func (_Reth *RethSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error) + func (_Reth *RethSession) HasRole(role [32]byte, account common.Address) (bool, error) + func (_Reth *RethSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error) + func (_Reth *RethSession) MINTERROLE() ([32]byte, error) + func (_Reth *RethSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error) + func (_Reth *RethSession) Name() (string, error) + func (_Reth *RethSession) PAUSERROLE() ([32]byte, error) + func (_Reth *RethSession) Pause() (*types.Transaction, error) + func (_Reth *RethSession) Paused() (bool, error) + func (_Reth *RethSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error) + func (_Reth *RethSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error) + func (_Reth *RethSession) SetBurnEnabled(_value bool) (*types.Transaction, error) + func (_Reth *RethSession) Symbol() (string, error) + func (_Reth *RethSession) TotalSupply() (*big.Int, error) + func (_Reth *RethSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error) + func (_Reth *RethSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error) + func (_Reth *RethSession) Unpause() (*types.Transaction, error) + func (_Reth *RethSession) UserBurn(_rethAmount *big.Int) (*types.Transaction, error) + func (_Reth *RethSession) UserMint(_ethAmount *big.Int, _to common.Address) (*types.Transaction, error) + func (_Reth *RethSession) Version() (uint8, error) + type RethTokensBurned struct + Amount *big.Int + EthAmount *big.Int + From common.Address + Raw types.Log + Time *big.Int + type RethTokensBurnedIterator struct + Event *RethTokensBurned + func (it *RethTokensBurnedIterator) Close() error + func (it *RethTokensBurnedIterator) Error() error + func (it *RethTokensBurnedIterator) Next() bool + type RethTokensMinted struct + Amount *big.Int + EthAmount *big.Int + Raw types.Log + Time *big.Int + To common.Address + type RethTokensMintedIterator struct + Event *RethTokensMinted + func (it *RethTokensMintedIterator) Close() error + func (it *RethTokensMintedIterator) Error() error + func (it *RethTokensMintedIterator) Next() bool + type RethTransactor struct + func NewRethTransactor(address common.Address, transactor bind.ContractTransactor) (*RethTransactor, error) + func (_Reth *RethTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error) + func (_Reth *RethTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error) + func (_Reth *RethTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error) + func (_Reth *RethTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error) + func (_Reth *RethTransactor) DepositExcess(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Reth *RethTransactor) DepositRewards(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Reth *RethTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error) + func (_Reth *RethTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error) + func (_Reth *RethTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error) + func (_Reth *RethTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Reth *RethTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error) + func (_Reth *RethTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error) + func (_Reth *RethTransactor) SetBurnEnabled(opts *bind.TransactOpts, _value bool) (*types.Transaction, error) + func (_Reth *RethTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error) + func (_Reth *RethTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error) + func (_Reth *RethTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Reth *RethTransactor) UserBurn(opts *bind.TransactOpts, _rethAmount *big.Int) (*types.Transaction, error) + func (_Reth *RethTransactor) UserMint(opts *bind.TransactOpts, _ethAmount *big.Int, _to common.Address) (*types.Transaction, error) + type RethTransactorRaw struct + Contract *RethTransactor + func (_Reth *RethTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Reth *RethTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type RethTransactorSession struct + Contract *RethTransactor + TransactOpts bind.TransactOpts + func (_Reth *RethTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error) + func (_Reth *RethTransactorSession) Burn(amount *big.Int) (*types.Transaction, error) + func (_Reth *RethTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error) + func (_Reth *RethTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error) + func (_Reth *RethTransactorSession) DepositExcess() (*types.Transaction, error) + func (_Reth *RethTransactorSession) DepositRewards() (*types.Transaction, error) + func (_Reth *RethTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error) + func (_Reth *RethTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error) + func (_Reth *RethTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error) + func (_Reth *RethTransactorSession) Pause() (*types.Transaction, error) + func (_Reth *RethTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error) + func (_Reth *RethTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error) + func (_Reth *RethTransactorSession) SetBurnEnabled(_value bool) (*types.Transaction, error) + func (_Reth *RethTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error) + func (_Reth *RethTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error) + func (_Reth *RethTransactorSession) Unpause() (*types.Transaction, error) + func (_Reth *RethTransactorSession) UserBurn(_rethAmount *big.Int) (*types.Transaction, error) + func (_Reth *RethTransactorSession) UserMint(_ethAmount *big.Int, _to common.Address) (*types.Transaction, error) + type RethTransfer struct + From common.Address + Raw types.Log + To common.Address + Value *big.Int + type RethTransferIterator struct + Event *RethTransfer + func (it *RethTransferIterator) Close() error + func (it *RethTransferIterator) Error() error + func (it *RethTransferIterator) Next() bool + type RethUnpaused struct + Account common.Address + Raw types.Log + type RethUnpausedIterator struct + Event *RethUnpaused + func (it *RethUnpausedIterator) Close() error + func (it *RethUnpausedIterator) Error() error + func (it *RethUnpausedIterator) Next() bool