OSDN Git Service

init for remove issue (#63)
[bytom/vapor.git] / blockchain / query / annotated.go
index 12060cc..1696b0e 100644 (file)
@@ -29,7 +29,6 @@ type AnnotatedInput struct {
        AssetAlias       string               `json:"asset_alias,omitempty"`
        AssetDefinition  *json.RawMessage     `json:"asset_definition,omitempty"`
        Amount           uint64               `json:"amount"`
-       IssuanceProgram  chainjson.HexBytes   `json:"issuance_program,omitempty"`
        ControlProgram   chainjson.HexBytes   `json:"control_program,omitempty"`
        Address          string               `json:"address,omitempty"`
        SpentOutputID    *bc.Hash             `json:"spent_output_id,omitempty"`
@@ -68,23 +67,11 @@ type AnnotatedAccount struct {
 
 //AnnotatedAsset means an annotated asset.
 type AnnotatedAsset struct {
-       AnnotatedSigner
        ID                bc.AssetID         `json:"id"`
        Alias             string             `json:"alias"`
        VMVersion         uint64             `json:"vm_version"`
-       IssuanceProgram   chainjson.HexBytes `json:"issue_program"`
        RawDefinitionByte chainjson.HexBytes `json:"raw_definition_byte"`
        Definition        *json.RawMessage   `json:"definition"`
-       LimitHeight       int64              `json:"limit_height"`
-}
-
-//AnnotatedSigner means an annotated signer for asset.
-type AnnotatedSigner struct {
-       Type       string         `json:"type"`
-       XPubs      []chainkd.XPub `json:"xpubs"`
-       Quorum     int            `json:"quorum"`
-       KeyIndex   uint64         `json:"key_index"`
-       DeriveRule uint8          `json:"derive_rule"`
 }
 
 //AnnotatedUTXO means an annotated utxo.