github.com/mavryk-network/mvgo@v1.19.9/rpc/activation.go (about)

     1  // Copyright (c) 2020-2021 Blockwatch Data Inc.
     2  // Author: alex@blockwatch.cc
     3  
     4  package rpc
     5  
     6  import "github.com/mavryk-network/mvgo/mavryk"
     7  
     8  // Ensure Activation implements the TypedOperation interface.
     9  var _ TypedOperation = (*Activation)(nil)
    10  
    11  // Activation represents a transaction operation
    12  type Activation struct {
    13  	Generic
    14  	Pkh    mavryk.Address  `json:"pkh"`
    15  	Secret mavryk.HexBytes `json:"secret"`
    16  }