tx

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MessageRawIsEmptyErr = errors.New("messageRaw is empty")

Functions

func GetMessageVersionType

func GetMessageVersionType(messageRaw, defaultType string) (string, error)

func GetModule

func GetModule(moduleName string, m *metadata.Instant) *types.MetadataModules

GetModule get module by name

Types

type AssetInstance

type AssetInstance struct {
	Undefined *Enum            `json:"Undefined,omitempty"`
	Index     *decimal.Decimal `json:"Index,omitempty"`
	Array4    *string          `json:"Array4,omitempty"`
	Array8    *string          `json:"Array8,omitempty"`
	Array16   *string          `json:"Array16,omitempty"`
	Array32   *string          `json:"Array32,omitempty"`
	Blob      *string          `json:"Blob,omitempty"`
}

type AssetsFun

type AssetsFun struct {
	Fungible    *decimal.Decimal `json:"Fungible,omitempty"`
	NonFungible *AssetInstance   `json:"NonFungible,omitempty"`
}

type AssetsId

type AssetsId struct {
	Concrete *V1MultiLocation `json:"Concrete,omitempty"`
	Abstract *string          `json:"Abstract,omitempty"`
}

type BuyExecution

type BuyExecution struct {
	Fees          *V1MultiAssets `json:"fees"`
	WeightLimitV2 *WeightLimitV2 `json:"weight_limit"`
}

type Client

type Client struct {
	Conn       *rpc.Client
	Ump        IXCMP
	Dmp        IXCMP
	Hrmp       IXCMP
	XcmVersion uint

	XcmVersionTypeName string
	// contains filtered or unexported fields
}

func NewClient

func NewClient(endpoint string) *Client

NewClient create a new XCM client

func (*Client) Close

func (c *Client) Close()

func (*Client) ParseXcmMessageInstruction

func (c *Client) ParseXcmMessageInstruction(messageRaw string) (*VersionedXcm, error)

func (*Client) SendDmpTransfer

func (c *Client) SendDmpTransfer(paraId uint32, accountId string, amount decimal.Decimal) (string, error)

SendDmpTransfer send XCM DMP message paraId: the para id of the parachain accountId: the account id of the beneficiary amount: the amount of the asset to be transferred

func (*Client) SendHrmpTransfer

func (c *Client) SendHrmpTransfer(paraId uint32, accountId string, amount decimal.Decimal) (string, error)

SendHrmpTransfer send XCM HRMP message paraId: the para id of the parachain accountId: the account id of the beneficiary amount: the amount of the asset to be transferred

func (*Client) SendUmpTransfer

func (c *Client) SendUmpTransfer(accountId string, amount decimal.Decimal) (string, error)

SendUmpTransfer send XCM UMP message accountId: the account id of the beneficiary amount: the amount of the asset to be transferred

func (*Client) SetKeyRing

func (c *Client) SetKeyRing(sk string)

type DepositAsset

type DepositAsset struct {
	Assets      interface{}      `json:"assets"`
	MaxAssets   int              `json:"max_assets"`
	Beneficiary *V1MultiLocation `json:"beneficiary"`
}

type DepositReserveAsset

type DepositReserveAsset struct {
	Assets    interface{} `json:"assets"`
	Dest      interface{} `json:"dest"`
	MaxAssets int         `json:"max_assets"`
	Xcm       V2          `json:"xcm"`
}

type DepositReserveAssetV3

type DepositReserveAssetV3 struct {
	Assets interface{} `json:"assets"`
	Dest   interface{} `json:"dest"`
	Xcm    V3          `json:"xcm"`
}

type DescendOrigin

type DescendOrigin *V0MultiLocation

type Dmp

type Dmp struct {
	ModuleName string
}

func NewDmp

func NewDmp() *Dmp

func (Dmp) GetModuleName

func (d Dmp) GetModuleName() string

func (Dmp) LimitedReserveTransferAssets

func (d Dmp) LimitedReserveTransferAssets(dest *VersionedMultiLocation, beneficiary *VersionedMultiLocation, assets *MultiAssets, feeAssetItem uint, weightLimit *Weight) (string, []interface{})

func (Dmp) LimitedTeleportAssets

func (d Dmp) LimitedTeleportAssets(dest *VersionedMultiLocation, beneficiary *VersionedMultiLocation, assets *MultiAssets, feeAssetItem uint, weightLimit *Weight) (string, []interface{})

func (Dmp) ReserveTransferAssets

func (d Dmp) ReserveTransferAssets(dest *VersionedMultiLocation, beneficiary *VersionedMultiLocation, assets *MultiAssets, feeAssetItem uint) (string, []interface{})

func (Dmp) Send

func (d Dmp) Send(location *VersionedMultiLocation, i *VersionedXcm) (string, []interface{})

func (Dmp) TeleportAssets

func (d Dmp) TeleportAssets(dest *VersionedMultiLocation, beneficiary *VersionedMultiLocation, assets *MultiAssets, feeAssetItem uint) (string, []interface{})

type Enum

type Enum map[string]string

type Hrmp

type Hrmp struct {
	ModuleName string
}

func NewHrmp

func NewHrmp() *Hrmp

func (Hrmp) GetModuleName

func (h Hrmp) GetModuleName() string

func (Hrmp) LimitedReserveTransferAssets

func (h Hrmp) LimitedReserveTransferAssets(dest *VersionedMultiLocation, beneficiary *VersionedMultiLocation, assets *MultiAssets, feeAssetItem uint, weightLimit *Weight) (string, []interface{})

func (Hrmp) LimitedTeleportAssets

func (h Hrmp) LimitedTeleportAssets(dest *VersionedMultiLocation, beneficiary *VersionedMultiLocation, assets *MultiAssets, feeAssetItem uint, weightLimit *Weight) (string, []interface{})

func (Hrmp) ReserveTransferAssets

func (h Hrmp) ReserveTransferAssets(dest *VersionedMultiLocation, beneficiary *VersionedMultiLocation, assets *MultiAssets, feeAssetItem uint) (string, []interface{})

func (Hrmp) Send

func (h Hrmp) Send(location *VersionedMultiLocation, i *VersionedXcm) (string, []interface{})

func (Hrmp) TeleportAssets

func (h Hrmp) TeleportAssets(dest *VersionedMultiLocation, beneficiary *VersionedMultiLocation, assets *MultiAssets, feeAssetItem uint) (string, []interface{})

type IScale

type IScale interface {
	ToScale() interface{}
}

type IXCMP

type IXCMP interface {
	// LimitedReserveTransferAssets
	// Transfer some assets from the local chain to the sovereign account of a destination chain and forward a notification XCM.
	// [dest, beneficiary, assets, fee_asset_item, weight_limit]
	LimitedReserveTransferAssets(*VersionedMultiLocation, *VersionedMultiLocation, *MultiAssets, uint, *Weight) (string, []interface{})

	// ReserveTransferAssets
	// Transfer some assets from the local chain to the sovereign account of a destination chain and forward a notification XCM.
	// [dest, beneficiary, assets, fee_asset_item]
	ReserveTransferAssets(*VersionedMultiLocation, *VersionedMultiLocation, *MultiAssets, uint) (string, []interface{})

	// LimitedTeleportAssets Teleport some assets from the local chain to some destination chain.
	// [dest, beneficiary, assets, fee_asset_item, weight_limit]
	LimitedTeleportAssets(*VersionedMultiLocation, *VersionedMultiLocation, *MultiAssets, uint, *Weight) (string, []interface{})
	// TeleportAssets
	// Teleport some assets from the local chain to some destination chain.
	// [dest, beneficiary, assets, fee_asset_item]
	TeleportAssets(*VersionedMultiLocation, *VersionedMultiLocation, *MultiAssets, uint) (string, []interface{})

	// Send [dest,message]
	Send(*VersionedMultiLocation, *VersionedXcm) (string, []interface{})

	GetModuleName() string
}

func NewMessage

func NewMessage(protocol Protocol) IXCMP

type InitiateTeleport

type InitiateTeleport struct {
	Assets interface{} `json:"assets"`
	Dest   interface{} `json:"dest"`
	Xcm    V2          `json:"xcm"`
}

type InitiateTeleportV3

type InitiateTeleportV3 struct {
	Assets interface{} `json:"assets"`
	Dest   interface{} `json:"dest"`
	Xcm    V3          `json:"xcm"`
}

type MultiAssets

type MultiAssets struct {
	V0 []V0MultiAssets `json:"V0,omitempty"`
	V1 []V1MultiAssets `json:"V1,omitempty"`
	V2 []V2MultiAssets `json:"V2,omitempty"`
	V3 []V3MultiAssets `json:"V3,omitempty"`
}

func SimplifyMultiAssets

func SimplifyMultiAssets(amount decimal.Decimal) *MultiAssets

SimplifyMultiAssets Simplify sovereignty token to MultiAssets

func (*MultiAssets) ToScale

func (m *MultiAssets) ToScale() interface{}

type Protocol

type Protocol string
const (
	UMP  Protocol = "UMP"
	DMP  Protocol = "DMP"
	HRMP Protocol = "HRMP"
	XCMP Protocol = "XCMP"
)

type ReserveAssetDeposited

type ReserveAssetDeposited struct {
	Assets  *interface{}       `json:"assets"`
	Effects []V1XCMRuntimeCall `json:"effects"`
}

type Transact

type Transact struct {
	Call                string      `json:"call"`
	OriginType          string      `json:"origin_type"`
	RequireWeightAtMost interface{} `json:"require_weight_at_most"`
}

type TransactV3

type TransactV3 struct {
	Call                string      `json:"call"`
	OriginKind          string      `json:"origin_kind"`
	RequireWeightAtMost interface{} `json:"require_weight_at_most"`
}

type TransferAsset

type TransferAsset struct {
	Assets      interface{}      `json:"assets"`
	Beneficiary *V1MultiLocation `json:"beneficiary"`
}

type TransferReserveAsset

type TransferReserveAsset struct {
	Assets interface{}        `json:"assets"`
	Dest   *V1MultiLocation   `json:"dest"`
	Xcm    []V2XcmInstruction `json:"xcm"`
}

type TransferReserveAssetV3

type TransferReserveAssetV3 struct {
	Assets interface{}        `json:"assets"`
	Dest   *V1MultiLocation   `json:"dest"`
	Xcm    []XcmInstructionV3 `json:"xcm"`
}

type Ump

type Ump struct {
	ModuleName string
}

func NewUmp

func NewUmp() *Ump

func (Ump) DefaultUmpDest

func (u Ump) DefaultUmpDest() *VersionedMultiLocation

func (Ump) GetModuleName

func (u Ump) GetModuleName() string

func (Ump) LimitedReserveTransferAssets

func (u Ump) LimitedReserveTransferAssets(dest *VersionedMultiLocation, beneficiary *VersionedMultiLocation, assets *MultiAssets, feeAssetItem uint, weightLimit *Weight) (string, []interface{})

LimitedReserveTransferAssets (dest VersionedMultiLocation, beneficiary VersionedMultiLocation, assets VersionedMultiAssets, fee_asset_item u32, weight_limit WeightLimit)

func (Ump) LimitedTeleportAssets

func (u Ump) LimitedTeleportAssets(dest *VersionedMultiLocation, beneficiary *VersionedMultiLocation, assets *MultiAssets, feeAssetItem uint, weightLimit *Weight) (string, []interface{})

LimitedTeleportAssets (dest VersionedMultiLocation, beneficiary VersionedMultiLocation, assets VersionedMultiAssets, fee_asset_item u32, weight_limit WeightLimit)

func (Ump) ReserveTransferAssets

func (u Ump) ReserveTransferAssets(dest *VersionedMultiLocation, beneficiary *VersionedMultiLocation, assets *MultiAssets, feeAssetItem uint) (string, []interface{})

ReserveTransferAssets (dest VersionedMultiLocation, beneficiary VersionedMultiLocation, assets VersionedMultiAssets, fee_asset_item u32)

func (Ump) Send

func (u Ump) Send(location *VersionedMultiLocation, i *VersionedXcm) (string, []interface{})

func (Ump) TeleportAssets

func (u Ump) TeleportAssets(dest *VersionedMultiLocation, beneficiary *VersionedMultiLocation, assets *MultiAssets, feeAssetItem uint) (string, []interface{})

TeleportAssets (dest VersionedMultiLocation, beneficiary VersionedMultiLocation, assets VersionedMultiAssets, fee_asset_item u32)

type V0

type V0 struct {
	WithdrawAsset             *interface{} `json:"WithdrawAsset,omitempty"`
	ReserveAssetDeposit       *interface{} `json:"ReserveAssetDeposit,omitempty"`
	TeleportAsset             *interface{} `json:"TeleportAsset,omitempty"`
	QueryResponse             *interface{} `json:"QueryResponse,omitempty"`
	TransferAsset             *interface{} `json:"TransferAsset,omitempty"`
	TransferReserveAsset      *interface{} `json:"TransferReserveAsset,omitempty"`
	Transact                  *interface{} `json:"Transact,omitempty"`
	HrmpNewChannelOpenRequest *interface{} `json:"HrmpNewChannelOpenRequest,omitempty"`
	HrmpChannelAccepted       *interface{} `json:"HrmpChannelAccepted,omitempty"`
	HrmpChannelClosing        *interface{} `json:"HrmpChannelClosing,omitempty"`
	RelayedFrom               *interface{} `json:"RelayedFrom,omitempty"`
}

type V0MultiAssets

type V0MultiAssets struct {
	None                Enum `json:"None,omitempty"`
	All                 Enum `json:"All,omitempty"`
	AllFungible         Enum `json:"AllFungible,omitempty"`
	AllNonFungible      Enum `json:"AllNonFungible,omitempty"`
	AllAbstractFungible *struct {
		Id string `json:"id"`
	} `json:"AllAbstractFungible,omitempty"`
	AllAbstractNonFungible *struct {
		Class string `json:"class"`
	} `json:"AllAbstractNonFungible,omitempty"`
	AllConcreteFungible    *V0MultiLocation `json:"AllConcreteFungible,omitempty"`
	AllConcreteNonFungible *V0MultiLocation `json:"AllConcreteNonFungible,omitempty"`
	AbstractFungible       *struct {
		Id     string          `json:"id"`
		Amount decimal.Decimal `json:"amount"`
	} `json:"AbstractFungible,omitempty"`
	AbstractNonFungible *struct {
		Class    string        `json:"id"`
		Instance AssetInstance `json:"instance"`
	} `json:"AbstractNonFungible,omitempty"`
	ConcreteFungible *struct {
		Id     *V0MultiLocation `json:"id"`
		Amount decimal.Decimal  `json:"amount"`
	} `json:"ConcreteFungible,omitempty"`
	ConcreteNonFungible *struct {
		Id       *V0MultiLocation `json:"id"`
		Instance AssetInstance    `json:"instance"`
	} `json:"ConcreteNonFungible,omitempty"`
}

type V0MultiLocation

type V0MultiLocation struct {
	Here string                 `json:"Here,omitempty"`
	NULL string                 `json:"NULL,omitempty"`
	X1   *XCMJunction           `json:"X1,omitempty"`
	X2   map[string]XCMJunction `json:"X2,omitempty"`
	X3   map[string]XCMJunction `json:"X3,omitempty"`
	X4   map[string]XCMJunction `json:"X4,omitempty"`
	X5   map[string]XCMJunction `json:"X5,omitempty"`
	X6   map[string]XCMJunction `json:"X6,omitempty"`
	X7   map[string]XCMJunction `json:"X7,omitempty"`
	X8   map[string]XCMJunction `json:"X8,omitempty"`
}

type V1

type V1 struct {
	WithdrawAsset             *interface{} `json:"WithdrawAsset,omitempty"`
	ReserveAssetDeposit       *interface{} `json:"ReserveAssetDeposit,omitempty"`
	ReceiveTeleportedAsset    *interface{} `json:"ReceiveTeleportedAsset,omitempty"`
	QueryResponse             *interface{} `json:"QueryResponse,omitempty"`
	TransferAsset             *interface{} `json:"TransferAsset,omitempty"`
	TransferReserveAsset      *interface{} `json:"TransferReserveAsset,omitempty"`
	Transact                  *interface{} `json:"Transact,omitempty"`
	HrmpNewChannelOpenRequest *interface{} `json:"HrmpNewChannelOpenRequest,omitempty"`
	HrmpChannelAccepted       *interface{} `json:"HrmpChannelAccepted,omitempty"`
	HrmpChannelClosing        *interface{} `json:"HrmpChannelClosing,omitempty"`
	RelayedFrom               *interface{} `json:"RelayedFrom,omitempty"`
	SubscribeVersion          *interface{} `json:"SubscribeVersion,omitempty"`
	UnsubscribeVersion        *interface{} `json:"UnsubscribeVersion,omitempty"`
}

type V1MultiAssets

type V1MultiAssets struct {
	Id  AssetsId  `json:"id"`  // AssetId
	Fun AssetsFun `json:"fun"` // Fungibility
}

type V1MultiLocation

type V1MultiLocation struct {
	Interior V0MultiLocation `json:"interior"`
	Parents  uint            `json:"parents"`
}

func (*V1MultiLocation) GetParaId

func (v *V1MultiLocation) GetParaId() uint

type V1XCMRuntimeCall

type V1XCMRuntimeCall struct {
	Noop                    *interface{}  `json:"Noop,omitempty"`
	DepositAsset            *DepositAsset `json:"DepositAsset,omitempty"`
	DepositReserveAsset     *interface{}  `json:"DepositReserveAsset,omitempty"`
	ExchangeAsset           *interface{}  `json:"ExchangeAsset,omitempty"`
	InitiateReserveWithdraw *interface{}  `json:"InitiateReserveWithdraw,omitempty"`
	InitiateTeleport        *interface{}  `json:"InitiateTeleport,omitempty"`
	QueryHolding            *interface{}  `json:"QueryHolding,omitempty"`
	BuyExecution            *interface{}  `json:"BuyExecution,omitempty"`
}

type V2

type V2 []V2XcmInstruction

type V2MultiAssets

type V2MultiAssets V1MultiAssets

type V2XcmInstruction

type V2XcmInstruction struct {
	WithdrawAsset             *interface{}          `json:"WithdrawAsset,omitempty"`
	ReserveAssetDeposited     *interface{}          `json:"ReserveAssetDeposited,omitempty"`
	ReceiveTeleportedAsset    *interface{}          `json:"ReceiveTeleportedAsset,omitempty"`
	QueryResponse             *interface{}          `json:"QueryResponse,omitempty"`
	TransferAsset             *TransferAsset        `json:"TransferAsset,omitempty"`
	TransferReserveAsset      *TransferReserveAsset `json:"TransferReserveAsset,omitempty"`
	Transact                  *Transact             `json:"Transact,omitempty"`
	HrmpNewChannelOpenRequest *interface{}          `json:"HrmpNewChannelOpenRequest,omitempty"`
	HrmpChannelAccepted       *interface{}          `json:"HrmpChannelAccepted,omitempty"`
	HrmpChannelClosing        *interface{}          `json:"HrmpChannelClosing,omitempty"`
	ClearOrigin               *interface{}          `json:"ClearOrigin,omitempty"`
	DescendOrigin             *DescendOrigin        `json:"DescendOrigin,omitempty"`
	ReportError               *interface{}          `json:"ReportError,omitempty"`
	DepositAsset              *DepositAsset         `json:"DepositAsset,omitempty"`
	DepositReserveAsset       *DepositReserveAsset  `json:"DepositReserveAsset,omitempty"`
	ExchangeAsset             *interface{}          `json:"ExchangeAsset,omitempty"`
	InitiateReserveWithdraw   *interface{}          `json:"InitiateReserveWithdraw,omitempty"`
	InitiateTeleport          *InitiateTeleport     `json:"InitiateTeleport,omitempty"`
	QueryHolding              *interface{}          `json:"QueryHolding,omitempty"`
	BuyExecution              *BuyExecution         `json:"BuyExecution,omitempty"`
	RefundSurplus             *interface{}          `json:"RefundSurplus,omitempty"`
	SetErrorHandler           *interface{}          `json:"SetErrorHandler,omitempty"`
	SetAppendix               *interface{}          `json:"SetAppendix,omitempty"`
	ClearError                *interface{}          `json:"ClearError,omitempty"`
	ClaimAsset                *interface{}          `json:"ClaimAsset,omitempty"`
	Trap                      *interface{}          `json:"Trap,omitempty"`
	SubscribeVersion          *interface{}          `json:"SubscribeVersion,omitempty"`
	UnsubscribeVersion        *interface{}          `json:"UnsubscribeVersion,omitempty"`
}

type V3

type V3 []XcmInstructionV3

type V3MultiAssets

type V3MultiAssets V1MultiAssets

type VersionedMultiLocation

type VersionedMultiLocation struct {
	V1 *V1MultiLocation `json:"V1,omitempty"`
	V2 *V1MultiLocation `json:"V2,omitempty"`
	V3 *V1MultiLocation `json:"V3,omitempty"`
}

func SimplifyMultiLocationAccountId32

func SimplifyMultiLocationAccountId32(accountId string) *VersionedMultiLocation

SimplifyMultiLocationAccountId32 Simplify accountId to VersionedMultiLocation

func SimplifyMultiLocationParaId

func SimplifyMultiLocationParaId(paraId uint32) *VersionedMultiLocation

SimplifyMultiLocationParaId Simplify paraId to VersionedMultiLocation

func SimplifyMultiLocationRelayChain

func SimplifyMultiLocationRelayChain() *VersionedMultiLocation

SimplifyMultiLocationRelayChain Simplify parent relay chain to VersionedMultiLocation

func (*VersionedMultiLocation) GetParaId

func (v *VersionedMultiLocation) GetParaId() uint

func (*VersionedMultiLocation) ToScale

func (v *VersionedMultiLocation) ToScale() interface{}

func (*VersionedMultiLocation) UnmarshalJSON

func (v *VersionedMultiLocation) UnmarshalJSON(data []byte) error

type VersionedXcm

type VersionedXcm struct {
	V0 *V0 `json:"V0,omitempty"`
	V1 *V1 `json:"V1,omitempty"`
	V2 *V2 `json:"V2,omitempty"`
	V3 *V3 `json:"V3,omitempty"`
}

func (*VersionedXcm) ToScale

func (v *VersionedXcm) ToScale() interface{}

type Weight

type Weight struct {
	Limited   *WeightLimited `json:"Limited,omitempty"`
	Unlimited *string        `json:"Unlimited,omitempty"`
}

func SimplifyUnlimitedWeight

func SimplifyUnlimitedWeight() *Weight

SimplifyUnlimitedWeight Simplify unlimited weight

func (*Weight) ToScale

func (w *Weight) ToScale() interface{}

type WeightLimitV2

type WeightLimitV2 struct {
	Unlimited *string      `json:"Unlimited,omitempty"`
	Limited   *interface{} `json:"Limited,omitempty"`
}

type WeightLimited

type WeightLimited struct {
	ProofSize uint   `json:"proof_size"`
	RefTime   uint64 `json:"ref_time"`
}

type XCMJunction

type XCMJunction struct {
	Parent         *string                    `json:"Parent,omitempty"`
	Parachain      *uint32                    `json:"Parachain,omitempty"`
	AccountId32    *XCMJunctionAccountId32    `json:"AccountId32,omitempty"`
	AccountIndex64 *XCMJunctionAccountIndex64 `json:"AccountIndex64,omitempty"`
	AccountKey20   *XCMJunctionAccountKey20   `json:"AccountKey20,omitempty"`
	PalletInstance *uint32                    `json:"PalletInstance,omitempty"`
	GeneralIndex   *string                    `json:"GeneralIndex,omitempty"`
	GeneralKey     *interface{}               `json:"GeneralKey,omitempty"`
	OnlyChild      *interface{}               `json:"OnlyChild,omitempty"`
	Plurality      *map[string]interface{}    `json:"Plurality,omitempty"`
}

type XCMJunctionAccountId32

type XCMJunctionAccountId32 struct {
	Network Enum   `json:"network"`
	Id      string `json:"id"`
}

type XCMJunctionAccountIndex64

type XCMJunctionAccountIndex64 struct {
	Network Enum `json:"network"`
	Index   uint `json:"index"`
}

type XCMJunctionAccountKey20

type XCMJunctionAccountKey20 struct {
	Network Enum   `json:"network"`
	Key     string `json:"key"`
}

type XcmInstructionV3

type XcmInstructionV3 struct {
	WithdrawAsset             *interface{}            `json:"WithdrawAsset,omitempty"`
	ReserveAssetDeposited     *interface{}            `json:"ReserveAssetDeposited,omitempty"`
	ReceiveTeleportedAsset    *interface{}            `json:"ReceiveTeleportedAsset,omitempty"`
	QueryResponse             *interface{}            `json:"QueryResponse,omitempty"`
	TransferAsset             *TransferAsset          `json:"TransferAsset,omitempty"`
	TransferReserveAsset      *TransferReserveAssetV3 `json:"TransferReserveAsset,omitempty"`
	Transact                  *TransactV3             `json:"Transact,omitempty"`
	HrmpNewChannelOpenRequest *interface{}            `json:"HrmpNewChannelOpenRequest,omitempty"`
	HrmpChannelAccepted       *interface{}            `json:"HrmpChannelAccepted,omitempty"`
	HrmpChannelClosing        *interface{}            `json:"HrmpChannelClosing,omitempty"`
	ClearOrigin               *interface{}            `json:"ClearOrigin,omitempty"`
	DescendOrigin             *DescendOrigin          `json:"DescendOrigin,omitempty"`
	ReportError               *interface{}            `json:"ReportError,omitempty"`
	DepositAsset              *DepositAsset           `json:"DepositAsset,omitempty"`
	DepositReserveAsset       *DepositReserveAssetV3  `json:"DepositReserveAsset,omitempty"`
	ExchangeAsset             *interface{}            `json:"ExchangeAsset,omitempty"`
	InitiateReserveWithdraw   *interface{}            `json:"InitiateReserveWithdraw,omitempty"`
	InitiateTeleport          *InitiateTeleportV3     `json:"InitiateTeleport,omitempty"`
	QueryHolding              *interface{}            `json:"QueryHolding,omitempty"`
	BuyExecution              *BuyExecution           `json:"BuyExecution,omitempty"`
	RefundSurplus             *interface{}            `json:"RefundSurplus,omitempty"`
	SetErrorHandler           *interface{}            `json:"SetErrorHandler,omitempty"`
	SetAppendix               *interface{}            `json:"SetAppendix,omitempty"`
	ClearError                *interface{}            `json:"ClearError,omitempty"`
	ClaimAsset                *interface{}            `json:"ClaimAsset,omitempty"`
	Trap                      *interface{}            `json:"Trap,omitempty"`
	SubscribeVersion          *interface{}            `json:"SubscribeVersion,omitempty"`
	UnsubscribeVersion        *interface{}            `json:"UnsubscribeVersion,omitempty"`
	BurnAsset                 *interface{}            `json:"BurnAsset,omitempty"`
	ExpectAsset               *interface{}            `json:"ExpectAsset,omitempty"`
	ExpectOrigin              *interface{}            `json:"ExpectOrigin,omitempty"`
	ExpectError               *interface{}            `json:"ExpectError,omitempty"`
	ExpectTransactStatus      *interface{}            `json:"ExpectTransactStatus,omitempty"`
	QueryPallet               *interface{}            `json:"QueryPallet,omitempty"`
	ExpectPallet              *interface{}            `json:"ExpectPallet,omitempty"`
	ReportTransactStatus      *interface{}            `json:"ReportTransactStatus,omitempty"`
	ClearTransactStatus       *interface{}            `json:"ClearTransactStatus,omitempty"`
	UniversalOrigin           *interface{}            `json:"UniversalOrigin,omitempty"`
	ExportMessage             *interface{}            `json:"ExportMessage,omitempty"`
	LockAsset                 *interface{}            `json:"LockAsset,omitempty"`
	UnlockAsset               *interface{}            `json:"UnlockAsset,omitempty"`
	NoteUnlockable            *interface{}            `json:"NoteUnlockable,omitempty"`
	RequestUnlock             *interface{}            `json:"RequestUnlock,omitempty"`
	SetFeesMode               *interface{}            `json:"SetFeesMode,omitempty"`
	SetTopic                  *interface{}            `json:"SetTopic,omitempty"`
	ClearTopic                *interface{}            `json:"ClearTopic,omitempty"`
	AliasOrigin               *interface{}            `json:"AliasOrigin,omitempty"`
	UnpaidExecution           *interface{}            `json:"UnpaidExecution,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL