Documentation ¶
Index ¶
- Constants
- Variables
- type CoinsAction
- func (*CoinsAction) Descriptor() ([]byte, []int)
- func (m *CoinsAction) GetGenesis() *types.AssetsGenesis
- func (m *CoinsAction) GetTransfer() *types.AssetsTransfer
- func (m *CoinsAction) GetTransferToExec() *types.AssetsTransferToExec
- func (m *CoinsAction) GetTy() int32
- func (m *CoinsAction) GetValue() isCoinsAction_Value
- func (m *CoinsAction) GetWithdraw() *types.AssetsWithdraw
- func (*CoinsAction) ProtoMessage()
- func (m *CoinsAction) Reset()
- func (m *CoinsAction) String() string
- func (m *CoinsAction) XXX_DiscardUnknown()
- func (m *CoinsAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CoinsAction) XXX_Merge(src proto.Message)
- func (*CoinsAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *CoinsAction) XXX_Size() int
- func (m *CoinsAction) XXX_Unmarshal(b []byte) error
- type CoinsAction_Genesis
- type CoinsAction_Transfer
- type CoinsAction_TransferToExec
- type CoinsAction_Withdraw
- type CoinsType
- func (c *CoinsType) GetAssets(tx *types.Transaction) ([]*types.Asset, error)
- func (coins *CoinsType) GetLogMap() map[int64]*types.LogInfo
- func (coins *CoinsType) GetName() string
- func (coins *CoinsType) GetPayload() types.Message
- func (c *CoinsType) GetTypeMap() map[string]int32
- func (c *CoinsType) RPC_Default_Process(action string, msg interface{}) (*types.Transaction, error)
Constants ¶
View Source
const ( CoinsActionTransfer = 1 CoinsActionGenesis = 2 CoinsActionWithdraw = 3 CoinsActionTransferToExec = 10 )
Variables ¶
View Source
var ( CoinsX = "coins" ExecerCoins = []byte(CoinsX) )
Functions ¶
This section is empty.
Types ¶
type CoinsAction ¶
type CoinsAction struct { // Types that are valid to be assigned to Value: // *CoinsAction_Transfer // *CoinsAction_Withdraw // *CoinsAction_Genesis // *CoinsAction_TransferToExec Value isCoinsAction_Value `protobuf_oneof:"value"` Ty int32 `protobuf:"varint,3,opt,name=ty,proto3" json:"ty,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
message for execs.coins
func (*CoinsAction) Descriptor ¶
func (*CoinsAction) Descriptor() ([]byte, []int)
func (*CoinsAction) GetGenesis ¶
func (m *CoinsAction) GetGenesis() *types.AssetsGenesis
func (*CoinsAction) GetTransfer ¶
func (m *CoinsAction) GetTransfer() *types.AssetsTransfer
func (*CoinsAction) GetTransferToExec ¶
func (m *CoinsAction) GetTransferToExec() *types.AssetsTransferToExec
func (*CoinsAction) GetTy ¶
func (m *CoinsAction) GetTy() int32
func (*CoinsAction) GetValue ¶
func (m *CoinsAction) GetValue() isCoinsAction_Value
func (*CoinsAction) GetWithdraw ¶
func (m *CoinsAction) GetWithdraw() *types.AssetsWithdraw
func (*CoinsAction) ProtoMessage ¶
func (*CoinsAction) ProtoMessage()
func (*CoinsAction) Reset ¶
func (m *CoinsAction) Reset()
func (*CoinsAction) String ¶
func (m *CoinsAction) String() string
func (*CoinsAction) XXX_DiscardUnknown ¶
func (m *CoinsAction) XXX_DiscardUnknown()
func (*CoinsAction) XXX_Marshal ¶
func (m *CoinsAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CoinsAction) XXX_Merge ¶
func (m *CoinsAction) XXX_Merge(src proto.Message)
func (*CoinsAction) XXX_OneofFuncs ¶
func (*CoinsAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*CoinsAction) XXX_Size ¶
func (m *CoinsAction) XXX_Size() int
func (*CoinsAction) XXX_Unmarshal ¶
func (m *CoinsAction) XXX_Unmarshal(b []byte) error
type CoinsAction_Genesis ¶
type CoinsAction_Genesis struct {
Genesis *types.AssetsGenesis `protobuf:"bytes,2,opt,name=genesis,proto3,oneof"`
}
type CoinsAction_Transfer ¶
type CoinsAction_Transfer struct {
Transfer *types.AssetsTransfer `protobuf:"bytes,1,opt,name=transfer,proto3,oneof"`
}
type CoinsAction_TransferToExec ¶
type CoinsAction_TransferToExec struct {
TransferToExec *types.AssetsTransferToExec `protobuf:"bytes,5,opt,name=transferToExec,proto3,oneof"`
}
type CoinsAction_Withdraw ¶
type CoinsAction_Withdraw struct {
Withdraw *types.AssetsWithdraw `protobuf:"bytes,4,opt,name=withdraw,proto3,oneof"`
}
type CoinsType ¶
type CoinsType struct {
types.ExecTypeBase
}
func (*CoinsType) GetPayload ¶
func (*CoinsType) GetTypeMap ¶
func (*CoinsType) RPC_Default_Process ¶
func (c *CoinsType) RPC_Default_Process(action string, msg interface{}) (*types.Transaction, error)
Click to show internal directories.
Click to hide internal directories.