Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressState ¶
type AddressState struct {
Address string `json:"address"`
Nonce *uint64 `json:"nonce,omitempty"`
Balance string `json:"balance,omitempty"`
Code string `json:"code,omitempty"`
RootHash string `json:"rootHash,omitempty"`
CodeMetadata string `json:"codeMetadata,omitempty"`
CodeHash string `json:"codeHash,omitempty"`
DeveloperRewards string `json:"developerReward,omitempty"`
Owner string `json:"ownerAddress,omitempty"`
Keys map[string]string `json:"keys,omitempty"`
}
AddressState will hold the address state
type InitialWalletKeys ¶
type InitialWalletKeys struct {
StakeWallets []*WalletKey `json:"stakeWallets"`
BalanceWallets map[uint32]*WalletKey `json:"balanceWallets"`
}
InitialWalletKeys holds the initial wallet keys
type WalletAddress ¶
WalletAddress holds the address in multiple formats
type WalletKey ¶
type WalletKey struct {
Address WalletAddress `json:"address"`
PrivateKeyHex string `json:"privateKeyHex"`
}
WalletKey holds the public and the private key of a wallet
Click to show internal directories.
Click to hide internal directories.