Documentation ¶
Index ¶
Constants ¶
View Source
const ( MultisigDefinitions TabName = "MultiSig Addresses" DepositOffers TabName = "depositOffers" Allocations TabName = "Camino Allocation" TrueValue = "TRUE" FalseValue = "FALSE" YesValue = "Y" NoValue = "N" CheckedValue = "X" )
Variables ¶
This section is empty.
Functions ¶
func RowToOffer ¶
func RowToOffer(offer *DepositOfferRow) (string, *genesis.UnparsedDepositOffer)
Types ¶
type AllocationColumn ¶
type AllocationColumn int
type AllocationRow ¶
type AllocationRow struct { RowNo int Bucket string Kyc string Amount uint64 Address ids.ShortID ConsortiumMember string ControlGroup string NodeID ids.NodeID ValidatorPeriodDays uint32 Additional1Percent string OfferID string FirstName string TokenDeliveryOffset uint64 DepositDuration uint32 PublicKey string }
func ParseAllocations ¶
func ParseAllocations(xls *excelize.File) []*AllocationRow
ParseAllocations Reads all rows from xls file "Allocations" workbook
func (*AllocationRow) Header ¶
func (a *AllocationRow) Header() []string
type DepositOfferColumn ¶
type DepositOfferColumn int
type DepositOfferRow ¶
type DepositOfferRow struct { OfferID string InterestRateNominator uint64 StartOffset uint64 EndOffset uint64 MinAmount uint64 MinDuration uint32 MaxDuration uint32 UnlockPeriodDuration uint32 NoRewardsPeriodDuration uint32 Memo string Locked bool }
func (*DepositOfferRow) Header ¶
func (offer *DepositOfferRow) Header() []string
type DepositOffersWithOrder ¶
type DepositOffersWithOrder struct { Offers map[string]*genesis.UnparsedDepositOffer Order []string }
DepositOffersWithOrder helps to populate offers into json in the same order as in xls
func ParseDepositOfferRows ¶
func ParseDepositOfferRows(xls *excelize.File) DepositOffersWithOrder
type MultiSigColumn ¶
type MultiSigColumn int
type MultiSigGroup ¶
func ParseMultiSigGroups ¶
func ParseMultiSigGroups(xls *excelize.File) []*MultiSigGroup
ParseMultiSigGroups Reads all rows from xls file "Multisig" workbook
type MultiSigRow ¶
func (*MultiSigRow) Header ¶
func (msig *MultiSigRow) Header() []string
Click to show internal directories.
Click to hide internal directories.