Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultisigApproval ¶
type MultisigApproval struct { Height int64 `pg:",pk,notnull,use_zero"` StateRoot string `pg:",pk,notnull"` MultisigID string `pg:",pk,notnull"` Message string `pg:",pk,notnull"` // cid of message Method uint64 `pg:",notnull,use_zero"` // method number used for the approval 2=propose, 3=approve Approver string `pg:",pk,notnull"` // address of signer that triggerd approval Threshold uint64 `pg:",notnull,use_zero"` InitialBalance string `pg:"type:numeric,notnull"` Signers []string `pg:",notnull"` GasUsed int64 `pg:",use_zero"` TransactionID int64 `pg:",notnull,use_zero"` To string `pg:",use_zero"` // address funds will move to in transaction Value string `pg:"type:numeric,notnull"` // amount of funds moved in transaction // contains filtered or unexported fields }
func (*MultisigApproval) Persist ¶
func (ma *MultisigApproval) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error
type MultisigApprovalList ¶
type MultisigApprovalList []*MultisigApproval
func (MultisigApprovalList) Persist ¶
func (mal MultisigApprovalList) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error
Click to show internal directories.
Click to hide internal directories.