Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuyCoin ¶
type BuyCoin struct { CoinToBuy string `json:"coin_to_buy"` CoinToSell string `json:"coin_to_sell"` ValueToBuy string `json:"value_to_buy"` ValueToSell string `json:"value_to_sell"` MaximumValueToSell string `json:"maximum_value_to_sell"` }
func (BuyCoin) Transform ¶
func (BuyCoin) Transform(txData resource.ItemInterface, params ...resource.ParamInterface) resource.Interface
type CheckData ¶
type CheckData struct { Coin string `json:"coin"` Nonce string `json:"nonce"` Value string `json:"value"` Sender string `json:"sender"` DueBlock uint64 `json:"due_block"` }
func TransformCheckData ¶
type CreateCoin ¶
type CreateCoin struct { Name string `json:"name"` Symbol string `json:"symbol"` InitialAmount string `json:"initial_amount"` InitialReserve string `json:"initial_reserve"` ConstantReserveRatio string `json:"constant_reserve_ratio"` }
func (CreateCoin) Transform ¶
func (CreateCoin) Transform(txData resource.ItemInterface, params ...resource.ParamInterface) resource.Interface
type CreateMultisig ¶
type CreateMultisig struct { Threshold string `json:"threshold"` Weights []string `json:"weights"` Addresses []string `json:"addresses"` }
func (CreateMultisig) Transform ¶
func (CreateMultisig) Transform(txData resource.ItemInterface, params ...resource.ParamInterface) resource.Interface
type DeclareCandidacy ¶
type DeclareCandidacy struct { Address string `json:"address"` PubKey string `json:"pub_key"` Commission string `json:"commission"` Coin string `json:"coin"` Stake string `json:"stake"` }
func (DeclareCandidacy) Transform ¶
func (DeclareCandidacy) Transform(txData resource.ItemInterface, params ...resource.ParamInterface) resource.Interface
type Delegate ¶
type Delegate struct { PubKey string `json:"pub_key"` Coin string `json:"coin"` Value string `json:"value"` }
func (Delegate) Transform ¶
func (Delegate) Transform(txData resource.ItemInterface, params ...resource.ParamInterface) resource.Interface
type EditCandidate ¶
type EditCandidate struct { PubKey string `json:"pub_key"` RewardAddress string `json:"reward_address"` OwnerAddress string `json:"owner_address"` }
func (EditCandidate) Transform ¶
func (EditCandidate) Transform(txData resource.ItemInterface, params ...resource.ParamInterface) resource.Interface
type Multisend ¶
type Multisend struct {
List []Send `json:"list"`
}
func (Multisend) Transform ¶
func (Multisend) Transform(txData resource.ItemInterface, params ...resource.ParamInterface) resource.Interface
func (Multisend) TransformByTxOutput ¶
func (Multisend) TransformByTxOutput(txData resource.ItemInterface) resource.Interface
type RedeemCheck ¶
type RedeemCheck struct { RawCheck string `json:"raw_check"` Proof string `json:"proof"` Check CheckData `json:"check"` }
func (RedeemCheck) Transform ¶
func (RedeemCheck) Transform(txData resource.ItemInterface, params ...resource.ParamInterface) resource.Interface
type SellAllCoin ¶
type SellAllCoin struct { CoinToSell string `json:"coin_to_sell"` CoinToBuy string `json:"coin_to_buy"` ValueToSell string `json:"value_to_sell"` ValueToBuy string `json:"value_to_buy"` MinimumValueToBuy string `json:"minimum_value_to_buy"` }
func (SellAllCoin) Transform ¶
func (SellAllCoin) Transform(txData resource.ItemInterface, params ...resource.ParamInterface) resource.Interface
type SellCoin ¶
type SellCoin struct { CoinToSell string `json:"coin_to_sell"` CoinToBuy string `json:"coin_to_buy"` ValueToSell string `json:"value_to_sell"` ValueToBuy string `json:"value_to_buy"` MinimumValueToBuy string `json:"minimum_value_to_buy"` }
func (SellCoin) Transform ¶
func (SellCoin) Transform(txData resource.ItemInterface, params ...resource.ParamInterface) resource.Interface
type Send ¶
func (Send) Transform ¶
func (Send) Transform(txData resource.ItemInterface, params ...resource.ParamInterface) resource.Interface
type SetCandidate ¶
type SetCandidate struct {
PubKey string `json:"pub_key"`
}
func (SetCandidate) Transform ¶
func (SetCandidate) Transform(txData resource.ItemInterface, params ...resource.ParamInterface) resource.Interface
Click to show internal directories.
Click to hide internal directories.