Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Address sdk.AccAddress `json:"address"` AccountNumber int64 `json:"account_number"` Coins sdk.Coins `json:"coins,omitempty"` }
type MemoryStore ¶
type MemoryStore struct {
// contains filtered or unexported fields
}
MemoryStore implements store.Store.
func NewMemoryStore ¶
func NewMemoryStore(proofsPath string) (*MemoryStore, error)
func (*MemoryStore) CountAccountAssetProofs ¶
func (ss *MemoryStore) CountAccountAssetProofs() (count int64, err error)
CountAccountAssetProofs implements store.Store.
func (*MemoryStore) GetAccountAssetProof ¶
func (ss *MemoryStore) GetAccountAssetProof(address types.AccAddress, symbol string) (*store.Proof, error)
GetAccountProofs implements store.Store.
type Proof ¶
type Proof struct { Address sdk.AccAddress `json:"address"` Coin sdk.Coin `json:"coin"` Proof [][]byte `json:"proof"` }
Proof is a merkle proof of an account
func (*Proof) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.