Documentation ¶
Index ¶
- Constants
- func ExportSnapshotCmd() *cobra.Command
- func ExportTangoSnapshotCmd() *cobra.Command
- func PrepareGenesisCmd(defaultNodeHome string, mbm module.BasicManager) *cobra.Command
- func SnapshotToClaimEthRecordsCmd() *cobra.Command
- func SnapshotToClaimRecordsCmd() *cobra.Command
- type ClaimEthRecordsExport
- type ClaimRecordsExport
- type DuplicateAddress
- type GenesisParams
- type Snapshot
- type SnapshotAccount
- type TangoHolder
- type TangoHolders
Constants ¶
View Source
const ( HumanCoinUnit = "clan" BaseCoinUnit = "uclan" Exponent = 6 Bech32PrefixAccAddr = "clan" )
Variables ¶
This section is empty.
Functions ¶
func ExportSnapshotCmd ¶
func ExportTangoSnapshotCmd ¶
func PrepareGenesisCmd ¶
func PrepareGenesisCmd(defaultNodeHome string, mbm module.BasicManager) *cobra.Command
Types ¶
type ClaimEthRecordsExport ¶
type ClaimEthRecordsExport struct {
Records []claimtypes.ClaimEthRecord `json:"claim_eth_records"`
}
type ClaimRecordsExport ¶
type ClaimRecordsExport struct { Records []claimtypes.ClaimRecord `json:"claim_records"` DuplicateAddresses []DuplicateAddress `json:"duplicate_addresses"` }
type DuplicateAddress ¶
type GenesisParams ¶
type GenesisParams struct { AirdropSupply sdk.Int StrategicReserveAccounts []banktypes.Balance ConsensusParams *tmproto.ConsensusParams GenesisTime time.Time NativeCoinMetadatas []banktypes.Metadata StakingParams stakingtypes.Params DistributionParams distributiontypes.Params GovParams govtypes.Params CrisisConstantFee sdk.Coin SlashingParams slashingtypes.Params ClaimParams claimtypes.Params AllocParams alloctypes.Params MintParams minttypes.Params }
type Snapshot ¶
type Snapshot struct { Accounts map[string]SnapshotAccount `json:"accounts"` TotalAirdropAccounts int `json:"total_airdrop_accounts"` TotalAccountedForStakedAmount sdk.Int `json:"total_accounted_for_amount"` TotalStakedAmount sdk.Int `json:"total_staked_amount"` TotalClanAllocation sdk.Int `json:"total_allocated_clan"` }
type SnapshotAccount ¶
type SnapshotAccount struct { Address string `json:"origin_address"` StakedBalance sdk.Int `json:"staked_balance"` StakedForAirdropBalance sdk.Int `json:"staked_for_airdrop"` AirdropOwnershipPercent sdk.Dec `json:"airdrop_ownership_percent"` ClanAllocation sdk.Int `json:"allocation"` }
SnapshotAccount provide fields of snapshot per account
type TangoHolder ¶
type TangoHolders ¶
type TangoHolders struct {
Holders []TangoHolder `json:"holders"`
}
Click to show internal directories.
Click to hide internal directories.