v1_3_4

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: MIT Imports: 3 Imported by: 0

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

type Invites

type Invites []Invite

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL