maple

package
v0.0.0-...-bd3dd7f Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MaplePoolABI = MaplePoolMetaData.ABI

MaplePoolABI is the input ABI used to generate the binding from. Deprecated: Use MaplePoolMetaData.ABI instead.

View Source
var MaplePoolMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_poolDelegate\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_liquidityAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_stakeAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_slFactory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_llFactory\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_stakingFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_delegateFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_liquidityCap\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"liquidityProvider\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"name\":\"BalanceUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"loan\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"interest\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"principal\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"stakeLockerPortion\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"poolDelegatePortion\",\"type\":\"uint256\"}],\"name\":\"Claim\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"liquidityProvider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cooldown\",\"type\":\"uint256\"}],\"name\":\"Cooldown\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"liquidityProvider\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"custodian\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldAllowance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newAllowance\",\"type\":\"uint256\"}],\"name\":\"CustodyAllowanceChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"custodian\",\"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\"}],\"name\":\"CustodyTransfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"loan\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"defaultSuffered\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bptsBurned\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bptsReturned\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidityAssetRecoveredFromBurn\",\"type\":\"uint256\"}],\"name\":\"DefaultSuffered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"liquidityProvider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"depositDate\",\"type\":\"uint256\"}],\"name\":\"DepositDateUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"by\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fundsDistributed\",\"type\":\"uint256\"}],\"name\":\"FundsDistributed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"by\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fundsWithdrawn\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalWithdrawn\",\"type\":\"uint256\"}],\"name\":\"FundsWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"liquidityProvider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"status\",\"type\":\"bool\"}],\"name\":\"LPStatusChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newLiquidityCap\",\"type\":\"uint256\"}],\"name\":\"LiquidityCapSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"loan\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"debtLocker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountFunded\",\"type\":\"uint256\"}],\"name\":\"LoanFunded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newLockupPeriod\",\"type\":\"uint256\"}],\"name\":\"LockupPeriodSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"lossesCorrection\",\"type\":\"int256\"}],\"name\":\"LossesCorrectionUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"by\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lossesDistributed\",\"type\":\"uint256\"}],\"name\":\"LossesDistributed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lossesPerShare\",\"type\":\"uint256\"}],\"name\":\"LossesPerShareUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"by\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lossesRecognized\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalLossesRecognized\",\"type\":\"uint256\"}],\"name\":\"LossesRecognized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"pointsCorrection\",\"type\":\"int256\"}],\"name\":\"PointsCorrectionUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"pointsPerShare\",\"type\":\"uint256\"}],\"name\":\"PointsPerShareUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"poolAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"allowed\",\"type\":\"bool\"}],\"name\":\"PoolAdminSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isOpen\",\"type\":\"bool\"}],\"name\":\"PoolOpenedToPublic\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumPool.State\",\"name\":\"state\",\"type\":\"uint8\"}],\"name\":\"PoolStateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newStakingFee\",\"type\":\"uint256\"}],\"name\":\"StakingFeeSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"liquidityProvider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newTotalAllowance\",\"type\":\"uint256\"}],\"name\":\"TotalCustodyAllowanceUpdated\",\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_bPool\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_liquidityAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_staker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_stakeLocker\",\"type\":\"address\"}],\"name\":\"BPTVal\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DL_FACTORY\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"accumulativeFundsOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"accumulativeLossesOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowedLiquidityProviders\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"loan\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dlFactory\",\"type\":\"address\"}],\"name\":\"claim\",\"outputs\":[{\"internalType\":\"uint256[7]\",\"name\":\"claimInfo\",\"type\":\"uint256[7]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"custodyAllowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deactivate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"debtLockers\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"delegateFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amt\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"depositDate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"finalize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"loan\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dlFactory\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amt\",\"type\":\"uint256\"}],\"name\":\"fundLoan\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getInitialStakeRequirements\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_bPool\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_liquidityAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_staker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_stakeLocker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_liquidityAssetAmountRequired\",\"type\":\"uint256\"}],\"name\":\"getPoolSharesRequired\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"custodian\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"increaseCustodyAllowance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"intendToWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"interestBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"interestSum\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"depositAmt\",\"type\":\"uint256\"}],\"name\":\"isDepositAllowed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isPoolFinalized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidityAsset\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidityCap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidityLocker\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lockupPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lossesBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"openToPublic\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"poolAdmins\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolDelegate\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolLosses\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolState\",\"outputs\":[{\"internalType\":\"enumPool.State\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"principalOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"reclaimERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"recognizableLossesOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"recognizedLossesOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"status\",\"type\":\"bool\"}],\"name\":\"setAllowList\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newLiquidityCap\",\"type\":\"uint256\"}],\"name\":\"setLiquidityCap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newLockupPeriod\",\"type\":\"uint256\"}],\"name\":\"setLockupPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"open\",\"type\":\"bool\"}],\"name\":\"setOpenToPublic\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"poolAdmin\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"allowed\",\"type\":\"bool\"}],\"name\":\"setPoolAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newStakingFee\",\"type\":\"uint256\"}],\"name\":\"setStakingFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stakeAsset\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stakeLocker\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stakingFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"superFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"totalCustodyAllowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferByCustodian\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"loan\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dlFactory\",\"type\":\"address\"}],\"name\":\"triggerDefault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateFundsReceived\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateLossesReceived\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amt\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"withdrawCooldown\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"withdrawableFundsOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"withdrawnFundsOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

MaplePoolMetaData contains all meta data concerning the MaplePool contract.

View Source
var MapleStakeLockerABI = MapleStakeLockerMetaData.ABI

MapleStakeLockerABI is the input ABI used to generate the binding from. Deprecated: Use MapleStakeLockerMetaData.ABI instead.

View Source
var MapleStakeLockerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_stakeAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_liquidityAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pool\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"status\",\"type\":\"bool\"}],\"name\":\"AllowListUpdated\",\"type\":\"event\"},{\"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\":\"staker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"name\":\"BalanceUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cooldown\",\"type\":\"uint256\"}],\"name\":\"Cooldown\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"custodian\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldAllowance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newAllowance\",\"type\":\"uint256\"}],\"name\":\"CustodyAllowanceChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"custodian\",\"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\"}],\"name\":\"CustodyTransfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"by\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fundsDistributed\",\"type\":\"uint256\"}],\"name\":\"FundsDistributed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"by\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fundsWithdrawn\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalWithdrawn\",\"type\":\"uint256\"}],\"name\":\"FundsWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lockupPeriod\",\"type\":\"uint256\"}],\"name\":\"LockupPeriodUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"lossesCorrection\",\"type\":\"int256\"}],\"name\":\"LossesCorrectionUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"by\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lossesDistributed\",\"type\":\"uint256\"}],\"name\":\"LossesDistributed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lossesPerShare\",\"type\":\"uint256\"}],\"name\":\"LossesPerShareUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"by\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lossesRecognized\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalLossesRecognized\",\"type\":\"uint256\"}],\"name\":\"LossesRecognized\",\"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\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"pointsCorrection\",\"type\":\"int256\"}],\"name\":\"PointsCorrectionUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"pointsPerShare\",\"type\":\"uint256\"}],\"name\":\"PointsPerShareUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Stake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"stakeDate\",\"type\":\"uint256\"}],\"name\":\"StakeDateUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"StakeLockerOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newTotalAllowance\",\"type\":\"uint256\"}],\"name\":\"TotalCustodyAllowanceUpdated\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unstake\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"accumulativeFundsOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"accumulativeLossesOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bptLosses\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelUnstake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"custodyAllowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fundsToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fundsTokenBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"custodian\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"increaseCustodyAllowance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"intendToUnstake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_unstakeCooldown\",\"type\":\"uint256\"}],\"name\":\"isReceiveAllowed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"}],\"name\":\"isUnstakeAllowed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidityAsset\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lockupPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lossesBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"openStakeLockerToPublic\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"openToPublic\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amt\",\"type\":\"uint256\"}],\"name\":\"pull\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"recognizableLossesOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"recognizedLossesOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"status\",\"type\":\"bool\"}],\"name\":\"setAllowlist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newLockupPeriod\",\"type\":\"uint256\"}],\"name\":\"setLockupPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amt\",\"type\":\"uint256\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stakeAsset\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"stakeDate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"totalCustodyAllowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferByCustodian\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amt\",\"type\":\"uint256\"}],\"name\":\"unstake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"unstakeCooldown\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateFundsReceived\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"bptsBurned\",\"type\":\"uint256\"}],\"name\":\"updateLosses\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateLossesReceived\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"withdrawableFundsOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"withdrawnFundsOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

MapleStakeLockerMetaData contains all meta data concerning the MapleStakeLocker contract.

View Source
var MapleXmplABI = MapleXmplMetaData.ABI

MapleXmplABI is the input ABI used to generate the binding from. Deprecated: Use MapleXmplMetaData.ABI instead.

View Source
var MapleXmplMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"asset_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"precision_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender_\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller_\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets_\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares_\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"freeAssets_\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"issuanceRate_\",\"type\":\"uint256\"}],\"name\":\"IssuanceParamsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"MigrationCancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromAsset_\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toAsset_\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"MigrationPerformed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromAsset_\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toAsset_\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"migrator_\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"migrationTime_\",\"type\":\"uint256\"}],\"name\":\"MigrationScheduled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner_\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner_\",\"type\":\"address\"}],\"name\":\"OwnershipAccepted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner_\",\"type\":\"address\"}],\"name\":\"PendingOwnerSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient_\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"vestingPeriodFinish_\",\"type\":\"uint256\"}],\"name\":\"VestingScheduleUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller_\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver_\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets_\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares_\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"domainSeparator_\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINIMUM_MIGRATION_DELAY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success_\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"asset\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account_\",\"type\":\"address\"}],\"name\":\"balanceOfAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balanceOfAssets_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelMigration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares_\",\"type\":\"uint256\"}],\"name\":\"convertToAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets_\",\"type\":\"uint256\"}],\"name\":\"convertToShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedAmount_\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success_\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets_\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver_\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets_\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline_\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v_\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r_\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s_\",\"type\":\"bytes32\"}],\"name\":\"depositWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"freeAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedAmount_\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success_\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"issuanceRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastUpdated\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver_\",\"type\":\"address\"}],\"name\":\"maxDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAssets_\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver_\",\"type\":\"address\"}],\"name\":\"maxMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"maxShares_\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"name\":\"maxRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"maxShares_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"name\":\"maxWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAssets_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares_\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver_\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares_\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxAssets_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline_\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v_\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r_\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s_\",\"type\":\"bytes32\"}],\"name\":\"mintWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"performMigration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline_\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v_\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r_\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s_\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"precision\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets_\",\"type\":\"uint256\"}],\"name\":\"previewDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares_\",\"type\":\"uint256\"}],\"name\":\"previewMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares_\",\"type\":\"uint256\"}],\"name\":\"previewRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets_\",\"type\":\"uint256\"}],\"name\":\"previewWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares_\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"migrator_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newAsset_\",\"type\":\"address\"}],\"name\":\"scheduleMigration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"scheduledMigrationTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"scheduledMigrator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"scheduledNewAsset\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner_\",\"type\":\"address\"}],\"name\":\"setPendingOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalManagedAssets_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success_\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success_\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"vestingPeriod_\",\"type\":\"uint256\"}],\"name\":\"updateVestingSchedule\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"issuanceRate_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"freeAssets_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vestingPeriodFinish\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets_\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

MapleXmplMetaData contains all meta data concerning the MapleXmpl contract.

Functions

This section is empty.

Types

type MaplePool

type MaplePool struct {
	MaplePoolCaller     // Read-only binding to the contract
	MaplePoolTransactor // Write-only binding to the contract
	MaplePoolFilterer   // Log filterer for contract events
}

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

func NewMaplePool

func NewMaplePool(address common.Address, backend bind.ContractBackend) (*MaplePool, error)

NewMaplePool creates a new instance of MaplePool, bound to a specific deployed contract.

type MaplePoolApproval

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

MaplePoolApproval represents a Approval event raised by the MaplePool contract.

type MaplePoolApprovalIterator

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

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

func (*MaplePoolApprovalIterator) Close

func (it *MaplePoolApprovalIterator) Close() error

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

func (*MaplePoolApprovalIterator) Error

func (it *MaplePoolApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolApprovalIterator) Next

func (it *MaplePoolApprovalIterator) 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 MaplePoolBalanceUpdated

type MaplePoolBalanceUpdated struct {
	LiquidityProvider common.Address
	Token             common.Address
	Balance           *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

MaplePoolBalanceUpdated represents a BalanceUpdated event raised by the MaplePool contract.

type MaplePoolBalanceUpdatedIterator

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

MaplePoolBalanceUpdatedIterator is returned from FilterBalanceUpdated and is used to iterate over the raw logs and unpacked data for BalanceUpdated events raised by the MaplePool contract.

func (*MaplePoolBalanceUpdatedIterator) Close

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

func (*MaplePoolBalanceUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolBalanceUpdatedIterator) 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 MaplePoolCaller

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

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

func NewMaplePoolCaller

func NewMaplePoolCaller(address common.Address, caller bind.ContractCaller) (*MaplePoolCaller, error)

NewMaplePoolCaller creates a new read-only instance of MaplePool, bound to a specific deployed contract.

func (*MaplePoolCaller) AccumulativeFundsOf

func (_MaplePool *MaplePoolCaller) AccumulativeFundsOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

AccumulativeFundsOf is a free data retrieval call binding the contract method 0x4e97415f.

Solidity: function accumulativeFundsOf(address _owner) view returns(uint256)

func (*MaplePoolCaller) AccumulativeLossesOf

func (_MaplePool *MaplePoolCaller) AccumulativeLossesOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

AccumulativeLossesOf is a free data retrieval call binding the contract method 0x40bde098.

Solidity: function accumulativeLossesOf(address _owner) view returns(uint256)

func (*MaplePoolCaller) Allowance

func (_MaplePool *MaplePoolCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*MaplePoolCaller) AllowedLiquidityProviders

func (_MaplePool *MaplePoolCaller) AllowedLiquidityProviders(opts *bind.CallOpts, arg0 common.Address) (bool, error)

AllowedLiquidityProviders is a free data retrieval call binding the contract method 0xc59e3959.

Solidity: function allowedLiquidityProviders(address ) view returns(bool)

func (*MaplePoolCaller) BPTVal

func (_MaplePool *MaplePoolCaller) BPTVal(opts *bind.CallOpts, _bPool common.Address, _liquidityAsset common.Address, _staker common.Address, _stakeLocker common.Address) (*big.Int, error)

BPTVal is a free data retrieval call binding the contract method 0x681cb10a.

Solidity: function BPTVal(address _bPool, address _liquidityAsset, address _staker, address _stakeLocker) view returns(uint256)

func (*MaplePoolCaller) BalanceOf

func (_MaplePool *MaplePoolCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

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

func (*MaplePoolCaller) CustodyAllowance

func (_MaplePool *MaplePoolCaller) CustodyAllowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

CustodyAllowance is a free data retrieval call binding the contract method 0xc965b548.

Solidity: function custodyAllowance(address , address ) view returns(uint256)

func (*MaplePoolCaller) DLFACTORY

func (_MaplePool *MaplePoolCaller) DLFACTORY(opts *bind.CallOpts) (uint8, error)

DLFACTORY is a free data retrieval call binding the contract method 0x174a5be4.

Solidity: function DL_FACTORY() view returns(uint8)

func (*MaplePoolCaller) DebtLockers

func (_MaplePool *MaplePoolCaller) DebtLockers(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (common.Address, error)

DebtLockers is a free data retrieval call binding the contract method 0xd7bd3c91.

Solidity: function debtLockers(address , address ) view returns(address)

func (*MaplePoolCaller) Decimals

func (_MaplePool *MaplePoolCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*MaplePoolCaller) DelegateFee

func (_MaplePool *MaplePoolCaller) DelegateFee(opts *bind.CallOpts) (*big.Int, error)

DelegateFee is a free data retrieval call binding the contract method 0xb69410de.

Solidity: function delegateFee() view returns(uint256)

func (*MaplePoolCaller) DepositDate

func (_MaplePool *MaplePoolCaller) DepositDate(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

DepositDate is a free data retrieval call binding the contract method 0x24b92e8e.

Solidity: function depositDate(address ) view returns(uint256)

func (*MaplePoolCaller) GetInitialStakeRequirements

func (_MaplePool *MaplePoolCaller) GetInitialStakeRequirements(opts *bind.CallOpts) (*big.Int, *big.Int, bool, *big.Int, *big.Int, error)

GetInitialStakeRequirements is a free data retrieval call binding the contract method 0x13bf9e7e.

Solidity: function getInitialStakeRequirements() view returns(uint256, uint256, bool, uint256, uint256)

func (*MaplePoolCaller) GetPoolSharesRequired

func (_MaplePool *MaplePoolCaller) GetPoolSharesRequired(opts *bind.CallOpts, _bPool common.Address, _liquidityAsset common.Address, _staker common.Address, _stakeLocker common.Address, _liquidityAssetAmountRequired *big.Int) (*big.Int, *big.Int, error)

GetPoolSharesRequired is a free data retrieval call binding the contract method 0xc3746825.

Solidity: function getPoolSharesRequired(address _bPool, address _liquidityAsset, address _staker, address _stakeLocker, uint256 _liquidityAssetAmountRequired) view returns(uint256, uint256)

func (*MaplePoolCaller) InterestBalance

func (_MaplePool *MaplePoolCaller) InterestBalance(opts *bind.CallOpts) (*big.Int, error)

InterestBalance is a free data retrieval call binding the contract method 0x9f3c7325.

Solidity: function interestBalance() view returns(uint256)

func (*MaplePoolCaller) InterestSum

func (_MaplePool *MaplePoolCaller) InterestSum(opts *bind.CallOpts) (*big.Int, error)

InterestSum is a free data retrieval call binding the contract method 0x71073bac.

Solidity: function interestSum() view returns(uint256)

func (*MaplePoolCaller) IsDepositAllowed

func (_MaplePool *MaplePoolCaller) IsDepositAllowed(opts *bind.CallOpts, depositAmt *big.Int) (bool, error)

IsDepositAllowed is a free data retrieval call binding the contract method 0x80e7ce85.

Solidity: function isDepositAllowed(uint256 depositAmt) view returns(bool)

func (*MaplePoolCaller) IsPoolFinalized

func (_MaplePool *MaplePoolCaller) IsPoolFinalized(opts *bind.CallOpts) (bool, error)

IsPoolFinalized is a free data retrieval call binding the contract method 0x4f85221a.

Solidity: function isPoolFinalized() view returns(bool)

func (*MaplePoolCaller) LiquidityAsset

func (_MaplePool *MaplePoolCaller) LiquidityAsset(opts *bind.CallOpts) (common.Address, error)

LiquidityAsset is a free data retrieval call binding the contract method 0x209b2bca.

Solidity: function liquidityAsset() view returns(address)

func (*MaplePoolCaller) LiquidityCap

func (_MaplePool *MaplePoolCaller) LiquidityCap(opts *bind.CallOpts) (*big.Int, error)

LiquidityCap is a free data retrieval call binding the contract method 0x76687d3d.

Solidity: function liquidityCap() view returns(uint256)

func (*MaplePoolCaller) LiquidityLocker

func (_MaplePool *MaplePoolCaller) LiquidityLocker(opts *bind.CallOpts) (common.Address, error)

LiquidityLocker is a free data retrieval call binding the contract method 0x9759164a.

Solidity: function liquidityLocker() view returns(address)

func (*MaplePoolCaller) LockupPeriod

func (_MaplePool *MaplePoolCaller) LockupPeriod(opts *bind.CallOpts) (*big.Int, error)

LockupPeriod is a free data retrieval call binding the contract method 0xee947a7c.

Solidity: function lockupPeriod() view returns(uint256)

func (*MaplePoolCaller) LossesBalance

func (_MaplePool *MaplePoolCaller) LossesBalance(opts *bind.CallOpts) (*big.Int, error)

LossesBalance is a free data retrieval call binding the contract method 0xfec984e3.

Solidity: function lossesBalance() view returns(uint256)

func (*MaplePoolCaller) Name

func (_MaplePool *MaplePoolCaller) 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 (*MaplePoolCaller) OpenToPublic

func (_MaplePool *MaplePoolCaller) OpenToPublic(opts *bind.CallOpts) (bool, error)

OpenToPublic is a free data retrieval call binding the contract method 0x1831ccf2.

Solidity: function openToPublic() view returns(bool)

func (*MaplePoolCaller) PoolAdmins

func (_MaplePool *MaplePoolCaller) PoolAdmins(opts *bind.CallOpts, arg0 common.Address) (bool, error)

PoolAdmins is a free data retrieval call binding the contract method 0x613384f2.

Solidity: function poolAdmins(address ) view returns(bool)

func (*MaplePoolCaller) PoolDelegate

func (_MaplePool *MaplePoolCaller) PoolDelegate(opts *bind.CallOpts) (common.Address, error)

PoolDelegate is a free data retrieval call binding the contract method 0x4046af2b.

Solidity: function poolDelegate() view returns(address)

func (*MaplePoolCaller) PoolLosses

func (_MaplePool *MaplePoolCaller) PoolLosses(opts *bind.CallOpts) (*big.Int, error)

PoolLosses is a free data retrieval call binding the contract method 0xa33142f7.

Solidity: function poolLosses() view returns(uint256)

func (*MaplePoolCaller) PoolState

func (_MaplePool *MaplePoolCaller) PoolState(opts *bind.CallOpts) (uint8, error)

PoolState is a free data retrieval call binding the contract method 0x641ad8a9.

Solidity: function poolState() view returns(uint8)

func (*MaplePoolCaller) PrincipalOut

func (_MaplePool *MaplePoolCaller) PrincipalOut(opts *bind.CallOpts) (*big.Int, error)

PrincipalOut is a free data retrieval call binding the contract method 0xac641655.

Solidity: function principalOut() view returns(uint256)

func (*MaplePoolCaller) RecognizableLossesOf

func (_MaplePool *MaplePoolCaller) RecognizableLossesOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

RecognizableLossesOf is a free data retrieval call binding the contract method 0x66967791.

Solidity: function recognizableLossesOf(address _owner) view returns(uint256)

func (*MaplePoolCaller) RecognizedLossesOf

func (_MaplePool *MaplePoolCaller) RecognizedLossesOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

RecognizedLossesOf is a free data retrieval call binding the contract method 0xaed4966a.

Solidity: function recognizedLossesOf(address _owner) view returns(uint256)

func (*MaplePoolCaller) StakeAsset

func (_MaplePool *MaplePoolCaller) StakeAsset(opts *bind.CallOpts) (common.Address, error)

StakeAsset is a free data retrieval call binding the contract method 0x80cd916d.

Solidity: function stakeAsset() view returns(address)

func (*MaplePoolCaller) StakeLocker

func (_MaplePool *MaplePoolCaller) StakeLocker(opts *bind.CallOpts) (common.Address, error)

StakeLocker is a free data retrieval call binding the contract method 0x033b1cf0.

Solidity: function stakeLocker() view returns(address)

func (*MaplePoolCaller) StakingFee

func (_MaplePool *MaplePoolCaller) StakingFee(opts *bind.CallOpts) (*big.Int, error)

StakingFee is a free data retrieval call binding the contract method 0xeff98843.

Solidity: function stakingFee() view returns(uint256)

func (*MaplePoolCaller) SuperFactory

func (_MaplePool *MaplePoolCaller) SuperFactory(opts *bind.CallOpts) (common.Address, error)

SuperFactory is a free data retrieval call binding the contract method 0x0d49b38c.

Solidity: function superFactory() view returns(address)

func (*MaplePoolCaller) Symbol

func (_MaplePool *MaplePoolCaller) 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 (*MaplePoolCaller) TotalCustodyAllowance

func (_MaplePool *MaplePoolCaller) TotalCustodyAllowance(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

TotalCustodyAllowance is a free data retrieval call binding the contract method 0xaf6d5571.

Solidity: function totalCustodyAllowance(address ) view returns(uint256)

func (*MaplePoolCaller) TotalSupply

func (_MaplePool *MaplePoolCaller) 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)

func (*MaplePoolCaller) WithdrawCooldown

func (_MaplePool *MaplePoolCaller) WithdrawCooldown(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

WithdrawCooldown is a free data retrieval call binding the contract method 0xd82745c8.

Solidity: function withdrawCooldown(address ) view returns(uint256)

func (*MaplePoolCaller) WithdrawableFundsOf

func (_MaplePool *MaplePoolCaller) WithdrawableFundsOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

WithdrawableFundsOf is a free data retrieval call binding the contract method 0x443bb293.

Solidity: function withdrawableFundsOf(address _owner) view returns(uint256)

func (*MaplePoolCaller) WithdrawnFundsOf

func (_MaplePool *MaplePoolCaller) WithdrawnFundsOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

WithdrawnFundsOf is a free data retrieval call binding the contract method 0x0041c52c.

Solidity: function withdrawnFundsOf(address _owner) view returns(uint256)

type MaplePoolCallerRaw

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

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

func (*MaplePoolCallerRaw) Call

func (_MaplePool *MaplePoolCallerRaw) 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 MaplePoolCallerSession

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

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

func (*MaplePoolCallerSession) AccumulativeFundsOf

func (_MaplePool *MaplePoolCallerSession) AccumulativeFundsOf(_owner common.Address) (*big.Int, error)

AccumulativeFundsOf is a free data retrieval call binding the contract method 0x4e97415f.

Solidity: function accumulativeFundsOf(address _owner) view returns(uint256)

func (*MaplePoolCallerSession) AccumulativeLossesOf

func (_MaplePool *MaplePoolCallerSession) AccumulativeLossesOf(_owner common.Address) (*big.Int, error)

AccumulativeLossesOf is a free data retrieval call binding the contract method 0x40bde098.

Solidity: function accumulativeLossesOf(address _owner) view returns(uint256)

func (*MaplePoolCallerSession) Allowance

func (_MaplePool *MaplePoolCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*MaplePoolCallerSession) AllowedLiquidityProviders

func (_MaplePool *MaplePoolCallerSession) AllowedLiquidityProviders(arg0 common.Address) (bool, error)

AllowedLiquidityProviders is a free data retrieval call binding the contract method 0xc59e3959.

Solidity: function allowedLiquidityProviders(address ) view returns(bool)

func (*MaplePoolCallerSession) BPTVal

func (_MaplePool *MaplePoolCallerSession) BPTVal(_bPool common.Address, _liquidityAsset common.Address, _staker common.Address, _stakeLocker common.Address) (*big.Int, error)

BPTVal is a free data retrieval call binding the contract method 0x681cb10a.

Solidity: function BPTVal(address _bPool, address _liquidityAsset, address _staker, address _stakeLocker) view returns(uint256)

func (*MaplePoolCallerSession) BalanceOf

func (_MaplePool *MaplePoolCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*MaplePoolCallerSession) CustodyAllowance

func (_MaplePool *MaplePoolCallerSession) CustodyAllowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

CustodyAllowance is a free data retrieval call binding the contract method 0xc965b548.

Solidity: function custodyAllowance(address , address ) view returns(uint256)

func (*MaplePoolCallerSession) DLFACTORY

func (_MaplePool *MaplePoolCallerSession) DLFACTORY() (uint8, error)

DLFACTORY is a free data retrieval call binding the contract method 0x174a5be4.

Solidity: function DL_FACTORY() view returns(uint8)

func (*MaplePoolCallerSession) DebtLockers

func (_MaplePool *MaplePoolCallerSession) DebtLockers(arg0 common.Address, arg1 common.Address) (common.Address, error)

DebtLockers is a free data retrieval call binding the contract method 0xd7bd3c91.

Solidity: function debtLockers(address , address ) view returns(address)

func (*MaplePoolCallerSession) Decimals

func (_MaplePool *MaplePoolCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*MaplePoolCallerSession) DelegateFee

func (_MaplePool *MaplePoolCallerSession) DelegateFee() (*big.Int, error)

DelegateFee is a free data retrieval call binding the contract method 0xb69410de.

Solidity: function delegateFee() view returns(uint256)

func (*MaplePoolCallerSession) DepositDate

func (_MaplePool *MaplePoolCallerSession) DepositDate(arg0 common.Address) (*big.Int, error)

DepositDate is a free data retrieval call binding the contract method 0x24b92e8e.

Solidity: function depositDate(address ) view returns(uint256)

func (*MaplePoolCallerSession) GetInitialStakeRequirements

func (_MaplePool *MaplePoolCallerSession) GetInitialStakeRequirements() (*big.Int, *big.Int, bool, *big.Int, *big.Int, error)

GetInitialStakeRequirements is a free data retrieval call binding the contract method 0x13bf9e7e.

Solidity: function getInitialStakeRequirements() view returns(uint256, uint256, bool, uint256, uint256)

func (*MaplePoolCallerSession) GetPoolSharesRequired

func (_MaplePool *MaplePoolCallerSession) GetPoolSharesRequired(_bPool common.Address, _liquidityAsset common.Address, _staker common.Address, _stakeLocker common.Address, _liquidityAssetAmountRequired *big.Int) (*big.Int, *big.Int, error)

GetPoolSharesRequired is a free data retrieval call binding the contract method 0xc3746825.

Solidity: function getPoolSharesRequired(address _bPool, address _liquidityAsset, address _staker, address _stakeLocker, uint256 _liquidityAssetAmountRequired) view returns(uint256, uint256)

func (*MaplePoolCallerSession) InterestBalance

func (_MaplePool *MaplePoolCallerSession) InterestBalance() (*big.Int, error)

InterestBalance is a free data retrieval call binding the contract method 0x9f3c7325.

Solidity: function interestBalance() view returns(uint256)

func (*MaplePoolCallerSession) InterestSum

func (_MaplePool *MaplePoolCallerSession) InterestSum() (*big.Int, error)

InterestSum is a free data retrieval call binding the contract method 0x71073bac.

Solidity: function interestSum() view returns(uint256)

func (*MaplePoolCallerSession) IsDepositAllowed

func (_MaplePool *MaplePoolCallerSession) IsDepositAllowed(depositAmt *big.Int) (bool, error)

IsDepositAllowed is a free data retrieval call binding the contract method 0x80e7ce85.

Solidity: function isDepositAllowed(uint256 depositAmt) view returns(bool)

func (*MaplePoolCallerSession) IsPoolFinalized

func (_MaplePool *MaplePoolCallerSession) IsPoolFinalized() (bool, error)

IsPoolFinalized is a free data retrieval call binding the contract method 0x4f85221a.

Solidity: function isPoolFinalized() view returns(bool)

func (*MaplePoolCallerSession) LiquidityAsset

func (_MaplePool *MaplePoolCallerSession) LiquidityAsset() (common.Address, error)

LiquidityAsset is a free data retrieval call binding the contract method 0x209b2bca.

Solidity: function liquidityAsset() view returns(address)

func (*MaplePoolCallerSession) LiquidityCap

func (_MaplePool *MaplePoolCallerSession) LiquidityCap() (*big.Int, error)

LiquidityCap is a free data retrieval call binding the contract method 0x76687d3d.

Solidity: function liquidityCap() view returns(uint256)

func (*MaplePoolCallerSession) LiquidityLocker

func (_MaplePool *MaplePoolCallerSession) LiquidityLocker() (common.Address, error)

LiquidityLocker is a free data retrieval call binding the contract method 0x9759164a.

Solidity: function liquidityLocker() view returns(address)

func (*MaplePoolCallerSession) LockupPeriod

func (_MaplePool *MaplePoolCallerSession) LockupPeriod() (*big.Int, error)

LockupPeriod is a free data retrieval call binding the contract method 0xee947a7c.

Solidity: function lockupPeriod() view returns(uint256)

func (*MaplePoolCallerSession) LossesBalance

func (_MaplePool *MaplePoolCallerSession) LossesBalance() (*big.Int, error)

LossesBalance is a free data retrieval call binding the contract method 0xfec984e3.

Solidity: function lossesBalance() view returns(uint256)

func (*MaplePoolCallerSession) Name

func (_MaplePool *MaplePoolCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*MaplePoolCallerSession) OpenToPublic

func (_MaplePool *MaplePoolCallerSession) OpenToPublic() (bool, error)

OpenToPublic is a free data retrieval call binding the contract method 0x1831ccf2.

Solidity: function openToPublic() view returns(bool)

func (*MaplePoolCallerSession) PoolAdmins

func (_MaplePool *MaplePoolCallerSession) PoolAdmins(arg0 common.Address) (bool, error)

PoolAdmins is a free data retrieval call binding the contract method 0x613384f2.

Solidity: function poolAdmins(address ) view returns(bool)

func (*MaplePoolCallerSession) PoolDelegate

func (_MaplePool *MaplePoolCallerSession) PoolDelegate() (common.Address, error)

PoolDelegate is a free data retrieval call binding the contract method 0x4046af2b.

Solidity: function poolDelegate() view returns(address)

func (*MaplePoolCallerSession) PoolLosses

func (_MaplePool *MaplePoolCallerSession) PoolLosses() (*big.Int, error)

PoolLosses is a free data retrieval call binding the contract method 0xa33142f7.

Solidity: function poolLosses() view returns(uint256)

func (*MaplePoolCallerSession) PoolState

func (_MaplePool *MaplePoolCallerSession) PoolState() (uint8, error)

PoolState is a free data retrieval call binding the contract method 0x641ad8a9.

Solidity: function poolState() view returns(uint8)

func (*MaplePoolCallerSession) PrincipalOut

func (_MaplePool *MaplePoolCallerSession) PrincipalOut() (*big.Int, error)

PrincipalOut is a free data retrieval call binding the contract method 0xac641655.

Solidity: function principalOut() view returns(uint256)

func (*MaplePoolCallerSession) RecognizableLossesOf

func (_MaplePool *MaplePoolCallerSession) RecognizableLossesOf(_owner common.Address) (*big.Int, error)

RecognizableLossesOf is a free data retrieval call binding the contract method 0x66967791.

Solidity: function recognizableLossesOf(address _owner) view returns(uint256)

func (*MaplePoolCallerSession) RecognizedLossesOf

func (_MaplePool *MaplePoolCallerSession) RecognizedLossesOf(_owner common.Address) (*big.Int, error)

RecognizedLossesOf is a free data retrieval call binding the contract method 0xaed4966a.

Solidity: function recognizedLossesOf(address _owner) view returns(uint256)

func (*MaplePoolCallerSession) StakeAsset

func (_MaplePool *MaplePoolCallerSession) StakeAsset() (common.Address, error)

StakeAsset is a free data retrieval call binding the contract method 0x80cd916d.

Solidity: function stakeAsset() view returns(address)

func (*MaplePoolCallerSession) StakeLocker

func (_MaplePool *MaplePoolCallerSession) StakeLocker() (common.Address, error)

StakeLocker is a free data retrieval call binding the contract method 0x033b1cf0.

Solidity: function stakeLocker() view returns(address)

func (*MaplePoolCallerSession) StakingFee

func (_MaplePool *MaplePoolCallerSession) StakingFee() (*big.Int, error)

StakingFee is a free data retrieval call binding the contract method 0xeff98843.

Solidity: function stakingFee() view returns(uint256)

func (*MaplePoolCallerSession) SuperFactory

func (_MaplePool *MaplePoolCallerSession) SuperFactory() (common.Address, error)

SuperFactory is a free data retrieval call binding the contract method 0x0d49b38c.

Solidity: function superFactory() view returns(address)

func (*MaplePoolCallerSession) Symbol

func (_MaplePool *MaplePoolCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*MaplePoolCallerSession) TotalCustodyAllowance

func (_MaplePool *MaplePoolCallerSession) TotalCustodyAllowance(arg0 common.Address) (*big.Int, error)

TotalCustodyAllowance is a free data retrieval call binding the contract method 0xaf6d5571.

Solidity: function totalCustodyAllowance(address ) view returns(uint256)

func (*MaplePoolCallerSession) TotalSupply

func (_MaplePool *MaplePoolCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*MaplePoolCallerSession) WithdrawCooldown

func (_MaplePool *MaplePoolCallerSession) WithdrawCooldown(arg0 common.Address) (*big.Int, error)

WithdrawCooldown is a free data retrieval call binding the contract method 0xd82745c8.

Solidity: function withdrawCooldown(address ) view returns(uint256)

func (*MaplePoolCallerSession) WithdrawableFundsOf

func (_MaplePool *MaplePoolCallerSession) WithdrawableFundsOf(_owner common.Address) (*big.Int, error)

WithdrawableFundsOf is a free data retrieval call binding the contract method 0x443bb293.

Solidity: function withdrawableFundsOf(address _owner) view returns(uint256)

func (*MaplePoolCallerSession) WithdrawnFundsOf

func (_MaplePool *MaplePoolCallerSession) WithdrawnFundsOf(_owner common.Address) (*big.Int, error)

WithdrawnFundsOf is a free data retrieval call binding the contract method 0x0041c52c.

Solidity: function withdrawnFundsOf(address _owner) view returns(uint256)

type MaplePoolClaim

type MaplePoolClaim struct {
	Loan                common.Address
	Interest            *big.Int
	Principal           *big.Int
	Fee                 *big.Int
	StakeLockerPortion  *big.Int
	PoolDelegatePortion *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

MaplePoolClaim represents a Claim event raised by the MaplePool contract.

type MaplePoolClaimIterator

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

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

func (*MaplePoolClaimIterator) Close

func (it *MaplePoolClaimIterator) Close() error

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

func (*MaplePoolClaimIterator) Error

func (it *MaplePoolClaimIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolClaimIterator) Next

func (it *MaplePoolClaimIterator) 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 MaplePoolCooldown

type MaplePoolCooldown struct {
	LiquidityProvider common.Address
	Cooldown          *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

MaplePoolCooldown represents a Cooldown event raised by the MaplePool contract.

type MaplePoolCooldownIterator

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

MaplePoolCooldownIterator is returned from FilterCooldown and is used to iterate over the raw logs and unpacked data for Cooldown events raised by the MaplePool contract.

func (*MaplePoolCooldownIterator) Close

func (it *MaplePoolCooldownIterator) Close() error

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

func (*MaplePoolCooldownIterator) Error

func (it *MaplePoolCooldownIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolCooldownIterator) Next

func (it *MaplePoolCooldownIterator) 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 MaplePoolCustodyAllowanceChanged

type MaplePoolCustodyAllowanceChanged struct {
	LiquidityProvider common.Address
	Custodian         common.Address
	OldAllowance      *big.Int
	NewAllowance      *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

MaplePoolCustodyAllowanceChanged represents a CustodyAllowanceChanged event raised by the MaplePool contract.

type MaplePoolCustodyAllowanceChangedIterator

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

MaplePoolCustodyAllowanceChangedIterator is returned from FilterCustodyAllowanceChanged and is used to iterate over the raw logs and unpacked data for CustodyAllowanceChanged events raised by the MaplePool contract.

func (*MaplePoolCustodyAllowanceChangedIterator) Close

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

func (*MaplePoolCustodyAllowanceChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolCustodyAllowanceChangedIterator) 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 MaplePoolCustodyTransfer

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

MaplePoolCustodyTransfer represents a CustodyTransfer event raised by the MaplePool contract.

type MaplePoolCustodyTransferIterator

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

MaplePoolCustodyTransferIterator is returned from FilterCustodyTransfer and is used to iterate over the raw logs and unpacked data for CustodyTransfer events raised by the MaplePool contract.

func (*MaplePoolCustodyTransferIterator) Close

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

func (*MaplePoolCustodyTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolCustodyTransferIterator) 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 MaplePoolDefaultSuffered

type MaplePoolDefaultSuffered struct {
	Loan                            common.Address
	DefaultSuffered                 *big.Int
	BptsBurned                      *big.Int
	BptsReturned                    *big.Int
	LiquidityAssetRecoveredFromBurn *big.Int
	Raw                             types.Log // Blockchain specific contextual infos
}

MaplePoolDefaultSuffered represents a DefaultSuffered event raised by the MaplePool contract.

type MaplePoolDefaultSufferedIterator

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

MaplePoolDefaultSufferedIterator is returned from FilterDefaultSuffered and is used to iterate over the raw logs and unpacked data for DefaultSuffered events raised by the MaplePool contract.

func (*MaplePoolDefaultSufferedIterator) Close

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

func (*MaplePoolDefaultSufferedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolDefaultSufferedIterator) 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 MaplePoolDepositDateUpdated

type MaplePoolDepositDateUpdated struct {
	LiquidityProvider common.Address
	DepositDate       *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

MaplePoolDepositDateUpdated represents a DepositDateUpdated event raised by the MaplePool contract.

type MaplePoolDepositDateUpdatedIterator

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

MaplePoolDepositDateUpdatedIterator is returned from FilterDepositDateUpdated and is used to iterate over the raw logs and unpacked data for DepositDateUpdated events raised by the MaplePool contract.

func (*MaplePoolDepositDateUpdatedIterator) Close

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

func (*MaplePoolDepositDateUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolDepositDateUpdatedIterator) 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 MaplePoolFilterer

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

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

func NewMaplePoolFilterer

func NewMaplePoolFilterer(address common.Address, filterer bind.ContractFilterer) (*MaplePoolFilterer, error)

NewMaplePoolFilterer creates a new log filterer instance of MaplePool, bound to a specific deployed contract.

func (*MaplePoolFilterer) FilterApproval

func (_MaplePool *MaplePoolFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MaplePoolApprovalIterator, 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 (*MaplePoolFilterer) FilterBalanceUpdated

func (_MaplePool *MaplePoolFilterer) FilterBalanceUpdated(opts *bind.FilterOpts, liquidityProvider []common.Address, token []common.Address) (*MaplePoolBalanceUpdatedIterator, error)

FilterBalanceUpdated is a free log retrieval operation binding the contract event 0x2047d1633ff7768462ae07d28cb16e484203bfd6d85ce832494270ebcd9081a2.

Solidity: event BalanceUpdated(address indexed liquidityProvider, address indexed token, uint256 balance)

func (*MaplePoolFilterer) FilterClaim

func (_MaplePool *MaplePoolFilterer) FilterClaim(opts *bind.FilterOpts, loan []common.Address) (*MaplePoolClaimIterator, error)

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

Solidity: event Claim(address indexed loan, uint256 interest, uint256 principal, uint256 fee, uint256 stakeLockerPortion, uint256 poolDelegatePortion)

func (*MaplePoolFilterer) FilterCooldown

func (_MaplePool *MaplePoolFilterer) FilterCooldown(opts *bind.FilterOpts, liquidityProvider []common.Address) (*MaplePoolCooldownIterator, error)

FilterCooldown is a free log retrieval operation binding the contract event 0x8a05f911d8ab7fc50fec37ef4ba7f9bfcb1a3c191c81dcd824ad0946c4e20d65.

Solidity: event Cooldown(address indexed liquidityProvider, uint256 cooldown)

func (*MaplePoolFilterer) FilterCustodyAllowanceChanged

func (_MaplePool *MaplePoolFilterer) FilterCustodyAllowanceChanged(opts *bind.FilterOpts, liquidityProvider []common.Address, custodian []common.Address) (*MaplePoolCustodyAllowanceChangedIterator, error)

FilterCustodyAllowanceChanged is a free log retrieval operation binding the contract event 0x847e03d69a7075471d42285f4ac63570c10f3012d8bf736d66de2eef17aac3e8.

Solidity: event CustodyAllowanceChanged(address indexed liquidityProvider, address indexed custodian, uint256 oldAllowance, uint256 newAllowance)

func (*MaplePoolFilterer) FilterCustodyTransfer

func (_MaplePool *MaplePoolFilterer) FilterCustodyTransfer(opts *bind.FilterOpts, custodian []common.Address, from []common.Address, to []common.Address) (*MaplePoolCustodyTransferIterator, error)

FilterCustodyTransfer is a free log retrieval operation binding the contract event 0xfaa022ea2cd7f14157070896fabadafe96cc4d4714eef7ae6a992a5084493ed5.

Solidity: event CustodyTransfer(address indexed custodian, address indexed from, address indexed to, uint256 amount)

func (*MaplePoolFilterer) FilterDefaultSuffered

func (_MaplePool *MaplePoolFilterer) FilterDefaultSuffered(opts *bind.FilterOpts, loan []common.Address) (*MaplePoolDefaultSufferedIterator, error)

FilterDefaultSuffered is a free log retrieval operation binding the contract event 0xd393d18014c1898545668c52621bced9493753be5b8138f2539542ca606732eb.

Solidity: event DefaultSuffered(address indexed loan, uint256 defaultSuffered, uint256 bptsBurned, uint256 bptsReturned, uint256 liquidityAssetRecoveredFromBurn)

func (*MaplePoolFilterer) FilterDepositDateUpdated

func (_MaplePool *MaplePoolFilterer) FilterDepositDateUpdated(opts *bind.FilterOpts, liquidityProvider []common.Address) (*MaplePoolDepositDateUpdatedIterator, error)

FilterDepositDateUpdated is a free log retrieval operation binding the contract event 0xf9b842c70d79466435b46540bb988aa5c998b3243bf91c36380ddb5887c0f0e4.

Solidity: event DepositDateUpdated(address indexed liquidityProvider, uint256 depositDate)

func (*MaplePoolFilterer) FilterFundsDistributed

func (_MaplePool *MaplePoolFilterer) FilterFundsDistributed(opts *bind.FilterOpts, by []common.Address) (*MaplePoolFundsDistributedIterator, error)

FilterFundsDistributed is a free log retrieval operation binding the contract event 0x26536799ace2c3dbe12e638ec3ade6b4173dcf1289be0a58d51a5003015649bd.

Solidity: event FundsDistributed(address indexed by, uint256 fundsDistributed)

func (*MaplePoolFilterer) FilterFundsWithdrawn

func (_MaplePool *MaplePoolFilterer) FilterFundsWithdrawn(opts *bind.FilterOpts, by []common.Address) (*MaplePoolFundsWithdrawnIterator, error)

FilterFundsWithdrawn is a free log retrieval operation binding the contract event 0xfbc3a599b784fe88772fc5abcc07223f64ca0b13acc341f4fb1e46bef0510eb4.

Solidity: event FundsWithdrawn(address indexed by, uint256 fundsWithdrawn, uint256 totalWithdrawn)

func (*MaplePoolFilterer) FilterLPStatusChanged

func (_MaplePool *MaplePoolFilterer) FilterLPStatusChanged(opts *bind.FilterOpts, liquidityProvider []common.Address) (*MaplePoolLPStatusChangedIterator, error)

FilterLPStatusChanged is a free log retrieval operation binding the contract event 0xdf56132520665b33cd5731c5cfbacd8bee82524e67df563bb25b2be304f91d44.

Solidity: event LPStatusChanged(address indexed liquidityProvider, bool status)

func (*MaplePoolFilterer) FilterLiquidityCapSet

func (_MaplePool *MaplePoolFilterer) FilterLiquidityCapSet(opts *bind.FilterOpts) (*MaplePoolLiquidityCapSetIterator, error)

FilterLiquidityCapSet is a free log retrieval operation binding the contract event 0x3ff20538222f568f27ff436c0c49dfd3e48d5b8f86533a3f759dc1c7089775ab.

Solidity: event LiquidityCapSet(uint256 newLiquidityCap)

func (*MaplePoolFilterer) FilterLoanFunded

func (_MaplePool *MaplePoolFilterer) FilterLoanFunded(opts *bind.FilterOpts, loan []common.Address) (*MaplePoolLoanFundedIterator, error)

FilterLoanFunded is a free log retrieval operation binding the contract event 0xf62badb063ea4b26543119fa0f194f8c19665e8c9d635362e24e7681d6cfb6af.

Solidity: event LoanFunded(address indexed loan, address debtLocker, uint256 amountFunded)

func (*MaplePoolFilterer) FilterLockupPeriodSet

func (_MaplePool *MaplePoolFilterer) FilterLockupPeriodSet(opts *bind.FilterOpts) (*MaplePoolLockupPeriodSetIterator, error)

FilterLockupPeriodSet is a free log retrieval operation binding the contract event 0x3094b4ce0463766c3cd81ed2ae2451610dcac39a1061fa023ca9d3d4df959f75.

Solidity: event LockupPeriodSet(uint256 newLockupPeriod)

func (*MaplePoolFilterer) FilterLossesCorrectionUpdated

func (_MaplePool *MaplePoolFilterer) FilterLossesCorrectionUpdated(opts *bind.FilterOpts, account []common.Address) (*MaplePoolLossesCorrectionUpdatedIterator, error)

FilterLossesCorrectionUpdated is a free log retrieval operation binding the contract event 0xb464de3159e090617503d0166bff9ffeecdefd42cd9dbb49f918df95a80fdea3.

Solidity: event LossesCorrectionUpdated(address indexed account, int256 lossesCorrection)

func (*MaplePoolFilterer) FilterLossesDistributed

func (_MaplePool *MaplePoolFilterer) FilterLossesDistributed(opts *bind.FilterOpts, by []common.Address) (*MaplePoolLossesDistributedIterator, error)

FilterLossesDistributed is a free log retrieval operation binding the contract event 0xf88156a8032a0d2c65df18fafaf84e0bea647b3d94a0f7fc6ab14c97dec2bf74.

Solidity: event LossesDistributed(address indexed by, uint256 lossesDistributed)

func (*MaplePoolFilterer) FilterLossesPerShareUpdated

func (_MaplePool *MaplePoolFilterer) FilterLossesPerShareUpdated(opts *bind.FilterOpts) (*MaplePoolLossesPerShareUpdatedIterator, error)

FilterLossesPerShareUpdated is a free log retrieval operation binding the contract event 0x240ce2b5ce9e9e5a70010c7f8034c233d89b7ce2d60f3a38d9bc3ca01a36f88c.

Solidity: event LossesPerShareUpdated(uint256 lossesPerShare)

func (*MaplePoolFilterer) FilterLossesRecognized

func (_MaplePool *MaplePoolFilterer) FilterLossesRecognized(opts *bind.FilterOpts, by []common.Address) (*MaplePoolLossesRecognizedIterator, error)

FilterLossesRecognized is a free log retrieval operation binding the contract event 0x814eba35782909dbbaeefb8104073dfca45de43173f7077970c1584b3cf918b5.

Solidity: event LossesRecognized(address indexed by, uint256 lossesRecognized, uint256 totalLossesRecognized)

func (*MaplePoolFilterer) FilterPointsCorrectionUpdated

func (_MaplePool *MaplePoolFilterer) FilterPointsCorrectionUpdated(opts *bind.FilterOpts, account []common.Address) (*MaplePoolPointsCorrectionUpdatedIterator, error)

FilterPointsCorrectionUpdated is a free log retrieval operation binding the contract event 0xf694bebd33ada288ae2f4485315db76739e2d5501daf315e71c9d8f841aa7773.

Solidity: event PointsCorrectionUpdated(address indexed account, int256 pointsCorrection)

func (*MaplePoolFilterer) FilterPointsPerShareUpdated

func (_MaplePool *MaplePoolFilterer) FilterPointsPerShareUpdated(opts *bind.FilterOpts) (*MaplePoolPointsPerShareUpdatedIterator, error)

FilterPointsPerShareUpdated is a free log retrieval operation binding the contract event 0x1f8d7705f31c3337a080803a8ad7e71946fb88d84738879be2bf402f97156e96.

Solidity: event PointsPerShareUpdated(uint256 pointsPerShare)

func (*MaplePoolFilterer) FilterPoolAdminSet

func (_MaplePool *MaplePoolFilterer) FilterPoolAdminSet(opts *bind.FilterOpts, poolAdmin []common.Address) (*MaplePoolPoolAdminSetIterator, error)

FilterPoolAdminSet is a free log retrieval operation binding the contract event 0x353578bbc0ab907b7018b0f7b50b5f822d31dc9fcf4c16fffa780e109ca7c930.

Solidity: event PoolAdminSet(address indexed poolAdmin, bool allowed)

func (*MaplePoolFilterer) FilterPoolOpenedToPublic

func (_MaplePool *MaplePoolFilterer) FilterPoolOpenedToPublic(opts *bind.FilterOpts) (*MaplePoolPoolOpenedToPublicIterator, error)

FilterPoolOpenedToPublic is a free log retrieval operation binding the contract event 0xeeba6fd794e30165023f7e3d017e92901622076a95d36e45906955e025ff4fe7.

Solidity: event PoolOpenedToPublic(bool isOpen)

func (*MaplePoolFilterer) FilterPoolStateChanged

func (_MaplePool *MaplePoolFilterer) FilterPoolStateChanged(opts *bind.FilterOpts) (*MaplePoolPoolStateChangedIterator, error)

FilterPoolStateChanged is a free log retrieval operation binding the contract event 0x24b0afb747a8213aea796b9518bfa667de187b83390eda7cc93b8e57f80fcd1a.

Solidity: event PoolStateChanged(uint8 state)

func (*MaplePoolFilterer) FilterStakingFeeSet

func (_MaplePool *MaplePoolFilterer) FilterStakingFeeSet(opts *bind.FilterOpts) (*MaplePoolStakingFeeSetIterator, error)

FilterStakingFeeSet is a free log retrieval operation binding the contract event 0x9408bb8c08d29b335e36090045074610352365476d9df02e203c25db4fcd67c0.

Solidity: event StakingFeeSet(uint256 newStakingFee)

func (*MaplePoolFilterer) FilterTotalCustodyAllowanceUpdated

func (_MaplePool *MaplePoolFilterer) FilterTotalCustodyAllowanceUpdated(opts *bind.FilterOpts, liquidityProvider []common.Address) (*MaplePoolTotalCustodyAllowanceUpdatedIterator, error)

FilterTotalCustodyAllowanceUpdated is a free log retrieval operation binding the contract event 0xe7f3fb4dacbff434e6d283d891f199c48b05b1629f610bd7ddc62353e162fb16.

Solidity: event TotalCustodyAllowanceUpdated(address indexed liquidityProvider, uint256 newTotalAllowance)

func (*MaplePoolFilterer) FilterTransfer

func (_MaplePool *MaplePoolFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MaplePoolTransferIterator, 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 (*MaplePoolFilterer) ParseApproval

func (_MaplePool *MaplePoolFilterer) ParseApproval(log types.Log) (*MaplePoolApproval, error)

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

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

func (*MaplePoolFilterer) ParseBalanceUpdated

func (_MaplePool *MaplePoolFilterer) ParseBalanceUpdated(log types.Log) (*MaplePoolBalanceUpdated, error)

ParseBalanceUpdated is a log parse operation binding the contract event 0x2047d1633ff7768462ae07d28cb16e484203bfd6d85ce832494270ebcd9081a2.

Solidity: event BalanceUpdated(address indexed liquidityProvider, address indexed token, uint256 balance)

func (*MaplePoolFilterer) ParseClaim

func (_MaplePool *MaplePoolFilterer) ParseClaim(log types.Log) (*MaplePoolClaim, error)

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

Solidity: event Claim(address indexed loan, uint256 interest, uint256 principal, uint256 fee, uint256 stakeLockerPortion, uint256 poolDelegatePortion)

func (*MaplePoolFilterer) ParseCooldown

func (_MaplePool *MaplePoolFilterer) ParseCooldown(log types.Log) (*MaplePoolCooldown, error)

ParseCooldown is a log parse operation binding the contract event 0x8a05f911d8ab7fc50fec37ef4ba7f9bfcb1a3c191c81dcd824ad0946c4e20d65.

Solidity: event Cooldown(address indexed liquidityProvider, uint256 cooldown)

func (*MaplePoolFilterer) ParseCustodyAllowanceChanged

func (_MaplePool *MaplePoolFilterer) ParseCustodyAllowanceChanged(log types.Log) (*MaplePoolCustodyAllowanceChanged, error)

ParseCustodyAllowanceChanged is a log parse operation binding the contract event 0x847e03d69a7075471d42285f4ac63570c10f3012d8bf736d66de2eef17aac3e8.

Solidity: event CustodyAllowanceChanged(address indexed liquidityProvider, address indexed custodian, uint256 oldAllowance, uint256 newAllowance)

func (*MaplePoolFilterer) ParseCustodyTransfer

func (_MaplePool *MaplePoolFilterer) ParseCustodyTransfer(log types.Log) (*MaplePoolCustodyTransfer, error)

ParseCustodyTransfer is a log parse operation binding the contract event 0xfaa022ea2cd7f14157070896fabadafe96cc4d4714eef7ae6a992a5084493ed5.

Solidity: event CustodyTransfer(address indexed custodian, address indexed from, address indexed to, uint256 amount)

func (*MaplePoolFilterer) ParseDefaultSuffered

func (_MaplePool *MaplePoolFilterer) ParseDefaultSuffered(log types.Log) (*MaplePoolDefaultSuffered, error)

ParseDefaultSuffered is a log parse operation binding the contract event 0xd393d18014c1898545668c52621bced9493753be5b8138f2539542ca606732eb.

Solidity: event DefaultSuffered(address indexed loan, uint256 defaultSuffered, uint256 bptsBurned, uint256 bptsReturned, uint256 liquidityAssetRecoveredFromBurn)

func (*MaplePoolFilterer) ParseDepositDateUpdated

func (_MaplePool *MaplePoolFilterer) ParseDepositDateUpdated(log types.Log) (*MaplePoolDepositDateUpdated, error)

ParseDepositDateUpdated is a log parse operation binding the contract event 0xf9b842c70d79466435b46540bb988aa5c998b3243bf91c36380ddb5887c0f0e4.

Solidity: event DepositDateUpdated(address indexed liquidityProvider, uint256 depositDate)

func (*MaplePoolFilterer) ParseFundsDistributed

func (_MaplePool *MaplePoolFilterer) ParseFundsDistributed(log types.Log) (*MaplePoolFundsDistributed, error)

ParseFundsDistributed is a log parse operation binding the contract event 0x26536799ace2c3dbe12e638ec3ade6b4173dcf1289be0a58d51a5003015649bd.

Solidity: event FundsDistributed(address indexed by, uint256 fundsDistributed)

func (*MaplePoolFilterer) ParseFundsWithdrawn

func (_MaplePool *MaplePoolFilterer) ParseFundsWithdrawn(log types.Log) (*MaplePoolFundsWithdrawn, error)

ParseFundsWithdrawn is a log parse operation binding the contract event 0xfbc3a599b784fe88772fc5abcc07223f64ca0b13acc341f4fb1e46bef0510eb4.

Solidity: event FundsWithdrawn(address indexed by, uint256 fundsWithdrawn, uint256 totalWithdrawn)

func (*MaplePoolFilterer) ParseLPStatusChanged

func (_MaplePool *MaplePoolFilterer) ParseLPStatusChanged(log types.Log) (*MaplePoolLPStatusChanged, error)

ParseLPStatusChanged is a log parse operation binding the contract event 0xdf56132520665b33cd5731c5cfbacd8bee82524e67df563bb25b2be304f91d44.

Solidity: event LPStatusChanged(address indexed liquidityProvider, bool status)

func (*MaplePoolFilterer) ParseLiquidityCapSet

func (_MaplePool *MaplePoolFilterer) ParseLiquidityCapSet(log types.Log) (*MaplePoolLiquidityCapSet, error)

ParseLiquidityCapSet is a log parse operation binding the contract event 0x3ff20538222f568f27ff436c0c49dfd3e48d5b8f86533a3f759dc1c7089775ab.

Solidity: event LiquidityCapSet(uint256 newLiquidityCap)

func (*MaplePoolFilterer) ParseLoanFunded

func (_MaplePool *MaplePoolFilterer) ParseLoanFunded(log types.Log) (*MaplePoolLoanFunded, error)

ParseLoanFunded is a log parse operation binding the contract event 0xf62badb063ea4b26543119fa0f194f8c19665e8c9d635362e24e7681d6cfb6af.

Solidity: event LoanFunded(address indexed loan, address debtLocker, uint256 amountFunded)

func (*MaplePoolFilterer) ParseLockupPeriodSet

func (_MaplePool *MaplePoolFilterer) ParseLockupPeriodSet(log types.Log) (*MaplePoolLockupPeriodSet, error)

ParseLockupPeriodSet is a log parse operation binding the contract event 0x3094b4ce0463766c3cd81ed2ae2451610dcac39a1061fa023ca9d3d4df959f75.

Solidity: event LockupPeriodSet(uint256 newLockupPeriod)

func (*MaplePoolFilterer) ParseLossesCorrectionUpdated

func (_MaplePool *MaplePoolFilterer) ParseLossesCorrectionUpdated(log types.Log) (*MaplePoolLossesCorrectionUpdated, error)

ParseLossesCorrectionUpdated is a log parse operation binding the contract event 0xb464de3159e090617503d0166bff9ffeecdefd42cd9dbb49f918df95a80fdea3.

Solidity: event LossesCorrectionUpdated(address indexed account, int256 lossesCorrection)

func (*MaplePoolFilterer) ParseLossesDistributed

func (_MaplePool *MaplePoolFilterer) ParseLossesDistributed(log types.Log) (*MaplePoolLossesDistributed, error)

ParseLossesDistributed is a log parse operation binding the contract event 0xf88156a8032a0d2c65df18fafaf84e0bea647b3d94a0f7fc6ab14c97dec2bf74.

Solidity: event LossesDistributed(address indexed by, uint256 lossesDistributed)

func (*MaplePoolFilterer) ParseLossesPerShareUpdated

func (_MaplePool *MaplePoolFilterer) ParseLossesPerShareUpdated(log types.Log) (*MaplePoolLossesPerShareUpdated, error)

ParseLossesPerShareUpdated is a log parse operation binding the contract event 0x240ce2b5ce9e9e5a70010c7f8034c233d89b7ce2d60f3a38d9bc3ca01a36f88c.

Solidity: event LossesPerShareUpdated(uint256 lossesPerShare)

func (*MaplePoolFilterer) ParseLossesRecognized

func (_MaplePool *MaplePoolFilterer) ParseLossesRecognized(log types.Log) (*MaplePoolLossesRecognized, error)

ParseLossesRecognized is a log parse operation binding the contract event 0x814eba35782909dbbaeefb8104073dfca45de43173f7077970c1584b3cf918b5.

Solidity: event LossesRecognized(address indexed by, uint256 lossesRecognized, uint256 totalLossesRecognized)

func (*MaplePoolFilterer) ParsePointsCorrectionUpdated

func (_MaplePool *MaplePoolFilterer) ParsePointsCorrectionUpdated(log types.Log) (*MaplePoolPointsCorrectionUpdated, error)

ParsePointsCorrectionUpdated is a log parse operation binding the contract event 0xf694bebd33ada288ae2f4485315db76739e2d5501daf315e71c9d8f841aa7773.

Solidity: event PointsCorrectionUpdated(address indexed account, int256 pointsCorrection)

func (*MaplePoolFilterer) ParsePointsPerShareUpdated

func (_MaplePool *MaplePoolFilterer) ParsePointsPerShareUpdated(log types.Log) (*MaplePoolPointsPerShareUpdated, error)

ParsePointsPerShareUpdated is a log parse operation binding the contract event 0x1f8d7705f31c3337a080803a8ad7e71946fb88d84738879be2bf402f97156e96.

Solidity: event PointsPerShareUpdated(uint256 pointsPerShare)

func (*MaplePoolFilterer) ParsePoolAdminSet

func (_MaplePool *MaplePoolFilterer) ParsePoolAdminSet(log types.Log) (*MaplePoolPoolAdminSet, error)

ParsePoolAdminSet is a log parse operation binding the contract event 0x353578bbc0ab907b7018b0f7b50b5f822d31dc9fcf4c16fffa780e109ca7c930.

Solidity: event PoolAdminSet(address indexed poolAdmin, bool allowed)

func (*MaplePoolFilterer) ParsePoolOpenedToPublic

func (_MaplePool *MaplePoolFilterer) ParsePoolOpenedToPublic(log types.Log) (*MaplePoolPoolOpenedToPublic, error)

ParsePoolOpenedToPublic is a log parse operation binding the contract event 0xeeba6fd794e30165023f7e3d017e92901622076a95d36e45906955e025ff4fe7.

Solidity: event PoolOpenedToPublic(bool isOpen)

func (*MaplePoolFilterer) ParsePoolStateChanged

func (_MaplePool *MaplePoolFilterer) ParsePoolStateChanged(log types.Log) (*MaplePoolPoolStateChanged, error)

ParsePoolStateChanged is a log parse operation binding the contract event 0x24b0afb747a8213aea796b9518bfa667de187b83390eda7cc93b8e57f80fcd1a.

Solidity: event PoolStateChanged(uint8 state)

func (*MaplePoolFilterer) ParseStakingFeeSet

func (_MaplePool *MaplePoolFilterer) ParseStakingFeeSet(log types.Log) (*MaplePoolStakingFeeSet, error)

ParseStakingFeeSet is a log parse operation binding the contract event 0x9408bb8c08d29b335e36090045074610352365476d9df02e203c25db4fcd67c0.

Solidity: event StakingFeeSet(uint256 newStakingFee)

func (*MaplePoolFilterer) ParseTotalCustodyAllowanceUpdated

func (_MaplePool *MaplePoolFilterer) ParseTotalCustodyAllowanceUpdated(log types.Log) (*MaplePoolTotalCustodyAllowanceUpdated, error)

ParseTotalCustodyAllowanceUpdated is a log parse operation binding the contract event 0xe7f3fb4dacbff434e6d283d891f199c48b05b1629f610bd7ddc62353e162fb16.

Solidity: event TotalCustodyAllowanceUpdated(address indexed liquidityProvider, uint256 newTotalAllowance)

func (*MaplePoolFilterer) ParseTransfer

func (_MaplePool *MaplePoolFilterer) ParseTransfer(log types.Log) (*MaplePoolTransfer, error)

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

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

func (*MaplePoolFilterer) WatchApproval

func (_MaplePool *MaplePoolFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MaplePoolApproval, 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 (*MaplePoolFilterer) WatchBalanceUpdated

func (_MaplePool *MaplePoolFilterer) WatchBalanceUpdated(opts *bind.WatchOpts, sink chan<- *MaplePoolBalanceUpdated, liquidityProvider []common.Address, token []common.Address) (event.Subscription, error)

WatchBalanceUpdated is a free log subscription operation binding the contract event 0x2047d1633ff7768462ae07d28cb16e484203bfd6d85ce832494270ebcd9081a2.

Solidity: event BalanceUpdated(address indexed liquidityProvider, address indexed token, uint256 balance)

func (*MaplePoolFilterer) WatchClaim

func (_MaplePool *MaplePoolFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *MaplePoolClaim, loan []common.Address) (event.Subscription, error)

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

Solidity: event Claim(address indexed loan, uint256 interest, uint256 principal, uint256 fee, uint256 stakeLockerPortion, uint256 poolDelegatePortion)

func (*MaplePoolFilterer) WatchCooldown

func (_MaplePool *MaplePoolFilterer) WatchCooldown(opts *bind.WatchOpts, sink chan<- *MaplePoolCooldown, liquidityProvider []common.Address) (event.Subscription, error)

WatchCooldown is a free log subscription operation binding the contract event 0x8a05f911d8ab7fc50fec37ef4ba7f9bfcb1a3c191c81dcd824ad0946c4e20d65.

Solidity: event Cooldown(address indexed liquidityProvider, uint256 cooldown)

func (*MaplePoolFilterer) WatchCustodyAllowanceChanged

func (_MaplePool *MaplePoolFilterer) WatchCustodyAllowanceChanged(opts *bind.WatchOpts, sink chan<- *MaplePoolCustodyAllowanceChanged, liquidityProvider []common.Address, custodian []common.Address) (event.Subscription, error)

WatchCustodyAllowanceChanged is a free log subscription operation binding the contract event 0x847e03d69a7075471d42285f4ac63570c10f3012d8bf736d66de2eef17aac3e8.

Solidity: event CustodyAllowanceChanged(address indexed liquidityProvider, address indexed custodian, uint256 oldAllowance, uint256 newAllowance)

func (*MaplePoolFilterer) WatchCustodyTransfer

func (_MaplePool *MaplePoolFilterer) WatchCustodyTransfer(opts *bind.WatchOpts, sink chan<- *MaplePoolCustodyTransfer, custodian []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchCustodyTransfer is a free log subscription operation binding the contract event 0xfaa022ea2cd7f14157070896fabadafe96cc4d4714eef7ae6a992a5084493ed5.

Solidity: event CustodyTransfer(address indexed custodian, address indexed from, address indexed to, uint256 amount)

func (*MaplePoolFilterer) WatchDefaultSuffered

func (_MaplePool *MaplePoolFilterer) WatchDefaultSuffered(opts *bind.WatchOpts, sink chan<- *MaplePoolDefaultSuffered, loan []common.Address) (event.Subscription, error)

WatchDefaultSuffered is a free log subscription operation binding the contract event 0xd393d18014c1898545668c52621bced9493753be5b8138f2539542ca606732eb.

Solidity: event DefaultSuffered(address indexed loan, uint256 defaultSuffered, uint256 bptsBurned, uint256 bptsReturned, uint256 liquidityAssetRecoveredFromBurn)

func (*MaplePoolFilterer) WatchDepositDateUpdated

func (_MaplePool *MaplePoolFilterer) WatchDepositDateUpdated(opts *bind.WatchOpts, sink chan<- *MaplePoolDepositDateUpdated, liquidityProvider []common.Address) (event.Subscription, error)

WatchDepositDateUpdated is a free log subscription operation binding the contract event 0xf9b842c70d79466435b46540bb988aa5c998b3243bf91c36380ddb5887c0f0e4.

Solidity: event DepositDateUpdated(address indexed liquidityProvider, uint256 depositDate)

func (*MaplePoolFilterer) WatchFundsDistributed

func (_MaplePool *MaplePoolFilterer) WatchFundsDistributed(opts *bind.WatchOpts, sink chan<- *MaplePoolFundsDistributed, by []common.Address) (event.Subscription, error)

WatchFundsDistributed is a free log subscription operation binding the contract event 0x26536799ace2c3dbe12e638ec3ade6b4173dcf1289be0a58d51a5003015649bd.

Solidity: event FundsDistributed(address indexed by, uint256 fundsDistributed)

func (*MaplePoolFilterer) WatchFundsWithdrawn

func (_MaplePool *MaplePoolFilterer) WatchFundsWithdrawn(opts *bind.WatchOpts, sink chan<- *MaplePoolFundsWithdrawn, by []common.Address) (event.Subscription, error)

WatchFundsWithdrawn is a free log subscription operation binding the contract event 0xfbc3a599b784fe88772fc5abcc07223f64ca0b13acc341f4fb1e46bef0510eb4.

Solidity: event FundsWithdrawn(address indexed by, uint256 fundsWithdrawn, uint256 totalWithdrawn)

func (*MaplePoolFilterer) WatchLPStatusChanged

func (_MaplePool *MaplePoolFilterer) WatchLPStatusChanged(opts *bind.WatchOpts, sink chan<- *MaplePoolLPStatusChanged, liquidityProvider []common.Address) (event.Subscription, error)

WatchLPStatusChanged is a free log subscription operation binding the contract event 0xdf56132520665b33cd5731c5cfbacd8bee82524e67df563bb25b2be304f91d44.

Solidity: event LPStatusChanged(address indexed liquidityProvider, bool status)

func (*MaplePoolFilterer) WatchLiquidityCapSet

func (_MaplePool *MaplePoolFilterer) WatchLiquidityCapSet(opts *bind.WatchOpts, sink chan<- *MaplePoolLiquidityCapSet) (event.Subscription, error)

WatchLiquidityCapSet is a free log subscription operation binding the contract event 0x3ff20538222f568f27ff436c0c49dfd3e48d5b8f86533a3f759dc1c7089775ab.

Solidity: event LiquidityCapSet(uint256 newLiquidityCap)

func (*MaplePoolFilterer) WatchLoanFunded

func (_MaplePool *MaplePoolFilterer) WatchLoanFunded(opts *bind.WatchOpts, sink chan<- *MaplePoolLoanFunded, loan []common.Address) (event.Subscription, error)

WatchLoanFunded is a free log subscription operation binding the contract event 0xf62badb063ea4b26543119fa0f194f8c19665e8c9d635362e24e7681d6cfb6af.

Solidity: event LoanFunded(address indexed loan, address debtLocker, uint256 amountFunded)

func (*MaplePoolFilterer) WatchLockupPeriodSet

func (_MaplePool *MaplePoolFilterer) WatchLockupPeriodSet(opts *bind.WatchOpts, sink chan<- *MaplePoolLockupPeriodSet) (event.Subscription, error)

WatchLockupPeriodSet is a free log subscription operation binding the contract event 0x3094b4ce0463766c3cd81ed2ae2451610dcac39a1061fa023ca9d3d4df959f75.

Solidity: event LockupPeriodSet(uint256 newLockupPeriod)

func (*MaplePoolFilterer) WatchLossesCorrectionUpdated

func (_MaplePool *MaplePoolFilterer) WatchLossesCorrectionUpdated(opts *bind.WatchOpts, sink chan<- *MaplePoolLossesCorrectionUpdated, account []common.Address) (event.Subscription, error)

WatchLossesCorrectionUpdated is a free log subscription operation binding the contract event 0xb464de3159e090617503d0166bff9ffeecdefd42cd9dbb49f918df95a80fdea3.

Solidity: event LossesCorrectionUpdated(address indexed account, int256 lossesCorrection)

func (*MaplePoolFilterer) WatchLossesDistributed

func (_MaplePool *MaplePoolFilterer) WatchLossesDistributed(opts *bind.WatchOpts, sink chan<- *MaplePoolLossesDistributed, by []common.Address) (event.Subscription, error)

WatchLossesDistributed is a free log subscription operation binding the contract event 0xf88156a8032a0d2c65df18fafaf84e0bea647b3d94a0f7fc6ab14c97dec2bf74.

Solidity: event LossesDistributed(address indexed by, uint256 lossesDistributed)

func (*MaplePoolFilterer) WatchLossesPerShareUpdated

func (_MaplePool *MaplePoolFilterer) WatchLossesPerShareUpdated(opts *bind.WatchOpts, sink chan<- *MaplePoolLossesPerShareUpdated) (event.Subscription, error)

WatchLossesPerShareUpdated is a free log subscription operation binding the contract event 0x240ce2b5ce9e9e5a70010c7f8034c233d89b7ce2d60f3a38d9bc3ca01a36f88c.

Solidity: event LossesPerShareUpdated(uint256 lossesPerShare)

func (*MaplePoolFilterer) WatchLossesRecognized

func (_MaplePool *MaplePoolFilterer) WatchLossesRecognized(opts *bind.WatchOpts, sink chan<- *MaplePoolLossesRecognized, by []common.Address) (event.Subscription, error)

WatchLossesRecognized is a free log subscription operation binding the contract event 0x814eba35782909dbbaeefb8104073dfca45de43173f7077970c1584b3cf918b5.

Solidity: event LossesRecognized(address indexed by, uint256 lossesRecognized, uint256 totalLossesRecognized)

func (*MaplePoolFilterer) WatchPointsCorrectionUpdated

func (_MaplePool *MaplePoolFilterer) WatchPointsCorrectionUpdated(opts *bind.WatchOpts, sink chan<- *MaplePoolPointsCorrectionUpdated, account []common.Address) (event.Subscription, error)

WatchPointsCorrectionUpdated is a free log subscription operation binding the contract event 0xf694bebd33ada288ae2f4485315db76739e2d5501daf315e71c9d8f841aa7773.

Solidity: event PointsCorrectionUpdated(address indexed account, int256 pointsCorrection)

func (*MaplePoolFilterer) WatchPointsPerShareUpdated

func (_MaplePool *MaplePoolFilterer) WatchPointsPerShareUpdated(opts *bind.WatchOpts, sink chan<- *MaplePoolPointsPerShareUpdated) (event.Subscription, error)

WatchPointsPerShareUpdated is a free log subscription operation binding the contract event 0x1f8d7705f31c3337a080803a8ad7e71946fb88d84738879be2bf402f97156e96.

Solidity: event PointsPerShareUpdated(uint256 pointsPerShare)

func (*MaplePoolFilterer) WatchPoolAdminSet

func (_MaplePool *MaplePoolFilterer) WatchPoolAdminSet(opts *bind.WatchOpts, sink chan<- *MaplePoolPoolAdminSet, poolAdmin []common.Address) (event.Subscription, error)

WatchPoolAdminSet is a free log subscription operation binding the contract event 0x353578bbc0ab907b7018b0f7b50b5f822d31dc9fcf4c16fffa780e109ca7c930.

Solidity: event PoolAdminSet(address indexed poolAdmin, bool allowed)

func (*MaplePoolFilterer) WatchPoolOpenedToPublic

func (_MaplePool *MaplePoolFilterer) WatchPoolOpenedToPublic(opts *bind.WatchOpts, sink chan<- *MaplePoolPoolOpenedToPublic) (event.Subscription, error)

WatchPoolOpenedToPublic is a free log subscription operation binding the contract event 0xeeba6fd794e30165023f7e3d017e92901622076a95d36e45906955e025ff4fe7.

Solidity: event PoolOpenedToPublic(bool isOpen)

func (*MaplePoolFilterer) WatchPoolStateChanged

func (_MaplePool *MaplePoolFilterer) WatchPoolStateChanged(opts *bind.WatchOpts, sink chan<- *MaplePoolPoolStateChanged) (event.Subscription, error)

WatchPoolStateChanged is a free log subscription operation binding the contract event 0x24b0afb747a8213aea796b9518bfa667de187b83390eda7cc93b8e57f80fcd1a.

Solidity: event PoolStateChanged(uint8 state)

func (*MaplePoolFilterer) WatchStakingFeeSet

func (_MaplePool *MaplePoolFilterer) WatchStakingFeeSet(opts *bind.WatchOpts, sink chan<- *MaplePoolStakingFeeSet) (event.Subscription, error)

WatchStakingFeeSet is a free log subscription operation binding the contract event 0x9408bb8c08d29b335e36090045074610352365476d9df02e203c25db4fcd67c0.

Solidity: event StakingFeeSet(uint256 newStakingFee)

func (*MaplePoolFilterer) WatchTotalCustodyAllowanceUpdated

func (_MaplePool *MaplePoolFilterer) WatchTotalCustodyAllowanceUpdated(opts *bind.WatchOpts, sink chan<- *MaplePoolTotalCustodyAllowanceUpdated, liquidityProvider []common.Address) (event.Subscription, error)

WatchTotalCustodyAllowanceUpdated is a free log subscription operation binding the contract event 0xe7f3fb4dacbff434e6d283d891f199c48b05b1629f610bd7ddc62353e162fb16.

Solidity: event TotalCustodyAllowanceUpdated(address indexed liquidityProvider, uint256 newTotalAllowance)

func (*MaplePoolFilterer) WatchTransfer

func (_MaplePool *MaplePoolFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MaplePoolTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type MaplePoolFundsDistributed

type MaplePoolFundsDistributed struct {
	By               common.Address
	FundsDistributed *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

MaplePoolFundsDistributed represents a FundsDistributed event raised by the MaplePool contract.

type MaplePoolFundsDistributedIterator

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

MaplePoolFundsDistributedIterator is returned from FilterFundsDistributed and is used to iterate over the raw logs and unpacked data for FundsDistributed events raised by the MaplePool contract.

func (*MaplePoolFundsDistributedIterator) Close

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

func (*MaplePoolFundsDistributedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolFundsDistributedIterator) 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 MaplePoolFundsWithdrawn

type MaplePoolFundsWithdrawn struct {
	By             common.Address
	FundsWithdrawn *big.Int
	TotalWithdrawn *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

MaplePoolFundsWithdrawn represents a FundsWithdrawn event raised by the MaplePool contract.

type MaplePoolFundsWithdrawnIterator

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

MaplePoolFundsWithdrawnIterator is returned from FilterFundsWithdrawn and is used to iterate over the raw logs and unpacked data for FundsWithdrawn events raised by the MaplePool contract.

func (*MaplePoolFundsWithdrawnIterator) Close

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

func (*MaplePoolFundsWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolFundsWithdrawnIterator) 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 MaplePoolLPStatusChanged

type MaplePoolLPStatusChanged struct {
	LiquidityProvider common.Address
	Status            bool
	Raw               types.Log // Blockchain specific contextual infos
}

MaplePoolLPStatusChanged represents a LPStatusChanged event raised by the MaplePool contract.

type MaplePoolLPStatusChangedIterator

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

MaplePoolLPStatusChangedIterator is returned from FilterLPStatusChanged and is used to iterate over the raw logs and unpacked data for LPStatusChanged events raised by the MaplePool contract.

func (*MaplePoolLPStatusChangedIterator) Close

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

func (*MaplePoolLPStatusChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolLPStatusChangedIterator) 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 MaplePoolLiquidityCapSet

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

MaplePoolLiquidityCapSet represents a LiquidityCapSet event raised by the MaplePool contract.

type MaplePoolLiquidityCapSetIterator

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

MaplePoolLiquidityCapSetIterator is returned from FilterLiquidityCapSet and is used to iterate over the raw logs and unpacked data for LiquidityCapSet events raised by the MaplePool contract.

func (*MaplePoolLiquidityCapSetIterator) Close

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

func (*MaplePoolLiquidityCapSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolLiquidityCapSetIterator) 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 MaplePoolLoanFunded

type MaplePoolLoanFunded struct {
	Loan         common.Address
	DebtLocker   common.Address
	AmountFunded *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

MaplePoolLoanFunded represents a LoanFunded event raised by the MaplePool contract.

type MaplePoolLoanFundedIterator

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

MaplePoolLoanFundedIterator is returned from FilterLoanFunded and is used to iterate over the raw logs and unpacked data for LoanFunded events raised by the MaplePool contract.

func (*MaplePoolLoanFundedIterator) Close

func (it *MaplePoolLoanFundedIterator) Close() error

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

func (*MaplePoolLoanFundedIterator) Error

func (it *MaplePoolLoanFundedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolLoanFundedIterator) Next

func (it *MaplePoolLoanFundedIterator) 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 MaplePoolLockupPeriodSet

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

MaplePoolLockupPeriodSet represents a LockupPeriodSet event raised by the MaplePool contract.

type MaplePoolLockupPeriodSetIterator

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

MaplePoolLockupPeriodSetIterator is returned from FilterLockupPeriodSet and is used to iterate over the raw logs and unpacked data for LockupPeriodSet events raised by the MaplePool contract.

func (*MaplePoolLockupPeriodSetIterator) Close

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

func (*MaplePoolLockupPeriodSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolLockupPeriodSetIterator) 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 MaplePoolLossesCorrectionUpdated

type MaplePoolLossesCorrectionUpdated struct {
	Account          common.Address
	LossesCorrection *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

MaplePoolLossesCorrectionUpdated represents a LossesCorrectionUpdated event raised by the MaplePool contract.

type MaplePoolLossesCorrectionUpdatedIterator

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

MaplePoolLossesCorrectionUpdatedIterator is returned from FilterLossesCorrectionUpdated and is used to iterate over the raw logs and unpacked data for LossesCorrectionUpdated events raised by the MaplePool contract.

func (*MaplePoolLossesCorrectionUpdatedIterator) Close

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

func (*MaplePoolLossesCorrectionUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolLossesCorrectionUpdatedIterator) 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 MaplePoolLossesDistributed

type MaplePoolLossesDistributed struct {
	By                common.Address
	LossesDistributed *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

MaplePoolLossesDistributed represents a LossesDistributed event raised by the MaplePool contract.

type MaplePoolLossesDistributedIterator

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

MaplePoolLossesDistributedIterator is returned from FilterLossesDistributed and is used to iterate over the raw logs and unpacked data for LossesDistributed events raised by the MaplePool contract.

func (*MaplePoolLossesDistributedIterator) Close

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

func (*MaplePoolLossesDistributedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolLossesDistributedIterator) 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 MaplePoolLossesPerShareUpdated

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

MaplePoolLossesPerShareUpdated represents a LossesPerShareUpdated event raised by the MaplePool contract.

type MaplePoolLossesPerShareUpdatedIterator

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

MaplePoolLossesPerShareUpdatedIterator is returned from FilterLossesPerShareUpdated and is used to iterate over the raw logs and unpacked data for LossesPerShareUpdated events raised by the MaplePool contract.

func (*MaplePoolLossesPerShareUpdatedIterator) Close

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

func (*MaplePoolLossesPerShareUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolLossesPerShareUpdatedIterator) 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 MaplePoolLossesRecognized

type MaplePoolLossesRecognized struct {
	By                    common.Address
	LossesRecognized      *big.Int
	TotalLossesRecognized *big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

MaplePoolLossesRecognized represents a LossesRecognized event raised by the MaplePool contract.

type MaplePoolLossesRecognizedIterator

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

MaplePoolLossesRecognizedIterator is returned from FilterLossesRecognized and is used to iterate over the raw logs and unpacked data for LossesRecognized events raised by the MaplePool contract.

func (*MaplePoolLossesRecognizedIterator) Close

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

func (*MaplePoolLossesRecognizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolLossesRecognizedIterator) 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 MaplePoolPointsCorrectionUpdated

type MaplePoolPointsCorrectionUpdated struct {
	Account          common.Address
	PointsCorrection *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

MaplePoolPointsCorrectionUpdated represents a PointsCorrectionUpdated event raised by the MaplePool contract.

type MaplePoolPointsCorrectionUpdatedIterator

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

MaplePoolPointsCorrectionUpdatedIterator is returned from FilterPointsCorrectionUpdated and is used to iterate over the raw logs and unpacked data for PointsCorrectionUpdated events raised by the MaplePool contract.

func (*MaplePoolPointsCorrectionUpdatedIterator) Close

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

func (*MaplePoolPointsCorrectionUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolPointsCorrectionUpdatedIterator) 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 MaplePoolPointsPerShareUpdated

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

MaplePoolPointsPerShareUpdated represents a PointsPerShareUpdated event raised by the MaplePool contract.

type MaplePoolPointsPerShareUpdatedIterator

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

MaplePoolPointsPerShareUpdatedIterator is returned from FilterPointsPerShareUpdated and is used to iterate over the raw logs and unpacked data for PointsPerShareUpdated events raised by the MaplePool contract.

func (*MaplePoolPointsPerShareUpdatedIterator) Close

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

func (*MaplePoolPointsPerShareUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolPointsPerShareUpdatedIterator) 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 MaplePoolPoolAdminSet

type MaplePoolPoolAdminSet struct {
	PoolAdmin common.Address
	Allowed   bool
	Raw       types.Log // Blockchain specific contextual infos
}

MaplePoolPoolAdminSet represents a PoolAdminSet event raised by the MaplePool contract.

type MaplePoolPoolAdminSetIterator

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

MaplePoolPoolAdminSetIterator is returned from FilterPoolAdminSet and is used to iterate over the raw logs and unpacked data for PoolAdminSet events raised by the MaplePool contract.

func (*MaplePoolPoolAdminSetIterator) Close

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

func (*MaplePoolPoolAdminSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolPoolAdminSetIterator) 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 MaplePoolPoolOpenedToPublic

type MaplePoolPoolOpenedToPublic struct {
	IsOpen bool
	Raw    types.Log // Blockchain specific contextual infos
}

MaplePoolPoolOpenedToPublic represents a PoolOpenedToPublic event raised by the MaplePool contract.

type MaplePoolPoolOpenedToPublicIterator

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

MaplePoolPoolOpenedToPublicIterator is returned from FilterPoolOpenedToPublic and is used to iterate over the raw logs and unpacked data for PoolOpenedToPublic events raised by the MaplePool contract.

func (*MaplePoolPoolOpenedToPublicIterator) Close

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

func (*MaplePoolPoolOpenedToPublicIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolPoolOpenedToPublicIterator) 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 MaplePoolPoolStateChanged

type MaplePoolPoolStateChanged struct {
	State uint8
	Raw   types.Log // Blockchain specific contextual infos
}

MaplePoolPoolStateChanged represents a PoolStateChanged event raised by the MaplePool contract.

type MaplePoolPoolStateChangedIterator

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

MaplePoolPoolStateChangedIterator is returned from FilterPoolStateChanged and is used to iterate over the raw logs and unpacked data for PoolStateChanged events raised by the MaplePool contract.

func (*MaplePoolPoolStateChangedIterator) Close

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

func (*MaplePoolPoolStateChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolPoolStateChangedIterator) 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 MaplePoolRaw

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

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

func (*MaplePoolRaw) Call

func (_MaplePool *MaplePoolRaw) 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 (*MaplePoolRaw) Transact

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

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

func (*MaplePoolRaw) Transfer

func (_MaplePool *MaplePoolRaw) 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 MaplePoolSession

type MaplePoolSession struct {
	Contract     *MaplePool        // 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
}

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

func (*MaplePoolSession) AccumulativeFundsOf

func (_MaplePool *MaplePoolSession) AccumulativeFundsOf(_owner common.Address) (*big.Int, error)

AccumulativeFundsOf is a free data retrieval call binding the contract method 0x4e97415f.

Solidity: function accumulativeFundsOf(address _owner) view returns(uint256)

func (*MaplePoolSession) AccumulativeLossesOf

func (_MaplePool *MaplePoolSession) AccumulativeLossesOf(_owner common.Address) (*big.Int, error)

AccumulativeLossesOf is a free data retrieval call binding the contract method 0x40bde098.

Solidity: function accumulativeLossesOf(address _owner) view returns(uint256)

func (*MaplePoolSession) Allowance

func (_MaplePool *MaplePoolSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*MaplePoolSession) AllowedLiquidityProviders

func (_MaplePool *MaplePoolSession) AllowedLiquidityProviders(arg0 common.Address) (bool, error)

AllowedLiquidityProviders is a free data retrieval call binding the contract method 0xc59e3959.

Solidity: function allowedLiquidityProviders(address ) view returns(bool)

func (*MaplePoolSession) Approve

func (_MaplePool *MaplePoolSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*MaplePoolSession) BPTVal

func (_MaplePool *MaplePoolSession) BPTVal(_bPool common.Address, _liquidityAsset common.Address, _staker common.Address, _stakeLocker common.Address) (*big.Int, error)

BPTVal is a free data retrieval call binding the contract method 0x681cb10a.

Solidity: function BPTVal(address _bPool, address _liquidityAsset, address _staker, address _stakeLocker) view returns(uint256)

func (*MaplePoolSession) BalanceOf

func (_MaplePool *MaplePoolSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*MaplePoolSession) CancelWithdraw

func (_MaplePool *MaplePoolSession) CancelWithdraw() (*types.Transaction, error)

CancelWithdraw is a paid mutator transaction binding the contract method 0x84b76824.

Solidity: function cancelWithdraw() returns()

func (*MaplePoolSession) Claim

func (_MaplePool *MaplePoolSession) Claim(loan common.Address, dlFactory common.Address) (*types.Transaction, error)

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

Solidity: function claim(address loan, address dlFactory) returns(uint256[7] claimInfo)

func (*MaplePoolSession) CustodyAllowance

func (_MaplePool *MaplePoolSession) CustodyAllowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

CustodyAllowance is a free data retrieval call binding the contract method 0xc965b548.

Solidity: function custodyAllowance(address , address ) view returns(uint256)

func (*MaplePoolSession) DLFACTORY

func (_MaplePool *MaplePoolSession) DLFACTORY() (uint8, error)

DLFACTORY is a free data retrieval call binding the contract method 0x174a5be4.

Solidity: function DL_FACTORY() view returns(uint8)

func (*MaplePoolSession) Deactivate

func (_MaplePool *MaplePoolSession) Deactivate() (*types.Transaction, error)

Deactivate is a paid mutator transaction binding the contract method 0x51b42b00.

Solidity: function deactivate() returns()

func (*MaplePoolSession) DebtLockers

func (_MaplePool *MaplePoolSession) DebtLockers(arg0 common.Address, arg1 common.Address) (common.Address, error)

DebtLockers is a free data retrieval call binding the contract method 0xd7bd3c91.

Solidity: function debtLockers(address , address ) view returns(address)

func (*MaplePoolSession) Decimals

func (_MaplePool *MaplePoolSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*MaplePoolSession) DecreaseAllowance

func (_MaplePool *MaplePoolSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*MaplePoolSession) DelegateFee

func (_MaplePool *MaplePoolSession) DelegateFee() (*big.Int, error)

DelegateFee is a free data retrieval call binding the contract method 0xb69410de.

Solidity: function delegateFee() view returns(uint256)

func (*MaplePoolSession) Deposit

func (_MaplePool *MaplePoolSession) Deposit(amt *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint256 amt) returns()

func (*MaplePoolSession) DepositDate

func (_MaplePool *MaplePoolSession) DepositDate(arg0 common.Address) (*big.Int, error)

DepositDate is a free data retrieval call binding the contract method 0x24b92e8e.

Solidity: function depositDate(address ) view returns(uint256)

func (*MaplePoolSession) Finalize

func (_MaplePool *MaplePoolSession) Finalize() (*types.Transaction, error)

Finalize is a paid mutator transaction binding the contract method 0x4bb278f3.

Solidity: function finalize() returns()

func (*MaplePoolSession) FundLoan

func (_MaplePool *MaplePoolSession) FundLoan(loan common.Address, dlFactory common.Address, amt *big.Int) (*types.Transaction, error)

FundLoan is a paid mutator transaction binding the contract method 0x1aa37cec.

Solidity: function fundLoan(address loan, address dlFactory, uint256 amt) returns()

func (*MaplePoolSession) GetInitialStakeRequirements

func (_MaplePool *MaplePoolSession) GetInitialStakeRequirements() (*big.Int, *big.Int, bool, *big.Int, *big.Int, error)

GetInitialStakeRequirements is a free data retrieval call binding the contract method 0x13bf9e7e.

Solidity: function getInitialStakeRequirements() view returns(uint256, uint256, bool, uint256, uint256)

func (*MaplePoolSession) GetPoolSharesRequired

func (_MaplePool *MaplePoolSession) GetPoolSharesRequired(_bPool common.Address, _liquidityAsset common.Address, _staker common.Address, _stakeLocker common.Address, _liquidityAssetAmountRequired *big.Int) (*big.Int, *big.Int, error)

GetPoolSharesRequired is a free data retrieval call binding the contract method 0xc3746825.

Solidity: function getPoolSharesRequired(address _bPool, address _liquidityAsset, address _staker, address _stakeLocker, uint256 _liquidityAssetAmountRequired) view returns(uint256, uint256)

func (*MaplePoolSession) IncreaseAllowance

func (_MaplePool *MaplePoolSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*MaplePoolSession) IncreaseCustodyAllowance

func (_MaplePool *MaplePoolSession) IncreaseCustodyAllowance(custodian common.Address, amount *big.Int) (*types.Transaction, error)

IncreaseCustodyAllowance is a paid mutator transaction binding the contract method 0x27f91856.

Solidity: function increaseCustodyAllowance(address custodian, uint256 amount) returns()

func (*MaplePoolSession) IntendToWithdraw

func (_MaplePool *MaplePoolSession) IntendToWithdraw() (*types.Transaction, error)

IntendToWithdraw is a paid mutator transaction binding the contract method 0x73ef9a50.

Solidity: function intendToWithdraw() returns()

func (*MaplePoolSession) InterestBalance

func (_MaplePool *MaplePoolSession) InterestBalance() (*big.Int, error)

InterestBalance is a free data retrieval call binding the contract method 0x9f3c7325.

Solidity: function interestBalance() view returns(uint256)

func (*MaplePoolSession) InterestSum

func (_MaplePool *MaplePoolSession) InterestSum() (*big.Int, error)

InterestSum is a free data retrieval call binding the contract method 0x71073bac.

Solidity: function interestSum() view returns(uint256)

func (*MaplePoolSession) IsDepositAllowed

func (_MaplePool *MaplePoolSession) IsDepositAllowed(depositAmt *big.Int) (bool, error)

IsDepositAllowed is a free data retrieval call binding the contract method 0x80e7ce85.

Solidity: function isDepositAllowed(uint256 depositAmt) view returns(bool)

func (*MaplePoolSession) IsPoolFinalized

func (_MaplePool *MaplePoolSession) IsPoolFinalized() (bool, error)

IsPoolFinalized is a free data retrieval call binding the contract method 0x4f85221a.

Solidity: function isPoolFinalized() view returns(bool)

func (*MaplePoolSession) LiquidityAsset

func (_MaplePool *MaplePoolSession) LiquidityAsset() (common.Address, error)

LiquidityAsset is a free data retrieval call binding the contract method 0x209b2bca.

Solidity: function liquidityAsset() view returns(address)

func (*MaplePoolSession) LiquidityCap

func (_MaplePool *MaplePoolSession) LiquidityCap() (*big.Int, error)

LiquidityCap is a free data retrieval call binding the contract method 0x76687d3d.

Solidity: function liquidityCap() view returns(uint256)

func (*MaplePoolSession) LiquidityLocker

func (_MaplePool *MaplePoolSession) LiquidityLocker() (common.Address, error)

LiquidityLocker is a free data retrieval call binding the contract method 0x9759164a.

Solidity: function liquidityLocker() view returns(address)

func (*MaplePoolSession) LockupPeriod

func (_MaplePool *MaplePoolSession) LockupPeriod() (*big.Int, error)

LockupPeriod is a free data retrieval call binding the contract method 0xee947a7c.

Solidity: function lockupPeriod() view returns(uint256)

func (*MaplePoolSession) LossesBalance

func (_MaplePool *MaplePoolSession) LossesBalance() (*big.Int, error)

LossesBalance is a free data retrieval call binding the contract method 0xfec984e3.

Solidity: function lossesBalance() view returns(uint256)

func (*MaplePoolSession) Name

func (_MaplePool *MaplePoolSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*MaplePoolSession) OpenToPublic

func (_MaplePool *MaplePoolSession) OpenToPublic() (bool, error)

OpenToPublic is a free data retrieval call binding the contract method 0x1831ccf2.

Solidity: function openToPublic() view returns(bool)

func (*MaplePoolSession) PoolAdmins

func (_MaplePool *MaplePoolSession) PoolAdmins(arg0 common.Address) (bool, error)

PoolAdmins is a free data retrieval call binding the contract method 0x613384f2.

Solidity: function poolAdmins(address ) view returns(bool)

func (*MaplePoolSession) PoolDelegate

func (_MaplePool *MaplePoolSession) PoolDelegate() (common.Address, error)

PoolDelegate is a free data retrieval call binding the contract method 0x4046af2b.

Solidity: function poolDelegate() view returns(address)

func (*MaplePoolSession) PoolLosses

func (_MaplePool *MaplePoolSession) PoolLosses() (*big.Int, error)

PoolLosses is a free data retrieval call binding the contract method 0xa33142f7.

Solidity: function poolLosses() view returns(uint256)

func (*MaplePoolSession) PoolState

func (_MaplePool *MaplePoolSession) PoolState() (uint8, error)

PoolState is a free data retrieval call binding the contract method 0x641ad8a9.

Solidity: function poolState() view returns(uint8)

func (*MaplePoolSession) PrincipalOut

func (_MaplePool *MaplePoolSession) PrincipalOut() (*big.Int, error)

PrincipalOut is a free data retrieval call binding the contract method 0xac641655.

Solidity: function principalOut() view returns(uint256)

func (*MaplePoolSession) ReclaimERC20

func (_MaplePool *MaplePoolSession) ReclaimERC20(token common.Address) (*types.Transaction, error)

ReclaimERC20 is a paid mutator transaction binding the contract method 0x8905fd4f.

Solidity: function reclaimERC20(address token) returns()

func (*MaplePoolSession) RecognizableLossesOf

func (_MaplePool *MaplePoolSession) RecognizableLossesOf(_owner common.Address) (*big.Int, error)

RecognizableLossesOf is a free data retrieval call binding the contract method 0x66967791.

Solidity: function recognizableLossesOf(address _owner) view returns(uint256)

func (*MaplePoolSession) RecognizedLossesOf

func (_MaplePool *MaplePoolSession) RecognizedLossesOf(_owner common.Address) (*big.Int, error)

RecognizedLossesOf is a free data retrieval call binding the contract method 0xaed4966a.

Solidity: function recognizedLossesOf(address _owner) view returns(uint256)

func (*MaplePoolSession) SetAllowList

func (_MaplePool *MaplePoolSession) SetAllowList(account common.Address, status bool) (*types.Transaction, error)

SetAllowList is a paid mutator transaction binding the contract method 0x7666f125.

Solidity: function setAllowList(address account, bool status) returns()

func (*MaplePoolSession) SetLiquidityCap

func (_MaplePool *MaplePoolSession) SetLiquidityCap(newLiquidityCap *big.Int) (*types.Transaction, error)

SetLiquidityCap is a paid mutator transaction binding the contract method 0x7b99adb1.

Solidity: function setLiquidityCap(uint256 newLiquidityCap) returns()

func (*MaplePoolSession) SetLockupPeriod

func (_MaplePool *MaplePoolSession) SetLockupPeriod(newLockupPeriod *big.Int) (*types.Transaction, error)

SetLockupPeriod is a paid mutator transaction binding the contract method 0xc771c390.

Solidity: function setLockupPeriod(uint256 newLockupPeriod) returns()

func (*MaplePoolSession) SetOpenToPublic

func (_MaplePool *MaplePoolSession) SetOpenToPublic(open bool) (*types.Transaction, error)

SetOpenToPublic is a paid mutator transaction binding the contract method 0xa43baa3d.

Solidity: function setOpenToPublic(bool open) returns()

func (*MaplePoolSession) SetPoolAdmin

func (_MaplePool *MaplePoolSession) SetPoolAdmin(poolAdmin common.Address, allowed bool) (*types.Transaction, error)

SetPoolAdmin is a paid mutator transaction binding the contract method 0x9185192a.

Solidity: function setPoolAdmin(address poolAdmin, bool allowed) returns()

func (*MaplePoolSession) SetStakingFee

func (_MaplePool *MaplePoolSession) SetStakingFee(newStakingFee *big.Int) (*types.Transaction, error)

SetStakingFee is a paid mutator transaction binding the contract method 0x410dbf7e.

Solidity: function setStakingFee(uint256 newStakingFee) returns()

func (*MaplePoolSession) StakeAsset

func (_MaplePool *MaplePoolSession) StakeAsset() (common.Address, error)

StakeAsset is a free data retrieval call binding the contract method 0x80cd916d.

Solidity: function stakeAsset() view returns(address)

func (*MaplePoolSession) StakeLocker

func (_MaplePool *MaplePoolSession) StakeLocker() (common.Address, error)

StakeLocker is a free data retrieval call binding the contract method 0x033b1cf0.

Solidity: function stakeLocker() view returns(address)

func (*MaplePoolSession) StakingFee

func (_MaplePool *MaplePoolSession) StakingFee() (*big.Int, error)

StakingFee is a free data retrieval call binding the contract method 0xeff98843.

Solidity: function stakingFee() view returns(uint256)

func (*MaplePoolSession) SuperFactory

func (_MaplePool *MaplePoolSession) SuperFactory() (common.Address, error)

SuperFactory is a free data retrieval call binding the contract method 0x0d49b38c.

Solidity: function superFactory() view returns(address)

func (*MaplePoolSession) Symbol

func (_MaplePool *MaplePoolSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*MaplePoolSession) TotalCustodyAllowance

func (_MaplePool *MaplePoolSession) TotalCustodyAllowance(arg0 common.Address) (*big.Int, error)

TotalCustodyAllowance is a free data retrieval call binding the contract method 0xaf6d5571.

Solidity: function totalCustodyAllowance(address ) view returns(uint256)

func (*MaplePoolSession) TotalSupply

func (_MaplePool *MaplePoolSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*MaplePoolSession) Transfer

func (_MaplePool *MaplePoolSession) 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 (*MaplePoolSession) TransferByCustodian

func (_MaplePool *MaplePoolSession) TransferByCustodian(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferByCustodian is a paid mutator transaction binding the contract method 0x2ac04ac8.

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

func (*MaplePoolSession) TransferFrom

func (_MaplePool *MaplePoolSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*MaplePoolSession) TriggerDefault

func (_MaplePool *MaplePoolSession) TriggerDefault(loan common.Address, dlFactory common.Address) (*types.Transaction, error)

TriggerDefault is a paid mutator transaction binding the contract method 0x40504ba0.

Solidity: function triggerDefault(address loan, address dlFactory) returns()

func (*MaplePoolSession) UpdateFundsReceived

func (_MaplePool *MaplePoolSession) UpdateFundsReceived() (*types.Transaction, error)

UpdateFundsReceived is a paid mutator transaction binding the contract method 0x46c162de.

Solidity: function updateFundsReceived() returns()

func (*MaplePoolSession) UpdateLossesReceived

func (_MaplePool *MaplePoolSession) UpdateLossesReceived() (*types.Transaction, error)

UpdateLossesReceived is a paid mutator transaction binding the contract method 0xcc0fef02.

Solidity: function updateLossesReceived() returns()

func (*MaplePoolSession) Withdraw

func (_MaplePool *MaplePoolSession) Withdraw(amt *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amt) returns()

func (*MaplePoolSession) WithdrawCooldown

func (_MaplePool *MaplePoolSession) WithdrawCooldown(arg0 common.Address) (*big.Int, error)

WithdrawCooldown is a free data retrieval call binding the contract method 0xd82745c8.

Solidity: function withdrawCooldown(address ) view returns(uint256)

func (*MaplePoolSession) WithdrawFunds

func (_MaplePool *MaplePoolSession) WithdrawFunds() (*types.Transaction, error)

WithdrawFunds is a paid mutator transaction binding the contract method 0x24600fc3.

Solidity: function withdrawFunds() returns()

func (*MaplePoolSession) WithdrawableFundsOf

func (_MaplePool *MaplePoolSession) WithdrawableFundsOf(_owner common.Address) (*big.Int, error)

WithdrawableFundsOf is a free data retrieval call binding the contract method 0x443bb293.

Solidity: function withdrawableFundsOf(address _owner) view returns(uint256)

func (*MaplePoolSession) WithdrawnFundsOf

func (_MaplePool *MaplePoolSession) WithdrawnFundsOf(_owner common.Address) (*big.Int, error)

WithdrawnFundsOf is a free data retrieval call binding the contract method 0x0041c52c.

Solidity: function withdrawnFundsOf(address _owner) view returns(uint256)

type MaplePoolStakingFeeSet

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

MaplePoolStakingFeeSet represents a StakingFeeSet event raised by the MaplePool contract.

type MaplePoolStakingFeeSetIterator

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

MaplePoolStakingFeeSetIterator is returned from FilterStakingFeeSet and is used to iterate over the raw logs and unpacked data for StakingFeeSet events raised by the MaplePool contract.

func (*MaplePoolStakingFeeSetIterator) Close

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

func (*MaplePoolStakingFeeSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolStakingFeeSetIterator) 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 MaplePoolTotalCustodyAllowanceUpdated

type MaplePoolTotalCustodyAllowanceUpdated struct {
	LiquidityProvider common.Address
	NewTotalAllowance *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

MaplePoolTotalCustodyAllowanceUpdated represents a TotalCustodyAllowanceUpdated event raised by the MaplePool contract.

type MaplePoolTotalCustodyAllowanceUpdatedIterator

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

MaplePoolTotalCustodyAllowanceUpdatedIterator is returned from FilterTotalCustodyAllowanceUpdated and is used to iterate over the raw logs and unpacked data for TotalCustodyAllowanceUpdated events raised by the MaplePool contract.

func (*MaplePoolTotalCustodyAllowanceUpdatedIterator) Close

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

func (*MaplePoolTotalCustodyAllowanceUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolTotalCustodyAllowanceUpdatedIterator) 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 MaplePoolTransactor

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

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

func NewMaplePoolTransactor

func NewMaplePoolTransactor(address common.Address, transactor bind.ContractTransactor) (*MaplePoolTransactor, error)

NewMaplePoolTransactor creates a new write-only instance of MaplePool, bound to a specific deployed contract.

func (*MaplePoolTransactor) Approve

func (_MaplePool *MaplePoolTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*MaplePoolTransactor) CancelWithdraw

func (_MaplePool *MaplePoolTransactor) CancelWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)

CancelWithdraw is a paid mutator transaction binding the contract method 0x84b76824.

Solidity: function cancelWithdraw() returns()

func (*MaplePoolTransactor) Claim

func (_MaplePool *MaplePoolTransactor) Claim(opts *bind.TransactOpts, loan common.Address, dlFactory common.Address) (*types.Transaction, error)

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

Solidity: function claim(address loan, address dlFactory) returns(uint256[7] claimInfo)

func (*MaplePoolTransactor) Deactivate

func (_MaplePool *MaplePoolTransactor) Deactivate(opts *bind.TransactOpts) (*types.Transaction, error)

Deactivate is a paid mutator transaction binding the contract method 0x51b42b00.

Solidity: function deactivate() returns()

func (*MaplePoolTransactor) DecreaseAllowance

func (_MaplePool *MaplePoolTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*MaplePoolTransactor) Deposit

func (_MaplePool *MaplePoolTransactor) Deposit(opts *bind.TransactOpts, amt *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint256 amt) returns()

func (*MaplePoolTransactor) Finalize

func (_MaplePool *MaplePoolTransactor) Finalize(opts *bind.TransactOpts) (*types.Transaction, error)

Finalize is a paid mutator transaction binding the contract method 0x4bb278f3.

Solidity: function finalize() returns()

func (*MaplePoolTransactor) FundLoan

func (_MaplePool *MaplePoolTransactor) FundLoan(opts *bind.TransactOpts, loan common.Address, dlFactory common.Address, amt *big.Int) (*types.Transaction, error)

FundLoan is a paid mutator transaction binding the contract method 0x1aa37cec.

Solidity: function fundLoan(address loan, address dlFactory, uint256 amt) returns()

func (*MaplePoolTransactor) IncreaseAllowance

func (_MaplePool *MaplePoolTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*MaplePoolTransactor) IncreaseCustodyAllowance

func (_MaplePool *MaplePoolTransactor) IncreaseCustodyAllowance(opts *bind.TransactOpts, custodian common.Address, amount *big.Int) (*types.Transaction, error)

IncreaseCustodyAllowance is a paid mutator transaction binding the contract method 0x27f91856.

Solidity: function increaseCustodyAllowance(address custodian, uint256 amount) returns()

func (*MaplePoolTransactor) IntendToWithdraw

func (_MaplePool *MaplePoolTransactor) IntendToWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)

IntendToWithdraw is a paid mutator transaction binding the contract method 0x73ef9a50.

Solidity: function intendToWithdraw() returns()

func (*MaplePoolTransactor) ReclaimERC20

func (_MaplePool *MaplePoolTransactor) ReclaimERC20(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

ReclaimERC20 is a paid mutator transaction binding the contract method 0x8905fd4f.

Solidity: function reclaimERC20(address token) returns()

func (*MaplePoolTransactor) SetAllowList

func (_MaplePool *MaplePoolTransactor) SetAllowList(opts *bind.TransactOpts, account common.Address, status bool) (*types.Transaction, error)

SetAllowList is a paid mutator transaction binding the contract method 0x7666f125.

Solidity: function setAllowList(address account, bool status) returns()

func (*MaplePoolTransactor) SetLiquidityCap

func (_MaplePool *MaplePoolTransactor) SetLiquidityCap(opts *bind.TransactOpts, newLiquidityCap *big.Int) (*types.Transaction, error)

SetLiquidityCap is a paid mutator transaction binding the contract method 0x7b99adb1.

Solidity: function setLiquidityCap(uint256 newLiquidityCap) returns()

func (*MaplePoolTransactor) SetLockupPeriod

func (_MaplePool *MaplePoolTransactor) SetLockupPeriod(opts *bind.TransactOpts, newLockupPeriod *big.Int) (*types.Transaction, error)

SetLockupPeriod is a paid mutator transaction binding the contract method 0xc771c390.

Solidity: function setLockupPeriod(uint256 newLockupPeriod) returns()

func (*MaplePoolTransactor) SetOpenToPublic

func (_MaplePool *MaplePoolTransactor) SetOpenToPublic(opts *bind.TransactOpts, open bool) (*types.Transaction, error)

SetOpenToPublic is a paid mutator transaction binding the contract method 0xa43baa3d.

Solidity: function setOpenToPublic(bool open) returns()

func (*MaplePoolTransactor) SetPoolAdmin

func (_MaplePool *MaplePoolTransactor) SetPoolAdmin(opts *bind.TransactOpts, poolAdmin common.Address, allowed bool) (*types.Transaction, error)

SetPoolAdmin is a paid mutator transaction binding the contract method 0x9185192a.

Solidity: function setPoolAdmin(address poolAdmin, bool allowed) returns()

func (*MaplePoolTransactor) SetStakingFee

func (_MaplePool *MaplePoolTransactor) SetStakingFee(opts *bind.TransactOpts, newStakingFee *big.Int) (*types.Transaction, error)

SetStakingFee is a paid mutator transaction binding the contract method 0x410dbf7e.

Solidity: function setStakingFee(uint256 newStakingFee) returns()

func (*MaplePoolTransactor) Transfer

func (_MaplePool *MaplePoolTransactor) 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 (*MaplePoolTransactor) TransferByCustodian

func (_MaplePool *MaplePoolTransactor) TransferByCustodian(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferByCustodian is a paid mutator transaction binding the contract method 0x2ac04ac8.

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

func (*MaplePoolTransactor) TransferFrom

func (_MaplePool *MaplePoolTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*MaplePoolTransactor) TriggerDefault

func (_MaplePool *MaplePoolTransactor) TriggerDefault(opts *bind.TransactOpts, loan common.Address, dlFactory common.Address) (*types.Transaction, error)

TriggerDefault is a paid mutator transaction binding the contract method 0x40504ba0.

Solidity: function triggerDefault(address loan, address dlFactory) returns()

func (*MaplePoolTransactor) UpdateFundsReceived

func (_MaplePool *MaplePoolTransactor) UpdateFundsReceived(opts *bind.TransactOpts) (*types.Transaction, error)

UpdateFundsReceived is a paid mutator transaction binding the contract method 0x46c162de.

Solidity: function updateFundsReceived() returns()

func (*MaplePoolTransactor) UpdateLossesReceived

func (_MaplePool *MaplePoolTransactor) UpdateLossesReceived(opts *bind.TransactOpts) (*types.Transaction, error)

UpdateLossesReceived is a paid mutator transaction binding the contract method 0xcc0fef02.

Solidity: function updateLossesReceived() returns()

func (*MaplePoolTransactor) Withdraw

func (_MaplePool *MaplePoolTransactor) Withdraw(opts *bind.TransactOpts, amt *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amt) returns()

func (*MaplePoolTransactor) WithdrawFunds

func (_MaplePool *MaplePoolTransactor) WithdrawFunds(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawFunds is a paid mutator transaction binding the contract method 0x24600fc3.

Solidity: function withdrawFunds() returns()

type MaplePoolTransactorRaw

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

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

func (*MaplePoolTransactorRaw) Transact

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

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

func (*MaplePoolTransactorRaw) Transfer

func (_MaplePool *MaplePoolTransactorRaw) 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 MaplePoolTransactorSession

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

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

func (*MaplePoolTransactorSession) Approve

func (_MaplePool *MaplePoolTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*MaplePoolTransactorSession) CancelWithdraw

func (_MaplePool *MaplePoolTransactorSession) CancelWithdraw() (*types.Transaction, error)

CancelWithdraw is a paid mutator transaction binding the contract method 0x84b76824.

Solidity: function cancelWithdraw() returns()

func (*MaplePoolTransactorSession) Claim

func (_MaplePool *MaplePoolTransactorSession) Claim(loan common.Address, dlFactory common.Address) (*types.Transaction, error)

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

Solidity: function claim(address loan, address dlFactory) returns(uint256[7] claimInfo)

func (*MaplePoolTransactorSession) Deactivate

func (_MaplePool *MaplePoolTransactorSession) Deactivate() (*types.Transaction, error)

Deactivate is a paid mutator transaction binding the contract method 0x51b42b00.

Solidity: function deactivate() returns()

func (*MaplePoolTransactorSession) DecreaseAllowance

func (_MaplePool *MaplePoolTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*MaplePoolTransactorSession) Deposit

func (_MaplePool *MaplePoolTransactorSession) Deposit(amt *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint256 amt) returns()

func (*MaplePoolTransactorSession) Finalize

func (_MaplePool *MaplePoolTransactorSession) Finalize() (*types.Transaction, error)

Finalize is a paid mutator transaction binding the contract method 0x4bb278f3.

Solidity: function finalize() returns()

func (*MaplePoolTransactorSession) FundLoan

func (_MaplePool *MaplePoolTransactorSession) FundLoan(loan common.Address, dlFactory common.Address, amt *big.Int) (*types.Transaction, error)

FundLoan is a paid mutator transaction binding the contract method 0x1aa37cec.

Solidity: function fundLoan(address loan, address dlFactory, uint256 amt) returns()

func (*MaplePoolTransactorSession) IncreaseAllowance

func (_MaplePool *MaplePoolTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*MaplePoolTransactorSession) IncreaseCustodyAllowance

func (_MaplePool *MaplePoolTransactorSession) IncreaseCustodyAllowance(custodian common.Address, amount *big.Int) (*types.Transaction, error)

IncreaseCustodyAllowance is a paid mutator transaction binding the contract method 0x27f91856.

Solidity: function increaseCustodyAllowance(address custodian, uint256 amount) returns()

func (*MaplePoolTransactorSession) IntendToWithdraw

func (_MaplePool *MaplePoolTransactorSession) IntendToWithdraw() (*types.Transaction, error)

IntendToWithdraw is a paid mutator transaction binding the contract method 0x73ef9a50.

Solidity: function intendToWithdraw() returns()

func (*MaplePoolTransactorSession) ReclaimERC20

func (_MaplePool *MaplePoolTransactorSession) ReclaimERC20(token common.Address) (*types.Transaction, error)

ReclaimERC20 is a paid mutator transaction binding the contract method 0x8905fd4f.

Solidity: function reclaimERC20(address token) returns()

func (*MaplePoolTransactorSession) SetAllowList

func (_MaplePool *MaplePoolTransactorSession) SetAllowList(account common.Address, status bool) (*types.Transaction, error)

SetAllowList is a paid mutator transaction binding the contract method 0x7666f125.

Solidity: function setAllowList(address account, bool status) returns()

func (*MaplePoolTransactorSession) SetLiquidityCap

func (_MaplePool *MaplePoolTransactorSession) SetLiquidityCap(newLiquidityCap *big.Int) (*types.Transaction, error)

SetLiquidityCap is a paid mutator transaction binding the contract method 0x7b99adb1.

Solidity: function setLiquidityCap(uint256 newLiquidityCap) returns()

func (*MaplePoolTransactorSession) SetLockupPeriod

func (_MaplePool *MaplePoolTransactorSession) SetLockupPeriod(newLockupPeriod *big.Int) (*types.Transaction, error)

SetLockupPeriod is a paid mutator transaction binding the contract method 0xc771c390.

Solidity: function setLockupPeriod(uint256 newLockupPeriod) returns()

func (*MaplePoolTransactorSession) SetOpenToPublic

func (_MaplePool *MaplePoolTransactorSession) SetOpenToPublic(open bool) (*types.Transaction, error)

SetOpenToPublic is a paid mutator transaction binding the contract method 0xa43baa3d.

Solidity: function setOpenToPublic(bool open) returns()

func (*MaplePoolTransactorSession) SetPoolAdmin

func (_MaplePool *MaplePoolTransactorSession) SetPoolAdmin(poolAdmin common.Address, allowed bool) (*types.Transaction, error)

SetPoolAdmin is a paid mutator transaction binding the contract method 0x9185192a.

Solidity: function setPoolAdmin(address poolAdmin, bool allowed) returns()

func (*MaplePoolTransactorSession) SetStakingFee

func (_MaplePool *MaplePoolTransactorSession) SetStakingFee(newStakingFee *big.Int) (*types.Transaction, error)

SetStakingFee is a paid mutator transaction binding the contract method 0x410dbf7e.

Solidity: function setStakingFee(uint256 newStakingFee) returns()

func (*MaplePoolTransactorSession) Transfer

func (_MaplePool *MaplePoolTransactorSession) 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 (*MaplePoolTransactorSession) TransferByCustodian

func (_MaplePool *MaplePoolTransactorSession) TransferByCustodian(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferByCustodian is a paid mutator transaction binding the contract method 0x2ac04ac8.

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

func (*MaplePoolTransactorSession) TransferFrom

func (_MaplePool *MaplePoolTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*MaplePoolTransactorSession) TriggerDefault

func (_MaplePool *MaplePoolTransactorSession) TriggerDefault(loan common.Address, dlFactory common.Address) (*types.Transaction, error)

TriggerDefault is a paid mutator transaction binding the contract method 0x40504ba0.

Solidity: function triggerDefault(address loan, address dlFactory) returns()

func (*MaplePoolTransactorSession) UpdateFundsReceived

func (_MaplePool *MaplePoolTransactorSession) UpdateFundsReceived() (*types.Transaction, error)

UpdateFundsReceived is a paid mutator transaction binding the contract method 0x46c162de.

Solidity: function updateFundsReceived() returns()

func (*MaplePoolTransactorSession) UpdateLossesReceived

func (_MaplePool *MaplePoolTransactorSession) UpdateLossesReceived() (*types.Transaction, error)

UpdateLossesReceived is a paid mutator transaction binding the contract method 0xcc0fef02.

Solidity: function updateLossesReceived() returns()

func (*MaplePoolTransactorSession) Withdraw

func (_MaplePool *MaplePoolTransactorSession) Withdraw(amt *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amt) returns()

func (*MaplePoolTransactorSession) WithdrawFunds

func (_MaplePool *MaplePoolTransactorSession) WithdrawFunds() (*types.Transaction, error)

WithdrawFunds is a paid mutator transaction binding the contract method 0x24600fc3.

Solidity: function withdrawFunds() returns()

type MaplePoolTransfer

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

MaplePoolTransfer represents a Transfer event raised by the MaplePool contract.

type MaplePoolTransferIterator

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

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

func (*MaplePoolTransferIterator) Close

func (it *MaplePoolTransferIterator) Close() error

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

func (*MaplePoolTransferIterator) Error

func (it *MaplePoolTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MaplePoolTransferIterator) Next

func (it *MaplePoolTransferIterator) 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 MapleStakeLocker

type MapleStakeLocker struct {
	MapleStakeLockerCaller     // Read-only binding to the contract
	MapleStakeLockerTransactor // Write-only binding to the contract
	MapleStakeLockerFilterer   // Log filterer for contract events
}

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

func NewMapleStakeLocker

func NewMapleStakeLocker(address common.Address, backend bind.ContractBackend) (*MapleStakeLocker, error)

NewMapleStakeLocker creates a new instance of MapleStakeLocker, bound to a specific deployed contract.

type MapleStakeLockerAllowListUpdated

type MapleStakeLockerAllowListUpdated struct {
	Staker common.Address
	Status bool
	Raw    types.Log // Blockchain specific contextual infos
}

MapleStakeLockerAllowListUpdated represents a AllowListUpdated event raised by the MapleStakeLocker contract.

type MapleStakeLockerAllowListUpdatedIterator

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

MapleStakeLockerAllowListUpdatedIterator is returned from FilterAllowListUpdated and is used to iterate over the raw logs and unpacked data for AllowListUpdated events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerAllowListUpdatedIterator) Close

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

func (*MapleStakeLockerAllowListUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerAllowListUpdatedIterator) 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 MapleStakeLockerApproval

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

MapleStakeLockerApproval represents a Approval event raised by the MapleStakeLocker contract.

type MapleStakeLockerApprovalIterator

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

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

func (*MapleStakeLockerApprovalIterator) Close

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

func (*MapleStakeLockerApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerApprovalIterator) 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 MapleStakeLockerBalanceUpdated

type MapleStakeLockerBalanceUpdated struct {
	Staker  common.Address
	Token   common.Address
	Balance *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

MapleStakeLockerBalanceUpdated represents a BalanceUpdated event raised by the MapleStakeLocker contract.

type MapleStakeLockerBalanceUpdatedIterator

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

MapleStakeLockerBalanceUpdatedIterator is returned from FilterBalanceUpdated and is used to iterate over the raw logs and unpacked data for BalanceUpdated events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerBalanceUpdatedIterator) Close

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

func (*MapleStakeLockerBalanceUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerBalanceUpdatedIterator) 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 MapleStakeLockerCaller

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

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

func NewMapleStakeLockerCaller

func NewMapleStakeLockerCaller(address common.Address, caller bind.ContractCaller) (*MapleStakeLockerCaller, error)

NewMapleStakeLockerCaller creates a new read-only instance of MapleStakeLocker, bound to a specific deployed contract.

func (*MapleStakeLockerCaller) AccumulativeFundsOf

func (_MapleStakeLocker *MapleStakeLockerCaller) AccumulativeFundsOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

AccumulativeFundsOf is a free data retrieval call binding the contract method 0x4e97415f.

Solidity: function accumulativeFundsOf(address _owner) view returns(uint256)

func (*MapleStakeLockerCaller) AccumulativeLossesOf

func (_MapleStakeLocker *MapleStakeLockerCaller) AccumulativeLossesOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

AccumulativeLossesOf is a free data retrieval call binding the contract method 0x40bde098.

Solidity: function accumulativeLossesOf(address _owner) view returns(uint256)

func (*MapleStakeLockerCaller) Allowance

func (_MapleStakeLocker *MapleStakeLockerCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*MapleStakeLockerCaller) Allowed

func (_MapleStakeLocker *MapleStakeLockerCaller) Allowed(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Allowed is a free data retrieval call binding the contract method 0xd63a8e11.

Solidity: function allowed(address ) view returns(bool)

func (*MapleStakeLockerCaller) BalanceOf

func (_MapleStakeLocker *MapleStakeLockerCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

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

func (*MapleStakeLockerCaller) BptLosses

func (_MapleStakeLocker *MapleStakeLockerCaller) BptLosses(opts *bind.CallOpts) (*big.Int, error)

BptLosses is a free data retrieval call binding the contract method 0xaedc78c3.

Solidity: function bptLosses() view returns(uint256)

func (*MapleStakeLockerCaller) CustodyAllowance

func (_MapleStakeLocker *MapleStakeLockerCaller) CustodyAllowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

CustodyAllowance is a free data retrieval call binding the contract method 0xc965b548.

Solidity: function custodyAllowance(address , address ) view returns(uint256)

func (*MapleStakeLockerCaller) Decimals

func (_MapleStakeLocker *MapleStakeLockerCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*MapleStakeLockerCaller) FundsToken

func (_MapleStakeLocker *MapleStakeLockerCaller) FundsToken(opts *bind.CallOpts) (common.Address, error)

FundsToken is a free data retrieval call binding the contract method 0x63f04b15.

Solidity: function fundsToken() view returns(address)

func (*MapleStakeLockerCaller) FundsTokenBalance

func (_MapleStakeLocker *MapleStakeLockerCaller) FundsTokenBalance(opts *bind.CallOpts) (*big.Int, error)

FundsTokenBalance is a free data retrieval call binding the contract method 0xa9691f3f.

Solidity: function fundsTokenBalance() view returns(uint256)

func (*MapleStakeLockerCaller) IsReceiveAllowed

func (_MapleStakeLocker *MapleStakeLockerCaller) IsReceiveAllowed(opts *bind.CallOpts, _unstakeCooldown *big.Int) (bool, error)

IsReceiveAllowed is a free data retrieval call binding the contract method 0xfab11078.

Solidity: function isReceiveAllowed(uint256 _unstakeCooldown) view returns(bool)

func (*MapleStakeLockerCaller) IsUnstakeAllowed

func (_MapleStakeLocker *MapleStakeLockerCaller) IsUnstakeAllowed(opts *bind.CallOpts, from common.Address) (bool, error)

IsUnstakeAllowed is a free data retrieval call binding the contract method 0x86bf1da3.

Solidity: function isUnstakeAllowed(address from) view returns(bool)

func (*MapleStakeLockerCaller) LiquidityAsset

func (_MapleStakeLocker *MapleStakeLockerCaller) LiquidityAsset(opts *bind.CallOpts) (common.Address, error)

LiquidityAsset is a free data retrieval call binding the contract method 0x209b2bca.

Solidity: function liquidityAsset() view returns(address)

func (*MapleStakeLockerCaller) LockupPeriod

func (_MapleStakeLocker *MapleStakeLockerCaller) LockupPeriod(opts *bind.CallOpts) (*big.Int, error)

LockupPeriod is a free data retrieval call binding the contract method 0xee947a7c.

Solidity: function lockupPeriod() view returns(uint256)

func (*MapleStakeLockerCaller) LossesBalance

func (_MapleStakeLocker *MapleStakeLockerCaller) LossesBalance(opts *bind.CallOpts) (*big.Int, error)

LossesBalance is a free data retrieval call binding the contract method 0xfec984e3.

Solidity: function lossesBalance() view returns(uint256)

func (*MapleStakeLockerCaller) Name

func (_MapleStakeLocker *MapleStakeLockerCaller) 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 (*MapleStakeLockerCaller) OpenToPublic

func (_MapleStakeLocker *MapleStakeLockerCaller) OpenToPublic(opts *bind.CallOpts) (bool, error)

OpenToPublic is a free data retrieval call binding the contract method 0x1831ccf2.

Solidity: function openToPublic() view returns(bool)

func (*MapleStakeLockerCaller) Paused

func (_MapleStakeLocker *MapleStakeLockerCaller) 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 (*MapleStakeLockerCaller) Pool

func (_MapleStakeLocker *MapleStakeLockerCaller) Pool(opts *bind.CallOpts) (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*MapleStakeLockerCaller) RecognizableLossesOf

func (_MapleStakeLocker *MapleStakeLockerCaller) RecognizableLossesOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

RecognizableLossesOf is a free data retrieval call binding the contract method 0x66967791.

Solidity: function recognizableLossesOf(address _owner) view returns(uint256)

func (*MapleStakeLockerCaller) RecognizedLossesOf

func (_MapleStakeLocker *MapleStakeLockerCaller) RecognizedLossesOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

RecognizedLossesOf is a free data retrieval call binding the contract method 0xaed4966a.

Solidity: function recognizedLossesOf(address _owner) view returns(uint256)

func (*MapleStakeLockerCaller) StakeAsset

func (_MapleStakeLocker *MapleStakeLockerCaller) StakeAsset(opts *bind.CallOpts) (common.Address, error)

StakeAsset is a free data retrieval call binding the contract method 0x80cd916d.

Solidity: function stakeAsset() view returns(address)

func (*MapleStakeLockerCaller) StakeDate

func (_MapleStakeLocker *MapleStakeLockerCaller) StakeDate(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

StakeDate is a free data retrieval call binding the contract method 0x5190bbaf.

Solidity: function stakeDate(address ) view returns(uint256)

func (*MapleStakeLockerCaller) Symbol

func (_MapleStakeLocker *MapleStakeLockerCaller) 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 (*MapleStakeLockerCaller) TotalCustodyAllowance

func (_MapleStakeLocker *MapleStakeLockerCaller) TotalCustodyAllowance(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

TotalCustodyAllowance is a free data retrieval call binding the contract method 0xaf6d5571.

Solidity: function totalCustodyAllowance(address ) view returns(uint256)

func (*MapleStakeLockerCaller) TotalSupply

func (_MapleStakeLocker *MapleStakeLockerCaller) 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)

func (*MapleStakeLockerCaller) UnstakeCooldown

func (_MapleStakeLocker *MapleStakeLockerCaller) UnstakeCooldown(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

UnstakeCooldown is a free data retrieval call binding the contract method 0xff887130.

Solidity: function unstakeCooldown(address ) view returns(uint256)

func (*MapleStakeLockerCaller) WithdrawableFundsOf

func (_MapleStakeLocker *MapleStakeLockerCaller) WithdrawableFundsOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

WithdrawableFundsOf is a free data retrieval call binding the contract method 0x443bb293.

Solidity: function withdrawableFundsOf(address _owner) view returns(uint256)

func (*MapleStakeLockerCaller) WithdrawnFundsOf

func (_MapleStakeLocker *MapleStakeLockerCaller) WithdrawnFundsOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

WithdrawnFundsOf is a free data retrieval call binding the contract method 0x0041c52c.

Solidity: function withdrawnFundsOf(address _owner) view returns(uint256)

type MapleStakeLockerCallerRaw

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

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

func (*MapleStakeLockerCallerRaw) Call

func (_MapleStakeLocker *MapleStakeLockerCallerRaw) 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 MapleStakeLockerCallerSession

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

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

func (*MapleStakeLockerCallerSession) AccumulativeFundsOf

func (_MapleStakeLocker *MapleStakeLockerCallerSession) AccumulativeFundsOf(_owner common.Address) (*big.Int, error)

AccumulativeFundsOf is a free data retrieval call binding the contract method 0x4e97415f.

Solidity: function accumulativeFundsOf(address _owner) view returns(uint256)

func (*MapleStakeLockerCallerSession) AccumulativeLossesOf

func (_MapleStakeLocker *MapleStakeLockerCallerSession) AccumulativeLossesOf(_owner common.Address) (*big.Int, error)

AccumulativeLossesOf is a free data retrieval call binding the contract method 0x40bde098.

Solidity: function accumulativeLossesOf(address _owner) view returns(uint256)

func (*MapleStakeLockerCallerSession) Allowance

func (_MapleStakeLocker *MapleStakeLockerCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*MapleStakeLockerCallerSession) Allowed

func (_MapleStakeLocker *MapleStakeLockerCallerSession) Allowed(arg0 common.Address) (bool, error)

Allowed is a free data retrieval call binding the contract method 0xd63a8e11.

Solidity: function allowed(address ) view returns(bool)

func (*MapleStakeLockerCallerSession) BalanceOf

func (_MapleStakeLocker *MapleStakeLockerCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*MapleStakeLockerCallerSession) BptLosses

func (_MapleStakeLocker *MapleStakeLockerCallerSession) BptLosses() (*big.Int, error)

BptLosses is a free data retrieval call binding the contract method 0xaedc78c3.

Solidity: function bptLosses() view returns(uint256)

func (*MapleStakeLockerCallerSession) CustodyAllowance

func (_MapleStakeLocker *MapleStakeLockerCallerSession) CustodyAllowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

CustodyAllowance is a free data retrieval call binding the contract method 0xc965b548.

Solidity: function custodyAllowance(address , address ) view returns(uint256)

func (*MapleStakeLockerCallerSession) Decimals

func (_MapleStakeLocker *MapleStakeLockerCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*MapleStakeLockerCallerSession) FundsToken

func (_MapleStakeLocker *MapleStakeLockerCallerSession) FundsToken() (common.Address, error)

FundsToken is a free data retrieval call binding the contract method 0x63f04b15.

Solidity: function fundsToken() view returns(address)

func (*MapleStakeLockerCallerSession) FundsTokenBalance

func (_MapleStakeLocker *MapleStakeLockerCallerSession) FundsTokenBalance() (*big.Int, error)

FundsTokenBalance is a free data retrieval call binding the contract method 0xa9691f3f.

Solidity: function fundsTokenBalance() view returns(uint256)

func (*MapleStakeLockerCallerSession) IsReceiveAllowed

func (_MapleStakeLocker *MapleStakeLockerCallerSession) IsReceiveAllowed(_unstakeCooldown *big.Int) (bool, error)

IsReceiveAllowed is a free data retrieval call binding the contract method 0xfab11078.

Solidity: function isReceiveAllowed(uint256 _unstakeCooldown) view returns(bool)

func (*MapleStakeLockerCallerSession) IsUnstakeAllowed

func (_MapleStakeLocker *MapleStakeLockerCallerSession) IsUnstakeAllowed(from common.Address) (bool, error)

IsUnstakeAllowed is a free data retrieval call binding the contract method 0x86bf1da3.

Solidity: function isUnstakeAllowed(address from) view returns(bool)

func (*MapleStakeLockerCallerSession) LiquidityAsset

func (_MapleStakeLocker *MapleStakeLockerCallerSession) LiquidityAsset() (common.Address, error)

LiquidityAsset is a free data retrieval call binding the contract method 0x209b2bca.

Solidity: function liquidityAsset() view returns(address)

func (*MapleStakeLockerCallerSession) LockupPeriod

func (_MapleStakeLocker *MapleStakeLockerCallerSession) LockupPeriod() (*big.Int, error)

LockupPeriod is a free data retrieval call binding the contract method 0xee947a7c.

Solidity: function lockupPeriod() view returns(uint256)

func (*MapleStakeLockerCallerSession) LossesBalance

func (_MapleStakeLocker *MapleStakeLockerCallerSession) LossesBalance() (*big.Int, error)

LossesBalance is a free data retrieval call binding the contract method 0xfec984e3.

Solidity: function lossesBalance() view returns(uint256)

func (*MapleStakeLockerCallerSession) Name

func (_MapleStakeLocker *MapleStakeLockerCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*MapleStakeLockerCallerSession) OpenToPublic

func (_MapleStakeLocker *MapleStakeLockerCallerSession) OpenToPublic() (bool, error)

OpenToPublic is a free data retrieval call binding the contract method 0x1831ccf2.

Solidity: function openToPublic() view returns(bool)

func (*MapleStakeLockerCallerSession) Paused

func (_MapleStakeLocker *MapleStakeLockerCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*MapleStakeLockerCallerSession) Pool

func (_MapleStakeLocker *MapleStakeLockerCallerSession) Pool() (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*MapleStakeLockerCallerSession) RecognizableLossesOf

func (_MapleStakeLocker *MapleStakeLockerCallerSession) RecognizableLossesOf(_owner common.Address) (*big.Int, error)

RecognizableLossesOf is a free data retrieval call binding the contract method 0x66967791.

Solidity: function recognizableLossesOf(address _owner) view returns(uint256)

func (*MapleStakeLockerCallerSession) RecognizedLossesOf

func (_MapleStakeLocker *MapleStakeLockerCallerSession) RecognizedLossesOf(_owner common.Address) (*big.Int, error)

RecognizedLossesOf is a free data retrieval call binding the contract method 0xaed4966a.

Solidity: function recognizedLossesOf(address _owner) view returns(uint256)

func (*MapleStakeLockerCallerSession) StakeAsset

func (_MapleStakeLocker *MapleStakeLockerCallerSession) StakeAsset() (common.Address, error)

StakeAsset is a free data retrieval call binding the contract method 0x80cd916d.

Solidity: function stakeAsset() view returns(address)

func (*MapleStakeLockerCallerSession) StakeDate

func (_MapleStakeLocker *MapleStakeLockerCallerSession) StakeDate(arg0 common.Address) (*big.Int, error)

StakeDate is a free data retrieval call binding the contract method 0x5190bbaf.

Solidity: function stakeDate(address ) view returns(uint256)

func (*MapleStakeLockerCallerSession) Symbol

func (_MapleStakeLocker *MapleStakeLockerCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*MapleStakeLockerCallerSession) TotalCustodyAllowance

func (_MapleStakeLocker *MapleStakeLockerCallerSession) TotalCustodyAllowance(arg0 common.Address) (*big.Int, error)

TotalCustodyAllowance is a free data retrieval call binding the contract method 0xaf6d5571.

Solidity: function totalCustodyAllowance(address ) view returns(uint256)

func (*MapleStakeLockerCallerSession) TotalSupply

func (_MapleStakeLocker *MapleStakeLockerCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*MapleStakeLockerCallerSession) UnstakeCooldown

func (_MapleStakeLocker *MapleStakeLockerCallerSession) UnstakeCooldown(arg0 common.Address) (*big.Int, error)

UnstakeCooldown is a free data retrieval call binding the contract method 0xff887130.

Solidity: function unstakeCooldown(address ) view returns(uint256)

func (*MapleStakeLockerCallerSession) WithdrawableFundsOf

func (_MapleStakeLocker *MapleStakeLockerCallerSession) WithdrawableFundsOf(_owner common.Address) (*big.Int, error)

WithdrawableFundsOf is a free data retrieval call binding the contract method 0x443bb293.

Solidity: function withdrawableFundsOf(address _owner) view returns(uint256)

func (*MapleStakeLockerCallerSession) WithdrawnFundsOf

func (_MapleStakeLocker *MapleStakeLockerCallerSession) WithdrawnFundsOf(_owner common.Address) (*big.Int, error)

WithdrawnFundsOf is a free data retrieval call binding the contract method 0x0041c52c.

Solidity: function withdrawnFundsOf(address _owner) view returns(uint256)

type MapleStakeLockerCooldown

type MapleStakeLockerCooldown struct {
	Staker   common.Address
	Cooldown *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

MapleStakeLockerCooldown represents a Cooldown event raised by the MapleStakeLocker contract.

type MapleStakeLockerCooldownIterator

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

MapleStakeLockerCooldownIterator is returned from FilterCooldown and is used to iterate over the raw logs and unpacked data for Cooldown events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerCooldownIterator) Close

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

func (*MapleStakeLockerCooldownIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerCooldownIterator) 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 MapleStakeLockerCustodyAllowanceChanged

type MapleStakeLockerCustodyAllowanceChanged struct {
	Staker       common.Address
	Custodian    common.Address
	OldAllowance *big.Int
	NewAllowance *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

MapleStakeLockerCustodyAllowanceChanged represents a CustodyAllowanceChanged event raised by the MapleStakeLocker contract.

type MapleStakeLockerCustodyAllowanceChangedIterator

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

MapleStakeLockerCustodyAllowanceChangedIterator is returned from FilterCustodyAllowanceChanged and is used to iterate over the raw logs and unpacked data for CustodyAllowanceChanged events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerCustodyAllowanceChangedIterator) Close

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

func (*MapleStakeLockerCustodyAllowanceChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerCustodyAllowanceChangedIterator) 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 MapleStakeLockerCustodyTransfer

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

MapleStakeLockerCustodyTransfer represents a CustodyTransfer event raised by the MapleStakeLocker contract.

type MapleStakeLockerCustodyTransferIterator

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

MapleStakeLockerCustodyTransferIterator is returned from FilterCustodyTransfer and is used to iterate over the raw logs and unpacked data for CustodyTransfer events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerCustodyTransferIterator) Close

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

func (*MapleStakeLockerCustodyTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerCustodyTransferIterator) 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 MapleStakeLockerFilterer

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

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

func NewMapleStakeLockerFilterer

func NewMapleStakeLockerFilterer(address common.Address, filterer bind.ContractFilterer) (*MapleStakeLockerFilterer, error)

NewMapleStakeLockerFilterer creates a new log filterer instance of MapleStakeLocker, bound to a specific deployed contract.

func (*MapleStakeLockerFilterer) FilterAllowListUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterAllowListUpdated(opts *bind.FilterOpts, staker []common.Address) (*MapleStakeLockerAllowListUpdatedIterator, error)

FilterAllowListUpdated is a free log retrieval operation binding the contract event 0x73121574a4eadb4cfdeb2ba56a6a88067b03edd1f0a0dfcac0a5a95682a24367.

Solidity: event AllowListUpdated(address indexed staker, bool status)

func (*MapleStakeLockerFilterer) FilterApproval

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MapleStakeLockerApprovalIterator, 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 (*MapleStakeLockerFilterer) FilterBalanceUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterBalanceUpdated(opts *bind.FilterOpts, staker []common.Address, token []common.Address) (*MapleStakeLockerBalanceUpdatedIterator, error)

FilterBalanceUpdated is a free log retrieval operation binding the contract event 0x2047d1633ff7768462ae07d28cb16e484203bfd6d85ce832494270ebcd9081a2.

Solidity: event BalanceUpdated(address indexed staker, address indexed token, uint256 balance)

func (*MapleStakeLockerFilterer) FilterCooldown

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterCooldown(opts *bind.FilterOpts, staker []common.Address) (*MapleStakeLockerCooldownIterator, error)

FilterCooldown is a free log retrieval operation binding the contract event 0x8a05f911d8ab7fc50fec37ef4ba7f9bfcb1a3c191c81dcd824ad0946c4e20d65.

Solidity: event Cooldown(address indexed staker, uint256 cooldown)

func (*MapleStakeLockerFilterer) FilterCustodyAllowanceChanged

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterCustodyAllowanceChanged(opts *bind.FilterOpts, staker []common.Address, custodian []common.Address) (*MapleStakeLockerCustodyAllowanceChangedIterator, error)

FilterCustodyAllowanceChanged is a free log retrieval operation binding the contract event 0x847e03d69a7075471d42285f4ac63570c10f3012d8bf736d66de2eef17aac3e8.

Solidity: event CustodyAllowanceChanged(address indexed staker, address indexed custodian, uint256 oldAllowance, uint256 newAllowance)

func (*MapleStakeLockerFilterer) FilterCustodyTransfer

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterCustodyTransfer(opts *bind.FilterOpts, custodian []common.Address, from []common.Address, to []common.Address) (*MapleStakeLockerCustodyTransferIterator, error)

FilterCustodyTransfer is a free log retrieval operation binding the contract event 0xfaa022ea2cd7f14157070896fabadafe96cc4d4714eef7ae6a992a5084493ed5.

Solidity: event CustodyTransfer(address indexed custodian, address indexed from, address indexed to, uint256 amount)

func (*MapleStakeLockerFilterer) FilterFundsDistributed

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterFundsDistributed(opts *bind.FilterOpts, by []common.Address) (*MapleStakeLockerFundsDistributedIterator, error)

FilterFundsDistributed is a free log retrieval operation binding the contract event 0x26536799ace2c3dbe12e638ec3ade6b4173dcf1289be0a58d51a5003015649bd.

Solidity: event FundsDistributed(address indexed by, uint256 fundsDistributed)

func (*MapleStakeLockerFilterer) FilterFundsWithdrawn

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterFundsWithdrawn(opts *bind.FilterOpts, by []common.Address) (*MapleStakeLockerFundsWithdrawnIterator, error)

FilterFundsWithdrawn is a free log retrieval operation binding the contract event 0xfbc3a599b784fe88772fc5abcc07223f64ca0b13acc341f4fb1e46bef0510eb4.

Solidity: event FundsWithdrawn(address indexed by, uint256 fundsWithdrawn, uint256 totalWithdrawn)

func (*MapleStakeLockerFilterer) FilterLockupPeriodUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterLockupPeriodUpdated(opts *bind.FilterOpts) (*MapleStakeLockerLockupPeriodUpdatedIterator, error)

FilterLockupPeriodUpdated is a free log retrieval operation binding the contract event 0xcc67306c5d19f79a73208a1270ca19eb367b4bd5258eac096e974365d18e432c.

Solidity: event LockupPeriodUpdated(uint256 lockupPeriod)

func (*MapleStakeLockerFilterer) FilterLossesCorrectionUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterLossesCorrectionUpdated(opts *bind.FilterOpts, account []common.Address) (*MapleStakeLockerLossesCorrectionUpdatedIterator, error)

FilterLossesCorrectionUpdated is a free log retrieval operation binding the contract event 0xb464de3159e090617503d0166bff9ffeecdefd42cd9dbb49f918df95a80fdea3.

Solidity: event LossesCorrectionUpdated(address indexed account, int256 lossesCorrection)

func (*MapleStakeLockerFilterer) FilterLossesDistributed

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterLossesDistributed(opts *bind.FilterOpts, by []common.Address) (*MapleStakeLockerLossesDistributedIterator, error)

FilterLossesDistributed is a free log retrieval operation binding the contract event 0xf88156a8032a0d2c65df18fafaf84e0bea647b3d94a0f7fc6ab14c97dec2bf74.

Solidity: event LossesDistributed(address indexed by, uint256 lossesDistributed)

func (*MapleStakeLockerFilterer) FilterLossesPerShareUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterLossesPerShareUpdated(opts *bind.FilterOpts) (*MapleStakeLockerLossesPerShareUpdatedIterator, error)

FilterLossesPerShareUpdated is a free log retrieval operation binding the contract event 0x240ce2b5ce9e9e5a70010c7f8034c233d89b7ce2d60f3a38d9bc3ca01a36f88c.

Solidity: event LossesPerShareUpdated(uint256 lossesPerShare)

func (*MapleStakeLockerFilterer) FilterLossesRecognized

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterLossesRecognized(opts *bind.FilterOpts, by []common.Address) (*MapleStakeLockerLossesRecognizedIterator, error)

FilterLossesRecognized is a free log retrieval operation binding the contract event 0x814eba35782909dbbaeefb8104073dfca45de43173f7077970c1584b3cf918b5.

Solidity: event LossesRecognized(address indexed by, uint256 lossesRecognized, uint256 totalLossesRecognized)

func (*MapleStakeLockerFilterer) FilterPaused

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterPaused(opts *bind.FilterOpts) (*MapleStakeLockerPausedIterator, error)

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

Solidity: event Paused(address account)

func (*MapleStakeLockerFilterer) FilterPointsCorrectionUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterPointsCorrectionUpdated(opts *bind.FilterOpts, account []common.Address) (*MapleStakeLockerPointsCorrectionUpdatedIterator, error)

FilterPointsCorrectionUpdated is a free log retrieval operation binding the contract event 0xf694bebd33ada288ae2f4485315db76739e2d5501daf315e71c9d8f841aa7773.

Solidity: event PointsCorrectionUpdated(address indexed account, int256 pointsCorrection)

func (*MapleStakeLockerFilterer) FilterPointsPerShareUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterPointsPerShareUpdated(opts *bind.FilterOpts) (*MapleStakeLockerPointsPerShareUpdatedIterator, error)

FilterPointsPerShareUpdated is a free log retrieval operation binding the contract event 0x1f8d7705f31c3337a080803a8ad7e71946fb88d84738879be2bf402f97156e96.

Solidity: event PointsPerShareUpdated(uint256 pointsPerShare)

func (*MapleStakeLockerFilterer) FilterStake

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterStake(opts *bind.FilterOpts, staker []common.Address) (*MapleStakeLockerStakeIterator, error)

FilterStake is a free log retrieval operation binding the contract event 0xebedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a.

Solidity: event Stake(address indexed staker, uint256 amount)

func (*MapleStakeLockerFilterer) FilterStakeDateUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterStakeDateUpdated(opts *bind.FilterOpts, staker []common.Address) (*MapleStakeLockerStakeDateUpdatedIterator, error)

FilterStakeDateUpdated is a free log retrieval operation binding the contract event 0x09686619568b9bd7c4faea3ba0efbeab967ec977167b97405ad208f1a9ccea69.

Solidity: event StakeDateUpdated(address indexed staker, uint256 stakeDate)

func (*MapleStakeLockerFilterer) FilterStakeLockerOpened

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterStakeLockerOpened(opts *bind.FilterOpts) (*MapleStakeLockerStakeLockerOpenedIterator, error)

FilterStakeLockerOpened is a free log retrieval operation binding the contract event 0xd33782a61f25b663946a975c2c1799d6e6d2dc636024b8980789f9e9671abb78.

Solidity: event StakeLockerOpened()

func (*MapleStakeLockerFilterer) FilterTotalCustodyAllowanceUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterTotalCustodyAllowanceUpdated(opts *bind.FilterOpts, staker []common.Address) (*MapleStakeLockerTotalCustodyAllowanceUpdatedIterator, error)

FilterTotalCustodyAllowanceUpdated is a free log retrieval operation binding the contract event 0xe7f3fb4dacbff434e6d283d891f199c48b05b1629f610bd7ddc62353e162fb16.

Solidity: event TotalCustodyAllowanceUpdated(address indexed staker, uint256 newTotalAllowance)

func (*MapleStakeLockerFilterer) FilterTransfer

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MapleStakeLockerTransferIterator, 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 (*MapleStakeLockerFilterer) FilterUnpaused

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterUnpaused(opts *bind.FilterOpts) (*MapleStakeLockerUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*MapleStakeLockerFilterer) FilterUnstake

func (_MapleStakeLocker *MapleStakeLockerFilterer) FilterUnstake(opts *bind.FilterOpts, staker []common.Address) (*MapleStakeLockerUnstakeIterator, error)

FilterUnstake is a free log retrieval operation binding the contract event 0x85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd.

Solidity: event Unstake(address indexed staker, uint256 amount)

func (*MapleStakeLockerFilterer) ParseAllowListUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseAllowListUpdated(log types.Log) (*MapleStakeLockerAllowListUpdated, error)

ParseAllowListUpdated is a log parse operation binding the contract event 0x73121574a4eadb4cfdeb2ba56a6a88067b03edd1f0a0dfcac0a5a95682a24367.

Solidity: event AllowListUpdated(address indexed staker, bool status)

func (*MapleStakeLockerFilterer) ParseApproval

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseApproval(log types.Log) (*MapleStakeLockerApproval, error)

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

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

func (*MapleStakeLockerFilterer) ParseBalanceUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseBalanceUpdated(log types.Log) (*MapleStakeLockerBalanceUpdated, error)

ParseBalanceUpdated is a log parse operation binding the contract event 0x2047d1633ff7768462ae07d28cb16e484203bfd6d85ce832494270ebcd9081a2.

Solidity: event BalanceUpdated(address indexed staker, address indexed token, uint256 balance)

func (*MapleStakeLockerFilterer) ParseCooldown

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseCooldown(log types.Log) (*MapleStakeLockerCooldown, error)

ParseCooldown is a log parse operation binding the contract event 0x8a05f911d8ab7fc50fec37ef4ba7f9bfcb1a3c191c81dcd824ad0946c4e20d65.

Solidity: event Cooldown(address indexed staker, uint256 cooldown)

func (*MapleStakeLockerFilterer) ParseCustodyAllowanceChanged

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseCustodyAllowanceChanged(log types.Log) (*MapleStakeLockerCustodyAllowanceChanged, error)

ParseCustodyAllowanceChanged is a log parse operation binding the contract event 0x847e03d69a7075471d42285f4ac63570c10f3012d8bf736d66de2eef17aac3e8.

Solidity: event CustodyAllowanceChanged(address indexed staker, address indexed custodian, uint256 oldAllowance, uint256 newAllowance)

func (*MapleStakeLockerFilterer) ParseCustodyTransfer

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseCustodyTransfer(log types.Log) (*MapleStakeLockerCustodyTransfer, error)

ParseCustodyTransfer is a log parse operation binding the contract event 0xfaa022ea2cd7f14157070896fabadafe96cc4d4714eef7ae6a992a5084493ed5.

Solidity: event CustodyTransfer(address indexed custodian, address indexed from, address indexed to, uint256 amount)

func (*MapleStakeLockerFilterer) ParseFundsDistributed

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseFundsDistributed(log types.Log) (*MapleStakeLockerFundsDistributed, error)

ParseFundsDistributed is a log parse operation binding the contract event 0x26536799ace2c3dbe12e638ec3ade6b4173dcf1289be0a58d51a5003015649bd.

Solidity: event FundsDistributed(address indexed by, uint256 fundsDistributed)

func (*MapleStakeLockerFilterer) ParseFundsWithdrawn

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseFundsWithdrawn(log types.Log) (*MapleStakeLockerFundsWithdrawn, error)

ParseFundsWithdrawn is a log parse operation binding the contract event 0xfbc3a599b784fe88772fc5abcc07223f64ca0b13acc341f4fb1e46bef0510eb4.

Solidity: event FundsWithdrawn(address indexed by, uint256 fundsWithdrawn, uint256 totalWithdrawn)

func (*MapleStakeLockerFilterer) ParseLockupPeriodUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseLockupPeriodUpdated(log types.Log) (*MapleStakeLockerLockupPeriodUpdated, error)

ParseLockupPeriodUpdated is a log parse operation binding the contract event 0xcc67306c5d19f79a73208a1270ca19eb367b4bd5258eac096e974365d18e432c.

Solidity: event LockupPeriodUpdated(uint256 lockupPeriod)

func (*MapleStakeLockerFilterer) ParseLossesCorrectionUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseLossesCorrectionUpdated(log types.Log) (*MapleStakeLockerLossesCorrectionUpdated, error)

ParseLossesCorrectionUpdated is a log parse operation binding the contract event 0xb464de3159e090617503d0166bff9ffeecdefd42cd9dbb49f918df95a80fdea3.

Solidity: event LossesCorrectionUpdated(address indexed account, int256 lossesCorrection)

func (*MapleStakeLockerFilterer) ParseLossesDistributed

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseLossesDistributed(log types.Log) (*MapleStakeLockerLossesDistributed, error)

ParseLossesDistributed is a log parse operation binding the contract event 0xf88156a8032a0d2c65df18fafaf84e0bea647b3d94a0f7fc6ab14c97dec2bf74.

Solidity: event LossesDistributed(address indexed by, uint256 lossesDistributed)

func (*MapleStakeLockerFilterer) ParseLossesPerShareUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseLossesPerShareUpdated(log types.Log) (*MapleStakeLockerLossesPerShareUpdated, error)

ParseLossesPerShareUpdated is a log parse operation binding the contract event 0x240ce2b5ce9e9e5a70010c7f8034c233d89b7ce2d60f3a38d9bc3ca01a36f88c.

Solidity: event LossesPerShareUpdated(uint256 lossesPerShare)

func (*MapleStakeLockerFilterer) ParseLossesRecognized

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseLossesRecognized(log types.Log) (*MapleStakeLockerLossesRecognized, error)

ParseLossesRecognized is a log parse operation binding the contract event 0x814eba35782909dbbaeefb8104073dfca45de43173f7077970c1584b3cf918b5.

Solidity: event LossesRecognized(address indexed by, uint256 lossesRecognized, uint256 totalLossesRecognized)

func (*MapleStakeLockerFilterer) ParsePaused

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParsePaused(log types.Log) (*MapleStakeLockerPaused, error)

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

Solidity: event Paused(address account)

func (*MapleStakeLockerFilterer) ParsePointsCorrectionUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParsePointsCorrectionUpdated(log types.Log) (*MapleStakeLockerPointsCorrectionUpdated, error)

ParsePointsCorrectionUpdated is a log parse operation binding the contract event 0xf694bebd33ada288ae2f4485315db76739e2d5501daf315e71c9d8f841aa7773.

Solidity: event PointsCorrectionUpdated(address indexed account, int256 pointsCorrection)

func (*MapleStakeLockerFilterer) ParsePointsPerShareUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParsePointsPerShareUpdated(log types.Log) (*MapleStakeLockerPointsPerShareUpdated, error)

ParsePointsPerShareUpdated is a log parse operation binding the contract event 0x1f8d7705f31c3337a080803a8ad7e71946fb88d84738879be2bf402f97156e96.

Solidity: event PointsPerShareUpdated(uint256 pointsPerShare)

func (*MapleStakeLockerFilterer) ParseStake

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseStake(log types.Log) (*MapleStakeLockerStake, error)

ParseStake is a log parse operation binding the contract event 0xebedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a.

Solidity: event Stake(address indexed staker, uint256 amount)

func (*MapleStakeLockerFilterer) ParseStakeDateUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseStakeDateUpdated(log types.Log) (*MapleStakeLockerStakeDateUpdated, error)

ParseStakeDateUpdated is a log parse operation binding the contract event 0x09686619568b9bd7c4faea3ba0efbeab967ec977167b97405ad208f1a9ccea69.

Solidity: event StakeDateUpdated(address indexed staker, uint256 stakeDate)

func (*MapleStakeLockerFilterer) ParseStakeLockerOpened

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseStakeLockerOpened(log types.Log) (*MapleStakeLockerStakeLockerOpened, error)

ParseStakeLockerOpened is a log parse operation binding the contract event 0xd33782a61f25b663946a975c2c1799d6e6d2dc636024b8980789f9e9671abb78.

Solidity: event StakeLockerOpened()

func (*MapleStakeLockerFilterer) ParseTotalCustodyAllowanceUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseTotalCustodyAllowanceUpdated(log types.Log) (*MapleStakeLockerTotalCustodyAllowanceUpdated, error)

ParseTotalCustodyAllowanceUpdated is a log parse operation binding the contract event 0xe7f3fb4dacbff434e6d283d891f199c48b05b1629f610bd7ddc62353e162fb16.

Solidity: event TotalCustodyAllowanceUpdated(address indexed staker, uint256 newTotalAllowance)

func (*MapleStakeLockerFilterer) ParseTransfer

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseTransfer(log types.Log) (*MapleStakeLockerTransfer, error)

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

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

func (*MapleStakeLockerFilterer) ParseUnpaused

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseUnpaused(log types.Log) (*MapleStakeLockerUnpaused, error)

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

Solidity: event Unpaused(address account)

func (*MapleStakeLockerFilterer) ParseUnstake

func (_MapleStakeLocker *MapleStakeLockerFilterer) ParseUnstake(log types.Log) (*MapleStakeLockerUnstake, error)

ParseUnstake is a log parse operation binding the contract event 0x85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd.

Solidity: event Unstake(address indexed staker, uint256 amount)

func (*MapleStakeLockerFilterer) WatchAllowListUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchAllowListUpdated(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerAllowListUpdated, staker []common.Address) (event.Subscription, error)

WatchAllowListUpdated is a free log subscription operation binding the contract event 0x73121574a4eadb4cfdeb2ba56a6a88067b03edd1f0a0dfcac0a5a95682a24367.

Solidity: event AllowListUpdated(address indexed staker, bool status)

func (*MapleStakeLockerFilterer) WatchApproval

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerApproval, 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 (*MapleStakeLockerFilterer) WatchBalanceUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchBalanceUpdated(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerBalanceUpdated, staker []common.Address, token []common.Address) (event.Subscription, error)

WatchBalanceUpdated is a free log subscription operation binding the contract event 0x2047d1633ff7768462ae07d28cb16e484203bfd6d85ce832494270ebcd9081a2.

Solidity: event BalanceUpdated(address indexed staker, address indexed token, uint256 balance)

func (*MapleStakeLockerFilterer) WatchCooldown

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchCooldown(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerCooldown, staker []common.Address) (event.Subscription, error)

WatchCooldown is a free log subscription operation binding the contract event 0x8a05f911d8ab7fc50fec37ef4ba7f9bfcb1a3c191c81dcd824ad0946c4e20d65.

Solidity: event Cooldown(address indexed staker, uint256 cooldown)

func (*MapleStakeLockerFilterer) WatchCustodyAllowanceChanged

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchCustodyAllowanceChanged(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerCustodyAllowanceChanged, staker []common.Address, custodian []common.Address) (event.Subscription, error)

WatchCustodyAllowanceChanged is a free log subscription operation binding the contract event 0x847e03d69a7075471d42285f4ac63570c10f3012d8bf736d66de2eef17aac3e8.

Solidity: event CustodyAllowanceChanged(address indexed staker, address indexed custodian, uint256 oldAllowance, uint256 newAllowance)

func (*MapleStakeLockerFilterer) WatchCustodyTransfer

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchCustodyTransfer(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerCustodyTransfer, custodian []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchCustodyTransfer is a free log subscription operation binding the contract event 0xfaa022ea2cd7f14157070896fabadafe96cc4d4714eef7ae6a992a5084493ed5.

Solidity: event CustodyTransfer(address indexed custodian, address indexed from, address indexed to, uint256 amount)

func (*MapleStakeLockerFilterer) WatchFundsDistributed

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchFundsDistributed(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerFundsDistributed, by []common.Address) (event.Subscription, error)

WatchFundsDistributed is a free log subscription operation binding the contract event 0x26536799ace2c3dbe12e638ec3ade6b4173dcf1289be0a58d51a5003015649bd.

Solidity: event FundsDistributed(address indexed by, uint256 fundsDistributed)

func (*MapleStakeLockerFilterer) WatchFundsWithdrawn

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchFundsWithdrawn(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerFundsWithdrawn, by []common.Address) (event.Subscription, error)

WatchFundsWithdrawn is a free log subscription operation binding the contract event 0xfbc3a599b784fe88772fc5abcc07223f64ca0b13acc341f4fb1e46bef0510eb4.

Solidity: event FundsWithdrawn(address indexed by, uint256 fundsWithdrawn, uint256 totalWithdrawn)

func (*MapleStakeLockerFilterer) WatchLockupPeriodUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchLockupPeriodUpdated(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerLockupPeriodUpdated) (event.Subscription, error)

WatchLockupPeriodUpdated is a free log subscription operation binding the contract event 0xcc67306c5d19f79a73208a1270ca19eb367b4bd5258eac096e974365d18e432c.

Solidity: event LockupPeriodUpdated(uint256 lockupPeriod)

func (*MapleStakeLockerFilterer) WatchLossesCorrectionUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchLossesCorrectionUpdated(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerLossesCorrectionUpdated, account []common.Address) (event.Subscription, error)

WatchLossesCorrectionUpdated is a free log subscription operation binding the contract event 0xb464de3159e090617503d0166bff9ffeecdefd42cd9dbb49f918df95a80fdea3.

Solidity: event LossesCorrectionUpdated(address indexed account, int256 lossesCorrection)

func (*MapleStakeLockerFilterer) WatchLossesDistributed

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchLossesDistributed(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerLossesDistributed, by []common.Address) (event.Subscription, error)

WatchLossesDistributed is a free log subscription operation binding the contract event 0xf88156a8032a0d2c65df18fafaf84e0bea647b3d94a0f7fc6ab14c97dec2bf74.

Solidity: event LossesDistributed(address indexed by, uint256 lossesDistributed)

func (*MapleStakeLockerFilterer) WatchLossesPerShareUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchLossesPerShareUpdated(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerLossesPerShareUpdated) (event.Subscription, error)

WatchLossesPerShareUpdated is a free log subscription operation binding the contract event 0x240ce2b5ce9e9e5a70010c7f8034c233d89b7ce2d60f3a38d9bc3ca01a36f88c.

Solidity: event LossesPerShareUpdated(uint256 lossesPerShare)

func (*MapleStakeLockerFilterer) WatchLossesRecognized

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchLossesRecognized(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerLossesRecognized, by []common.Address) (event.Subscription, error)

WatchLossesRecognized is a free log subscription operation binding the contract event 0x814eba35782909dbbaeefb8104073dfca45de43173f7077970c1584b3cf918b5.

Solidity: event LossesRecognized(address indexed by, uint256 lossesRecognized, uint256 totalLossesRecognized)

func (*MapleStakeLockerFilterer) WatchPaused

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerPaused) (event.Subscription, error)

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

Solidity: event Paused(address account)

func (*MapleStakeLockerFilterer) WatchPointsCorrectionUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchPointsCorrectionUpdated(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerPointsCorrectionUpdated, account []common.Address) (event.Subscription, error)

WatchPointsCorrectionUpdated is a free log subscription operation binding the contract event 0xf694bebd33ada288ae2f4485315db76739e2d5501daf315e71c9d8f841aa7773.

Solidity: event PointsCorrectionUpdated(address indexed account, int256 pointsCorrection)

func (*MapleStakeLockerFilterer) WatchPointsPerShareUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchPointsPerShareUpdated(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerPointsPerShareUpdated) (event.Subscription, error)

WatchPointsPerShareUpdated is a free log subscription operation binding the contract event 0x1f8d7705f31c3337a080803a8ad7e71946fb88d84738879be2bf402f97156e96.

Solidity: event PointsPerShareUpdated(uint256 pointsPerShare)

func (*MapleStakeLockerFilterer) WatchStake

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchStake(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerStake, staker []common.Address) (event.Subscription, error)

WatchStake is a free log subscription operation binding the contract event 0xebedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a.

Solidity: event Stake(address indexed staker, uint256 amount)

func (*MapleStakeLockerFilterer) WatchStakeDateUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchStakeDateUpdated(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerStakeDateUpdated, staker []common.Address) (event.Subscription, error)

WatchStakeDateUpdated is a free log subscription operation binding the contract event 0x09686619568b9bd7c4faea3ba0efbeab967ec977167b97405ad208f1a9ccea69.

Solidity: event StakeDateUpdated(address indexed staker, uint256 stakeDate)

func (*MapleStakeLockerFilterer) WatchStakeLockerOpened

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchStakeLockerOpened(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerStakeLockerOpened) (event.Subscription, error)

WatchStakeLockerOpened is a free log subscription operation binding the contract event 0xd33782a61f25b663946a975c2c1799d6e6d2dc636024b8980789f9e9671abb78.

Solidity: event StakeLockerOpened()

func (*MapleStakeLockerFilterer) WatchTotalCustodyAllowanceUpdated

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchTotalCustodyAllowanceUpdated(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerTotalCustodyAllowanceUpdated, staker []common.Address) (event.Subscription, error)

WatchTotalCustodyAllowanceUpdated is a free log subscription operation binding the contract event 0xe7f3fb4dacbff434e6d283d891f199c48b05b1629f610bd7ddc62353e162fb16.

Solidity: event TotalCustodyAllowanceUpdated(address indexed staker, uint256 newTotalAllowance)

func (*MapleStakeLockerFilterer) WatchTransfer

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerTransfer, 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 (*MapleStakeLockerFilterer) WatchUnpaused

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused(address account)

func (*MapleStakeLockerFilterer) WatchUnstake

func (_MapleStakeLocker *MapleStakeLockerFilterer) WatchUnstake(opts *bind.WatchOpts, sink chan<- *MapleStakeLockerUnstake, staker []common.Address) (event.Subscription, error)

WatchUnstake is a free log subscription operation binding the contract event 0x85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd.

Solidity: event Unstake(address indexed staker, uint256 amount)

type MapleStakeLockerFundsDistributed

type MapleStakeLockerFundsDistributed struct {
	By               common.Address
	FundsDistributed *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

MapleStakeLockerFundsDistributed represents a FundsDistributed event raised by the MapleStakeLocker contract.

type MapleStakeLockerFundsDistributedIterator

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

MapleStakeLockerFundsDistributedIterator is returned from FilterFundsDistributed and is used to iterate over the raw logs and unpacked data for FundsDistributed events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerFundsDistributedIterator) Close

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

func (*MapleStakeLockerFundsDistributedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerFundsDistributedIterator) 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 MapleStakeLockerFundsWithdrawn

type MapleStakeLockerFundsWithdrawn struct {
	By             common.Address
	FundsWithdrawn *big.Int
	TotalWithdrawn *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

MapleStakeLockerFundsWithdrawn represents a FundsWithdrawn event raised by the MapleStakeLocker contract.

type MapleStakeLockerFundsWithdrawnIterator

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

MapleStakeLockerFundsWithdrawnIterator is returned from FilterFundsWithdrawn and is used to iterate over the raw logs and unpacked data for FundsWithdrawn events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerFundsWithdrawnIterator) Close

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

func (*MapleStakeLockerFundsWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerFundsWithdrawnIterator) 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 MapleStakeLockerLockupPeriodUpdated

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

MapleStakeLockerLockupPeriodUpdated represents a LockupPeriodUpdated event raised by the MapleStakeLocker contract.

type MapleStakeLockerLockupPeriodUpdatedIterator

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

MapleStakeLockerLockupPeriodUpdatedIterator is returned from FilterLockupPeriodUpdated and is used to iterate over the raw logs and unpacked data for LockupPeriodUpdated events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerLockupPeriodUpdatedIterator) Close

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

func (*MapleStakeLockerLockupPeriodUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerLockupPeriodUpdatedIterator) 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 MapleStakeLockerLossesCorrectionUpdated

type MapleStakeLockerLossesCorrectionUpdated struct {
	Account          common.Address
	LossesCorrection *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

MapleStakeLockerLossesCorrectionUpdated represents a LossesCorrectionUpdated event raised by the MapleStakeLocker contract.

type MapleStakeLockerLossesCorrectionUpdatedIterator

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

MapleStakeLockerLossesCorrectionUpdatedIterator is returned from FilterLossesCorrectionUpdated and is used to iterate over the raw logs and unpacked data for LossesCorrectionUpdated events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerLossesCorrectionUpdatedIterator) Close

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

func (*MapleStakeLockerLossesCorrectionUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerLossesCorrectionUpdatedIterator) 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 MapleStakeLockerLossesDistributed

type MapleStakeLockerLossesDistributed struct {
	By                common.Address
	LossesDistributed *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

MapleStakeLockerLossesDistributed represents a LossesDistributed event raised by the MapleStakeLocker contract.

type MapleStakeLockerLossesDistributedIterator

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

MapleStakeLockerLossesDistributedIterator is returned from FilterLossesDistributed and is used to iterate over the raw logs and unpacked data for LossesDistributed events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerLossesDistributedIterator) Close

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

func (*MapleStakeLockerLossesDistributedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerLossesDistributedIterator) 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 MapleStakeLockerLossesPerShareUpdated

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

MapleStakeLockerLossesPerShareUpdated represents a LossesPerShareUpdated event raised by the MapleStakeLocker contract.

type MapleStakeLockerLossesPerShareUpdatedIterator

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

MapleStakeLockerLossesPerShareUpdatedIterator is returned from FilterLossesPerShareUpdated and is used to iterate over the raw logs and unpacked data for LossesPerShareUpdated events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerLossesPerShareUpdatedIterator) Close

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

func (*MapleStakeLockerLossesPerShareUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerLossesPerShareUpdatedIterator) 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 MapleStakeLockerLossesRecognized

type MapleStakeLockerLossesRecognized struct {
	By                    common.Address
	LossesRecognized      *big.Int
	TotalLossesRecognized *big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

MapleStakeLockerLossesRecognized represents a LossesRecognized event raised by the MapleStakeLocker contract.

type MapleStakeLockerLossesRecognizedIterator

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

MapleStakeLockerLossesRecognizedIterator is returned from FilterLossesRecognized and is used to iterate over the raw logs and unpacked data for LossesRecognized events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerLossesRecognizedIterator) Close

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

func (*MapleStakeLockerLossesRecognizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerLossesRecognizedIterator) 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 MapleStakeLockerPaused

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

MapleStakeLockerPaused represents a Paused event raised by the MapleStakeLocker contract.

type MapleStakeLockerPausedIterator

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

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

func (*MapleStakeLockerPausedIterator) Close

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

func (*MapleStakeLockerPausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerPausedIterator) 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 MapleStakeLockerPointsCorrectionUpdated

type MapleStakeLockerPointsCorrectionUpdated struct {
	Account          common.Address
	PointsCorrection *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

MapleStakeLockerPointsCorrectionUpdated represents a PointsCorrectionUpdated event raised by the MapleStakeLocker contract.

type MapleStakeLockerPointsCorrectionUpdatedIterator

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

MapleStakeLockerPointsCorrectionUpdatedIterator is returned from FilterPointsCorrectionUpdated and is used to iterate over the raw logs and unpacked data for PointsCorrectionUpdated events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerPointsCorrectionUpdatedIterator) Close

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

func (*MapleStakeLockerPointsCorrectionUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerPointsCorrectionUpdatedIterator) 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 MapleStakeLockerPointsPerShareUpdated

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

MapleStakeLockerPointsPerShareUpdated represents a PointsPerShareUpdated event raised by the MapleStakeLocker contract.

type MapleStakeLockerPointsPerShareUpdatedIterator

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

MapleStakeLockerPointsPerShareUpdatedIterator is returned from FilterPointsPerShareUpdated and is used to iterate over the raw logs and unpacked data for PointsPerShareUpdated events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerPointsPerShareUpdatedIterator) Close

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

func (*MapleStakeLockerPointsPerShareUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerPointsPerShareUpdatedIterator) 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 MapleStakeLockerRaw

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

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

func (*MapleStakeLockerRaw) Call

func (_MapleStakeLocker *MapleStakeLockerRaw) 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 (*MapleStakeLockerRaw) Transact

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

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

func (*MapleStakeLockerRaw) Transfer

func (_MapleStakeLocker *MapleStakeLockerRaw) 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 MapleStakeLockerSession

type MapleStakeLockerSession struct {
	Contract     *MapleStakeLocker // 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
}

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

func (*MapleStakeLockerSession) AccumulativeFundsOf

func (_MapleStakeLocker *MapleStakeLockerSession) AccumulativeFundsOf(_owner common.Address) (*big.Int, error)

AccumulativeFundsOf is a free data retrieval call binding the contract method 0x4e97415f.

Solidity: function accumulativeFundsOf(address _owner) view returns(uint256)

func (*MapleStakeLockerSession) AccumulativeLossesOf

func (_MapleStakeLocker *MapleStakeLockerSession) AccumulativeLossesOf(_owner common.Address) (*big.Int, error)

AccumulativeLossesOf is a free data retrieval call binding the contract method 0x40bde098.

Solidity: function accumulativeLossesOf(address _owner) view returns(uint256)

func (*MapleStakeLockerSession) Allowance

func (_MapleStakeLocker *MapleStakeLockerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*MapleStakeLockerSession) Allowed

func (_MapleStakeLocker *MapleStakeLockerSession) Allowed(arg0 common.Address) (bool, error)

Allowed is a free data retrieval call binding the contract method 0xd63a8e11.

Solidity: function allowed(address ) view returns(bool)

func (*MapleStakeLockerSession) Approve

func (_MapleStakeLocker *MapleStakeLockerSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*MapleStakeLockerSession) BalanceOf

func (_MapleStakeLocker *MapleStakeLockerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*MapleStakeLockerSession) BptLosses

func (_MapleStakeLocker *MapleStakeLockerSession) BptLosses() (*big.Int, error)

BptLosses is a free data retrieval call binding the contract method 0xaedc78c3.

Solidity: function bptLosses() view returns(uint256)

func (*MapleStakeLockerSession) CancelUnstake

func (_MapleStakeLocker *MapleStakeLockerSession) CancelUnstake() (*types.Transaction, error)

CancelUnstake is a paid mutator transaction binding the contract method 0x4ab17969.

Solidity: function cancelUnstake() returns()

func (*MapleStakeLockerSession) CustodyAllowance

func (_MapleStakeLocker *MapleStakeLockerSession) CustodyAllowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

CustodyAllowance is a free data retrieval call binding the contract method 0xc965b548.

Solidity: function custodyAllowance(address , address ) view returns(uint256)

func (*MapleStakeLockerSession) Decimals

func (_MapleStakeLocker *MapleStakeLockerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*MapleStakeLockerSession) DecreaseAllowance

func (_MapleStakeLocker *MapleStakeLockerSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*MapleStakeLockerSession) FundsToken

func (_MapleStakeLocker *MapleStakeLockerSession) FundsToken() (common.Address, error)

FundsToken is a free data retrieval call binding the contract method 0x63f04b15.

Solidity: function fundsToken() view returns(address)

func (*MapleStakeLockerSession) FundsTokenBalance

func (_MapleStakeLocker *MapleStakeLockerSession) FundsTokenBalance() (*big.Int, error)

FundsTokenBalance is a free data retrieval call binding the contract method 0xa9691f3f.

Solidity: function fundsTokenBalance() view returns(uint256)

func (*MapleStakeLockerSession) IncreaseAllowance

func (_MapleStakeLocker *MapleStakeLockerSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*MapleStakeLockerSession) IncreaseCustodyAllowance

func (_MapleStakeLocker *MapleStakeLockerSession) IncreaseCustodyAllowance(custodian common.Address, amount *big.Int) (*types.Transaction, error)

IncreaseCustodyAllowance is a paid mutator transaction binding the contract method 0x27f91856.

Solidity: function increaseCustodyAllowance(address custodian, uint256 amount) returns()

func (*MapleStakeLockerSession) IntendToUnstake

func (_MapleStakeLocker *MapleStakeLockerSession) IntendToUnstake() (*types.Transaction, error)

IntendToUnstake is a paid mutator transaction binding the contract method 0x8a10555c.

Solidity: function intendToUnstake() returns()

func (*MapleStakeLockerSession) IsReceiveAllowed

func (_MapleStakeLocker *MapleStakeLockerSession) IsReceiveAllowed(_unstakeCooldown *big.Int) (bool, error)

IsReceiveAllowed is a free data retrieval call binding the contract method 0xfab11078.

Solidity: function isReceiveAllowed(uint256 _unstakeCooldown) view returns(bool)

func (*MapleStakeLockerSession) IsUnstakeAllowed

func (_MapleStakeLocker *MapleStakeLockerSession) IsUnstakeAllowed(from common.Address) (bool, error)

IsUnstakeAllowed is a free data retrieval call binding the contract method 0x86bf1da3.

Solidity: function isUnstakeAllowed(address from) view returns(bool)

func (*MapleStakeLockerSession) LiquidityAsset

func (_MapleStakeLocker *MapleStakeLockerSession) LiquidityAsset() (common.Address, error)

LiquidityAsset is a free data retrieval call binding the contract method 0x209b2bca.

Solidity: function liquidityAsset() view returns(address)

func (*MapleStakeLockerSession) LockupPeriod

func (_MapleStakeLocker *MapleStakeLockerSession) LockupPeriod() (*big.Int, error)

LockupPeriod is a free data retrieval call binding the contract method 0xee947a7c.

Solidity: function lockupPeriod() view returns(uint256)

func (*MapleStakeLockerSession) LossesBalance

func (_MapleStakeLocker *MapleStakeLockerSession) LossesBalance() (*big.Int, error)

LossesBalance is a free data retrieval call binding the contract method 0xfec984e3.

Solidity: function lossesBalance() view returns(uint256)

func (*MapleStakeLockerSession) Name

func (_MapleStakeLocker *MapleStakeLockerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*MapleStakeLockerSession) OpenStakeLockerToPublic

func (_MapleStakeLocker *MapleStakeLockerSession) OpenStakeLockerToPublic() (*types.Transaction, error)

OpenStakeLockerToPublic is a paid mutator transaction binding the contract method 0x0e754e86.

Solidity: function openStakeLockerToPublic() returns()

func (*MapleStakeLockerSession) OpenToPublic

func (_MapleStakeLocker *MapleStakeLockerSession) OpenToPublic() (bool, error)

OpenToPublic is a free data retrieval call binding the contract method 0x1831ccf2.

Solidity: function openToPublic() view returns(bool)

func (*MapleStakeLockerSession) Pause

func (_MapleStakeLocker *MapleStakeLockerSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*MapleStakeLockerSession) Paused

func (_MapleStakeLocker *MapleStakeLockerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*MapleStakeLockerSession) Pool

func (_MapleStakeLocker *MapleStakeLockerSession) Pool() (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*MapleStakeLockerSession) Pull

func (_MapleStakeLocker *MapleStakeLockerSession) Pull(dst common.Address, amt *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.

Solidity: function pull(address dst, uint256 amt) returns()

func (*MapleStakeLockerSession) RecognizableLossesOf

func (_MapleStakeLocker *MapleStakeLockerSession) RecognizableLossesOf(_owner common.Address) (*big.Int, error)

RecognizableLossesOf is a free data retrieval call binding the contract method 0x66967791.

Solidity: function recognizableLossesOf(address _owner) view returns(uint256)

func (*MapleStakeLockerSession) RecognizedLossesOf

func (_MapleStakeLocker *MapleStakeLockerSession) RecognizedLossesOf(_owner common.Address) (*big.Int, error)

RecognizedLossesOf is a free data retrieval call binding the contract method 0xaed4966a.

Solidity: function recognizedLossesOf(address _owner) view returns(uint256)

func (*MapleStakeLockerSession) SetAllowlist

func (_MapleStakeLocker *MapleStakeLockerSession) SetAllowlist(staker common.Address, status bool) (*types.Transaction, error)

SetAllowlist is a paid mutator transaction binding the contract method 0xb12527f8.

Solidity: function setAllowlist(address staker, bool status) returns()

func (*MapleStakeLockerSession) SetLockupPeriod

func (_MapleStakeLocker *MapleStakeLockerSession) SetLockupPeriod(newLockupPeriod *big.Int) (*types.Transaction, error)

SetLockupPeriod is a paid mutator transaction binding the contract method 0xc771c390.

Solidity: function setLockupPeriod(uint256 newLockupPeriod) returns()

func (*MapleStakeLockerSession) Stake

func (_MapleStakeLocker *MapleStakeLockerSession) Stake(amt *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amt) returns()

func (*MapleStakeLockerSession) StakeAsset

func (_MapleStakeLocker *MapleStakeLockerSession) StakeAsset() (common.Address, error)

StakeAsset is a free data retrieval call binding the contract method 0x80cd916d.

Solidity: function stakeAsset() view returns(address)

func (*MapleStakeLockerSession) StakeDate

func (_MapleStakeLocker *MapleStakeLockerSession) StakeDate(arg0 common.Address) (*big.Int, error)

StakeDate is a free data retrieval call binding the contract method 0x5190bbaf.

Solidity: function stakeDate(address ) view returns(uint256)

func (*MapleStakeLockerSession) Symbol

func (_MapleStakeLocker *MapleStakeLockerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*MapleStakeLockerSession) TotalCustodyAllowance

func (_MapleStakeLocker *MapleStakeLockerSession) TotalCustodyAllowance(arg0 common.Address) (*big.Int, error)

TotalCustodyAllowance is a free data retrieval call binding the contract method 0xaf6d5571.

Solidity: function totalCustodyAllowance(address ) view returns(uint256)

func (*MapleStakeLockerSession) TotalSupply

func (_MapleStakeLocker *MapleStakeLockerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*MapleStakeLockerSession) Transfer

func (_MapleStakeLocker *MapleStakeLockerSession) 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 (*MapleStakeLockerSession) TransferByCustodian

func (_MapleStakeLocker *MapleStakeLockerSession) TransferByCustodian(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferByCustodian is a paid mutator transaction binding the contract method 0x2ac04ac8.

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

func (*MapleStakeLockerSession) TransferFrom

func (_MapleStakeLocker *MapleStakeLockerSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*MapleStakeLockerSession) Unpause

func (_MapleStakeLocker *MapleStakeLockerSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*MapleStakeLockerSession) Unstake

func (_MapleStakeLocker *MapleStakeLockerSession) Unstake(amt *big.Int) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0x2e17de78.

Solidity: function unstake(uint256 amt) returns()

func (*MapleStakeLockerSession) UnstakeCooldown

func (_MapleStakeLocker *MapleStakeLockerSession) UnstakeCooldown(arg0 common.Address) (*big.Int, error)

UnstakeCooldown is a free data retrieval call binding the contract method 0xff887130.

Solidity: function unstakeCooldown(address ) view returns(uint256)

func (*MapleStakeLockerSession) UpdateFundsReceived

func (_MapleStakeLocker *MapleStakeLockerSession) UpdateFundsReceived() (*types.Transaction, error)

UpdateFundsReceived is a paid mutator transaction binding the contract method 0x46c162de.

Solidity: function updateFundsReceived() returns()

func (*MapleStakeLockerSession) UpdateLosses

func (_MapleStakeLocker *MapleStakeLockerSession) UpdateLosses(bptsBurned *big.Int) (*types.Transaction, error)

UpdateLosses is a paid mutator transaction binding the contract method 0xbcd01be7.

Solidity: function updateLosses(uint256 bptsBurned) returns()

func (*MapleStakeLockerSession) UpdateLossesReceived

func (_MapleStakeLocker *MapleStakeLockerSession) UpdateLossesReceived() (*types.Transaction, error)

UpdateLossesReceived is a paid mutator transaction binding the contract method 0xcc0fef02.

Solidity: function updateLossesReceived() returns()

func (*MapleStakeLockerSession) WithdrawFunds

func (_MapleStakeLocker *MapleStakeLockerSession) WithdrawFunds() (*types.Transaction, error)

WithdrawFunds is a paid mutator transaction binding the contract method 0x24600fc3.

Solidity: function withdrawFunds() returns()

func (*MapleStakeLockerSession) WithdrawableFundsOf

func (_MapleStakeLocker *MapleStakeLockerSession) WithdrawableFundsOf(_owner common.Address) (*big.Int, error)

WithdrawableFundsOf is a free data retrieval call binding the contract method 0x443bb293.

Solidity: function withdrawableFundsOf(address _owner) view returns(uint256)

func (*MapleStakeLockerSession) WithdrawnFundsOf

func (_MapleStakeLocker *MapleStakeLockerSession) WithdrawnFundsOf(_owner common.Address) (*big.Int, error)

WithdrawnFundsOf is a free data retrieval call binding the contract method 0x0041c52c.

Solidity: function withdrawnFundsOf(address _owner) view returns(uint256)

type MapleStakeLockerStake

type MapleStakeLockerStake struct {
	Staker common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

MapleStakeLockerStake represents a Stake event raised by the MapleStakeLocker contract.

type MapleStakeLockerStakeDateUpdated

type MapleStakeLockerStakeDateUpdated struct {
	Staker    common.Address
	StakeDate *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

MapleStakeLockerStakeDateUpdated represents a StakeDateUpdated event raised by the MapleStakeLocker contract.

type MapleStakeLockerStakeDateUpdatedIterator

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

MapleStakeLockerStakeDateUpdatedIterator is returned from FilterStakeDateUpdated and is used to iterate over the raw logs and unpacked data for StakeDateUpdated events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerStakeDateUpdatedIterator) Close

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

func (*MapleStakeLockerStakeDateUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerStakeDateUpdatedIterator) 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 MapleStakeLockerStakeIterator

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

MapleStakeLockerStakeIterator is returned from FilterStake and is used to iterate over the raw logs and unpacked data for Stake events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerStakeIterator) Close

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

func (*MapleStakeLockerStakeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerStakeIterator) 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 MapleStakeLockerStakeLockerOpened

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

MapleStakeLockerStakeLockerOpened represents a StakeLockerOpened event raised by the MapleStakeLocker contract.

type MapleStakeLockerStakeLockerOpenedIterator

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

MapleStakeLockerStakeLockerOpenedIterator is returned from FilterStakeLockerOpened and is used to iterate over the raw logs and unpacked data for StakeLockerOpened events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerStakeLockerOpenedIterator) Close

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

func (*MapleStakeLockerStakeLockerOpenedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerStakeLockerOpenedIterator) 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 MapleStakeLockerTotalCustodyAllowanceUpdated

type MapleStakeLockerTotalCustodyAllowanceUpdated struct {
	Staker            common.Address
	NewTotalAllowance *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

MapleStakeLockerTotalCustodyAllowanceUpdated represents a TotalCustodyAllowanceUpdated event raised by the MapleStakeLocker contract.

type MapleStakeLockerTotalCustodyAllowanceUpdatedIterator

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

MapleStakeLockerTotalCustodyAllowanceUpdatedIterator is returned from FilterTotalCustodyAllowanceUpdated and is used to iterate over the raw logs and unpacked data for TotalCustodyAllowanceUpdated events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerTotalCustodyAllowanceUpdatedIterator) Close

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

func (*MapleStakeLockerTotalCustodyAllowanceUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerTotalCustodyAllowanceUpdatedIterator) 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 MapleStakeLockerTransactor

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

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

func NewMapleStakeLockerTransactor

func NewMapleStakeLockerTransactor(address common.Address, transactor bind.ContractTransactor) (*MapleStakeLockerTransactor, error)

NewMapleStakeLockerTransactor creates a new write-only instance of MapleStakeLocker, bound to a specific deployed contract.

func (*MapleStakeLockerTransactor) Approve

func (_MapleStakeLocker *MapleStakeLockerTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*MapleStakeLockerTransactor) CancelUnstake

func (_MapleStakeLocker *MapleStakeLockerTransactor) CancelUnstake(opts *bind.TransactOpts) (*types.Transaction, error)

CancelUnstake is a paid mutator transaction binding the contract method 0x4ab17969.

Solidity: function cancelUnstake() returns()

func (*MapleStakeLockerTransactor) DecreaseAllowance

func (_MapleStakeLocker *MapleStakeLockerTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*MapleStakeLockerTransactor) IncreaseAllowance

func (_MapleStakeLocker *MapleStakeLockerTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*MapleStakeLockerTransactor) IncreaseCustodyAllowance

func (_MapleStakeLocker *MapleStakeLockerTransactor) IncreaseCustodyAllowance(opts *bind.TransactOpts, custodian common.Address, amount *big.Int) (*types.Transaction, error)

IncreaseCustodyAllowance is a paid mutator transaction binding the contract method 0x27f91856.

Solidity: function increaseCustodyAllowance(address custodian, uint256 amount) returns()

func (*MapleStakeLockerTransactor) IntendToUnstake

func (_MapleStakeLocker *MapleStakeLockerTransactor) IntendToUnstake(opts *bind.TransactOpts) (*types.Transaction, error)

IntendToUnstake is a paid mutator transaction binding the contract method 0x8a10555c.

Solidity: function intendToUnstake() returns()

func (*MapleStakeLockerTransactor) OpenStakeLockerToPublic

func (_MapleStakeLocker *MapleStakeLockerTransactor) OpenStakeLockerToPublic(opts *bind.TransactOpts) (*types.Transaction, error)

OpenStakeLockerToPublic is a paid mutator transaction binding the contract method 0x0e754e86.

Solidity: function openStakeLockerToPublic() returns()

func (*MapleStakeLockerTransactor) Pause

func (_MapleStakeLocker *MapleStakeLockerTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*MapleStakeLockerTransactor) Pull

func (_MapleStakeLocker *MapleStakeLockerTransactor) Pull(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.

Solidity: function pull(address dst, uint256 amt) returns()

func (*MapleStakeLockerTransactor) SetAllowlist

func (_MapleStakeLocker *MapleStakeLockerTransactor) SetAllowlist(opts *bind.TransactOpts, staker common.Address, status bool) (*types.Transaction, error)

SetAllowlist is a paid mutator transaction binding the contract method 0xb12527f8.

Solidity: function setAllowlist(address staker, bool status) returns()

func (*MapleStakeLockerTransactor) SetLockupPeriod

func (_MapleStakeLocker *MapleStakeLockerTransactor) SetLockupPeriod(opts *bind.TransactOpts, newLockupPeriod *big.Int) (*types.Transaction, error)

SetLockupPeriod is a paid mutator transaction binding the contract method 0xc771c390.

Solidity: function setLockupPeriod(uint256 newLockupPeriod) returns()

func (*MapleStakeLockerTransactor) Stake

func (_MapleStakeLocker *MapleStakeLockerTransactor) Stake(opts *bind.TransactOpts, amt *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amt) returns()

func (*MapleStakeLockerTransactor) Transfer

func (_MapleStakeLocker *MapleStakeLockerTransactor) 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 (*MapleStakeLockerTransactor) TransferByCustodian

func (_MapleStakeLocker *MapleStakeLockerTransactor) TransferByCustodian(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferByCustodian is a paid mutator transaction binding the contract method 0x2ac04ac8.

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

func (*MapleStakeLockerTransactor) TransferFrom

func (_MapleStakeLocker *MapleStakeLockerTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*MapleStakeLockerTransactor) Unpause

func (_MapleStakeLocker *MapleStakeLockerTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*MapleStakeLockerTransactor) Unstake

func (_MapleStakeLocker *MapleStakeLockerTransactor) Unstake(opts *bind.TransactOpts, amt *big.Int) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0x2e17de78.

Solidity: function unstake(uint256 amt) returns()

func (*MapleStakeLockerTransactor) UpdateFundsReceived

func (_MapleStakeLocker *MapleStakeLockerTransactor) UpdateFundsReceived(opts *bind.TransactOpts) (*types.Transaction, error)

UpdateFundsReceived is a paid mutator transaction binding the contract method 0x46c162de.

Solidity: function updateFundsReceived() returns()

func (*MapleStakeLockerTransactor) UpdateLosses

func (_MapleStakeLocker *MapleStakeLockerTransactor) UpdateLosses(opts *bind.TransactOpts, bptsBurned *big.Int) (*types.Transaction, error)

UpdateLosses is a paid mutator transaction binding the contract method 0xbcd01be7.

Solidity: function updateLosses(uint256 bptsBurned) returns()

func (*MapleStakeLockerTransactor) UpdateLossesReceived

func (_MapleStakeLocker *MapleStakeLockerTransactor) UpdateLossesReceived(opts *bind.TransactOpts) (*types.Transaction, error)

UpdateLossesReceived is a paid mutator transaction binding the contract method 0xcc0fef02.

Solidity: function updateLossesReceived() returns()

func (*MapleStakeLockerTransactor) WithdrawFunds

func (_MapleStakeLocker *MapleStakeLockerTransactor) WithdrawFunds(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawFunds is a paid mutator transaction binding the contract method 0x24600fc3.

Solidity: function withdrawFunds() returns()

type MapleStakeLockerTransactorRaw

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

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

func (*MapleStakeLockerTransactorRaw) Transact

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

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

func (*MapleStakeLockerTransactorRaw) Transfer

func (_MapleStakeLocker *MapleStakeLockerTransactorRaw) 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 MapleStakeLockerTransactorSession

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

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

func (*MapleStakeLockerTransactorSession) Approve

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*MapleStakeLockerTransactorSession) CancelUnstake

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) CancelUnstake() (*types.Transaction, error)

CancelUnstake is a paid mutator transaction binding the contract method 0x4ab17969.

Solidity: function cancelUnstake() returns()

func (*MapleStakeLockerTransactorSession) DecreaseAllowance

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*MapleStakeLockerTransactorSession) IncreaseAllowance

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*MapleStakeLockerTransactorSession) IncreaseCustodyAllowance

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) IncreaseCustodyAllowance(custodian common.Address, amount *big.Int) (*types.Transaction, error)

IncreaseCustodyAllowance is a paid mutator transaction binding the contract method 0x27f91856.

Solidity: function increaseCustodyAllowance(address custodian, uint256 amount) returns()

func (*MapleStakeLockerTransactorSession) IntendToUnstake

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) IntendToUnstake() (*types.Transaction, error)

IntendToUnstake is a paid mutator transaction binding the contract method 0x8a10555c.

Solidity: function intendToUnstake() returns()

func (*MapleStakeLockerTransactorSession) OpenStakeLockerToPublic

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) OpenStakeLockerToPublic() (*types.Transaction, error)

OpenStakeLockerToPublic is a paid mutator transaction binding the contract method 0x0e754e86.

Solidity: function openStakeLockerToPublic() returns()

func (*MapleStakeLockerTransactorSession) Pause

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*MapleStakeLockerTransactorSession) Pull

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) Pull(dst common.Address, amt *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.

Solidity: function pull(address dst, uint256 amt) returns()

func (*MapleStakeLockerTransactorSession) SetAllowlist

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) SetAllowlist(staker common.Address, status bool) (*types.Transaction, error)

SetAllowlist is a paid mutator transaction binding the contract method 0xb12527f8.

Solidity: function setAllowlist(address staker, bool status) returns()

func (*MapleStakeLockerTransactorSession) SetLockupPeriod

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) SetLockupPeriod(newLockupPeriod *big.Int) (*types.Transaction, error)

SetLockupPeriod is a paid mutator transaction binding the contract method 0xc771c390.

Solidity: function setLockupPeriod(uint256 newLockupPeriod) returns()

func (*MapleStakeLockerTransactorSession) Stake

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) Stake(amt *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amt) returns()

func (*MapleStakeLockerTransactorSession) Transfer

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) 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 (*MapleStakeLockerTransactorSession) TransferByCustodian

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) TransferByCustodian(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferByCustodian is a paid mutator transaction binding the contract method 0x2ac04ac8.

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

func (*MapleStakeLockerTransactorSession) TransferFrom

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*MapleStakeLockerTransactorSession) Unpause

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*MapleStakeLockerTransactorSession) Unstake

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) Unstake(amt *big.Int) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0x2e17de78.

Solidity: function unstake(uint256 amt) returns()

func (*MapleStakeLockerTransactorSession) UpdateFundsReceived

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) UpdateFundsReceived() (*types.Transaction, error)

UpdateFundsReceived is a paid mutator transaction binding the contract method 0x46c162de.

Solidity: function updateFundsReceived() returns()

func (*MapleStakeLockerTransactorSession) UpdateLosses

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) UpdateLosses(bptsBurned *big.Int) (*types.Transaction, error)

UpdateLosses is a paid mutator transaction binding the contract method 0xbcd01be7.

Solidity: function updateLosses(uint256 bptsBurned) returns()

func (*MapleStakeLockerTransactorSession) UpdateLossesReceived

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) UpdateLossesReceived() (*types.Transaction, error)

UpdateLossesReceived is a paid mutator transaction binding the contract method 0xcc0fef02.

Solidity: function updateLossesReceived() returns()

func (*MapleStakeLockerTransactorSession) WithdrawFunds

func (_MapleStakeLocker *MapleStakeLockerTransactorSession) WithdrawFunds() (*types.Transaction, error)

WithdrawFunds is a paid mutator transaction binding the contract method 0x24600fc3.

Solidity: function withdrawFunds() returns()

type MapleStakeLockerTransfer

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

MapleStakeLockerTransfer represents a Transfer event raised by the MapleStakeLocker contract.

type MapleStakeLockerTransferIterator

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

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

func (*MapleStakeLockerTransferIterator) Close

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

func (*MapleStakeLockerTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerTransferIterator) 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 MapleStakeLockerUnpaused

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

MapleStakeLockerUnpaused represents a Unpaused event raised by the MapleStakeLocker contract.

type MapleStakeLockerUnpausedIterator

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

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

func (*MapleStakeLockerUnpausedIterator) Close

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

func (*MapleStakeLockerUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerUnpausedIterator) 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 MapleStakeLockerUnstake

type MapleStakeLockerUnstake struct {
	Staker common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

MapleStakeLockerUnstake represents a Unstake event raised by the MapleStakeLocker contract.

type MapleStakeLockerUnstakeIterator

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

MapleStakeLockerUnstakeIterator is returned from FilterUnstake and is used to iterate over the raw logs and unpacked data for Unstake events raised by the MapleStakeLocker contract.

func (*MapleStakeLockerUnstakeIterator) Close

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

func (*MapleStakeLockerUnstakeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleStakeLockerUnstakeIterator) 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 MapleXmpl

type MapleXmpl struct {
	MapleXmplCaller     // Read-only binding to the contract
	MapleXmplTransactor // Write-only binding to the contract
	MapleXmplFilterer   // Log filterer for contract events
}

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

func NewMapleXmpl

func NewMapleXmpl(address common.Address, backend bind.ContractBackend) (*MapleXmpl, error)

NewMapleXmpl creates a new instance of MapleXmpl, bound to a specific deployed contract.

type MapleXmplApproval

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

MapleXmplApproval represents a Approval event raised by the MapleXmpl contract.

type MapleXmplApprovalIterator

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

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

func (*MapleXmplApprovalIterator) Close

func (it *MapleXmplApprovalIterator) Close() error

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

func (*MapleXmplApprovalIterator) Error

func (it *MapleXmplApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleXmplApprovalIterator) Next

func (it *MapleXmplApprovalIterator) 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 MapleXmplCaller

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

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

func NewMapleXmplCaller

func NewMapleXmplCaller(address common.Address, caller bind.ContractCaller) (*MapleXmplCaller, error)

NewMapleXmplCaller creates a new read-only instance of MapleXmpl, bound to a specific deployed contract.

func (*MapleXmplCaller) Allowance

func (_MapleXmpl *MapleXmplCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

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

func (*MapleXmplCaller) Asset

func (_MapleXmpl *MapleXmplCaller) Asset(opts *bind.CallOpts) (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*MapleXmplCaller) BalanceOf

func (_MapleXmpl *MapleXmplCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

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

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

func (*MapleXmplCaller) BalanceOfAssets

func (_MapleXmpl *MapleXmplCaller) BalanceOfAssets(opts *bind.CallOpts, account_ common.Address) (*big.Int, error)

BalanceOfAssets is a free data retrieval call binding the contract method 0x9159b206.

Solidity: function balanceOfAssets(address account_) view returns(uint256 balanceOfAssets_)

func (*MapleXmplCaller) ConvertToAssets

func (_MapleXmpl *MapleXmplCaller) ConvertToAssets(opts *bind.CallOpts, shares_ *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 shares_) view returns(uint256 assets_)

func (*MapleXmplCaller) ConvertToShares

func (_MapleXmpl *MapleXmplCaller) ConvertToShares(opts *bind.CallOpts, assets_ *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 assets_) view returns(uint256 shares_)

func (*MapleXmplCaller) DOMAINSEPARATOR

func (_MapleXmpl *MapleXmplCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32 domainSeparator_)

func (*MapleXmplCaller) Decimals

func (_MapleXmpl *MapleXmplCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*MapleXmplCaller) FreeAssets

func (_MapleXmpl *MapleXmplCaller) FreeAssets(opts *bind.CallOpts) (*big.Int, error)

FreeAssets is a free data retrieval call binding the contract method 0x11f240ac.

Solidity: function freeAssets() view returns(uint256)

func (*MapleXmplCaller) IssuanceRate

func (_MapleXmpl *MapleXmplCaller) IssuanceRate(opts *bind.CallOpts) (*big.Int, error)

IssuanceRate is a free data retrieval call binding the contract method 0x3c9ae2ba.

Solidity: function issuanceRate() view returns(uint256)

func (*MapleXmplCaller) LastUpdated

func (_MapleXmpl *MapleXmplCaller) LastUpdated(opts *bind.CallOpts) (*big.Int, error)

LastUpdated is a free data retrieval call binding the contract method 0xd0b06f5d.

Solidity: function lastUpdated() view returns(uint256)

func (*MapleXmplCaller) MINIMUMMIGRATIONDELAY

func (_MapleXmpl *MapleXmplCaller) MINIMUMMIGRATIONDELAY(opts *bind.CallOpts) (*big.Int, error)

MINIMUMMIGRATIONDELAY is a free data retrieval call binding the contract method 0x6e2f2aca.

Solidity: function MINIMUM_MIGRATION_DELAY() view returns(uint256)

func (*MapleXmplCaller) MaxDeposit

func (_MapleXmpl *MapleXmplCaller) MaxDeposit(opts *bind.CallOpts, receiver_ common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

Solidity: function maxDeposit(address receiver_) pure returns(uint256 maxAssets_)

func (*MapleXmplCaller) MaxMint

func (_MapleXmpl *MapleXmplCaller) MaxMint(opts *bind.CallOpts, receiver_ common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

Solidity: function maxMint(address receiver_) pure returns(uint256 maxShares_)

func (*MapleXmplCaller) MaxRedeem

func (_MapleXmpl *MapleXmplCaller) MaxRedeem(opts *bind.CallOpts, owner_ common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

Solidity: function maxRedeem(address owner_) view returns(uint256 maxShares_)

func (*MapleXmplCaller) MaxWithdraw

func (_MapleXmpl *MapleXmplCaller) MaxWithdraw(opts *bind.CallOpts, owner_ common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address owner_) view returns(uint256 maxAssets_)

func (*MapleXmplCaller) Name

func (_MapleXmpl *MapleXmplCaller) 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 (*MapleXmplCaller) Nonces

func (_MapleXmpl *MapleXmplCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*MapleXmplCaller) Owner

func (_MapleXmpl *MapleXmplCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*MapleXmplCaller) PERMITTYPEHASH

func (_MapleXmpl *MapleXmplCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*MapleXmplCaller) PendingOwner

func (_MapleXmpl *MapleXmplCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*MapleXmplCaller) Precision

func (_MapleXmpl *MapleXmplCaller) Precision(opts *bind.CallOpts) (*big.Int, error)

Precision is a free data retrieval call binding the contract method 0xd3b5dc3b.

Solidity: function precision() view returns(uint256)

func (*MapleXmplCaller) PreviewDeposit

func (_MapleXmpl *MapleXmplCaller) PreviewDeposit(opts *bind.CallOpts, assets_ *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 assets_) view returns(uint256 shares_)

func (*MapleXmplCaller) PreviewMint

func (_MapleXmpl *MapleXmplCaller) PreviewMint(opts *bind.CallOpts, shares_ *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 shares_) view returns(uint256 assets_)

func (*MapleXmplCaller) PreviewRedeem

func (_MapleXmpl *MapleXmplCaller) PreviewRedeem(opts *bind.CallOpts, shares_ *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares_) view returns(uint256 assets_)

func (*MapleXmplCaller) PreviewWithdraw

func (_MapleXmpl *MapleXmplCaller) PreviewWithdraw(opts *bind.CallOpts, assets_ *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets_) view returns(uint256 shares_)

func (*MapleXmplCaller) ScheduledMigrationTimestamp

func (_MapleXmpl *MapleXmplCaller) ScheduledMigrationTimestamp(opts *bind.CallOpts) (*big.Int, error)

ScheduledMigrationTimestamp is a free data retrieval call binding the contract method 0x899d0c01.

Solidity: function scheduledMigrationTimestamp() view returns(uint256)

func (*MapleXmplCaller) ScheduledMigrator

func (_MapleXmpl *MapleXmplCaller) ScheduledMigrator(opts *bind.CallOpts) (common.Address, error)

ScheduledMigrator is a free data retrieval call binding the contract method 0x7bb002d6.

Solidity: function scheduledMigrator() view returns(address)

func (*MapleXmplCaller) ScheduledNewAsset

func (_MapleXmpl *MapleXmplCaller) ScheduledNewAsset(opts *bind.CallOpts) (common.Address, error)

ScheduledNewAsset is a free data retrieval call binding the contract method 0x36f8d3f1.

Solidity: function scheduledNewAsset() view returns(address)

func (*MapleXmplCaller) Symbol

func (_MapleXmpl *MapleXmplCaller) 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 (*MapleXmplCaller) TotalAssets

func (_MapleXmpl *MapleXmplCaller) TotalAssets(opts *bind.CallOpts) (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256 totalManagedAssets_)

func (*MapleXmplCaller) TotalSupply

func (_MapleXmpl *MapleXmplCaller) 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)

func (*MapleXmplCaller) VestingPeriodFinish

func (_MapleXmpl *MapleXmplCaller) VestingPeriodFinish(opts *bind.CallOpts) (*big.Int, error)

VestingPeriodFinish is a free data retrieval call binding the contract method 0x3c2f7773.

Solidity: function vestingPeriodFinish() view returns(uint256)

type MapleXmplCallerRaw

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

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

func (*MapleXmplCallerRaw) Call

func (_MapleXmpl *MapleXmplCallerRaw) 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 MapleXmplCallerSession

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

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

func (*MapleXmplCallerSession) Allowance

func (_MapleXmpl *MapleXmplCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

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

func (*MapleXmplCallerSession) Asset

func (_MapleXmpl *MapleXmplCallerSession) Asset() (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*MapleXmplCallerSession) BalanceOf

func (_MapleXmpl *MapleXmplCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

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

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

func (*MapleXmplCallerSession) BalanceOfAssets

func (_MapleXmpl *MapleXmplCallerSession) BalanceOfAssets(account_ common.Address) (*big.Int, error)

BalanceOfAssets is a free data retrieval call binding the contract method 0x9159b206.

Solidity: function balanceOfAssets(address account_) view returns(uint256 balanceOfAssets_)

func (*MapleXmplCallerSession) ConvertToAssets

func (_MapleXmpl *MapleXmplCallerSession) ConvertToAssets(shares_ *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 shares_) view returns(uint256 assets_)

func (*MapleXmplCallerSession) ConvertToShares

func (_MapleXmpl *MapleXmplCallerSession) ConvertToShares(assets_ *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 assets_) view returns(uint256 shares_)

func (*MapleXmplCallerSession) DOMAINSEPARATOR

func (_MapleXmpl *MapleXmplCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32 domainSeparator_)

func (*MapleXmplCallerSession) Decimals

func (_MapleXmpl *MapleXmplCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*MapleXmplCallerSession) FreeAssets

func (_MapleXmpl *MapleXmplCallerSession) FreeAssets() (*big.Int, error)

FreeAssets is a free data retrieval call binding the contract method 0x11f240ac.

Solidity: function freeAssets() view returns(uint256)

func (*MapleXmplCallerSession) IssuanceRate

func (_MapleXmpl *MapleXmplCallerSession) IssuanceRate() (*big.Int, error)

IssuanceRate is a free data retrieval call binding the contract method 0x3c9ae2ba.

Solidity: function issuanceRate() view returns(uint256)

func (*MapleXmplCallerSession) LastUpdated

func (_MapleXmpl *MapleXmplCallerSession) LastUpdated() (*big.Int, error)

LastUpdated is a free data retrieval call binding the contract method 0xd0b06f5d.

Solidity: function lastUpdated() view returns(uint256)

func (*MapleXmplCallerSession) MINIMUMMIGRATIONDELAY

func (_MapleXmpl *MapleXmplCallerSession) MINIMUMMIGRATIONDELAY() (*big.Int, error)

MINIMUMMIGRATIONDELAY is a free data retrieval call binding the contract method 0x6e2f2aca.

Solidity: function MINIMUM_MIGRATION_DELAY() view returns(uint256)

func (*MapleXmplCallerSession) MaxDeposit

func (_MapleXmpl *MapleXmplCallerSession) MaxDeposit(receiver_ common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

Solidity: function maxDeposit(address receiver_) pure returns(uint256 maxAssets_)

func (*MapleXmplCallerSession) MaxMint

func (_MapleXmpl *MapleXmplCallerSession) MaxMint(receiver_ common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

Solidity: function maxMint(address receiver_) pure returns(uint256 maxShares_)

func (*MapleXmplCallerSession) MaxRedeem

func (_MapleXmpl *MapleXmplCallerSession) MaxRedeem(owner_ common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

Solidity: function maxRedeem(address owner_) view returns(uint256 maxShares_)

func (*MapleXmplCallerSession) MaxWithdraw

func (_MapleXmpl *MapleXmplCallerSession) MaxWithdraw(owner_ common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address owner_) view returns(uint256 maxAssets_)

func (*MapleXmplCallerSession) Name

func (_MapleXmpl *MapleXmplCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*MapleXmplCallerSession) Nonces

func (_MapleXmpl *MapleXmplCallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*MapleXmplCallerSession) Owner

func (_MapleXmpl *MapleXmplCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*MapleXmplCallerSession) PERMITTYPEHASH

func (_MapleXmpl *MapleXmplCallerSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*MapleXmplCallerSession) PendingOwner

func (_MapleXmpl *MapleXmplCallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*MapleXmplCallerSession) Precision

func (_MapleXmpl *MapleXmplCallerSession) Precision() (*big.Int, error)

Precision is a free data retrieval call binding the contract method 0xd3b5dc3b.

Solidity: function precision() view returns(uint256)

func (*MapleXmplCallerSession) PreviewDeposit

func (_MapleXmpl *MapleXmplCallerSession) PreviewDeposit(assets_ *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 assets_) view returns(uint256 shares_)

func (*MapleXmplCallerSession) PreviewMint

func (_MapleXmpl *MapleXmplCallerSession) PreviewMint(shares_ *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 shares_) view returns(uint256 assets_)

func (*MapleXmplCallerSession) PreviewRedeem

func (_MapleXmpl *MapleXmplCallerSession) PreviewRedeem(shares_ *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares_) view returns(uint256 assets_)

func (*MapleXmplCallerSession) PreviewWithdraw

func (_MapleXmpl *MapleXmplCallerSession) PreviewWithdraw(assets_ *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets_) view returns(uint256 shares_)

func (*MapleXmplCallerSession) ScheduledMigrationTimestamp

func (_MapleXmpl *MapleXmplCallerSession) ScheduledMigrationTimestamp() (*big.Int, error)

ScheduledMigrationTimestamp is a free data retrieval call binding the contract method 0x899d0c01.

Solidity: function scheduledMigrationTimestamp() view returns(uint256)

func (*MapleXmplCallerSession) ScheduledMigrator

func (_MapleXmpl *MapleXmplCallerSession) ScheduledMigrator() (common.Address, error)

ScheduledMigrator is a free data retrieval call binding the contract method 0x7bb002d6.

Solidity: function scheduledMigrator() view returns(address)

func (*MapleXmplCallerSession) ScheduledNewAsset

func (_MapleXmpl *MapleXmplCallerSession) ScheduledNewAsset() (common.Address, error)

ScheduledNewAsset is a free data retrieval call binding the contract method 0x36f8d3f1.

Solidity: function scheduledNewAsset() view returns(address)

func (*MapleXmplCallerSession) Symbol

func (_MapleXmpl *MapleXmplCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*MapleXmplCallerSession) TotalAssets

func (_MapleXmpl *MapleXmplCallerSession) TotalAssets() (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256 totalManagedAssets_)

func (*MapleXmplCallerSession) TotalSupply

func (_MapleXmpl *MapleXmplCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*MapleXmplCallerSession) VestingPeriodFinish

func (_MapleXmpl *MapleXmplCallerSession) VestingPeriodFinish() (*big.Int, error)

VestingPeriodFinish is a free data retrieval call binding the contract method 0x3c2f7773.

Solidity: function vestingPeriodFinish() view returns(uint256)

type MapleXmplDeposit

type MapleXmplDeposit struct {
	Caller common.Address
	Owner  common.Address
	Assets *big.Int
	Shares *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

MapleXmplDeposit represents a Deposit event raised by the MapleXmpl contract.

type MapleXmplDepositIterator

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

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

func (*MapleXmplDepositIterator) Close

func (it *MapleXmplDepositIterator) Close() error

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

func (*MapleXmplDepositIterator) Error

func (it *MapleXmplDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleXmplDepositIterator) Next

func (it *MapleXmplDepositIterator) 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 MapleXmplFilterer

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

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

func NewMapleXmplFilterer

func NewMapleXmplFilterer(address common.Address, filterer bind.ContractFilterer) (*MapleXmplFilterer, error)

NewMapleXmplFilterer creates a new log filterer instance of MapleXmpl, bound to a specific deployed contract.

func (*MapleXmplFilterer) FilterApproval

func (_MapleXmpl *MapleXmplFilterer) FilterApproval(opts *bind.FilterOpts, owner_ []common.Address, spender_ []common.Address) (*MapleXmplApprovalIterator, error)

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

Solidity: event Approval(address indexed owner_, address indexed spender_, uint256 amount_)

func (*MapleXmplFilterer) FilterDeposit

func (_MapleXmpl *MapleXmplFilterer) FilterDeposit(opts *bind.FilterOpts, caller_ []common.Address, owner_ []common.Address) (*MapleXmplDepositIterator, error)

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

Solidity: event Deposit(address indexed caller_, address indexed owner_, uint256 assets_, uint256 shares_)

func (*MapleXmplFilterer) FilterIssuanceParamsUpdated

func (_MapleXmpl *MapleXmplFilterer) FilterIssuanceParamsUpdated(opts *bind.FilterOpts) (*MapleXmplIssuanceParamsUpdatedIterator, error)

FilterIssuanceParamsUpdated is a free log retrieval operation binding the contract event 0x68b521a89bf844ff03e484d89fd64ce292a698ec522170f0dad7ecd11c2dc8fa.

Solidity: event IssuanceParamsUpdated(uint256 freeAssets_, uint256 issuanceRate_)

func (*MapleXmplFilterer) FilterMigrationCancelled

func (_MapleXmpl *MapleXmplFilterer) FilterMigrationCancelled(opts *bind.FilterOpts) (*MapleXmplMigrationCancelledIterator, error)

FilterMigrationCancelled is a free log retrieval operation binding the contract event 0x29183829efed7c15f37ba982c36934966b558232f770f334108ac30e4301333a.

Solidity: event MigrationCancelled()

func (*MapleXmplFilterer) FilterMigrationPerformed

func (_MapleXmpl *MapleXmplFilterer) FilterMigrationPerformed(opts *bind.FilterOpts, fromAsset_ []common.Address, toAsset_ []common.Address) (*MapleXmplMigrationPerformedIterator, error)

FilterMigrationPerformed is a free log retrieval operation binding the contract event 0xd2b4bfa00cffc450ec3f60db3c511bebc1e88911c9c7b25ef8b294c934fa116c.

Solidity: event MigrationPerformed(address indexed fromAsset_, address indexed toAsset_, uint256 amount_)

func (*MapleXmplFilterer) FilterMigrationScheduled

func (_MapleXmpl *MapleXmplFilterer) FilterMigrationScheduled(opts *bind.FilterOpts, fromAsset_ []common.Address, toAsset_ []common.Address, migrator_ []common.Address) (*MapleXmplMigrationScheduledIterator, error)

FilterMigrationScheduled is a free log retrieval operation binding the contract event 0xfc384cf40fadcb79796c4f6b26dab65f122020fbffaa19c2ad28bf4da410cded.

Solidity: event MigrationScheduled(address indexed fromAsset_, address indexed toAsset_, address indexed migrator_, uint256 migrationTime_)

func (*MapleXmplFilterer) FilterOwnershipAccepted

func (_MapleXmpl *MapleXmplFilterer) FilterOwnershipAccepted(opts *bind.FilterOpts, previousOwner_ []common.Address, newOwner_ []common.Address) (*MapleXmplOwnershipAcceptedIterator, error)

FilterOwnershipAccepted is a free log retrieval operation binding the contract event 0x357bdeb5828fa83945f38a88510ce5cd7d628dafb346d767efbc693149fdd97c.

Solidity: event OwnershipAccepted(address indexed previousOwner_, address indexed newOwner_)

func (*MapleXmplFilterer) FilterPendingOwnerSet

func (_MapleXmpl *MapleXmplFilterer) FilterPendingOwnerSet(opts *bind.FilterOpts, owner_ []common.Address, pendingOwner_ []common.Address) (*MapleXmplPendingOwnerSetIterator, error)

FilterPendingOwnerSet is a free log retrieval operation binding the contract event 0xa86864fa6b65f969d5ac8391ddaac6a0eba3f41386cbf6e78c3e4d6c59eb115f.

Solidity: event PendingOwnerSet(address indexed owner_, address indexed pendingOwner_)

func (*MapleXmplFilterer) FilterTransfer

func (_MapleXmpl *MapleXmplFilterer) FilterTransfer(opts *bind.FilterOpts, owner_ []common.Address, recipient_ []common.Address) (*MapleXmplTransferIterator, error)

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

Solidity: event Transfer(address indexed owner_, address indexed recipient_, uint256 amount_)

func (*MapleXmplFilterer) FilterVestingScheduleUpdated

func (_MapleXmpl *MapleXmplFilterer) FilterVestingScheduleUpdated(opts *bind.FilterOpts, owner_ []common.Address) (*MapleXmplVestingScheduleUpdatedIterator, error)

FilterVestingScheduleUpdated is a free log retrieval operation binding the contract event 0x8c84e3b4df93f5b7c8d4ab6647708f5b14cacc124e22908187e30695ec54bab3.

Solidity: event VestingScheduleUpdated(address indexed owner_, uint256 vestingPeriodFinish_)

func (*MapleXmplFilterer) FilterWithdraw

func (_MapleXmpl *MapleXmplFilterer) FilterWithdraw(opts *bind.FilterOpts, caller_ []common.Address, receiver_ []common.Address, owner_ []common.Address) (*MapleXmplWithdrawIterator, error)

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

Solidity: event Withdraw(address indexed caller_, address indexed receiver_, address indexed owner_, uint256 assets_, uint256 shares_)

func (*MapleXmplFilterer) ParseApproval

func (_MapleXmpl *MapleXmplFilterer) ParseApproval(log types.Log) (*MapleXmplApproval, error)

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

Solidity: event Approval(address indexed owner_, address indexed spender_, uint256 amount_)

func (*MapleXmplFilterer) ParseDeposit

func (_MapleXmpl *MapleXmplFilterer) ParseDeposit(log types.Log) (*MapleXmplDeposit, error)

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

Solidity: event Deposit(address indexed caller_, address indexed owner_, uint256 assets_, uint256 shares_)

func (*MapleXmplFilterer) ParseIssuanceParamsUpdated

func (_MapleXmpl *MapleXmplFilterer) ParseIssuanceParamsUpdated(log types.Log) (*MapleXmplIssuanceParamsUpdated, error)

ParseIssuanceParamsUpdated is a log parse operation binding the contract event 0x68b521a89bf844ff03e484d89fd64ce292a698ec522170f0dad7ecd11c2dc8fa.

Solidity: event IssuanceParamsUpdated(uint256 freeAssets_, uint256 issuanceRate_)

func (*MapleXmplFilterer) ParseMigrationCancelled

func (_MapleXmpl *MapleXmplFilterer) ParseMigrationCancelled(log types.Log) (*MapleXmplMigrationCancelled, error)

ParseMigrationCancelled is a log parse operation binding the contract event 0x29183829efed7c15f37ba982c36934966b558232f770f334108ac30e4301333a.

Solidity: event MigrationCancelled()

func (*MapleXmplFilterer) ParseMigrationPerformed

func (_MapleXmpl *MapleXmplFilterer) ParseMigrationPerformed(log types.Log) (*MapleXmplMigrationPerformed, error)

ParseMigrationPerformed is a log parse operation binding the contract event 0xd2b4bfa00cffc450ec3f60db3c511bebc1e88911c9c7b25ef8b294c934fa116c.

Solidity: event MigrationPerformed(address indexed fromAsset_, address indexed toAsset_, uint256 amount_)

func (*MapleXmplFilterer) ParseMigrationScheduled

func (_MapleXmpl *MapleXmplFilterer) ParseMigrationScheduled(log types.Log) (*MapleXmplMigrationScheduled, error)

ParseMigrationScheduled is a log parse operation binding the contract event 0xfc384cf40fadcb79796c4f6b26dab65f122020fbffaa19c2ad28bf4da410cded.

Solidity: event MigrationScheduled(address indexed fromAsset_, address indexed toAsset_, address indexed migrator_, uint256 migrationTime_)

func (*MapleXmplFilterer) ParseOwnershipAccepted

func (_MapleXmpl *MapleXmplFilterer) ParseOwnershipAccepted(log types.Log) (*MapleXmplOwnershipAccepted, error)

ParseOwnershipAccepted is a log parse operation binding the contract event 0x357bdeb5828fa83945f38a88510ce5cd7d628dafb346d767efbc693149fdd97c.

Solidity: event OwnershipAccepted(address indexed previousOwner_, address indexed newOwner_)

func (*MapleXmplFilterer) ParsePendingOwnerSet

func (_MapleXmpl *MapleXmplFilterer) ParsePendingOwnerSet(log types.Log) (*MapleXmplPendingOwnerSet, error)

ParsePendingOwnerSet is a log parse operation binding the contract event 0xa86864fa6b65f969d5ac8391ddaac6a0eba3f41386cbf6e78c3e4d6c59eb115f.

Solidity: event PendingOwnerSet(address indexed owner_, address indexed pendingOwner_)

func (*MapleXmplFilterer) ParseTransfer

func (_MapleXmpl *MapleXmplFilterer) ParseTransfer(log types.Log) (*MapleXmplTransfer, error)

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

Solidity: event Transfer(address indexed owner_, address indexed recipient_, uint256 amount_)

func (*MapleXmplFilterer) ParseVestingScheduleUpdated

func (_MapleXmpl *MapleXmplFilterer) ParseVestingScheduleUpdated(log types.Log) (*MapleXmplVestingScheduleUpdated, error)

ParseVestingScheduleUpdated is a log parse operation binding the contract event 0x8c84e3b4df93f5b7c8d4ab6647708f5b14cacc124e22908187e30695ec54bab3.

Solidity: event VestingScheduleUpdated(address indexed owner_, uint256 vestingPeriodFinish_)

func (*MapleXmplFilterer) ParseWithdraw

func (_MapleXmpl *MapleXmplFilterer) ParseWithdraw(log types.Log) (*MapleXmplWithdraw, error)

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

Solidity: event Withdraw(address indexed caller_, address indexed receiver_, address indexed owner_, uint256 assets_, uint256 shares_)

func (*MapleXmplFilterer) WatchApproval

func (_MapleXmpl *MapleXmplFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MapleXmplApproval, 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 amount_)

func (*MapleXmplFilterer) WatchDeposit

func (_MapleXmpl *MapleXmplFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *MapleXmplDeposit, caller_ []common.Address, owner_ []common.Address) (event.Subscription, error)

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

Solidity: event Deposit(address indexed caller_, address indexed owner_, uint256 assets_, uint256 shares_)

func (*MapleXmplFilterer) WatchIssuanceParamsUpdated

func (_MapleXmpl *MapleXmplFilterer) WatchIssuanceParamsUpdated(opts *bind.WatchOpts, sink chan<- *MapleXmplIssuanceParamsUpdated) (event.Subscription, error)

WatchIssuanceParamsUpdated is a free log subscription operation binding the contract event 0x68b521a89bf844ff03e484d89fd64ce292a698ec522170f0dad7ecd11c2dc8fa.

Solidity: event IssuanceParamsUpdated(uint256 freeAssets_, uint256 issuanceRate_)

func (*MapleXmplFilterer) WatchMigrationCancelled

func (_MapleXmpl *MapleXmplFilterer) WatchMigrationCancelled(opts *bind.WatchOpts, sink chan<- *MapleXmplMigrationCancelled) (event.Subscription, error)

WatchMigrationCancelled is a free log subscription operation binding the contract event 0x29183829efed7c15f37ba982c36934966b558232f770f334108ac30e4301333a.

Solidity: event MigrationCancelled()

func (*MapleXmplFilterer) WatchMigrationPerformed

func (_MapleXmpl *MapleXmplFilterer) WatchMigrationPerformed(opts *bind.WatchOpts, sink chan<- *MapleXmplMigrationPerformed, fromAsset_ []common.Address, toAsset_ []common.Address) (event.Subscription, error)

WatchMigrationPerformed is a free log subscription operation binding the contract event 0xd2b4bfa00cffc450ec3f60db3c511bebc1e88911c9c7b25ef8b294c934fa116c.

Solidity: event MigrationPerformed(address indexed fromAsset_, address indexed toAsset_, uint256 amount_)

func (*MapleXmplFilterer) WatchMigrationScheduled

func (_MapleXmpl *MapleXmplFilterer) WatchMigrationScheduled(opts *bind.WatchOpts, sink chan<- *MapleXmplMigrationScheduled, fromAsset_ []common.Address, toAsset_ []common.Address, migrator_ []common.Address) (event.Subscription, error)

WatchMigrationScheduled is a free log subscription operation binding the contract event 0xfc384cf40fadcb79796c4f6b26dab65f122020fbffaa19c2ad28bf4da410cded.

Solidity: event MigrationScheduled(address indexed fromAsset_, address indexed toAsset_, address indexed migrator_, uint256 migrationTime_)

func (*MapleXmplFilterer) WatchOwnershipAccepted

func (_MapleXmpl *MapleXmplFilterer) WatchOwnershipAccepted(opts *bind.WatchOpts, sink chan<- *MapleXmplOwnershipAccepted, previousOwner_ []common.Address, newOwner_ []common.Address) (event.Subscription, error)

WatchOwnershipAccepted is a free log subscription operation binding the contract event 0x357bdeb5828fa83945f38a88510ce5cd7d628dafb346d767efbc693149fdd97c.

Solidity: event OwnershipAccepted(address indexed previousOwner_, address indexed newOwner_)

func (*MapleXmplFilterer) WatchPendingOwnerSet

func (_MapleXmpl *MapleXmplFilterer) WatchPendingOwnerSet(opts *bind.WatchOpts, sink chan<- *MapleXmplPendingOwnerSet, owner_ []common.Address, pendingOwner_ []common.Address) (event.Subscription, error)

WatchPendingOwnerSet is a free log subscription operation binding the contract event 0xa86864fa6b65f969d5ac8391ddaac6a0eba3f41386cbf6e78c3e4d6c59eb115f.

Solidity: event PendingOwnerSet(address indexed owner_, address indexed pendingOwner_)

func (*MapleXmplFilterer) WatchTransfer

func (_MapleXmpl *MapleXmplFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MapleXmplTransfer, owner_ []common.Address, recipient_ []common.Address) (event.Subscription, error)

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

Solidity: event Transfer(address indexed owner_, address indexed recipient_, uint256 amount_)

func (*MapleXmplFilterer) WatchVestingScheduleUpdated

func (_MapleXmpl *MapleXmplFilterer) WatchVestingScheduleUpdated(opts *bind.WatchOpts, sink chan<- *MapleXmplVestingScheduleUpdated, owner_ []common.Address) (event.Subscription, error)

WatchVestingScheduleUpdated is a free log subscription operation binding the contract event 0x8c84e3b4df93f5b7c8d4ab6647708f5b14cacc124e22908187e30695ec54bab3.

Solidity: event VestingScheduleUpdated(address indexed owner_, uint256 vestingPeriodFinish_)

func (*MapleXmplFilterer) WatchWithdraw

func (_MapleXmpl *MapleXmplFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *MapleXmplWithdraw, caller_ []common.Address, receiver_ []common.Address, owner_ []common.Address) (event.Subscription, error)

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

Solidity: event Withdraw(address indexed caller_, address indexed receiver_, address indexed owner_, uint256 assets_, uint256 shares_)

type MapleXmplIssuanceParamsUpdated

type MapleXmplIssuanceParamsUpdated struct {
	FreeAssets   *big.Int
	IssuanceRate *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

MapleXmplIssuanceParamsUpdated represents a IssuanceParamsUpdated event raised by the MapleXmpl contract.

type MapleXmplIssuanceParamsUpdatedIterator

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

MapleXmplIssuanceParamsUpdatedIterator is returned from FilterIssuanceParamsUpdated and is used to iterate over the raw logs and unpacked data for IssuanceParamsUpdated events raised by the MapleXmpl contract.

func (*MapleXmplIssuanceParamsUpdatedIterator) Close

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

func (*MapleXmplIssuanceParamsUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleXmplIssuanceParamsUpdatedIterator) 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 MapleXmplMigrationCancelled

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

MapleXmplMigrationCancelled represents a MigrationCancelled event raised by the MapleXmpl contract.

type MapleXmplMigrationCancelledIterator

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

MapleXmplMigrationCancelledIterator is returned from FilterMigrationCancelled and is used to iterate over the raw logs and unpacked data for MigrationCancelled events raised by the MapleXmpl contract.

func (*MapleXmplMigrationCancelledIterator) Close

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

func (*MapleXmplMigrationCancelledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleXmplMigrationCancelledIterator) 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 MapleXmplMigrationPerformed

type MapleXmplMigrationPerformed struct {
	FromAsset common.Address
	ToAsset   common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

MapleXmplMigrationPerformed represents a MigrationPerformed event raised by the MapleXmpl contract.

type MapleXmplMigrationPerformedIterator

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

MapleXmplMigrationPerformedIterator is returned from FilterMigrationPerformed and is used to iterate over the raw logs and unpacked data for MigrationPerformed events raised by the MapleXmpl contract.

func (*MapleXmplMigrationPerformedIterator) Close

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

func (*MapleXmplMigrationPerformedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleXmplMigrationPerformedIterator) 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 MapleXmplMigrationScheduled

type MapleXmplMigrationScheduled struct {
	FromAsset     common.Address
	ToAsset       common.Address
	Migrator      common.Address
	MigrationTime *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

MapleXmplMigrationScheduled represents a MigrationScheduled event raised by the MapleXmpl contract.

type MapleXmplMigrationScheduledIterator

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

MapleXmplMigrationScheduledIterator is returned from FilterMigrationScheduled and is used to iterate over the raw logs and unpacked data for MigrationScheduled events raised by the MapleXmpl contract.

func (*MapleXmplMigrationScheduledIterator) Close

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

func (*MapleXmplMigrationScheduledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleXmplMigrationScheduledIterator) 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 MapleXmplOwnershipAccepted

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

MapleXmplOwnershipAccepted represents a OwnershipAccepted event raised by the MapleXmpl contract.

type MapleXmplOwnershipAcceptedIterator

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

MapleXmplOwnershipAcceptedIterator is returned from FilterOwnershipAccepted and is used to iterate over the raw logs and unpacked data for OwnershipAccepted events raised by the MapleXmpl contract.

func (*MapleXmplOwnershipAcceptedIterator) Close

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

func (*MapleXmplOwnershipAcceptedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleXmplOwnershipAcceptedIterator) 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 MapleXmplPendingOwnerSet

type MapleXmplPendingOwnerSet struct {
	Owner        common.Address
	PendingOwner common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

MapleXmplPendingOwnerSet represents a PendingOwnerSet event raised by the MapleXmpl contract.

type MapleXmplPendingOwnerSetIterator

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

MapleXmplPendingOwnerSetIterator is returned from FilterPendingOwnerSet and is used to iterate over the raw logs and unpacked data for PendingOwnerSet events raised by the MapleXmpl contract.

func (*MapleXmplPendingOwnerSetIterator) Close

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

func (*MapleXmplPendingOwnerSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleXmplPendingOwnerSetIterator) 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 MapleXmplRaw

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

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

func (*MapleXmplRaw) Call

func (_MapleXmpl *MapleXmplRaw) 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 (*MapleXmplRaw) Transact

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

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

func (*MapleXmplRaw) Transfer

func (_MapleXmpl *MapleXmplRaw) 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 MapleXmplSession

type MapleXmplSession struct {
	Contract     *MapleXmpl        // 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
}

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

func (*MapleXmplSession) AcceptOwnership

func (_MapleXmpl *MapleXmplSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*MapleXmplSession) Allowance

func (_MapleXmpl *MapleXmplSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

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

func (*MapleXmplSession) Approve

func (_MapleXmpl *MapleXmplSession) Approve(spender_ common.Address, amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender_, uint256 amount_) returns(bool success_)

func (*MapleXmplSession) Asset

func (_MapleXmpl *MapleXmplSession) Asset() (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*MapleXmplSession) BalanceOf

func (_MapleXmpl *MapleXmplSession) BalanceOf(arg0 common.Address) (*big.Int, error)

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

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

func (*MapleXmplSession) BalanceOfAssets

func (_MapleXmpl *MapleXmplSession) BalanceOfAssets(account_ common.Address) (*big.Int, error)

BalanceOfAssets is a free data retrieval call binding the contract method 0x9159b206.

Solidity: function balanceOfAssets(address account_) view returns(uint256 balanceOfAssets_)

func (*MapleXmplSession) CancelMigration

func (_MapleXmpl *MapleXmplSession) CancelMigration() (*types.Transaction, error)

CancelMigration is a paid mutator transaction binding the contract method 0x10639ea0.

Solidity: function cancelMigration() returns()

func (*MapleXmplSession) ConvertToAssets

func (_MapleXmpl *MapleXmplSession) ConvertToAssets(shares_ *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 shares_) view returns(uint256 assets_)

func (*MapleXmplSession) ConvertToShares

func (_MapleXmpl *MapleXmplSession) ConvertToShares(assets_ *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 assets_) view returns(uint256 shares_)

func (*MapleXmplSession) DOMAINSEPARATOR

func (_MapleXmpl *MapleXmplSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32 domainSeparator_)

func (*MapleXmplSession) Decimals

func (_MapleXmpl *MapleXmplSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*MapleXmplSession) DecreaseAllowance

func (_MapleXmpl *MapleXmplSession) DecreaseAllowance(spender_ common.Address, subtractedAmount_ *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender_, uint256 subtractedAmount_) returns(bool success_)

func (*MapleXmplSession) Deposit

func (_MapleXmpl *MapleXmplSession) Deposit(assets_ *big.Int, receiver_ common.Address) (*types.Transaction, error)

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

Solidity: function deposit(uint256 assets_, address receiver_) returns(uint256 shares_)

func (*MapleXmplSession) DepositWithPermit

func (_MapleXmpl *MapleXmplSession) DepositWithPermit(assets_ *big.Int, receiver_ common.Address, deadline_ *big.Int, v_ uint8, r_ [32]byte, s_ [32]byte) (*types.Transaction, error)

DepositWithPermit is a paid mutator transaction binding the contract method 0x50921b23.

Solidity: function depositWithPermit(uint256 assets_, address receiver_, uint256 deadline_, uint8 v_, bytes32 r_, bytes32 s_) returns(uint256 shares_)

func (*MapleXmplSession) FreeAssets

func (_MapleXmpl *MapleXmplSession) FreeAssets() (*big.Int, error)

FreeAssets is a free data retrieval call binding the contract method 0x11f240ac.

Solidity: function freeAssets() view returns(uint256)

func (*MapleXmplSession) IncreaseAllowance

func (_MapleXmpl *MapleXmplSession) IncreaseAllowance(spender_ common.Address, addedAmount_ *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender_, uint256 addedAmount_) returns(bool success_)

func (*MapleXmplSession) IssuanceRate

func (_MapleXmpl *MapleXmplSession) IssuanceRate() (*big.Int, error)

IssuanceRate is a free data retrieval call binding the contract method 0x3c9ae2ba.

Solidity: function issuanceRate() view returns(uint256)

func (*MapleXmplSession) LastUpdated

func (_MapleXmpl *MapleXmplSession) LastUpdated() (*big.Int, error)

LastUpdated is a free data retrieval call binding the contract method 0xd0b06f5d.

Solidity: function lastUpdated() view returns(uint256)

func (*MapleXmplSession) MINIMUMMIGRATIONDELAY

func (_MapleXmpl *MapleXmplSession) MINIMUMMIGRATIONDELAY() (*big.Int, error)

MINIMUMMIGRATIONDELAY is a free data retrieval call binding the contract method 0x6e2f2aca.

Solidity: function MINIMUM_MIGRATION_DELAY() view returns(uint256)

func (*MapleXmplSession) MaxDeposit

func (_MapleXmpl *MapleXmplSession) MaxDeposit(receiver_ common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

Solidity: function maxDeposit(address receiver_) pure returns(uint256 maxAssets_)

func (*MapleXmplSession) MaxMint

func (_MapleXmpl *MapleXmplSession) MaxMint(receiver_ common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

Solidity: function maxMint(address receiver_) pure returns(uint256 maxShares_)

func (*MapleXmplSession) MaxRedeem

func (_MapleXmpl *MapleXmplSession) MaxRedeem(owner_ common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

Solidity: function maxRedeem(address owner_) view returns(uint256 maxShares_)

func (*MapleXmplSession) MaxWithdraw

func (_MapleXmpl *MapleXmplSession) MaxWithdraw(owner_ common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address owner_) view returns(uint256 maxAssets_)

func (*MapleXmplSession) Mint

func (_MapleXmpl *MapleXmplSession) Mint(shares_ *big.Int, receiver_ common.Address) (*types.Transaction, error)

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

Solidity: function mint(uint256 shares_, address receiver_) returns(uint256 assets_)

func (*MapleXmplSession) MintWithPermit

func (_MapleXmpl *MapleXmplSession) MintWithPermit(shares_ *big.Int, receiver_ common.Address, maxAssets_ *big.Int, deadline_ *big.Int, v_ uint8, r_ [32]byte, s_ [32]byte) (*types.Transaction, error)

MintWithPermit is a paid mutator transaction binding the contract method 0x60dd37d9.

Solidity: function mintWithPermit(uint256 shares_, address receiver_, uint256 maxAssets_, uint256 deadline_, uint8 v_, bytes32 r_, bytes32 s_) returns(uint256 assets_)

func (*MapleXmplSession) Name

func (_MapleXmpl *MapleXmplSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*MapleXmplSession) Nonces

func (_MapleXmpl *MapleXmplSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*MapleXmplSession) Owner

func (_MapleXmpl *MapleXmplSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*MapleXmplSession) PERMITTYPEHASH

func (_MapleXmpl *MapleXmplSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*MapleXmplSession) PendingOwner

func (_MapleXmpl *MapleXmplSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*MapleXmplSession) PerformMigration

func (_MapleXmpl *MapleXmplSession) PerformMigration() (*types.Transaction, error)

PerformMigration is a paid mutator transaction binding the contract method 0x6109ff4b.

Solidity: function performMigration() returns()

func (*MapleXmplSession) Permit

func (_MapleXmpl *MapleXmplSession) Permit(owner_ common.Address, spender_ common.Address, amount_ *big.Int, deadline_ *big.Int, v_ uint8, r_ [32]byte, s_ [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner_, address spender_, uint256 amount_, uint256 deadline_, uint8 v_, bytes32 r_, bytes32 s_) returns()

func (*MapleXmplSession) Precision

func (_MapleXmpl *MapleXmplSession) Precision() (*big.Int, error)

Precision is a free data retrieval call binding the contract method 0xd3b5dc3b.

Solidity: function precision() view returns(uint256)

func (*MapleXmplSession) PreviewDeposit

func (_MapleXmpl *MapleXmplSession) PreviewDeposit(assets_ *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 assets_) view returns(uint256 shares_)

func (*MapleXmplSession) PreviewMint

func (_MapleXmpl *MapleXmplSession) PreviewMint(shares_ *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 shares_) view returns(uint256 assets_)

func (*MapleXmplSession) PreviewRedeem

func (_MapleXmpl *MapleXmplSession) PreviewRedeem(shares_ *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares_) view returns(uint256 assets_)

func (*MapleXmplSession) PreviewWithdraw

func (_MapleXmpl *MapleXmplSession) PreviewWithdraw(assets_ *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets_) view returns(uint256 shares_)

func (*MapleXmplSession) Redeem

func (_MapleXmpl *MapleXmplSession) Redeem(shares_ *big.Int, receiver_ common.Address, owner_ common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 shares_, address receiver_, address owner_) returns(uint256 assets_)

func (*MapleXmplSession) ScheduleMigration

func (_MapleXmpl *MapleXmplSession) ScheduleMigration(migrator_ common.Address, newAsset_ common.Address) (*types.Transaction, error)

ScheduleMigration is a paid mutator transaction binding the contract method 0xab0b0fd3.

Solidity: function scheduleMigration(address migrator_, address newAsset_) returns()

func (*MapleXmplSession) ScheduledMigrationTimestamp

func (_MapleXmpl *MapleXmplSession) ScheduledMigrationTimestamp() (*big.Int, error)

ScheduledMigrationTimestamp is a free data retrieval call binding the contract method 0x899d0c01.

Solidity: function scheduledMigrationTimestamp() view returns(uint256)

func (*MapleXmplSession) ScheduledMigrator

func (_MapleXmpl *MapleXmplSession) ScheduledMigrator() (common.Address, error)

ScheduledMigrator is a free data retrieval call binding the contract method 0x7bb002d6.

Solidity: function scheduledMigrator() view returns(address)

func (*MapleXmplSession) ScheduledNewAsset

func (_MapleXmpl *MapleXmplSession) ScheduledNewAsset() (common.Address, error)

ScheduledNewAsset is a free data retrieval call binding the contract method 0x36f8d3f1.

Solidity: function scheduledNewAsset() view returns(address)

func (*MapleXmplSession) SetPendingOwner

func (_MapleXmpl *MapleXmplSession) SetPendingOwner(pendingOwner_ common.Address) (*types.Transaction, error)

SetPendingOwner is a paid mutator transaction binding the contract method 0xc42069ec.

Solidity: function setPendingOwner(address pendingOwner_) returns()

func (*MapleXmplSession) Symbol

func (_MapleXmpl *MapleXmplSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*MapleXmplSession) TotalAssets

func (_MapleXmpl *MapleXmplSession) TotalAssets() (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256 totalManagedAssets_)

func (*MapleXmplSession) TotalSupply

func (_MapleXmpl *MapleXmplSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*MapleXmplSession) Transfer

func (_MapleXmpl *MapleXmplSession) 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 success_)

func (*MapleXmplSession) TransferFrom

func (_MapleXmpl *MapleXmplSession) TransferFrom(owner_ 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 owner_, address recipient_, uint256 amount_) returns(bool success_)

func (*MapleXmplSession) UpdateVestingSchedule

func (_MapleXmpl *MapleXmplSession) UpdateVestingSchedule(vestingPeriod_ *big.Int) (*types.Transaction, error)

UpdateVestingSchedule is a paid mutator transaction binding the contract method 0xe13aa990.

Solidity: function updateVestingSchedule(uint256 vestingPeriod_) returns(uint256 issuanceRate_, uint256 freeAssets_)

func (*MapleXmplSession) VestingPeriodFinish

func (_MapleXmpl *MapleXmplSession) VestingPeriodFinish() (*big.Int, error)

VestingPeriodFinish is a free data retrieval call binding the contract method 0x3c2f7773.

Solidity: function vestingPeriodFinish() view returns(uint256)

func (*MapleXmplSession) Withdraw

func (_MapleXmpl *MapleXmplSession) Withdraw(assets_ *big.Int, receiver_ common.Address, owner_ common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xb460af94.

Solidity: function withdraw(uint256 assets_, address receiver_, address owner_) returns(uint256 shares_)

type MapleXmplTransactor

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

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

func NewMapleXmplTransactor

func NewMapleXmplTransactor(address common.Address, transactor bind.ContractTransactor) (*MapleXmplTransactor, error)

NewMapleXmplTransactor creates a new write-only instance of MapleXmpl, bound to a specific deployed contract.

func (*MapleXmplTransactor) AcceptOwnership

func (_MapleXmpl *MapleXmplTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*MapleXmplTransactor) Approve

func (_MapleXmpl *MapleXmplTransactor) Approve(opts *bind.TransactOpts, spender_ common.Address, amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender_, uint256 amount_) returns(bool success_)

func (*MapleXmplTransactor) CancelMigration

func (_MapleXmpl *MapleXmplTransactor) CancelMigration(opts *bind.TransactOpts) (*types.Transaction, error)

CancelMigration is a paid mutator transaction binding the contract method 0x10639ea0.

Solidity: function cancelMigration() returns()

func (*MapleXmplTransactor) DecreaseAllowance

func (_MapleXmpl *MapleXmplTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender_ common.Address, subtractedAmount_ *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender_, uint256 subtractedAmount_) returns(bool success_)

func (*MapleXmplTransactor) Deposit

func (_MapleXmpl *MapleXmplTransactor) Deposit(opts *bind.TransactOpts, assets_ *big.Int, receiver_ common.Address) (*types.Transaction, error)

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

Solidity: function deposit(uint256 assets_, address receiver_) returns(uint256 shares_)

func (*MapleXmplTransactor) DepositWithPermit

func (_MapleXmpl *MapleXmplTransactor) DepositWithPermit(opts *bind.TransactOpts, assets_ *big.Int, receiver_ common.Address, deadline_ *big.Int, v_ uint8, r_ [32]byte, s_ [32]byte) (*types.Transaction, error)

DepositWithPermit is a paid mutator transaction binding the contract method 0x50921b23.

Solidity: function depositWithPermit(uint256 assets_, address receiver_, uint256 deadline_, uint8 v_, bytes32 r_, bytes32 s_) returns(uint256 shares_)

func (*MapleXmplTransactor) IncreaseAllowance

func (_MapleXmpl *MapleXmplTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender_ common.Address, addedAmount_ *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender_, uint256 addedAmount_) returns(bool success_)

func (*MapleXmplTransactor) Mint

func (_MapleXmpl *MapleXmplTransactor) Mint(opts *bind.TransactOpts, shares_ *big.Int, receiver_ common.Address) (*types.Transaction, error)

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

Solidity: function mint(uint256 shares_, address receiver_) returns(uint256 assets_)

func (*MapleXmplTransactor) MintWithPermit

func (_MapleXmpl *MapleXmplTransactor) MintWithPermit(opts *bind.TransactOpts, shares_ *big.Int, receiver_ common.Address, maxAssets_ *big.Int, deadline_ *big.Int, v_ uint8, r_ [32]byte, s_ [32]byte) (*types.Transaction, error)

MintWithPermit is a paid mutator transaction binding the contract method 0x60dd37d9.

Solidity: function mintWithPermit(uint256 shares_, address receiver_, uint256 maxAssets_, uint256 deadline_, uint8 v_, bytes32 r_, bytes32 s_) returns(uint256 assets_)

func (*MapleXmplTransactor) PerformMigration

func (_MapleXmpl *MapleXmplTransactor) PerformMigration(opts *bind.TransactOpts) (*types.Transaction, error)

PerformMigration is a paid mutator transaction binding the contract method 0x6109ff4b.

Solidity: function performMigration() returns()

func (*MapleXmplTransactor) Permit

func (_MapleXmpl *MapleXmplTransactor) Permit(opts *bind.TransactOpts, owner_ common.Address, spender_ common.Address, amount_ *big.Int, deadline_ *big.Int, v_ uint8, r_ [32]byte, s_ [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner_, address spender_, uint256 amount_, uint256 deadline_, uint8 v_, bytes32 r_, bytes32 s_) returns()

func (*MapleXmplTransactor) Redeem

func (_MapleXmpl *MapleXmplTransactor) Redeem(opts *bind.TransactOpts, shares_ *big.Int, receiver_ common.Address, owner_ common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 shares_, address receiver_, address owner_) returns(uint256 assets_)

func (*MapleXmplTransactor) ScheduleMigration

func (_MapleXmpl *MapleXmplTransactor) ScheduleMigration(opts *bind.TransactOpts, migrator_ common.Address, newAsset_ common.Address) (*types.Transaction, error)

ScheduleMigration is a paid mutator transaction binding the contract method 0xab0b0fd3.

Solidity: function scheduleMigration(address migrator_, address newAsset_) returns()

func (*MapleXmplTransactor) SetPendingOwner

func (_MapleXmpl *MapleXmplTransactor) SetPendingOwner(opts *bind.TransactOpts, pendingOwner_ common.Address) (*types.Transaction, error)

SetPendingOwner is a paid mutator transaction binding the contract method 0xc42069ec.

Solidity: function setPendingOwner(address pendingOwner_) returns()

func (*MapleXmplTransactor) Transfer

func (_MapleXmpl *MapleXmplTransactor) 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 success_)

func (*MapleXmplTransactor) TransferFrom

func (_MapleXmpl *MapleXmplTransactor) TransferFrom(opts *bind.TransactOpts, owner_ 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 owner_, address recipient_, uint256 amount_) returns(bool success_)

func (*MapleXmplTransactor) UpdateVestingSchedule

func (_MapleXmpl *MapleXmplTransactor) UpdateVestingSchedule(opts *bind.TransactOpts, vestingPeriod_ *big.Int) (*types.Transaction, error)

UpdateVestingSchedule is a paid mutator transaction binding the contract method 0xe13aa990.

Solidity: function updateVestingSchedule(uint256 vestingPeriod_) returns(uint256 issuanceRate_, uint256 freeAssets_)

func (*MapleXmplTransactor) Withdraw

func (_MapleXmpl *MapleXmplTransactor) Withdraw(opts *bind.TransactOpts, assets_ *big.Int, receiver_ common.Address, owner_ common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xb460af94.

Solidity: function withdraw(uint256 assets_, address receiver_, address owner_) returns(uint256 shares_)

type MapleXmplTransactorRaw

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

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

func (*MapleXmplTransactorRaw) Transact

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

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

func (*MapleXmplTransactorRaw) Transfer

func (_MapleXmpl *MapleXmplTransactorRaw) 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 MapleXmplTransactorSession

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

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

func (*MapleXmplTransactorSession) AcceptOwnership

func (_MapleXmpl *MapleXmplTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*MapleXmplTransactorSession) Approve

func (_MapleXmpl *MapleXmplTransactorSession) Approve(spender_ common.Address, amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender_, uint256 amount_) returns(bool success_)

func (*MapleXmplTransactorSession) CancelMigration

func (_MapleXmpl *MapleXmplTransactorSession) CancelMigration() (*types.Transaction, error)

CancelMigration is a paid mutator transaction binding the contract method 0x10639ea0.

Solidity: function cancelMigration() returns()

func (*MapleXmplTransactorSession) DecreaseAllowance

func (_MapleXmpl *MapleXmplTransactorSession) DecreaseAllowance(spender_ common.Address, subtractedAmount_ *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender_, uint256 subtractedAmount_) returns(bool success_)

func (*MapleXmplTransactorSession) Deposit

func (_MapleXmpl *MapleXmplTransactorSession) Deposit(assets_ *big.Int, receiver_ common.Address) (*types.Transaction, error)

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

Solidity: function deposit(uint256 assets_, address receiver_) returns(uint256 shares_)

func (*MapleXmplTransactorSession) DepositWithPermit

func (_MapleXmpl *MapleXmplTransactorSession) DepositWithPermit(assets_ *big.Int, receiver_ common.Address, deadline_ *big.Int, v_ uint8, r_ [32]byte, s_ [32]byte) (*types.Transaction, error)

DepositWithPermit is a paid mutator transaction binding the contract method 0x50921b23.

Solidity: function depositWithPermit(uint256 assets_, address receiver_, uint256 deadline_, uint8 v_, bytes32 r_, bytes32 s_) returns(uint256 shares_)

func (*MapleXmplTransactorSession) IncreaseAllowance

func (_MapleXmpl *MapleXmplTransactorSession) IncreaseAllowance(spender_ common.Address, addedAmount_ *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender_, uint256 addedAmount_) returns(bool success_)

func (*MapleXmplTransactorSession) Mint

func (_MapleXmpl *MapleXmplTransactorSession) Mint(shares_ *big.Int, receiver_ common.Address) (*types.Transaction, error)

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

Solidity: function mint(uint256 shares_, address receiver_) returns(uint256 assets_)

func (*MapleXmplTransactorSession) MintWithPermit

func (_MapleXmpl *MapleXmplTransactorSession) MintWithPermit(shares_ *big.Int, receiver_ common.Address, maxAssets_ *big.Int, deadline_ *big.Int, v_ uint8, r_ [32]byte, s_ [32]byte) (*types.Transaction, error)

MintWithPermit is a paid mutator transaction binding the contract method 0x60dd37d9.

Solidity: function mintWithPermit(uint256 shares_, address receiver_, uint256 maxAssets_, uint256 deadline_, uint8 v_, bytes32 r_, bytes32 s_) returns(uint256 assets_)

func (*MapleXmplTransactorSession) PerformMigration

func (_MapleXmpl *MapleXmplTransactorSession) PerformMigration() (*types.Transaction, error)

PerformMigration is a paid mutator transaction binding the contract method 0x6109ff4b.

Solidity: function performMigration() returns()

func (*MapleXmplTransactorSession) Permit

func (_MapleXmpl *MapleXmplTransactorSession) Permit(owner_ common.Address, spender_ common.Address, amount_ *big.Int, deadline_ *big.Int, v_ uint8, r_ [32]byte, s_ [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner_, address spender_, uint256 amount_, uint256 deadline_, uint8 v_, bytes32 r_, bytes32 s_) returns()

func (*MapleXmplTransactorSession) Redeem

func (_MapleXmpl *MapleXmplTransactorSession) Redeem(shares_ *big.Int, receiver_ common.Address, owner_ common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 shares_, address receiver_, address owner_) returns(uint256 assets_)

func (*MapleXmplTransactorSession) ScheduleMigration

func (_MapleXmpl *MapleXmplTransactorSession) ScheduleMigration(migrator_ common.Address, newAsset_ common.Address) (*types.Transaction, error)

ScheduleMigration is a paid mutator transaction binding the contract method 0xab0b0fd3.

Solidity: function scheduleMigration(address migrator_, address newAsset_) returns()

func (*MapleXmplTransactorSession) SetPendingOwner

func (_MapleXmpl *MapleXmplTransactorSession) SetPendingOwner(pendingOwner_ common.Address) (*types.Transaction, error)

SetPendingOwner is a paid mutator transaction binding the contract method 0xc42069ec.

Solidity: function setPendingOwner(address pendingOwner_) returns()

func (*MapleXmplTransactorSession) Transfer

func (_MapleXmpl *MapleXmplTransactorSession) 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 success_)

func (*MapleXmplTransactorSession) TransferFrom

func (_MapleXmpl *MapleXmplTransactorSession) TransferFrom(owner_ 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 owner_, address recipient_, uint256 amount_) returns(bool success_)

func (*MapleXmplTransactorSession) UpdateVestingSchedule

func (_MapleXmpl *MapleXmplTransactorSession) UpdateVestingSchedule(vestingPeriod_ *big.Int) (*types.Transaction, error)

UpdateVestingSchedule is a paid mutator transaction binding the contract method 0xe13aa990.

Solidity: function updateVestingSchedule(uint256 vestingPeriod_) returns(uint256 issuanceRate_, uint256 freeAssets_)

func (*MapleXmplTransactorSession) Withdraw

func (_MapleXmpl *MapleXmplTransactorSession) Withdraw(assets_ *big.Int, receiver_ common.Address, owner_ common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xb460af94.

Solidity: function withdraw(uint256 assets_, address receiver_, address owner_) returns(uint256 shares_)

type MapleXmplTransfer

type MapleXmplTransfer struct {
	Owner     common.Address
	Recipient common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

MapleXmplTransfer represents a Transfer event raised by the MapleXmpl contract.

type MapleXmplTransferIterator

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

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

func (*MapleXmplTransferIterator) Close

func (it *MapleXmplTransferIterator) Close() error

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

func (*MapleXmplTransferIterator) Error

func (it *MapleXmplTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleXmplTransferIterator) Next

func (it *MapleXmplTransferIterator) 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 MapleXmplVestingScheduleUpdated

type MapleXmplVestingScheduleUpdated struct {
	Owner               common.Address
	VestingPeriodFinish *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

MapleXmplVestingScheduleUpdated represents a VestingScheduleUpdated event raised by the MapleXmpl contract.

type MapleXmplVestingScheduleUpdatedIterator

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

MapleXmplVestingScheduleUpdatedIterator is returned from FilterVestingScheduleUpdated and is used to iterate over the raw logs and unpacked data for VestingScheduleUpdated events raised by the MapleXmpl contract.

func (*MapleXmplVestingScheduleUpdatedIterator) Close

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

func (*MapleXmplVestingScheduleUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleXmplVestingScheduleUpdatedIterator) 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 MapleXmplWithdraw

type MapleXmplWithdraw struct {
	Caller   common.Address
	Receiver common.Address
	Owner    common.Address
	Assets   *big.Int
	Shares   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

MapleXmplWithdraw represents a Withdraw event raised by the MapleXmpl contract.

type MapleXmplWithdrawIterator

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

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

func (*MapleXmplWithdrawIterator) Close

func (it *MapleXmplWithdrawIterator) Close() error

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

func (*MapleXmplWithdrawIterator) Error

func (it *MapleXmplWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MapleXmplWithdrawIterator) Next

func (it *MapleXmplWithdrawIterator) 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL