gno.land/r/gnoswap/staker
README.md accessor.gno counter.gno deposit.gno doc.gno getter.gno getter_utils.gno gnomod.toml pool.gno proxy.gno state.gno store.gno tree.gno types.gno upgrade.gno
[
{
"FuncName": "NewCounter",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/staker.Counter",
"Value": ""
}
]
},
{
"FuncName": "NewDeposit",
"Params": [
{
"Name": "owner",
"Type": "string",
"Value": ""
},
{
"Name": "targetPoolPath",
"Type": "string",
"Value": ""
},
{
"Name": "liquidity",
"Type": "*gno.land/p/gnoswap/uint256.Uint",
"Value": ""
},
{
"Name": "currentTime",
"Type": "int64",
"Value": ""
},
{
"Name": "tickLower",
"Type": "int32",
"Value": ""
},
{
"Name": "tickUpper",
"Type": "int32",
"Value": ""
},
{
"Name": "warmups",
"Type": "[]gno.land/r/gnoswap/staker.Warmup",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/staker.Deposit",
"Value": ""
}
]
},
{
"FuncName": "NewWarmup",
"Params": [
{
"Name": "timeDuration",
"Type": "int64",
"Value": ""
},
{
"Name": "nextWarmupTime",
"Type": "int64",
"Value": ""
},
{
"Name": "warmupRatio",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "struct{TimeDuration int64; NextWarmupTime int64; WarmupRatio uint64}",
"Value": ""
}
]
},
{
"FuncName": "DefaultWarmupTemplate",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "[]gno.land/r/gnoswap/staker.Warmup",
"Value": ""
}
]
},
{
"FuncName": "DefaultAllowedTokens",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "[]string",
"Value": ""
}
]
},
{
"FuncName": "GetPool",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/staker.Pool",
"Value": ""
}
]
},
{
"FuncName": "GetIncentive",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/staker.ExternalIncentive",
"Value": ""
}
]
},
{
"FuncName": "GetDeposit",
"Params": [
{
"Name": "lpTokenId",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/staker.Deposit",
"Value": ""
}
]
},
{
"FuncName": "CollectableEmissionReward",
"Params": [
{
"Name": "positionId",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "CollectableExternalIncentiveReward",
"Params": [
{
"Name": "positionId",
"Type": "uint64",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetCreatedHeightOfIncentive",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetIncentiveCreatedTimestamp",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetIncentiveTotalRewardAmount",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetIncentiveDistributedRewardAmount",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetIncentiveRemainingRewardAmount",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetIncentiveAccumulatedPenaltyAmount",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetIncentiveDepositGnsAmount",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetIncentiveRefunded",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "bool",
"Value": ""
}
]
},
{
"FuncName": "IsIncentiveActive",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "bool",
"Value": ""
}
]
},
{
"FuncName": "GetDepositExternalRewardLastCollectTimestamp",
"Params": [
{
"Name": "lpTokenId",
"Type": "uint64",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetDepositGnsAmount",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetDepositInternalRewardLastCollectTimestamp",
"Params": [
{
"Name": "lpTokenId",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetDepositCollectedInternalReward",
"Params": [
{
"Name": "lpTokenId",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetDepositCollectedExternalReward",
"Params": [
{
"Name": "lpTokenId",
"Type": "uint64",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetDepositLiquidity",
"Params": [
{
"Name": "lpTokenId",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/p/gnoswap/uint256.Uint",
"Value": ""
}
]
},
{
"FuncName": "GetDepositLiquidityAsString",
"Params": [
{
"Name": "lpTokenId",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetDepositOwner",
"Params": [
{
"Name": "lpTokenId",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetDepositStakeTime",
"Params": [
{
"Name": "lpTokenId",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetDepositTargetPoolPath",
"Params": [
{
"Name": "lpTokenId",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetDepositTickLower",
"Params": [
{
"Name": "lpTokenId",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int32",
"Value": ""
}
]
},
{
"FuncName": "GetDepositTickUpper",
"Params": [
{
"Name": "lpTokenId",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int32",
"Value": ""
}
]
},
{
"FuncName": "GetDepositWarmUp",
"Params": [
{
"Name": "lpTokenId",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "[]gno.land/r/gnoswap/staker.Warmup",
"Value": ""
}
]
},
{
"FuncName": "GetDepositExternalIncentiveIdList",
"Params": [
{
"Name": "lpTokenId",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "[]string",
"Value": ""
}
]
},
{
"FuncName": "GetExternalIncentiveByPoolPath",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "[]gno.land/r/gnoswap/staker.ExternalIncentive",
"Value": ""
}
]
},
{
"FuncName": "GetIncentiveEndTimestamp",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetIncentiveCreator",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetIncentiveRewardAmount",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/p/gnoswap/uint256.Uint",
"Value": ""
}
]
},
{
"FuncName": "GetIncentiveRewardAmountAsString",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetIncentiveRewardPerSecondX128",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/p/gnoswap/uint256.Uint",
"Value": ""
}
]
},
{
"FuncName": "GetIncentiveRewardToken",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetIncentiveStartTimestamp",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetMinimumRewardAmount",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetMinimumRewardAmountForToken",
"Params": [
{
"Name": "tokenPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetPoolIncentiveIdList",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "[]string",
"Value": ""
}
]
},
{
"FuncName": "GetPoolStakedLiquidity",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetPoolsByTier",
"Params": [
{
"Name": "tier",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "[]string",
"Value": ""
}
]
},
{
"FuncName": "GetPoolReward",
"Params": [
{
"Name": "tier",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetPoolTier",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "uint64",
"Value": ""
}
]
},
{
"FuncName": "GetPoolTierCount",
"Params": [
{
"Name": "tier",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "uint64",
"Value": ""
}
]
},
{
"FuncName": "GetPoolTierRatio",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "uint64",
"Value": ""
}
]
},
{
"FuncName": "GetSpecificTokenMinimumRewardAmount",
"Params": [
{
"Name": "tokenPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
},
{
"Name": ".res.1",
"Type": "bool",
"Value": ""
}
]
},
{
"FuncName": "GetTargetPoolPathByIncentiveId",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetUnstakingFee",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "uint64",
"Value": ""
}
]
},
{
"FuncName": "IsStaked",
"Params": [
{
"Name": "positionId",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "bool",
"Value": ""
}
]
},
{
"FuncName": "GetTotalEmissionSent",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetAllowedTokens",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "[]string",
"Value": ""
}
]
},
{
"FuncName": "GetWarmupTemplate",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "[]gno.land/r/gnoswap/staker.Warmup",
"Value": ""
}
]
},
{
"FuncName": "GetPoolRewardCacheCount",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "uint64",
"Value": ""
}
]
},
{
"FuncName": "GetPoolRewardCacheIDs",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "offset",
"Type": "int",
"Value": ""
},
{
"Name": "count",
"Type": "int",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "[]int64",
"Value": ""
}
]
},
{
"FuncName": "GetPoolRewardCache",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "timestamp",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetPoolIncentiveCount",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "uint64",
"Value": ""
}
]
},
{
"FuncName": "GetPoolIncentiveIDs",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "offset",
"Type": "int",
"Value": ""
},
{
"Name": "count",
"Type": "int",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "[]string",
"Value": ""
}
]
},
{
"FuncName": "GetPoolGlobalRewardRatioAccumulationCount",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "uint64",
"Value": ""
}
]
},
{
"FuncName": "GetPoolGlobalRewardRatioAccumulationIDs",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "offset",
"Type": "int",
"Value": ""
},
{
"Name": "count",
"Type": "int",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "[]uint64",
"Value": ""
}
]
},
{
"FuncName": "GetPoolGlobalRewardRatioAccumulation",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "timestamp",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetPoolHistoricalTickCount",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "uint64",
"Value": ""
}
]
},
{
"FuncName": "GetPoolHistoricalTickIDs",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "offset",
"Type": "int",
"Value": ""
},
{
"Name": "count",
"Type": "int",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "[]int32",
"Value": ""
}
]
},
{
"FuncName": "GetPoolHistoricalTick",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "tick",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int32",
"Value": ""
}
]
},
{
"FuncName": "NewPool",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "currentTime",
"Type": "int64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/staker.Pool",
"Value": ""
}
]
},
{
"FuncName": "NewIncentives",
"Params": [
{
"Name": "targetPoolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/staker.Incentives",
"Value": ""
}
]
},
{
"FuncName": "NewExternalIncentive",
"Params": [
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
},
{
"Name": "targetPoolPath",
"Type": "string",
"Value": ""
},
{
"Name": "rewardToken",
"Type": "string",
"Value": ""
},
{
"Name": "rewardAmount",
"Type": "int64",
"Value": ""
},
{
"Name": "startTimestamp",
"Type": "int64",
"Value": ""
},
{
"Name": "endTimestamp",
"Type": "int64",
"Value": ""
},
{
"Name": "creator",
"Type": "string",
"Value": ""
},
{
"Name": "depositGnsAmount",
"Type": "int64",
"Value": ""
},
{
"Name": "createdHeight",
"Type": "int64",
"Value": ""
},
{
"Name": "currentTime",
"Type": "int64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/staker.ExternalIncentive",
"Value": ""
}
]
},
{
"FuncName": "NewTicks",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "struct{tree *gno.land/p/nt/bptree/v0.BPTree}",
"Value": ""
}
]
},
{
"FuncName": "NewTick",
"Params": [
{
"Name": "tickId",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/staker.Tick",
"Value": ""
}
]
},
{
"FuncName": "NewTierRatio",
"Params": [
{
"Name": "tier1",
"Type": "uint64",
"Value": ""
},
{
"Name": "tier2",
"Type": "uint64",
"Value": ""
},
{
"Name": "tier3",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "struct{Tier1 uint64; Tier2 uint64; Tier3 uint64}",
"Value": ""
}
]
},
{
"FuncName": "NewSwapBatchProcessor",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "pool",
"Type": "*gno.land/r/gnoswap/staker.Pool",
"Value": ""
},
{
"Name": "timestamp",
"Type": "int64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/staker.SwapBatchProcessor",
"Value": ""
}
]
},
{
"FuncName": "NewSwapTickCross",
"Params": [
{
"Name": "tickID",
"Type": "int32",
"Value": ""
},
{
"Name": "zeroForOne",
"Type": "bool",
"Value": ""
},
{
"Name": "delta",
"Type": "*gno.land/p/gnoswap/int256.Int",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/staker.SwapTickCross",
"Value": ""
}
]
},
{
"FuncName": "StakeToken",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "positionId",
"Type": "uint64",
"Value": ""
},
{
"Name": "referrer",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "UnStakeToken",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "positionId",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "CollectReward",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "positionId",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
},
{
"Name": ".res.1",
"Type": "string",
"Value": ""
},
{
"Name": ".res.2",
"Type": "map[string]int64",
"Value": ""
},
{
"Name": ".res.3",
"Type": "map[string]int64",
"Value": ""
}
]
},
{
"FuncName": "SetPoolTier",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "tier",
"Type": "uint64",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "ChangePoolTier",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "tier",
"Type": "uint64",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "RemovePoolTier",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "CreateExternalIncentive",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "targetPoolPath",
"Type": "string",
"Value": ""
},
{
"Name": "rewardToken",
"Type": "string",
"Value": ""
},
{
"Name": "rewardAmount",
"Type": "int64",
"Value": ""
},
{
"Name": "startTimestamp",
"Type": "int64",
"Value": ""
},
{
"Name": "endTimestamp",
"Type": "int64",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "EndExternalIncentive",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "targetPoolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
},
{
"Name": "refundAddress",
"Type": "string",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "CollectExternalIncentivePenalty",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "targetPoolPath",
"Type": "string",
"Value": ""
},
{
"Name": "incentiveId",
"Type": "string",
"Value": ""
},
{
"Name": "refundAddress",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "AddToken",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "tokenPath",
"Type": "string",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "RemoveToken",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "tokenPath",
"Type": "string",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "SetWarmUp",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "pct",
"Type": "int64",
"Value": ""
},
{
"Name": "timeDuration",
"Type": "int64",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "SetDepositGnsAmount",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "amount",
"Type": "int64",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "SetMinimumRewardAmount",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "amount",
"Type": "int64",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "SetTokenMinimumRewardAmount",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "paramsStr",
"Type": "string",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "SetUnStakingFee",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "fee",
"Type": "uint64",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "NewStakerStore",
"Params": [
{
"Name": "kvStore",
"Type": "interface {AddAuthorizedCaller func(int, .uverse.realm, .uverse.address, gno.land/p/gnoswap/store.Permission) .uverse.error; Delete func(int, .uverse.realm, string) .uverse.error; Get func(string) (interface {}, .uverse.error); GetAddress func(string) (.uverse.address, .uverse.error); GetAllKeys func() ([]string, .uverse.error); GetAuthorizedCallers func() (map[.uverse.address]gno.land/p/gnoswap/store.Permission, .uverse.error); GetBPTree func(string) (*gno.land/p/nt/bptree/v0.BPTree, .uverse.error); GetBool func(string) (bool, .uverse.error); GetDomainAddress func() .uverse.address; GetInt64 func(string) (int64, .uverse.error); GetString func(string) (string, .uverse.error); GetUint64 func(string) (uint64, .uverse.error); Has func(string) bool; IsWriteAuthorized func(.uverse.address) bool; RemoveAuthorizedCaller func(int, .uverse.realm, .uverse.address) .uverse.error; Set func(int, .uverse.realm, string, interface {}) .uverse.error; UpdateAuthorizedCaller func(int, .uverse.realm, .uverse.address, gno.land/p/gnoswap/store.Permission) .uverse.error}",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "interface {AddAllowedToken func(int, .uverse.realm, string) .uverse.error; GetAllowedTokens func() []string; GetCurrentSwapBatch func() *gno.land/r/gnoswap/staker.SwapBatchProcessor; GetDepositGnsAmount func() int64; GetDeposits func() *gno.land/p/nt/bptree/v0.BPTree; GetExternalIncentives func() *gno.land/p/nt/bptree/v0.BPTree; GetExternalIncentivesByCreationTime func() *gno.land/r/gnoswap/staker.UintTree; GetIncentiveCounter func() *gno.land/r/gnoswap/staker.Counter; GetMinimumRewardAmount func() int64; GetPendingProtocolFees func() map[string]int64; GetPoolTierCounts func() [4]uint64; GetPoolTierCurrentEmission func() int64; GetPoolTierGetEmission func() func() int64; GetPoolTierGetHalvingBlocksInRange func() func(int64, int64) ([]int64, []int64); GetPoolTierLastRewardCacheTimestamp func() int64; GetPoolTierMemberships func() *gno.land/p/nt/bptree/v0.BPTree; GetPoolTierRatio func() gno.land/r/gnoswap/staker.TierRatio; GetPools func() *gno.land/p/nt/bptree/v0.BPTree; GetTokenSpecificMinimumRewards func() map[string]int64; GetTotalEmissionSent func() int64; GetUnstakingFee func() uint64; GetWarmupTemplate func() []gno.land/r/gnoswap/staker.Warmup; HasAllowedTokensStoreKey func() bool; HasCurrentSwapBatchStoreKey func() bool; HasDepositGnsAmountStoreKey func() bool; HasDepositsStoreKey func() bool; HasExternalIncentivesByCreationTimeStoreKey func() bool; HasExternalIncentivesStoreKey func() bool; HasIncentiveCounterStoreKey func() bool; HasMinimumRewardAmountStoreKey func() bool; HasPendingProtocolFeesStoreKey func() bool; HasPoolTierCountsStoreKey func() bool; HasPoolTierCurrentEmissionStoreKey func() bool; HasPoolTierGetEmissionStoreKey func() bool; HasPoolTierGetHalvingBlocksInRangeStoreKey func() bool; HasPoolTierLastRewardCacheTimestampStoreKey func() bool; HasPoolTierMembershipsStoreKey func() bool; HasPoolTierRatioStoreKey func() bool; HasPoolsStoreKey func() bool; HasTokenSpecificMinimumRewardsStoreKey func() bool; HasTotalEmissionSentStoreKey func() bool; HasUnstakingFeeStoreKey func() bool; HasWarmupTemplateStoreKey func() bool; NextIncentiveID func(.uverse.address, int64) string; RemoveAllowedToken func(int, .uverse.realm, string) .uverse.error; RemoveTokenSpecificMinimumRewardItem func(int, .uverse.realm, string) .uverse.error; SetAllowedTokens func(int, .uverse.realm, []string) .uverse.error; SetCurrentSwapBatch func(int, .uverse.realm, *gno.land/r/gnoswap/staker.SwapBatchProcessor) .uverse.error; SetDepositGnsAmount func(int, .uverse.realm, int64) .uverse.error; SetDeposits func(int, .uverse.realm, *gno.land/p/nt/bptree/v0.BPTree) .uverse.error; SetExternalIncentives func(int, .uverse.realm, *gno.land/p/nt/bptree/v0.BPTree) .uverse.error; SetExternalIncentivesByCreationTime func(int, .uverse.realm, *gno.land/r/gnoswap/staker.UintTree) .uverse.error; SetIncentiveCounter func(int, .uverse.realm, *gno.land/r/gnoswap/staker.Counter) .uverse.error; SetMinimumRewardAmount func(int, .uverse.realm, int64) .uverse.error; SetPendingProtocolFees func(int, .uverse.realm, map[string]int64) .uverse.error; SetPoolTierCounts func(int, .uverse.realm, [4]uint64) .uverse.error; SetPoolTierCurrentEmission func(int, .uverse.realm, int64) .uverse.error; SetPoolTierGetEmission func(int, .uverse.realm, func() int64) .uverse.error; SetPoolTierGetHalvingBlocksInRange func(int, .uverse.realm, func(int64, int64) ([]int64, []int64)) .uverse.error; SetPoolTierLastRewardCacheTimestamp func(int, .uverse.realm, int64) .uverse.error; SetPoolTierMemberships func(int, .uverse.realm, *gno.land/p/nt/bptree/v0.BPTree) .uverse.error; SetPoolTierRatio func(int, .uverse.realm, gno.land/r/gnoswap/staker.TierRatio) .uverse.error; SetPools func(int, .uverse.realm, *gno.land/p/nt/bptree/v0.BPTree) .uverse.error; SetTokenSpecificMinimumRewardItem func(int, .uverse.realm, string, int64) .uverse.error; SetTokenSpecificMinimumRewards func(int, .uverse.realm, map[string]int64) .uverse.error; SetTotalEmissionSent func(int, .uverse.realm, int64) .uverse.error; SetUnstakingFee func(int, .uverse.realm, uint64) .uverse.error; SetWarmupTemplate func(int, .uverse.realm, []gno.land/r/gnoswap/staker.Warmup) .uverse.error}",
"Value": ""
}
]
},
{
"FuncName": "NewBPTreeN",
"Params": [
{
"Name": "fanout",
"Type": "int",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/p/nt/bptree/v0.BPTree",
"Value": ""
}
]
},
{
"FuncName": "NewUintTree",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/staker.UintTree",
"Value": ""
}
]
},
{
"FuncName": "NewUintTreeN",
"Params": [
{
"Name": "fanout",
"Type": "int",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/staker.UintTree",
"Value": ""
}
]
},
{
"FuncName": "EncodeUint",
"Params": [
{
"Name": "num",
"Type": "uint64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "EncodeInt64",
"Params": [
{
"Name": "num",
"Type": "int64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "DecodeUint",
"Params": [
{
"Name": "s",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "uint64",
"Value": ""
}
]
},
{
"FuncName": "DecodeInt64",
"Params": [
{
"Name": "s",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "EncodeInt",
"Params": [
{
"Name": "num",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "RegisterInitializer",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "initializer",
"Type": "func(int, .uverse.realm, gno.land/r/gnoswap/staker.IStakerStore, gno.land/r/gnoswap/staker.PoolAccessor, gno.land/r/gnoswap/staker.EmissionAccessor, gno.land/r/gnoswap/staker.NFTAccessor) gno.land/r/gnoswap/staker.IStaker",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "UpgradeImpl",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "packagePath",
"Type": "string",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "GetImplementationPackagePath",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
}
](empty)