Documentation ¶
Index ¶
Constants ¶
View Source
const (
ModuleName = "accreditations"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenesisState ¶
type GenesisState struct { LiquidityPoolAmount sdk.Coins `json:"liquidity_pool_amount"` // Liquidity pool from which to get the rewards Invites Invites `json:"invites"` // List of invites TrustedServiceProviders ctypes.Addresses `json:"trusted_service_providers"` // List of trusted service providers Credentials types.Credentials `json:"credentials"` // List of verifiable credentials StableCreditsDenom string `json:"stable_credits_denom"` // Stable credits denom used during membership buying Memberships types.Memberships `json:"memberships"` // List of all the existing memberships }
type Invite ¶
type Invite struct { Sender sdk.AccAddress `json:"sender"` // User that has sent the invitation User sdk.AccAddress `json:"user"` // Invited user Rewarded bool `json:"rewarded"` // Tells if the invitee has already been rewarded }
Invite represents an invitation that a user has made towards another user
Click to show internal directories.
Click to hide internal directories.