Documentation
¶
Index ¶
- Variables
- type AssetId
- type Balance
- func (*Balance) Descriptor() ([]byte, []int)deprecated
- func (x *Balance) GetMessageOneof() isBalance_MessageOneof
- func (x *Balance) GetTransfer() *Balance_Transfer
- func (*Balance) ProtoMessage()
- func (x *Balance) ProtoReflect() protoreflect.Message
- func (x *Balance) Reset()
- func (x *Balance) String() string
- type Balance_Transfer
- func (*Balance_Transfer) Descriptor() ([]byte, []int)deprecated
- func (x *Balance_Transfer) GetCallIndices() *polkadot.CallIndices
- func (x *Balance_Transfer) GetMemo() string
- func (x *Balance_Transfer) GetToAddress() string
- func (x *Balance_Transfer) GetValue() []byte
- func (*Balance_Transfer) ProtoMessage()
- func (x *Balance_Transfer) ProtoReflect() protoreflect.Message
- func (x *Balance_Transfer) Reset()
- func (x *Balance_Transfer) String() string
- type Balance_Transfer_
- type Identity
- func (*Identity) Descriptor() ([]byte, []int)deprecated
- func (x *Identity) GetAddAuthorization() *Identity_AddAuthorization
- func (x *Identity) GetJoinIdentityAsKey() *Identity_JoinIdentityAsKey
- func (x *Identity) GetLeaveIdentityAsKey() *Identity_LeaveIdentityAsKey
- func (x *Identity) GetMessageOneof() isIdentity_MessageOneof
- func (*Identity) ProtoMessage()
- func (x *Identity) ProtoReflect() protoreflect.Message
- func (x *Identity) Reset()
- func (x *Identity) String() string
- type IdentityId
- type Identity_AddAuthorization
- func (*Identity_AddAuthorization) Descriptor() ([]byte, []int)deprecated
- func (x *Identity_AddAuthorization) GetAuthorization() *Identity_AddAuthorization_Authorization
- func (x *Identity_AddAuthorization) GetCallIndices() *polkadot.CallIndices
- func (x *Identity_AddAuthorization) GetExpiry() uint64
- func (x *Identity_AddAuthorization) GetTarget() string
- func (*Identity_AddAuthorization) ProtoMessage()
- func (x *Identity_AddAuthorization) ProtoReflect() protoreflect.Message
- func (x *Identity_AddAuthorization) Reset()
- func (x *Identity_AddAuthorization) String() string
- type Identity_AddAuthorization_
- type Identity_AddAuthorization_Authorization
- func (*Identity_AddAuthorization_Authorization) Descriptor() ([]byte, []int)deprecated
- func (x *Identity_AddAuthorization_Authorization) GetAuthOneof() isIdentity_AddAuthorization_Authorization_AuthOneof
- func (x *Identity_AddAuthorization_Authorization) GetJoinIdentity() *SecondaryKeyPermissions
- func (*Identity_AddAuthorization_Authorization) ProtoMessage()
- func (x *Identity_AddAuthorization_Authorization) ProtoReflect() protoreflect.Message
- func (x *Identity_AddAuthorization_Authorization) Reset()
- func (x *Identity_AddAuthorization_Authorization) String() string
- type Identity_AddAuthorization_Authorization_JoinIdentity
- type Identity_JoinIdentityAsKey
- func (*Identity_JoinIdentityAsKey) Descriptor() ([]byte, []int)deprecated
- func (x *Identity_JoinIdentityAsKey) GetAuthId() uint64
- func (x *Identity_JoinIdentityAsKey) GetCallIndices() *polkadot.CallIndices
- func (*Identity_JoinIdentityAsKey) ProtoMessage()
- func (x *Identity_JoinIdentityAsKey) ProtoReflect() protoreflect.Message
- func (x *Identity_JoinIdentityAsKey) Reset()
- func (x *Identity_JoinIdentityAsKey) String() string
- type Identity_JoinIdentityAsKey_
- type Identity_LeaveIdentityAsKey
- func (*Identity_LeaveIdentityAsKey) Descriptor() ([]byte, []int)deprecated
- func (x *Identity_LeaveIdentityAsKey) GetCallIndices() *polkadot.CallIndices
- func (*Identity_LeaveIdentityAsKey) ProtoMessage()
- func (x *Identity_LeaveIdentityAsKey) ProtoReflect() protoreflect.Message
- func (x *Identity_LeaveIdentityAsKey) Reset()
- func (x *Identity_LeaveIdentityAsKey) String() string
- type Identity_LeaveIdentityAsKey_
- type PortfolioId
- func (*PortfolioId) Descriptor() ([]byte, []int)deprecated
- func (x *PortfolioId) GetDefault() bool
- func (x *PortfolioId) GetIdentity() *IdentityId
- func (x *PortfolioId) GetUser() uint64
- func (*PortfolioId) ProtoMessage()
- func (x *PortfolioId) ProtoReflect() protoreflect.Message
- func (x *PortfolioId) Reset()
- func (x *PortfolioId) String() string
- type RuntimeCall
- func (*RuntimeCall) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeCall) GetBalanceCall() *Balance
- func (x *RuntimeCall) GetIdentityCall() *Identity
- func (x *RuntimeCall) GetPalletOneof() isRuntimeCall_PalletOneof
- func (x *RuntimeCall) GetStakingCall() *Staking
- func (x *RuntimeCall) GetUtilityCall() *Utility
- func (*RuntimeCall) ProtoMessage()
- func (x *RuntimeCall) ProtoReflect() protoreflect.Message
- func (x *RuntimeCall) Reset()
- func (x *RuntimeCall) String() string
- type RuntimeCall_BalanceCall
- type RuntimeCall_IdentityCall
- type RuntimeCall_StakingCall
- type RuntimeCall_UtilityCall
- type SecondaryKeyPermissions
- func (*SecondaryKeyPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *SecondaryKeyPermissions) GetAsset() *SecondaryKeyPermissions_AssetPermissions
- func (x *SecondaryKeyPermissions) GetExtrinsic() *SecondaryKeyPermissions_ExtrinsicPermissions
- func (x *SecondaryKeyPermissions) GetPortfolio() *SecondaryKeyPermissions_PortfolioPermissions
- func (*SecondaryKeyPermissions) ProtoMessage()
- func (x *SecondaryKeyPermissions) ProtoReflect() protoreflect.Message
- func (x *SecondaryKeyPermissions) Reset()
- func (x *SecondaryKeyPermissions) String() string
- type SecondaryKeyPermissions_AssetPermissions
- func (*SecondaryKeyPermissions_AssetPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *SecondaryKeyPermissions_AssetPermissions) GetAssets() []*AssetId
- func (x *SecondaryKeyPermissions_AssetPermissions) GetKind() SecondaryKeyPermissions_RestrictionKind
- func (*SecondaryKeyPermissions_AssetPermissions) ProtoMessage()
- func (x *SecondaryKeyPermissions_AssetPermissions) ProtoReflect() protoreflect.Message
- func (x *SecondaryKeyPermissions_AssetPermissions) Reset()
- func (x *SecondaryKeyPermissions_AssetPermissions) String() string
- type SecondaryKeyPermissions_ExtrinsicPermissions
- func (*SecondaryKeyPermissions_ExtrinsicPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *SecondaryKeyPermissions_ExtrinsicPermissions) GetKind() SecondaryKeyPermissions_RestrictionKind
- func (x *SecondaryKeyPermissions_ExtrinsicPermissions) GetPallets() []*SecondaryKeyPermissions_PalletPermissions
- func (*SecondaryKeyPermissions_ExtrinsicPermissions) ProtoMessage()
- func (x *SecondaryKeyPermissions_ExtrinsicPermissions) ProtoReflect() protoreflect.Message
- func (x *SecondaryKeyPermissions_ExtrinsicPermissions) Reset()
- func (x *SecondaryKeyPermissions_ExtrinsicPermissions) String() string
- type SecondaryKeyPermissions_PalletPermissions
- func (*SecondaryKeyPermissions_PalletPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *SecondaryKeyPermissions_PalletPermissions) GetExtrinsicNames() []string
- func (x *SecondaryKeyPermissions_PalletPermissions) GetKind() SecondaryKeyPermissions_RestrictionKind
- func (x *SecondaryKeyPermissions_PalletPermissions) GetPalletName() string
- func (*SecondaryKeyPermissions_PalletPermissions) ProtoMessage()
- func (x *SecondaryKeyPermissions_PalletPermissions) ProtoReflect() protoreflect.Message
- func (x *SecondaryKeyPermissions_PalletPermissions) Reset()
- func (x *SecondaryKeyPermissions_PalletPermissions) String() string
- type SecondaryKeyPermissions_PortfolioPermissions
- func (*SecondaryKeyPermissions_PortfolioPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *SecondaryKeyPermissions_PortfolioPermissions) GetKind() SecondaryKeyPermissions_RestrictionKind
- func (x *SecondaryKeyPermissions_PortfolioPermissions) GetPortfolios() []*PortfolioId
- func (*SecondaryKeyPermissions_PortfolioPermissions) ProtoMessage()
- func (x *SecondaryKeyPermissions_PortfolioPermissions) ProtoReflect() protoreflect.Message
- func (x *SecondaryKeyPermissions_PortfolioPermissions) Reset()
- func (x *SecondaryKeyPermissions_PortfolioPermissions) String() string
- type SecondaryKeyPermissions_RestrictionKind
- func (SecondaryKeyPermissions_RestrictionKind) Descriptor() protoreflect.EnumDescriptor
- func (x SecondaryKeyPermissions_RestrictionKind) Enum() *SecondaryKeyPermissions_RestrictionKind
- func (SecondaryKeyPermissions_RestrictionKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecondaryKeyPermissions_RestrictionKind) Number() protoreflect.EnumNumber
- func (x SecondaryKeyPermissions_RestrictionKind) String() string
- func (SecondaryKeyPermissions_RestrictionKind) Type() protoreflect.EnumType
- type SigningInput
- func (*SigningInput) Descriptor() ([]byte, []int)deprecated
- func (x *SigningInput) GetBlockHash() []byte
- func (x *SigningInput) GetEra() *polkadot.Era
- func (x *SigningInput) GetGenesisHash() []byte
- func (x *SigningInput) GetNetwork() uint32
- func (x *SigningInput) GetNonce() uint64
- func (x *SigningInput) GetPrivateKey() []byte
- func (x *SigningInput) GetRuntimeCall() *RuntimeCall
- func (x *SigningInput) GetSpecVersion() uint32
- func (x *SigningInput) GetTip() []byte
- func (x *SigningInput) GetTransactionVersion() uint32
- func (*SigningInput) ProtoMessage()
- func (x *SigningInput) ProtoReflect() protoreflect.Message
- func (x *SigningInput) Reset()
- func (x *SigningInput) String() string
- type SigningOutput
- func (*SigningOutput) Descriptor() ([]byte, []int)deprecated
- func (x *SigningOutput) GetEncoded() []byte
- func (x *SigningOutput) GetError() common.SigningError
- func (x *SigningOutput) GetErrorMessage() string
- func (*SigningOutput) ProtoMessage()
- func (x *SigningOutput) ProtoReflect() protoreflect.Message
- func (x *SigningOutput) Reset()
- func (x *SigningOutput) String() string
- type Staking
- func (*Staking) Descriptor() ([]byte, []int)deprecated
- func (x *Staking) GetBond() *Staking_Bond
- func (x *Staking) GetBondExtra() *Staking_BondExtra
- func (x *Staking) GetChill() *Staking_Chill
- func (x *Staking) GetMessageOneof() isStaking_MessageOneof
- func (x *Staking) GetNominate() *Staking_Nominate
- func (x *Staking) GetRebond() *Staking_Rebond
- func (x *Staking) GetUnbond() *Staking_Unbond
- func (x *Staking) GetWithdrawUnbonded() *Staking_WithdrawUnbonded
- func (*Staking) ProtoMessage()
- func (x *Staking) ProtoReflect() protoreflect.Message
- func (x *Staking) Reset()
- func (x *Staking) String() string
- type Staking_Bond
- func (*Staking_Bond) Descriptor() ([]byte, []int)deprecated
- func (x *Staking_Bond) GetCallIndices() *polkadot.CallIndices
- func (x *Staking_Bond) GetController() string
- func (x *Staking_Bond) GetRewardDestination() polkadot.RewardDestination
- func (x *Staking_Bond) GetValue() []byte
- func (*Staking_Bond) ProtoMessage()
- func (x *Staking_Bond) ProtoReflect() protoreflect.Message
- func (x *Staking_Bond) Reset()
- func (x *Staking_Bond) String() string
- type Staking_BondExtra
- func (*Staking_BondExtra) Descriptor() ([]byte, []int)deprecated
- func (x *Staking_BondExtra) GetCallIndices() *polkadot.CallIndices
- func (x *Staking_BondExtra) GetValue() []byte
- func (*Staking_BondExtra) ProtoMessage()
- func (x *Staking_BondExtra) ProtoReflect() protoreflect.Message
- func (x *Staking_BondExtra) Reset()
- func (x *Staking_BondExtra) String() string
- type Staking_BondExtra_
- type Staking_Bond_
- type Staking_Chill
- type Staking_Chill_
- type Staking_Nominate
- func (*Staking_Nominate) Descriptor() ([]byte, []int)deprecated
- func (x *Staking_Nominate) GetCallIndices() *polkadot.CallIndices
- func (x *Staking_Nominate) GetNominators() []string
- func (*Staking_Nominate) ProtoMessage()
- func (x *Staking_Nominate) ProtoReflect() protoreflect.Message
- func (x *Staking_Nominate) Reset()
- func (x *Staking_Nominate) String() string
- type Staking_Nominate_
- type Staking_Rebond
- func (*Staking_Rebond) Descriptor() ([]byte, []int)deprecated
- func (x *Staking_Rebond) GetCallIndices() *polkadot.CallIndices
- func (x *Staking_Rebond) GetValue() []byte
- func (*Staking_Rebond) ProtoMessage()
- func (x *Staking_Rebond) ProtoReflect() protoreflect.Message
- func (x *Staking_Rebond) Reset()
- func (x *Staking_Rebond) String() string
- type Staking_Rebond_
- type Staking_Unbond
- func (*Staking_Unbond) Descriptor() ([]byte, []int)deprecated
- func (x *Staking_Unbond) GetCallIndices() *polkadot.CallIndices
- func (x *Staking_Unbond) GetValue() []byte
- func (*Staking_Unbond) ProtoMessage()
- func (x *Staking_Unbond) ProtoReflect() protoreflect.Message
- func (x *Staking_Unbond) Reset()
- func (x *Staking_Unbond) String() string
- type Staking_Unbond_
- type Staking_WithdrawUnbonded
- func (*Staking_WithdrawUnbonded) Descriptor() ([]byte, []int)deprecated
- func (x *Staking_WithdrawUnbonded) GetCallIndices() *polkadot.CallIndices
- func (x *Staking_WithdrawUnbonded) GetSlashingSpans() int32
- func (*Staking_WithdrawUnbonded) ProtoMessage()
- func (x *Staking_WithdrawUnbonded) ProtoReflect() protoreflect.Message
- func (x *Staking_WithdrawUnbonded) Reset()
- func (x *Staking_WithdrawUnbonded) String() string
- type Staking_WithdrawUnbonded_
- type Utility
- func (*Utility) Descriptor() ([]byte, []int)deprecated
- func (x *Utility) GetBatch() *Utility_Batch
- func (x *Utility) GetMessageOneof() isUtility_MessageOneof
- func (*Utility) ProtoMessage()
- func (x *Utility) ProtoReflect() protoreflect.Message
- func (x *Utility) Reset()
- func (x *Utility) String() string
- type Utility_Batch
- func (*Utility_Batch) Descriptor() ([]byte, []int)deprecated
- func (x *Utility_Batch) GetCallIndices() *polkadot.CallIndices
- func (x *Utility_Batch) GetCalls() []*RuntimeCall
- func (x *Utility_Batch) GetKind() Utility_BatchKind
- func (*Utility_Batch) ProtoMessage()
- func (x *Utility_Batch) ProtoReflect() protoreflect.Message
- func (x *Utility_Batch) Reset()
- func (x *Utility_Batch) String() string
- type Utility_BatchKind
- func (Utility_BatchKind) Descriptor() protoreflect.EnumDescriptor
- func (x Utility_BatchKind) Enum() *Utility_BatchKind
- func (Utility_BatchKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x Utility_BatchKind) Number() protoreflect.EnumNumber
- func (x Utility_BatchKind) String() string
- func (Utility_BatchKind) Type() protoreflect.EnumType
- type Utility_Batch_
Constants ¶
This section is empty.
Variables ¶
var ( SecondaryKeyPermissions_RestrictionKind_name = map[int32]string{ 0: "Whole", 1: "These", 2: "Except", } SecondaryKeyPermissions_RestrictionKind_value = map[string]int32{ "Whole": 0, "These": 1, "Except": 2, } )
Enum value maps for SecondaryKeyPermissions_RestrictionKind.
var ( Utility_BatchKind_name = map[int32]string{ 0: "StopOnError", 1: "Atomic", 2: "Optimistic", } Utility_BatchKind_value = map[string]int32{ "StopOnError": 0, "Atomic": 1, "Optimistic": 2, } )
Enum value maps for Utility_BatchKind.
var File_Polymesh_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AssetId ¶
type AssetId struct { // 16 byte asset id. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AssetId) Descriptor
deprecated
func (*AssetId) ProtoMessage ¶
func (*AssetId) ProtoMessage()
func (*AssetId) ProtoReflect ¶
func (x *AssetId) ProtoReflect() protoreflect.Message
type Balance ¶
type Balance struct { // Types that are valid to be assigned to MessageOneof: // // *Balance_Transfer_ MessageOneof isBalance_MessageOneof `protobuf_oneof:"message_oneof"` // contains filtered or unexported fields }
Balance transfer transaction
func (*Balance) Descriptor
deprecated
func (*Balance) GetMessageOneof ¶
func (x *Balance) GetMessageOneof() isBalance_MessageOneof
func (*Balance) GetTransfer ¶
func (x *Balance) GetTransfer() *Balance_Transfer
func (*Balance) ProtoMessage ¶
func (*Balance) ProtoMessage()
func (*Balance) ProtoReflect ¶
func (x *Balance) ProtoReflect() protoreflect.Message
type Balance_Transfer ¶
type Balance_Transfer struct { // destination address ToAddress string `protobuf:"bytes,1,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` // amount (uint256, serialized big endian) Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // max 32 chars Memo string `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"` // call indices CallIndices *polkadot.CallIndices `protobuf:"bytes,4,opt,name=call_indices,json=callIndices,proto3" json:"call_indices,omitempty"` // contains filtered or unexported fields }
transfer
func (*Balance_Transfer) Descriptor
deprecated
func (*Balance_Transfer) Descriptor() ([]byte, []int)
Deprecated: Use Balance_Transfer.ProtoReflect.Descriptor instead.
func (*Balance_Transfer) GetCallIndices ¶
func (x *Balance_Transfer) GetCallIndices() *polkadot.CallIndices
func (*Balance_Transfer) GetMemo ¶
func (x *Balance_Transfer) GetMemo() string
func (*Balance_Transfer) GetToAddress ¶
func (x *Balance_Transfer) GetToAddress() string
func (*Balance_Transfer) GetValue ¶
func (x *Balance_Transfer) GetValue() []byte
func (*Balance_Transfer) ProtoMessage ¶
func (*Balance_Transfer) ProtoMessage()
func (*Balance_Transfer) ProtoReflect ¶
func (x *Balance_Transfer) ProtoReflect() protoreflect.Message
func (*Balance_Transfer) Reset ¶
func (x *Balance_Transfer) Reset()
func (*Balance_Transfer) String ¶
func (x *Balance_Transfer) String() string
type Balance_Transfer_ ¶
type Balance_Transfer_ struct {
Transfer *Balance_Transfer `protobuf:"bytes,1,opt,name=transfer,proto3,oneof"`
}
type Identity ¶
type Identity struct { // Types that are valid to be assigned to MessageOneof: // // *Identity_JoinIdentityAsKey_ // *Identity_AddAuthorization_ // *Identity_LeaveIdentityAsKey_ MessageOneof isIdentity_MessageOneof `protobuf_oneof:"message_oneof"` // contains filtered or unexported fields }
Identity module
func (*Identity) Descriptor
deprecated
func (*Identity) GetAddAuthorization ¶
func (x *Identity) GetAddAuthorization() *Identity_AddAuthorization
func (*Identity) GetJoinIdentityAsKey ¶
func (x *Identity) GetJoinIdentityAsKey() *Identity_JoinIdentityAsKey
func (*Identity) GetLeaveIdentityAsKey ¶
func (x *Identity) GetLeaveIdentityAsKey() *Identity_LeaveIdentityAsKey
func (*Identity) GetMessageOneof ¶
func (x *Identity) GetMessageOneof() isIdentity_MessageOneof
func (*Identity) ProtoMessage ¶
func (*Identity) ProtoMessage()
func (*Identity) ProtoReflect ¶
func (x *Identity) ProtoReflect() protoreflect.Message
type IdentityId ¶
type IdentityId struct { // 32 byte identity id. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*IdentityId) Descriptor
deprecated
func (*IdentityId) Descriptor() ([]byte, []int)
Deprecated: Use IdentityId.ProtoReflect.Descriptor instead.
func (*IdentityId) GetId ¶
func (x *IdentityId) GetId() []byte
func (*IdentityId) ProtoMessage ¶
func (*IdentityId) ProtoMessage()
func (*IdentityId) ProtoReflect ¶
func (x *IdentityId) ProtoReflect() protoreflect.Message
func (*IdentityId) Reset ¶
func (x *IdentityId) Reset()
func (*IdentityId) String ¶
func (x *IdentityId) String() string
type Identity_AddAuthorization ¶
type Identity_AddAuthorization struct { // call indices CallIndices *polkadot.CallIndices `protobuf:"bytes,1,opt,name=call_indices,json=callIndices,proto3" json:"call_indices,omitempty"` // address that will be added to the Identity Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` // Authorization. Authorization *Identity_AddAuthorization_Authorization `protobuf:"bytes,3,opt,name=authorization,proto3" json:"authorization,omitempty"` // expire time, unix seconds Expiry uint64 `protobuf:"varint,4,opt,name=expiry,proto3" json:"expiry,omitempty"` // contains filtered or unexported fields }
Identity::add_authorization call
func (*Identity_AddAuthorization) Descriptor
deprecated
func (*Identity_AddAuthorization) Descriptor() ([]byte, []int)
Deprecated: Use Identity_AddAuthorization.ProtoReflect.Descriptor instead.
func (*Identity_AddAuthorization) GetAuthorization ¶
func (x *Identity_AddAuthorization) GetAuthorization() *Identity_AddAuthorization_Authorization
func (*Identity_AddAuthorization) GetCallIndices ¶
func (x *Identity_AddAuthorization) GetCallIndices() *polkadot.CallIndices
func (*Identity_AddAuthorization) GetExpiry ¶
func (x *Identity_AddAuthorization) GetExpiry() uint64
func (*Identity_AddAuthorization) GetTarget ¶
func (x *Identity_AddAuthorization) GetTarget() string
func (*Identity_AddAuthorization) ProtoMessage ¶
func (*Identity_AddAuthorization) ProtoMessage()
func (*Identity_AddAuthorization) ProtoReflect ¶
func (x *Identity_AddAuthorization) ProtoReflect() protoreflect.Message
func (*Identity_AddAuthorization) Reset ¶
func (x *Identity_AddAuthorization) Reset()
func (*Identity_AddAuthorization) String ¶
func (x *Identity_AddAuthorization) String() string
type Identity_AddAuthorization_ ¶
type Identity_AddAuthorization_ struct {
AddAuthorization *Identity_AddAuthorization `protobuf:"bytes,2,opt,name=add_authorization,json=addAuthorization,proto3,oneof"`
}
type Identity_AddAuthorization_Authorization ¶
type Identity_AddAuthorization_Authorization struct { // Authorization data. // // Types that are valid to be assigned to AuthOneof: // // *Identity_AddAuthorization_Authorization_JoinIdentity AuthOneof isIdentity_AddAuthorization_Authorization_AuthOneof `protobuf_oneof:"auth_oneof"` // contains filtered or unexported fields }
func (*Identity_AddAuthorization_Authorization) Descriptor
deprecated
func (*Identity_AddAuthorization_Authorization) Descriptor() ([]byte, []int)
Deprecated: Use Identity_AddAuthorization_Authorization.ProtoReflect.Descriptor instead.
func (*Identity_AddAuthorization_Authorization) GetAuthOneof ¶
func (x *Identity_AddAuthorization_Authorization) GetAuthOneof() isIdentity_AddAuthorization_Authorization_AuthOneof
func (*Identity_AddAuthorization_Authorization) GetJoinIdentity ¶
func (x *Identity_AddAuthorization_Authorization) GetJoinIdentity() *SecondaryKeyPermissions
func (*Identity_AddAuthorization_Authorization) ProtoMessage ¶
func (*Identity_AddAuthorization_Authorization) ProtoMessage()
func (*Identity_AddAuthorization_Authorization) ProtoReflect ¶
func (x *Identity_AddAuthorization_Authorization) ProtoReflect() protoreflect.Message
func (*Identity_AddAuthorization_Authorization) Reset ¶
func (x *Identity_AddAuthorization_Authorization) Reset()
func (*Identity_AddAuthorization_Authorization) String ¶
func (x *Identity_AddAuthorization_Authorization) String() string
type Identity_AddAuthorization_Authorization_JoinIdentity ¶
type Identity_AddAuthorization_Authorization_JoinIdentity struct { // AttestPrimaryKeyRotation(IdentityId) = 1 // RotatePrimaryKey = 2 // TransferTicker(Ticker) = 3 // AddMultiSigSigner(AccountId) = 4 // TransferAssetOwnership(AssetId) = 5 JoinIdentity *SecondaryKeyPermissions `protobuf:"bytes,6,opt,name=join_identity,json=joinIdentity,proto3,oneof"` }
type Identity_JoinIdentityAsKey ¶
type Identity_JoinIdentityAsKey struct { // call indices CallIndices *polkadot.CallIndices `protobuf:"bytes,1,opt,name=call_indices,json=callIndices,proto3" json:"call_indices,omitempty"` // auth id AuthId uint64 `protobuf:"varint,2,opt,name=auth_id,json=authId,proto3" json:"auth_id,omitempty"` // contains filtered or unexported fields }
Identity::join_identity_as_key call
func (*Identity_JoinIdentityAsKey) Descriptor
deprecated
func (*Identity_JoinIdentityAsKey) Descriptor() ([]byte, []int)
Deprecated: Use Identity_JoinIdentityAsKey.ProtoReflect.Descriptor instead.
func (*Identity_JoinIdentityAsKey) GetAuthId ¶
func (x *Identity_JoinIdentityAsKey) GetAuthId() uint64
func (*Identity_JoinIdentityAsKey) GetCallIndices ¶
func (x *Identity_JoinIdentityAsKey) GetCallIndices() *polkadot.CallIndices
func (*Identity_JoinIdentityAsKey) ProtoMessage ¶
func (*Identity_JoinIdentityAsKey) ProtoMessage()
func (*Identity_JoinIdentityAsKey) ProtoReflect ¶
func (x *Identity_JoinIdentityAsKey) ProtoReflect() protoreflect.Message
func (*Identity_JoinIdentityAsKey) Reset ¶
func (x *Identity_JoinIdentityAsKey) Reset()
func (*Identity_JoinIdentityAsKey) String ¶
func (x *Identity_JoinIdentityAsKey) String() string
type Identity_JoinIdentityAsKey_ ¶
type Identity_JoinIdentityAsKey_ struct {
JoinIdentityAsKey *Identity_JoinIdentityAsKey `protobuf:"bytes,1,opt,name=join_identity_as_key,json=joinIdentityAsKey,proto3,oneof"`
}
type Identity_LeaveIdentityAsKey ¶
type Identity_LeaveIdentityAsKey struct { // call indices CallIndices *polkadot.CallIndices `protobuf:"bytes,1,opt,name=call_indices,json=callIndices,proto3" json:"call_indices,omitempty"` // contains filtered or unexported fields }
Identity::leave_identity_as_key call
func (*Identity_LeaveIdentityAsKey) Descriptor
deprecated
func (*Identity_LeaveIdentityAsKey) Descriptor() ([]byte, []int)
Deprecated: Use Identity_LeaveIdentityAsKey.ProtoReflect.Descriptor instead.
func (*Identity_LeaveIdentityAsKey) GetCallIndices ¶
func (x *Identity_LeaveIdentityAsKey) GetCallIndices() *polkadot.CallIndices
func (*Identity_LeaveIdentityAsKey) ProtoMessage ¶
func (*Identity_LeaveIdentityAsKey) ProtoMessage()
func (*Identity_LeaveIdentityAsKey) ProtoReflect ¶
func (x *Identity_LeaveIdentityAsKey) ProtoReflect() protoreflect.Message
func (*Identity_LeaveIdentityAsKey) Reset ¶
func (x *Identity_LeaveIdentityAsKey) Reset()
func (*Identity_LeaveIdentityAsKey) String ¶
func (x *Identity_LeaveIdentityAsKey) String() string
type Identity_LeaveIdentityAsKey_ ¶
type Identity_LeaveIdentityAsKey_ struct {
LeaveIdentityAsKey *Identity_LeaveIdentityAsKey `protobuf:"bytes,3,opt,name=leave_identity_as_key,json=leaveIdentityAsKey,proto3,oneof"`
}
type PortfolioId ¶
type PortfolioId struct { // IdentityId of the portfolio owner. Identity *IdentityId `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // If `default` is true ignore the `user` field. Default bool `protobuf:"varint,2,opt,name=default,proto3" json:"default,omitempty"` // The users portfolio number. (ignored if `default = true`) User uint64 `protobuf:"varint,3,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*PortfolioId) Descriptor
deprecated
func (*PortfolioId) Descriptor() ([]byte, []int)
Deprecated: Use PortfolioId.ProtoReflect.Descriptor instead.
func (*PortfolioId) GetDefault ¶
func (x *PortfolioId) GetDefault() bool
func (*PortfolioId) GetIdentity ¶
func (x *PortfolioId) GetIdentity() *IdentityId
func (*PortfolioId) GetUser ¶
func (x *PortfolioId) GetUser() uint64
func (*PortfolioId) ProtoMessage ¶
func (*PortfolioId) ProtoMessage()
func (*PortfolioId) ProtoReflect ¶
func (x *PortfolioId) ProtoReflect() protoreflect.Message
func (*PortfolioId) Reset ¶
func (x *PortfolioId) Reset()
func (*PortfolioId) String ¶
func (x *PortfolioId) String() string
type RuntimeCall ¶
type RuntimeCall struct { // Top-level pallets. // // Types that are valid to be assigned to PalletOneof: // // *RuntimeCall_BalanceCall // *RuntimeCall_StakingCall // *RuntimeCall_IdentityCall // *RuntimeCall_UtilityCall PalletOneof isRuntimeCall_PalletOneof `protobuf_oneof:"pallet_oneof"` // contains filtered or unexported fields }
Polymesh runtime call.
func (*RuntimeCall) Descriptor
deprecated
func (*RuntimeCall) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeCall.ProtoReflect.Descriptor instead.
func (*RuntimeCall) GetBalanceCall ¶
func (x *RuntimeCall) GetBalanceCall() *Balance
func (*RuntimeCall) GetIdentityCall ¶
func (x *RuntimeCall) GetIdentityCall() *Identity
func (*RuntimeCall) GetPalletOneof ¶
func (x *RuntimeCall) GetPalletOneof() isRuntimeCall_PalletOneof
func (*RuntimeCall) GetStakingCall ¶
func (x *RuntimeCall) GetStakingCall() *Staking
func (*RuntimeCall) GetUtilityCall ¶
func (x *RuntimeCall) GetUtilityCall() *Utility
func (*RuntimeCall) ProtoMessage ¶
func (*RuntimeCall) ProtoMessage()
func (*RuntimeCall) ProtoReflect ¶
func (x *RuntimeCall) ProtoReflect() protoreflect.Message
func (*RuntimeCall) Reset ¶
func (x *RuntimeCall) Reset()
func (*RuntimeCall) String ¶
func (x *RuntimeCall) String() string
type RuntimeCall_BalanceCall ¶
type RuntimeCall_BalanceCall struct {
BalanceCall *Balance `protobuf:"bytes,1,opt,name=balance_call,json=balanceCall,proto3,oneof"`
}
type RuntimeCall_IdentityCall ¶
type RuntimeCall_IdentityCall struct {
IdentityCall *Identity `protobuf:"bytes,3,opt,name=identity_call,json=identityCall,proto3,oneof"`
}
type RuntimeCall_StakingCall ¶
type RuntimeCall_StakingCall struct {
StakingCall *Staking `protobuf:"bytes,2,opt,name=staking_call,json=stakingCall,proto3,oneof"`
}
type RuntimeCall_UtilityCall ¶
type RuntimeCall_UtilityCall struct {
UtilityCall *Utility `protobuf:"bytes,4,opt,name=utility_call,json=utilityCall,proto3,oneof"`
}
type SecondaryKeyPermissions ¶
type SecondaryKeyPermissions struct { // The assets permissions of the secondary key. Asset *SecondaryKeyPermissions_AssetPermissions `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` // The pallet/extrinsic permissions of the secondary key. Extrinsic *SecondaryKeyPermissions_ExtrinsicPermissions `protobuf:"bytes,2,opt,name=extrinsic,proto3" json:"extrinsic,omitempty"` // The portfolio permissions of the secondary key. Portfolio *SecondaryKeyPermissions_PortfolioPermissions `protobuf:"bytes,3,opt,name=portfolio,proto3" json:"portfolio,omitempty"` // contains filtered or unexported fields }
func (*SecondaryKeyPermissions) Descriptor
deprecated
func (*SecondaryKeyPermissions) Descriptor() ([]byte, []int)
Deprecated: Use SecondaryKeyPermissions.ProtoReflect.Descriptor instead.
func (*SecondaryKeyPermissions) GetAsset ¶
func (x *SecondaryKeyPermissions) GetAsset() *SecondaryKeyPermissions_AssetPermissions
func (*SecondaryKeyPermissions) GetExtrinsic ¶
func (x *SecondaryKeyPermissions) GetExtrinsic() *SecondaryKeyPermissions_ExtrinsicPermissions
func (*SecondaryKeyPermissions) GetPortfolio ¶
func (x *SecondaryKeyPermissions) GetPortfolio() *SecondaryKeyPermissions_PortfolioPermissions
func (*SecondaryKeyPermissions) ProtoMessage ¶
func (*SecondaryKeyPermissions) ProtoMessage()
func (*SecondaryKeyPermissions) ProtoReflect ¶
func (x *SecondaryKeyPermissions) ProtoReflect() protoreflect.Message
func (*SecondaryKeyPermissions) Reset ¶
func (x *SecondaryKeyPermissions) Reset()
func (*SecondaryKeyPermissions) String ¶
func (x *SecondaryKeyPermissions) String() string
type SecondaryKeyPermissions_AssetPermissions ¶
type SecondaryKeyPermissions_AssetPermissions struct { Kind SecondaryKeyPermissions_RestrictionKind `protobuf:"varint,1,opt,name=kind,proto3,enum=TW.Polymesh.Proto.SecondaryKeyPermissions_RestrictionKind" json:"kind,omitempty"` Assets []*AssetId `protobuf:"bytes,2,rep,name=assets,proto3" json:"assets,omitempty"` // contains filtered or unexported fields }
func (*SecondaryKeyPermissions_AssetPermissions) Descriptor
deprecated
func (*SecondaryKeyPermissions_AssetPermissions) Descriptor() ([]byte, []int)
Deprecated: Use SecondaryKeyPermissions_AssetPermissions.ProtoReflect.Descriptor instead.
func (*SecondaryKeyPermissions_AssetPermissions) GetAssets ¶
func (x *SecondaryKeyPermissions_AssetPermissions) GetAssets() []*AssetId
func (*SecondaryKeyPermissions_AssetPermissions) GetKind ¶
func (x *SecondaryKeyPermissions_AssetPermissions) GetKind() SecondaryKeyPermissions_RestrictionKind
func (*SecondaryKeyPermissions_AssetPermissions) ProtoMessage ¶
func (*SecondaryKeyPermissions_AssetPermissions) ProtoMessage()
func (*SecondaryKeyPermissions_AssetPermissions) ProtoReflect ¶
func (x *SecondaryKeyPermissions_AssetPermissions) ProtoReflect() protoreflect.Message
func (*SecondaryKeyPermissions_AssetPermissions) Reset ¶
func (x *SecondaryKeyPermissions_AssetPermissions) Reset()
func (*SecondaryKeyPermissions_AssetPermissions) String ¶
func (x *SecondaryKeyPermissions_AssetPermissions) String() string
type SecondaryKeyPermissions_ExtrinsicPermissions ¶
type SecondaryKeyPermissions_ExtrinsicPermissions struct { Kind SecondaryKeyPermissions_RestrictionKind `protobuf:"varint,1,opt,name=kind,proto3,enum=TW.Polymesh.Proto.SecondaryKeyPermissions_RestrictionKind" json:"kind,omitempty"` Pallets []*SecondaryKeyPermissions_PalletPermissions `protobuf:"bytes,2,rep,name=pallets,proto3" json:"pallets,omitempty"` // contains filtered or unexported fields }
func (*SecondaryKeyPermissions_ExtrinsicPermissions) Descriptor
deprecated
func (*SecondaryKeyPermissions_ExtrinsicPermissions) Descriptor() ([]byte, []int)
Deprecated: Use SecondaryKeyPermissions_ExtrinsicPermissions.ProtoReflect.Descriptor instead.
func (*SecondaryKeyPermissions_ExtrinsicPermissions) GetKind ¶
func (x *SecondaryKeyPermissions_ExtrinsicPermissions) GetKind() SecondaryKeyPermissions_RestrictionKind
func (*SecondaryKeyPermissions_ExtrinsicPermissions) GetPallets ¶
func (x *SecondaryKeyPermissions_ExtrinsicPermissions) GetPallets() []*SecondaryKeyPermissions_PalletPermissions
func (*SecondaryKeyPermissions_ExtrinsicPermissions) ProtoMessage ¶
func (*SecondaryKeyPermissions_ExtrinsicPermissions) ProtoMessage()
func (*SecondaryKeyPermissions_ExtrinsicPermissions) ProtoReflect ¶
func (x *SecondaryKeyPermissions_ExtrinsicPermissions) ProtoReflect() protoreflect.Message
func (*SecondaryKeyPermissions_ExtrinsicPermissions) Reset ¶
func (x *SecondaryKeyPermissions_ExtrinsicPermissions) Reset()
func (*SecondaryKeyPermissions_ExtrinsicPermissions) String ¶
func (x *SecondaryKeyPermissions_ExtrinsicPermissions) String() string
type SecondaryKeyPermissions_PalletPermissions ¶
type SecondaryKeyPermissions_PalletPermissions struct { PalletName string `protobuf:"bytes,1,opt,name=pallet_name,json=palletName,proto3" json:"pallet_name,omitempty"` Kind SecondaryKeyPermissions_RestrictionKind `protobuf:"varint,2,opt,name=kind,proto3,enum=TW.Polymesh.Proto.SecondaryKeyPermissions_RestrictionKind" json:"kind,omitempty"` ExtrinsicNames []string `protobuf:"bytes,3,rep,name=extrinsic_names,json=extrinsicNames,proto3" json:"extrinsic_names,omitempty"` // contains filtered or unexported fields }
func (*SecondaryKeyPermissions_PalletPermissions) Descriptor
deprecated
func (*SecondaryKeyPermissions_PalletPermissions) Descriptor() ([]byte, []int)
Deprecated: Use SecondaryKeyPermissions_PalletPermissions.ProtoReflect.Descriptor instead.
func (*SecondaryKeyPermissions_PalletPermissions) GetExtrinsicNames ¶
func (x *SecondaryKeyPermissions_PalletPermissions) GetExtrinsicNames() []string
func (*SecondaryKeyPermissions_PalletPermissions) GetKind ¶
func (x *SecondaryKeyPermissions_PalletPermissions) GetKind() SecondaryKeyPermissions_RestrictionKind
func (*SecondaryKeyPermissions_PalletPermissions) GetPalletName ¶
func (x *SecondaryKeyPermissions_PalletPermissions) GetPalletName() string
func (*SecondaryKeyPermissions_PalletPermissions) ProtoMessage ¶
func (*SecondaryKeyPermissions_PalletPermissions) ProtoMessage()
func (*SecondaryKeyPermissions_PalletPermissions) ProtoReflect ¶
func (x *SecondaryKeyPermissions_PalletPermissions) ProtoReflect() protoreflect.Message
func (*SecondaryKeyPermissions_PalletPermissions) Reset ¶
func (x *SecondaryKeyPermissions_PalletPermissions) Reset()
func (*SecondaryKeyPermissions_PalletPermissions) String ¶
func (x *SecondaryKeyPermissions_PalletPermissions) String() string
type SecondaryKeyPermissions_PortfolioPermissions ¶
type SecondaryKeyPermissions_PortfolioPermissions struct { Kind SecondaryKeyPermissions_RestrictionKind `protobuf:"varint,1,opt,name=kind,proto3,enum=TW.Polymesh.Proto.SecondaryKeyPermissions_RestrictionKind" json:"kind,omitempty"` Portfolios []*PortfolioId `protobuf:"bytes,2,rep,name=portfolios,proto3" json:"portfolios,omitempty"` // contains filtered or unexported fields }
func (*SecondaryKeyPermissions_PortfolioPermissions) Descriptor
deprecated
func (*SecondaryKeyPermissions_PortfolioPermissions) Descriptor() ([]byte, []int)
Deprecated: Use SecondaryKeyPermissions_PortfolioPermissions.ProtoReflect.Descriptor instead.
func (*SecondaryKeyPermissions_PortfolioPermissions) GetKind ¶
func (x *SecondaryKeyPermissions_PortfolioPermissions) GetKind() SecondaryKeyPermissions_RestrictionKind
func (*SecondaryKeyPermissions_PortfolioPermissions) GetPortfolios ¶
func (x *SecondaryKeyPermissions_PortfolioPermissions) GetPortfolios() []*PortfolioId
func (*SecondaryKeyPermissions_PortfolioPermissions) ProtoMessage ¶
func (*SecondaryKeyPermissions_PortfolioPermissions) ProtoMessage()
func (*SecondaryKeyPermissions_PortfolioPermissions) ProtoReflect ¶
func (x *SecondaryKeyPermissions_PortfolioPermissions) ProtoReflect() protoreflect.Message
func (*SecondaryKeyPermissions_PortfolioPermissions) Reset ¶
func (x *SecondaryKeyPermissions_PortfolioPermissions) Reset()
func (*SecondaryKeyPermissions_PortfolioPermissions) String ¶
func (x *SecondaryKeyPermissions_PortfolioPermissions) String() string
type SecondaryKeyPermissions_RestrictionKind ¶
type SecondaryKeyPermissions_RestrictionKind int32
const ( SecondaryKeyPermissions_Whole SecondaryKeyPermissions_RestrictionKind = 0 SecondaryKeyPermissions_These SecondaryKeyPermissions_RestrictionKind = 1 SecondaryKeyPermissions_Except SecondaryKeyPermissions_RestrictionKind = 2 )
func (SecondaryKeyPermissions_RestrictionKind) Descriptor ¶
func (SecondaryKeyPermissions_RestrictionKind) Descriptor() protoreflect.EnumDescriptor
func (SecondaryKeyPermissions_RestrictionKind) EnumDescriptor
deprecated
func (SecondaryKeyPermissions_RestrictionKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecondaryKeyPermissions_RestrictionKind.Descriptor instead.
func (SecondaryKeyPermissions_RestrictionKind) Number ¶
func (x SecondaryKeyPermissions_RestrictionKind) Number() protoreflect.EnumNumber
func (SecondaryKeyPermissions_RestrictionKind) String ¶
func (x SecondaryKeyPermissions_RestrictionKind) String() string
func (SecondaryKeyPermissions_RestrictionKind) Type ¶
func (SecondaryKeyPermissions_RestrictionKind) Type() protoreflect.EnumType
type SigningInput ¶
type SigningInput struct { // Recent block hash, or genesis hash if era is not set BlockHash []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // Genesis block hash (identifies the chain) GenesisHash []byte `protobuf:"bytes,2,opt,name=genesis_hash,json=genesisHash,proto3" json:"genesis_hash,omitempty"` // Current account nonce Nonce uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` // Specification version, e.g. 26. SpecVersion uint32 `protobuf:"varint,4,opt,name=spec_version,json=specVersion,proto3" json:"spec_version,omitempty"` // Transaction version, e.g. 5. TransactionVersion uint32 `protobuf:"varint,5,opt,name=transaction_version,json=transactionVersion,proto3" json:"transaction_version,omitempty"` // Optional tip to pay, big integer Tip []byte `protobuf:"bytes,6,opt,name=tip,proto3" json:"tip,omitempty"` // Optional time validity limit, recommended, for replay-protection. Empty means Immortal. Era *polkadot.Era `protobuf:"bytes,7,opt,name=era,proto3" json:"era,omitempty"` // The secret private key used for signing (32 bytes). PrivateKey []byte `protobuf:"bytes,8,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // Network type Network uint32 `protobuf:"varint,9,opt,name=network,proto3" json:"network,omitempty"` // Payload call RuntimeCall *RuntimeCall `protobuf:"bytes,10,opt,name=runtime_call,json=runtimeCall,proto3" json:"runtime_call,omitempty"` // contains filtered or unexported fields }
Input data necessary to create a signed transaction.
func (*SigningInput) Descriptor
deprecated
func (*SigningInput) Descriptor() ([]byte, []int)
Deprecated: Use SigningInput.ProtoReflect.Descriptor instead.
func (*SigningInput) GetBlockHash ¶
func (x *SigningInput) GetBlockHash() []byte
func (*SigningInput) GetEra ¶
func (x *SigningInput) GetEra() *polkadot.Era
func (*SigningInput) GetGenesisHash ¶
func (x *SigningInput) GetGenesisHash() []byte
func (*SigningInput) GetNetwork ¶
func (x *SigningInput) GetNetwork() uint32
func (*SigningInput) GetNonce ¶
func (x *SigningInput) GetNonce() uint64
func (*SigningInput) GetPrivateKey ¶
func (x *SigningInput) GetPrivateKey() []byte
func (*SigningInput) GetRuntimeCall ¶
func (x *SigningInput) GetRuntimeCall() *RuntimeCall
func (*SigningInput) GetSpecVersion ¶
func (x *SigningInput) GetSpecVersion() uint32
func (*SigningInput) GetTip ¶
func (x *SigningInput) GetTip() []byte
func (*SigningInput) GetTransactionVersion ¶
func (x *SigningInput) GetTransactionVersion() uint32
func (*SigningInput) ProtoMessage ¶
func (*SigningInput) ProtoMessage()
func (*SigningInput) ProtoReflect ¶
func (x *SigningInput) ProtoReflect() protoreflect.Message
func (*SigningInput) Reset ¶
func (x *SigningInput) Reset()
func (*SigningInput) String ¶
func (x *SigningInput) String() string
type SigningOutput ¶
type SigningOutput struct { // Signed and encoded transaction bytes. Encoded []byte `protobuf:"bytes,1,opt,name=encoded,proto3" json:"encoded,omitempty"` // error code, 0 is ok, other codes will be treated as errors Error common.SigningError `protobuf:"varint,2,opt,name=error,proto3,enum=TW.Common.Proto.SigningError" json:"error,omitempty"` // error code description ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
Result containing the signed and encoded transaction.
func (*SigningOutput) Descriptor
deprecated
func (*SigningOutput) Descriptor() ([]byte, []int)
Deprecated: Use SigningOutput.ProtoReflect.Descriptor instead.
func (*SigningOutput) GetEncoded ¶
func (x *SigningOutput) GetEncoded() []byte
func (*SigningOutput) GetError ¶
func (x *SigningOutput) GetError() common.SigningError
func (*SigningOutput) GetErrorMessage ¶
func (x *SigningOutput) GetErrorMessage() string
func (*SigningOutput) ProtoMessage ¶
func (*SigningOutput) ProtoMessage()
func (*SigningOutput) ProtoReflect ¶
func (x *SigningOutput) ProtoReflect() protoreflect.Message
func (*SigningOutput) Reset ¶
func (x *SigningOutput) Reset()
func (*SigningOutput) String ¶
func (x *SigningOutput) String() string
type Staking ¶
type Staking struct { // Payload messsage // // Types that are valid to be assigned to MessageOneof: // // *Staking_Bond_ // *Staking_BondExtra_ // *Staking_Unbond_ // *Staking_WithdrawUnbonded_ // *Staking_Nominate_ // *Staking_Chill_ // *Staking_Rebond_ MessageOneof isStaking_MessageOneof `protobuf_oneof:"message_oneof"` // contains filtered or unexported fields }
Staking transaction
func (*Staking) Descriptor
deprecated
func (*Staking) GetBond ¶
func (x *Staking) GetBond() *Staking_Bond
func (*Staking) GetBondExtra ¶
func (x *Staking) GetBondExtra() *Staking_BondExtra
func (*Staking) GetChill ¶
func (x *Staking) GetChill() *Staking_Chill
func (*Staking) GetMessageOneof ¶
func (x *Staking) GetMessageOneof() isStaking_MessageOneof
func (*Staking) GetNominate ¶
func (x *Staking) GetNominate() *Staking_Nominate
func (*Staking) GetRebond ¶
func (x *Staking) GetRebond() *Staking_Rebond
func (*Staking) GetUnbond ¶
func (x *Staking) GetUnbond() *Staking_Unbond
func (*Staking) GetWithdrawUnbonded ¶
func (x *Staking) GetWithdrawUnbonded() *Staking_WithdrawUnbonded
func (*Staking) ProtoMessage ¶
func (*Staking) ProtoMessage()
func (*Staking) ProtoReflect ¶
func (x *Staking) ProtoReflect() protoreflect.Message
type Staking_Bond ¶
type Staking_Bond struct { // controller ID (optional) Controller string `protobuf:"bytes,1,opt,name=controller,proto3" json:"controller,omitempty"` // amount (uint256, serialized big endian) Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // destination for rewards RewardDestination polkadot.RewardDestination `` /* 154-byte string literal not displayed */ // call indices CallIndices *polkadot.CallIndices `protobuf:"bytes,4,opt,name=call_indices,json=callIndices,proto3" json:"call_indices,omitempty"` // contains filtered or unexported fields }
Bond to a controller
func (*Staking_Bond) Descriptor
deprecated
func (*Staking_Bond) Descriptor() ([]byte, []int)
Deprecated: Use Staking_Bond.ProtoReflect.Descriptor instead.
func (*Staking_Bond) GetCallIndices ¶
func (x *Staking_Bond) GetCallIndices() *polkadot.CallIndices
func (*Staking_Bond) GetController ¶
func (x *Staking_Bond) GetController() string
func (*Staking_Bond) GetRewardDestination ¶
func (x *Staking_Bond) GetRewardDestination() polkadot.RewardDestination
func (*Staking_Bond) GetValue ¶
func (x *Staking_Bond) GetValue() []byte
func (*Staking_Bond) ProtoMessage ¶
func (*Staking_Bond) ProtoMessage()
func (*Staking_Bond) ProtoReflect ¶
func (x *Staking_Bond) ProtoReflect() protoreflect.Message
func (*Staking_Bond) Reset ¶
func (x *Staking_Bond) Reset()
func (*Staking_Bond) String ¶
func (x *Staking_Bond) String() string
type Staking_BondExtra ¶
type Staking_BondExtra struct { // amount (uint256, serialized big endian) Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // call indices CallIndices *polkadot.CallIndices `protobuf:"bytes,2,opt,name=call_indices,json=callIndices,proto3" json:"call_indices,omitempty"` // contains filtered or unexported fields }
Bond extra amount
func (*Staking_BondExtra) Descriptor
deprecated
func (*Staking_BondExtra) Descriptor() ([]byte, []int)
Deprecated: Use Staking_BondExtra.ProtoReflect.Descriptor instead.
func (*Staking_BondExtra) GetCallIndices ¶
func (x *Staking_BondExtra) GetCallIndices() *polkadot.CallIndices
func (*Staking_BondExtra) GetValue ¶
func (x *Staking_BondExtra) GetValue() []byte
func (*Staking_BondExtra) ProtoMessage ¶
func (*Staking_BondExtra) ProtoMessage()
func (*Staking_BondExtra) ProtoReflect ¶
func (x *Staking_BondExtra) ProtoReflect() protoreflect.Message
func (*Staking_BondExtra) Reset ¶
func (x *Staking_BondExtra) Reset()
func (*Staking_BondExtra) String ¶
func (x *Staking_BondExtra) String() string
type Staking_BondExtra_ ¶
type Staking_BondExtra_ struct {
BondExtra *Staking_BondExtra `protobuf:"bytes,2,opt,name=bond_extra,json=bondExtra,proto3,oneof"`
}
type Staking_Bond_ ¶
type Staking_Bond_ struct {
Bond *Staking_Bond `protobuf:"bytes,1,opt,name=bond,proto3,oneof"`
}
type Staking_Chill ¶
type Staking_Chill struct { // call indices CallIndices *polkadot.CallIndices `protobuf:"bytes,1,opt,name=call_indices,json=callIndices,proto3" json:"call_indices,omitempty"` // contains filtered or unexported fields }
Chill
func (*Staking_Chill) Descriptor
deprecated
func (*Staking_Chill) Descriptor() ([]byte, []int)
Deprecated: Use Staking_Chill.ProtoReflect.Descriptor instead.
func (*Staking_Chill) GetCallIndices ¶
func (x *Staking_Chill) GetCallIndices() *polkadot.CallIndices
func (*Staking_Chill) ProtoMessage ¶
func (*Staking_Chill) ProtoMessage()
func (*Staking_Chill) ProtoReflect ¶
func (x *Staking_Chill) ProtoReflect() protoreflect.Message
func (*Staking_Chill) Reset ¶
func (x *Staking_Chill) Reset()
func (*Staking_Chill) String ¶
func (x *Staking_Chill) String() string
type Staking_Chill_ ¶
type Staking_Chill_ struct {
Chill *Staking_Chill `protobuf:"bytes,6,opt,name=chill,proto3,oneof"`
}
type Staking_Nominate ¶
type Staking_Nominate struct { // list of nominators Nominators []string `protobuf:"bytes,1,rep,name=nominators,proto3" json:"nominators,omitempty"` // call indices CallIndices *polkadot.CallIndices `protobuf:"bytes,2,opt,name=call_indices,json=callIndices,proto3" json:"call_indices,omitempty"` // contains filtered or unexported fields }
Nominate
func (*Staking_Nominate) Descriptor
deprecated
func (*Staking_Nominate) Descriptor() ([]byte, []int)
Deprecated: Use Staking_Nominate.ProtoReflect.Descriptor instead.
func (*Staking_Nominate) GetCallIndices ¶
func (x *Staking_Nominate) GetCallIndices() *polkadot.CallIndices
func (*Staking_Nominate) GetNominators ¶
func (x *Staking_Nominate) GetNominators() []string
func (*Staking_Nominate) ProtoMessage ¶
func (*Staking_Nominate) ProtoMessage()
func (*Staking_Nominate) ProtoReflect ¶
func (x *Staking_Nominate) ProtoReflect() protoreflect.Message
func (*Staking_Nominate) Reset ¶
func (x *Staking_Nominate) Reset()
func (*Staking_Nominate) String ¶
func (x *Staking_Nominate) String() string
type Staking_Nominate_ ¶
type Staking_Nominate_ struct {
Nominate *Staking_Nominate `protobuf:"bytes,5,opt,name=nominate,proto3,oneof"`
}
type Staking_Rebond ¶
type Staking_Rebond struct { // amount (uint256, serialized big endian) Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // call indices CallIndices *polkadot.CallIndices `protobuf:"bytes,2,opt,name=call_indices,json=callIndices,proto3" json:"call_indices,omitempty"` // contains filtered or unexported fields }
Rebond
func (*Staking_Rebond) Descriptor
deprecated
func (*Staking_Rebond) Descriptor() ([]byte, []int)
Deprecated: Use Staking_Rebond.ProtoReflect.Descriptor instead.
func (*Staking_Rebond) GetCallIndices ¶
func (x *Staking_Rebond) GetCallIndices() *polkadot.CallIndices
func (*Staking_Rebond) GetValue ¶
func (x *Staking_Rebond) GetValue() []byte
func (*Staking_Rebond) ProtoMessage ¶
func (*Staking_Rebond) ProtoMessage()
func (*Staking_Rebond) ProtoReflect ¶
func (x *Staking_Rebond) ProtoReflect() protoreflect.Message
func (*Staking_Rebond) Reset ¶
func (x *Staking_Rebond) Reset()
func (*Staking_Rebond) String ¶
func (x *Staking_Rebond) String() string
type Staking_Rebond_ ¶
type Staking_Rebond_ struct {
Rebond *Staking_Rebond `protobuf:"bytes,7,opt,name=rebond,proto3,oneof"`
}
type Staking_Unbond ¶
type Staking_Unbond struct { // amount (uint256, serialized big endian) Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // call indices CallIndices *polkadot.CallIndices `protobuf:"bytes,2,opt,name=call_indices,json=callIndices,proto3" json:"call_indices,omitempty"` // contains filtered or unexported fields }
Unbond
func (*Staking_Unbond) Descriptor
deprecated
func (*Staking_Unbond) Descriptor() ([]byte, []int)
Deprecated: Use Staking_Unbond.ProtoReflect.Descriptor instead.
func (*Staking_Unbond) GetCallIndices ¶
func (x *Staking_Unbond) GetCallIndices() *polkadot.CallIndices
func (*Staking_Unbond) GetValue ¶
func (x *Staking_Unbond) GetValue() []byte
func (*Staking_Unbond) ProtoMessage ¶
func (*Staking_Unbond) ProtoMessage()
func (*Staking_Unbond) ProtoReflect ¶
func (x *Staking_Unbond) ProtoReflect() protoreflect.Message
func (*Staking_Unbond) Reset ¶
func (x *Staking_Unbond) Reset()
func (*Staking_Unbond) String ¶
func (x *Staking_Unbond) String() string
type Staking_Unbond_ ¶
type Staking_Unbond_ struct {
Unbond *Staking_Unbond `protobuf:"bytes,3,opt,name=unbond,proto3,oneof"`
}
type Staking_WithdrawUnbonded ¶
type Staking_WithdrawUnbonded struct { SlashingSpans int32 `protobuf:"varint,1,opt,name=slashing_spans,json=slashingSpans,proto3" json:"slashing_spans,omitempty"` // call indices CallIndices *polkadot.CallIndices `protobuf:"bytes,2,opt,name=call_indices,json=callIndices,proto3" json:"call_indices,omitempty"` // contains filtered or unexported fields }
Withdraw unbonded amounts
func (*Staking_WithdrawUnbonded) Descriptor
deprecated
func (*Staking_WithdrawUnbonded) Descriptor() ([]byte, []int)
Deprecated: Use Staking_WithdrawUnbonded.ProtoReflect.Descriptor instead.
func (*Staking_WithdrawUnbonded) GetCallIndices ¶
func (x *Staking_WithdrawUnbonded) GetCallIndices() *polkadot.CallIndices
func (*Staking_WithdrawUnbonded) GetSlashingSpans ¶
func (x *Staking_WithdrawUnbonded) GetSlashingSpans() int32
func (*Staking_WithdrawUnbonded) ProtoMessage ¶
func (*Staking_WithdrawUnbonded) ProtoMessage()
func (*Staking_WithdrawUnbonded) ProtoReflect ¶
func (x *Staking_WithdrawUnbonded) ProtoReflect() protoreflect.Message
func (*Staking_WithdrawUnbonded) Reset ¶
func (x *Staking_WithdrawUnbonded) Reset()
func (*Staking_WithdrawUnbonded) String ¶
func (x *Staking_WithdrawUnbonded) String() string
type Staking_WithdrawUnbonded_ ¶
type Staking_WithdrawUnbonded_ struct {
WithdrawUnbonded *Staking_WithdrawUnbonded `protobuf:"bytes,4,opt,name=withdraw_unbonded,json=withdrawUnbonded,proto3,oneof"`
}
type Utility ¶
type Utility struct { // Types that are valid to be assigned to MessageOneof: // // *Utility_Batch_ MessageOneof isUtility_MessageOneof `protobuf_oneof:"message_oneof"` // contains filtered or unexported fields }
Utility pallet transaction
func (*Utility) Descriptor
deprecated
func (*Utility) GetBatch ¶
func (x *Utility) GetBatch() *Utility_Batch
func (*Utility) GetMessageOneof ¶
func (x *Utility) GetMessageOneof() isUtility_MessageOneof
func (*Utility) ProtoMessage ¶
func (*Utility) ProtoMessage()
func (*Utility) ProtoReflect ¶
func (x *Utility) ProtoReflect() protoreflect.Message
type Utility_Batch ¶
type Utility_Batch struct { // The type of batch. Kind Utility_BatchKind `protobuf:"varint,1,opt,name=kind,proto3,enum=TW.Polymesh.Proto.Utility_BatchKind" json:"kind,omitempty"` // batched calls. Calls []*RuntimeCall `protobuf:"bytes,2,rep,name=calls,proto3" json:"calls,omitempty"` // call indices CallIndices *polkadot.CallIndices `protobuf:"bytes,3,opt,name=call_indices,json=callIndices,proto3" json:"call_indices,omitempty"` // contains filtered or unexported fields }
func (*Utility_Batch) Descriptor
deprecated
func (*Utility_Batch) Descriptor() ([]byte, []int)
Deprecated: Use Utility_Batch.ProtoReflect.Descriptor instead.
func (*Utility_Batch) GetCallIndices ¶
func (x *Utility_Batch) GetCallIndices() *polkadot.CallIndices
func (*Utility_Batch) GetCalls ¶
func (x *Utility_Batch) GetCalls() []*RuntimeCall
func (*Utility_Batch) GetKind ¶
func (x *Utility_Batch) GetKind() Utility_BatchKind
func (*Utility_Batch) ProtoMessage ¶
func (*Utility_Batch) ProtoMessage()
func (*Utility_Batch) ProtoReflect ¶
func (x *Utility_Batch) ProtoReflect() protoreflect.Message
func (*Utility_Batch) Reset ¶
func (x *Utility_Batch) Reset()
func (*Utility_Batch) String ¶
func (x *Utility_Batch) String() string
type Utility_BatchKind ¶
type Utility_BatchKind int32
const ( // Batch multiple calls, stoping on the first error. // // Each call in the batch is executed in its own transaction. // When one call fails only that transaction will be rolled back // and any following calls in the batch will be skipped. Utility_StopOnError Utility_BatchKind = 0 // Batch multiple calls and execute them in a single atomic transaction. // The whole transaction will rollback if any of the calls fail. Utility_Atomic Utility_BatchKind = 1 // Batch multiple calls. Unlike `Batch` this will continue even // if one of the calls failed. // // Each call in the batch is executed in its own transaction. // When a call fails its transaction will be rolled back and the error // will be emitted in an event. // // Execution will continue until all calls in the batch have been executed. Utility_Optimistic Utility_BatchKind = 2 )
func (Utility_BatchKind) Descriptor ¶
func (Utility_BatchKind) Descriptor() protoreflect.EnumDescriptor
func (Utility_BatchKind) Enum ¶
func (x Utility_BatchKind) Enum() *Utility_BatchKind
func (Utility_BatchKind) EnumDescriptor
deprecated
func (Utility_BatchKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use Utility_BatchKind.Descriptor instead.
func (Utility_BatchKind) Number ¶
func (x Utility_BatchKind) Number() protoreflect.EnumNumber
func (Utility_BatchKind) String ¶
func (x Utility_BatchKind) String() string
func (Utility_BatchKind) Type ¶
func (Utility_BatchKind) Type() protoreflect.EnumType
type Utility_Batch_ ¶
type Utility_Batch_ struct {
Batch *Utility_Batch `protobuf:"bytes,1,opt,name=batch,proto3,oneof"`
}