Documentation ¶
Index ¶
- Variables
- type Benqisavax
- type BenqisavaxCaller
- func (_Benqisavax *BenqisavaxCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCaller) CooldownPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Benqisavax *BenqisavaxCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Benqisavax *BenqisavaxCaller) GetPooledAvaxByShares(opts *bind.CallOpts, shareAmount *big.Int) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_Benqisavax *BenqisavaxCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
- func (_Benqisavax *BenqisavaxCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCaller) GetSharesByPooledAvax(opts *bind.CallOpts, avaxAmount *big.Int) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCaller) GetUnlockRequestCount(opts *bind.CallOpts, user common.Address) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_Benqisavax *BenqisavaxCaller) HistoricalExchangeRateTimestamps(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCaller) HistoricalExchangeRatesByTimestamp(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCaller) MintingPaused(opts *bind.CallOpts) (bool, error)
- func (_Benqisavax *BenqisavaxCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Benqisavax *BenqisavaxCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_Benqisavax *BenqisavaxCaller) ROLEACCRUEREWARDS(opts *bind.CallOpts) ([32]byte, error)
- func (_Benqisavax *BenqisavaxCaller) ROLEDEPOSIT(opts *bind.CallOpts) ([32]byte, error)
- func (_Benqisavax *BenqisavaxCaller) ROLEPAUSE(opts *bind.CallOpts) ([32]byte, error)
- func (_Benqisavax *BenqisavaxCaller) ROLEPAUSEMINTING(opts *bind.CallOpts) ([32]byte, error)
- func (_Benqisavax *BenqisavaxCaller) ROLERESUME(opts *bind.CallOpts) ([32]byte, error)
- func (_Benqisavax *BenqisavaxCaller) ROLERESUMEMINTING(opts *bind.CallOpts) ([32]byte, error)
- func (_Benqisavax *BenqisavaxCaller) ROLESETTOTALPOOLEDAVAXCAP(opts *bind.CallOpts) ([32]byte, error)
- func (_Benqisavax *BenqisavaxCaller) ROLEWITHDRAW(opts *bind.CallOpts) ([32]byte, error)
- func (_Benqisavax *BenqisavaxCaller) RedeemPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCaller) StakerCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Benqisavax *BenqisavaxCaller) TotalPooledAvax(opts *bind.CallOpts) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCaller) TotalPooledAvaxCap(opts *bind.CallOpts) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCaller) TotalShares(opts *bind.CallOpts) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCaller) UserSharesInCustody(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCaller) UserUnlockRequests(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- type BenqisavaxCallerRaw
- type BenqisavaxCallerSession
- func (_Benqisavax *BenqisavaxCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCallerSession) CooldownPeriod() (*big.Int, error)
- func (_Benqisavax *BenqisavaxCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Benqisavax *BenqisavaxCallerSession) Decimals() (uint8, error)
- func (_Benqisavax *BenqisavaxCallerSession) GetPooledAvaxByShares(shareAmount *big.Int) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Benqisavax *BenqisavaxCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_Benqisavax *BenqisavaxCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCallerSession) GetSharesByPooledAvax(avaxAmount *big.Int) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCallerSession) GetUnlockRequestCount(user common.Address) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Benqisavax *BenqisavaxCallerSession) HistoricalExchangeRateTimestamps(arg0 *big.Int) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCallerSession) HistoricalExchangeRatesByTimestamp(arg0 *big.Int) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCallerSession) MintingPaused() (bool, error)
- func (_Benqisavax *BenqisavaxCallerSession) Name() (string, error)
- func (_Benqisavax *BenqisavaxCallerSession) Paused() (bool, error)
- func (_Benqisavax *BenqisavaxCallerSession) ROLEACCRUEREWARDS() ([32]byte, error)
- func (_Benqisavax *BenqisavaxCallerSession) ROLEDEPOSIT() ([32]byte, error)
- func (_Benqisavax *BenqisavaxCallerSession) ROLEPAUSE() ([32]byte, error)
- func (_Benqisavax *BenqisavaxCallerSession) ROLEPAUSEMINTING() ([32]byte, error)
- func (_Benqisavax *BenqisavaxCallerSession) ROLERESUME() ([32]byte, error)
- func (_Benqisavax *BenqisavaxCallerSession) ROLERESUMEMINTING() ([32]byte, error)
- func (_Benqisavax *BenqisavaxCallerSession) ROLESETTOTALPOOLEDAVAXCAP() ([32]byte, error)
- func (_Benqisavax *BenqisavaxCallerSession) ROLEWITHDRAW() ([32]byte, error)
- func (_Benqisavax *BenqisavaxCallerSession) RedeemPeriod() (*big.Int, error)
- func (_Benqisavax *BenqisavaxCallerSession) StakerCount() (*big.Int, error)
- func (_Benqisavax *BenqisavaxCallerSession) Symbol() (string, error)
- func (_Benqisavax *BenqisavaxCallerSession) TotalPooledAvax() (*big.Int, error)
- func (_Benqisavax *BenqisavaxCallerSession) TotalPooledAvaxCap() (*big.Int, error)
- func (_Benqisavax *BenqisavaxCallerSession) TotalShares() (*big.Int, error)
- func (_Benqisavax *BenqisavaxCallerSession) TotalSupply() (*big.Int, error)
- func (_Benqisavax *BenqisavaxCallerSession) UserSharesInCustody(arg0 common.Address) (*big.Int, error)
- func (_Benqisavax *BenqisavaxCallerSession) UserUnlockRequests(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- type BenqisavaxFilterer
- type BenqisavaxRaw
- func (_Benqisavax *BenqisavaxRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Benqisavax *BenqisavaxRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BenqisavaxSession
- func (_Benqisavax *BenqisavaxSession) AccrueRewards(amount *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Benqisavax *BenqisavaxSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Benqisavax *BenqisavaxSession) CancelPendingUnlockRequests() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) CancelRedeemableUnlockRequests() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) CancelUnlockRequest(unlockIndex *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) CooldownPeriod() (*big.Int, error)
- func (_Benqisavax *BenqisavaxSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Benqisavax *BenqisavaxSession) Decimals() (uint8, error)
- func (_Benqisavax *BenqisavaxSession) Deposit() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) GetPooledAvaxByShares(shareAmount *big.Int) (*big.Int, error)
- func (_Benqisavax *BenqisavaxSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Benqisavax *BenqisavaxSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_Benqisavax *BenqisavaxSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_Benqisavax *BenqisavaxSession) GetSharesByPooledAvax(avaxAmount *big.Int) (*big.Int, error)
- func (_Benqisavax *BenqisavaxSession) GetUnlockRequestCount(user common.Address) (*big.Int, error)
- func (_Benqisavax *BenqisavaxSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Benqisavax *BenqisavaxSession) HistoricalExchangeRateTimestamps(arg0 *big.Int) (*big.Int, error)
- func (_Benqisavax *BenqisavaxSession) HistoricalExchangeRatesByTimestamp(arg0 *big.Int) (*big.Int, error)
- func (_Benqisavax *BenqisavaxSession) Initialize(_cooldownPeriod *big.Int, _redeemPeriod *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) MintingPaused() (bool, error)
- func (_Benqisavax *BenqisavaxSession) Name() (string, error)
- func (_Benqisavax *BenqisavaxSession) Pause() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) PauseMinting() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) Paused() (bool, error)
- func (_Benqisavax *BenqisavaxSession) ROLEACCRUEREWARDS() ([32]byte, error)
- func (_Benqisavax *BenqisavaxSession) ROLEDEPOSIT() ([32]byte, error)
- func (_Benqisavax *BenqisavaxSession) ROLEPAUSE() ([32]byte, error)
- func (_Benqisavax *BenqisavaxSession) ROLEPAUSEMINTING() ([32]byte, error)
- func (_Benqisavax *BenqisavaxSession) ROLERESUME() ([32]byte, error)
- func (_Benqisavax *BenqisavaxSession) ROLERESUMEMINTING() ([32]byte, error)
- func (_Benqisavax *BenqisavaxSession) ROLESETTOTALPOOLEDAVAXCAP() ([32]byte, error)
- func (_Benqisavax *BenqisavaxSession) ROLEWITHDRAW() ([32]byte, error)
- func (_Benqisavax *BenqisavaxSession) Redeem() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) Redeem0(unlockIndex *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) RedeemOverdueShares() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) RedeemOverdueShares0(unlockIndex *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) RedeemPeriod() (*big.Int, error)
- func (_Benqisavax *BenqisavaxSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) RequestUnlock(shareAmount *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) Resume() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) ResumeMinting() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) SetCooldownPeriod(newCooldownPeriod *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) SetRedeemPeriod(newRedeemPeriod *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) SetTotalPooledAvaxCap(newTotalPooledAvaxCap *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) StakerCount() (*big.Int, error)
- func (_Benqisavax *BenqisavaxSession) Submit() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) Symbol() (string, error)
- func (_Benqisavax *BenqisavaxSession) TotalPooledAvax() (*big.Int, error)
- func (_Benqisavax *BenqisavaxSession) TotalPooledAvaxCap() (*big.Int, error)
- func (_Benqisavax *BenqisavaxSession) TotalShares() (*big.Int, error)
- func (_Benqisavax *BenqisavaxSession) TotalSupply() (*big.Int, error)
- func (_Benqisavax *BenqisavaxSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxSession) UserSharesInCustody(arg0 common.Address) (*big.Int, error)
- func (_Benqisavax *BenqisavaxSession) UserUnlockRequests(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- func (_Benqisavax *BenqisavaxSession) Withdraw(amount *big.Int) (*types.Transaction, error)
- type BenqisavaxTransactor
- func (_Benqisavax *BenqisavaxTransactor) AccrueRewards(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) CancelPendingUnlockRequests(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) CancelRedeemableUnlockRequests(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) CancelUnlockRequest(opts *bind.TransactOpts, unlockIndex *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) Initialize(opts *bind.TransactOpts, _cooldownPeriod *big.Int, _redeemPeriod *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) PauseMinting(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) Redeem(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) Redeem0(opts *bind.TransactOpts, unlockIndex *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) RedeemOverdueShares(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) RedeemOverdueShares0(opts *bind.TransactOpts, unlockIndex *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) RequestUnlock(opts *bind.TransactOpts, shareAmount *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) Resume(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) ResumeMinting(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) SetCooldownPeriod(opts *bind.TransactOpts, newCooldownPeriod *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) SetRedeemPeriod(opts *bind.TransactOpts, newRedeemPeriod *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) SetTotalPooledAvaxCap(opts *bind.TransactOpts, newTotalPooledAvaxCap *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) Submit(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- type BenqisavaxTransactorRaw
- type BenqisavaxTransactorSession
- func (_Benqisavax *BenqisavaxTransactorSession) AccrueRewards(amount *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) CancelPendingUnlockRequests() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) CancelRedeemableUnlockRequests() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) CancelUnlockRequest(unlockIndex *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) Deposit() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) Initialize(_cooldownPeriod *big.Int, _redeemPeriod *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) Pause() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) PauseMinting() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) Redeem() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) Redeem0(unlockIndex *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) RedeemOverdueShares() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) RedeemOverdueShares0(unlockIndex *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) RequestUnlock(shareAmount *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) Resume() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) ResumeMinting() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) SetCooldownPeriod(newCooldownPeriod *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) SetRedeemPeriod(newRedeemPeriod *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) SetTotalPooledAvaxCap(newTotalPooledAvaxCap *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) Submit() (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Benqisavax *BenqisavaxTransactorSession) Withdraw(amount *big.Int) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var BenqisavaxABI = BenqisavaxMetaData.ABI
BenqisavaxABI is the input ABI used to generate the binding from. Deprecated: Use BenqisavaxMetaData.ABI instead.
var BenqisavaxMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ROLE_ACCRUE_REWARDS\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ROLE_DEPOSIT\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ROLE_PAUSE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ROLE_PAUSE_MINTING\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ROLE_RESUME\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ROLE_RESUME_MINTING\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ROLE_SET_TOTAL_POOLED_AVAX_CAP\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ROLE_WITHDRAW\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"accrueRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelPendingUnlockRequests\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelRedeemableUnlockRequests\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"unlockIndex\",\"type\":\"uint256\"}],\"name\":\"cancelUnlockRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cooldownPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shareAmount\",\"type\":\"uint256\"}],\"name\":\"getPooledAvaxByShares\",\"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\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"avaxAmount\",\"type\":\"uint256\"}],\"name\":\"getSharesByPooledAvax\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getUnlockRequestCount\",\"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\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"historicalExchangeRateTimestamps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"historicalExchangeRatesByTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_cooldownPeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_redeemPeriod\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mintingPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pauseMinting\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"redeem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"unlockIndex\",\"type\":\"uint256\"}],\"name\":\"redeem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"redeemOverdueShares\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"unlockIndex\",\"type\":\"uint256\"}],\"name\":\"redeemOverdueShares\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"redeemPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"shareAmount\",\"type\":\"uint256\"}],\"name\":\"requestUnlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"resume\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"resumeMinting\",\"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\":\"uint256\",\"name\":\"newCooldownPeriod\",\"type\":\"uint256\"}],\"name\":\"setCooldownPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newRedeemPeriod\",\"type\":\"uint256\"}],\"name\":\"setRedeemPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newTotalPooledAvaxCap\",\"type\":\"uint256\"}],\"name\":\"setTotalPooledAvaxCap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stakerCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"submit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalPooledAvax\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalPooledAvaxCap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userSharesInCustody\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"userUnlockRequests\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"startedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"shareAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
BenqisavaxMetaData contains all meta data concerning the Benqisavax contract.
Functions ¶
This section is empty.
Types ¶
type Benqisavax ¶
type Benqisavax struct { BenqisavaxCaller // Read-only binding to the contract BenqisavaxTransactor // Write-only binding to the contract BenqisavaxFilterer // Log filterer for contract events }
Benqisavax is an auto generated Go binding around an Ethereum contract.
func NewBenqisavax ¶
func NewBenqisavax(address common.Address, backend bind.ContractBackend) (*Benqisavax, error)
NewBenqisavax creates a new instance of Benqisavax, bound to a specific deployed contract.
type BenqisavaxCaller ¶
type BenqisavaxCaller struct {
// contains filtered or unexported fields
}
BenqisavaxCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBenqisavaxCaller ¶
func NewBenqisavaxCaller(address common.Address, caller bind.ContractCaller) (*BenqisavaxCaller, error)
NewBenqisavaxCaller creates a new read-only instance of Benqisavax, bound to a specific deployed contract.
func (*BenqisavaxCaller) Allowance ¶
func (_Benqisavax *BenqisavaxCaller) 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 (*BenqisavaxCaller) BalanceOf ¶
func (_Benqisavax *BenqisavaxCaller) 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 (*BenqisavaxCaller) CooldownPeriod ¶
CooldownPeriod is a free data retrieval call binding the contract method 0x04646a49.
Solidity: function cooldownPeriod() view returns(uint256)
func (*BenqisavaxCaller) DEFAULTADMINROLE ¶
func (_Benqisavax *BenqisavaxCaller) 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 (*BenqisavaxCaller) Decimals ¶
func (_Benqisavax *BenqisavaxCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*BenqisavaxCaller) GetPooledAvaxByShares ¶
func (_Benqisavax *BenqisavaxCaller) GetPooledAvaxByShares(opts *bind.CallOpts, shareAmount *big.Int) (*big.Int, error)
GetPooledAvaxByShares is a free data retrieval call binding the contract method 0x4a36d6c1.
Solidity: function getPooledAvaxByShares(uint256 shareAmount) view returns(uint256)
func (*BenqisavaxCaller) GetRoleAdmin ¶
func (_Benqisavax *BenqisavaxCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*BenqisavaxCaller) GetRoleMember ¶
func (_Benqisavax *BenqisavaxCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*BenqisavaxCaller) GetRoleMemberCount ¶
func (_Benqisavax *BenqisavaxCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*BenqisavaxCaller) GetSharesByPooledAvax ¶
func (_Benqisavax *BenqisavaxCaller) GetSharesByPooledAvax(opts *bind.CallOpts, avaxAmount *big.Int) (*big.Int, error)
GetSharesByPooledAvax is a free data retrieval call binding the contract method 0xf1ee8d92.
Solidity: function getSharesByPooledAvax(uint256 avaxAmount) view returns(uint256)
func (*BenqisavaxCaller) GetUnlockRequestCount ¶
func (_Benqisavax *BenqisavaxCaller) GetUnlockRequestCount(opts *bind.CallOpts, user common.Address) (*big.Int, error)
GetUnlockRequestCount is a free data retrieval call binding the contract method 0xc423f9a8.
Solidity: function getUnlockRequestCount(address user) view returns(uint256)
func (*BenqisavaxCaller) HasRole ¶
func (_Benqisavax *BenqisavaxCaller) 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 (*BenqisavaxCaller) HistoricalExchangeRateTimestamps ¶
func (_Benqisavax *BenqisavaxCaller) HistoricalExchangeRateTimestamps(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
HistoricalExchangeRateTimestamps is a free data retrieval call binding the contract method 0x1b2b3a2f.
Solidity: function historicalExchangeRateTimestamps(uint256 ) view returns(uint256)
func (*BenqisavaxCaller) HistoricalExchangeRatesByTimestamp ¶
func (_Benqisavax *BenqisavaxCaller) HistoricalExchangeRatesByTimestamp(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
HistoricalExchangeRatesByTimestamp is a free data retrieval call binding the contract method 0x0a732ce6.
Solidity: function historicalExchangeRatesByTimestamp(uint256 ) view returns(uint256)
func (*BenqisavaxCaller) MintingPaused ¶
func (_Benqisavax *BenqisavaxCaller) MintingPaused(opts *bind.CallOpts) (bool, error)
MintingPaused is a free data retrieval call binding the contract method 0xe1a283d6.
Solidity: function mintingPaused() view returns(bool)
func (*BenqisavaxCaller) Name ¶
func (_Benqisavax *BenqisavaxCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() pure returns(string)
func (*BenqisavaxCaller) Paused ¶
func (_Benqisavax *BenqisavaxCaller) 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 (*BenqisavaxCaller) ROLEACCRUEREWARDS ¶
func (_Benqisavax *BenqisavaxCaller) ROLEACCRUEREWARDS(opts *bind.CallOpts) ([32]byte, error)
ROLEACCRUEREWARDS is a free data retrieval call binding the contract method 0xa905ff93.
Solidity: function ROLE_ACCRUE_REWARDS() view returns(bytes32)
func (*BenqisavaxCaller) ROLEDEPOSIT ¶
func (_Benqisavax *BenqisavaxCaller) ROLEDEPOSIT(opts *bind.CallOpts) ([32]byte, error)
ROLEDEPOSIT is a free data retrieval call binding the contract method 0xc2d78654.
Solidity: function ROLE_DEPOSIT() view returns(bytes32)
func (*BenqisavaxCaller) ROLEPAUSE ¶
func (_Benqisavax *BenqisavaxCaller) ROLEPAUSE(opts *bind.CallOpts) ([32]byte, error)
ROLEPAUSE is a free data retrieval call binding the contract method 0x4ff0241a.
Solidity: function ROLE_PAUSE() view returns(bytes32)
func (*BenqisavaxCaller) ROLEPAUSEMINTING ¶
func (_Benqisavax *BenqisavaxCaller) ROLEPAUSEMINTING(opts *bind.CallOpts) ([32]byte, error)
ROLEPAUSEMINTING is a free data retrieval call binding the contract method 0x3fc777b3.
Solidity: function ROLE_PAUSE_MINTING() view returns(bytes32)
func (*BenqisavaxCaller) ROLERESUME ¶
func (_Benqisavax *BenqisavaxCaller) ROLERESUME(opts *bind.CallOpts) ([32]byte, error)
ROLERESUME is a free data retrieval call binding the contract method 0xc1db6588.
Solidity: function ROLE_RESUME() view returns(bytes32)
func (*BenqisavaxCaller) ROLERESUMEMINTING ¶
func (_Benqisavax *BenqisavaxCaller) ROLERESUMEMINTING(opts *bind.CallOpts) ([32]byte, error)
ROLERESUMEMINTING is a free data retrieval call binding the contract method 0x1ab8ab25.
Solidity: function ROLE_RESUME_MINTING() view returns(bytes32)
func (*BenqisavaxCaller) ROLESETTOTALPOOLEDAVAXCAP ¶
func (_Benqisavax *BenqisavaxCaller) ROLESETTOTALPOOLEDAVAXCAP(opts *bind.CallOpts) ([32]byte, error)
ROLESETTOTALPOOLEDAVAXCAP is a free data retrieval call binding the contract method 0x4757c0d2.
Solidity: function ROLE_SET_TOTAL_POOLED_AVAX_CAP() view returns(bytes32)
func (*BenqisavaxCaller) ROLEWITHDRAW ¶
func (_Benqisavax *BenqisavaxCaller) ROLEWITHDRAW(opts *bind.CallOpts) ([32]byte, error)
ROLEWITHDRAW is a free data retrieval call binding the contract method 0x4b7e23dc.
Solidity: function ROLE_WITHDRAW() view returns(bytes32)
func (*BenqisavaxCaller) RedeemPeriod ¶
RedeemPeriod is a free data retrieval call binding the contract method 0x40a233a6.
Solidity: function redeemPeriod() view returns(uint256)
func (*BenqisavaxCaller) StakerCount ¶
StakerCount is a free data retrieval call binding the contract method 0xdff69787.
Solidity: function stakerCount() view returns(uint256)
func (*BenqisavaxCaller) Symbol ¶
func (_Benqisavax *BenqisavaxCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() pure returns(string)
func (*BenqisavaxCaller) TotalPooledAvax ¶
TotalPooledAvax is a free data retrieval call binding the contract method 0x629e8056.
Solidity: function totalPooledAvax() view returns(uint256)
func (*BenqisavaxCaller) TotalPooledAvaxCap ¶
TotalPooledAvaxCap is a free data retrieval call binding the contract method 0x5cd47487.
Solidity: function totalPooledAvaxCap() view returns(uint256)
func (*BenqisavaxCaller) TotalShares ¶
TotalShares is a free data retrieval call binding the contract method 0x3a98ef39.
Solidity: function totalShares() view returns(uint256)
func (*BenqisavaxCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BenqisavaxCaller) UserSharesInCustody ¶
func (_Benqisavax *BenqisavaxCaller) UserSharesInCustody(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
UserSharesInCustody is a free data retrieval call binding the contract method 0x5d039525.
Solidity: function userSharesInCustody(address ) view returns(uint256)
func (*BenqisavaxCaller) UserUnlockRequests ¶
func (_Benqisavax *BenqisavaxCaller) UserUnlockRequests(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct { StartedAt *big.Int ShareAmount *big.Int }, error)
UserUnlockRequests is a free data retrieval call binding the contract method 0xfd012e34.
Solidity: function userUnlockRequests(address , uint256 ) view returns(uint256 startedAt, uint256 shareAmount)
type BenqisavaxCallerRaw ¶
type BenqisavaxCallerRaw struct {
Contract *BenqisavaxCaller // Generic read-only contract binding to access the raw methods on
}
BenqisavaxCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BenqisavaxCallerRaw) Call ¶
func (_Benqisavax *BenqisavaxCallerRaw) 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 BenqisavaxCallerSession ¶
type BenqisavaxCallerSession struct { Contract *BenqisavaxCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BenqisavaxCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BenqisavaxCallerSession) Allowance ¶
func (_Benqisavax *BenqisavaxCallerSession) 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 (*BenqisavaxCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*BenqisavaxCallerSession) CooldownPeriod ¶
func (_Benqisavax *BenqisavaxCallerSession) CooldownPeriod() (*big.Int, error)
CooldownPeriod is a free data retrieval call binding the contract method 0x04646a49.
Solidity: function cooldownPeriod() view returns(uint256)
func (*BenqisavaxCallerSession) DEFAULTADMINROLE ¶
func (_Benqisavax *BenqisavaxCallerSession) 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 (*BenqisavaxCallerSession) Decimals ¶
func (_Benqisavax *BenqisavaxCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*BenqisavaxCallerSession) GetPooledAvaxByShares ¶
func (_Benqisavax *BenqisavaxCallerSession) GetPooledAvaxByShares(shareAmount *big.Int) (*big.Int, error)
GetPooledAvaxByShares is a free data retrieval call binding the contract method 0x4a36d6c1.
Solidity: function getPooledAvaxByShares(uint256 shareAmount) view returns(uint256)
func (*BenqisavaxCallerSession) GetRoleAdmin ¶
func (_Benqisavax *BenqisavaxCallerSession) 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 (*BenqisavaxCallerSession) GetRoleMember ¶
func (_Benqisavax *BenqisavaxCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*BenqisavaxCallerSession) GetRoleMemberCount ¶
func (_Benqisavax *BenqisavaxCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*BenqisavaxCallerSession) GetSharesByPooledAvax ¶
func (_Benqisavax *BenqisavaxCallerSession) GetSharesByPooledAvax(avaxAmount *big.Int) (*big.Int, error)
GetSharesByPooledAvax is a free data retrieval call binding the contract method 0xf1ee8d92.
Solidity: function getSharesByPooledAvax(uint256 avaxAmount) view returns(uint256)
func (*BenqisavaxCallerSession) GetUnlockRequestCount ¶
func (_Benqisavax *BenqisavaxCallerSession) GetUnlockRequestCount(user common.Address) (*big.Int, error)
GetUnlockRequestCount is a free data retrieval call binding the contract method 0xc423f9a8.
Solidity: function getUnlockRequestCount(address user) view returns(uint256)
func (*BenqisavaxCallerSession) HasRole ¶
func (_Benqisavax *BenqisavaxCallerSession) 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 (*BenqisavaxCallerSession) HistoricalExchangeRateTimestamps ¶
func (_Benqisavax *BenqisavaxCallerSession) HistoricalExchangeRateTimestamps(arg0 *big.Int) (*big.Int, error)
HistoricalExchangeRateTimestamps is a free data retrieval call binding the contract method 0x1b2b3a2f.
Solidity: function historicalExchangeRateTimestamps(uint256 ) view returns(uint256)
func (*BenqisavaxCallerSession) HistoricalExchangeRatesByTimestamp ¶
func (_Benqisavax *BenqisavaxCallerSession) HistoricalExchangeRatesByTimestamp(arg0 *big.Int) (*big.Int, error)
HistoricalExchangeRatesByTimestamp is a free data retrieval call binding the contract method 0x0a732ce6.
Solidity: function historicalExchangeRatesByTimestamp(uint256 ) view returns(uint256)
func (*BenqisavaxCallerSession) MintingPaused ¶
func (_Benqisavax *BenqisavaxCallerSession) MintingPaused() (bool, error)
MintingPaused is a free data retrieval call binding the contract method 0xe1a283d6.
Solidity: function mintingPaused() view returns(bool)
func (*BenqisavaxCallerSession) Name ¶
func (_Benqisavax *BenqisavaxCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() pure returns(string)
func (*BenqisavaxCallerSession) Paused ¶
func (_Benqisavax *BenqisavaxCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*BenqisavaxCallerSession) ROLEACCRUEREWARDS ¶
func (_Benqisavax *BenqisavaxCallerSession) ROLEACCRUEREWARDS() ([32]byte, error)
ROLEACCRUEREWARDS is a free data retrieval call binding the contract method 0xa905ff93.
Solidity: function ROLE_ACCRUE_REWARDS() view returns(bytes32)
func (*BenqisavaxCallerSession) ROLEDEPOSIT ¶
func (_Benqisavax *BenqisavaxCallerSession) ROLEDEPOSIT() ([32]byte, error)
ROLEDEPOSIT is a free data retrieval call binding the contract method 0xc2d78654.
Solidity: function ROLE_DEPOSIT() view returns(bytes32)
func (*BenqisavaxCallerSession) ROLEPAUSE ¶
func (_Benqisavax *BenqisavaxCallerSession) ROLEPAUSE() ([32]byte, error)
ROLEPAUSE is a free data retrieval call binding the contract method 0x4ff0241a.
Solidity: function ROLE_PAUSE() view returns(bytes32)
func (*BenqisavaxCallerSession) ROLEPAUSEMINTING ¶
func (_Benqisavax *BenqisavaxCallerSession) ROLEPAUSEMINTING() ([32]byte, error)
ROLEPAUSEMINTING is a free data retrieval call binding the contract method 0x3fc777b3.
Solidity: function ROLE_PAUSE_MINTING() view returns(bytes32)
func (*BenqisavaxCallerSession) ROLERESUME ¶
func (_Benqisavax *BenqisavaxCallerSession) ROLERESUME() ([32]byte, error)
ROLERESUME is a free data retrieval call binding the contract method 0xc1db6588.
Solidity: function ROLE_RESUME() view returns(bytes32)
func (*BenqisavaxCallerSession) ROLERESUMEMINTING ¶
func (_Benqisavax *BenqisavaxCallerSession) ROLERESUMEMINTING() ([32]byte, error)
ROLERESUMEMINTING is a free data retrieval call binding the contract method 0x1ab8ab25.
Solidity: function ROLE_RESUME_MINTING() view returns(bytes32)
func (*BenqisavaxCallerSession) ROLESETTOTALPOOLEDAVAXCAP ¶
func (_Benqisavax *BenqisavaxCallerSession) ROLESETTOTALPOOLEDAVAXCAP() ([32]byte, error)
ROLESETTOTALPOOLEDAVAXCAP is a free data retrieval call binding the contract method 0x4757c0d2.
Solidity: function ROLE_SET_TOTAL_POOLED_AVAX_CAP() view returns(bytes32)
func (*BenqisavaxCallerSession) ROLEWITHDRAW ¶
func (_Benqisavax *BenqisavaxCallerSession) ROLEWITHDRAW() ([32]byte, error)
ROLEWITHDRAW is a free data retrieval call binding the contract method 0x4b7e23dc.
Solidity: function ROLE_WITHDRAW() view returns(bytes32)
func (*BenqisavaxCallerSession) RedeemPeriod ¶
func (_Benqisavax *BenqisavaxCallerSession) RedeemPeriod() (*big.Int, error)
RedeemPeriod is a free data retrieval call binding the contract method 0x40a233a6.
Solidity: function redeemPeriod() view returns(uint256)
func (*BenqisavaxCallerSession) StakerCount ¶
func (_Benqisavax *BenqisavaxCallerSession) StakerCount() (*big.Int, error)
StakerCount is a free data retrieval call binding the contract method 0xdff69787.
Solidity: function stakerCount() view returns(uint256)
func (*BenqisavaxCallerSession) Symbol ¶
func (_Benqisavax *BenqisavaxCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() pure returns(string)
func (*BenqisavaxCallerSession) TotalPooledAvax ¶
func (_Benqisavax *BenqisavaxCallerSession) TotalPooledAvax() (*big.Int, error)
TotalPooledAvax is a free data retrieval call binding the contract method 0x629e8056.
Solidity: function totalPooledAvax() view returns(uint256)
func (*BenqisavaxCallerSession) TotalPooledAvaxCap ¶
func (_Benqisavax *BenqisavaxCallerSession) TotalPooledAvaxCap() (*big.Int, error)
TotalPooledAvaxCap is a free data retrieval call binding the contract method 0x5cd47487.
Solidity: function totalPooledAvaxCap() view returns(uint256)
func (*BenqisavaxCallerSession) TotalShares ¶
func (_Benqisavax *BenqisavaxCallerSession) TotalShares() (*big.Int, error)
TotalShares is a free data retrieval call binding the contract method 0x3a98ef39.
Solidity: function totalShares() view returns(uint256)
func (*BenqisavaxCallerSession) TotalSupply ¶
func (_Benqisavax *BenqisavaxCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BenqisavaxCallerSession) UserSharesInCustody ¶
func (_Benqisavax *BenqisavaxCallerSession) UserSharesInCustody(arg0 common.Address) (*big.Int, error)
UserSharesInCustody is a free data retrieval call binding the contract method 0x5d039525.
Solidity: function userSharesInCustody(address ) view returns(uint256)
func (*BenqisavaxCallerSession) UserUnlockRequests ¶
func (_Benqisavax *BenqisavaxCallerSession) UserUnlockRequests(arg0 common.Address, arg1 *big.Int) (struct { StartedAt *big.Int ShareAmount *big.Int }, error)
UserUnlockRequests is a free data retrieval call binding the contract method 0xfd012e34.
Solidity: function userUnlockRequests(address , uint256 ) view returns(uint256 startedAt, uint256 shareAmount)
type BenqisavaxFilterer ¶
type BenqisavaxFilterer struct {
// contains filtered or unexported fields
}
BenqisavaxFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBenqisavaxFilterer ¶
func NewBenqisavaxFilterer(address common.Address, filterer bind.ContractFilterer) (*BenqisavaxFilterer, error)
NewBenqisavaxFilterer creates a new log filterer instance of Benqisavax, bound to a specific deployed contract.
type BenqisavaxRaw ¶
type BenqisavaxRaw struct {
Contract *Benqisavax // Generic contract binding to access the raw methods on
}
BenqisavaxRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BenqisavaxRaw) Call ¶
func (_Benqisavax *BenqisavaxRaw) 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 (*BenqisavaxRaw) Transact ¶
func (_Benqisavax *BenqisavaxRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BenqisavaxRaw) Transfer ¶
func (_Benqisavax *BenqisavaxRaw) 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 BenqisavaxSession ¶
type BenqisavaxSession struct { Contract *Benqisavax // 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 }
BenqisavaxSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BenqisavaxSession) AccrueRewards ¶
func (_Benqisavax *BenqisavaxSession) AccrueRewards(amount *big.Int) (*types.Transaction, error)
AccrueRewards is a paid mutator transaction binding the contract method 0xe1a472b9.
Solidity: function accrueRewards(uint256 amount) returns()
func (*BenqisavaxSession) Allowance ¶
func (_Benqisavax *BenqisavaxSession) 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 (*BenqisavaxSession) Approve ¶
func (_Benqisavax *BenqisavaxSession) 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 (*BenqisavaxSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*BenqisavaxSession) CancelPendingUnlockRequests ¶
func (_Benqisavax *BenqisavaxSession) CancelPendingUnlockRequests() (*types.Transaction, error)
CancelPendingUnlockRequests is a paid mutator transaction binding the contract method 0x01550f64.
Solidity: function cancelPendingUnlockRequests() returns()
func (*BenqisavaxSession) CancelRedeemableUnlockRequests ¶
func (_Benqisavax *BenqisavaxSession) CancelRedeemableUnlockRequests() (*types.Transaction, error)
CancelRedeemableUnlockRequests is a paid mutator transaction binding the contract method 0xd1f1ca04.
Solidity: function cancelRedeemableUnlockRequests() returns()
func (*BenqisavaxSession) CancelUnlockRequest ¶
func (_Benqisavax *BenqisavaxSession) CancelUnlockRequest(unlockIndex *big.Int) (*types.Transaction, error)
CancelUnlockRequest is a paid mutator transaction binding the contract method 0x1610247b.
Solidity: function cancelUnlockRequest(uint256 unlockIndex) returns()
func (*BenqisavaxSession) CooldownPeriod ¶
func (_Benqisavax *BenqisavaxSession) CooldownPeriod() (*big.Int, error)
CooldownPeriod is a free data retrieval call binding the contract method 0x04646a49.
Solidity: function cooldownPeriod() view returns(uint256)
func (*BenqisavaxSession) DEFAULTADMINROLE ¶
func (_Benqisavax *BenqisavaxSession) 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 (*BenqisavaxSession) Decimals ¶
func (_Benqisavax *BenqisavaxSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*BenqisavaxSession) Deposit ¶
func (_Benqisavax *BenqisavaxSession) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() returns()
func (*BenqisavaxSession) GetPooledAvaxByShares ¶
GetPooledAvaxByShares is a free data retrieval call binding the contract method 0x4a36d6c1.
Solidity: function getPooledAvaxByShares(uint256 shareAmount) view returns(uint256)
func (*BenqisavaxSession) GetRoleAdmin ¶
func (_Benqisavax *BenqisavaxSession) 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 (*BenqisavaxSession) GetRoleMember ¶
func (_Benqisavax *BenqisavaxSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*BenqisavaxSession) GetRoleMemberCount ¶
func (_Benqisavax *BenqisavaxSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*BenqisavaxSession) GetSharesByPooledAvax ¶
GetSharesByPooledAvax is a free data retrieval call binding the contract method 0xf1ee8d92.
Solidity: function getSharesByPooledAvax(uint256 avaxAmount) view returns(uint256)
func (*BenqisavaxSession) GetUnlockRequestCount ¶
GetUnlockRequestCount is a free data retrieval call binding the contract method 0xc423f9a8.
Solidity: function getUnlockRequestCount(address user) view returns(uint256)
func (*BenqisavaxSession) GrantRole ¶
func (_Benqisavax *BenqisavaxSession) 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 (*BenqisavaxSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*BenqisavaxSession) HistoricalExchangeRateTimestamps ¶
func (_Benqisavax *BenqisavaxSession) HistoricalExchangeRateTimestamps(arg0 *big.Int) (*big.Int, error)
HistoricalExchangeRateTimestamps is a free data retrieval call binding the contract method 0x1b2b3a2f.
Solidity: function historicalExchangeRateTimestamps(uint256 ) view returns(uint256)
func (*BenqisavaxSession) HistoricalExchangeRatesByTimestamp ¶
func (_Benqisavax *BenqisavaxSession) HistoricalExchangeRatesByTimestamp(arg0 *big.Int) (*big.Int, error)
HistoricalExchangeRatesByTimestamp is a free data retrieval call binding the contract method 0x0a732ce6.
Solidity: function historicalExchangeRatesByTimestamp(uint256 ) view returns(uint256)
func (*BenqisavaxSession) Initialize ¶
func (_Benqisavax *BenqisavaxSession) Initialize(_cooldownPeriod *big.Int, _redeemPeriod *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xe4a30116.
Solidity: function initialize(uint256 _cooldownPeriod, uint256 _redeemPeriod) returns()
func (*BenqisavaxSession) MintingPaused ¶
func (_Benqisavax *BenqisavaxSession) MintingPaused() (bool, error)
MintingPaused is a free data retrieval call binding the contract method 0xe1a283d6.
Solidity: function mintingPaused() view returns(bool)
func (*BenqisavaxSession) Name ¶
func (_Benqisavax *BenqisavaxSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() pure returns(string)
func (*BenqisavaxSession) Pause ¶
func (_Benqisavax *BenqisavaxSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*BenqisavaxSession) PauseMinting ¶
func (_Benqisavax *BenqisavaxSession) PauseMinting() (*types.Transaction, error)
PauseMinting is a paid mutator transaction binding the contract method 0xda8fbf2a.
Solidity: function pauseMinting() returns()
func (*BenqisavaxSession) Paused ¶
func (_Benqisavax *BenqisavaxSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*BenqisavaxSession) ROLEACCRUEREWARDS ¶
func (_Benqisavax *BenqisavaxSession) ROLEACCRUEREWARDS() ([32]byte, error)
ROLEACCRUEREWARDS is a free data retrieval call binding the contract method 0xa905ff93.
Solidity: function ROLE_ACCRUE_REWARDS() view returns(bytes32)
func (*BenqisavaxSession) ROLEDEPOSIT ¶
func (_Benqisavax *BenqisavaxSession) ROLEDEPOSIT() ([32]byte, error)
ROLEDEPOSIT is a free data retrieval call binding the contract method 0xc2d78654.
Solidity: function ROLE_DEPOSIT() view returns(bytes32)
func (*BenqisavaxSession) ROLEPAUSE ¶
func (_Benqisavax *BenqisavaxSession) ROLEPAUSE() ([32]byte, error)
ROLEPAUSE is a free data retrieval call binding the contract method 0x4ff0241a.
Solidity: function ROLE_PAUSE() view returns(bytes32)
func (*BenqisavaxSession) ROLEPAUSEMINTING ¶
func (_Benqisavax *BenqisavaxSession) ROLEPAUSEMINTING() ([32]byte, error)
ROLEPAUSEMINTING is a free data retrieval call binding the contract method 0x3fc777b3.
Solidity: function ROLE_PAUSE_MINTING() view returns(bytes32)
func (*BenqisavaxSession) ROLERESUME ¶
func (_Benqisavax *BenqisavaxSession) ROLERESUME() ([32]byte, error)
ROLERESUME is a free data retrieval call binding the contract method 0xc1db6588.
Solidity: function ROLE_RESUME() view returns(bytes32)
func (*BenqisavaxSession) ROLERESUMEMINTING ¶
func (_Benqisavax *BenqisavaxSession) ROLERESUMEMINTING() ([32]byte, error)
ROLERESUMEMINTING is a free data retrieval call binding the contract method 0x1ab8ab25.
Solidity: function ROLE_RESUME_MINTING() view returns(bytes32)
func (*BenqisavaxSession) ROLESETTOTALPOOLEDAVAXCAP ¶
func (_Benqisavax *BenqisavaxSession) ROLESETTOTALPOOLEDAVAXCAP() ([32]byte, error)
ROLESETTOTALPOOLEDAVAXCAP is a free data retrieval call binding the contract method 0x4757c0d2.
Solidity: function ROLE_SET_TOTAL_POOLED_AVAX_CAP() view returns(bytes32)
func (*BenqisavaxSession) ROLEWITHDRAW ¶
func (_Benqisavax *BenqisavaxSession) ROLEWITHDRAW() ([32]byte, error)
ROLEWITHDRAW is a free data retrieval call binding the contract method 0x4b7e23dc.
Solidity: function ROLE_WITHDRAW() view returns(bytes32)
func (*BenqisavaxSession) Redeem ¶
func (_Benqisavax *BenqisavaxSession) Redeem() (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0xbe040fb0.
Solidity: function redeem() returns()
func (*BenqisavaxSession) Redeem0 ¶
func (_Benqisavax *BenqisavaxSession) Redeem0(unlockIndex *big.Int) (*types.Transaction, error)
Redeem0 is a paid mutator transaction binding the contract method 0xdb006a75.
Solidity: function redeem(uint256 unlockIndex) returns()
func (*BenqisavaxSession) RedeemOverdueShares ¶
func (_Benqisavax *BenqisavaxSession) RedeemOverdueShares() (*types.Transaction, error)
RedeemOverdueShares is a paid mutator transaction binding the contract method 0x0d10d32c.
Solidity: function redeemOverdueShares() returns()
func (*BenqisavaxSession) RedeemOverdueShares0 ¶
func (_Benqisavax *BenqisavaxSession) RedeemOverdueShares0(unlockIndex *big.Int) (*types.Transaction, error)
RedeemOverdueShares0 is a paid mutator transaction binding the contract method 0x0f7e2048.
Solidity: function redeemOverdueShares(uint256 unlockIndex) returns()
func (*BenqisavaxSession) RedeemPeriod ¶
func (_Benqisavax *BenqisavaxSession) RedeemPeriod() (*big.Int, error)
RedeemPeriod is a free data retrieval call binding the contract method 0x40a233a6.
Solidity: function redeemPeriod() view returns(uint256)
func (*BenqisavaxSession) RenounceRole ¶
func (_Benqisavax *BenqisavaxSession) 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 (*BenqisavaxSession) RequestUnlock ¶
func (_Benqisavax *BenqisavaxSession) RequestUnlock(shareAmount *big.Int) (*types.Transaction, error)
RequestUnlock is a paid mutator transaction binding the contract method 0xc9d2ff9d.
Solidity: function requestUnlock(uint256 shareAmount) returns()
func (*BenqisavaxSession) Resume ¶
func (_Benqisavax *BenqisavaxSession) Resume() (*types.Transaction, error)
Resume is a paid mutator transaction binding the contract method 0x046f7da2.
Solidity: function resume() returns()
func (*BenqisavaxSession) ResumeMinting ¶
func (_Benqisavax *BenqisavaxSession) ResumeMinting() (*types.Transaction, error)
ResumeMinting is a paid mutator transaction binding the contract method 0x59ae340e.
Solidity: function resumeMinting() returns()
func (*BenqisavaxSession) RevokeRole ¶
func (_Benqisavax *BenqisavaxSession) 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 (*BenqisavaxSession) SetCooldownPeriod ¶
func (_Benqisavax *BenqisavaxSession) SetCooldownPeriod(newCooldownPeriod *big.Int) (*types.Transaction, error)
SetCooldownPeriod is a paid mutator transaction binding the contract method 0x80ea3de1.
Solidity: function setCooldownPeriod(uint256 newCooldownPeriod) returns()
func (*BenqisavaxSession) SetRedeemPeriod ¶
func (_Benqisavax *BenqisavaxSession) SetRedeemPeriod(newRedeemPeriod *big.Int) (*types.Transaction, error)
SetRedeemPeriod is a paid mutator transaction binding the contract method 0xf0d82e84.
Solidity: function setRedeemPeriod(uint256 newRedeemPeriod) returns()
func (*BenqisavaxSession) SetTotalPooledAvaxCap ¶
func (_Benqisavax *BenqisavaxSession) SetTotalPooledAvaxCap(newTotalPooledAvaxCap *big.Int) (*types.Transaction, error)
SetTotalPooledAvaxCap is a paid mutator transaction binding the contract method 0xada03b38.
Solidity: function setTotalPooledAvaxCap(uint256 newTotalPooledAvaxCap) returns()
func (*BenqisavaxSession) StakerCount ¶
func (_Benqisavax *BenqisavaxSession) StakerCount() (*big.Int, error)
StakerCount is a free data retrieval call binding the contract method 0xdff69787.
Solidity: function stakerCount() view returns(uint256)
func (*BenqisavaxSession) Submit ¶
func (_Benqisavax *BenqisavaxSession) Submit() (*types.Transaction, error)
Submit is a paid mutator transaction binding the contract method 0x5bcb2fc6.
Solidity: function submit() payable returns(uint256)
func (*BenqisavaxSession) Symbol ¶
func (_Benqisavax *BenqisavaxSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() pure returns(string)
func (*BenqisavaxSession) TotalPooledAvax ¶
func (_Benqisavax *BenqisavaxSession) TotalPooledAvax() (*big.Int, error)
TotalPooledAvax is a free data retrieval call binding the contract method 0x629e8056.
Solidity: function totalPooledAvax() view returns(uint256)
func (*BenqisavaxSession) TotalPooledAvaxCap ¶
func (_Benqisavax *BenqisavaxSession) TotalPooledAvaxCap() (*big.Int, error)
TotalPooledAvaxCap is a free data retrieval call binding the contract method 0x5cd47487.
Solidity: function totalPooledAvaxCap() view returns(uint256)
func (*BenqisavaxSession) TotalShares ¶
func (_Benqisavax *BenqisavaxSession) TotalShares() (*big.Int, error)
TotalShares is a free data retrieval call binding the contract method 0x3a98ef39.
Solidity: function totalShares() view returns(uint256)
func (*BenqisavaxSession) TotalSupply ¶
func (_Benqisavax *BenqisavaxSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BenqisavaxSession) Transfer ¶
func (_Benqisavax *BenqisavaxSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*BenqisavaxSession) TransferFrom ¶
func (_Benqisavax *BenqisavaxSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*BenqisavaxSession) UserSharesInCustody ¶
UserSharesInCustody is a free data retrieval call binding the contract method 0x5d039525.
Solidity: function userSharesInCustody(address ) view returns(uint256)
func (*BenqisavaxSession) UserUnlockRequests ¶
func (_Benqisavax *BenqisavaxSession) UserUnlockRequests(arg0 common.Address, arg1 *big.Int) (struct { StartedAt *big.Int ShareAmount *big.Int }, error)
UserUnlockRequests is a free data retrieval call binding the contract method 0xfd012e34.
Solidity: function userUnlockRequests(address , uint256 ) view returns(uint256 startedAt, uint256 shareAmount)
func (*BenqisavaxSession) Withdraw ¶
func (_Benqisavax *BenqisavaxSession) Withdraw(amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 amount) returns()
type BenqisavaxTransactor ¶
type BenqisavaxTransactor struct {
// contains filtered or unexported fields
}
BenqisavaxTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBenqisavaxTransactor ¶
func NewBenqisavaxTransactor(address common.Address, transactor bind.ContractTransactor) (*BenqisavaxTransactor, error)
NewBenqisavaxTransactor creates a new write-only instance of Benqisavax, bound to a specific deployed contract.
func (*BenqisavaxTransactor) AccrueRewards ¶
func (_Benqisavax *BenqisavaxTransactor) AccrueRewards(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
AccrueRewards is a paid mutator transaction binding the contract method 0xe1a472b9.
Solidity: function accrueRewards(uint256 amount) returns()
func (*BenqisavaxTransactor) Approve ¶
func (_Benqisavax *BenqisavaxTransactor) 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 (*BenqisavaxTransactor) CancelPendingUnlockRequests ¶
func (_Benqisavax *BenqisavaxTransactor) CancelPendingUnlockRequests(opts *bind.TransactOpts) (*types.Transaction, error)
CancelPendingUnlockRequests is a paid mutator transaction binding the contract method 0x01550f64.
Solidity: function cancelPendingUnlockRequests() returns()
func (*BenqisavaxTransactor) CancelRedeemableUnlockRequests ¶
func (_Benqisavax *BenqisavaxTransactor) CancelRedeemableUnlockRequests(opts *bind.TransactOpts) (*types.Transaction, error)
CancelRedeemableUnlockRequests is a paid mutator transaction binding the contract method 0xd1f1ca04.
Solidity: function cancelRedeemableUnlockRequests() returns()
func (*BenqisavaxTransactor) CancelUnlockRequest ¶
func (_Benqisavax *BenqisavaxTransactor) CancelUnlockRequest(opts *bind.TransactOpts, unlockIndex *big.Int) (*types.Transaction, error)
CancelUnlockRequest is a paid mutator transaction binding the contract method 0x1610247b.
Solidity: function cancelUnlockRequest(uint256 unlockIndex) returns()
func (*BenqisavaxTransactor) Deposit ¶
func (_Benqisavax *BenqisavaxTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() returns()
func (*BenqisavaxTransactor) GrantRole ¶
func (_Benqisavax *BenqisavaxTransactor) 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 (*BenqisavaxTransactor) Initialize ¶
func (_Benqisavax *BenqisavaxTransactor) Initialize(opts *bind.TransactOpts, _cooldownPeriod *big.Int, _redeemPeriod *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xe4a30116.
Solidity: function initialize(uint256 _cooldownPeriod, uint256 _redeemPeriod) returns()
func (*BenqisavaxTransactor) Pause ¶
func (_Benqisavax *BenqisavaxTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*BenqisavaxTransactor) PauseMinting ¶
func (_Benqisavax *BenqisavaxTransactor) PauseMinting(opts *bind.TransactOpts) (*types.Transaction, error)
PauseMinting is a paid mutator transaction binding the contract method 0xda8fbf2a.
Solidity: function pauseMinting() returns()
func (*BenqisavaxTransactor) Redeem ¶
func (_Benqisavax *BenqisavaxTransactor) Redeem(opts *bind.TransactOpts) (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0xbe040fb0.
Solidity: function redeem() returns()
func (*BenqisavaxTransactor) Redeem0 ¶
func (_Benqisavax *BenqisavaxTransactor) Redeem0(opts *bind.TransactOpts, unlockIndex *big.Int) (*types.Transaction, error)
Redeem0 is a paid mutator transaction binding the contract method 0xdb006a75.
Solidity: function redeem(uint256 unlockIndex) returns()
func (*BenqisavaxTransactor) RedeemOverdueShares ¶
func (_Benqisavax *BenqisavaxTransactor) RedeemOverdueShares(opts *bind.TransactOpts) (*types.Transaction, error)
RedeemOverdueShares is a paid mutator transaction binding the contract method 0x0d10d32c.
Solidity: function redeemOverdueShares() returns()
func (*BenqisavaxTransactor) RedeemOverdueShares0 ¶
func (_Benqisavax *BenqisavaxTransactor) RedeemOverdueShares0(opts *bind.TransactOpts, unlockIndex *big.Int) (*types.Transaction, error)
RedeemOverdueShares0 is a paid mutator transaction binding the contract method 0x0f7e2048.
Solidity: function redeemOverdueShares(uint256 unlockIndex) returns()
func (*BenqisavaxTransactor) RenounceRole ¶
func (_Benqisavax *BenqisavaxTransactor) 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 (*BenqisavaxTransactor) RequestUnlock ¶
func (_Benqisavax *BenqisavaxTransactor) RequestUnlock(opts *bind.TransactOpts, shareAmount *big.Int) (*types.Transaction, error)
RequestUnlock is a paid mutator transaction binding the contract method 0xc9d2ff9d.
Solidity: function requestUnlock(uint256 shareAmount) returns()
func (*BenqisavaxTransactor) Resume ¶
func (_Benqisavax *BenqisavaxTransactor) Resume(opts *bind.TransactOpts) (*types.Transaction, error)
Resume is a paid mutator transaction binding the contract method 0x046f7da2.
Solidity: function resume() returns()
func (*BenqisavaxTransactor) ResumeMinting ¶
func (_Benqisavax *BenqisavaxTransactor) ResumeMinting(opts *bind.TransactOpts) (*types.Transaction, error)
ResumeMinting is a paid mutator transaction binding the contract method 0x59ae340e.
Solidity: function resumeMinting() returns()
func (*BenqisavaxTransactor) RevokeRole ¶
func (_Benqisavax *BenqisavaxTransactor) 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 (*BenqisavaxTransactor) SetCooldownPeriod ¶
func (_Benqisavax *BenqisavaxTransactor) SetCooldownPeriod(opts *bind.TransactOpts, newCooldownPeriod *big.Int) (*types.Transaction, error)
SetCooldownPeriod is a paid mutator transaction binding the contract method 0x80ea3de1.
Solidity: function setCooldownPeriod(uint256 newCooldownPeriod) returns()
func (*BenqisavaxTransactor) SetRedeemPeriod ¶
func (_Benqisavax *BenqisavaxTransactor) SetRedeemPeriod(opts *bind.TransactOpts, newRedeemPeriod *big.Int) (*types.Transaction, error)
SetRedeemPeriod is a paid mutator transaction binding the contract method 0xf0d82e84.
Solidity: function setRedeemPeriod(uint256 newRedeemPeriod) returns()
func (*BenqisavaxTransactor) SetTotalPooledAvaxCap ¶
func (_Benqisavax *BenqisavaxTransactor) SetTotalPooledAvaxCap(opts *bind.TransactOpts, newTotalPooledAvaxCap *big.Int) (*types.Transaction, error)
SetTotalPooledAvaxCap is a paid mutator transaction binding the contract method 0xada03b38.
Solidity: function setTotalPooledAvaxCap(uint256 newTotalPooledAvaxCap) returns()
func (*BenqisavaxTransactor) Submit ¶
func (_Benqisavax *BenqisavaxTransactor) Submit(opts *bind.TransactOpts) (*types.Transaction, error)
Submit is a paid mutator transaction binding the contract method 0x5bcb2fc6.
Solidity: function submit() payable returns(uint256)
func (*BenqisavaxTransactor) Transfer ¶
func (_Benqisavax *BenqisavaxTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*BenqisavaxTransactor) TransferFrom ¶
func (_Benqisavax *BenqisavaxTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*BenqisavaxTransactor) Withdraw ¶
func (_Benqisavax *BenqisavaxTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 amount) returns()
type BenqisavaxTransactorRaw ¶
type BenqisavaxTransactorRaw struct {
Contract *BenqisavaxTransactor // Generic write-only contract binding to access the raw methods on
}
BenqisavaxTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BenqisavaxTransactorRaw) Transact ¶
func (_Benqisavax *BenqisavaxTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BenqisavaxTransactorRaw) Transfer ¶
func (_Benqisavax *BenqisavaxTransactorRaw) 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 BenqisavaxTransactorSession ¶
type BenqisavaxTransactorSession struct { Contract *BenqisavaxTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BenqisavaxTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BenqisavaxTransactorSession) AccrueRewards ¶
func (_Benqisavax *BenqisavaxTransactorSession) AccrueRewards(amount *big.Int) (*types.Transaction, error)
AccrueRewards is a paid mutator transaction binding the contract method 0xe1a472b9.
Solidity: function accrueRewards(uint256 amount) returns()
func (*BenqisavaxTransactorSession) Approve ¶
func (_Benqisavax *BenqisavaxTransactorSession) 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 (*BenqisavaxTransactorSession) CancelPendingUnlockRequests ¶
func (_Benqisavax *BenqisavaxTransactorSession) CancelPendingUnlockRequests() (*types.Transaction, error)
CancelPendingUnlockRequests is a paid mutator transaction binding the contract method 0x01550f64.
Solidity: function cancelPendingUnlockRequests() returns()
func (*BenqisavaxTransactorSession) CancelRedeemableUnlockRequests ¶
func (_Benqisavax *BenqisavaxTransactorSession) CancelRedeemableUnlockRequests() (*types.Transaction, error)
CancelRedeemableUnlockRequests is a paid mutator transaction binding the contract method 0xd1f1ca04.
Solidity: function cancelRedeemableUnlockRequests() returns()
func (*BenqisavaxTransactorSession) CancelUnlockRequest ¶
func (_Benqisavax *BenqisavaxTransactorSession) CancelUnlockRequest(unlockIndex *big.Int) (*types.Transaction, error)
CancelUnlockRequest is a paid mutator transaction binding the contract method 0x1610247b.
Solidity: function cancelUnlockRequest(uint256 unlockIndex) returns()
func (*BenqisavaxTransactorSession) Deposit ¶
func (_Benqisavax *BenqisavaxTransactorSession) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() returns()
func (*BenqisavaxTransactorSession) GrantRole ¶
func (_Benqisavax *BenqisavaxTransactorSession) 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 (*BenqisavaxTransactorSession) Initialize ¶
func (_Benqisavax *BenqisavaxTransactorSession) Initialize(_cooldownPeriod *big.Int, _redeemPeriod *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xe4a30116.
Solidity: function initialize(uint256 _cooldownPeriod, uint256 _redeemPeriod) returns()
func (*BenqisavaxTransactorSession) Pause ¶
func (_Benqisavax *BenqisavaxTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*BenqisavaxTransactorSession) PauseMinting ¶
func (_Benqisavax *BenqisavaxTransactorSession) PauseMinting() (*types.Transaction, error)
PauseMinting is a paid mutator transaction binding the contract method 0xda8fbf2a.
Solidity: function pauseMinting() returns()
func (*BenqisavaxTransactorSession) Redeem ¶
func (_Benqisavax *BenqisavaxTransactorSession) Redeem() (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0xbe040fb0.
Solidity: function redeem() returns()
func (*BenqisavaxTransactorSession) Redeem0 ¶
func (_Benqisavax *BenqisavaxTransactorSession) Redeem0(unlockIndex *big.Int) (*types.Transaction, error)
Redeem0 is a paid mutator transaction binding the contract method 0xdb006a75.
Solidity: function redeem(uint256 unlockIndex) returns()
func (*BenqisavaxTransactorSession) RedeemOverdueShares ¶
func (_Benqisavax *BenqisavaxTransactorSession) RedeemOverdueShares() (*types.Transaction, error)
RedeemOverdueShares is a paid mutator transaction binding the contract method 0x0d10d32c.
Solidity: function redeemOverdueShares() returns()
func (*BenqisavaxTransactorSession) RedeemOverdueShares0 ¶
func (_Benqisavax *BenqisavaxTransactorSession) RedeemOverdueShares0(unlockIndex *big.Int) (*types.Transaction, error)
RedeemOverdueShares0 is a paid mutator transaction binding the contract method 0x0f7e2048.
Solidity: function redeemOverdueShares(uint256 unlockIndex) returns()
func (*BenqisavaxTransactorSession) RenounceRole ¶
func (_Benqisavax *BenqisavaxTransactorSession) 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 (*BenqisavaxTransactorSession) RequestUnlock ¶
func (_Benqisavax *BenqisavaxTransactorSession) RequestUnlock(shareAmount *big.Int) (*types.Transaction, error)
RequestUnlock is a paid mutator transaction binding the contract method 0xc9d2ff9d.
Solidity: function requestUnlock(uint256 shareAmount) returns()
func (*BenqisavaxTransactorSession) Resume ¶
func (_Benqisavax *BenqisavaxTransactorSession) Resume() (*types.Transaction, error)
Resume is a paid mutator transaction binding the contract method 0x046f7da2.
Solidity: function resume() returns()
func (*BenqisavaxTransactorSession) ResumeMinting ¶
func (_Benqisavax *BenqisavaxTransactorSession) ResumeMinting() (*types.Transaction, error)
ResumeMinting is a paid mutator transaction binding the contract method 0x59ae340e.
Solidity: function resumeMinting() returns()
func (*BenqisavaxTransactorSession) RevokeRole ¶
func (_Benqisavax *BenqisavaxTransactorSession) 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 (*BenqisavaxTransactorSession) SetCooldownPeriod ¶
func (_Benqisavax *BenqisavaxTransactorSession) SetCooldownPeriod(newCooldownPeriod *big.Int) (*types.Transaction, error)
SetCooldownPeriod is a paid mutator transaction binding the contract method 0x80ea3de1.
Solidity: function setCooldownPeriod(uint256 newCooldownPeriod) returns()
func (*BenqisavaxTransactorSession) SetRedeemPeriod ¶
func (_Benqisavax *BenqisavaxTransactorSession) SetRedeemPeriod(newRedeemPeriod *big.Int) (*types.Transaction, error)
SetRedeemPeriod is a paid mutator transaction binding the contract method 0xf0d82e84.
Solidity: function setRedeemPeriod(uint256 newRedeemPeriod) returns()
func (*BenqisavaxTransactorSession) SetTotalPooledAvaxCap ¶
func (_Benqisavax *BenqisavaxTransactorSession) SetTotalPooledAvaxCap(newTotalPooledAvaxCap *big.Int) (*types.Transaction, error)
SetTotalPooledAvaxCap is a paid mutator transaction binding the contract method 0xada03b38.
Solidity: function setTotalPooledAvaxCap(uint256 newTotalPooledAvaxCap) returns()
func (*BenqisavaxTransactorSession) Submit ¶
func (_Benqisavax *BenqisavaxTransactorSession) Submit() (*types.Transaction, error)
Submit is a paid mutator transaction binding the contract method 0x5bcb2fc6.
Solidity: function submit() payable returns(uint256)
func (*BenqisavaxTransactorSession) Transfer ¶
func (_Benqisavax *BenqisavaxTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*BenqisavaxTransactorSession) TransferFrom ¶
func (_Benqisavax *BenqisavaxTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*BenqisavaxTransactorSession) Withdraw ¶
func (_Benqisavax *BenqisavaxTransactorSession) Withdraw(amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 amount) returns()