contracts

package
v0.0.0-...-3c7e80f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StakePoolABI = StakePoolMetaData.ABI

StakePoolABI is the input ABI used to generate the binding from. Deprecated: Use StakePoolMetaData.ABI instead.

View Source
var StakePoolBin = StakePoolMetaData.Bin

StakePoolBin is the compiled bytecode used for deploying new contracts. Deprecated: Use StakePoolMetaData.Bin instead.

View Source
var StakePoolMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"BNBTransferToUserFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CantBeMoreThan1e18\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CantClaimBeforeDeadline\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CantSetMoreThan30PercentFee\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CooldownPeriodCantBeMoreThan30Days\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dust\",\"type\":\"uint256\"}],\"name\":\"DustNotAllowed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"IndexOutOfBounds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientClaimReserve\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFundsToSatisfyClaim\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"tag\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"got\",\"type\":\"uint256\"}],\"name\":\"LessThanMinimum\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MustBeGreaterThanZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NumeratorMoreThanBasis\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PausableNotPaused\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PausablePaused\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"from\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"to\",\"type\":\"uint256\"}],\"name\":\"ToIndexMustBeGreaterThanFromIndex\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenMintingToSelfNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenTransferToSelfNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferOutFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"UnexpectedlyReceivedTokensForSomeoneElse\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnknownSender\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"weiToReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAt\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"structStakePool.ClaimRequest\",\"name\":\"req\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"Claim\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"ConfigUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bnbAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"poolTokenAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bnbRewards\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeTokens\",\"type\":\"uint256\"}],\"name\":\"EpochUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shortCircuitAmount\",\"type\":\"uint256\"}],\"name\":\"InitiateDelegation_ShortCircuit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"InitiateDelegation_Success\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"transferOutAmount\",\"type\":\"uint256\"}],\"name\":\"InitiateDelegation_TransferOut\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"unbondedAmount\",\"type\":\"uint256\"}],\"name\":\"UnbondingFinished\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bnbUnbonding\",\"type\":\"uint256\"}],\"name\":\"UnbondingInitiated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"poolTokenAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bnbAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BOT_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"addressStore\",\"outputs\":[{\"internalType\":\"contractIAddressStore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bnbToUnbond\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bnbUnbonding\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"claimReqs\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"weiToReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAt\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimReserve\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"config\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"bcStakingWallet\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"minCrossChainTransfer\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"transferOutTimeout\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minBNBDeposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minTokenWithdrawal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cooldownPeriod\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdraw\",\"type\":\"uint256\"}],\"internalType\":\"structFeeDistribution.Data\",\"name\":\"fee\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"bnbRewards\",\"type\":\"uint256\"}],\"name\":\"epochUpdate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"exchangeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalWei\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"poolTokenSupply\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getClaimRequestCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"from\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"to\",\"type\":\"uint256\"}],\"name\":\"getPaginatedClaimRequests\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"weiToReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAt\",\"type\":\"uint256\"}],\"internalType\":\"structStakePool.ClaimRequest[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"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\":\"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\":\"contractIAddressStore\",\"name\":\"addressStore_\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"bcStakingWallet\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"minCrossChainTransfer\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"transferOutTimeout\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minBNBDeposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minTokenWithdrawal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cooldownPeriod\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdraw\",\"type\":\"uint256\"}],\"internalType\":\"structFeeDistribution.Data\",\"name\":\"fee\",\"type\":\"tuple\"}],\"internalType\":\"structConfig.Data\",\"name\":\"config_\",\"type\":\"tuple\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initiateDelegation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"tokensReceived\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unbondingFinished\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"bnbUnbonding_\",\"type\":\"uint256\"}],\"name\":\"unbondingInitiated\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"bcStakingWallet\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"minCrossChainTransfer\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"transferOutTimeout\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minBNBDeposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minTokenWithdrawal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cooldownPeriod\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdraw\",\"type\":\"uint256\"}],\"internalType\":\"structFeeDistribution.Data\",\"name\":\"fee\",\"type\":\"tuple\"}],\"internalType\":\"structConfig.Data\",\"name\":\"config_\",\"type\":\"tuple\"}],\"name\":\"updateConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x60806040523480156200001157600080fd5b506200001c62000022565b620000e4565b600054610100900460ff16156200008f5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff9081161015620000e2576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b612fb580620000f46000396000f3fe6080604052600436106101e65760003560e01c806379502c5511610102578063b150377411610095578063d1058e5911610064578063d1058e59146106cf578063d547741f146106e4578063f773d87d14610704578063fa6c2f7d1461072457600080fd5b8063b150377414610667578063c773c8f714610689578063ca15c873146106a7578063d0e30db0146106c757600080fd5b80638d0f4bd9116100d15780638d0f4bd9146105da5780639010d07c146105fa57806391d1485414610632578063a217fddf1461065257600080fd5b806379502c55146104c25780638456cb591461056f5780638b2bf29f146105845780638be78083146105a457600080fd5b80633f4ba83a1161017a5780635d97914c116101495780635d97914c1461044b5780636eb959401461046057806372bd5c941461047557806375ccc37a1461049557600080fd5b80633f4ba83a146103f45780633fe5f0541461040957806354cc6d9d1461041e5780635c975abb1461043357600080fd5b80632f2ff15d116101b65780632f2ff15d1461036457806336568abe14610384578063379607f5146103a45780633ba0b9a9146103c457600080fd5b806223de29146102b157806301ffc9a7146102d1578063248a9ca314610306578063291532ed1461034457600080fd5b366102ac576101f3610739565b60c960009054906101000a90046001600160a01b03166001600160a01b03166388d1161d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561024157600080fd5b505afa158015610255573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610279919061296e565b6001600160a01b0316336001600160a01b0316146102aa5760405163399a77fd60e01b815260040160405180910390fd5b005b600080fd5b3480156102bd57600080fd5b506102aa6102cc36600461298b565b61075f565b3480156102dd57600080fd5b506102f16102ec366004612b2a565b610901565b60405190151581526020015b60405180910390f35b34801561031257600080fd5b50610336610321366004612abf565b60009081526065602052604090206001015490565b6040519081526020016102fd565b34801561035057600080fd5b506102aa61035f366004612b54565b61092c565b34801561037057600080fd5b506102aa61037f366004612ad8565b610a41565b34801561039057600080fd5b506102aa61039f366004612ad8565b610a66565b3480156103b057600080fd5b506102aa6103bf366004612abf565b610ae4565b3480156103d057600080fd5b5060d85460d9546103df919082565b604080519283526020830191909152016102fd565b34801561040057600080fd5b506102aa610b27565b34801561041557600080fd5b5060d754610336565b34801561042a57600080fd5b506102aa610b7b565b34801561043f57600080fd5b5060d35460ff166102f1565b34801561045757600080fd5b5060d554610336565b34801561046c57600080fd5b5060d654610336565b34801561048157600080fd5b506102aa610490366004612abf565b610cf4565b3480156104a157600080fd5b506104b56104b0366004612a68565b610f32565b6040516102fd9190612c98565b3480156104ce57600080fd5b5060ca5460cb5460cc5460cd5460ce5460cf546040805160608101825260d054815260d154602082015260d25491810191909152610518966001600160a01b031695949392919087565b604080516001600160a01b039098168852602080890197909752878101959095526060870193909352608086019190915260a0850152805160c08501529182015160e08401520151610100820152610120016102fd565b34801561057b57600080fd5b506102aa6110ec565b34801561059057600080fd5b506102aa61059f366004612abf565b61113c565b3480156105b057600080fd5b506103366105bf366004612951565b6001600160a01b0316600090815260da602052604090205490565b3480156105e657600080fd5b506102aa6105f5366004612b8b565b6111c4565b34801561060657600080fd5b5061061a610615366004612b08565b611207565b6040516001600160a01b0390911681526020016102fd565b34801561063e57600080fd5b506102f161064d366004612ad8565b611226565b34801561065e57600080fd5b50610336600081565b34801561067357600080fd5b50610336600080516020612f6083398151915281565b34801561069557600080fd5b5060c9546001600160a01b031661061a565b3480156106b357600080fd5b506103366106c2366004612abf565b611251565b6102aa611268565b3480156106db57600080fd5b506102aa611524565b3480156106f057600080fd5b506102aa6106ff366004612ad8565b611588565b34801561071057600080fd5b506103df61071f366004612a3c565b6115ad565b34801561073057600080fd5b506102aa6115e9565b60d35460ff161561075d5760405163928dfa7760e01b815260040160405180910390fd5b565b610767610739565b61076f6118c4565b60408051808201909152600a81526915da5d1a191c985dd85b60b21b602082015260ce548661079f8383836118ef565b60c960009054906101000a90046001600160a01b03166001600160a01b031663e016dedc6040518163ffffffff1660e01b815260040160206040518083038186803b1580156107ed57600080fd5b505afa158015610801573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610825919061296e565b6001600160a01b0316336001600160a01b0316146108565760405163399a77fd60e01b815260040160405180910390fd5b6001600160a01b038a1661087d5760405163eb577da760e01b815260040160405180910390fd5b6001600160a01b038a163014156108a7576040516315bddb7b60e01b815260040160405180910390fd5b6001600160a01b03891630146108e0576040516338a5c37560e01b81526001600160a01b038a1660048201526024015b60405180910390fd5b6108ea8a8961194c565b5050506108f7600160d455565b5050505050505050565b60006001600160e01b03198216635a05180f60e01b1480610926575061092682611c55565b92915050565b600054610100900460ff161580801561094c5750600054600160ff909116105b806109665750303b158015610966575060005460ff166001145b6109c95760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016108d7565b6000805460ff1916600117905580156109ec576000805461ff0019166101001790555b6109f68383611c8a565b8015610a3c576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b600082815260656020526040902060010154610a5c81611cbb565b610a3c8383611cc5565b6001600160a01b0381163314610ad65760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016108d7565b610ae08282611ce7565b5050565b610aec610739565b610af46118c4565b610afd81611d09565b610b1a57604051637e868a7360e01b815260040160405180910390fd5b610b24600160d455565b50565b6000610b3281611cbb565b610b3a611f87565b60d3805460ff191690556040513381527f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa906020015b60405180910390a150565b610b83610739565b600080516020612f60833981519152610b9b81611cbb565b60c954604080516388d1161d60e01b815290516000926001600160a01b0316916388d1161d916004808301926020929190829003018186803b158015610be057600080fd5b505afa158015610bf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c18919061296e565b6001600160a01b03166347066d026040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610c5257600080fd5b505af1158015610c66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8a9190612ba8565b90508060d66000828254610c9e9190612e3d565b925050819055508060d76000828254610cb79190612db3565b90915550506040518181527f31690952e66f4ee8423e3087dcbc0687ddee8d263986b865229aee4ebdbafea5906020015b60405180910390a15050565b610cfc610739565b600080516020612f60833981519152610d1481611cbb565b60d054600090610d249084611fa9565b90506000818460d860000154610d3a9190612db3565b610d449190612e3d565b60d954610d519084612ddf565b610d5b9190612dcb565b9050610d88604051806040016040528086815260200183815250600060d8611fc59092919063ffffffff16565b60c960009054906101000a90046001600160a01b03166001600160a01b031663e016dedc6040518163ffffffff1660e01b815260040160206040518083038186803b158015610dd657600080fd5b505afa158015610dea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0e919061296e565b6001600160a01b031663dcdc7dd060c960009054906101000a90046001600160a01b03166001600160a01b031663ec0f7cf06040518163ffffffff1660e01b815260040160206040518083038186803b158015610e6a57600080fd5b505afa158015610e7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea2919061296e565b836040518363ffffffff1660e01b8152600401610ec0929190612c62565b600060405180830381600087803b158015610eda57600080fd5b505af1158015610eee573d6000803e3d6000fd5b505060408051878152602081018590527fcb62e14f4587604f4099c842d98789e47ebdd0ccbf6fd86a0581aa337a602eb1935001905060405180910390a150505050565b6001600160a01b038316600090815260da60205260409020546060908310610f705760405163112517f360e21b8152600481018490526024016108d7565b818310610f9a57604051630dfc263960e01b815260048101849052602481018390526044016108d7565b6001600160a01b038416600090815260da6020526040902054821115610fd6576001600160a01b038416600090815260da602052604090205491505b6000610fe28484612e3d565b67ffffffffffffffff811115610ffa57610ffa612f34565b60405190808252806020026020018201604052801561103f57816020015b60408051808201909152600080825260208201528152602001906001900390816110185790505b50905060005b61104f8585612e3d565b8110156110e3576001600160a01b038616600090815260da602052604090206110788287612db3565b8154811061108857611088612f1e565b9060005260206000209060020201604051806040016040529081600082015481526020016001820154815250508282815181106110c7576110c7612f1e565b6020026020010181905250806110dc90612e97565b9050611045565b50949350505050565b60006110f781611cbb565b6110ff610739565b60d3805460ff191660011790556040513381527f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25890602001610b70565b611144610739565b600080516020612f6083398151915261115c81611cbb565b61116582612058565b60d560008282546111769190612dfe565b925050819055508160d6600082825461118f9190612db3565b90915550506040518281527ffcfebef86ea31f185fe5d81c5fe96ba3835d0e293f58bb5d33907c3c1522ba8790602001610ce8565b60006111cf81611cbb565b6111da60ca836120c6565b6040517ffe891c6ab12cf73707f8deb6600c12ba382e4cc31eb2b0a2754cad13075ed2d190600090a15050565b600082815260976020526040812061121f90836120d9565b9392505050565b60009182526065602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000818152609760205260408120610926906120e5565b611270610739565b6112786118c4565b60408051808201909152600781526611195c1bdcda5d60ca1b602082015260cd54346112a58383836118ef565b3460006112b360d8836120ef565b60d1549091506000906112c69083611fa9565b905060006112d48284612e3d565b9050611301604051806040016040528086815260200185815250600060d8611fc59092919063ffffffff16565b60c95460408051633805b7b760e21b815290516000926001600160a01b03169163e016dedc916004808301926020929190829003018186803b15801561134657600080fd5b505afa15801561135a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137e919061296e565b604051630dcdc7dd60e41b81529091506001600160a01b0382169063dcdc7dd0906113af9033908690600401612c62565b600060405180830381600087803b1580156113c957600080fd5b505af11580156113dd573d6000803e3d6000fd5b5050505060008311156114d057806001600160a01b031663dcdc7dd060c960009054906101000a90046001600160a01b03166001600160a01b031663ec0f7cf06040518163ffffffff1660e01b815260040160206040518083038186803b15801561144757600080fd5b505afa15801561145b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147f919061296e565b856040518363ffffffff1660e01b815260040161149d929190612c62565b600060405180830381600087803b1580156114b757600080fd5b505af11580156114cb573d6000803e3d6000fd5b505050505b60408051348152602081018490524281830152905133917f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e919081900360600190a2505050505050505061075d600160d455565b61152c610739565b6115346118c4565b33600090815260da6020526040812054905b8181101561157c5761155781611d09565b1561156c5761156582612e80565b9150611546565b61157581612e97565b9050611546565b505061075d600160d455565b6000828152606560205260409020600101546115a381611cbb565b610a3c8383611ce7565b60da60205281600052604060002081815481106115c957600080fd5b600091825260209091206002909102018054600190910154909250905082565b6115f1610739565b600080516020612f6083398151915261160981611cbb565b600060d754476116199190612e3d565b9050600061162c6402540be40083612eb2565b6116369083612e3d565b905060006110046001600160a01b031663149d14d96040518163ffffffff1660e01b815260040160206040518083038186803b15801561167557600080fd5b505afa158015611689573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ad9190612ba8565b60cb549091506116bd9082612db3565b82106117f15760006116cf8284612e3d565b60ca5460cc549192506000916110049163aa7415f591879185916001600160a01b039091169087906117019042612db3565b6040516001600160e01b031960e088901b1681526001600160a01b039485166004820152939092166024840152604483015267ffffffffffffffff1660648201526084016020604051808303818588803b15801561175e57600080fd5b505af1158015611772573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906117979190612a9d565b9050806117b75760405163cefaffeb60e01b815260040160405180910390fd5b6040518281527f12ba36faeb29044a46a4f5a2b0a55480ca8c22bd52e1bad4f913cd1c6a2811fa9060200160405180910390a15050611895565b6000831180156118035750600060d554135b1561189557600061181384612058565b60d5541315611823575082611828565b5060d5545b61183181612058565b60d560008282546118429190612dfe565b925050819055508060d7600082825461185b9190612db3565b90915550506040518181527f398a2b33a17101f76ac0227b1c277b01d5ce921579fc0ebcc8a10083ba53fcd19060200160405180910390a1505b6040517fab39d195fb15cf2b785ee487c131ff8eb2b3c97d2750756b63e3b11e81a11cfb90600090a150505050565b600260d45414156118e857604051633ee5aeb560e01b815260040160405180910390fd5b600260d455565b8181101561191657828282604051631a14281160e01b81526004016108d793929190612d02565b60006119228383612eb2565b9050801561194657604051634301c31b60e01b8152600481018290526024016108d7565b50505050565b60d25460009061195c9083611fa9565b9050600061196a8284612e3d565b9050600061197960d88361211f565b6001600160a01b038616600090815260da602090815260408083208151808301909252848252428284019081528154600181810184559286529390942091516002909302909101918255915191015590506119d381612058565b60d560008282546119e49190612d72565b90915550506040805180820190915281815260208101839052611a0b9060d8906001611fc5565b60c95460408051633805b7b760e21b815290516000926001600160a01b03169163e016dedc916004808301926020929190829003018186803b158015611a5057600080fd5b505afa158015611a64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a88919061296e565b6040805163fe9d930360e01b8152600481018690526024810191909152600060448201529091506001600160a01b0382169063fe9d930390606401600060405180830381600087803b158015611add57600080fd5b505af1158015611af1573d6000803e3d6000fd5b505050506000841115611c0257806001600160a01b0316639bd9bbc660c960009054906101000a90046001600160a01b03166001600160a01b031663ec0f7cf06040518163ffffffff1660e01b815260040160206040518083038186803b158015611b5b57600080fd5b505afa158015611b6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b93919061296e565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018790526060604482015260006064820152608401600060405180830381600087803b158015611be957600080fd5b505af1158015611bfd573d6000803e3d6000fd5b505050505b6040805186815260208101849052428183015290516001600160a01b038816917f02f25270a4d87bea75db541cdfe559334a275b4a233520ed6c0a2429667cca94919081900360600190a2505050505050565b60006001600160e01b03198216637965db0b60e01b148061092657506301ffc9a760e01b6001600160e01b0319831614610926565b600054610100900460ff16611cb15760405162461bcd60e51b81526004016108d790612d27565b610ae08282612167565b610b24813361227e565b611ccf82826122e2565b6000828152609760205260409020610a3c9082612368565b611cf1828261237d565b6000828152609760205260409020610a3c90826123e4565b33600090815260da60205260408120548210611d3b5760405163112517f360e21b8152600481018390526024016108d7565b33600090815260da60205260408120805484908110611d5c57611d5c612f1e565b9060005260206000209060020201604051806040016040529081600082015481526020016001820154815250509050611d94816123f9565b611da15750600092915050565b8051471015611dc35760405163e723ea5960e01b815260040160405180910390fd5b805160d7541015611de75760405163df536f6160e01b815260040160405180910390fd5b805160d78054600090611dfb908490612e3d565b909155505033600090815260da602052604090208054611e1d90600190612e3d565b81548110611e2d57611e2d612f1e565b906000526020600020906002020160da6000336001600160a01b03166001600160a01b031681526020019081526020016000208481548110611e7157611e71612f1e565b600091825260208083208454600290930201918255600193840154939091019290925533815260da90915260409020805480611eaf57611eaf612f08565b60008281526020812060026000199390930192830201818155600101819055915581516040513391908381818185875af1925050503d8060008114611f10576040519150601f19603f3d011682016040523d82523d6000602084013e611f15565b606091505b5050905080611f375760405163243d868360e11b815260040160405180910390fd5b6040805183518152602080850151908201524281830152905133917f68b2280298dbae04fabb3ba3aec3f939aebaf17f3b57811225a496cafee6f9c6919081900360600190a25060019392505050565b60d35460ff1661075d5760405162c5619760e61b815260040160405180910390fd5b600064174876e800611fbb8484612ddf565b61121f9190612dcb565b6000816001811115611fd957611fd9612ef2565b141561201c57815183548490600090611ff3908490612db3565b90915550506020820151600184018054600090612011908490612db3565b90915550610a3c9050565b815183548490600090612030908490612e3d565b9091555050602082015160018401805460009061204e908490612e3d565b9091555050505050565b60006001600160ff1b038211156120c25760405162461bcd60e51b815260206004820152602860248201527f53616665436173743a2076616c756520646f65736e27742066697420696e2061604482015267371034b73a191a9b60c11b60648201526084016108d7565b5090565b6120cf81612415565b610ae082826124e7565b600061121f8383612566565b6000610926825490565b8154600090158061210257506001830154155b1561210e575080610926565b82546001840154611fbb9084612ddf565b815460009081906121309084612ddf565b600185015490915080821080612144575080155b1561215457600092505050610926565b61215e8183612dcb565b95945050505050565b600054610100900460ff1661218e5760405162461bcd60e51b81526004016108d790612d27565b60c980546001600160a01b0319166001600160a01b0384161790556121b460ca826120c6565b60d3805460ff1916600190811790915560d455600060d581905560d681905560d781905560d881905560d9556040516329965a1d60e01b815230600482018190527fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b60248301526044820152731820a4b7618bde71dce8cdc73aab6c95905fad24906329965a1d90606401600060405180830381600087803b15801561225957600080fd5b505af115801561226d573d6000803e3d6000fd5b50505050610ae06000801b33611cc5565b6122888282611226565b610ae0576122a0816001600160a01b03166014612590565b6122ab836020612590565b6040516020016122bc929190612bed565b60408051601f198184030181529082905262461bcd60e51b82526108d791600401612cef565b6122ec8282611226565b610ae05760008281526065602090815260408083206001600160a01b03851684529091529020805460ff191660011790556123243390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600061121f836001600160a01b03841661272c565b6123878282611226565b15610ae05760008281526065602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600061121f836001600160a01b03841661277b565b60cf54602082015160009161240d91612db3565b421192915050565b6124218160c00161286e565b602081013561244357604051633019509960e21b815260040160405180910390fd5b604081013561246557604051633019509960e21b815260040160405180910390fd5b670de0b6b3a76400008160600135111561249257604051630383d89960e11b815260040160405180910390fd5b670de0b6b3a7640000816080013511156124bf57604051630383d89960e11b815260040160405180910390fd5b62278d008160a001351115610b2457604051633c77abc560e21b815260040160405180910390fd5b6124f46020820182612951565b82546001600160a01b0319166001600160a01b03919091161782556020810135600183015560408101356002830155606081013560038301556080810135600483015560a08101356005830155610ae06006830160c08301803582556020810135600183015560400135600290910155565b600082600001828154811061257d5761257d612f1e565b9060005260206000200154905092915050565b6060600061259f836002612ddf565b6125aa906002612db3565b67ffffffffffffffff8111156125c2576125c2612f34565b6040519080825280601f01601f1916602001820160405280156125ec576020820181803683370190505b509050600360fc1b8160008151811061260757612607612f1e565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061263657612636612f1e565b60200101906001600160f81b031916908160001a905350600061265a846002612ddf565b612665906001612db3565b90505b60018111156126dd576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061269957612699612f1e565b1a60f81b8282815181106126af576126af612f1e565b60200101906001600160f81b031916908160001a90535060049490941c936126d681612e80565b9050612668565b50831561121f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016108d7565b600081815260018301602052604081205461277357508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610926565b506000610926565b6000818152600183016020526040812054801561286457600061279f600183612e3d565b85549091506000906127b390600190612e3d565b90508181146128185760008660000182815481106127d3576127d3612f1e565b90600052602060002001549050808760000184815481106127f6576127f6612f1e565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061282957612829612f08565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610926565b6000915050610926565b612878813561288e565b612885816020013561288e565b610b2481604001355b64174876e8008111156128b45760405163c254ce4960e01b815260040160405180910390fd5b6128c4606464174876e800612dcb565b6128cf90601e612ddf565b811115610b245760405163b358944160e01b815260040160405180910390fd5b60008083601f84011261290157600080fd5b50813567ffffffffffffffff81111561291957600080fd5b60208301915083602082850101111561293157600080fd5b9250929050565b6000610120828403121561294b57600080fd5b50919050565b60006020828403121561296357600080fd5b813561121f81612f4a565b60006020828403121561298057600080fd5b815161121f81612f4a565b60008060008060008060008060c0898b0312156129a757600080fd5b88356129b281612f4a565b975060208901356129c281612f4a565b965060408901356129d281612f4a565b955060608901359450608089013567ffffffffffffffff808211156129f657600080fd5b612a028c838d016128ef565b909650945060a08b0135915080821115612a1b57600080fd5b50612a288b828c016128ef565b999c989b5096995094979396929594505050565b60008060408385031215612a4f57600080fd5b8235612a5a81612f4a565b946020939093013593505050565b600080600060608486031215612a7d57600080fd5b8335612a8881612f4a565b95602085013595506040909401359392505050565b600060208284031215612aaf57600080fd5b8151801515811461121f57600080fd5b600060208284031215612ad157600080fd5b5035919050565b60008060408385031215612aeb57600080fd5b823591506020830135612afd81612f4a565b809150509250929050565b60008060408385031215612b1b57600080fd5b50508035926020909101359150565b600060208284031215612b3c57600080fd5b81356001600160e01b03198116811461121f57600080fd5b6000806101408385031215612b6857600080fd5b8235612b7381612f4a565b9150612b828460208501612938565b90509250929050565b60006101208284031215612b9e57600080fd5b61121f8383612938565b600060208284031215612bba57600080fd5b5051919050565b60008151808452612bd9816020860160208601612e54565b601f01601f19169290920160200192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612c25816017850160208801612e54565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612c56816028840160208801612e54565b01602801949350505050565b6001600160a01b039290921682526020820152608060408201819052600090820181905260a06060830181905282015260c00190565b602080825282518282018190526000919060409081850190868401855b82811015612ce257612cd284835180518252602090810151910152565b9284019290850190600101612cb5565b5091979650505050505050565b60208152600061121f6020830184612bc1565b606081526000612d156060830186612bc1565b60208301949094525060400152919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600080821280156001600160ff1b0384900385131615612d9457612d94612ec6565b600160ff1b8390038412811615612dad57612dad612ec6565b50500190565b60008219821115612dc657612dc6612ec6565b500190565b600082612dda57612dda612edc565b500490565b6000816000190483118215151615612df957612df9612ec6565b500290565b60008083128015600160ff1b850184121615612e1c57612e1c612ec6565b6001600160ff1b0384018313811615612e3757612e37612ec6565b50500390565b600082821015612e4f57612e4f612ec6565b500390565b60005b83811015612e6f578181015183820152602001612e57565b838111156119465750506000910152565b600081612e8f57612e8f612ec6565b506000190190565b6000600019821415612eab57612eab612ec6565b5060010190565b600082612ec157612ec1612edc565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610b2457600080fdfe6d5c9827c1f410bbb61d3b2a0a34b6b30492d9a1fd38588edca7ec4562ab9c9ba264697066735822122001f36010eab576d79af70402aaa71e37ad4d13cc808400f4e124a82df8cc051364736f6c63430008070033",
}

StakePoolMetaData contains all meta data concerning the StakePool contract.

View Source
var StakedBNBTokenABI = StakedBNBTokenMetaData.ABI

StakedBNBTokenABI is the input ABI used to generate the binding from. Deprecated: Use StakedBNBTokenMetaData.ABI instead.

View Source
var StakedBNBTokenBin = StakedBNBTokenMetaData.Bin

StakedBNBTokenBin is the compiled bytecode used for deploying new contracts. Deprecated: Use StakedBNBTokenMetaData.Bin instead.

View Source
var StakedBNBTokenMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIAddressStore\",\"name\":\"addressStore_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"CallerIsNotTheOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsTheZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnauthorizedSender\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenHolder\",\"type\":\"address\"}],\"name\":\"AuthorizedOperator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"Burned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"Minted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenHolder\",\"type\":\"address\"}],\"name\":\"RevokedOperator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"Sent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"addressStore\",\"outputs\":[{\"internalType\":\"contractIAddressStore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"holder\",\"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\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"authorizeOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenHolder\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultOperators\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"granularity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenHolder\",\"type\":\"address\"}],\"name\":\"isOperatorFor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"operatorBurn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"operatorSend\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"revokeOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"selfDestruct\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"send\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"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\":\"holder\",\"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\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60806040523480156200001157600080fd5b50604051620021a1380380620021a1833981016040819052620000349162000392565b604080518082018252600a81526929ba30b5b2b21021272160b11b602080830191825283518085018552600681526539ba35a1272160d11b81830152845160008152918201909452825133949262000090916002919062000294565b508151620000a690600390602085019062000294565b508051620000bc90600490602084019062000323565b5060005b81518110156200012c57600160056000848481518110620000e557620000e56200042b565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580620001238162000401565b915050620000c0565b506040516329965a1d60e01b815230600482018190527fac7fbab5f54a3ca8194167523c6753bfeb96a445279294b6125b68cce217705460248301526044820152731820a4b7618bde71dce8cdc73aab6c95905fad24906329965a1d90606401600060405180830381600087803b158015620001a757600080fd5b505af1158015620001bc573d6000803e3d6000fd5b50506040516329965a1d60e01b815230600482018190527faea199e31a596269b42cdafd93407f14436db6e4cad65417994c2eb37381e05a60248301526044820152731820a4b7618bde71dce8cdc73aab6c95905fad2492506329965a1d9150606401600060405180830381600087803b1580156200023a57600080fd5b505af11580156200024f573d6000803e3d6000fd5b5050600980546001600160a01b039788166001600160a81b03199091161790555050600a80546001600160a01b03191695909416949094179092555062000441915050565b828054620002a290620003c4565b90600052602060002090601f016020900481019282620002c6576000855562000311565b82601f10620002e157805160ff191683800117855562000311565b8280016001018555821562000311579182015b8281111562000311578251825591602001919060010190620002f4565b506200031f9291506200037b565b5090565b82805482825590600052602060002090810192821562000311579160200282015b828111156200031157825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000344565b5b808211156200031f57600081556001016200037c565b600060208284031215620003a557600080fd5b81516001600160a01b0381168114620003bd57600080fd5b9392505050565b600181811c90821680620003d957607f821691505b60208210811415620003fb57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156200042457634e487b7160e01b600052601160045260246000fd5b5060010190565b634e487b7160e01b600052603260045260246000fd5b611d5080620004516000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c8063959b8c3f116100de578063d95b637111610097578063f2fde38b11610071578063f2fde38b14610366578063fad8b32a14610379578063fc673c4f1461038c578063fe9d93031461039f57600080fd5b8063d95b637114610307578063dcdc7dd01461031a578063dd62ed3e1461032d57600080fd5b8063959b8c3f146102ad57806395d89b41146102c05780639bd9bbc6146102c85780639cb8a26a146102db578063a9059cbb146102e3578063c773c8f7146102f657600080fd5b80633f4ba83a1161014b57806362ad1b831161012557806362ad1b831461024457806370a08231146102575780638456cb5914610280578063893d20e81461028857600080fd5b80633f4ba83a14610221578063556f0dc71461022b5780635c975abb1461023257600080fd5b806306e485381461019357806306fdde03146101b1578063095ea7b3146101c657806318160ddd146101e957806323b872dd146101ff578063313ce56714610212575b600080fd5b61019b6103b2565b6040516101a89190611b8e565b60405180910390f35b6101b9610414565b6040516101a89190611bdb565b6101d96101d436600461199b565b61049d565b60405190151581526020016101a8565b6101f16104b5565b6040519081526020016101a8565b6101d961020d3660046118c7565b6104c5565b604051601281526020016101a8565b61022961050b565b005b60016101f1565b600954600160a01b900460ff166101d9565b610229610252366004611908565b61051d565b6101f1610265366004611854565b6001600160a01b031660009081526020819052604090205490565b610229610562565b6009546001600160a01b03165b6040516001600160a01b0390911681526020016101a8565b6102296102bb366004611854565b610572565b6101b9610690565b6102296102d63660046119c7565b61069f565b6102296106c2565b6101d96102f136600461199b565b610767565b600a546001600160a01b0316610295565b6101d961031536600461188e565b61079f565b610229610328366004611a20565b610841565b6101f161033b36600461188e565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b610229610374366004611854565b6108e4565b610229610387366004611854565b610965565b61022961039a366004611a20565b610a81565b6102296103ad366004611aa0565b610b24565b6060600480548060200260200160405190810160405280929190818152602001828054801561040a57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116103ec575b5050505050905090565b60606002805461042390611c9e565b80601f016020809104026020016040519081016040528092919081815260200182805461044f90611c9e565b801561040a5780601f106104715761010080835404028352916020019161040a565b820191906000526020600020905b81548152906001019060200180831161047f57509395945050505050565b6000336104ab818585610bc5565b5060019392505050565b60006104c060015490565b905090565b6000336104d3858285610cec565b61050085858560405180602001604052806000815250604051806020016040528060008152506000610d7e565b506001949350505050565b610513610e7a565b61051b610ea5565b565b610527338661079f565b61054c5760405162461bcd60e51b815260040161054390611bee565b60405180910390fd5b61055b85858585856001610d7e565b5050505050565b61056a610e7a565b61051b610efa565b336001600160a01b03821614156105d75760405162461bcd60e51b8152602060048201526024808201527f4552433737373a20617574686f72697a696e672073656c66206173206f70657260448201526330ba37b960e11b6064820152608401610543565b6001600160a01b03811660009081526005602052604090205460ff1615610628573360009081526007602090815260408083206001600160a01b03851684529091529020805460ff19169055610657565b3360009081526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790555b60405133906001600160a01b038316907ff4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f990600090a350565b60606003805461042390611c9e565b6106bd33848484604051806020016040528060008152506001610d7e565b505050565b600a60009054906101000a90046001600160a01b03166001600160a01b031663365388a26040518163ffffffff1660e01b815260040160206040518083038186803b15801561071057600080fd5b505afa158015610724573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107489190611871565b61075181610f3d565b610759610f69565b6009546001600160a01b0316ff5b600061079633848460405180602001604052806000815250604051806020016040528060008152506000610d7e565b50600192915050565b6000816001600160a01b0316836001600160a01b0316148061080a57506001600160a01b03831660009081526005602052604090205460ff16801561080a57506001600160a01b0380831660009081526007602090815260408083209387168352929052205460ff16155b8061083a57506001600160a01b0380831660009081526006602090815260408083209387168352929052205460ff165b9392505050565b600a60009054906101000a90046001600160a01b03166001600160a01b0316637d5e7c326040518163ffffffff1660e01b815260040160206040518083038186803b15801561088f57600080fd5b505afa1580156108a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c79190611871565b6108d081610f3d565b6108d8610fb9565b61055b85858585611006565b6108ec610e7a565b6001600160a01b0381166109135760405163f82d512f60e01b815260040160405180910390fd5b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0381163314156109c85760405162461bcd60e51b815260206004820152602160248201527f4552433737373a207265766f6b696e672073656c66206173206f70657261746f6044820152603960f91b6064820152608401610543565b6001600160a01b03811660009081526005602052604090205460ff1615610a1c573360009081526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610a48565b3360009081526006602090815260408083206001600160a01b03851684529091529020805460ff191690555b60405133906001600160a01b038316907f50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa190600090a350565b600a60009054906101000a90046001600160a01b03166001600160a01b0316637d5e7c326040518163ffffffff1660e01b815260040160206040518083038186803b158015610acf57600080fd5b505afa158015610ae3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b079190611871565b610b1081610f3d565b610b18610fb9565b61055b85858585611014565b600a60009054906101000a90046001600160a01b03166001600160a01b0316637d5e7c326040518163ffffffff1660e01b815260040160206040518083038186803b158015610b7257600080fd5b505afa158015610b86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610baa9190611871565b610bb381610f3d565b610bbb610fb9565b6106bd8383611046565b6001600160a01b038316610c295760405162461bcd60e51b815260206004820152602560248201527f4552433737373a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610543565b6001600160a01b038216610c8b5760405162461bcd60e51b815260206004820152602360248201527f4552433737373a20617070726f766520746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610543565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600860209081526040808320938616835292905220546000198114610d785781811015610d6b5760405162461bcd60e51b815260206004820152601e60248201527f4552433737373a20696e73756666696369656e7420616c6c6f77616e636500006044820152606401610543565b610d788484848403610bc5565b50505050565b6001600160a01b038616610de35760405162461bcd60e51b815260206004820152602660248201527f4552433737373a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b6064820152608401610543565b6001600160a01b038516610e455760405162461bcd60e51b8152602060048201526024808201527f4552433737373a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610543565b33610e54818888888888611065565b610e6281888888888861119b565b610e7181888888888888611301565b50505050505050565b6009546001600160a01b0316331461051b57604051633e8be92f60e01b815260040160405180910390fd5b610ead610f69565b6009805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610f02610fb9565b6009805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610edd3390565b336001600160a01b03821614610f6657604051630101292160e31b815260040160405180910390fd5b50565b600954600160a01b900460ff1661051b5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610543565b600954600160a01b900460ff161561051b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610543565b610d788484848460016114d5565b61101e338561079f565b61103a5760405162461bcd60e51b815260040161054390611bee565b610d788484848461161e565b6110613383836040518060200160405280600081525061161e565b5050565b60405163555ddc6560e11b81526001600160a01b03861660048201527f29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe8956024820152600090731820a4b7618bde71dce8cdc73aab6c95905fad249063aabbb8ca9060440160206040518083038186803b1580156110e157600080fd5b505afa1580156110f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111199190611871565b90506001600160a01b03811615610e7157604051633ad5cbc160e11b81526001600160a01b038216906375ab978290611160908a908a908a908a908a908a90600401611b34565b600060405180830381600087803b15801561117a57600080fd5b505af115801561118e573d6000803e3d6000fd5b5050505050505050505050565b6001600160a01b038516600090815260208190526040902054838110156112145760405162461bcd60e51b815260206004820152602760248201527f4552433737373a207472616e7366657220616d6f756e7420657863656564732060448201526662616c616e636560c81b6064820152608401610543565b6001600160a01b0380871660009081526020819052604080822087850390559187168152908120805486929061124b908490611c6f565b92505081905550846001600160a01b0316866001600160a01b0316886001600160a01b03167f06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc826146779878787876040516112a393929190611c3a565b60405180910390a4846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040516112f091815260200190565b60405180910390a350505050505050565b60405163555ddc6560e11b81526001600160a01b03861660048201527fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b6024820152600090731820a4b7618bde71dce8cdc73aab6c95905fad249063aabbb8ca9060440160206040518083038186803b15801561137d57600080fd5b505afa158015611391573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b59190611871565b90506001600160a01b03811615611431576040516223de2960e01b81526001600160a01b038216906223de29906113fa908b908b908b908b908b908b90600401611b34565b600060405180830381600087803b15801561141457600080fd5b505af1158015611428573d6000803e3d6000fd5b505050506114cb565b81156114cb576001600160a01b0386163b156114cb5760405162461bcd60e51b815260206004820152604d60248201527f4552433737373a20746f6b656e20726563697069656e7420636f6e747261637460448201527f20686173206e6f20696d706c656d656e74657220666f7220455243373737546f60648201526c1ad95b9cd49958da5c1a595b9d609a1b608482015260a401610543565b5050505050505050565b6001600160a01b03851661152b5760405162461bcd60e51b815260206004820181905260248201527f4552433737373a206d696e7420746f20746865207a65726f20616464726573736044820152606401610543565b600033905084600160008282546115429190611c6f565b90915550506001600160a01b0386166000908152602081905260408120805487929061156f908490611c6f565b9091555061158590508160008888888888611301565b856001600160a01b0316816001600160a01b03167f2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d8787876040516115cc93929190611c3a565b60405180910390a36040518581526001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020015b60405180910390a3505050505050565b6001600160a01b03841661167f5760405162461bcd60e51b815260206004820152602260248201527f4552433737373a206275726e2066726f6d20746865207a65726f206164647265604482015261737360f01b6064820152608401610543565b3361168f81866000878787611065565b6001600160a01b038516600090815260208190526040902054848110156117045760405162461bcd60e51b815260206004820152602360248201527f4552433737373a206275726e20616d6f756e7420657863656564732062616c616044820152626e636560e81b6064820152608401610543565b6001600160a01b0386166000908152602081905260408120868303905560018054879290611733908490611c87565b92505081905550856001600160a01b0316826001600160a01b03167fa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a409887878760405161178193929190611c3a565b60405180910390a36040518581526000906001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161160e565b600082601f8301126117d857600080fd5b813567ffffffffffffffff808211156117f3576117f3611cef565b604051601f8301601f19908116603f0116810190828211818310171561181b5761181b611cef565b8160405283815286602085880101111561183457600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561186657600080fd5b813561083a81611d05565b60006020828403121561188357600080fd5b815161083a81611d05565b600080604083850312156118a157600080fd5b82356118ac81611d05565b915060208301356118bc81611d05565b809150509250929050565b6000806000606084860312156118dc57600080fd5b83356118e781611d05565b925060208401356118f781611d05565b929592945050506040919091013590565b600080600080600060a0868803121561192057600080fd5b853561192b81611d05565b9450602086013561193b81611d05565b935060408601359250606086013567ffffffffffffffff8082111561195f57600080fd5b61196b89838a016117c7565b9350608088013591508082111561198157600080fd5b5061198e888289016117c7565b9150509295509295909350565b600080604083850312156119ae57600080fd5b82356119b981611d05565b946020939093013593505050565b6000806000606084860312156119dc57600080fd5b83356119e781611d05565b925060208401359150604084013567ffffffffffffffff811115611a0a57600080fd5b611a16868287016117c7565b9150509250925092565b60008060008060808587031215611a3657600080fd5b8435611a4181611d05565b935060208501359250604085013567ffffffffffffffff80821115611a6557600080fd5b611a71888389016117c7565b93506060870135915080821115611a8757600080fd5b50611a94878288016117c7565b91505092959194509250565b60008060408385031215611ab357600080fd5b82359150602083013567ffffffffffffffff811115611ad157600080fd5b611add858286016117c7565b9150509250929050565b6000815180845260005b81811015611b0d57602081850181015186830182015201611af1565b81811115611b1f576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0387811682528681166020830152851660408201526060810184905260c060808201819052600090611b6f90830185611ae7565b82810360a0840152611b818185611ae7565b9998505050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611bcf5783516001600160a01b031683529284019291840191600101611baa565b50909695505050505050565b60208152600061083a6020830184611ae7565b6020808252602c908201527f4552433737373a2063616c6c6572206973206e6f7420616e206f70657261746f60408201526b39103337b9103437b63232b960a11b606082015260800190565b838152606060208201526000611c536060830185611ae7565b8281036040840152611c658185611ae7565b9695505050505050565b60008219821115611c8257611c82611cd9565b500190565b600082821015611c9957611c99611cd9565b500390565b600181811c90821680611cb257607f821691505b60208210811415611cd357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f6657600080fdfea2646970667358221220e7ae1d0832b6af32896774b1679b8a9f478e1d8dad278cc4201628b4f618227164736f6c63430008070033",
}

StakedBNBTokenMetaData contains all meta data concerning the StakedBNBToken contract.

View Source
var TokenHubABI = TokenHubMetaData.ABI

TokenHubABI is the input ABI used to generate the binding from. Deprecated: Use TokenHubMetaData.ABI instead.

View Source
var TokenHubMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contractAddr\",\"type\":\"address\"}],\"name\":\"getBoundBep2Symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"bep2Symbol\",\"type\":\"string\"}],\"name\":\"getBoundContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMiniRelayFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contractAddr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"expireTime\",\"type\":\"uint64\"}],\"name\":\"transferOut\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}

TokenHubMetaData contains all meta data concerning the TokenHub contract.

View Source
var TokenManagerABI = TokenManagerMetaData.ABI

TokenManagerABI is the input ABI used to generate the binding from. Deprecated: Use TokenManagerMetaData.ABI instead.

View Source
var TokenManagerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bep20Addr\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"expireTime\",\"type\":\"uint64\"}],\"name\":\"mirror\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mirrorFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bep20Addr\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"expireTime\",\"type\":\"uint64\"}],\"name\":\"sync\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"syncFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

TokenManagerMetaData contains all meta data concerning the TokenManager contract.

Functions

This section is empty.

Types

type ConfigData

type ConfigData struct {
	BcStakingWallet       common.Address
	MinCrossChainTransfer *big.Int
	TransferOutTimeout    *big.Int
	MinBNBDeposit         *big.Int
	MinTokenWithdrawal    *big.Int
	CooldownPeriod        *big.Int
	Fee                   FeeDistributionData
}

ConfigData is an auto generated low-level Go binding around an user-defined struct.

type FeeDistributionData

type FeeDistributionData struct {
	Reward   *big.Int
	Deposit  *big.Int
	Withdraw *big.Int
}

FeeDistributionData is an auto generated low-level Go binding around an user-defined struct.

type StakePool

type StakePool struct {
	StakePoolCaller     // Read-only binding to the contract
	StakePoolTransactor // Write-only binding to the contract
	StakePoolFilterer   // Log filterer for contract events
}

StakePool is an auto generated Go binding around an Ethereum contract.

func DeployStakePool

func DeployStakePool(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StakePool, error)

DeployStakePool deploys a new Ethereum contract, binding an instance of StakePool to it.

func NewStakePool

func NewStakePool(address common.Address, backend bind.ContractBackend) (*StakePool, error)

NewStakePool creates a new instance of StakePool, bound to a specific deployed contract.

type StakePoolCaller

type StakePoolCaller struct {
	// contains filtered or unexported fields
}

StakePoolCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewStakePoolCaller

func NewStakePoolCaller(address common.Address, caller bind.ContractCaller) (*StakePoolCaller, error)

NewStakePoolCaller creates a new read-only instance of StakePool, bound to a specific deployed contract.

func (*StakePoolCaller) AddressStore

func (_StakePool *StakePoolCaller) AddressStore(opts *bind.CallOpts) (common.Address, error)

AddressStore is a free data retrieval call binding the contract method 0xc773c8f7.

Solidity: function addressStore() view returns(address)

func (*StakePoolCaller) BOTROLE

func (_StakePool *StakePoolCaller) BOTROLE(opts *bind.CallOpts) ([32]byte, error)

BOTROLE is a free data retrieval call binding the contract method 0xb1503774.

Solidity: function BOT_ROLE() view returns(bytes32)

func (*StakePoolCaller) BnbToUnbond

func (_StakePool *StakePoolCaller) BnbToUnbond(opts *bind.CallOpts) (*big.Int, error)

BnbToUnbond is a free data retrieval call binding the contract method 0x5d97914c.

Solidity: function bnbToUnbond() view returns(int256)

func (*StakePoolCaller) BnbUnbonding

func (_StakePool *StakePoolCaller) BnbUnbonding(opts *bind.CallOpts) (*big.Int, error)

BnbUnbonding is a free data retrieval call binding the contract method 0x6eb95940.

Solidity: function bnbUnbonding() view returns(uint256)

func (*StakePoolCaller) ClaimReqs

func (_StakePool *StakePoolCaller) ClaimReqs(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct {
	WeiToReturn *big.Int
	CreatedAt   *big.Int
}, error)

ClaimReqs is a free data retrieval call binding the contract method 0xf773d87d.

Solidity: function claimReqs(address , uint256 ) view returns(uint256 weiToReturn, uint256 createdAt)

func (*StakePoolCaller) ClaimReserve

func (_StakePool *StakePoolCaller) ClaimReserve(opts *bind.CallOpts) (*big.Int, error)

ClaimReserve is a free data retrieval call binding the contract method 0x3fe5f054.

Solidity: function claimReserve() view returns(uint256)

func (*StakePoolCaller) Config

func (_StakePool *StakePoolCaller) Config(opts *bind.CallOpts) (struct {
	BcStakingWallet       common.Address
	MinCrossChainTransfer *big.Int
	TransferOutTimeout    *big.Int
	MinBNBDeposit         *big.Int
	MinTokenWithdrawal    *big.Int
	CooldownPeriod        *big.Int
	Fee                   FeeDistributionData
}, error)

Config is a free data retrieval call binding the contract method 0x79502c55.

Solidity: function config() view returns(address bcStakingWallet, uint256 minCrossChainTransfer, uint256 transferOutTimeout, uint256 minBNBDeposit, uint256 minTokenWithdrawal, uint256 cooldownPeriod, (uint256,uint256,uint256) fee)

func (*StakePoolCaller) DEFAULTADMINROLE

func (_StakePool *StakePoolCaller) 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 (*StakePoolCaller) ExchangeRate

func (_StakePool *StakePoolCaller) ExchangeRate(opts *bind.CallOpts) (struct {
	TotalWei        *big.Int
	PoolTokenSupply *big.Int
}, error)

ExchangeRate is a free data retrieval call binding the contract method 0x3ba0b9a9.

Solidity: function exchangeRate() view returns(uint256 totalWei, uint256 poolTokenSupply)

func (*StakePoolCaller) GetClaimRequestCount

func (_StakePool *StakePoolCaller) GetClaimRequestCount(opts *bind.CallOpts, user common.Address) (*big.Int, error)

GetClaimRequestCount is a free data retrieval call binding the contract method 0x8be78083.

Solidity: function getClaimRequestCount(address user) view returns(uint256)

func (*StakePoolCaller) GetPaginatedClaimRequests

func (_StakePool *StakePoolCaller) GetPaginatedClaimRequests(opts *bind.CallOpts, user common.Address, from *big.Int, to *big.Int) ([]StakePoolClaimRequest, error)

GetPaginatedClaimRequests is a free data retrieval call binding the contract method 0x75ccc37a.

Solidity: function getPaginatedClaimRequests(address user, uint256 from, uint256 to) view returns((uint256,uint256)[])

func (*StakePoolCaller) GetRoleAdmin

func (_StakePool *StakePoolCaller) 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 (*StakePoolCaller) GetRoleMember

func (_StakePool *StakePoolCaller) 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 (*StakePoolCaller) GetRoleMemberCount

func (_StakePool *StakePoolCaller) 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 (*StakePoolCaller) HasRole

func (_StakePool *StakePoolCaller) 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 (*StakePoolCaller) Paused

func (_StakePool *StakePoolCaller) 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 (*StakePoolCaller) SupportsInterface

func (_StakePool *StakePoolCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type StakePoolCallerRaw

type StakePoolCallerRaw struct {
	Contract *StakePoolCaller // Generic read-only contract binding to access the raw methods on
}

StakePoolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*StakePoolCallerRaw) Call

func (_StakePool *StakePoolCallerRaw) 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 StakePoolCallerSession

type StakePoolCallerSession struct {
	Contract *StakePoolCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

StakePoolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*StakePoolCallerSession) AddressStore

func (_StakePool *StakePoolCallerSession) AddressStore() (common.Address, error)

AddressStore is a free data retrieval call binding the contract method 0xc773c8f7.

Solidity: function addressStore() view returns(address)

func (*StakePoolCallerSession) BOTROLE

func (_StakePool *StakePoolCallerSession) BOTROLE() ([32]byte, error)

BOTROLE is a free data retrieval call binding the contract method 0xb1503774.

Solidity: function BOT_ROLE() view returns(bytes32)

func (*StakePoolCallerSession) BnbToUnbond

func (_StakePool *StakePoolCallerSession) BnbToUnbond() (*big.Int, error)

BnbToUnbond is a free data retrieval call binding the contract method 0x5d97914c.

Solidity: function bnbToUnbond() view returns(int256)

func (*StakePoolCallerSession) BnbUnbonding

func (_StakePool *StakePoolCallerSession) BnbUnbonding() (*big.Int, error)

BnbUnbonding is a free data retrieval call binding the contract method 0x6eb95940.

Solidity: function bnbUnbonding() view returns(uint256)

func (*StakePoolCallerSession) ClaimReqs

func (_StakePool *StakePoolCallerSession) ClaimReqs(arg0 common.Address, arg1 *big.Int) (struct {
	WeiToReturn *big.Int
	CreatedAt   *big.Int
}, error)

ClaimReqs is a free data retrieval call binding the contract method 0xf773d87d.

Solidity: function claimReqs(address , uint256 ) view returns(uint256 weiToReturn, uint256 createdAt)

func (*StakePoolCallerSession) ClaimReserve

func (_StakePool *StakePoolCallerSession) ClaimReserve() (*big.Int, error)

ClaimReserve is a free data retrieval call binding the contract method 0x3fe5f054.

Solidity: function claimReserve() view returns(uint256)

func (*StakePoolCallerSession) Config

func (_StakePool *StakePoolCallerSession) Config() (struct {
	BcStakingWallet       common.Address
	MinCrossChainTransfer *big.Int
	TransferOutTimeout    *big.Int
	MinBNBDeposit         *big.Int
	MinTokenWithdrawal    *big.Int
	CooldownPeriod        *big.Int
	Fee                   FeeDistributionData
}, error)

Config is a free data retrieval call binding the contract method 0x79502c55.

Solidity: function config() view returns(address bcStakingWallet, uint256 minCrossChainTransfer, uint256 transferOutTimeout, uint256 minBNBDeposit, uint256 minTokenWithdrawal, uint256 cooldownPeriod, (uint256,uint256,uint256) fee)

func (*StakePoolCallerSession) DEFAULTADMINROLE

func (_StakePool *StakePoolCallerSession) 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 (*StakePoolCallerSession) ExchangeRate

func (_StakePool *StakePoolCallerSession) ExchangeRate() (struct {
	TotalWei        *big.Int
	PoolTokenSupply *big.Int
}, error)

ExchangeRate is a free data retrieval call binding the contract method 0x3ba0b9a9.

Solidity: function exchangeRate() view returns(uint256 totalWei, uint256 poolTokenSupply)

func (*StakePoolCallerSession) GetClaimRequestCount

func (_StakePool *StakePoolCallerSession) GetClaimRequestCount(user common.Address) (*big.Int, error)

GetClaimRequestCount is a free data retrieval call binding the contract method 0x8be78083.

Solidity: function getClaimRequestCount(address user) view returns(uint256)

func (*StakePoolCallerSession) GetPaginatedClaimRequests

func (_StakePool *StakePoolCallerSession) GetPaginatedClaimRequests(user common.Address, from *big.Int, to *big.Int) ([]StakePoolClaimRequest, error)

GetPaginatedClaimRequests is a free data retrieval call binding the contract method 0x75ccc37a.

Solidity: function getPaginatedClaimRequests(address user, uint256 from, uint256 to) view returns((uint256,uint256)[])

func (*StakePoolCallerSession) GetRoleAdmin

func (_StakePool *StakePoolCallerSession) 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 (*StakePoolCallerSession) GetRoleMember

func (_StakePool *StakePoolCallerSession) 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 (*StakePoolCallerSession) GetRoleMemberCount

func (_StakePool *StakePoolCallerSession) 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 (*StakePoolCallerSession) HasRole

func (_StakePool *StakePoolCallerSession) 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 (*StakePoolCallerSession) Paused

func (_StakePool *StakePoolCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*StakePoolCallerSession) SupportsInterface

func (_StakePool *StakePoolCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type StakePoolClaim

type StakePoolClaim struct {
	User      common.Address
	Req       StakePoolClaimRequest
	Timestamp *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

StakePoolClaim represents a Claim event raised by the StakePool contract.

type StakePoolClaimIterator

type StakePoolClaimIterator struct {
	Event *StakePoolClaim // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakePoolClaimIterator is returned from FilterClaim and is used to iterate over the raw logs and unpacked data for Claim events raised by the StakePool contract.

func (*StakePoolClaimIterator) Close

func (it *StakePoolClaimIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakePoolClaimIterator) Error

func (it *StakePoolClaimIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakePoolClaimIterator) Next

func (it *StakePoolClaimIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakePoolClaimRequest

type StakePoolClaimRequest struct {
	WeiToReturn *big.Int
	CreatedAt   *big.Int
}

StakePoolClaimRequest is an auto generated low-level Go binding around an user-defined struct.

type StakePoolConfigUpdated

type StakePoolConfigUpdated struct {
	Raw types.Log // Blockchain specific contextual infos
}

StakePoolConfigUpdated represents a ConfigUpdated event raised by the StakePool contract.

type StakePoolConfigUpdatedIterator

type StakePoolConfigUpdatedIterator struct {
	Event *StakePoolConfigUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakePoolConfigUpdatedIterator is returned from FilterConfigUpdated and is used to iterate over the raw logs and unpacked data for ConfigUpdated events raised by the StakePool contract.

func (*StakePoolConfigUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakePoolConfigUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakePoolConfigUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakePoolDeposit

type StakePoolDeposit struct {
	User            common.Address
	BnbAmount       *big.Int
	PoolTokenAmount *big.Int
	Timestamp       *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

StakePoolDeposit represents a Deposit event raised by the StakePool contract.

type StakePoolDepositIterator

type StakePoolDepositIterator struct {
	Event *StakePoolDeposit // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakePoolDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the StakePool contract.

func (*StakePoolDepositIterator) Close

func (it *StakePoolDepositIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakePoolDepositIterator) Error

func (it *StakePoolDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakePoolDepositIterator) Next

func (it *StakePoolDepositIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakePoolEpochUpdate

type StakePoolEpochUpdate struct {
	BnbRewards *big.Int
	FeeTokens  *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

StakePoolEpochUpdate represents a EpochUpdate event raised by the StakePool contract.

type StakePoolEpochUpdateIterator

type StakePoolEpochUpdateIterator struct {
	Event *StakePoolEpochUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakePoolEpochUpdateIterator is returned from FilterEpochUpdate and is used to iterate over the raw logs and unpacked data for EpochUpdate events raised by the StakePool contract.

func (*StakePoolEpochUpdateIterator) Close

func (it *StakePoolEpochUpdateIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakePoolEpochUpdateIterator) Error

func (it *StakePoolEpochUpdateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakePoolEpochUpdateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakePoolFilterer

type StakePoolFilterer struct {
	// contains filtered or unexported fields
}

StakePoolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewStakePoolFilterer

func NewStakePoolFilterer(address common.Address, filterer bind.ContractFilterer) (*StakePoolFilterer, error)

NewStakePoolFilterer creates a new log filterer instance of StakePool, bound to a specific deployed contract.

func (*StakePoolFilterer) FilterClaim

func (_StakePool *StakePoolFilterer) FilterClaim(opts *bind.FilterOpts, user []common.Address) (*StakePoolClaimIterator, error)

FilterClaim is a free log retrieval operation binding the contract event 0x68b2280298dbae04fabb3ba3aec3f939aebaf17f3b57811225a496cafee6f9c6.

Solidity: event Claim(address indexed user, (uint256,uint256) req, uint256 timestamp)

func (*StakePoolFilterer) FilterConfigUpdated

func (_StakePool *StakePoolFilterer) FilterConfigUpdated(opts *bind.FilterOpts) (*StakePoolConfigUpdatedIterator, error)

FilterConfigUpdated is a free log retrieval operation binding the contract event 0xfe891c6ab12cf73707f8deb6600c12ba382e4cc31eb2b0a2754cad13075ed2d1.

Solidity: event ConfigUpdated()

func (*StakePoolFilterer) FilterDeposit

func (_StakePool *StakePoolFilterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address) (*StakePoolDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0x36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e.

Solidity: event Deposit(address indexed user, uint256 bnbAmount, uint256 poolTokenAmount, uint256 timestamp)

func (*StakePoolFilterer) FilterEpochUpdate

func (_StakePool *StakePoolFilterer) FilterEpochUpdate(opts *bind.FilterOpts) (*StakePoolEpochUpdateIterator, error)

FilterEpochUpdate is a free log retrieval operation binding the contract event 0xcb62e14f4587604f4099c842d98789e47ebdd0ccbf6fd86a0581aa337a602eb1.

Solidity: event EpochUpdate(uint256 bnbRewards, uint256 feeTokens)

func (*StakePoolFilterer) FilterInitialized

func (_StakePool *StakePoolFilterer) FilterInitialized(opts *bind.FilterOpts) (*StakePoolInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*StakePoolFilterer) FilterInitiateDelegationShortCircuit

func (_StakePool *StakePoolFilterer) FilterInitiateDelegationShortCircuit(opts *bind.FilterOpts) (*StakePoolInitiateDelegationShortCircuitIterator, error)

FilterInitiateDelegationShortCircuit is a free log retrieval operation binding the contract event 0x398a2b33a17101f76ac0227b1c277b01d5ce921579fc0ebcc8a10083ba53fcd1.

Solidity: event InitiateDelegation_ShortCircuit(uint256 shortCircuitAmount)

func (*StakePoolFilterer) FilterInitiateDelegationSuccess

func (_StakePool *StakePoolFilterer) FilterInitiateDelegationSuccess(opts *bind.FilterOpts) (*StakePoolInitiateDelegationSuccessIterator, error)

FilterInitiateDelegationSuccess is a free log retrieval operation binding the contract event 0xab39d195fb15cf2b785ee487c131ff8eb2b3c97d2750756b63e3b11e81a11cfb.

Solidity: event InitiateDelegation_Success()

func (*StakePoolFilterer) FilterInitiateDelegationTransferOut

func (_StakePool *StakePoolFilterer) FilterInitiateDelegationTransferOut(opts *bind.FilterOpts) (*StakePoolInitiateDelegationTransferOutIterator, error)

FilterInitiateDelegationTransferOut is a free log retrieval operation binding the contract event 0x12ba36faeb29044a46a4f5a2b0a55480ca8c22bd52e1bad4f913cd1c6a2811fa.

Solidity: event InitiateDelegation_TransferOut(uint256 transferOutAmount)

func (*StakePoolFilterer) FilterPaused

func (_StakePool *StakePoolFilterer) FilterPaused(opts *bind.FilterOpts) (*StakePoolPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*StakePoolFilterer) FilterRoleAdminChanged

func (_StakePool *StakePoolFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*StakePoolRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*StakePoolFilterer) FilterRoleGranted

func (_StakePool *StakePoolFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*StakePoolRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*StakePoolFilterer) FilterRoleRevoked

func (_StakePool *StakePoolFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*StakePoolRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*StakePoolFilterer) FilterUnbondingFinished

func (_StakePool *StakePoolFilterer) FilterUnbondingFinished(opts *bind.FilterOpts) (*StakePoolUnbondingFinishedIterator, error)

FilterUnbondingFinished is a free log retrieval operation binding the contract event 0x31690952e66f4ee8423e3087dcbc0687ddee8d263986b865229aee4ebdbafea5.

Solidity: event UnbondingFinished(uint256 unbondedAmount)

func (*StakePoolFilterer) FilterUnbondingInitiated

func (_StakePool *StakePoolFilterer) FilterUnbondingInitiated(opts *bind.FilterOpts) (*StakePoolUnbondingInitiatedIterator, error)

FilterUnbondingInitiated is a free log retrieval operation binding the contract event 0xfcfebef86ea31f185fe5d81c5fe96ba3835d0e293f58bb5d33907c3c1522ba87.

Solidity: event UnbondingInitiated(uint256 bnbUnbonding)

func (*StakePoolFilterer) FilterUnpaused

func (_StakePool *StakePoolFilterer) FilterUnpaused(opts *bind.FilterOpts) (*StakePoolUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*StakePoolFilterer) FilterWithdraw

func (_StakePool *StakePoolFilterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address) (*StakePoolWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0x02f25270a4d87bea75db541cdfe559334a275b4a233520ed6c0a2429667cca94.

Solidity: event Withdraw(address indexed user, uint256 poolTokenAmount, uint256 bnbAmount, uint256 timestamp)

func (*StakePoolFilterer) ParseClaim

func (_StakePool *StakePoolFilterer) ParseClaim(log types.Log) (*StakePoolClaim, error)

ParseClaim is a log parse operation binding the contract event 0x68b2280298dbae04fabb3ba3aec3f939aebaf17f3b57811225a496cafee6f9c6.

Solidity: event Claim(address indexed user, (uint256,uint256) req, uint256 timestamp)

func (*StakePoolFilterer) ParseConfigUpdated

func (_StakePool *StakePoolFilterer) ParseConfigUpdated(log types.Log) (*StakePoolConfigUpdated, error)

ParseConfigUpdated is a log parse operation binding the contract event 0xfe891c6ab12cf73707f8deb6600c12ba382e4cc31eb2b0a2754cad13075ed2d1.

Solidity: event ConfigUpdated()

func (*StakePoolFilterer) ParseDeposit

func (_StakePool *StakePoolFilterer) ParseDeposit(log types.Log) (*StakePoolDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0x36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e.

Solidity: event Deposit(address indexed user, uint256 bnbAmount, uint256 poolTokenAmount, uint256 timestamp)

func (*StakePoolFilterer) ParseEpochUpdate

func (_StakePool *StakePoolFilterer) ParseEpochUpdate(log types.Log) (*StakePoolEpochUpdate, error)

ParseEpochUpdate is a log parse operation binding the contract event 0xcb62e14f4587604f4099c842d98789e47ebdd0ccbf6fd86a0581aa337a602eb1.

Solidity: event EpochUpdate(uint256 bnbRewards, uint256 feeTokens)

func (*StakePoolFilterer) ParseInitialized

func (_StakePool *StakePoolFilterer) ParseInitialized(log types.Log) (*StakePoolInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*StakePoolFilterer) ParseInitiateDelegationShortCircuit

func (_StakePool *StakePoolFilterer) ParseInitiateDelegationShortCircuit(log types.Log) (*StakePoolInitiateDelegationShortCircuit, error)

ParseInitiateDelegationShortCircuit is a log parse operation binding the contract event 0x398a2b33a17101f76ac0227b1c277b01d5ce921579fc0ebcc8a10083ba53fcd1.

Solidity: event InitiateDelegation_ShortCircuit(uint256 shortCircuitAmount)

func (*StakePoolFilterer) ParseInitiateDelegationSuccess

func (_StakePool *StakePoolFilterer) ParseInitiateDelegationSuccess(log types.Log) (*StakePoolInitiateDelegationSuccess, error)

ParseInitiateDelegationSuccess is a log parse operation binding the contract event 0xab39d195fb15cf2b785ee487c131ff8eb2b3c97d2750756b63e3b11e81a11cfb.

Solidity: event InitiateDelegation_Success()

func (*StakePoolFilterer) ParseInitiateDelegationTransferOut

func (_StakePool *StakePoolFilterer) ParseInitiateDelegationTransferOut(log types.Log) (*StakePoolInitiateDelegationTransferOut, error)

ParseInitiateDelegationTransferOut is a log parse operation binding the contract event 0x12ba36faeb29044a46a4f5a2b0a55480ca8c22bd52e1bad4f913cd1c6a2811fa.

Solidity: event InitiateDelegation_TransferOut(uint256 transferOutAmount)

func (*StakePoolFilterer) ParsePaused

func (_StakePool *StakePoolFilterer) ParsePaused(log types.Log) (*StakePoolPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*StakePoolFilterer) ParseRoleAdminChanged

func (_StakePool *StakePoolFilterer) ParseRoleAdminChanged(log types.Log) (*StakePoolRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*StakePoolFilterer) ParseRoleGranted

func (_StakePool *StakePoolFilterer) ParseRoleGranted(log types.Log) (*StakePoolRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*StakePoolFilterer) ParseRoleRevoked

func (_StakePool *StakePoolFilterer) ParseRoleRevoked(log types.Log) (*StakePoolRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*StakePoolFilterer) ParseUnbondingFinished

func (_StakePool *StakePoolFilterer) ParseUnbondingFinished(log types.Log) (*StakePoolUnbondingFinished, error)

ParseUnbondingFinished is a log parse operation binding the contract event 0x31690952e66f4ee8423e3087dcbc0687ddee8d263986b865229aee4ebdbafea5.

Solidity: event UnbondingFinished(uint256 unbondedAmount)

func (*StakePoolFilterer) ParseUnbondingInitiated

func (_StakePool *StakePoolFilterer) ParseUnbondingInitiated(log types.Log) (*StakePoolUnbondingInitiated, error)

ParseUnbondingInitiated is a log parse operation binding the contract event 0xfcfebef86ea31f185fe5d81c5fe96ba3835d0e293f58bb5d33907c3c1522ba87.

Solidity: event UnbondingInitiated(uint256 bnbUnbonding)

func (*StakePoolFilterer) ParseUnpaused

func (_StakePool *StakePoolFilterer) ParseUnpaused(log types.Log) (*StakePoolUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*StakePoolFilterer) ParseWithdraw

func (_StakePool *StakePoolFilterer) ParseWithdraw(log types.Log) (*StakePoolWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0x02f25270a4d87bea75db541cdfe559334a275b4a233520ed6c0a2429667cca94.

Solidity: event Withdraw(address indexed user, uint256 poolTokenAmount, uint256 bnbAmount, uint256 timestamp)

func (*StakePoolFilterer) WatchClaim

func (_StakePool *StakePoolFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *StakePoolClaim, user []common.Address) (event.Subscription, error)

WatchClaim is a free log subscription operation binding the contract event 0x68b2280298dbae04fabb3ba3aec3f939aebaf17f3b57811225a496cafee6f9c6.

Solidity: event Claim(address indexed user, (uint256,uint256) req, uint256 timestamp)

func (*StakePoolFilterer) WatchConfigUpdated

func (_StakePool *StakePoolFilterer) WatchConfigUpdated(opts *bind.WatchOpts, sink chan<- *StakePoolConfigUpdated) (event.Subscription, error)

WatchConfigUpdated is a free log subscription operation binding the contract event 0xfe891c6ab12cf73707f8deb6600c12ba382e4cc31eb2b0a2754cad13075ed2d1.

Solidity: event ConfigUpdated()

func (*StakePoolFilterer) WatchDeposit

func (_StakePool *StakePoolFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *StakePoolDeposit, user []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0x36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e.

Solidity: event Deposit(address indexed user, uint256 bnbAmount, uint256 poolTokenAmount, uint256 timestamp)

func (*StakePoolFilterer) WatchEpochUpdate

func (_StakePool *StakePoolFilterer) WatchEpochUpdate(opts *bind.WatchOpts, sink chan<- *StakePoolEpochUpdate) (event.Subscription, error)

WatchEpochUpdate is a free log subscription operation binding the contract event 0xcb62e14f4587604f4099c842d98789e47ebdd0ccbf6fd86a0581aa337a602eb1.

Solidity: event EpochUpdate(uint256 bnbRewards, uint256 feeTokens)

func (*StakePoolFilterer) WatchInitialized

func (_StakePool *StakePoolFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *StakePoolInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*StakePoolFilterer) WatchInitiateDelegationShortCircuit

func (_StakePool *StakePoolFilterer) WatchInitiateDelegationShortCircuit(opts *bind.WatchOpts, sink chan<- *StakePoolInitiateDelegationShortCircuit) (event.Subscription, error)

WatchInitiateDelegationShortCircuit is a free log subscription operation binding the contract event 0x398a2b33a17101f76ac0227b1c277b01d5ce921579fc0ebcc8a10083ba53fcd1.

Solidity: event InitiateDelegation_ShortCircuit(uint256 shortCircuitAmount)

func (*StakePoolFilterer) WatchInitiateDelegationSuccess

func (_StakePool *StakePoolFilterer) WatchInitiateDelegationSuccess(opts *bind.WatchOpts, sink chan<- *StakePoolInitiateDelegationSuccess) (event.Subscription, error)

WatchInitiateDelegationSuccess is a free log subscription operation binding the contract event 0xab39d195fb15cf2b785ee487c131ff8eb2b3c97d2750756b63e3b11e81a11cfb.

Solidity: event InitiateDelegation_Success()

func (*StakePoolFilterer) WatchInitiateDelegationTransferOut

func (_StakePool *StakePoolFilterer) WatchInitiateDelegationTransferOut(opts *bind.WatchOpts, sink chan<- *StakePoolInitiateDelegationTransferOut) (event.Subscription, error)

WatchInitiateDelegationTransferOut is a free log subscription operation binding the contract event 0x12ba36faeb29044a46a4f5a2b0a55480ca8c22bd52e1bad4f913cd1c6a2811fa.

Solidity: event InitiateDelegation_TransferOut(uint256 transferOutAmount)

func (*StakePoolFilterer) WatchPaused

func (_StakePool *StakePoolFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *StakePoolPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*StakePoolFilterer) WatchRoleAdminChanged

func (_StakePool *StakePoolFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *StakePoolRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*StakePoolFilterer) WatchRoleGranted

func (_StakePool *StakePoolFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *StakePoolRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*StakePoolFilterer) WatchRoleRevoked

func (_StakePool *StakePoolFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *StakePoolRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*StakePoolFilterer) WatchUnbondingFinished

func (_StakePool *StakePoolFilterer) WatchUnbondingFinished(opts *bind.WatchOpts, sink chan<- *StakePoolUnbondingFinished) (event.Subscription, error)

WatchUnbondingFinished is a free log subscription operation binding the contract event 0x31690952e66f4ee8423e3087dcbc0687ddee8d263986b865229aee4ebdbafea5.

Solidity: event UnbondingFinished(uint256 unbondedAmount)

func (*StakePoolFilterer) WatchUnbondingInitiated

func (_StakePool *StakePoolFilterer) WatchUnbondingInitiated(opts *bind.WatchOpts, sink chan<- *StakePoolUnbondingInitiated) (event.Subscription, error)

WatchUnbondingInitiated is a free log subscription operation binding the contract event 0xfcfebef86ea31f185fe5d81c5fe96ba3835d0e293f58bb5d33907c3c1522ba87.

Solidity: event UnbondingInitiated(uint256 bnbUnbonding)

func (*StakePoolFilterer) WatchUnpaused

func (_StakePool *StakePoolFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *StakePoolUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*StakePoolFilterer) WatchWithdraw

func (_StakePool *StakePoolFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *StakePoolWithdraw, user []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0x02f25270a4d87bea75db541cdfe559334a275b4a233520ed6c0a2429667cca94.

Solidity: event Withdraw(address indexed user, uint256 poolTokenAmount, uint256 bnbAmount, uint256 timestamp)

type StakePoolInitialized

type StakePoolInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

StakePoolInitialized represents a Initialized event raised by the StakePool contract.

type StakePoolInitializedIterator

type StakePoolInitializedIterator struct {
	Event *StakePoolInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakePoolInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the StakePool contract.

func (*StakePoolInitializedIterator) Close

func (it *StakePoolInitializedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakePoolInitializedIterator) Error

func (it *StakePoolInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakePoolInitializedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakePoolInitiateDelegationShortCircuit

type StakePoolInitiateDelegationShortCircuit struct {
	ShortCircuitAmount *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

StakePoolInitiateDelegationShortCircuit represents a InitiateDelegationShortCircuit event raised by the StakePool contract.

type StakePoolInitiateDelegationShortCircuitIterator

type StakePoolInitiateDelegationShortCircuitIterator struct {
	Event *StakePoolInitiateDelegationShortCircuit // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakePoolInitiateDelegationShortCircuitIterator is returned from FilterInitiateDelegationShortCircuit and is used to iterate over the raw logs and unpacked data for InitiateDelegationShortCircuit events raised by the StakePool contract.

func (*StakePoolInitiateDelegationShortCircuitIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakePoolInitiateDelegationShortCircuitIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakePoolInitiateDelegationShortCircuitIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakePoolInitiateDelegationSuccess

type StakePoolInitiateDelegationSuccess struct {
	Raw types.Log // Blockchain specific contextual infos
}

StakePoolInitiateDelegationSuccess represents a InitiateDelegationSuccess event raised by the StakePool contract.

type StakePoolInitiateDelegationSuccessIterator

type StakePoolInitiateDelegationSuccessIterator struct {
	Event *StakePoolInitiateDelegationSuccess // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakePoolInitiateDelegationSuccessIterator is returned from FilterInitiateDelegationSuccess and is used to iterate over the raw logs and unpacked data for InitiateDelegationSuccess events raised by the StakePool contract.

func (*StakePoolInitiateDelegationSuccessIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakePoolInitiateDelegationSuccessIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakePoolInitiateDelegationSuccessIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakePoolInitiateDelegationTransferOut

type StakePoolInitiateDelegationTransferOut struct {
	TransferOutAmount *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

StakePoolInitiateDelegationTransferOut represents a InitiateDelegationTransferOut event raised by the StakePool contract.

type StakePoolInitiateDelegationTransferOutIterator

type StakePoolInitiateDelegationTransferOutIterator struct {
	Event *StakePoolInitiateDelegationTransferOut // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakePoolInitiateDelegationTransferOutIterator is returned from FilterInitiateDelegationTransferOut and is used to iterate over the raw logs and unpacked data for InitiateDelegationTransferOut events raised by the StakePool contract.

func (*StakePoolInitiateDelegationTransferOutIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakePoolInitiateDelegationTransferOutIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakePoolInitiateDelegationTransferOutIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakePoolPaused

type StakePoolPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

StakePoolPaused represents a Paused event raised by the StakePool contract.

type StakePoolPausedIterator

type StakePoolPausedIterator struct {
	Event *StakePoolPaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakePoolPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the StakePool contract.

func (*StakePoolPausedIterator) Close

func (it *StakePoolPausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakePoolPausedIterator) Error

func (it *StakePoolPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakePoolPausedIterator) Next

func (it *StakePoolPausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakePoolRaw

type StakePoolRaw struct {
	Contract *StakePool // Generic contract binding to access the raw methods on
}

StakePoolRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*StakePoolRaw) Call

func (_StakePool *StakePoolRaw) 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 (*StakePoolRaw) Transact

func (_StakePool *StakePoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StakePoolRaw) Transfer

func (_StakePool *StakePoolRaw) 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 StakePoolRoleAdminChanged

type StakePoolRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

StakePoolRoleAdminChanged represents a RoleAdminChanged event raised by the StakePool contract.

type StakePoolRoleAdminChangedIterator

type StakePoolRoleAdminChangedIterator struct {
	Event *StakePoolRoleAdminChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakePoolRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the StakePool contract.

func (*StakePoolRoleAdminChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakePoolRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakePoolRoleAdminChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakePoolRoleGranted

type StakePoolRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

StakePoolRoleGranted represents a RoleGranted event raised by the StakePool contract.

type StakePoolRoleGrantedIterator

type StakePoolRoleGrantedIterator struct {
	Event *StakePoolRoleGranted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakePoolRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the StakePool contract.

func (*StakePoolRoleGrantedIterator) Close

func (it *StakePoolRoleGrantedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakePoolRoleGrantedIterator) Error

func (it *StakePoolRoleGrantedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakePoolRoleGrantedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakePoolRoleRevoked

type StakePoolRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

StakePoolRoleRevoked represents a RoleRevoked event raised by the StakePool contract.

type StakePoolRoleRevokedIterator

type StakePoolRoleRevokedIterator struct {
	Event *StakePoolRoleRevoked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakePoolRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the StakePool contract.

func (*StakePoolRoleRevokedIterator) Close

func (it *StakePoolRoleRevokedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakePoolRoleRevokedIterator) Error

func (it *StakePoolRoleRevokedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakePoolRoleRevokedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakePoolSession

type StakePoolSession struct {
	Contract     *StakePool        // 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
}

StakePoolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*StakePoolSession) AddressStore

func (_StakePool *StakePoolSession) AddressStore() (common.Address, error)

AddressStore is a free data retrieval call binding the contract method 0xc773c8f7.

Solidity: function addressStore() view returns(address)

func (*StakePoolSession) BOTROLE

func (_StakePool *StakePoolSession) BOTROLE() ([32]byte, error)

BOTROLE is a free data retrieval call binding the contract method 0xb1503774.

Solidity: function BOT_ROLE() view returns(bytes32)

func (*StakePoolSession) BnbToUnbond

func (_StakePool *StakePoolSession) BnbToUnbond() (*big.Int, error)

BnbToUnbond is a free data retrieval call binding the contract method 0x5d97914c.

Solidity: function bnbToUnbond() view returns(int256)

func (*StakePoolSession) BnbUnbonding

func (_StakePool *StakePoolSession) BnbUnbonding() (*big.Int, error)

BnbUnbonding is a free data retrieval call binding the contract method 0x6eb95940.

Solidity: function bnbUnbonding() view returns(uint256)

func (*StakePoolSession) Claim

func (_StakePool *StakePoolSession) Claim(index *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x379607f5.

Solidity: function claim(uint256 index) returns()

func (*StakePoolSession) ClaimAll

func (_StakePool *StakePoolSession) ClaimAll() (*types.Transaction, error)

ClaimAll is a paid mutator transaction binding the contract method 0xd1058e59.

Solidity: function claimAll() returns()

func (*StakePoolSession) ClaimReqs

func (_StakePool *StakePoolSession) ClaimReqs(arg0 common.Address, arg1 *big.Int) (struct {
	WeiToReturn *big.Int
	CreatedAt   *big.Int
}, error)

ClaimReqs is a free data retrieval call binding the contract method 0xf773d87d.

Solidity: function claimReqs(address , uint256 ) view returns(uint256 weiToReturn, uint256 createdAt)

func (*StakePoolSession) ClaimReserve

func (_StakePool *StakePoolSession) ClaimReserve() (*big.Int, error)

ClaimReserve is a free data retrieval call binding the contract method 0x3fe5f054.

Solidity: function claimReserve() view returns(uint256)

func (*StakePoolSession) Config

func (_StakePool *StakePoolSession) Config() (struct {
	BcStakingWallet       common.Address
	MinCrossChainTransfer *big.Int
	TransferOutTimeout    *big.Int
	MinBNBDeposit         *big.Int
	MinTokenWithdrawal    *big.Int
	CooldownPeriod        *big.Int
	Fee                   FeeDistributionData
}, error)

Config is a free data retrieval call binding the contract method 0x79502c55.

Solidity: function config() view returns(address bcStakingWallet, uint256 minCrossChainTransfer, uint256 transferOutTimeout, uint256 minBNBDeposit, uint256 minTokenWithdrawal, uint256 cooldownPeriod, (uint256,uint256,uint256) fee)

func (*StakePoolSession) DEFAULTADMINROLE

func (_StakePool *StakePoolSession) 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 (*StakePoolSession) Deposit

func (_StakePool *StakePoolSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*StakePoolSession) EpochUpdate

func (_StakePool *StakePoolSession) EpochUpdate(bnbRewards *big.Int) (*types.Transaction, error)

EpochUpdate is a paid mutator transaction binding the contract method 0x72bd5c94.

Solidity: function epochUpdate(uint256 bnbRewards) returns()

func (*StakePoolSession) ExchangeRate

func (_StakePool *StakePoolSession) ExchangeRate() (struct {
	TotalWei        *big.Int
	PoolTokenSupply *big.Int
}, error)

ExchangeRate is a free data retrieval call binding the contract method 0x3ba0b9a9.

Solidity: function exchangeRate() view returns(uint256 totalWei, uint256 poolTokenSupply)

func (*StakePoolSession) GetClaimRequestCount

func (_StakePool *StakePoolSession) GetClaimRequestCount(user common.Address) (*big.Int, error)

GetClaimRequestCount is a free data retrieval call binding the contract method 0x8be78083.

Solidity: function getClaimRequestCount(address user) view returns(uint256)

func (*StakePoolSession) GetPaginatedClaimRequests

func (_StakePool *StakePoolSession) GetPaginatedClaimRequests(user common.Address, from *big.Int, to *big.Int) ([]StakePoolClaimRequest, error)

GetPaginatedClaimRequests is a free data retrieval call binding the contract method 0x75ccc37a.

Solidity: function getPaginatedClaimRequests(address user, uint256 from, uint256 to) view returns((uint256,uint256)[])

func (*StakePoolSession) GetRoleAdmin

func (_StakePool *StakePoolSession) 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 (*StakePoolSession) GetRoleMember

func (_StakePool *StakePoolSession) 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 (*StakePoolSession) GetRoleMemberCount

func (_StakePool *StakePoolSession) 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 (*StakePoolSession) GrantRole

func (_StakePool *StakePoolSession) 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 (*StakePoolSession) HasRole

func (_StakePool *StakePoolSession) 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 (*StakePoolSession) Initialize

func (_StakePool *StakePoolSession) Initialize(addressStore_ common.Address, config_ ConfigData) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x291532ed.

Solidity: function initialize(address addressStore_, (address,uint256,uint256,uint256,uint256,uint256,(uint256,uint256,uint256)) config_) returns()

func (*StakePoolSession) InitiateDelegation

func (_StakePool *StakePoolSession) InitiateDelegation() (*types.Transaction, error)

InitiateDelegation is a paid mutator transaction binding the contract method 0xfa6c2f7d.

Solidity: function initiateDelegation() returns()

func (*StakePoolSession) Pause

func (_StakePool *StakePoolSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StakePoolSession) Paused

func (_StakePool *StakePoolSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*StakePoolSession) Receive

func (_StakePool *StakePoolSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*StakePoolSession) RenounceRole

func (_StakePool *StakePoolSession) 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 (*StakePoolSession) RevokeRole

func (_StakePool *StakePoolSession) 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 (*StakePoolSession) SupportsInterface

func (_StakePool *StakePoolSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*StakePoolSession) TokensReceived

func (_StakePool *StakePoolSession) TokensReceived(arg0 common.Address, from common.Address, to common.Address, amount *big.Int, arg4 []byte, arg5 []byte) (*types.Transaction, error)

TokensReceived is a paid mutator transaction binding the contract method 0x0023de29.

Solidity: function tokensReceived(address , address from, address to, uint256 amount, bytes , bytes ) returns()

func (*StakePoolSession) UnbondingFinished

func (_StakePool *StakePoolSession) UnbondingFinished() (*types.Transaction, error)

UnbondingFinished is a paid mutator transaction binding the contract method 0x54cc6d9d.

Solidity: function unbondingFinished() returns()

func (*StakePoolSession) UnbondingInitiated

func (_StakePool *StakePoolSession) UnbondingInitiated(bnbUnbonding_ *big.Int) (*types.Transaction, error)

UnbondingInitiated is a paid mutator transaction binding the contract method 0x8b2bf29f.

Solidity: function unbondingInitiated(uint256 bnbUnbonding_) returns()

func (*StakePoolSession) Unpause

func (_StakePool *StakePoolSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*StakePoolSession) UpdateConfig

func (_StakePool *StakePoolSession) UpdateConfig(config_ ConfigData) (*types.Transaction, error)

UpdateConfig is a paid mutator transaction binding the contract method 0x8d0f4bd9.

Solidity: function updateConfig((address,uint256,uint256,uint256,uint256,uint256,(uint256,uint256,uint256)) config_) returns()

type StakePoolTransactor

type StakePoolTransactor struct {
	// contains filtered or unexported fields
}

StakePoolTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewStakePoolTransactor

func NewStakePoolTransactor(address common.Address, transactor bind.ContractTransactor) (*StakePoolTransactor, error)

NewStakePoolTransactor creates a new write-only instance of StakePool, bound to a specific deployed contract.

func (*StakePoolTransactor) Claim

func (_StakePool *StakePoolTransactor) Claim(opts *bind.TransactOpts, index *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x379607f5.

Solidity: function claim(uint256 index) returns()

func (*StakePoolTransactor) ClaimAll

func (_StakePool *StakePoolTransactor) ClaimAll(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimAll is a paid mutator transaction binding the contract method 0xd1058e59.

Solidity: function claimAll() returns()

func (*StakePoolTransactor) Deposit

func (_StakePool *StakePoolTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*StakePoolTransactor) EpochUpdate

func (_StakePool *StakePoolTransactor) EpochUpdate(opts *bind.TransactOpts, bnbRewards *big.Int) (*types.Transaction, error)

EpochUpdate is a paid mutator transaction binding the contract method 0x72bd5c94.

Solidity: function epochUpdate(uint256 bnbRewards) returns()

func (*StakePoolTransactor) GrantRole

func (_StakePool *StakePoolTransactor) 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 (*StakePoolTransactor) Initialize

func (_StakePool *StakePoolTransactor) Initialize(opts *bind.TransactOpts, addressStore_ common.Address, config_ ConfigData) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x291532ed.

Solidity: function initialize(address addressStore_, (address,uint256,uint256,uint256,uint256,uint256,(uint256,uint256,uint256)) config_) returns()

func (*StakePoolTransactor) InitiateDelegation

func (_StakePool *StakePoolTransactor) InitiateDelegation(opts *bind.TransactOpts) (*types.Transaction, error)

InitiateDelegation is a paid mutator transaction binding the contract method 0xfa6c2f7d.

Solidity: function initiateDelegation() returns()

func (*StakePoolTransactor) Pause

func (_StakePool *StakePoolTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StakePoolTransactor) Receive

func (_StakePool *StakePoolTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*StakePoolTransactor) RenounceRole

func (_StakePool *StakePoolTransactor) 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 (*StakePoolTransactor) RevokeRole

func (_StakePool *StakePoolTransactor) 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 (*StakePoolTransactor) TokensReceived

func (_StakePool *StakePoolTransactor) TokensReceived(opts *bind.TransactOpts, arg0 common.Address, from common.Address, to common.Address, amount *big.Int, arg4 []byte, arg5 []byte) (*types.Transaction, error)

TokensReceived is a paid mutator transaction binding the contract method 0x0023de29.

Solidity: function tokensReceived(address , address from, address to, uint256 amount, bytes , bytes ) returns()

func (*StakePoolTransactor) UnbondingFinished

func (_StakePool *StakePoolTransactor) UnbondingFinished(opts *bind.TransactOpts) (*types.Transaction, error)

UnbondingFinished is a paid mutator transaction binding the contract method 0x54cc6d9d.

Solidity: function unbondingFinished() returns()

func (*StakePoolTransactor) UnbondingInitiated

func (_StakePool *StakePoolTransactor) UnbondingInitiated(opts *bind.TransactOpts, bnbUnbonding_ *big.Int) (*types.Transaction, error)

UnbondingInitiated is a paid mutator transaction binding the contract method 0x8b2bf29f.

Solidity: function unbondingInitiated(uint256 bnbUnbonding_) returns()

func (*StakePoolTransactor) Unpause

func (_StakePool *StakePoolTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*StakePoolTransactor) UpdateConfig

func (_StakePool *StakePoolTransactor) UpdateConfig(opts *bind.TransactOpts, config_ ConfigData) (*types.Transaction, error)

UpdateConfig is a paid mutator transaction binding the contract method 0x8d0f4bd9.

Solidity: function updateConfig((address,uint256,uint256,uint256,uint256,uint256,(uint256,uint256,uint256)) config_) returns()

type StakePoolTransactorRaw

type StakePoolTransactorRaw struct {
	Contract *StakePoolTransactor // Generic write-only contract binding to access the raw methods on
}

StakePoolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*StakePoolTransactorRaw) Transact

func (_StakePool *StakePoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StakePoolTransactorRaw) Transfer

func (_StakePool *StakePoolTransactorRaw) 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 StakePoolTransactorSession

type StakePoolTransactorSession struct {
	Contract     *StakePoolTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

StakePoolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*StakePoolTransactorSession) Claim

func (_StakePool *StakePoolTransactorSession) Claim(index *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x379607f5.

Solidity: function claim(uint256 index) returns()

func (*StakePoolTransactorSession) ClaimAll

func (_StakePool *StakePoolTransactorSession) ClaimAll() (*types.Transaction, error)

ClaimAll is a paid mutator transaction binding the contract method 0xd1058e59.

Solidity: function claimAll() returns()

func (*StakePoolTransactorSession) Deposit

func (_StakePool *StakePoolTransactorSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*StakePoolTransactorSession) EpochUpdate

func (_StakePool *StakePoolTransactorSession) EpochUpdate(bnbRewards *big.Int) (*types.Transaction, error)

EpochUpdate is a paid mutator transaction binding the contract method 0x72bd5c94.

Solidity: function epochUpdate(uint256 bnbRewards) returns()

func (*StakePoolTransactorSession) GrantRole

func (_StakePool *StakePoolTransactorSession) 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 (*StakePoolTransactorSession) Initialize

func (_StakePool *StakePoolTransactorSession) Initialize(addressStore_ common.Address, config_ ConfigData) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x291532ed.

Solidity: function initialize(address addressStore_, (address,uint256,uint256,uint256,uint256,uint256,(uint256,uint256,uint256)) config_) returns()

func (*StakePoolTransactorSession) InitiateDelegation

func (_StakePool *StakePoolTransactorSession) InitiateDelegation() (*types.Transaction, error)

InitiateDelegation is a paid mutator transaction binding the contract method 0xfa6c2f7d.

Solidity: function initiateDelegation() returns()

func (*StakePoolTransactorSession) Pause

func (_StakePool *StakePoolTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StakePoolTransactorSession) Receive

func (_StakePool *StakePoolTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*StakePoolTransactorSession) RenounceRole

func (_StakePool *StakePoolTransactorSession) 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 (*StakePoolTransactorSession) RevokeRole

func (_StakePool *StakePoolTransactorSession) 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 (*StakePoolTransactorSession) TokensReceived

func (_StakePool *StakePoolTransactorSession) TokensReceived(arg0 common.Address, from common.Address, to common.Address, amount *big.Int, arg4 []byte, arg5 []byte) (*types.Transaction, error)

TokensReceived is a paid mutator transaction binding the contract method 0x0023de29.

Solidity: function tokensReceived(address , address from, address to, uint256 amount, bytes , bytes ) returns()

func (*StakePoolTransactorSession) UnbondingFinished

func (_StakePool *StakePoolTransactorSession) UnbondingFinished() (*types.Transaction, error)

UnbondingFinished is a paid mutator transaction binding the contract method 0x54cc6d9d.

Solidity: function unbondingFinished() returns()

func (*StakePoolTransactorSession) UnbondingInitiated

func (_StakePool *StakePoolTransactorSession) UnbondingInitiated(bnbUnbonding_ *big.Int) (*types.Transaction, error)

UnbondingInitiated is a paid mutator transaction binding the contract method 0x8b2bf29f.

Solidity: function unbondingInitiated(uint256 bnbUnbonding_) returns()

func (*StakePoolTransactorSession) Unpause

func (_StakePool *StakePoolTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*StakePoolTransactorSession) UpdateConfig

func (_StakePool *StakePoolTransactorSession) UpdateConfig(config_ ConfigData) (*types.Transaction, error)

UpdateConfig is a paid mutator transaction binding the contract method 0x8d0f4bd9.

Solidity: function updateConfig((address,uint256,uint256,uint256,uint256,uint256,(uint256,uint256,uint256)) config_) returns()

type StakePoolUnbondingFinished

type StakePoolUnbondingFinished struct {
	UnbondedAmount *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

StakePoolUnbondingFinished represents a UnbondingFinished event raised by the StakePool contract.

type StakePoolUnbondingFinishedIterator

type StakePoolUnbondingFinishedIterator struct {
	Event *StakePoolUnbondingFinished // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakePoolUnbondingFinishedIterator is returned from FilterUnbondingFinished and is used to iterate over the raw logs and unpacked data for UnbondingFinished events raised by the StakePool contract.

func (*StakePoolUnbondingFinishedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakePoolUnbondingFinishedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakePoolUnbondingFinishedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakePoolUnbondingInitiated

type StakePoolUnbondingInitiated struct {
	BnbUnbonding *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

StakePoolUnbondingInitiated represents a UnbondingInitiated event raised by the StakePool contract.

type StakePoolUnbondingInitiatedIterator

type StakePoolUnbondingInitiatedIterator struct {
	Event *StakePoolUnbondingInitiated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakePoolUnbondingInitiatedIterator is returned from FilterUnbondingInitiated and is used to iterate over the raw logs and unpacked data for UnbondingInitiated events raised by the StakePool contract.

func (*StakePoolUnbondingInitiatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakePoolUnbondingInitiatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakePoolUnbondingInitiatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakePoolUnpaused

type StakePoolUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

StakePoolUnpaused represents a Unpaused event raised by the StakePool contract.

type StakePoolUnpausedIterator

type StakePoolUnpausedIterator struct {
	Event *StakePoolUnpaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakePoolUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the StakePool contract.

func (*StakePoolUnpausedIterator) Close

func (it *StakePoolUnpausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakePoolUnpausedIterator) Error

func (it *StakePoolUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakePoolUnpausedIterator) Next

func (it *StakePoolUnpausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakePoolWithdraw

type StakePoolWithdraw struct {
	User            common.Address
	PoolTokenAmount *big.Int
	BnbAmount       *big.Int
	Timestamp       *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

StakePoolWithdraw represents a Withdraw event raised by the StakePool contract.

type StakePoolWithdrawIterator

type StakePoolWithdrawIterator struct {
	Event *StakePoolWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakePoolWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the StakePool contract.

func (*StakePoolWithdrawIterator) Close

func (it *StakePoolWithdrawIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakePoolWithdrawIterator) Error

func (it *StakePoolWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakePoolWithdrawIterator) Next

func (it *StakePoolWithdrawIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakedBNBToken

type StakedBNBToken struct {
	StakedBNBTokenCaller     // Read-only binding to the contract
	StakedBNBTokenTransactor // Write-only binding to the contract
	StakedBNBTokenFilterer   // Log filterer for contract events
}

StakedBNBToken is an auto generated Go binding around an Ethereum contract.

func DeployStakedBNBToken

func DeployStakedBNBToken(auth *bind.TransactOpts, backend bind.ContractBackend, addressStore_ common.Address) (common.Address, *types.Transaction, *StakedBNBToken, error)

DeployStakedBNBToken deploys a new Ethereum contract, binding an instance of StakedBNBToken to it.

func NewStakedBNBToken

func NewStakedBNBToken(address common.Address, backend bind.ContractBackend) (*StakedBNBToken, error)

NewStakedBNBToken creates a new instance of StakedBNBToken, bound to a specific deployed contract.

type StakedBNBTokenApproval

type StakedBNBTokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

StakedBNBTokenApproval represents a Approval event raised by the StakedBNBToken contract.

type StakedBNBTokenApprovalIterator

type StakedBNBTokenApprovalIterator struct {
	Event *StakedBNBTokenApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakedBNBTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the StakedBNBToken contract.

func (*StakedBNBTokenApprovalIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakedBNBTokenApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakedBNBTokenApprovalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakedBNBTokenAuthorizedOperator

type StakedBNBTokenAuthorizedOperator struct {
	Operator    common.Address
	TokenHolder common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

StakedBNBTokenAuthorizedOperator represents a AuthorizedOperator event raised by the StakedBNBToken contract.

type StakedBNBTokenAuthorizedOperatorIterator

type StakedBNBTokenAuthorizedOperatorIterator struct {
	Event *StakedBNBTokenAuthorizedOperator // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakedBNBTokenAuthorizedOperatorIterator is returned from FilterAuthorizedOperator and is used to iterate over the raw logs and unpacked data for AuthorizedOperator events raised by the StakedBNBToken contract.

func (*StakedBNBTokenAuthorizedOperatorIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakedBNBTokenAuthorizedOperatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakedBNBTokenAuthorizedOperatorIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakedBNBTokenBurned

type StakedBNBTokenBurned struct {
	Operator     common.Address
	From         common.Address
	Amount       *big.Int
	Data         []byte
	OperatorData []byte
	Raw          types.Log // Blockchain specific contextual infos
}

StakedBNBTokenBurned represents a Burned event raised by the StakedBNBToken contract.

type StakedBNBTokenBurnedIterator

type StakedBNBTokenBurnedIterator struct {
	Event *StakedBNBTokenBurned // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakedBNBTokenBurnedIterator is returned from FilterBurned and is used to iterate over the raw logs and unpacked data for Burned events raised by the StakedBNBToken contract.

func (*StakedBNBTokenBurnedIterator) Close

func (it *StakedBNBTokenBurnedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakedBNBTokenBurnedIterator) Error

func (it *StakedBNBTokenBurnedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakedBNBTokenBurnedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakedBNBTokenCaller

type StakedBNBTokenCaller struct {
	// contains filtered or unexported fields
}

StakedBNBTokenCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewStakedBNBTokenCaller

func NewStakedBNBTokenCaller(address common.Address, caller bind.ContractCaller) (*StakedBNBTokenCaller, error)

NewStakedBNBTokenCaller creates a new read-only instance of StakedBNBToken, bound to a specific deployed contract.

func (*StakedBNBTokenCaller) AddressStore

func (_StakedBNBToken *StakedBNBTokenCaller) AddressStore(opts *bind.CallOpts) (common.Address, error)

AddressStore is a free data retrieval call binding the contract method 0xc773c8f7.

Solidity: function addressStore() view returns(address)

func (*StakedBNBTokenCaller) Allowance

func (_StakedBNBToken *StakedBNBTokenCaller) Allowance(opts *bind.CallOpts, holder common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address holder, address spender) view returns(uint256)

func (*StakedBNBTokenCaller) BalanceOf

func (_StakedBNBToken *StakedBNBTokenCaller) BalanceOf(opts *bind.CallOpts, tokenHolder common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address tokenHolder) view returns(uint256)

func (*StakedBNBTokenCaller) Decimals

func (_StakedBNBToken *StakedBNBTokenCaller) 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 (*StakedBNBTokenCaller) DefaultOperators

func (_StakedBNBToken *StakedBNBTokenCaller) DefaultOperators(opts *bind.CallOpts) ([]common.Address, error)

DefaultOperators is a free data retrieval call binding the contract method 0x06e48538.

Solidity: function defaultOperators() view returns(address[])

func (*StakedBNBTokenCaller) GetOwner

func (_StakedBNBToken *StakedBNBTokenCaller) GetOwner(opts *bind.CallOpts) (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*StakedBNBTokenCaller) Granularity

func (_StakedBNBToken *StakedBNBTokenCaller) Granularity(opts *bind.CallOpts) (*big.Int, error)

Granularity is a free data retrieval call binding the contract method 0x556f0dc7.

Solidity: function granularity() view returns(uint256)

func (*StakedBNBTokenCaller) IsOperatorFor

func (_StakedBNBToken *StakedBNBTokenCaller) IsOperatorFor(opts *bind.CallOpts, operator common.Address, tokenHolder common.Address) (bool, error)

IsOperatorFor is a free data retrieval call binding the contract method 0xd95b6371.

Solidity: function isOperatorFor(address operator, address tokenHolder) view returns(bool)

func (*StakedBNBTokenCaller) Name

func (_StakedBNBToken *StakedBNBTokenCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*StakedBNBTokenCaller) Paused

func (_StakedBNBToken *StakedBNBTokenCaller) 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 (*StakedBNBTokenCaller) Symbol

func (_StakedBNBToken *StakedBNBTokenCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*StakedBNBTokenCaller) TotalSupply

func (_StakedBNBToken *StakedBNBTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type StakedBNBTokenCallerRaw

type StakedBNBTokenCallerRaw struct {
	Contract *StakedBNBTokenCaller // Generic read-only contract binding to access the raw methods on
}

StakedBNBTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*StakedBNBTokenCallerRaw) Call

func (_StakedBNBToken *StakedBNBTokenCallerRaw) 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 StakedBNBTokenCallerSession

type StakedBNBTokenCallerSession struct {
	Contract *StakedBNBTokenCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

StakedBNBTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*StakedBNBTokenCallerSession) AddressStore

func (_StakedBNBToken *StakedBNBTokenCallerSession) AddressStore() (common.Address, error)

AddressStore is a free data retrieval call binding the contract method 0xc773c8f7.

Solidity: function addressStore() view returns(address)

func (*StakedBNBTokenCallerSession) Allowance

func (_StakedBNBToken *StakedBNBTokenCallerSession) Allowance(holder common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address holder, address spender) view returns(uint256)

func (*StakedBNBTokenCallerSession) BalanceOf

func (_StakedBNBToken *StakedBNBTokenCallerSession) BalanceOf(tokenHolder common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address tokenHolder) view returns(uint256)

func (*StakedBNBTokenCallerSession) Decimals

func (_StakedBNBToken *StakedBNBTokenCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() pure returns(uint8)

func (*StakedBNBTokenCallerSession) DefaultOperators

func (_StakedBNBToken *StakedBNBTokenCallerSession) DefaultOperators() ([]common.Address, error)

DefaultOperators is a free data retrieval call binding the contract method 0x06e48538.

Solidity: function defaultOperators() view returns(address[])

func (*StakedBNBTokenCallerSession) GetOwner

func (_StakedBNBToken *StakedBNBTokenCallerSession) GetOwner() (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*StakedBNBTokenCallerSession) Granularity

func (_StakedBNBToken *StakedBNBTokenCallerSession) Granularity() (*big.Int, error)

Granularity is a free data retrieval call binding the contract method 0x556f0dc7.

Solidity: function granularity() view returns(uint256)

func (*StakedBNBTokenCallerSession) IsOperatorFor

func (_StakedBNBToken *StakedBNBTokenCallerSession) IsOperatorFor(operator common.Address, tokenHolder common.Address) (bool, error)

IsOperatorFor is a free data retrieval call binding the contract method 0xd95b6371.

Solidity: function isOperatorFor(address operator, address tokenHolder) view returns(bool)

func (*StakedBNBTokenCallerSession) Name

func (_StakedBNBToken *StakedBNBTokenCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*StakedBNBTokenCallerSession) Paused

func (_StakedBNBToken *StakedBNBTokenCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*StakedBNBTokenCallerSession) Symbol

func (_StakedBNBToken *StakedBNBTokenCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*StakedBNBTokenCallerSession) TotalSupply

func (_StakedBNBToken *StakedBNBTokenCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type StakedBNBTokenFilterer

type StakedBNBTokenFilterer struct {
	// contains filtered or unexported fields
}

StakedBNBTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewStakedBNBTokenFilterer

func NewStakedBNBTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*StakedBNBTokenFilterer, error)

NewStakedBNBTokenFilterer creates a new log filterer instance of StakedBNBToken, bound to a specific deployed contract.

func (*StakedBNBTokenFilterer) FilterApproval

func (_StakedBNBToken *StakedBNBTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StakedBNBTokenApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*StakedBNBTokenFilterer) FilterAuthorizedOperator

func (_StakedBNBToken *StakedBNBTokenFilterer) FilterAuthorizedOperator(opts *bind.FilterOpts, operator []common.Address, tokenHolder []common.Address) (*StakedBNBTokenAuthorizedOperatorIterator, error)

FilterAuthorizedOperator is a free log retrieval operation binding the contract event 0xf4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f9.

Solidity: event AuthorizedOperator(address indexed operator, address indexed tokenHolder)

func (*StakedBNBTokenFilterer) FilterBurned

func (_StakedBNBToken *StakedBNBTokenFilterer) FilterBurned(opts *bind.FilterOpts, operator []common.Address, from []common.Address) (*StakedBNBTokenBurnedIterator, error)

FilterBurned is a free log retrieval operation binding the contract event 0xa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098.

Solidity: event Burned(address indexed operator, address indexed from, uint256 amount, bytes data, bytes operatorData)

func (*StakedBNBTokenFilterer) FilterMinted

func (_StakedBNBToken *StakedBNBTokenFilterer) FilterMinted(opts *bind.FilterOpts, operator []common.Address, to []common.Address) (*StakedBNBTokenMintedIterator, error)

FilterMinted is a free log retrieval operation binding the contract event 0x2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d.

Solidity: event Minted(address indexed operator, address indexed to, uint256 amount, bytes data, bytes operatorData)

func (*StakedBNBTokenFilterer) FilterOwnershipTransferred

func (_StakedBNBToken *StakedBNBTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*StakedBNBTokenOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*StakedBNBTokenFilterer) FilterPaused

func (_StakedBNBToken *StakedBNBTokenFilterer) FilterPaused(opts *bind.FilterOpts) (*StakedBNBTokenPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*StakedBNBTokenFilterer) FilterRevokedOperator

func (_StakedBNBToken *StakedBNBTokenFilterer) FilterRevokedOperator(opts *bind.FilterOpts, operator []common.Address, tokenHolder []common.Address) (*StakedBNBTokenRevokedOperatorIterator, error)

FilterRevokedOperator is a free log retrieval operation binding the contract event 0x50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa1.

Solidity: event RevokedOperator(address indexed operator, address indexed tokenHolder)

func (*StakedBNBTokenFilterer) FilterSent

func (_StakedBNBToken *StakedBNBTokenFilterer) FilterSent(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*StakedBNBTokenSentIterator, error)

FilterSent is a free log retrieval operation binding the contract event 0x06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987.

Solidity: event Sent(address indexed operator, address indexed from, address indexed to, uint256 amount, bytes data, bytes operatorData)

func (*StakedBNBTokenFilterer) FilterTransfer

func (_StakedBNBToken *StakedBNBTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StakedBNBTokenTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*StakedBNBTokenFilterer) FilterUnpaused

func (_StakedBNBToken *StakedBNBTokenFilterer) FilterUnpaused(opts *bind.FilterOpts) (*StakedBNBTokenUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*StakedBNBTokenFilterer) ParseApproval

func (_StakedBNBToken *StakedBNBTokenFilterer) ParseApproval(log types.Log) (*StakedBNBTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*StakedBNBTokenFilterer) ParseAuthorizedOperator

func (_StakedBNBToken *StakedBNBTokenFilterer) ParseAuthorizedOperator(log types.Log) (*StakedBNBTokenAuthorizedOperator, error)

ParseAuthorizedOperator is a log parse operation binding the contract event 0xf4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f9.

Solidity: event AuthorizedOperator(address indexed operator, address indexed tokenHolder)

func (*StakedBNBTokenFilterer) ParseBurned

func (_StakedBNBToken *StakedBNBTokenFilterer) ParseBurned(log types.Log) (*StakedBNBTokenBurned, error)

ParseBurned is a log parse operation binding the contract event 0xa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098.

Solidity: event Burned(address indexed operator, address indexed from, uint256 amount, bytes data, bytes operatorData)

func (*StakedBNBTokenFilterer) ParseMinted

func (_StakedBNBToken *StakedBNBTokenFilterer) ParseMinted(log types.Log) (*StakedBNBTokenMinted, error)

ParseMinted is a log parse operation binding the contract event 0x2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d.

Solidity: event Minted(address indexed operator, address indexed to, uint256 amount, bytes data, bytes operatorData)

func (*StakedBNBTokenFilterer) ParseOwnershipTransferred

func (_StakedBNBToken *StakedBNBTokenFilterer) ParseOwnershipTransferred(log types.Log) (*StakedBNBTokenOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*StakedBNBTokenFilterer) ParsePaused

func (_StakedBNBToken *StakedBNBTokenFilterer) ParsePaused(log types.Log) (*StakedBNBTokenPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*StakedBNBTokenFilterer) ParseRevokedOperator

func (_StakedBNBToken *StakedBNBTokenFilterer) ParseRevokedOperator(log types.Log) (*StakedBNBTokenRevokedOperator, error)

ParseRevokedOperator is a log parse operation binding the contract event 0x50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa1.

Solidity: event RevokedOperator(address indexed operator, address indexed tokenHolder)

func (*StakedBNBTokenFilterer) ParseSent

func (_StakedBNBToken *StakedBNBTokenFilterer) ParseSent(log types.Log) (*StakedBNBTokenSent, error)

ParseSent is a log parse operation binding the contract event 0x06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987.

Solidity: event Sent(address indexed operator, address indexed from, address indexed to, uint256 amount, bytes data, bytes operatorData)

func (*StakedBNBTokenFilterer) ParseTransfer

func (_StakedBNBToken *StakedBNBTokenFilterer) ParseTransfer(log types.Log) (*StakedBNBTokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*StakedBNBTokenFilterer) ParseUnpaused

func (_StakedBNBToken *StakedBNBTokenFilterer) ParseUnpaused(log types.Log) (*StakedBNBTokenUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*StakedBNBTokenFilterer) WatchApproval

func (_StakedBNBToken *StakedBNBTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *StakedBNBTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*StakedBNBTokenFilterer) WatchAuthorizedOperator

func (_StakedBNBToken *StakedBNBTokenFilterer) WatchAuthorizedOperator(opts *bind.WatchOpts, sink chan<- *StakedBNBTokenAuthorizedOperator, operator []common.Address, tokenHolder []common.Address) (event.Subscription, error)

WatchAuthorizedOperator is a free log subscription operation binding the contract event 0xf4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f9.

Solidity: event AuthorizedOperator(address indexed operator, address indexed tokenHolder)

func (*StakedBNBTokenFilterer) WatchBurned

func (_StakedBNBToken *StakedBNBTokenFilterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *StakedBNBTokenBurned, operator []common.Address, from []common.Address) (event.Subscription, error)

WatchBurned is a free log subscription operation binding the contract event 0xa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098.

Solidity: event Burned(address indexed operator, address indexed from, uint256 amount, bytes data, bytes operatorData)

func (*StakedBNBTokenFilterer) WatchMinted

func (_StakedBNBToken *StakedBNBTokenFilterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *StakedBNBTokenMinted, operator []common.Address, to []common.Address) (event.Subscription, error)

WatchMinted is a free log subscription operation binding the contract event 0x2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d.

Solidity: event Minted(address indexed operator, address indexed to, uint256 amount, bytes data, bytes operatorData)

func (*StakedBNBTokenFilterer) WatchOwnershipTransferred

func (_StakedBNBToken *StakedBNBTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *StakedBNBTokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*StakedBNBTokenFilterer) WatchPaused

func (_StakedBNBToken *StakedBNBTokenFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *StakedBNBTokenPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*StakedBNBTokenFilterer) WatchRevokedOperator

func (_StakedBNBToken *StakedBNBTokenFilterer) WatchRevokedOperator(opts *bind.WatchOpts, sink chan<- *StakedBNBTokenRevokedOperator, operator []common.Address, tokenHolder []common.Address) (event.Subscription, error)

WatchRevokedOperator is a free log subscription operation binding the contract event 0x50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa1.

Solidity: event RevokedOperator(address indexed operator, address indexed tokenHolder)

func (*StakedBNBTokenFilterer) WatchSent

func (_StakedBNBToken *StakedBNBTokenFilterer) WatchSent(opts *bind.WatchOpts, sink chan<- *StakedBNBTokenSent, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchSent is a free log subscription operation binding the contract event 0x06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987.

Solidity: event Sent(address indexed operator, address indexed from, address indexed to, uint256 amount, bytes data, bytes operatorData)

func (*StakedBNBTokenFilterer) WatchTransfer

func (_StakedBNBToken *StakedBNBTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StakedBNBTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*StakedBNBTokenFilterer) WatchUnpaused

func (_StakedBNBToken *StakedBNBTokenFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *StakedBNBTokenUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type StakedBNBTokenMinted

type StakedBNBTokenMinted struct {
	Operator     common.Address
	To           common.Address
	Amount       *big.Int
	Data         []byte
	OperatorData []byte
	Raw          types.Log // Blockchain specific contextual infos
}

StakedBNBTokenMinted represents a Minted event raised by the StakedBNBToken contract.

type StakedBNBTokenMintedIterator

type StakedBNBTokenMintedIterator struct {
	Event *StakedBNBTokenMinted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakedBNBTokenMintedIterator is returned from FilterMinted and is used to iterate over the raw logs and unpacked data for Minted events raised by the StakedBNBToken contract.

func (*StakedBNBTokenMintedIterator) Close

func (it *StakedBNBTokenMintedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakedBNBTokenMintedIterator) Error

func (it *StakedBNBTokenMintedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakedBNBTokenMintedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakedBNBTokenOwnershipTransferred

type StakedBNBTokenOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

StakedBNBTokenOwnershipTransferred represents a OwnershipTransferred event raised by the StakedBNBToken contract.

type StakedBNBTokenOwnershipTransferredIterator

type StakedBNBTokenOwnershipTransferredIterator struct {
	Event *StakedBNBTokenOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakedBNBTokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the StakedBNBToken contract.

func (*StakedBNBTokenOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakedBNBTokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakedBNBTokenOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakedBNBTokenPaused

type StakedBNBTokenPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

StakedBNBTokenPaused represents a Paused event raised by the StakedBNBToken contract.

type StakedBNBTokenPausedIterator

type StakedBNBTokenPausedIterator struct {
	Event *StakedBNBTokenPaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakedBNBTokenPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the StakedBNBToken contract.

func (*StakedBNBTokenPausedIterator) Close

func (it *StakedBNBTokenPausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakedBNBTokenPausedIterator) Error

func (it *StakedBNBTokenPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakedBNBTokenPausedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakedBNBTokenRaw

type StakedBNBTokenRaw struct {
	Contract *StakedBNBToken // Generic contract binding to access the raw methods on
}

StakedBNBTokenRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*StakedBNBTokenRaw) Call

func (_StakedBNBToken *StakedBNBTokenRaw) 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 (*StakedBNBTokenRaw) Transact

func (_StakedBNBToken *StakedBNBTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StakedBNBTokenRaw) Transfer

func (_StakedBNBToken *StakedBNBTokenRaw) 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 StakedBNBTokenRevokedOperator

type StakedBNBTokenRevokedOperator struct {
	Operator    common.Address
	TokenHolder common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

StakedBNBTokenRevokedOperator represents a RevokedOperator event raised by the StakedBNBToken contract.

type StakedBNBTokenRevokedOperatorIterator

type StakedBNBTokenRevokedOperatorIterator struct {
	Event *StakedBNBTokenRevokedOperator // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakedBNBTokenRevokedOperatorIterator is returned from FilterRevokedOperator and is used to iterate over the raw logs and unpacked data for RevokedOperator events raised by the StakedBNBToken contract.

func (*StakedBNBTokenRevokedOperatorIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakedBNBTokenRevokedOperatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakedBNBTokenRevokedOperatorIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakedBNBTokenSent

type StakedBNBTokenSent struct {
	Operator     common.Address
	From         common.Address
	To           common.Address
	Amount       *big.Int
	Data         []byte
	OperatorData []byte
	Raw          types.Log // Blockchain specific contextual infos
}

StakedBNBTokenSent represents a Sent event raised by the StakedBNBToken contract.

type StakedBNBTokenSentIterator

type StakedBNBTokenSentIterator struct {
	Event *StakedBNBTokenSent // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakedBNBTokenSentIterator is returned from FilterSent and is used to iterate over the raw logs and unpacked data for Sent events raised by the StakedBNBToken contract.

func (*StakedBNBTokenSentIterator) Close

func (it *StakedBNBTokenSentIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakedBNBTokenSentIterator) Error

func (it *StakedBNBTokenSentIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakedBNBTokenSentIterator) Next

func (it *StakedBNBTokenSentIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakedBNBTokenSession

type StakedBNBTokenSession struct {
	Contract     *StakedBNBToken   // 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
}

StakedBNBTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*StakedBNBTokenSession) AddressStore

func (_StakedBNBToken *StakedBNBTokenSession) AddressStore() (common.Address, error)

AddressStore is a free data retrieval call binding the contract method 0xc773c8f7.

Solidity: function addressStore() view returns(address)

func (*StakedBNBTokenSession) Allowance

func (_StakedBNBToken *StakedBNBTokenSession) Allowance(holder common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address holder, address spender) view returns(uint256)

func (*StakedBNBTokenSession) Approve

func (_StakedBNBToken *StakedBNBTokenSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*StakedBNBTokenSession) AuthorizeOperator

func (_StakedBNBToken *StakedBNBTokenSession) AuthorizeOperator(operator common.Address) (*types.Transaction, error)

AuthorizeOperator is a paid mutator transaction binding the contract method 0x959b8c3f.

Solidity: function authorizeOperator(address operator) returns()

func (*StakedBNBTokenSession) BalanceOf

func (_StakedBNBToken *StakedBNBTokenSession) BalanceOf(tokenHolder common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address tokenHolder) view returns(uint256)

func (*StakedBNBTokenSession) Burn

func (_StakedBNBToken *StakedBNBTokenSession) Burn(amount *big.Int, data []byte) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xfe9d9303.

Solidity: function burn(uint256 amount, bytes data) returns()

func (*StakedBNBTokenSession) Decimals

func (_StakedBNBToken *StakedBNBTokenSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() pure returns(uint8)

func (*StakedBNBTokenSession) DefaultOperators

func (_StakedBNBToken *StakedBNBTokenSession) DefaultOperators() ([]common.Address, error)

DefaultOperators is a free data retrieval call binding the contract method 0x06e48538.

Solidity: function defaultOperators() view returns(address[])

func (*StakedBNBTokenSession) GetOwner

func (_StakedBNBToken *StakedBNBTokenSession) GetOwner() (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*StakedBNBTokenSession) Granularity

func (_StakedBNBToken *StakedBNBTokenSession) Granularity() (*big.Int, error)

Granularity is a free data retrieval call binding the contract method 0x556f0dc7.

Solidity: function granularity() view returns(uint256)

func (*StakedBNBTokenSession) IsOperatorFor

func (_StakedBNBToken *StakedBNBTokenSession) IsOperatorFor(operator common.Address, tokenHolder common.Address) (bool, error)

IsOperatorFor is a free data retrieval call binding the contract method 0xd95b6371.

Solidity: function isOperatorFor(address operator, address tokenHolder) view returns(bool)

func (*StakedBNBTokenSession) Mint

func (_StakedBNBToken *StakedBNBTokenSession) Mint(account common.Address, amount *big.Int, userData []byte, operatorData []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xdcdc7dd0.

Solidity: function mint(address account, uint256 amount, bytes userData, bytes operatorData) returns()

func (*StakedBNBTokenSession) Name

func (_StakedBNBToken *StakedBNBTokenSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*StakedBNBTokenSession) OperatorBurn

func (_StakedBNBToken *StakedBNBTokenSession) OperatorBurn(account common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error)

OperatorBurn is a paid mutator transaction binding the contract method 0xfc673c4f.

Solidity: function operatorBurn(address account, uint256 amount, bytes data, bytes operatorData) returns()

func (*StakedBNBTokenSession) OperatorSend

func (_StakedBNBToken *StakedBNBTokenSession) OperatorSend(sender common.Address, recipient common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error)

OperatorSend is a paid mutator transaction binding the contract method 0x62ad1b83.

Solidity: function operatorSend(address sender, address recipient, uint256 amount, bytes data, bytes operatorData) returns()

func (*StakedBNBTokenSession) Pause

func (_StakedBNBToken *StakedBNBTokenSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StakedBNBTokenSession) Paused

func (_StakedBNBToken *StakedBNBTokenSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*StakedBNBTokenSession) RevokeOperator

func (_StakedBNBToken *StakedBNBTokenSession) RevokeOperator(operator common.Address) (*types.Transaction, error)

RevokeOperator is a paid mutator transaction binding the contract method 0xfad8b32a.

Solidity: function revokeOperator(address operator) returns()

func (*StakedBNBTokenSession) SelfDestruct

func (_StakedBNBToken *StakedBNBTokenSession) SelfDestruct() (*types.Transaction, error)

SelfDestruct is a paid mutator transaction binding the contract method 0x9cb8a26a.

Solidity: function selfDestruct() returns()

func (*StakedBNBTokenSession) Send

func (_StakedBNBToken *StakedBNBTokenSession) Send(recipient common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

Send is a paid mutator transaction binding the contract method 0x9bd9bbc6.

Solidity: function send(address recipient, uint256 amount, bytes data) returns()

func (*StakedBNBTokenSession) Symbol

func (_StakedBNBToken *StakedBNBTokenSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*StakedBNBTokenSession) TotalSupply

func (_StakedBNBToken *StakedBNBTokenSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*StakedBNBTokenSession) Transfer

func (_StakedBNBToken *StakedBNBTokenSession) 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 (*StakedBNBTokenSession) TransferFrom

func (_StakedBNBToken *StakedBNBTokenSession) TransferFrom(holder 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 holder, address recipient, uint256 amount) returns(bool)

func (*StakedBNBTokenSession) TransferOwnership

func (_StakedBNBToken *StakedBNBTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*StakedBNBTokenSession) Unpause

func (_StakedBNBToken *StakedBNBTokenSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type StakedBNBTokenTransactor

type StakedBNBTokenTransactor struct {
	// contains filtered or unexported fields
}

StakedBNBTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewStakedBNBTokenTransactor

func NewStakedBNBTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*StakedBNBTokenTransactor, error)

NewStakedBNBTokenTransactor creates a new write-only instance of StakedBNBToken, bound to a specific deployed contract.

func (*StakedBNBTokenTransactor) Approve

func (_StakedBNBToken *StakedBNBTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*StakedBNBTokenTransactor) AuthorizeOperator

func (_StakedBNBToken *StakedBNBTokenTransactor) AuthorizeOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)

AuthorizeOperator is a paid mutator transaction binding the contract method 0x959b8c3f.

Solidity: function authorizeOperator(address operator) returns()

func (*StakedBNBTokenTransactor) Burn

func (_StakedBNBToken *StakedBNBTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int, data []byte) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xfe9d9303.

Solidity: function burn(uint256 amount, bytes data) returns()

func (*StakedBNBTokenTransactor) Mint

func (_StakedBNBToken *StakedBNBTokenTransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int, userData []byte, operatorData []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xdcdc7dd0.

Solidity: function mint(address account, uint256 amount, bytes userData, bytes operatorData) returns()

func (*StakedBNBTokenTransactor) OperatorBurn

func (_StakedBNBToken *StakedBNBTokenTransactor) OperatorBurn(opts *bind.TransactOpts, account common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error)

OperatorBurn is a paid mutator transaction binding the contract method 0xfc673c4f.

Solidity: function operatorBurn(address account, uint256 amount, bytes data, bytes operatorData) returns()

func (*StakedBNBTokenTransactor) OperatorSend

func (_StakedBNBToken *StakedBNBTokenTransactor) OperatorSend(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error)

OperatorSend is a paid mutator transaction binding the contract method 0x62ad1b83.

Solidity: function operatorSend(address sender, address recipient, uint256 amount, bytes data, bytes operatorData) returns()

func (*StakedBNBTokenTransactor) Pause

func (_StakedBNBToken *StakedBNBTokenTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StakedBNBTokenTransactor) RevokeOperator

func (_StakedBNBToken *StakedBNBTokenTransactor) RevokeOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)

RevokeOperator is a paid mutator transaction binding the contract method 0xfad8b32a.

Solidity: function revokeOperator(address operator) returns()

func (*StakedBNBTokenTransactor) SelfDestruct

func (_StakedBNBToken *StakedBNBTokenTransactor) SelfDestruct(opts *bind.TransactOpts) (*types.Transaction, error)

SelfDestruct is a paid mutator transaction binding the contract method 0x9cb8a26a.

Solidity: function selfDestruct() returns()

func (*StakedBNBTokenTransactor) Send

func (_StakedBNBToken *StakedBNBTokenTransactor) Send(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

Send is a paid mutator transaction binding the contract method 0x9bd9bbc6.

Solidity: function send(address recipient, uint256 amount, bytes data) returns()

func (*StakedBNBTokenTransactor) Transfer

func (_StakedBNBToken *StakedBNBTokenTransactor) 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 (*StakedBNBTokenTransactor) TransferFrom

func (_StakedBNBToken *StakedBNBTokenTransactor) TransferFrom(opts *bind.TransactOpts, holder 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 holder, address recipient, uint256 amount) returns(bool)

func (*StakedBNBTokenTransactor) TransferOwnership

func (_StakedBNBToken *StakedBNBTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*StakedBNBTokenTransactor) Unpause

func (_StakedBNBToken *StakedBNBTokenTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type StakedBNBTokenTransactorRaw

type StakedBNBTokenTransactorRaw struct {
	Contract *StakedBNBTokenTransactor // Generic write-only contract binding to access the raw methods on
}

StakedBNBTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*StakedBNBTokenTransactorRaw) Transact

func (_StakedBNBToken *StakedBNBTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StakedBNBTokenTransactorRaw) Transfer

func (_StakedBNBToken *StakedBNBTokenTransactorRaw) 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 StakedBNBTokenTransactorSession

type StakedBNBTokenTransactorSession struct {
	Contract     *StakedBNBTokenTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

StakedBNBTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*StakedBNBTokenTransactorSession) Approve

func (_StakedBNBToken *StakedBNBTokenTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*StakedBNBTokenTransactorSession) AuthorizeOperator

func (_StakedBNBToken *StakedBNBTokenTransactorSession) AuthorizeOperator(operator common.Address) (*types.Transaction, error)

AuthorizeOperator is a paid mutator transaction binding the contract method 0x959b8c3f.

Solidity: function authorizeOperator(address operator) returns()

func (*StakedBNBTokenTransactorSession) Burn

func (_StakedBNBToken *StakedBNBTokenTransactorSession) Burn(amount *big.Int, data []byte) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xfe9d9303.

Solidity: function burn(uint256 amount, bytes data) returns()

func (*StakedBNBTokenTransactorSession) Mint

func (_StakedBNBToken *StakedBNBTokenTransactorSession) Mint(account common.Address, amount *big.Int, userData []byte, operatorData []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xdcdc7dd0.

Solidity: function mint(address account, uint256 amount, bytes userData, bytes operatorData) returns()

func (*StakedBNBTokenTransactorSession) OperatorBurn

func (_StakedBNBToken *StakedBNBTokenTransactorSession) OperatorBurn(account common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error)

OperatorBurn is a paid mutator transaction binding the contract method 0xfc673c4f.

Solidity: function operatorBurn(address account, uint256 amount, bytes data, bytes operatorData) returns()

func (*StakedBNBTokenTransactorSession) OperatorSend

func (_StakedBNBToken *StakedBNBTokenTransactorSession) OperatorSend(sender common.Address, recipient common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error)

OperatorSend is a paid mutator transaction binding the contract method 0x62ad1b83.

Solidity: function operatorSend(address sender, address recipient, uint256 amount, bytes data, bytes operatorData) returns()

func (*StakedBNBTokenTransactorSession) Pause

func (_StakedBNBToken *StakedBNBTokenTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StakedBNBTokenTransactorSession) RevokeOperator

func (_StakedBNBToken *StakedBNBTokenTransactorSession) RevokeOperator(operator common.Address) (*types.Transaction, error)

RevokeOperator is a paid mutator transaction binding the contract method 0xfad8b32a.

Solidity: function revokeOperator(address operator) returns()

func (*StakedBNBTokenTransactorSession) SelfDestruct

func (_StakedBNBToken *StakedBNBTokenTransactorSession) SelfDestruct() (*types.Transaction, error)

SelfDestruct is a paid mutator transaction binding the contract method 0x9cb8a26a.

Solidity: function selfDestruct() returns()

func (*StakedBNBTokenTransactorSession) Send

func (_StakedBNBToken *StakedBNBTokenTransactorSession) Send(recipient common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

Send is a paid mutator transaction binding the contract method 0x9bd9bbc6.

Solidity: function send(address recipient, uint256 amount, bytes data) returns()

func (*StakedBNBTokenTransactorSession) Transfer

func (_StakedBNBToken *StakedBNBTokenTransactorSession) 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 (*StakedBNBTokenTransactorSession) TransferFrom

func (_StakedBNBToken *StakedBNBTokenTransactorSession) TransferFrom(holder 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 holder, address recipient, uint256 amount) returns(bool)

func (*StakedBNBTokenTransactorSession) TransferOwnership

func (_StakedBNBToken *StakedBNBTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*StakedBNBTokenTransactorSession) Unpause

func (_StakedBNBToken *StakedBNBTokenTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type StakedBNBTokenTransfer

type StakedBNBTokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

StakedBNBTokenTransfer represents a Transfer event raised by the StakedBNBToken contract.

type StakedBNBTokenTransferIterator

type StakedBNBTokenTransferIterator struct {
	Event *StakedBNBTokenTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakedBNBTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the StakedBNBToken contract.

func (*StakedBNBTokenTransferIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakedBNBTokenTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakedBNBTokenTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakedBNBTokenUnpaused

type StakedBNBTokenUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

StakedBNBTokenUnpaused represents a Unpaused event raised by the StakedBNBToken contract.

type StakedBNBTokenUnpausedIterator

type StakedBNBTokenUnpausedIterator struct {
	Event *StakedBNBTokenUnpaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakedBNBTokenUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the StakedBNBToken contract.

func (*StakedBNBTokenUnpausedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakedBNBTokenUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakedBNBTokenUnpausedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TokenHub

type TokenHub struct {
	TokenHubCaller     // Read-only binding to the contract
	TokenHubTransactor // Write-only binding to the contract
	TokenHubFilterer   // Log filterer for contract events
}

TokenHub is an auto generated Go binding around an Ethereum contract.

func NewTokenHub

func NewTokenHub(address common.Address, backend bind.ContractBackend) (*TokenHub, error)

NewTokenHub creates a new instance of TokenHub, bound to a specific deployed contract.

type TokenHubCaller

type TokenHubCaller struct {
	// contains filtered or unexported fields
}

TokenHubCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewTokenHubCaller

func NewTokenHubCaller(address common.Address, caller bind.ContractCaller) (*TokenHubCaller, error)

NewTokenHubCaller creates a new read-only instance of TokenHub, bound to a specific deployed contract.

func (*TokenHubCaller) GetBoundBep2Symbol

func (_TokenHub *TokenHubCaller) GetBoundBep2Symbol(opts *bind.CallOpts, contractAddr common.Address) (string, error)

GetBoundBep2Symbol is a free data retrieval call binding the contract method 0xfc1a598f.

Solidity: function getBoundBep2Symbol(address contractAddr) view returns(string)

func (*TokenHubCaller) GetBoundContract

func (_TokenHub *TokenHubCaller) GetBoundContract(opts *bind.CallOpts, bep2Symbol string) (common.Address, error)

GetBoundContract is a free data retrieval call binding the contract method 0x3d713223.

Solidity: function getBoundContract(string bep2Symbol) view returns(address)

func (*TokenHubCaller) GetMiniRelayFee

func (_TokenHub *TokenHubCaller) GetMiniRelayFee(opts *bind.CallOpts) (*big.Int, error)

GetMiniRelayFee is a free data retrieval call binding the contract method 0x149d14d9.

Solidity: function getMiniRelayFee() view returns(uint256)

type TokenHubCallerRaw

type TokenHubCallerRaw struct {
	Contract *TokenHubCaller // Generic read-only contract binding to access the raw methods on
}

TokenHubCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*TokenHubCallerRaw) Call

func (_TokenHub *TokenHubCallerRaw) 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 TokenHubCallerSession

type TokenHubCallerSession struct {
	Contract *TokenHubCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts   // Call options to use throughout this session
}

TokenHubCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*TokenHubCallerSession) GetBoundBep2Symbol

func (_TokenHub *TokenHubCallerSession) GetBoundBep2Symbol(contractAddr common.Address) (string, error)

GetBoundBep2Symbol is a free data retrieval call binding the contract method 0xfc1a598f.

Solidity: function getBoundBep2Symbol(address contractAddr) view returns(string)

func (*TokenHubCallerSession) GetBoundContract

func (_TokenHub *TokenHubCallerSession) GetBoundContract(bep2Symbol string) (common.Address, error)

GetBoundContract is a free data retrieval call binding the contract method 0x3d713223.

Solidity: function getBoundContract(string bep2Symbol) view returns(address)

func (*TokenHubCallerSession) GetMiniRelayFee

func (_TokenHub *TokenHubCallerSession) GetMiniRelayFee() (*big.Int, error)

GetMiniRelayFee is a free data retrieval call binding the contract method 0x149d14d9.

Solidity: function getMiniRelayFee() view returns(uint256)

type TokenHubFilterer

type TokenHubFilterer struct {
	// contains filtered or unexported fields
}

TokenHubFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewTokenHubFilterer

func NewTokenHubFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenHubFilterer, error)

NewTokenHubFilterer creates a new log filterer instance of TokenHub, bound to a specific deployed contract.

type TokenHubRaw

type TokenHubRaw struct {
	Contract *TokenHub // Generic contract binding to access the raw methods on
}

TokenHubRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*TokenHubRaw) Call

func (_TokenHub *TokenHubRaw) 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 (*TokenHubRaw) Transact

func (_TokenHub *TokenHubRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TokenHubRaw) Transfer

func (_TokenHub *TokenHubRaw) 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 TokenHubSession

type TokenHubSession struct {
	Contract     *TokenHub         // 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
}

TokenHubSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*TokenHubSession) GetBoundBep2Symbol

func (_TokenHub *TokenHubSession) GetBoundBep2Symbol(contractAddr common.Address) (string, error)

GetBoundBep2Symbol is a free data retrieval call binding the contract method 0xfc1a598f.

Solidity: function getBoundBep2Symbol(address contractAddr) view returns(string)

func (*TokenHubSession) GetBoundContract

func (_TokenHub *TokenHubSession) GetBoundContract(bep2Symbol string) (common.Address, error)

GetBoundContract is a free data retrieval call binding the contract method 0x3d713223.

Solidity: function getBoundContract(string bep2Symbol) view returns(address)

func (*TokenHubSession) GetMiniRelayFee

func (_TokenHub *TokenHubSession) GetMiniRelayFee() (*big.Int, error)

GetMiniRelayFee is a free data retrieval call binding the contract method 0x149d14d9.

Solidity: function getMiniRelayFee() view returns(uint256)

func (*TokenHubSession) TransferOut

func (_TokenHub *TokenHubSession) TransferOut(contractAddr common.Address, recipient common.Address, amount *big.Int, expireTime uint64) (*types.Transaction, error)

TransferOut is a paid mutator transaction binding the contract method 0xaa7415f5.

Solidity: function transferOut(address contractAddr, address recipient, uint256 amount, uint64 expireTime) payable returns(bool)

type TokenHubTransactor

type TokenHubTransactor struct {
	// contains filtered or unexported fields
}

TokenHubTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewTokenHubTransactor

func NewTokenHubTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenHubTransactor, error)

NewTokenHubTransactor creates a new write-only instance of TokenHub, bound to a specific deployed contract.

func (*TokenHubTransactor) TransferOut

func (_TokenHub *TokenHubTransactor) TransferOut(opts *bind.TransactOpts, contractAddr common.Address, recipient common.Address, amount *big.Int, expireTime uint64) (*types.Transaction, error)

TransferOut is a paid mutator transaction binding the contract method 0xaa7415f5.

Solidity: function transferOut(address contractAddr, address recipient, uint256 amount, uint64 expireTime) payable returns(bool)

type TokenHubTransactorRaw

type TokenHubTransactorRaw struct {
	Contract *TokenHubTransactor // Generic write-only contract binding to access the raw methods on
}

TokenHubTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*TokenHubTransactorRaw) Transact

func (_TokenHub *TokenHubTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TokenHubTransactorRaw) Transfer

func (_TokenHub *TokenHubTransactorRaw) 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 TokenHubTransactorSession

type TokenHubTransactorSession struct {
	Contract     *TokenHubTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

TokenHubTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*TokenHubTransactorSession) TransferOut

func (_TokenHub *TokenHubTransactorSession) TransferOut(contractAddr common.Address, recipient common.Address, amount *big.Int, expireTime uint64) (*types.Transaction, error)

TransferOut is a paid mutator transaction binding the contract method 0xaa7415f5.

Solidity: function transferOut(address contractAddr, address recipient, uint256 amount, uint64 expireTime) payable returns(bool)

type TokenManager

type TokenManager struct {
	TokenManagerCaller     // Read-only binding to the contract
	TokenManagerTransactor // Write-only binding to the contract
	TokenManagerFilterer   // Log filterer for contract events
}

TokenManager is an auto generated Go binding around an Ethereum contract.

func NewTokenManager

func NewTokenManager(address common.Address, backend bind.ContractBackend) (*TokenManager, error)

NewTokenManager creates a new instance of TokenManager, bound to a specific deployed contract.

type TokenManagerCaller

type TokenManagerCaller struct {
	// contains filtered or unexported fields
}

TokenManagerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewTokenManagerCaller

func NewTokenManagerCaller(address common.Address, caller bind.ContractCaller) (*TokenManagerCaller, error)

NewTokenManagerCaller creates a new read-only instance of TokenManager, bound to a specific deployed contract.

func (*TokenManagerCaller) MirrorFee

func (_TokenManager *TokenManagerCaller) MirrorFee(opts *bind.CallOpts) (*big.Int, error)

MirrorFee is a free data retrieval call binding the contract method 0x7ec816dd.

Solidity: function mirrorFee() view returns(uint256)

func (*TokenManagerCaller) SyncFee

func (_TokenManager *TokenManagerCaller) SyncFee(opts *bind.CallOpts) (*big.Int, error)

SyncFee is a free data retrieval call binding the contract method 0xe605bca0.

Solidity: function syncFee() view returns(uint256)

type TokenManagerCallerRaw

type TokenManagerCallerRaw struct {
	Contract *TokenManagerCaller // Generic read-only contract binding to access the raw methods on
}

TokenManagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*TokenManagerCallerRaw) Call

func (_TokenManager *TokenManagerCallerRaw) 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 TokenManagerCallerSession

type TokenManagerCallerSession struct {
	Contract *TokenManagerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

TokenManagerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*TokenManagerCallerSession) MirrorFee

func (_TokenManager *TokenManagerCallerSession) MirrorFee() (*big.Int, error)

MirrorFee is a free data retrieval call binding the contract method 0x7ec816dd.

Solidity: function mirrorFee() view returns(uint256)

func (*TokenManagerCallerSession) SyncFee

func (_TokenManager *TokenManagerCallerSession) SyncFee() (*big.Int, error)

SyncFee is a free data retrieval call binding the contract method 0xe605bca0.

Solidity: function syncFee() view returns(uint256)

type TokenManagerFilterer

type TokenManagerFilterer struct {
	// contains filtered or unexported fields
}

TokenManagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewTokenManagerFilterer

func NewTokenManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenManagerFilterer, error)

NewTokenManagerFilterer creates a new log filterer instance of TokenManager, bound to a specific deployed contract.

type TokenManagerRaw

type TokenManagerRaw struct {
	Contract *TokenManager // Generic contract binding to access the raw methods on
}

TokenManagerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*TokenManagerRaw) Call

func (_TokenManager *TokenManagerRaw) 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 (*TokenManagerRaw) Transact

func (_TokenManager *TokenManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TokenManagerRaw) Transfer

func (_TokenManager *TokenManagerRaw) 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 TokenManagerSession

type TokenManagerSession struct {
	Contract     *TokenManager     // 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
}

TokenManagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*TokenManagerSession) Mirror

func (_TokenManager *TokenManagerSession) Mirror(bep20Addr common.Address, expireTime uint64) (*types.Transaction, error)

Mirror is a paid mutator transaction binding the contract method 0x94553a4e.

Solidity: function mirror(address bep20Addr, uint64 expireTime) payable returns(bool)

func (*TokenManagerSession) MirrorFee

func (_TokenManager *TokenManagerSession) MirrorFee() (*big.Int, error)

MirrorFee is a free data retrieval call binding the contract method 0x7ec816dd.

Solidity: function mirrorFee() view returns(uint256)

func (*TokenManagerSession) Sync

func (_TokenManager *TokenManagerSession) Sync(bep20Addr common.Address, expireTime uint64) (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0x25c751b7.

Solidity: function sync(address bep20Addr, uint64 expireTime) payable returns(bool)

func (*TokenManagerSession) SyncFee

func (_TokenManager *TokenManagerSession) SyncFee() (*big.Int, error)

SyncFee is a free data retrieval call binding the contract method 0xe605bca0.

Solidity: function syncFee() view returns(uint256)

type TokenManagerTransactor

type TokenManagerTransactor struct {
	// contains filtered or unexported fields
}

TokenManagerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewTokenManagerTransactor

func NewTokenManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenManagerTransactor, error)

NewTokenManagerTransactor creates a new write-only instance of TokenManager, bound to a specific deployed contract.

func (*TokenManagerTransactor) Mirror

func (_TokenManager *TokenManagerTransactor) Mirror(opts *bind.TransactOpts, bep20Addr common.Address, expireTime uint64) (*types.Transaction, error)

Mirror is a paid mutator transaction binding the contract method 0x94553a4e.

Solidity: function mirror(address bep20Addr, uint64 expireTime) payable returns(bool)

func (*TokenManagerTransactor) Sync

func (_TokenManager *TokenManagerTransactor) Sync(opts *bind.TransactOpts, bep20Addr common.Address, expireTime uint64) (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0x25c751b7.

Solidity: function sync(address bep20Addr, uint64 expireTime) payable returns(bool)

type TokenManagerTransactorRaw

type TokenManagerTransactorRaw struct {
	Contract *TokenManagerTransactor // Generic write-only contract binding to access the raw methods on
}

TokenManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*TokenManagerTransactorRaw) Transact

func (_TokenManager *TokenManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TokenManagerTransactorRaw) Transfer

func (_TokenManager *TokenManagerTransactorRaw) 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 TokenManagerTransactorSession

type TokenManagerTransactorSession struct {
	Contract     *TokenManagerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

TokenManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*TokenManagerTransactorSession) Mirror

func (_TokenManager *TokenManagerTransactorSession) Mirror(bep20Addr common.Address, expireTime uint64) (*types.Transaction, error)

Mirror is a paid mutator transaction binding the contract method 0x94553a4e.

Solidity: function mirror(address bep20Addr, uint64 expireTime) payable returns(bool)

func (*TokenManagerTransactorSession) Sync

func (_TokenManager *TokenManagerTransactorSession) Sync(bep20Addr common.Address, expireTime uint64) (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0x25c751b7.

Solidity: function sync(address bep20Addr, uint64 expireTime) payable returns(bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL