Documentation
¶
Index ¶
- func CheckVestedDelegationInVestingAccount(account vesting.VestingAccount, blockTime time.Time, coin sdk.Coin) bool
- func NewMsgServerImpl(keeper *Keeper) types.MsgServer
- type Hooks
- func (h Hooks) AfterDelegationModified(_ context.Context, _ sdk.AccAddress, _ sdk.ValAddress) error
- func (h Hooks) AfterUnbondingInitiated(_ context.Context, _ uint64) error
- func (h Hooks) AfterValidatorBeginUnbonding(_ context.Context, _ sdk.ConsAddress, _ sdk.ValAddress) error
- func (h Hooks) AfterValidatorBonded(_ context.Context, _ sdk.ConsAddress, _ sdk.ValAddress) error
- func (h Hooks) AfterValidatorCreated(ctx context.Context, valAddr sdk.ValAddress) error
- func (h Hooks) AfterValidatorRemoved(ctx context.Context, _ sdk.ConsAddress, valAddr sdk.ValAddress) error
- func (h Hooks) BeforeDelegationCreated(_ context.Context, _ sdk.AccAddress, _ sdk.ValAddress) error
- func (h Hooks) BeforeDelegationRemoved(_ context.Context, _ sdk.AccAddress, _ sdk.ValAddress) error
- func (h Hooks) BeforeDelegationSharesModified(_ context.Context, _ sdk.AccAddress, _ sdk.ValAddress) error
- func (h Hooks) BeforeTokenizeShareRecordRemoved(_ context.Context, _ uint64) error
- func (h Hooks) BeforeValidatorModified(_ context.Context, _ sdk.ValAddress) error
- func (h Hooks) BeforeValidatorSlashed(ctx context.Context, valAddr sdk.ValAddress, fraction sdkmath.LegacyDec) error
- type Keeper
- func (k Keeper) AddTokenizeShareRecord(ctx context.Context, tokenizeShareRecord types.TokenizeShareRecord) error
- func (k Keeper) AddTokenizeSharesLock(ctx context.Context, address sdk.AccAddress)
- func (k *Keeper) BeginBlocker(ctx context.Context) error
- func (k Keeper) CancelTokenizeShareLockExpiration(ctx context.Context, address sdk.AccAddress, completionTime time.Time)
- func (k Keeper) CheckExceedsGlobalLiquidStakingCap(ctx context.Context, tokens math.Int, sharesAlreadyBonded bool) (bool, error)
- func (k Keeper) CheckExceedsValidatorLiquidStakingCap(ctx context.Context, validator types.LiquidValidator, shares math.LegacyDec, ...) (bool, error)
- func (k Keeper) DecreaseTotalLiquidStakedTokens(ctx context.Context, amount math.Int) error
- func (k Keeper) DecreaseValidatorLiquidShares(ctx context.Context, valAddress sdk.ValAddress, shares math.LegacyDec) (types.LiquidValidator, error)
- func (k Keeper) DelegatorIsLiquidStaker(delegatorAddress sdk.AccAddress) bool
- func (k Keeper) DeleteTokenizeShareRecord(ctx context.Context, recordID uint64) error
- func (k Keeper) ExportGenesis(ctx context.Context) *types.GenesisState
- func (k Keeper) GetAllTokenizeShareRecords(ctx context.Context) (tokenizeShareRecords []types.TokenizeShareRecord)
- func (k Keeper) GetAllTokenizeSharesLocks(ctx context.Context) (tokenizeShareLocks []types.TokenizeShareLock)
- func (k Keeper) GetAuthority() string
- func (k Keeper) GetLastTokenizeShareRecordID(ctx context.Context) uint64
- func (k Keeper) GetLiquidValidator(ctx context.Context, addr sdk.ValAddress) (validator types.LiquidValidator, err error)
- func (k Keeper) GetParams(ctx context.Context) (params types.Params, err error)
- func (k Keeper) GetPendingTokenizeShareAuthorizations(ctx context.Context, completionTime time.Time) types.PendingTokenizeShareAuthorizations
- func (k Keeper) GetTokenizeShareRecord(ctx context.Context, id uint64) (tokenizeShareRecord types.TokenizeShareRecord, err error)
- func (k Keeper) GetTokenizeShareRecordByDenom(ctx context.Context, denom string) (types.TokenizeShareRecord, error)
- func (k Keeper) GetTokenizeShareRecordsByOwner(ctx context.Context, owner sdk.AccAddress) (tokenizeShareRecords []types.TokenizeShareRecord)
- func (k Keeper) GetTokenizeSharesLock(ctx context.Context, address sdk.AccAddress) (status types.TokenizeShareLockStatus, unlockTime time.Time)
- func (k Keeper) GetTotalLiquidStakedTokens(ctx context.Context) math.Int
- func (k Keeper) GlobalLiquidStakingCap(ctx context.Context) (math.LegacyDec, error)
- func (k Keeper) Hooks() Hooks
- func (k Keeper) InitGenesis(ctx context.Context, data *types.GenesisState)
- func (k Keeper) Logger(ctx context.Context) log.Logger
- func (k Keeper) QueueTokenizeSharesAuthorization(ctx context.Context, address sdk.AccAddress) (time.Time, error)
- func (k Keeper) RemoveExpiredTokenizeShareLocks(ctx context.Context, blockTime time.Time) ([]string, error)
- func (k Keeper) RemoveLiquidValidator(ctx context.Context, addr sdk.ValAddress) error
- func (k Keeper) RemoveTokenizeSharesLock(ctx context.Context, address sdk.AccAddress)
- func (k Keeper) SafelyIncreaseTotalLiquidStakedTokens(ctx context.Context, amount math.Int, sharesAlreadyBonded bool) error
- func (k Keeper) SafelyIncreaseValidatorLiquidShares(ctx context.Context, valAddress sdk.ValAddress, shares math.LegacyDec, ...) (types.LiquidValidator, error)
- func (k Keeper) SetLastTokenizeShareRecordID(ctx context.Context, id uint64)
- func (k Keeper) SetLiquidValidator(ctx context.Context, validator types.LiquidValidator) error
- func (k Keeper) SetParams(ctx context.Context, params types.Params) error
- func (k Keeper) SetPendingTokenizeShareAuthorizations(ctx context.Context, completionTime time.Time, ...)
- func (k Keeper) SetTokenizeShareLocks(ctx context.Context, tokenizeShareLocks []types.TokenizeShareLock)
- func (k Keeper) SetTokenizeSharesUnlockTime(ctx context.Context, address sdk.AccAddress, completionTime time.Time)
- func (k Keeper) SetTotalLiquidStakedTokens(ctx context.Context, tokens math.Int)
- func (k Keeper) TokenizeShareRecordReward(c context.Context, req *types.QueryTokenizeShareRecordRewardRequest) (*types.QueryTokenizeShareRecordRewardResponse, error)
- func (k Keeper) ValidatorLiquidStakingCap(ctx context.Context) (math.LegacyDec, error)
- func (k Keeper) WithdrawAllTokenizeShareRecordReward(ctx sdk.Context, ownerAddr sdk.AccAddress) (sdk.Coins, error)
- func (k Keeper) WithdrawSingleShareRecordReward(ctx context.Context, recordID uint64) error
- func (k Keeper) WithdrawTokenizeShareRecordReward(ctx context.Context, ownerAddr sdk.AccAddress, recordID uint64) (sdk.Coins, error)
- type Querier
- func (k Querier) AllTokenizeShareRecords(c context.Context, req *types.QueryAllTokenizeShareRecordsRequest) (*types.QueryAllTokenizeShareRecordsResponse, error)
- func (k Querier) LastTokenizeShareRecordId(c context.Context, req *types.QueryLastTokenizeShareRecordIdRequest) (*types.QueryLastTokenizeShareRecordIdResponse, error)
- func (k Querier) LiquidValidator(c context.Context, req *types.QueryLiquidValidatorRequest) (*types.QueryLiquidValidatorResponse, error)
- func (k Querier) LiquidValidators(c context.Context, req *types.QueryLiquidValidatorsRequest) (*types.QueryLiquidValidatorsResponse, error)
- func (k Querier) Params(ctx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Querier) TokenizeShareLockInfo(c context.Context, req *types.QueryTokenizeShareLockInfo) (*types.QueryTokenizeShareLockInfoResponse, error)
- func (k Querier) TokenizeShareRecordByDenom(c context.Context, req *types.QueryTokenizeShareRecordByDenomRequest) (*types.QueryTokenizeShareRecordByDenomResponse, error)
- func (k Querier) TokenizeShareRecordById(c context.Context, req *types.QueryTokenizeShareRecordByIdRequest) (*types.QueryTokenizeShareRecordByIdResponse, error)
- func (k Querier) TokenizeShareRecordsOwned(c context.Context, req *types.QueryTokenizeShareRecordsOwnedRequest) (*types.QueryTokenizeShareRecordsOwnedResponse, error)
- func (k Querier) TotalLiquidStaked(c context.Context, req *types.QueryTotalLiquidStaked) (*types.QueryTotalLiquidStakedResponse, error)
- func (k Querier) TotalTokenizeSharedAssets(c context.Context, req *types.QueryTotalTokenizeSharedAssetsRequest) (*types.QueryTotalTokenizeSharedAssetsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckVestedDelegationInVestingAccount ¶
func CheckVestedDelegationInVestingAccount(account vesting.VestingAccount, blockTime time.Time, coin sdk.Coin) bool
CheckVestedDelegationInVestingAccount verifies whether the provided vesting account holds a vested delegation for an equal or greater amount of the specified coin at the given block time.
Note that this function facilitates a specific use-case in the LSM module for tokenizing vested delegations. For more details, see https://github.com/cosmos/gaia/issues/2877.
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the staking MsgServer interface for the provided Keeper.
Types ¶
type Hooks ¶
type Hooks struct {
// contains filtered or unexported fields
}
Wrapper struct
func (Hooks) AfterDelegationModified ¶
func (h Hooks) AfterDelegationModified(_ context.Context, _ sdk.AccAddress, _ sdk.ValAddress) error
func (Hooks) AfterUnbondingInitiated ¶
func (Hooks) AfterValidatorBeginUnbonding ¶
func (h Hooks) AfterValidatorBeginUnbonding(_ context.Context, _ sdk.ConsAddress, _ sdk.ValAddress) error
func (Hooks) AfterValidatorBonded ¶
func (h Hooks) AfterValidatorBonded(_ context.Context, _ sdk.ConsAddress, _ sdk.ValAddress) error
func (Hooks) AfterValidatorCreated ¶
initialize liquid validator record
func (Hooks) AfterValidatorRemoved ¶
func (h Hooks) AfterValidatorRemoved(ctx context.Context, _ sdk.ConsAddress, valAddr sdk.ValAddress) error
func (Hooks) BeforeDelegationCreated ¶
func (h Hooks) BeforeDelegationCreated(_ context.Context, _ sdk.AccAddress, _ sdk.ValAddress) error
func (Hooks) BeforeDelegationRemoved ¶
func (h Hooks) BeforeDelegationRemoved(_ context.Context, _ sdk.AccAddress, _ sdk.ValAddress) error
func (Hooks) BeforeDelegationSharesModified ¶
func (h Hooks) BeforeDelegationSharesModified(_ context.Context, _ sdk.AccAddress, _ sdk.ValAddress) error
func (Hooks) BeforeTokenizeShareRecordRemoved ¶
func (Hooks) BeforeValidatorModified ¶
func (Hooks) BeforeValidatorSlashed ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of the x/liquid store
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeService storetypes.KVStoreService, ak types.AccountKeeper, bk types.BankKeeper, sk types.StakingKeeper, dk types.DistributionKeeper, authority string, ) *Keeper
NewKeeper creates a new liquid Keeper instance
func (Keeper) AddTokenizeShareRecord ¶
func (Keeper) AddTokenizeSharesLock ¶
func (k Keeper) AddTokenizeSharesLock(ctx context.Context, address sdk.AccAddress)
Adds a lock that prevents tokenizing shares for an account The tokenize share lock store is implemented by keying on the account address and storing a timestamp as the value. The timestamp is empty when the lock is set and gets populated with the unlock completion time once the unlock has started
func (*Keeper) BeginBlocker ¶
BeginBlocker removes expired tokenize share locks
func (Keeper) CancelTokenizeShareLockExpiration ¶
func (k Keeper) CancelTokenizeShareLockExpiration(ctx context.Context, address sdk.AccAddress, completionTime time.Time)
Cancels a pending tokenize share authorization by removing the lock from the queue
func (Keeper) CheckExceedsGlobalLiquidStakingCap ¶
func (k Keeper) CheckExceedsGlobalLiquidStakingCap(ctx context.Context, tokens math.Int, sharesAlreadyBonded bool) (bool, error)
CheckExceedsGlobalLiquidStakingCap checks if a liquid delegation would cause the global liquid staking cap to be exceeded A liquid delegation is defined as tokenized shares The total stake is determined by the balance of the bonded pool If the delegation's shares are already bonded (e.g. in the event of a tokenized share) the tokens are already included in the bonded pool If the delegation's shares are not bonded (e.g. normal delegation), we need to add the tokens to the current bonded pool balance to get the total staked
func (Keeper) CheckExceedsValidatorLiquidStakingCap ¶
func (k Keeper) CheckExceedsValidatorLiquidStakingCap(ctx context.Context, validator types.LiquidValidator, shares math.LegacyDec, sharesAlreadyBonded bool, ) (bool, error)
CheckExceedsValidatorLiquidStakingCap checks if a liquid delegation could cause the total liquid shares to exceed the liquid staking cap A liquid delegation is defined as tokenized shares If the liquid delegation's shares are already bonded (e.g. in the event of a tokenized share) the tokens are already included in the validator's delegator shares If the liquid delegation's shares are not bonded (e.g. normal delegation), we need to add the shares to the current validator's delegator shares to get the total shares Returns true if the cap is exceeded
func (Keeper) DecreaseTotalLiquidStakedTokens ¶
DecreaseTotalLiquidStakedTokens decrements the total liquid staked tokens
func (Keeper) DecreaseValidatorLiquidShares ¶
func (k Keeper) DecreaseValidatorLiquidShares(ctx context.Context, valAddress sdk.ValAddress, shares math.LegacyDec, ) (types.LiquidValidator, error)
DecreaseValidatorLiquidShares decrements the liquid shares on a validator
func (Keeper) DelegatorIsLiquidStaker ¶
func (k Keeper) DelegatorIsLiquidStaker(delegatorAddress sdk.AccAddress) bool
Checks if an account associated with a given delegation is related to liquid staking
This is determined by checking if the account has a 32-length address which will identify the following scenarios:
- An account has tokenized their shares, and thus the delegation is owned by the tokenize share record module account
- A liquid staking provider is delegating through an ICA account
Both ICA accounts and tokenize share record module accounts have 32-length addresses NOTE: This will have to be refactored before adapting it to chains beyond gaia as other chains may have 32-length addresses that are not related to the above scenarios
func (Keeper) DeleteTokenizeShareRecord ¶
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx context.Context) *types.GenesisState
func (Keeper) GetAllTokenizeShareRecords ¶
func (k Keeper) GetAllTokenizeShareRecords(ctx context.Context) (tokenizeShareRecords []types.TokenizeShareRecord)
func (Keeper) GetAllTokenizeSharesLocks ¶
func (k Keeper) GetAllTokenizeSharesLocks(ctx context.Context) (tokenizeShareLocks []types.TokenizeShareLock)
Returns all tokenize share locks
func (Keeper) GetAuthority ¶
GetAuthority returns the x/liquid module's authority.
func (Keeper) GetLastTokenizeShareRecordID ¶
func (Keeper) GetLiquidValidator ¶
func (k Keeper) GetLiquidValidator(ctx context.Context, addr sdk.ValAddress) (validator types.LiquidValidator, err error, )
GetLiquidValidator gets a liquid validator record
func (Keeper) GetPendingTokenizeShareAuthorizations ¶
func (k Keeper) GetPendingTokenizeShareAuthorizations(ctx context.Context, completionTime time.Time) types.PendingTokenizeShareAuthorizations
Returns a list of addresses pending tokenize share unlocking at the same time
func (Keeper) GetTokenizeShareRecord ¶
func (Keeper) GetTokenizeShareRecordByDenom ¶
func (Keeper) GetTokenizeShareRecordsByOwner ¶
func (k Keeper) GetTokenizeShareRecordsByOwner(ctx context.Context, owner sdk.AccAddress) (tokenizeShareRecords []types.TokenizeShareRecord)
func (Keeper) GetTokenizeSharesLock ¶
func (k Keeper) GetTokenizeSharesLock(ctx context.Context, address sdk.AccAddress) (status types.TokenizeShareLockStatus, unlockTime time.Time)
Checks if there is currently a tokenize share lock for a given account Returns the status indicating whether the account is locked, unlocked, or as a lock expiring. If the lock is expiring, the expiration time is returned
func (Keeper) GetTotalLiquidStakedTokens ¶
GetTotalLiquidStakedTokens returns the total outstanding tokens owned by a liquid staking provider Returns zero if the total liquid stake amount has not been initialized
func (Keeper) GlobalLiquidStakingCap ¶
Global liquid staking cap across all liquid staking providers
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx context.Context, data *types.GenesisState)
InitGenesis sets liquid information for genesis
func (Keeper) QueueTokenizeSharesAuthorization ¶
func (k Keeper) QueueTokenizeSharesAuthorization(ctx context.Context, address sdk.AccAddress) (time.Time, error)
Inserts the address into a queue where it will sit for 1 unbonding period before the tokenize share lock is removed Returns the completion time
func (Keeper) RemoveExpiredTokenizeShareLocks ¶
func (k Keeper) RemoveExpiredTokenizeShareLocks(ctx context.Context, blockTime time.Time) ([]string, error)
Unlocks all queued tokenize share authorizations that have matured (i.e. have waited the full unbonding period)
func (Keeper) RemoveLiquidValidator ¶
RemoveLiquidValidator delete the LiquidValidator record
func (Keeper) RemoveTokenizeSharesLock ¶
func (k Keeper) RemoveTokenizeSharesLock(ctx context.Context, address sdk.AccAddress)
Removes the tokenize share lock for an account to enable tokenizing shares
func (Keeper) SafelyIncreaseTotalLiquidStakedTokens ¶
func (k Keeper) SafelyIncreaseTotalLiquidStakedTokens(ctx context.Context, amount math.Int, sharesAlreadyBonded bool) error
SafelyIncreaseTotalLiquidStakedTokens increments the total liquid staked tokens if the global cap is not surpassed by this delegation
The percentage of liquid staked tokens must be less than the GlobalLiquidStakingCap: (TotalLiquidStakedTokens / TotalStakedTokens) <= GlobalLiquidStakingCap
func (Keeper) SafelyIncreaseValidatorLiquidShares ¶
func (k Keeper) SafelyIncreaseValidatorLiquidShares( ctx context.Context, valAddress sdk.ValAddress, shares math.LegacyDec, sharesAlreadyBonded bool, ) (types.LiquidValidator, error)
SafelyIncreaseValidatorLiquidShares increments the liquid shares on a validator, if: the validator liquid staking cap will not be exceeded by this delegation
The percentage of validator liquid shares must be less than the ValidatorLiquidStakingCap: (TotalLiquidStakedTokens / TotalStakedTokens) <= ValidatorLiquidStakingCap
func (Keeper) SetLastTokenizeShareRecordID ¶
func (Keeper) SetLiquidValidator ¶
SetLiquidValidator sets the main record holding liquid validator details
func (Keeper) SetParams ¶
SetParams sets the x/liquid module parameters. CONTRACT: This method performs no validation of the parameters.
func (Keeper) SetPendingTokenizeShareAuthorizations ¶
func (k Keeper) SetPendingTokenizeShareAuthorizations(ctx context.Context, completionTime time.Time, authorizations types.PendingTokenizeShareAuthorizations)
Stores a list of addresses pending tokenize share unlocking at the same time
func (Keeper) SetTokenizeShareLocks ¶
func (k Keeper) SetTokenizeShareLocks(ctx context.Context, tokenizeShareLocks []types.TokenizeShareLock)
func (Keeper) SetTokenizeSharesUnlockTime ¶
func (k Keeper) SetTokenizeSharesUnlockTime(ctx context.Context, address sdk.AccAddress, completionTime time.Time)
Updates the timestamp associated with a lock to the time at which the lock expires
func (Keeper) SetTotalLiquidStakedTokens ¶
SetTotalLiquidStakedTokens stores the total outstanding tokens owned by a liquid staking provider
func (Keeper) TokenizeShareRecordReward ¶
func (k Keeper) TokenizeShareRecordReward(c context.Context, req *types.QueryTokenizeShareRecordRewardRequest) (*types.QueryTokenizeShareRecordRewardResponse, error)
TokenizeShareRecordReward returns estimated amount of reward from tokenize share record ownership
func (Keeper) ValidatorLiquidStakingCap ¶
Liquid staking cap for each validator
func (Keeper) WithdrawAllTokenizeShareRecordReward ¶
func (k Keeper) WithdrawAllTokenizeShareRecordReward(ctx sdk.Context, ownerAddr sdk.AccAddress) (sdk.Coins, error)
withdraw reward for all owning TokenizeShareRecord
func (Keeper) WithdrawSingleShareRecordReward ¶
type Querier ¶
type Querier struct {
*Keeper
}
Querier is used as Keeper will have duplicate methods if used directly, and gRPC names take precedence over keeper
func NewQuerier ¶
func (Querier) AllTokenizeShareRecords ¶
func (k Querier) AllTokenizeShareRecords(c context.Context, req *types.QueryAllTokenizeShareRecordsRequest) (*types.QueryAllTokenizeShareRecordsResponse, error)
AllTokenizeShareRecords queries for all tokenize share records
func (Querier) LastTokenizeShareRecordId ¶
func (k Querier) LastTokenizeShareRecordId(c context.Context, req *types.QueryLastTokenizeShareRecordIdRequest) (*types.QueryLastTokenizeShareRecordIdResponse, error)
LastTokenizeShareRecordId queries for last tokenize share record id
func (Querier) LiquidValidator ¶
func (k Querier) LiquidValidator(c context.Context, req *types.QueryLiquidValidatorRequest) (*types.QueryLiquidValidatorResponse, error)
LiquidValidator queries for a LiquidValidator record by validator address
func (Querier) LiquidValidators ¶
func (k Querier) LiquidValidators(c context.Context, req *types.QueryLiquidValidatorsRequest) (*types.QueryLiquidValidatorsResponse, error)
LiquidValidators queries for all LiquidValidator records
func (Querier) Params ¶
func (k Querier) Params(ctx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
Params queries the staking parameters
func (Querier) TokenizeShareLockInfo ¶
func (k Querier) TokenizeShareLockInfo(c context.Context, req *types.QueryTokenizeShareLockInfo) (*types.QueryTokenizeShareLockInfoResponse, error)
TokenizeShareLockInfo queries status of an account's tokenize share lock
func (Querier) TokenizeShareRecordByDenom ¶
func (k Querier) TokenizeShareRecordByDenom(c context.Context, req *types.QueryTokenizeShareRecordByDenomRequest) (*types.QueryTokenizeShareRecordByDenomResponse, error)
TokenizeShareRecordByDenom queries for individual tokenize share record information by share denom
func (Querier) TokenizeShareRecordById ¶
func (k Querier) TokenizeShareRecordById(c context.Context, req *types.QueryTokenizeShareRecordByIdRequest) (*types.QueryTokenizeShareRecordByIdResponse, error)
TokenizeShareRecordById queries for individual tokenize share record information by share by id
func (Querier) TokenizeShareRecordsOwned ¶
func (k Querier) TokenizeShareRecordsOwned(c context.Context, req *types.QueryTokenizeShareRecordsOwnedRequest) (*types.QueryTokenizeShareRecordsOwnedResponse, error)
TokenizeShareRecordsOwned queries tokenize share records by address
func (Querier) TotalLiquidStaked ¶
func (k Querier) TotalLiquidStaked(c context.Context, req *types.QueryTotalLiquidStaked) (*types.QueryTotalLiquidStakedResponse, error)
TotalLiquidStaked queries for total tokenized staked tokens Liquid staked tokens are either tokenized delegations or delegations owned by a module account
func (Querier) TotalTokenizeSharedAssets ¶
func (k Querier) TotalTokenizeSharedAssets(c context.Context, req *types.QueryTotalTokenizeSharedAssetsRequest) (*types.QueryTotalTokenizeSharedAssetsResponse, error)
TotalTokenizeSharedAssets queries for total tokenized staked assets