stx

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: Apache-2.0, GPL-3.0-or-later Imports: 7 Imported by: 4

Documentation

Overview

The stx package provides a compiled go representation of Stellar's XDR data structures. These data structures were generated by goxdr (https://github.com/xdrpp/goxdr/), which is documented at https://xdrpp.github.io/goxdr/pkg/github.com/xdrpp/goxdr/cmd/goxdr/goxdr.1.html. If you wish to bypass the stc library to mashal these structures directly, you will want to import "github.com/xdrpp/goxdr/xdr".

Index

Constants

View Source
const LIQUIDITY_POOL_FEE_V18 = 30
View Source
const MASK_ACCOUNT_FLAGS = 0x7

mask for all valid flags

View Source
const MASK_ACCOUNT_FLAGS_V17 = 0xF
View Source
const MASK_CLAIMABLE_BALANCE_FLAGS = 0x1
View Source
const MASK_LEDGER_HEADER_FLAGS = 0x7
View Source
const MASK_OFFERENTRY_FLAGS = 1

Mask for OfferEntry flags

View Source
const MASK_TRUSTLINE_FLAGS = 1

mask for all trustline flags

View Source
const MASK_TRUSTLINE_FLAGS_V13 = 3
View Source
const MASK_TRUSTLINE_FLAGS_V17 = 7
View Source
const MAX_OPS_PER_TX = 100

maximum number of operations per transaction

View Source
const MAX_SIGNERS = 20

maximum number of signers

View Source
const (
	STRKEY_ALG_ED25519 = 0
)

Variables

View Source
var StellarCommit = "d55d2bc98433c3440e3c5731049ecf31a1768d58"

Functions

func IsStrKeyChar

func IsStrKeyChar(c rune) bool

Returns true if c is a valid character in a strkey formatted key.

func RenderAssetCode

func RenderAssetCode(bs []byte) string

func ScanAssetCode

func ScanAssetCode(input []byte) ([]byte, error)

func ToStrKey

func ToStrKey(ver StrKeyVersionByte, bin []byte) string

ToStrKey converts the raw bytes of a key to ASCII strkey format.

func XdrFromBytes

func XdrFromBytes(input []byte, ts ...xdr.XdrType) (err error)

func XdrToBytes

func XdrToBytes(ts ...xdr.XdrType) []byte

Types

type AccountEntry

type AccountEntry struct {
	// master public key for this account
	AccountID AccountID
	// in stroops
	Balance Int64
	// last sequence number used for this account
	SeqNum SequenceNumber
	// number of sub-entries this account has
	NumSubEntries Uint32
	// drives the reserve
	InflationDest *AccountID
	// see AccountFlags
	Flags Uint32
	// can be used for reverse federation and memo lookup
	HomeDomain String32
	// fields used for signatures
	// thresholds stores unsigned bytes: [weight of master|low|medium|high]
	Thresholds Thresholds
	// possible signers for this account
	Signers []Signer // bound MAX_SIGNERS
	Ext     XdrAnon_AccountEntry_Ext
}

AccountEntry

Main entry representing a user in Stellar. All transactions are
performed using an account.

Other ledger entries created require an account.

func XDR_AccountEntry

func XDR_AccountEntry(v *AccountEntry) *AccountEntry

func (*AccountEntry) XdrMarshal

func (v *AccountEntry) XdrMarshal(x XDR, name string)

func (*AccountEntry) XdrPointer

func (v *AccountEntry) XdrPointer() interface{}

func (*AccountEntry) XdrRecurse

func (v *AccountEntry) XdrRecurse(x XDR, name string)

func (AccountEntry) XdrTypeName

func (AccountEntry) XdrTypeName() string

func (AccountEntry) XdrValue

func (v AccountEntry) XdrValue() interface{}

type AccountEntryExtensionV1

type AccountEntryExtensionV1 struct {
	Liabilities Liabilities
	Ext         XdrAnon_AccountEntryExtensionV1_Ext
}

func (*AccountEntryExtensionV1) XdrMarshal

func (v *AccountEntryExtensionV1) XdrMarshal(x XDR, name string)

func (*AccountEntryExtensionV1) XdrPointer

func (v *AccountEntryExtensionV1) XdrPointer() interface{}

func (*AccountEntryExtensionV1) XdrRecurse

func (v *AccountEntryExtensionV1) XdrRecurse(x XDR, name string)

func (AccountEntryExtensionV1) XdrTypeName

func (AccountEntryExtensionV1) XdrTypeName() string

func (AccountEntryExtensionV1) XdrValue

func (v AccountEntryExtensionV1) XdrValue() interface{}

type AccountEntryExtensionV2

type AccountEntryExtensionV2 struct {
	NumSponsored        Uint32
	NumSponsoring       Uint32
	SignerSponsoringIDs []SponsorshipDescriptor // bound MAX_SIGNERS
	Ext                 XdrAnon_AccountEntryExtensionV2_Ext
}

func (*AccountEntryExtensionV2) XdrMarshal

func (v *AccountEntryExtensionV2) XdrMarshal(x XDR, name string)

func (*AccountEntryExtensionV2) XdrPointer

func (v *AccountEntryExtensionV2) XdrPointer() interface{}

func (*AccountEntryExtensionV2) XdrRecurse

func (v *AccountEntryExtensionV2) XdrRecurse(x XDR, name string)

func (AccountEntryExtensionV2) XdrTypeName

func (AccountEntryExtensionV2) XdrTypeName() string

func (AccountEntryExtensionV2) XdrValue

func (v AccountEntryExtensionV2) XdrValue() interface{}

type AccountFlags

type AccountFlags int32
const (
	// Flags set on issuer accounts
	// TrustLines are created with authorized set to "false" requiring
	// the issuer to set it for each TrustLine
	AUTH_REQUIRED_FLAG AccountFlags = AccountFlags(0x1)
	// If set, the authorized flag in TrustLines can be cleared
	// otherwise, authorization cannot be revoked
	AUTH_REVOCABLE_FLAG AccountFlags = AccountFlags(0x2)
	// Once set, causes all AUTH_* flags to be read-only
	AUTH_IMMUTABLE_FLAG AccountFlags = AccountFlags(0x4)
	// Trustlines are created with clawback enabled set to "true",
	// and claimable balances created from those trustlines are created
	// with clawback enabled set to "true"
	AUTH_CLAWBACK_ENABLED_FLAG AccountFlags = AccountFlags(0x8)
)

func XDR_AccountFlags

func XDR_AccountFlags(v *AccountFlags) *AccountFlags

func (AccountFlags) GetU32

func (v AccountFlags) GetU32() uint32

func (*AccountFlags) Scan

func (v *AccountFlags) Scan(ss fmt.ScanState, _ rune) error

func (*AccountFlags) SetU32

func (v *AccountFlags) SetU32(n uint32)

func (AccountFlags) String

func (v AccountFlags) String() string

func (AccountFlags) XdrEnumComments

func (e AccountFlags) XdrEnumComments() map[int32]string

func (AccountFlags) XdrEnumNames

func (AccountFlags) XdrEnumNames() map[int32]string

func (*AccountFlags) XdrInitialize

func (v *AccountFlags) XdrInitialize()

func (*AccountFlags) XdrMarshal

func (v *AccountFlags) XdrMarshal(x XDR, name string)

func (*AccountFlags) XdrPointer

func (v *AccountFlags) XdrPointer() interface{}

func (AccountFlags) XdrTypeName

func (AccountFlags) XdrTypeName() string

func (AccountFlags) XdrValue

func (v AccountFlags) XdrValue() interface{}

type AccountID

type AccountID = PublicKey

func (AccountID) ToMuxedAccount

func (acct AccountID) ToMuxedAccount() *MuxedAccount

type AccountMergeResult

type AccountMergeResult struct {
	// The union discriminant Code selects among the following arms:
	//   ACCOUNT_MERGE_SUCCESS:
	//      SourceAccountBalance() *Int64
	//   default:
	//      void
	Code AccountMergeResultCode
	// contains filtered or unexported fields
}

func XDR_AccountMergeResult

func XDR_AccountMergeResult(v *AccountMergeResult) *AccountMergeResult

func (*AccountMergeResult) SourceAccountBalance

func (u *AccountMergeResult) SourceAccountBalance() *Int64

how much got transferred from source account

func (*AccountMergeResult) XdrMarshal

func (v *AccountMergeResult) XdrMarshal(x XDR, name string)

func (*AccountMergeResult) XdrPointer

func (v *AccountMergeResult) XdrPointer() interface{}

func (*AccountMergeResult) XdrRecurse

func (u *AccountMergeResult) XdrRecurse(x XDR, name string)

func (AccountMergeResult) XdrTypeName

func (AccountMergeResult) XdrTypeName() string

func (*AccountMergeResult) XdrUnionBody

func (u *AccountMergeResult) XdrUnionBody() XdrType

func (*AccountMergeResult) XdrUnionBodyName

func (u *AccountMergeResult) XdrUnionBodyName() string

func (*AccountMergeResult) XdrUnionTag

func (u *AccountMergeResult) XdrUnionTag() XdrNum32

func (*AccountMergeResult) XdrUnionTagName

func (u *AccountMergeResult) XdrUnionTagName() string

func (AccountMergeResult) XdrValid

func (u AccountMergeResult) XdrValid() bool

func (AccountMergeResult) XdrValidTags added in v0.1.4

func (_ AccountMergeResult) XdrValidTags() map[int32]bool

func (AccountMergeResult) XdrValue

func (v AccountMergeResult) XdrValue() interface{}

type AccountMergeResultCode

type AccountMergeResultCode int32
const (
	// codes considered as "success" for the operation
	ACCOUNT_MERGE_SUCCESS AccountMergeResultCode = 0
	// can't merge onto itself
	ACCOUNT_MERGE_MALFORMED AccountMergeResultCode = -1
	// destination does not exist
	ACCOUNT_MERGE_NO_ACCOUNT AccountMergeResultCode = -2
	// source account has AUTH_IMMUTABLE set
	ACCOUNT_MERGE_IMMUTABLE_SET AccountMergeResultCode = -3
	// account has trust lines/offers
	ACCOUNT_MERGE_HAS_SUB_ENTRIES AccountMergeResultCode = -4
	// sequence number is over max allowed
	ACCOUNT_MERGE_SEQNUM_TOO_FAR AccountMergeResultCode = -5
	// can't add source balance to
	ACCOUNT_MERGE_DEST_FULL AccountMergeResultCode = -6
	// destination balance
	ACCOUNT_MERGE_IS_SPONSOR AccountMergeResultCode = -7
)

func (AccountMergeResultCode) GetU32

func (v AccountMergeResultCode) GetU32() uint32

func (*AccountMergeResultCode) Scan

func (*AccountMergeResultCode) SetU32

func (v *AccountMergeResultCode) SetU32(n uint32)

func (AccountMergeResultCode) String

func (v AccountMergeResultCode) String() string

func (AccountMergeResultCode) XdrEnumComments

func (e AccountMergeResultCode) XdrEnumComments() map[int32]string

func (AccountMergeResultCode) XdrEnumNames

func (AccountMergeResultCode) XdrEnumNames() map[int32]string

func (*AccountMergeResultCode) XdrMarshal

func (v *AccountMergeResultCode) XdrMarshal(x XDR, name string)

func (*AccountMergeResultCode) XdrPointer

func (v *AccountMergeResultCode) XdrPointer() interface{}

func (AccountMergeResultCode) XdrTypeName

func (AccountMergeResultCode) XdrTypeName() string

func (AccountMergeResultCode) XdrValue

func (v AccountMergeResultCode) XdrValue() interface{}

type AllowTrustOp

type AllowTrustOp struct {
	Trustor AccountID
	Asset   AssetCode
	// One of 0, AUTHORIZED_FLAG, or AUTHORIZED_TO_MAINTAIN_LIABILITIES_FLAG
	Authorize Uint32
}

Updates the "authorized" flag of an existing trust line

this is called by the issuer of the related asset.

note that authorize can only be set (and not cleared) if
the issuer account does not have the AUTH_REVOCABLE_FLAG set
Threshold: low

Result: AllowTrustResult

func XDR_AllowTrustOp

func XDR_AllowTrustOp(v *AllowTrustOp) *AllowTrustOp

func (*AllowTrustOp) XdrMarshal

func (v *AllowTrustOp) XdrMarshal(x XDR, name string)

func (*AllowTrustOp) XdrPointer

func (v *AllowTrustOp) XdrPointer() interface{}

func (*AllowTrustOp) XdrRecurse

func (v *AllowTrustOp) XdrRecurse(x XDR, name string)

func (AllowTrustOp) XdrTypeName

func (AllowTrustOp) XdrTypeName() string

func (AllowTrustOp) XdrValue

func (v AllowTrustOp) XdrValue() interface{}

type AllowTrustResult

type AllowTrustResult struct {
	// The union discriminant Code selects among the following arms:
	//   ALLOW_TRUST_SUCCESS:
	//      void
	//   default:
	//      void
	Code AllowTrustResultCode
	// contains filtered or unexported fields
}

func XDR_AllowTrustResult

func XDR_AllowTrustResult(v *AllowTrustResult) *AllowTrustResult

func (*AllowTrustResult) XdrMarshal

func (v *AllowTrustResult) XdrMarshal(x XDR, name string)

func (*AllowTrustResult) XdrPointer

func (v *AllowTrustResult) XdrPointer() interface{}

func (*AllowTrustResult) XdrRecurse

func (u *AllowTrustResult) XdrRecurse(x XDR, name string)

func (AllowTrustResult) XdrTypeName

func (AllowTrustResult) XdrTypeName() string

func (*AllowTrustResult) XdrUnionBody

func (u *AllowTrustResult) XdrUnionBody() XdrType

func (*AllowTrustResult) XdrUnionBodyName

func (u *AllowTrustResult) XdrUnionBodyName() string

func (*AllowTrustResult) XdrUnionTag

func (u *AllowTrustResult) XdrUnionTag() XdrNum32

func (*AllowTrustResult) XdrUnionTagName

func (u *AllowTrustResult) XdrUnionTagName() string

func (AllowTrustResult) XdrValid

func (u AllowTrustResult) XdrValid() bool

func (AllowTrustResult) XdrValidTags added in v0.1.4

func (_ AllowTrustResult) XdrValidTags() map[int32]bool

func (AllowTrustResult) XdrValue

func (v AllowTrustResult) XdrValue() interface{}

type AllowTrustResultCode

type AllowTrustResultCode int32
const (
	// codes considered as "success" for the operation
	ALLOW_TRUST_SUCCESS AllowTrustResultCode = 0
	// asset is not ASSET_TYPE_ALPHANUM
	ALLOW_TRUST_MALFORMED AllowTrustResultCode = -1
	// trustor does not have a trustline
	ALLOW_TRUST_NO_TRUST_LINE AllowTrustResultCode = -2
	// source account does not require trust
	ALLOW_TRUST_TRUST_NOT_REQUIRED AllowTrustResultCode = -3
	// source account can't revoke trust,
	ALLOW_TRUST_CANT_REVOKE AllowTrustResultCode = -4
	// trusting self is not allowed
	ALLOW_TRUST_SELF_NOT_ALLOWED AllowTrustResultCode = -5
	// claimable balances can't be created
	ALLOW_TRUST_LOW_RESERVE AllowTrustResultCode = -6
)

func XDR_AllowTrustResultCode

func XDR_AllowTrustResultCode(v *AllowTrustResultCode) *AllowTrustResultCode

func (AllowTrustResultCode) GetU32

func (v AllowTrustResultCode) GetU32() uint32

func (*AllowTrustResultCode) Scan

func (v *AllowTrustResultCode) Scan(ss fmt.ScanState, _ rune) error

func (*AllowTrustResultCode) SetU32

func (v *AllowTrustResultCode) SetU32(n uint32)

func (AllowTrustResultCode) String

func (v AllowTrustResultCode) String() string

func (AllowTrustResultCode) XdrEnumComments

func (e AllowTrustResultCode) XdrEnumComments() map[int32]string

func (AllowTrustResultCode) XdrEnumNames

func (AllowTrustResultCode) XdrEnumNames() map[int32]string

func (*AllowTrustResultCode) XdrMarshal

func (v *AllowTrustResultCode) XdrMarshal(x XDR, name string)

func (*AllowTrustResultCode) XdrPointer

func (v *AllowTrustResultCode) XdrPointer() interface{}

func (AllowTrustResultCode) XdrTypeName

func (AllowTrustResultCode) XdrTypeName() string

func (AllowTrustResultCode) XdrValue

func (v AllowTrustResultCode) XdrValue() interface{}

type AlphaNum12 added in v0.1.5

type AlphaNum12 struct {
	AssetCode AssetCode12
	Issuer    AccountID
}

func XDR_AlphaNum12 added in v0.1.5

func XDR_AlphaNum12(v *AlphaNum12) *AlphaNum12

func (*AlphaNum12) XdrMarshal added in v0.1.5

func (v *AlphaNum12) XdrMarshal(x XDR, name string)

func (*AlphaNum12) XdrPointer added in v0.1.5

func (v *AlphaNum12) XdrPointer() interface{}

func (*AlphaNum12) XdrRecurse added in v0.1.5

func (v *AlphaNum12) XdrRecurse(x XDR, name string)

func (AlphaNum12) XdrTypeName added in v0.1.5

func (AlphaNum12) XdrTypeName() string

func (AlphaNum12) XdrValue added in v0.1.5

func (v AlphaNum12) XdrValue() interface{}

type AlphaNum4 added in v0.1.5

type AlphaNum4 struct {
	AssetCode AssetCode4
	Issuer    AccountID
}

func XDR_AlphaNum4 added in v0.1.5

func XDR_AlphaNum4(v *AlphaNum4) *AlphaNum4

func (*AlphaNum4) XdrMarshal added in v0.1.5

func (v *AlphaNum4) XdrMarshal(x XDR, name string)

func (*AlphaNum4) XdrPointer added in v0.1.5

func (v *AlphaNum4) XdrPointer() interface{}

func (*AlphaNum4) XdrRecurse added in v0.1.5

func (v *AlphaNum4) XdrRecurse(x XDR, name string)

func (AlphaNum4) XdrTypeName added in v0.1.5

func (AlphaNum4) XdrTypeName() string

func (AlphaNum4) XdrValue added in v0.1.5

func (v AlphaNum4) XdrValue() interface{}

type Asset

type Asset struct {
	// The union discriminant Type selects among the following arms:
	//   ASSET_TYPE_NATIVE:
	//      void
	//   ASSET_TYPE_CREDIT_ALPHANUM4:
	//      AlphaNum4() *AlphaNum4
	//   ASSET_TYPE_CREDIT_ALPHANUM12:
	//      AlphaNum12() *AlphaNum12
	Type AssetType
	// contains filtered or unexported fields
}

func XDR_Asset

func XDR_Asset(v *Asset) *Asset

func (*Asset) AlphaNum12

func (u *Asset) AlphaNum12() *AlphaNum12

func (*Asset) AlphaNum4

func (u *Asset) AlphaNum4() *AlphaNum4

func (*Asset) Scan

func (a *Asset) Scan(ss fmt.ScanState, _ rune) error

func (Asset) String

func (a Asset) String() string

Renders an Asset as Code:AccountID.

func (Asset) ToAsset

func (asset Asset) ToAsset() Asset

func (*Asset) XdrMarshal

func (v *Asset) XdrMarshal(x XDR, name string)

func (*Asset) XdrPointer

func (v *Asset) XdrPointer() interface{}

func (*Asset) XdrRecurse

func (u *Asset) XdrRecurse(x XDR, name string)

func (Asset) XdrTypeName

func (Asset) XdrTypeName() string

func (*Asset) XdrUnionBody

func (u *Asset) XdrUnionBody() XdrType

func (*Asset) XdrUnionBodyName

func (u *Asset) XdrUnionBodyName() string

func (*Asset) XdrUnionTag

func (u *Asset) XdrUnionTag() XdrNum32

func (*Asset) XdrUnionTagName

func (u *Asset) XdrUnionTagName() string

func (Asset) XdrValid

func (u Asset) XdrValid() bool

func (Asset) XdrValidTags

func (_ Asset) XdrValidTags() map[int32]bool

func (Asset) XdrValue

func (v Asset) XdrValue() interface{}

type AssetCode added in v0.1.3

type AssetCode struct {
	// The union discriminant Type selects among the following arms:
	//   ASSET_TYPE_CREDIT_ALPHANUM4:
	//      AssetCode4() *AssetCode4
	//   ASSET_TYPE_CREDIT_ALPHANUM12:
	//      AssetCode12() *AssetCode12
	Type AssetType
	// contains filtered or unexported fields
}

func XDR_AssetCode added in v0.1.3

func XDR_AssetCode(v *AssetCode) *AssetCode

func (*AssetCode) AssetCode12 added in v0.1.3

func (u *AssetCode) AssetCode12() *AssetCode12

func (*AssetCode) AssetCode4 added in v0.1.3

func (u *AssetCode) AssetCode4() *AssetCode4

func (*AssetCode) Scan added in v0.1.3

func (a *AssetCode) Scan(ss fmt.ScanState, _ rune) error

func (AssetCode) String added in v0.1.3

func (a AssetCode) String() string

func (AssetCode) ToAssetCode added in v0.1.3

func (code AssetCode) ToAssetCode() AssetCode

func (*AssetCode) XdrInitialize added in v0.1.3

func (v *AssetCode) XdrInitialize()

func (*AssetCode) XdrMarshal added in v0.1.3

func (v *AssetCode) XdrMarshal(x XDR, name string)

func (*AssetCode) XdrPointer added in v0.1.3

func (v *AssetCode) XdrPointer() interface{}

func (*AssetCode) XdrRecurse added in v0.1.3

func (u *AssetCode) XdrRecurse(x XDR, name string)

func (AssetCode) XdrTypeName added in v0.1.3

func (AssetCode) XdrTypeName() string

func (*AssetCode) XdrUnionBody added in v0.1.3

func (u *AssetCode) XdrUnionBody() XdrType

func (*AssetCode) XdrUnionBodyName added in v0.1.3

func (u *AssetCode) XdrUnionBodyName() string

func (*AssetCode) XdrUnionTag added in v0.1.3

func (u *AssetCode) XdrUnionTag() XdrNum32

func (*AssetCode) XdrUnionTagName added in v0.1.3

func (u *AssetCode) XdrUnionTagName() string

func (AssetCode) XdrValid added in v0.1.3

func (u AssetCode) XdrValid() bool

func (AssetCode) XdrValidTags added in v0.1.3

func (_ AssetCode) XdrValidTags() map[int32]bool

func (AssetCode) XdrValue added in v0.1.3

func (v AssetCode) XdrValue() interface{}

type AssetCode12

type AssetCode12 = [12]byte

5-12 alphanumeric characters right-padded with 0 bytes

type AssetCode4

type AssetCode4 = [4]byte

1-4 alphanumeric characters right-padded with 0 bytes

type AssetType

type AssetType int32
const (
	ASSET_TYPE_NATIVE            AssetType = 0
	ASSET_TYPE_CREDIT_ALPHANUM4  AssetType = 1
	ASSET_TYPE_CREDIT_ALPHANUM12 AssetType = 2
	ASSET_TYPE_POOL_SHARE        AssetType = 3
)

func XDR_AssetType

func XDR_AssetType(v *AssetType) *AssetType

func (AssetType) GetU32

func (v AssetType) GetU32() uint32

func (*AssetType) Scan

func (v *AssetType) Scan(ss fmt.ScanState, _ rune) error

func (*AssetType) SetU32

func (v *AssetType) SetU32(n uint32)

func (AssetType) String

func (v AssetType) String() string

func (AssetType) XdrEnumNames

func (AssetType) XdrEnumNames() map[int32]string

func (*AssetType) XdrMarshal

func (v *AssetType) XdrMarshal(x XDR, name string)

func (*AssetType) XdrPointer

func (v *AssetType) XdrPointer() interface{}

func (AssetType) XdrTypeName

func (AssetType) XdrTypeName() string

func (AssetType) XdrValue

func (v AssetType) XdrValue() interface{}

type Auth

type Auth struct {
	// Empty message, just to confirm
	// establishment of MAC keys.
	Unused int32
}

func XDR_Auth

func XDR_Auth(v *Auth) *Auth

func (*Auth) XdrMarshal

func (v *Auth) XdrMarshal(x XDR, name string)

func (*Auth) XdrPointer

func (v *Auth) XdrPointer() interface{}

func (*Auth) XdrRecurse

func (v *Auth) XdrRecurse(x XDR, name string)

func (Auth) XdrTypeName

func (Auth) XdrTypeName() string

func (Auth) XdrValue

func (v Auth) XdrValue() interface{}

type AuthCert

type AuthCert struct {
	Pubkey     Curve25519Public
	Expiration Uint64
	Sig        Signature
}

func XDR_AuthCert

func XDR_AuthCert(v *AuthCert) *AuthCert

func (*AuthCert) XdrMarshal

func (v *AuthCert) XdrMarshal(x XDR, name string)

func (*AuthCert) XdrPointer

func (v *AuthCert) XdrPointer() interface{}

func (*AuthCert) XdrRecurse

func (v *AuthCert) XdrRecurse(x XDR, name string)

func (AuthCert) XdrTypeName

func (AuthCert) XdrTypeName() string

func (AuthCert) XdrValue

func (v AuthCert) XdrValue() interface{}

type AuthenticatedMessage

type AuthenticatedMessage struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      V0() *XdrAnon_AuthenticatedMessage_V0
	V Uint32
	// contains filtered or unexported fields
}

func XDR_AuthenticatedMessage

func XDR_AuthenticatedMessage(v *AuthenticatedMessage) *AuthenticatedMessage

func (*AuthenticatedMessage) V0

func (*AuthenticatedMessage) XdrMarshal

func (v *AuthenticatedMessage) XdrMarshal(x XDR, name string)

func (*AuthenticatedMessage) XdrPointer

func (v *AuthenticatedMessage) XdrPointer() interface{}

func (*AuthenticatedMessage) XdrRecurse

func (u *AuthenticatedMessage) XdrRecurse(x XDR, name string)

func (AuthenticatedMessage) XdrTypeName

func (AuthenticatedMessage) XdrTypeName() string

func (*AuthenticatedMessage) XdrUnionBody

func (u *AuthenticatedMessage) XdrUnionBody() XdrType

func (*AuthenticatedMessage) XdrUnionBodyName

func (u *AuthenticatedMessage) XdrUnionBodyName() string

func (*AuthenticatedMessage) XdrUnionTag

func (u *AuthenticatedMessage) XdrUnionTag() XdrNum32

func (*AuthenticatedMessage) XdrUnionTagName

func (u *AuthenticatedMessage) XdrUnionTagName() string

func (AuthenticatedMessage) XdrValid

func (u AuthenticatedMessage) XdrValid() bool

func (AuthenticatedMessage) XdrValidTags

func (_ AuthenticatedMessage) XdrValidTags() map[int32]bool

func (AuthenticatedMessage) XdrValue

func (v AuthenticatedMessage) XdrValue() interface{}

type BeginSponsoringFutureReservesOp

type BeginSponsoringFutureReservesOp struct {
	SponsoredID AccountID
}

BeginSponsoringFutureReserves

Establishes the is-sponsoring-future-reserves-for relationship between
the source account and sponsoredID

Threshold: med

Result: BeginSponsoringFutureReservesResult

func (*BeginSponsoringFutureReservesOp) XdrMarshal

func (v *BeginSponsoringFutureReservesOp) XdrMarshal(x XDR, name string)

func (*BeginSponsoringFutureReservesOp) XdrPointer

func (v *BeginSponsoringFutureReservesOp) XdrPointer() interface{}

func (*BeginSponsoringFutureReservesOp) XdrRecurse

func (v *BeginSponsoringFutureReservesOp) XdrRecurse(x XDR, name string)

func (BeginSponsoringFutureReservesOp) XdrTypeName

func (BeginSponsoringFutureReservesOp) XdrValue

func (v BeginSponsoringFutureReservesOp) XdrValue() interface{}

type BeginSponsoringFutureReservesResult

type BeginSponsoringFutureReservesResult struct {
	// The union discriminant Code selects among the following arms:
	//   BEGIN_SPONSORING_FUTURE_RESERVES_SUCCESS:
	//      void
	//   default:
	//      void
	Code BeginSponsoringFutureReservesResultCode
	// contains filtered or unexported fields
}

func (*BeginSponsoringFutureReservesResult) XdrMarshal

func (v *BeginSponsoringFutureReservesResult) XdrMarshal(x XDR, name string)

func (*BeginSponsoringFutureReservesResult) XdrPointer

func (v *BeginSponsoringFutureReservesResult) XdrPointer() interface{}

func (*BeginSponsoringFutureReservesResult) XdrRecurse

func (u *BeginSponsoringFutureReservesResult) XdrRecurse(x XDR, name string)

func (BeginSponsoringFutureReservesResult) XdrTypeName

func (*BeginSponsoringFutureReservesResult) XdrUnionBody

func (u *BeginSponsoringFutureReservesResult) XdrUnionBody() XdrType

func (*BeginSponsoringFutureReservesResult) XdrUnionBodyName

func (u *BeginSponsoringFutureReservesResult) XdrUnionBodyName() string

func (*BeginSponsoringFutureReservesResult) XdrUnionTag

func (u *BeginSponsoringFutureReservesResult) XdrUnionTag() XdrNum32

func (*BeginSponsoringFutureReservesResult) XdrUnionTagName

func (u *BeginSponsoringFutureReservesResult) XdrUnionTagName() string

func (BeginSponsoringFutureReservesResult) XdrValid

func (BeginSponsoringFutureReservesResult) XdrValidTags added in v0.1.4

func (_ BeginSponsoringFutureReservesResult) XdrValidTags() map[int32]bool

func (BeginSponsoringFutureReservesResult) XdrValue

func (v BeginSponsoringFutureReservesResult) XdrValue() interface{}

type BeginSponsoringFutureReservesResultCode

type BeginSponsoringFutureReservesResultCode int32
const (
	// codes considered as "success" for the operation
	BEGIN_SPONSORING_FUTURE_RESERVES_SUCCESS BeginSponsoringFutureReservesResultCode = 0
	// codes considered as "failure" for the operation
	BEGIN_SPONSORING_FUTURE_RESERVES_MALFORMED         BeginSponsoringFutureReservesResultCode = -1
	BEGIN_SPONSORING_FUTURE_RESERVES_ALREADY_SPONSORED BeginSponsoringFutureReservesResultCode = -2
	BEGIN_SPONSORING_FUTURE_RESERVES_RECURSIVE         BeginSponsoringFutureReservesResultCode = -3
)

func (BeginSponsoringFutureReservesResultCode) GetU32

func (*BeginSponsoringFutureReservesResultCode) Scan

func (*BeginSponsoringFutureReservesResultCode) SetU32

func (BeginSponsoringFutureReservesResultCode) String

func (BeginSponsoringFutureReservesResultCode) XdrEnumComments

func (e BeginSponsoringFutureReservesResultCode) XdrEnumComments() map[int32]string

func (BeginSponsoringFutureReservesResultCode) XdrEnumNames

func (*BeginSponsoringFutureReservesResultCode) XdrMarshal

func (v *BeginSponsoringFutureReservesResultCode) XdrMarshal(x XDR, name string)

func (*BeginSponsoringFutureReservesResultCode) XdrPointer

func (v *BeginSponsoringFutureReservesResultCode) XdrPointer() interface{}

func (BeginSponsoringFutureReservesResultCode) XdrTypeName

func (BeginSponsoringFutureReservesResultCode) XdrValue

func (v BeginSponsoringFutureReservesResultCode) XdrValue() interface{}

type BucketEntry

type BucketEntry struct {
	// The union discriminant Type selects among the following arms:
	//   LIVEENTRY, INITENTRY:
	//      LiveEntry() *LedgerEntry
	//   DEADENTRY:
	//      DeadEntry() *LedgerKey
	//   METAENTRY:
	//      MetaEntry() *BucketMetadata
	Type BucketEntryType
	// contains filtered or unexported fields
}

func XDR_BucketEntry

func XDR_BucketEntry(v *BucketEntry) *BucketEntry

func (*BucketEntry) DeadEntry

func (u *BucketEntry) DeadEntry() *LedgerKey

func (*BucketEntry) LiveEntry

func (u *BucketEntry) LiveEntry() *LedgerEntry

func (*BucketEntry) MetaEntry

func (u *BucketEntry) MetaEntry() *BucketMetadata

func (*BucketEntry) XdrMarshal

func (v *BucketEntry) XdrMarshal(x XDR, name string)

func (*BucketEntry) XdrPointer

func (v *BucketEntry) XdrPointer() interface{}

func (*BucketEntry) XdrRecurse

func (u *BucketEntry) XdrRecurse(x XDR, name string)

func (BucketEntry) XdrTypeName

func (BucketEntry) XdrTypeName() string

func (*BucketEntry) XdrUnionBody

func (u *BucketEntry) XdrUnionBody() XdrType

func (*BucketEntry) XdrUnionBodyName

func (u *BucketEntry) XdrUnionBodyName() string

func (*BucketEntry) XdrUnionTag

func (u *BucketEntry) XdrUnionTag() XdrNum32

func (*BucketEntry) XdrUnionTagName

func (u *BucketEntry) XdrUnionTagName() string

func (BucketEntry) XdrValid

func (u BucketEntry) XdrValid() bool

func (BucketEntry) XdrValidTags

func (_ BucketEntry) XdrValidTags() map[int32]bool

func (BucketEntry) XdrValue

func (v BucketEntry) XdrValue() interface{}

type BucketEntryType

type BucketEntryType int32

Entries used to define the bucket list

const (
	// At-and-after protocol 11: bucket metadata, should come first.
	METAENTRY BucketEntryType = -1
	// Before protocol 11: created-or-updated;
	LIVEENTRY BucketEntryType = 0
	// At-and-after protocol 11: only updated.
	DEADENTRY BucketEntryType = 1
	// At-and-after protocol 11: only created.
	INITENTRY BucketEntryType = 2
)

func XDR_BucketEntryType

func XDR_BucketEntryType(v *BucketEntryType) *BucketEntryType

func (BucketEntryType) GetU32

func (v BucketEntryType) GetU32() uint32

func (*BucketEntryType) Scan

func (v *BucketEntryType) Scan(ss fmt.ScanState, _ rune) error

func (*BucketEntryType) SetU32

func (v *BucketEntryType) SetU32(n uint32)

func (BucketEntryType) String

func (v BucketEntryType) String() string

func (BucketEntryType) XdrEnumComments

func (e BucketEntryType) XdrEnumComments() map[int32]string

func (BucketEntryType) XdrEnumNames

func (BucketEntryType) XdrEnumNames() map[int32]string

func (*BucketEntryType) XdrMarshal

func (v *BucketEntryType) XdrMarshal(x XDR, name string)

func (*BucketEntryType) XdrPointer

func (v *BucketEntryType) XdrPointer() interface{}

func (BucketEntryType) XdrTypeName

func (BucketEntryType) XdrTypeName() string

func (BucketEntryType) XdrValue

func (v BucketEntryType) XdrValue() interface{}

type BucketMetadata

type BucketMetadata struct {
	// Indicates the protocol version used to create / merge this bucket.
	LedgerVersion Uint32
	Ext           XdrAnon_BucketMetadata_Ext
}

func XDR_BucketMetadata

func XDR_BucketMetadata(v *BucketMetadata) *BucketMetadata

func (*BucketMetadata) XdrMarshal

func (v *BucketMetadata) XdrMarshal(x XDR, name string)

func (*BucketMetadata) XdrPointer

func (v *BucketMetadata) XdrPointer() interface{}

func (*BucketMetadata) XdrRecurse

func (v *BucketMetadata) XdrRecurse(x XDR, name string)

func (BucketMetadata) XdrTypeName

func (BucketMetadata) XdrTypeName() string

func (BucketMetadata) XdrValue

func (v BucketMetadata) XdrValue() interface{}

type BumpSequenceOp

type BumpSequenceOp struct {
	BumpTo SequenceNumber
}

Bump Sequence

increases the sequence to a given level

Threshold: low

Result: BumpSequenceResult

func XDR_BumpSequenceOp

func XDR_BumpSequenceOp(v *BumpSequenceOp) *BumpSequenceOp

func (*BumpSequenceOp) XdrMarshal

func (v *BumpSequenceOp) XdrMarshal(x XDR, name string)

func (*BumpSequenceOp) XdrPointer

func (v *BumpSequenceOp) XdrPointer() interface{}

func (*BumpSequenceOp) XdrRecurse

func (v *BumpSequenceOp) XdrRecurse(x XDR, name string)

func (BumpSequenceOp) XdrTypeName

func (BumpSequenceOp) XdrTypeName() string

func (BumpSequenceOp) XdrValue

func (v BumpSequenceOp) XdrValue() interface{}

type BumpSequenceResult

type BumpSequenceResult struct {
	// The union discriminant Code selects among the following arms:
	//   BUMP_SEQUENCE_SUCCESS:
	//      void
	//   default:
	//      void
	Code BumpSequenceResultCode
	// contains filtered or unexported fields
}

func XDR_BumpSequenceResult

func XDR_BumpSequenceResult(v *BumpSequenceResult) *BumpSequenceResult

func (*BumpSequenceResult) XdrMarshal

func (v *BumpSequenceResult) XdrMarshal(x XDR, name string)

func (*BumpSequenceResult) XdrPointer

func (v *BumpSequenceResult) XdrPointer() interface{}

func (*BumpSequenceResult) XdrRecurse

func (u *BumpSequenceResult) XdrRecurse(x XDR, name string)

func (BumpSequenceResult) XdrTypeName

func (BumpSequenceResult) XdrTypeName() string

func (*BumpSequenceResult) XdrUnionBody

func (u *BumpSequenceResult) XdrUnionBody() XdrType

func (*BumpSequenceResult) XdrUnionBodyName

func (u *BumpSequenceResult) XdrUnionBodyName() string

func (*BumpSequenceResult) XdrUnionTag

func (u *BumpSequenceResult) XdrUnionTag() XdrNum32

func (*BumpSequenceResult) XdrUnionTagName

func (u *BumpSequenceResult) XdrUnionTagName() string

func (BumpSequenceResult) XdrValid

func (u BumpSequenceResult) XdrValid() bool

func (BumpSequenceResult) XdrValidTags added in v0.1.4

func (_ BumpSequenceResult) XdrValidTags() map[int32]bool

func (BumpSequenceResult) XdrValue

func (v BumpSequenceResult) XdrValue() interface{}

type BumpSequenceResultCode

type BumpSequenceResultCode int32
const (
	// codes considered as "success" for the operation
	BUMP_SEQUENCE_SUCCESS BumpSequenceResultCode = 0
	// codes considered as "failure" for the operation
	BUMP_SEQUENCE_BAD_SEQ BumpSequenceResultCode = -1
)

func (BumpSequenceResultCode) GetU32

func (v BumpSequenceResultCode) GetU32() uint32

func (*BumpSequenceResultCode) Scan

func (*BumpSequenceResultCode) SetU32

func (v *BumpSequenceResultCode) SetU32(n uint32)

func (BumpSequenceResultCode) String

func (v BumpSequenceResultCode) String() string

func (BumpSequenceResultCode) XdrEnumComments

func (e BumpSequenceResultCode) XdrEnumComments() map[int32]string

func (BumpSequenceResultCode) XdrEnumNames

func (BumpSequenceResultCode) XdrEnumNames() map[int32]string

func (*BumpSequenceResultCode) XdrMarshal

func (v *BumpSequenceResultCode) XdrMarshal(x XDR, name string)

func (*BumpSequenceResultCode) XdrPointer

func (v *BumpSequenceResultCode) XdrPointer() interface{}

func (BumpSequenceResultCode) XdrTypeName

func (BumpSequenceResultCode) XdrTypeName() string

func (BumpSequenceResultCode) XdrValue

func (v BumpSequenceResultCode) XdrValue() interface{}

type ChangeTrustAsset added in v0.1.5

type ChangeTrustAsset struct {
	// The union discriminant Type selects among the following arms:
	//   ASSET_TYPE_NATIVE:
	//      void
	//   ASSET_TYPE_CREDIT_ALPHANUM4:
	//      AlphaNum4() *AlphaNum4
	//   ASSET_TYPE_CREDIT_ALPHANUM12:
	//      AlphaNum12() *AlphaNum12
	//   ASSET_TYPE_POOL_SHARE:
	//      LiquidityPool() *LiquidityPoolParameters
	Type AssetType
	// contains filtered or unexported fields
}

func XDR_ChangeTrustAsset added in v0.1.5

func XDR_ChangeTrustAsset(v *ChangeTrustAsset) *ChangeTrustAsset

func (*ChangeTrustAsset) AlphaNum12 added in v0.1.5

func (u *ChangeTrustAsset) AlphaNum12() *AlphaNum12

func (*ChangeTrustAsset) AlphaNum4 added in v0.1.5

func (u *ChangeTrustAsset) AlphaNum4() *AlphaNum4

func (*ChangeTrustAsset) LiquidityPool added in v0.1.5

func (u *ChangeTrustAsset) LiquidityPool() *LiquidityPoolParameters

func (*ChangeTrustAsset) XdrMarshal added in v0.1.5

func (v *ChangeTrustAsset) XdrMarshal(x XDR, name string)

func (*ChangeTrustAsset) XdrPointer added in v0.1.5

func (v *ChangeTrustAsset) XdrPointer() interface{}

func (*ChangeTrustAsset) XdrRecurse added in v0.1.5

func (u *ChangeTrustAsset) XdrRecurse(x XDR, name string)

func (ChangeTrustAsset) XdrTypeName added in v0.1.5

func (ChangeTrustAsset) XdrTypeName() string

func (*ChangeTrustAsset) XdrUnionBody added in v0.1.5

func (u *ChangeTrustAsset) XdrUnionBody() XdrType

func (*ChangeTrustAsset) XdrUnionBodyName added in v0.1.5

func (u *ChangeTrustAsset) XdrUnionBodyName() string

func (*ChangeTrustAsset) XdrUnionTag added in v0.1.5

func (u *ChangeTrustAsset) XdrUnionTag() XdrNum32

func (*ChangeTrustAsset) XdrUnionTagName added in v0.1.5

func (u *ChangeTrustAsset) XdrUnionTagName() string

func (ChangeTrustAsset) XdrValid added in v0.1.5

func (u ChangeTrustAsset) XdrValid() bool

func (ChangeTrustAsset) XdrValidTags added in v0.1.5

func (_ ChangeTrustAsset) XdrValidTags() map[int32]bool

func (ChangeTrustAsset) XdrValue added in v0.1.5

func (v ChangeTrustAsset) XdrValue() interface{}

type ChangeTrustOp

type ChangeTrustOp struct {
	Line ChangeTrustAsset
	// if limit is set to 0, deletes the trust line
	Limit Int64
}

Creates, updates or deletes a trust line

Threshold: med

Result: ChangeTrustResult

func XDR_ChangeTrustOp

func XDR_ChangeTrustOp(v *ChangeTrustOp) *ChangeTrustOp

func (*ChangeTrustOp) XdrMarshal

func (v *ChangeTrustOp) XdrMarshal(x XDR, name string)

func (*ChangeTrustOp) XdrPointer

func (v *ChangeTrustOp) XdrPointer() interface{}

func (*ChangeTrustOp) XdrRecurse

func (v *ChangeTrustOp) XdrRecurse(x XDR, name string)

func (ChangeTrustOp) XdrTypeName

func (ChangeTrustOp) XdrTypeName() string

func (ChangeTrustOp) XdrValue

func (v ChangeTrustOp) XdrValue() interface{}

type ChangeTrustResult

type ChangeTrustResult struct {
	// The union discriminant Code selects among the following arms:
	//   CHANGE_TRUST_SUCCESS:
	//      void
	//   default:
	//      void
	Code ChangeTrustResultCode
	// contains filtered or unexported fields
}

func XDR_ChangeTrustResult

func XDR_ChangeTrustResult(v *ChangeTrustResult) *ChangeTrustResult

func (*ChangeTrustResult) XdrMarshal

func (v *ChangeTrustResult) XdrMarshal(x XDR, name string)

func (*ChangeTrustResult) XdrPointer

func (v *ChangeTrustResult) XdrPointer() interface{}

func (*ChangeTrustResult) XdrRecurse

func (u *ChangeTrustResult) XdrRecurse(x XDR, name string)

func (ChangeTrustResult) XdrTypeName

func (ChangeTrustResult) XdrTypeName() string

func (*ChangeTrustResult) XdrUnionBody

func (u *ChangeTrustResult) XdrUnionBody() XdrType

func (*ChangeTrustResult) XdrUnionBodyName

func (u *ChangeTrustResult) XdrUnionBodyName() string

func (*ChangeTrustResult) XdrUnionTag

func (u *ChangeTrustResult) XdrUnionTag() XdrNum32

func (*ChangeTrustResult) XdrUnionTagName

func (u *ChangeTrustResult) XdrUnionTagName() string

func (ChangeTrustResult) XdrValid

func (u ChangeTrustResult) XdrValid() bool

func (ChangeTrustResult) XdrValidTags added in v0.1.4

func (_ ChangeTrustResult) XdrValidTags() map[int32]bool

func (ChangeTrustResult) XdrValue

func (v ChangeTrustResult) XdrValue() interface{}

type ChangeTrustResultCode

type ChangeTrustResultCode int32
const (
	// codes considered as "success" for the operation
	CHANGE_TRUST_SUCCESS ChangeTrustResultCode = 0
	// bad input
	CHANGE_TRUST_MALFORMED ChangeTrustResultCode = -1
	// could not find issuer
	CHANGE_TRUST_NO_ISSUER ChangeTrustResultCode = -2
	// cannot drop limit below balance
	CHANGE_TRUST_INVALID_LIMIT ChangeTrustResultCode = -3
	// not enough funds to create a new trust line,
	CHANGE_TRUST_LOW_RESERVE ChangeTrustResultCode = -4
	// trusting self is not allowed
	CHANGE_TRUST_SELF_NOT_ALLOWED ChangeTrustResultCode = -5
	// Asset trustline is missing for pool
	CHANGE_TRUST_TRUST_LINE_MISSING ChangeTrustResultCode = -6
	// Asset trustline is still referenced in a pool
	CHANGE_TRUST_CANNOT_DELETE ChangeTrustResultCode = -7
	// Asset trustline is deauthorized
	CHANGE_TRUST_NOT_AUTH_MAINTAIN_LIABILITIES ChangeTrustResultCode = -8
)

func XDR_ChangeTrustResultCode

func XDR_ChangeTrustResultCode(v *ChangeTrustResultCode) *ChangeTrustResultCode

func (ChangeTrustResultCode) GetU32

func (v ChangeTrustResultCode) GetU32() uint32

func (*ChangeTrustResultCode) Scan

func (v *ChangeTrustResultCode) Scan(ss fmt.ScanState, _ rune) error

func (*ChangeTrustResultCode) SetU32

func (v *ChangeTrustResultCode) SetU32(n uint32)

func (ChangeTrustResultCode) String

func (v ChangeTrustResultCode) String() string

func (ChangeTrustResultCode) XdrEnumComments

func (e ChangeTrustResultCode) XdrEnumComments() map[int32]string

func (ChangeTrustResultCode) XdrEnumNames

func (ChangeTrustResultCode) XdrEnumNames() map[int32]string

func (*ChangeTrustResultCode) XdrMarshal

func (v *ChangeTrustResultCode) XdrMarshal(x XDR, name string)

func (*ChangeTrustResultCode) XdrPointer

func (v *ChangeTrustResultCode) XdrPointer() interface{}

func (ChangeTrustResultCode) XdrTypeName

func (ChangeTrustResultCode) XdrTypeName() string

func (ChangeTrustResultCode) XdrValue

func (v ChangeTrustResultCode) XdrValue() interface{}

type ClaimAtom added in v0.1.5

type ClaimAtom struct {
	// The union discriminant Type selects among the following arms:
	//   CLAIM_ATOM_TYPE_V0:
	//      V0() *ClaimOfferAtomV0
	//   CLAIM_ATOM_TYPE_ORDER_BOOK:
	//      OrderBook() *ClaimOfferAtom
	//   CLAIM_ATOM_TYPE_LIQUIDITY_POOL:
	//      LiquidityPool() *ClaimLiquidityAtom
	Type ClaimAtomType
	// contains filtered or unexported fields
}

This result is used when offers are taken or liquidity is exchanged with a

liquidity pool during an operation

func XDR_ClaimAtom added in v0.1.5

func XDR_ClaimAtom(v *ClaimAtom) *ClaimAtom

func (*ClaimAtom) LiquidityPool added in v0.1.6

func (u *ClaimAtom) LiquidityPool() *ClaimLiquidityAtom

func (*ClaimAtom) OrderBook added in v0.1.5

func (u *ClaimAtom) OrderBook() *ClaimOfferAtom

func (*ClaimAtom) V0 added in v0.1.5

func (u *ClaimAtom) V0() *ClaimOfferAtomV0

func (*ClaimAtom) XdrMarshal added in v0.1.5

func (v *ClaimAtom) XdrMarshal(x XDR, name string)

func (*ClaimAtom) XdrPointer added in v0.1.5

func (v *ClaimAtom) XdrPointer() interface{}

func (*ClaimAtom) XdrRecurse added in v0.1.5

func (u *ClaimAtom) XdrRecurse(x XDR, name string)

func (ClaimAtom) XdrTypeName added in v0.1.5

func (ClaimAtom) XdrTypeName() string

func (*ClaimAtom) XdrUnionBody added in v0.1.5

func (u *ClaimAtom) XdrUnionBody() XdrType

func (*ClaimAtom) XdrUnionBodyName added in v0.1.5

func (u *ClaimAtom) XdrUnionBodyName() string

func (*ClaimAtom) XdrUnionTag added in v0.1.5

func (u *ClaimAtom) XdrUnionTag() XdrNum32

func (*ClaimAtom) XdrUnionTagName added in v0.1.5

func (u *ClaimAtom) XdrUnionTagName() string

func (ClaimAtom) XdrValid added in v0.1.5

func (u ClaimAtom) XdrValid() bool

func (ClaimAtom) XdrValidTags added in v0.1.5

func (_ ClaimAtom) XdrValidTags() map[int32]bool

func (ClaimAtom) XdrValue added in v0.1.5

func (v ClaimAtom) XdrValue() interface{}

type ClaimAtomType added in v0.1.5

type ClaimAtomType int32
const (
	CLAIM_ATOM_TYPE_V0             ClaimAtomType = 0
	CLAIM_ATOM_TYPE_ORDER_BOOK     ClaimAtomType = 1
	CLAIM_ATOM_TYPE_LIQUIDITY_POOL ClaimAtomType = 2
)

func XDR_ClaimAtomType added in v0.1.5

func XDR_ClaimAtomType(v *ClaimAtomType) *ClaimAtomType

func (ClaimAtomType) GetU32 added in v0.1.5

func (v ClaimAtomType) GetU32() uint32

func (*ClaimAtomType) Scan added in v0.1.5

func (v *ClaimAtomType) Scan(ss fmt.ScanState, _ rune) error

func (*ClaimAtomType) SetU32 added in v0.1.5

func (v *ClaimAtomType) SetU32(n uint32)

func (ClaimAtomType) String added in v0.1.5

func (v ClaimAtomType) String() string

func (ClaimAtomType) XdrEnumNames added in v0.1.5

func (ClaimAtomType) XdrEnumNames() map[int32]string

func (*ClaimAtomType) XdrMarshal added in v0.1.5

func (v *ClaimAtomType) XdrMarshal(x XDR, name string)

func (*ClaimAtomType) XdrPointer added in v0.1.5

func (v *ClaimAtomType) XdrPointer() interface{}

func (ClaimAtomType) XdrTypeName added in v0.1.5

func (ClaimAtomType) XdrTypeName() string

func (ClaimAtomType) XdrValue added in v0.1.5

func (v ClaimAtomType) XdrValue() interface{}

type ClaimClaimableBalanceOp

type ClaimClaimableBalanceOp struct {
	BalanceID ClaimableBalanceID
}

Claims a claimable balance entry

Threshold: low

Result: ClaimClaimableBalanceResult

func (*ClaimClaimableBalanceOp) XdrMarshal

func (v *ClaimClaimableBalanceOp) XdrMarshal(x XDR, name string)

func (*ClaimClaimableBalanceOp) XdrPointer

func (v *ClaimClaimableBalanceOp) XdrPointer() interface{}

func (*ClaimClaimableBalanceOp) XdrRecurse

func (v *ClaimClaimableBalanceOp) XdrRecurse(x XDR, name string)

func (ClaimClaimableBalanceOp) XdrTypeName

func (ClaimClaimableBalanceOp) XdrTypeName() string

func (ClaimClaimableBalanceOp) XdrValue

func (v ClaimClaimableBalanceOp) XdrValue() interface{}

type ClaimClaimableBalanceResult

type ClaimClaimableBalanceResult struct {
	// The union discriminant Code selects among the following arms:
	//   CLAIM_CLAIMABLE_BALANCE_SUCCESS:
	//      void
	//   default:
	//      void
	Code ClaimClaimableBalanceResultCode
	// contains filtered or unexported fields
}

func (*ClaimClaimableBalanceResult) XdrMarshal

func (v *ClaimClaimableBalanceResult) XdrMarshal(x XDR, name string)

func (*ClaimClaimableBalanceResult) XdrPointer

func (v *ClaimClaimableBalanceResult) XdrPointer() interface{}

func (*ClaimClaimableBalanceResult) XdrRecurse

func (u *ClaimClaimableBalanceResult) XdrRecurse(x XDR, name string)

func (ClaimClaimableBalanceResult) XdrTypeName

func (ClaimClaimableBalanceResult) XdrTypeName() string

func (*ClaimClaimableBalanceResult) XdrUnionBody

func (u *ClaimClaimableBalanceResult) XdrUnionBody() XdrType

func (*ClaimClaimableBalanceResult) XdrUnionBodyName

func (u *ClaimClaimableBalanceResult) XdrUnionBodyName() string

func (*ClaimClaimableBalanceResult) XdrUnionTag

func (u *ClaimClaimableBalanceResult) XdrUnionTag() XdrNum32

func (*ClaimClaimableBalanceResult) XdrUnionTagName

func (u *ClaimClaimableBalanceResult) XdrUnionTagName() string

func (ClaimClaimableBalanceResult) XdrValid

func (u ClaimClaimableBalanceResult) XdrValid() bool

func (ClaimClaimableBalanceResult) XdrValidTags added in v0.1.4

func (_ ClaimClaimableBalanceResult) XdrValidTags() map[int32]bool

func (ClaimClaimableBalanceResult) XdrValue

func (v ClaimClaimableBalanceResult) XdrValue() interface{}

type ClaimClaimableBalanceResultCode

type ClaimClaimableBalanceResultCode int32
const (
	CLAIM_CLAIMABLE_BALANCE_SUCCESS        ClaimClaimableBalanceResultCode = 0
	CLAIM_CLAIMABLE_BALANCE_DOES_NOT_EXIST ClaimClaimableBalanceResultCode = -1
	CLAIM_CLAIMABLE_BALANCE_CANNOT_CLAIM   ClaimClaimableBalanceResultCode = -2
	CLAIM_CLAIMABLE_BALANCE_LINE_FULL      ClaimClaimableBalanceResultCode = -3
	CLAIM_CLAIMABLE_BALANCE_NO_TRUST       ClaimClaimableBalanceResultCode = -4
	CLAIM_CLAIMABLE_BALANCE_NOT_AUTHORIZED ClaimClaimableBalanceResultCode = -5
)

func (ClaimClaimableBalanceResultCode) GetU32

func (*ClaimClaimableBalanceResultCode) Scan

func (*ClaimClaimableBalanceResultCode) SetU32

func (ClaimClaimableBalanceResultCode) String

func (ClaimClaimableBalanceResultCode) XdrEnumNames

func (ClaimClaimableBalanceResultCode) XdrEnumNames() map[int32]string

func (*ClaimClaimableBalanceResultCode) XdrMarshal

func (v *ClaimClaimableBalanceResultCode) XdrMarshal(x XDR, name string)

func (*ClaimClaimableBalanceResultCode) XdrPointer

func (v *ClaimClaimableBalanceResultCode) XdrPointer() interface{}

func (ClaimClaimableBalanceResultCode) XdrTypeName

func (ClaimClaimableBalanceResultCode) XdrValue

func (v ClaimClaimableBalanceResultCode) XdrValue() interface{}

type ClaimLiquidityAtom added in v0.1.6

type ClaimLiquidityAtom struct {
	LiquidityPoolID PoolID
	// amount and asset taken from the pool
	AssetSold  Asset
	AmountSold Int64
	// amount and asset sent to the pool
	AssetBought  Asset
	AmountBought Int64
}

func XDR_ClaimLiquidityAtom added in v0.1.6

func XDR_ClaimLiquidityAtom(v *ClaimLiquidityAtom) *ClaimLiquidityAtom

func (*ClaimLiquidityAtom) XdrMarshal added in v0.1.6

func (v *ClaimLiquidityAtom) XdrMarshal(x XDR, name string)

func (*ClaimLiquidityAtom) XdrPointer added in v0.1.6

func (v *ClaimLiquidityAtom) XdrPointer() interface{}

func (*ClaimLiquidityAtom) XdrRecurse added in v0.1.6

func (v *ClaimLiquidityAtom) XdrRecurse(x XDR, name string)

func (ClaimLiquidityAtom) XdrTypeName added in v0.1.6

func (ClaimLiquidityAtom) XdrTypeName() string

func (ClaimLiquidityAtom) XdrValue added in v0.1.6

func (v ClaimLiquidityAtom) XdrValue() interface{}

type ClaimOfferAtom

type ClaimOfferAtom struct {
	// emitted to identify the offer
	SellerID AccountID
	OfferID  Int64
	// amount and asset taken from the owner
	AssetSold  Asset
	AmountSold Int64
	// amount and asset sent to the owner
	AssetBought  Asset
	AmountBought Int64
}

func XDR_ClaimOfferAtom

func XDR_ClaimOfferAtom(v *ClaimOfferAtom) *ClaimOfferAtom

func (*ClaimOfferAtom) XdrMarshal

func (v *ClaimOfferAtom) XdrMarshal(x XDR, name string)

func (*ClaimOfferAtom) XdrPointer

func (v *ClaimOfferAtom) XdrPointer() interface{}

func (*ClaimOfferAtom) XdrRecurse

func (v *ClaimOfferAtom) XdrRecurse(x XDR, name string)

func (ClaimOfferAtom) XdrTypeName

func (ClaimOfferAtom) XdrTypeName() string

func (ClaimOfferAtom) XdrValue

func (v ClaimOfferAtom) XdrValue() interface{}

type ClaimOfferAtomV0 added in v0.1.5

type ClaimOfferAtomV0 struct {
	// emitted to identify the offer
	SellerEd25519 Uint256
	OfferID       Int64
	// amount and asset taken from the owner
	AssetSold  Asset
	AmountSold Int64
	// amount and asset sent to the owner
	AssetBought  Asset
	AmountBought Int64
}

ClaimOfferAtomV0 is a ClaimOfferAtom with the AccountID discriminant stripped off, leaving a raw ed25519 public key to identify the source account. This is used for backwards compatibility starting from the protocol 17/18 boundary. If an "old-style" ClaimOfferAtom is parsed with this XDR definition, it will be parsed as a "new-style" ClaimAtom containing a ClaimOfferAtomV0.

func XDR_ClaimOfferAtomV0 added in v0.1.5

func XDR_ClaimOfferAtomV0(v *ClaimOfferAtomV0) *ClaimOfferAtomV0

func (*ClaimOfferAtomV0) XdrMarshal added in v0.1.5

func (v *ClaimOfferAtomV0) XdrMarshal(x XDR, name string)

func (*ClaimOfferAtomV0) XdrPointer added in v0.1.5

func (v *ClaimOfferAtomV0) XdrPointer() interface{}

func (*ClaimOfferAtomV0) XdrRecurse added in v0.1.5

func (v *ClaimOfferAtomV0) XdrRecurse(x XDR, name string)

func (ClaimOfferAtomV0) XdrTypeName added in v0.1.5

func (ClaimOfferAtomV0) XdrTypeName() string

func (ClaimOfferAtomV0) XdrValue added in v0.1.5

func (v ClaimOfferAtomV0) XdrValue() interface{}

type ClaimPredicate

type ClaimPredicate struct {
	// The union discriminant Type selects among the following arms:
	//   CLAIM_PREDICATE_UNCONDITIONAL:
	//      void
	//   CLAIM_PREDICATE_AND:
	//      AndPredicates() *[]ClaimPredicate // bound 2
	//   CLAIM_PREDICATE_OR:
	//      OrPredicates() *[]ClaimPredicate // bound 2
	//   CLAIM_PREDICATE_NOT:
	//      NotPredicate() **ClaimPredicate
	//   CLAIM_PREDICATE_BEFORE_ABSOLUTE_TIME:
	//      AbsBefore() *Int64
	//   CLAIM_PREDICATE_BEFORE_RELATIVE_TIME:
	//      RelBefore() *Int64
	Type ClaimPredicateType
	// contains filtered or unexported fields
}

func XDR_ClaimPredicate

func XDR_ClaimPredicate(v *ClaimPredicate) *ClaimPredicate

func (*ClaimPredicate) AbsBefore

func (u *ClaimPredicate) AbsBefore() *Int64

Predicate will be true if closeTime < absBefore

func (*ClaimPredicate) AndPredicates

func (u *ClaimPredicate) AndPredicates() *[]ClaimPredicate

func (*ClaimPredicate) NotPredicate

func (u *ClaimPredicate) NotPredicate() **ClaimPredicate

func (*ClaimPredicate) OrPredicates

func (u *ClaimPredicate) OrPredicates() *[]ClaimPredicate

func (*ClaimPredicate) RelBefore

func (u *ClaimPredicate) RelBefore() *Int64

Seconds since closeTime of the ledger in which the

func (*ClaimPredicate) XdrMarshal

func (v *ClaimPredicate) XdrMarshal(x XDR, name string)

func (*ClaimPredicate) XdrPointer

func (v *ClaimPredicate) XdrPointer() interface{}

func (*ClaimPredicate) XdrRecurse

func (u *ClaimPredicate) XdrRecurse(x XDR, name string)

func (ClaimPredicate) XdrTypeName

func (ClaimPredicate) XdrTypeName() string

func (*ClaimPredicate) XdrUnionBody

func (u *ClaimPredicate) XdrUnionBody() XdrType

func (*ClaimPredicate) XdrUnionBodyName

func (u *ClaimPredicate) XdrUnionBodyName() string

func (*ClaimPredicate) XdrUnionTag

func (u *ClaimPredicate) XdrUnionTag() XdrNum32

func (*ClaimPredicate) XdrUnionTagName

func (u *ClaimPredicate) XdrUnionTagName() string

func (ClaimPredicate) XdrValid

func (u ClaimPredicate) XdrValid() bool

func (ClaimPredicate) XdrValidTags

func (_ ClaimPredicate) XdrValidTags() map[int32]bool

func (ClaimPredicate) XdrValue

func (v ClaimPredicate) XdrValue() interface{}

type ClaimPredicateType

type ClaimPredicateType int32
const (
	CLAIM_PREDICATE_UNCONDITIONAL        ClaimPredicateType = 0
	CLAIM_PREDICATE_AND                  ClaimPredicateType = 1
	CLAIM_PREDICATE_OR                   ClaimPredicateType = 2
	CLAIM_PREDICATE_NOT                  ClaimPredicateType = 3
	CLAIM_PREDICATE_BEFORE_ABSOLUTE_TIME ClaimPredicateType = 4
	CLAIM_PREDICATE_BEFORE_RELATIVE_TIME ClaimPredicateType = 5
)

func XDR_ClaimPredicateType

func XDR_ClaimPredicateType(v *ClaimPredicateType) *ClaimPredicateType

func (ClaimPredicateType) GetU32

func (v ClaimPredicateType) GetU32() uint32

func (*ClaimPredicateType) Scan

func (v *ClaimPredicateType) Scan(ss fmt.ScanState, _ rune) error

func (*ClaimPredicateType) SetU32

func (v *ClaimPredicateType) SetU32(n uint32)

func (ClaimPredicateType) String

func (v ClaimPredicateType) String() string

func (ClaimPredicateType) XdrEnumNames

func (ClaimPredicateType) XdrEnumNames() map[int32]string

func (*ClaimPredicateType) XdrMarshal

func (v *ClaimPredicateType) XdrMarshal(x XDR, name string)

func (*ClaimPredicateType) XdrPointer

func (v *ClaimPredicateType) XdrPointer() interface{}

func (ClaimPredicateType) XdrTypeName

func (ClaimPredicateType) XdrTypeName() string

func (ClaimPredicateType) XdrValue

func (v ClaimPredicateType) XdrValue() interface{}

type ClaimableBalanceEntry

type ClaimableBalanceEntry struct {
	// Unique identifier for this ClaimableBalanceEntry
	BalanceID ClaimableBalanceID
	// List of claimants with associated predicate
	Claimants []Claimant // bound 10
	// Any asset including native
	Asset Asset
	// Amount of asset
	Amount Int64
	Ext    XdrAnon_ClaimableBalanceEntry_Ext
}

func XDR_ClaimableBalanceEntry

func XDR_ClaimableBalanceEntry(v *ClaimableBalanceEntry) *ClaimableBalanceEntry

func (*ClaimableBalanceEntry) XdrMarshal

func (v *ClaimableBalanceEntry) XdrMarshal(x XDR, name string)

func (*ClaimableBalanceEntry) XdrPointer

func (v *ClaimableBalanceEntry) XdrPointer() interface{}

func (*ClaimableBalanceEntry) XdrRecurse

func (v *ClaimableBalanceEntry) XdrRecurse(x XDR, name string)

func (ClaimableBalanceEntry) XdrTypeName

func (ClaimableBalanceEntry) XdrTypeName() string

func (ClaimableBalanceEntry) XdrValue

func (v ClaimableBalanceEntry) XdrValue() interface{}

type ClaimableBalanceEntryExtensionV1 added in v0.1.4

type ClaimableBalanceEntryExtensionV1 struct {
	Ext XdrAnon_ClaimableBalanceEntryExtensionV1_Ext
	// see ClaimableBalanceFlags
	Flags Uint32
}

func XDR_ClaimableBalanceEntryExtensionV1 added in v0.1.4

func XDR_ClaimableBalanceEntryExtensionV1(v *ClaimableBalanceEntryExtensionV1) *ClaimableBalanceEntryExtensionV1

func (*ClaimableBalanceEntryExtensionV1) XdrMarshal added in v0.1.4

func (v *ClaimableBalanceEntryExtensionV1) XdrMarshal(x XDR, name string)

func (*ClaimableBalanceEntryExtensionV1) XdrPointer added in v0.1.4

func (v *ClaimableBalanceEntryExtensionV1) XdrPointer() interface{}

func (*ClaimableBalanceEntryExtensionV1) XdrRecurse added in v0.1.4

func (v *ClaimableBalanceEntryExtensionV1) XdrRecurse(x XDR, name string)

func (ClaimableBalanceEntryExtensionV1) XdrTypeName added in v0.1.4

func (ClaimableBalanceEntryExtensionV1) XdrValue added in v0.1.4

func (v ClaimableBalanceEntryExtensionV1) XdrValue() interface{}

type ClaimableBalanceFlags added in v0.1.4

type ClaimableBalanceFlags int32
const (
	// If set, the issuer account of the asset held by the claimable balance may
	// clawback the claimable balance
	CLAIMABLE_BALANCE_CLAWBACK_ENABLED_FLAG ClaimableBalanceFlags = ClaimableBalanceFlags(0x1)
)

func XDR_ClaimableBalanceFlags added in v0.1.4

func XDR_ClaimableBalanceFlags(v *ClaimableBalanceFlags) *ClaimableBalanceFlags

func (ClaimableBalanceFlags) GetU32 added in v0.1.4

func (v ClaimableBalanceFlags) GetU32() uint32

func (*ClaimableBalanceFlags) Scan added in v0.1.4

func (v *ClaimableBalanceFlags) Scan(ss fmt.ScanState, _ rune) error

func (*ClaimableBalanceFlags) SetU32 added in v0.1.4

func (v *ClaimableBalanceFlags) SetU32(n uint32)

func (ClaimableBalanceFlags) String added in v0.1.4

func (v ClaimableBalanceFlags) String() string

func (ClaimableBalanceFlags) XdrEnumComments added in v0.1.4

func (e ClaimableBalanceFlags) XdrEnumComments() map[int32]string

func (ClaimableBalanceFlags) XdrEnumNames added in v0.1.4

func (ClaimableBalanceFlags) XdrEnumNames() map[int32]string

func (*ClaimableBalanceFlags) XdrInitialize added in v0.1.4

func (v *ClaimableBalanceFlags) XdrInitialize()

func (*ClaimableBalanceFlags) XdrMarshal added in v0.1.4

func (v *ClaimableBalanceFlags) XdrMarshal(x XDR, name string)

func (*ClaimableBalanceFlags) XdrPointer added in v0.1.4

func (v *ClaimableBalanceFlags) XdrPointer() interface{}

func (ClaimableBalanceFlags) XdrTypeName added in v0.1.4

func (ClaimableBalanceFlags) XdrTypeName() string

func (ClaimableBalanceFlags) XdrValue added in v0.1.4

func (v ClaimableBalanceFlags) XdrValue() interface{}

type ClaimableBalanceID

type ClaimableBalanceID struct {
	// The union discriminant Type selects among the following arms:
	//   CLAIMABLE_BALANCE_ID_TYPE_V0:
	//      V0() *Hash
	Type ClaimableBalanceIDType
	// contains filtered or unexported fields
}

func XDR_ClaimableBalanceID

func XDR_ClaimableBalanceID(v *ClaimableBalanceID) *ClaimableBalanceID

func (*ClaimableBalanceID) V0

func (u *ClaimableBalanceID) V0() *Hash

func (*ClaimableBalanceID) XdrMarshal

func (v *ClaimableBalanceID) XdrMarshal(x XDR, name string)

func (*ClaimableBalanceID) XdrPointer

func (v *ClaimableBalanceID) XdrPointer() interface{}

func (*ClaimableBalanceID) XdrRecurse

func (u *ClaimableBalanceID) XdrRecurse(x XDR, name string)

func (ClaimableBalanceID) XdrTypeName

func (ClaimableBalanceID) XdrTypeName() string

func (*ClaimableBalanceID) XdrUnionBody

func (u *ClaimableBalanceID) XdrUnionBody() XdrType

func (*ClaimableBalanceID) XdrUnionBodyName

func (u *ClaimableBalanceID) XdrUnionBodyName() string

func (*ClaimableBalanceID) XdrUnionTag

func (u *ClaimableBalanceID) XdrUnionTag() XdrNum32

func (*ClaimableBalanceID) XdrUnionTagName

func (u *ClaimableBalanceID) XdrUnionTagName() string

func (ClaimableBalanceID) XdrValid

func (u ClaimableBalanceID) XdrValid() bool

func (ClaimableBalanceID) XdrValidTags

func (_ ClaimableBalanceID) XdrValidTags() map[int32]bool

func (ClaimableBalanceID) XdrValue

func (v ClaimableBalanceID) XdrValue() interface{}

type ClaimableBalanceIDType

type ClaimableBalanceIDType int32
const (
	CLAIMABLE_BALANCE_ID_TYPE_V0 ClaimableBalanceIDType = 0
)

func (ClaimableBalanceIDType) GetU32

func (v ClaimableBalanceIDType) GetU32() uint32

func (*ClaimableBalanceIDType) Scan

func (*ClaimableBalanceIDType) SetU32

func (v *ClaimableBalanceIDType) SetU32(n uint32)

func (ClaimableBalanceIDType) String

func (v ClaimableBalanceIDType) String() string

func (ClaimableBalanceIDType) XdrEnumNames

func (ClaimableBalanceIDType) XdrEnumNames() map[int32]string

func (*ClaimableBalanceIDType) XdrMarshal

func (v *ClaimableBalanceIDType) XdrMarshal(x XDR, name string)

func (*ClaimableBalanceIDType) XdrPointer

func (v *ClaimableBalanceIDType) XdrPointer() interface{}

func (ClaimableBalanceIDType) XdrTypeName

func (ClaimableBalanceIDType) XdrTypeName() string

func (ClaimableBalanceIDType) XdrValue

func (v ClaimableBalanceIDType) XdrValue() interface{}

type Claimant

type Claimant struct {
	// The union discriminant Type selects among the following arms:
	//   CLAIMANT_TYPE_V0:
	//      V0() *XdrAnon_Claimant_V0
	Type ClaimantType
	// contains filtered or unexported fields
}

func XDR_Claimant

func XDR_Claimant(v *Claimant) *Claimant

func (*Claimant) V0

func (u *Claimant) V0() *XdrAnon_Claimant_V0

func (*Claimant) XdrMarshal

func (v *Claimant) XdrMarshal(x XDR, name string)

func (*Claimant) XdrPointer

func (v *Claimant) XdrPointer() interface{}

func (*Claimant) XdrRecurse

func (u *Claimant) XdrRecurse(x XDR, name string)

func (Claimant) XdrTypeName

func (Claimant) XdrTypeName() string

func (*Claimant) XdrUnionBody

func (u *Claimant) XdrUnionBody() XdrType

func (*Claimant) XdrUnionBodyName

func (u *Claimant) XdrUnionBodyName() string

func (*Claimant) XdrUnionTag

func (u *Claimant) XdrUnionTag() XdrNum32

func (*Claimant) XdrUnionTagName

func (u *Claimant) XdrUnionTagName() string

func (Claimant) XdrValid

func (u Claimant) XdrValid() bool

func (Claimant) XdrValidTags

func (_ Claimant) XdrValidTags() map[int32]bool

func (Claimant) XdrValue

func (v Claimant) XdrValue() interface{}

type ClaimantType

type ClaimantType int32
const (
	CLAIMANT_TYPE_V0 ClaimantType = 0
)

func XDR_ClaimantType

func XDR_ClaimantType(v *ClaimantType) *ClaimantType

func (ClaimantType) GetU32

func (v ClaimantType) GetU32() uint32

func (*ClaimantType) Scan

func (v *ClaimantType) Scan(ss fmt.ScanState, _ rune) error

func (*ClaimantType) SetU32

func (v *ClaimantType) SetU32(n uint32)

func (ClaimantType) String

func (v ClaimantType) String() string

func (ClaimantType) XdrEnumNames

func (ClaimantType) XdrEnumNames() map[int32]string

func (*ClaimantType) XdrMarshal

func (v *ClaimantType) XdrMarshal(x XDR, name string)

func (*ClaimantType) XdrPointer

func (v *ClaimantType) XdrPointer() interface{}

func (ClaimantType) XdrTypeName

func (ClaimantType) XdrTypeName() string

func (ClaimantType) XdrValue

func (v ClaimantType) XdrValue() interface{}

type ClawbackClaimableBalanceOp added in v0.1.4

type ClawbackClaimableBalanceOp struct {
	BalanceID ClaimableBalanceID
}

Claws back a claimable balance

Threshold: med

Result: ClawbackClaimableBalanceResult

func XDR_ClawbackClaimableBalanceOp added in v0.1.4

func XDR_ClawbackClaimableBalanceOp(v *ClawbackClaimableBalanceOp) *ClawbackClaimableBalanceOp

func (*ClawbackClaimableBalanceOp) XdrMarshal added in v0.1.4

func (v *ClawbackClaimableBalanceOp) XdrMarshal(x XDR, name string)

func (*ClawbackClaimableBalanceOp) XdrPointer added in v0.1.4

func (v *ClawbackClaimableBalanceOp) XdrPointer() interface{}

func (*ClawbackClaimableBalanceOp) XdrRecurse added in v0.1.4

func (v *ClawbackClaimableBalanceOp) XdrRecurse(x XDR, name string)

func (ClawbackClaimableBalanceOp) XdrTypeName added in v0.1.4

func (ClawbackClaimableBalanceOp) XdrTypeName() string

func (ClawbackClaimableBalanceOp) XdrValue added in v0.1.4

func (v ClawbackClaimableBalanceOp) XdrValue() interface{}

type ClawbackClaimableBalanceResult added in v0.1.4

type ClawbackClaimableBalanceResult struct {
	// The union discriminant Code selects among the following arms:
	//   CLAWBACK_CLAIMABLE_BALANCE_SUCCESS:
	//      void
	//   default:
	//      void
	Code ClawbackClaimableBalanceResultCode
	// contains filtered or unexported fields
}

func XDR_ClawbackClaimableBalanceResult added in v0.1.4

func XDR_ClawbackClaimableBalanceResult(v *ClawbackClaimableBalanceResult) *ClawbackClaimableBalanceResult

func (*ClawbackClaimableBalanceResult) XdrMarshal added in v0.1.4

func (v *ClawbackClaimableBalanceResult) XdrMarshal(x XDR, name string)

func (*ClawbackClaimableBalanceResult) XdrPointer added in v0.1.4

func (v *ClawbackClaimableBalanceResult) XdrPointer() interface{}

func (*ClawbackClaimableBalanceResult) XdrRecurse added in v0.1.4

func (u *ClawbackClaimableBalanceResult) XdrRecurse(x XDR, name string)

func (ClawbackClaimableBalanceResult) XdrTypeName added in v0.1.4

func (ClawbackClaimableBalanceResult) XdrTypeName() string

func (*ClawbackClaimableBalanceResult) XdrUnionBody added in v0.1.4

func (u *ClawbackClaimableBalanceResult) XdrUnionBody() XdrType

func (*ClawbackClaimableBalanceResult) XdrUnionBodyName added in v0.1.4

func (u *ClawbackClaimableBalanceResult) XdrUnionBodyName() string

func (*ClawbackClaimableBalanceResult) XdrUnionTag added in v0.1.4

func (u *ClawbackClaimableBalanceResult) XdrUnionTag() XdrNum32

func (*ClawbackClaimableBalanceResult) XdrUnionTagName added in v0.1.4

func (u *ClawbackClaimableBalanceResult) XdrUnionTagName() string

func (ClawbackClaimableBalanceResult) XdrValid added in v0.1.4

func (u ClawbackClaimableBalanceResult) XdrValid() bool

func (ClawbackClaimableBalanceResult) XdrValidTags added in v0.1.4

func (_ ClawbackClaimableBalanceResult) XdrValidTags() map[int32]bool

func (ClawbackClaimableBalanceResult) XdrValue added in v0.1.4

func (v ClawbackClaimableBalanceResult) XdrValue() interface{}

type ClawbackClaimableBalanceResultCode added in v0.1.4

type ClawbackClaimableBalanceResultCode int32
const (
	// codes considered as "success" for the operation
	CLAWBACK_CLAIMABLE_BALANCE_SUCCESS ClawbackClaimableBalanceResultCode = 0
	// codes considered as "failure" for the operation
	CLAWBACK_CLAIMABLE_BALANCE_DOES_NOT_EXIST       ClawbackClaimableBalanceResultCode = -1
	CLAWBACK_CLAIMABLE_BALANCE_NOT_ISSUER           ClawbackClaimableBalanceResultCode = -2
	CLAWBACK_CLAIMABLE_BALANCE_NOT_CLAWBACK_ENABLED ClawbackClaimableBalanceResultCode = -3
)

func XDR_ClawbackClaimableBalanceResultCode added in v0.1.4

func XDR_ClawbackClaimableBalanceResultCode(v *ClawbackClaimableBalanceResultCode) *ClawbackClaimableBalanceResultCode

func (ClawbackClaimableBalanceResultCode) GetU32 added in v0.1.4

func (*ClawbackClaimableBalanceResultCode) Scan added in v0.1.4

func (*ClawbackClaimableBalanceResultCode) SetU32 added in v0.1.4

func (ClawbackClaimableBalanceResultCode) String added in v0.1.4

func (ClawbackClaimableBalanceResultCode) XdrEnumComments added in v0.1.4

func (e ClawbackClaimableBalanceResultCode) XdrEnumComments() map[int32]string

func (ClawbackClaimableBalanceResultCode) XdrEnumNames added in v0.1.4

func (ClawbackClaimableBalanceResultCode) XdrEnumNames() map[int32]string

func (*ClawbackClaimableBalanceResultCode) XdrMarshal added in v0.1.4

func (v *ClawbackClaimableBalanceResultCode) XdrMarshal(x XDR, name string)

func (*ClawbackClaimableBalanceResultCode) XdrPointer added in v0.1.4

func (v *ClawbackClaimableBalanceResultCode) XdrPointer() interface{}

func (ClawbackClaimableBalanceResultCode) XdrTypeName added in v0.1.4

func (ClawbackClaimableBalanceResultCode) XdrValue added in v0.1.4

func (v ClawbackClaimableBalanceResultCode) XdrValue() interface{}

type ClawbackOp added in v0.1.3

type ClawbackOp struct {
	Asset  Asset
	From   MuxedAccount
	Amount Int64
}

Claws back an amount of an asset from an account

Threshold: med

Result: ClawbackResult

func XDR_ClawbackOp added in v0.1.3

func XDR_ClawbackOp(v *ClawbackOp) *ClawbackOp

func (*ClawbackOp) XdrMarshal added in v0.1.3

func (v *ClawbackOp) XdrMarshal(x XDR, name string)

func (*ClawbackOp) XdrPointer added in v0.1.3

func (v *ClawbackOp) XdrPointer() interface{}

func (*ClawbackOp) XdrRecurse added in v0.1.3

func (v *ClawbackOp) XdrRecurse(x XDR, name string)

func (ClawbackOp) XdrTypeName added in v0.1.3

func (ClawbackOp) XdrTypeName() string

func (ClawbackOp) XdrValue added in v0.1.3

func (v ClawbackOp) XdrValue() interface{}

type ClawbackResult added in v0.1.3

type ClawbackResult struct {
	// The union discriminant Code selects among the following arms:
	//   CLAWBACK_SUCCESS:
	//      void
	//   default:
	//      void
	Code ClawbackResultCode
	// contains filtered or unexported fields
}

func XDR_ClawbackResult added in v0.1.3

func XDR_ClawbackResult(v *ClawbackResult) *ClawbackResult

func (*ClawbackResult) XdrMarshal added in v0.1.3

func (v *ClawbackResult) XdrMarshal(x XDR, name string)

func (*ClawbackResult) XdrPointer added in v0.1.3

func (v *ClawbackResult) XdrPointer() interface{}

func (*ClawbackResult) XdrRecurse added in v0.1.3

func (u *ClawbackResult) XdrRecurse(x XDR, name string)

func (ClawbackResult) XdrTypeName added in v0.1.3

func (ClawbackResult) XdrTypeName() string

func (*ClawbackResult) XdrUnionBody added in v0.1.3

func (u *ClawbackResult) XdrUnionBody() XdrType

func (*ClawbackResult) XdrUnionBodyName added in v0.1.3

func (u *ClawbackResult) XdrUnionBodyName() string

func (*ClawbackResult) XdrUnionTag added in v0.1.3

func (u *ClawbackResult) XdrUnionTag() XdrNum32

func (*ClawbackResult) XdrUnionTagName added in v0.1.3

func (u *ClawbackResult) XdrUnionTagName() string

func (ClawbackResult) XdrValid added in v0.1.3

func (u ClawbackResult) XdrValid() bool

func (ClawbackResult) XdrValidTags added in v0.1.4

func (_ ClawbackResult) XdrValidTags() map[int32]bool

func (ClawbackResult) XdrValue added in v0.1.3

func (v ClawbackResult) XdrValue() interface{}

type ClawbackResultCode added in v0.1.3

type ClawbackResultCode int32
const (
	// codes considered as "success" for the operation
	CLAWBACK_SUCCESS ClawbackResultCode = 0
	// codes considered as "failure" for the operation
	CLAWBACK_MALFORMED            ClawbackResultCode = -1
	CLAWBACK_NOT_CLAWBACK_ENABLED ClawbackResultCode = -2
	CLAWBACK_NO_TRUST             ClawbackResultCode = -3
	CLAWBACK_UNDERFUNDED          ClawbackResultCode = -4
)

func XDR_ClawbackResultCode added in v0.1.3

func XDR_ClawbackResultCode(v *ClawbackResultCode) *ClawbackResultCode

func (ClawbackResultCode) GetU32 added in v0.1.3

func (v ClawbackResultCode) GetU32() uint32

func (*ClawbackResultCode) Scan added in v0.1.3

func (v *ClawbackResultCode) Scan(ss fmt.ScanState, _ rune) error

func (*ClawbackResultCode) SetU32 added in v0.1.3

func (v *ClawbackResultCode) SetU32(n uint32)

func (ClawbackResultCode) String added in v0.1.3

func (v ClawbackResultCode) String() string

func (ClawbackResultCode) XdrEnumComments added in v0.1.3

func (e ClawbackResultCode) XdrEnumComments() map[int32]string

func (ClawbackResultCode) XdrEnumNames added in v0.1.3

func (ClawbackResultCode) XdrEnumNames() map[int32]string

func (*ClawbackResultCode) XdrMarshal added in v0.1.3

func (v *ClawbackResultCode) XdrMarshal(x XDR, name string)

func (*ClawbackResultCode) XdrPointer added in v0.1.3

func (v *ClawbackResultCode) XdrPointer() interface{}

func (ClawbackResultCode) XdrTypeName added in v0.1.3

func (ClawbackResultCode) XdrTypeName() string

func (ClawbackResultCode) XdrValue added in v0.1.3

func (v ClawbackResultCode) XdrValue() interface{}

type CreateAccountOp

type CreateAccountOp struct {
	// account to create
	Destination AccountID
	// amount they end up with
	StartingBalance Int64
}
CreateAccount

Creates and funds a new account with the specified starting balance.

Threshold: med

Result: CreateAccountResult

func XDR_CreateAccountOp

func XDR_CreateAccountOp(v *CreateAccountOp) *CreateAccountOp

func (*CreateAccountOp) XdrMarshal

func (v *CreateAccountOp) XdrMarshal(x XDR, name string)

func (*CreateAccountOp) XdrPointer

func (v *CreateAccountOp) XdrPointer() interface{}

func (*CreateAccountOp) XdrRecurse

func (v *CreateAccountOp) XdrRecurse(x XDR, name string)

func (CreateAccountOp) XdrTypeName

func (CreateAccountOp) XdrTypeName() string

func (CreateAccountOp) XdrValue

func (v CreateAccountOp) XdrValue() interface{}

type CreateAccountResult

type CreateAccountResult struct {
	// The union discriminant Code selects among the following arms:
	//   CREATE_ACCOUNT_SUCCESS:
	//      void
	//   default:
	//      void
	Code CreateAccountResultCode
	// contains filtered or unexported fields
}

func XDR_CreateAccountResult

func XDR_CreateAccountResult(v *CreateAccountResult) *CreateAccountResult

func (*CreateAccountResult) XdrMarshal

func (v *CreateAccountResult) XdrMarshal(x XDR, name string)

func (*CreateAccountResult) XdrPointer

func (v *CreateAccountResult) XdrPointer() interface{}

func (*CreateAccountResult) XdrRecurse

func (u *CreateAccountResult) XdrRecurse(x XDR, name string)

func (CreateAccountResult) XdrTypeName

func (CreateAccountResult) XdrTypeName() string

func (*CreateAccountResult) XdrUnionBody

func (u *CreateAccountResult) XdrUnionBody() XdrType

func (*CreateAccountResult) XdrUnionBodyName

func (u *CreateAccountResult) XdrUnionBodyName() string

func (*CreateAccountResult) XdrUnionTag

func (u *CreateAccountResult) XdrUnionTag() XdrNum32

func (*CreateAccountResult) XdrUnionTagName

func (u *CreateAccountResult) XdrUnionTagName() string

func (CreateAccountResult) XdrValid

func (u CreateAccountResult) XdrValid() bool

func (CreateAccountResult) XdrValidTags added in v0.1.4

func (_ CreateAccountResult) XdrValidTags() map[int32]bool

func (CreateAccountResult) XdrValue

func (v CreateAccountResult) XdrValue() interface{}

type CreateAccountResultCode

type CreateAccountResultCode int32
const (
	// account was created
	CREATE_ACCOUNT_SUCCESS CreateAccountResultCode = 0
	// invalid destination
	CREATE_ACCOUNT_MALFORMED CreateAccountResultCode = -1
	// not enough funds in source account
	CREATE_ACCOUNT_UNDERFUNDED CreateAccountResultCode = -2
	// would create an account below the min reserve
	CREATE_ACCOUNT_LOW_RESERVE CreateAccountResultCode = -3
	// account already exists
	CREATE_ACCOUNT_ALREADY_EXIST CreateAccountResultCode = -4
)

func (CreateAccountResultCode) GetU32

func (v CreateAccountResultCode) GetU32() uint32

func (*CreateAccountResultCode) Scan

func (*CreateAccountResultCode) SetU32

func (v *CreateAccountResultCode) SetU32(n uint32)

func (CreateAccountResultCode) String

func (v CreateAccountResultCode) String() string

func (CreateAccountResultCode) XdrEnumComments

func (e CreateAccountResultCode) XdrEnumComments() map[int32]string

func (CreateAccountResultCode) XdrEnumNames

func (CreateAccountResultCode) XdrEnumNames() map[int32]string

func (*CreateAccountResultCode) XdrMarshal

func (v *CreateAccountResultCode) XdrMarshal(x XDR, name string)

func (*CreateAccountResultCode) XdrPointer

func (v *CreateAccountResultCode) XdrPointer() interface{}

func (CreateAccountResultCode) XdrTypeName

func (CreateAccountResultCode) XdrTypeName() string

func (CreateAccountResultCode) XdrValue

func (v CreateAccountResultCode) XdrValue() interface{}

type CreateClaimableBalanceOp

type CreateClaimableBalanceOp struct {
	Asset     Asset
	Amount    Int64
	Claimants []Claimant // bound 10
}

Creates a claimable balance entry

Threshold: med

Result: CreateClaimableBalanceResult

func (*CreateClaimableBalanceOp) XdrMarshal

func (v *CreateClaimableBalanceOp) XdrMarshal(x XDR, name string)

func (*CreateClaimableBalanceOp) XdrPointer

func (v *CreateClaimableBalanceOp) XdrPointer() interface{}

func (*CreateClaimableBalanceOp) XdrRecurse

func (v *CreateClaimableBalanceOp) XdrRecurse(x XDR, name string)

func (CreateClaimableBalanceOp) XdrTypeName

func (CreateClaimableBalanceOp) XdrTypeName() string

func (CreateClaimableBalanceOp) XdrValue

func (v CreateClaimableBalanceOp) XdrValue() interface{}

type CreateClaimableBalanceResult

type CreateClaimableBalanceResult struct {
	// The union discriminant Code selects among the following arms:
	//   CREATE_CLAIMABLE_BALANCE_SUCCESS:
	//      BalanceID() *ClaimableBalanceID
	//   default:
	//      void
	Code CreateClaimableBalanceResultCode
	// contains filtered or unexported fields
}

func (*CreateClaimableBalanceResult) BalanceID

func (*CreateClaimableBalanceResult) XdrMarshal

func (v *CreateClaimableBalanceResult) XdrMarshal(x XDR, name string)

func (*CreateClaimableBalanceResult) XdrPointer

func (v *CreateClaimableBalanceResult) XdrPointer() interface{}

func (*CreateClaimableBalanceResult) XdrRecurse

func (u *CreateClaimableBalanceResult) XdrRecurse(x XDR, name string)

func (CreateClaimableBalanceResult) XdrTypeName

func (CreateClaimableBalanceResult) XdrTypeName() string

func (*CreateClaimableBalanceResult) XdrUnionBody

func (u *CreateClaimableBalanceResult) XdrUnionBody() XdrType

func (*CreateClaimableBalanceResult) XdrUnionBodyName

func (u *CreateClaimableBalanceResult) XdrUnionBodyName() string

func (*CreateClaimableBalanceResult) XdrUnionTag

func (u *CreateClaimableBalanceResult) XdrUnionTag() XdrNum32

func (*CreateClaimableBalanceResult) XdrUnionTagName

func (u *CreateClaimableBalanceResult) XdrUnionTagName() string

func (CreateClaimableBalanceResult) XdrValid

func (u CreateClaimableBalanceResult) XdrValid() bool

func (CreateClaimableBalanceResult) XdrValidTags added in v0.1.4

func (_ CreateClaimableBalanceResult) XdrValidTags() map[int32]bool

func (CreateClaimableBalanceResult) XdrValue

func (v CreateClaimableBalanceResult) XdrValue() interface{}

type CreateClaimableBalanceResultCode

type CreateClaimableBalanceResultCode int32
const (
	CREATE_CLAIMABLE_BALANCE_SUCCESS        CreateClaimableBalanceResultCode = 0
	CREATE_CLAIMABLE_BALANCE_MALFORMED      CreateClaimableBalanceResultCode = -1
	CREATE_CLAIMABLE_BALANCE_LOW_RESERVE    CreateClaimableBalanceResultCode = -2
	CREATE_CLAIMABLE_BALANCE_NO_TRUST       CreateClaimableBalanceResultCode = -3
	CREATE_CLAIMABLE_BALANCE_NOT_AUTHORIZED CreateClaimableBalanceResultCode = -4
	CREATE_CLAIMABLE_BALANCE_UNDERFUNDED    CreateClaimableBalanceResultCode = -5
)

func (CreateClaimableBalanceResultCode) GetU32

func (*CreateClaimableBalanceResultCode) Scan

func (*CreateClaimableBalanceResultCode) SetU32

func (CreateClaimableBalanceResultCode) String

func (CreateClaimableBalanceResultCode) XdrEnumNames

func (CreateClaimableBalanceResultCode) XdrEnumNames() map[int32]string

func (*CreateClaimableBalanceResultCode) XdrMarshal

func (v *CreateClaimableBalanceResultCode) XdrMarshal(x XDR, name string)

func (*CreateClaimableBalanceResultCode) XdrPointer

func (v *CreateClaimableBalanceResultCode) XdrPointer() interface{}

func (CreateClaimableBalanceResultCode) XdrTypeName

func (CreateClaimableBalanceResultCode) XdrValue

func (v CreateClaimableBalanceResultCode) XdrValue() interface{}

type CreatePassiveSellOfferOp

type CreatePassiveSellOfferOp struct {
	// A
	Selling Asset
	// B
	Buying Asset
	// amount taker gets
	Amount Int64
	// cost of A in terms of B
	Price Price
}
Creates an offer that doesn't take offers of the same price

Threshold: med

Result: CreatePassiveSellOfferResult

func (*CreatePassiveSellOfferOp) XdrMarshal

func (v *CreatePassiveSellOfferOp) XdrMarshal(x XDR, name string)

func (*CreatePassiveSellOfferOp) XdrPointer

func (v *CreatePassiveSellOfferOp) XdrPointer() interface{}

func (*CreatePassiveSellOfferOp) XdrRecurse

func (v *CreatePassiveSellOfferOp) XdrRecurse(x XDR, name string)

func (CreatePassiveSellOfferOp) XdrTypeName

func (CreatePassiveSellOfferOp) XdrTypeName() string

func (CreatePassiveSellOfferOp) XdrValue

func (v CreatePassiveSellOfferOp) XdrValue() interface{}

type CryptoKeyType

type CryptoKeyType int32
const (
	KEY_TYPE_ED25519     CryptoKeyType = 0
	KEY_TYPE_PRE_AUTH_TX CryptoKeyType = 1
	KEY_TYPE_HASH_X      CryptoKeyType = 2
	// MUXED enum values for supported type are derived from the enum values
	// above by ORing them with 0x100
	KEY_TYPE_MUXED_ED25519 CryptoKeyType = CryptoKeyType(0x100)
)

func XDR_CryptoKeyType

func XDR_CryptoKeyType(v *CryptoKeyType) *CryptoKeyType

func (CryptoKeyType) GetU32

func (v CryptoKeyType) GetU32() uint32

func (*CryptoKeyType) Scan

func (v *CryptoKeyType) Scan(ss fmt.ScanState, _ rune) error

func (*CryptoKeyType) SetU32

func (v *CryptoKeyType) SetU32(n uint32)

func (CryptoKeyType) String

func (v CryptoKeyType) String() string

func (CryptoKeyType) XdrEnumComments

func (e CryptoKeyType) XdrEnumComments() map[int32]string

func (CryptoKeyType) XdrEnumNames

func (CryptoKeyType) XdrEnumNames() map[int32]string

func (*CryptoKeyType) XdrMarshal

func (v *CryptoKeyType) XdrMarshal(x XDR, name string)

func (*CryptoKeyType) XdrPointer

func (v *CryptoKeyType) XdrPointer() interface{}

func (CryptoKeyType) XdrTypeName

func (CryptoKeyType) XdrTypeName() string

func (CryptoKeyType) XdrValue

func (v CryptoKeyType) XdrValue() interface{}

type Curve25519Public

type Curve25519Public struct {
	Key [32]byte
}

func XDR_Curve25519Public

func XDR_Curve25519Public(v *Curve25519Public) *Curve25519Public

func (*Curve25519Public) XdrMarshal

func (v *Curve25519Public) XdrMarshal(x XDR, name string)

func (*Curve25519Public) XdrPointer

func (v *Curve25519Public) XdrPointer() interface{}

func (*Curve25519Public) XdrRecurse

func (v *Curve25519Public) XdrRecurse(x XDR, name string)

func (Curve25519Public) XdrTypeName

func (Curve25519Public) XdrTypeName() string

func (Curve25519Public) XdrValue

func (v Curve25519Public) XdrValue() interface{}

type Curve25519Secret

type Curve25519Secret struct {
	Key [32]byte
}

func XDR_Curve25519Secret

func XDR_Curve25519Secret(v *Curve25519Secret) *Curve25519Secret

func (*Curve25519Secret) XdrMarshal

func (v *Curve25519Secret) XdrMarshal(x XDR, name string)

func (*Curve25519Secret) XdrPointer

func (v *Curve25519Secret) XdrPointer() interface{}

func (*Curve25519Secret) XdrRecurse

func (v *Curve25519Secret) XdrRecurse(x XDR, name string)

func (Curve25519Secret) XdrTypeName

func (Curve25519Secret) XdrTypeName() string

func (Curve25519Secret) XdrValue

func (v Curve25519Secret) XdrValue() interface{}

type DataEntry

type DataEntry struct {
	// account this data belongs to
	AccountID AccountID
	DataName  String64
	DataValue DataValue
	Ext       XdrAnon_DataEntry_Ext
}

DataEntry

Data can be attached to accounts.

func XDR_DataEntry

func XDR_DataEntry(v *DataEntry) *DataEntry

func (*DataEntry) XdrMarshal

func (v *DataEntry) XdrMarshal(x XDR, name string)

func (*DataEntry) XdrPointer

func (v *DataEntry) XdrPointer() interface{}

func (*DataEntry) XdrRecurse

func (v *DataEntry) XdrRecurse(x XDR, name string)

func (DataEntry) XdrTypeName

func (DataEntry) XdrTypeName() string

func (DataEntry) XdrValue

func (v DataEntry) XdrValue() interface{}

type DataValue

type DataValue = []byte // bound 64

type DecoratedSignature

type DecoratedSignature struct {
	// last 4 bytes of the public key, used as a hint
	Hint SignatureHint
	// actual signature
	Signature Signature
}

func XDR_DecoratedSignature

func XDR_DecoratedSignature(v *DecoratedSignature) *DecoratedSignature

func (*DecoratedSignature) XdrMarshal

func (v *DecoratedSignature) XdrMarshal(x XDR, name string)

func (*DecoratedSignature) XdrPointer

func (v *DecoratedSignature) XdrPointer() interface{}

func (*DecoratedSignature) XdrRecurse

func (v *DecoratedSignature) XdrRecurse(x XDR, name string)

func (DecoratedSignature) XdrTypeName

func (DecoratedSignature) XdrTypeName() string

func (DecoratedSignature) XdrValue

func (v DecoratedSignature) XdrValue() interface{}

type DontHave

type DontHave struct {
	Type    MessageType
	ReqHash Uint256
}

func XDR_DontHave

func XDR_DontHave(v *DontHave) *DontHave

func (*DontHave) XdrMarshal

func (v *DontHave) XdrMarshal(x XDR, name string)

func (*DontHave) XdrPointer

func (v *DontHave) XdrPointer() interface{}

func (*DontHave) XdrRecurse

func (v *DontHave) XdrRecurse(x XDR, name string)

func (DontHave) XdrTypeName

func (DontHave) XdrTypeName() string

func (DontHave) XdrValue

func (v DontHave) XdrValue() interface{}

type EncryptedBody

type EncryptedBody = []byte // bound 64000

type EndSponsoringFutureReservesResult

type EndSponsoringFutureReservesResult struct {
	// The union discriminant Code selects among the following arms:
	//   END_SPONSORING_FUTURE_RESERVES_SUCCESS:
	//      void
	//   default:
	//      void
	Code EndSponsoringFutureReservesResultCode
	// contains filtered or unexported fields
}

func (*EndSponsoringFutureReservesResult) XdrMarshal

func (v *EndSponsoringFutureReservesResult) XdrMarshal(x XDR, name string)

func (*EndSponsoringFutureReservesResult) XdrPointer

func (v *EndSponsoringFutureReservesResult) XdrPointer() interface{}

func (*EndSponsoringFutureReservesResult) XdrRecurse

func (u *EndSponsoringFutureReservesResult) XdrRecurse(x XDR, name string)

func (EndSponsoringFutureReservesResult) XdrTypeName

func (*EndSponsoringFutureReservesResult) XdrUnionBody

func (u *EndSponsoringFutureReservesResult) XdrUnionBody() XdrType

func (*EndSponsoringFutureReservesResult) XdrUnionBodyName

func (u *EndSponsoringFutureReservesResult) XdrUnionBodyName() string

func (*EndSponsoringFutureReservesResult) XdrUnionTag

func (u *EndSponsoringFutureReservesResult) XdrUnionTag() XdrNum32

func (*EndSponsoringFutureReservesResult) XdrUnionTagName

func (u *EndSponsoringFutureReservesResult) XdrUnionTagName() string

func (EndSponsoringFutureReservesResult) XdrValid

func (EndSponsoringFutureReservesResult) XdrValidTags added in v0.1.4

func (_ EndSponsoringFutureReservesResult) XdrValidTags() map[int32]bool

func (EndSponsoringFutureReservesResult) XdrValue

func (v EndSponsoringFutureReservesResult) XdrValue() interface{}

type EndSponsoringFutureReservesResultCode

type EndSponsoringFutureReservesResultCode int32
const (
	// codes considered as "success" for the operation
	END_SPONSORING_FUTURE_RESERVES_SUCCESS EndSponsoringFutureReservesResultCode = 0
	// codes considered as "failure" for the operation
	END_SPONSORING_FUTURE_RESERVES_NOT_SPONSORED EndSponsoringFutureReservesResultCode = -1
)

func (EndSponsoringFutureReservesResultCode) GetU32

func (*EndSponsoringFutureReservesResultCode) Scan

func (*EndSponsoringFutureReservesResultCode) SetU32

func (EndSponsoringFutureReservesResultCode) String

func (EndSponsoringFutureReservesResultCode) XdrEnumComments

func (e EndSponsoringFutureReservesResultCode) XdrEnumComments() map[int32]string

func (EndSponsoringFutureReservesResultCode) XdrEnumNames

func (*EndSponsoringFutureReservesResultCode) XdrMarshal

func (v *EndSponsoringFutureReservesResultCode) XdrMarshal(x XDR, name string)

func (*EndSponsoringFutureReservesResultCode) XdrPointer

func (v *EndSponsoringFutureReservesResultCode) XdrPointer() interface{}

func (EndSponsoringFutureReservesResultCode) XdrTypeName

func (EndSponsoringFutureReservesResultCode) XdrValue

func (v EndSponsoringFutureReservesResultCode) XdrValue() interface{}

type EnvelopeType

type EnvelopeType int32

list of all envelope types used in the application those are prefixes used when building signatures for the respective envelopes

const (
	ENVELOPE_TYPE_TX_V0             EnvelopeType = 0
	ENVELOPE_TYPE_SCP               EnvelopeType = 1
	ENVELOPE_TYPE_TX                EnvelopeType = 2
	ENVELOPE_TYPE_AUTH              EnvelopeType = 3
	ENVELOPE_TYPE_SCPVALUE          EnvelopeType = 4
	ENVELOPE_TYPE_TX_FEE_BUMP       EnvelopeType = 5
	ENVELOPE_TYPE_OP_ID             EnvelopeType = 6
	ENVELOPE_TYPE_POOL_REVOKE_OP_ID EnvelopeType = 7
)

func XDR_EnvelopeType

func XDR_EnvelopeType(v *EnvelopeType) *EnvelopeType

func (EnvelopeType) GetU32

func (v EnvelopeType) GetU32() uint32

func (*EnvelopeType) Scan

func (v *EnvelopeType) Scan(ss fmt.ScanState, _ rune) error

func (*EnvelopeType) SetU32

func (v *EnvelopeType) SetU32(n uint32)

func (EnvelopeType) String

func (v EnvelopeType) String() string

func (EnvelopeType) XdrEnumNames

func (EnvelopeType) XdrEnumNames() map[int32]string

func (*EnvelopeType) XdrMarshal

func (v *EnvelopeType) XdrMarshal(x XDR, name string)

func (*EnvelopeType) XdrPointer

func (v *EnvelopeType) XdrPointer() interface{}

func (EnvelopeType) XdrTypeName

func (EnvelopeType) XdrTypeName() string

func (EnvelopeType) XdrValue

func (v EnvelopeType) XdrValue() interface{}

type Error

type Error struct {
	Code ErrorCode
	Msg  string // bound 100
}

func XDR_Error

func XDR_Error(v *Error) *Error

func (*Error) XdrMarshal

func (v *Error) XdrMarshal(x XDR, name string)

func (*Error) XdrPointer

func (v *Error) XdrPointer() interface{}

func (*Error) XdrRecurse

func (v *Error) XdrRecurse(x XDR, name string)

func (Error) XdrTypeName

func (Error) XdrTypeName() string

func (Error) XdrValue

func (v Error) XdrValue() interface{}

type ErrorCode

type ErrorCode int32
const (
	// Unspecific error
	ERR_MISC ErrorCode = 0
	// Malformed data
	ERR_DATA ErrorCode = 1
	// Misconfiguration error
	ERR_CONF ErrorCode = 2
	// Authentication failure
	ERR_AUTH ErrorCode = 3
	// System overloaded
	ERR_LOAD ErrorCode = 4
)

func XDR_ErrorCode

func XDR_ErrorCode(v *ErrorCode) *ErrorCode

func (ErrorCode) GetU32

func (v ErrorCode) GetU32() uint32

func (*ErrorCode) Scan

func (v *ErrorCode) Scan(ss fmt.ScanState, _ rune) error

func (*ErrorCode) SetU32

func (v *ErrorCode) SetU32(n uint32)

func (ErrorCode) String

func (v ErrorCode) String() string

func (ErrorCode) XdrEnumComments

func (e ErrorCode) XdrEnumComments() map[int32]string

func (ErrorCode) XdrEnumNames

func (ErrorCode) XdrEnumNames() map[int32]string

func (*ErrorCode) XdrMarshal

func (v *ErrorCode) XdrMarshal(x XDR, name string)

func (*ErrorCode) XdrPointer

func (v *ErrorCode) XdrPointer() interface{}

func (ErrorCode) XdrTypeName

func (ErrorCode) XdrTypeName() string

func (ErrorCode) XdrValue

func (v ErrorCode) XdrValue() interface{}

type FeeBumpTransaction

type FeeBumpTransaction struct {
	FeeSource MuxedAccount
	Fee       Int64
	InnerTx   XdrAnon_FeeBumpTransaction_InnerTx
	Ext       XdrAnon_FeeBumpTransaction_Ext
}

func XDR_FeeBumpTransaction

func XDR_FeeBumpTransaction(v *FeeBumpTransaction) *FeeBumpTransaction

func (*FeeBumpTransaction) WriteTaggedTx

func (tx *FeeBumpTransaction) WriteTaggedTx(w io.Writer)

func (*FeeBumpTransaction) XdrMarshal

func (v *FeeBumpTransaction) XdrMarshal(x XDR, name string)

func (*FeeBumpTransaction) XdrPointer

func (v *FeeBumpTransaction) XdrPointer() interface{}

func (*FeeBumpTransaction) XdrRecurse

func (v *FeeBumpTransaction) XdrRecurse(x XDR, name string)

func (FeeBumpTransaction) XdrTypeName

func (FeeBumpTransaction) XdrTypeName() string

func (FeeBumpTransaction) XdrValue

func (v FeeBumpTransaction) XdrValue() interface{}

type FeeBumpTransactionEnvelope

type FeeBumpTransactionEnvelope struct {
	Tx FeeBumpTransaction
	/* Each decorated signature is a signature over the SHA256 hash of
	 * a TransactionSignaturePayload */
	Signatures []DecoratedSignature // bound 20
}

func (*FeeBumpTransactionEnvelope) WriteTaggedTx

func (tx *FeeBumpTransactionEnvelope) WriteTaggedTx(w io.Writer)

func (*FeeBumpTransactionEnvelope) XdrMarshal

func (v *FeeBumpTransactionEnvelope) XdrMarshal(x XDR, name string)

func (*FeeBumpTransactionEnvelope) XdrPointer

func (v *FeeBumpTransactionEnvelope) XdrPointer() interface{}

func (*FeeBumpTransactionEnvelope) XdrRecurse

func (v *FeeBumpTransactionEnvelope) XdrRecurse(x XDR, name string)

func (FeeBumpTransactionEnvelope) XdrTypeName

func (FeeBumpTransactionEnvelope) XdrTypeName() string

func (FeeBumpTransactionEnvelope) XdrValue

func (v FeeBumpTransactionEnvelope) XdrValue() interface{}

type Hash

type Hash = [32]byte

type HashIDPreimage added in v0.1.6

type HashIDPreimage struct {
	// The union discriminant Type selects among the following arms:
	//   ENVELOPE_TYPE_OP_ID:
	//      OperationID() *XdrAnon_HashIDPreimage_OperationID
	//   ENVELOPE_TYPE_POOL_REVOKE_OP_ID:
	//      RevokeID() *XdrAnon_HashIDPreimage_RevokeID
	Type EnvelopeType
	// contains filtered or unexported fields
}

func XDR_HashIDPreimage added in v0.1.6

func XDR_HashIDPreimage(v *HashIDPreimage) *HashIDPreimage

func (*HashIDPreimage) OperationID added in v0.1.6

func (*HashIDPreimage) RevokeID added in v0.1.6

func (*HashIDPreimage) XdrInitialize added in v0.1.6

func (v *HashIDPreimage) XdrInitialize()

func (*HashIDPreimage) XdrMarshal added in v0.1.6

func (v *HashIDPreimage) XdrMarshal(x XDR, name string)

func (*HashIDPreimage) XdrPointer added in v0.1.6

func (v *HashIDPreimage) XdrPointer() interface{}

func (*HashIDPreimage) XdrRecurse added in v0.1.6

func (u *HashIDPreimage) XdrRecurse(x XDR, name string)

func (HashIDPreimage) XdrTypeName added in v0.1.6

func (HashIDPreimage) XdrTypeName() string

func (*HashIDPreimage) XdrUnionBody added in v0.1.6

func (u *HashIDPreimage) XdrUnionBody() XdrType

func (*HashIDPreimage) XdrUnionBodyName added in v0.1.6

func (u *HashIDPreimage) XdrUnionBodyName() string

func (*HashIDPreimage) XdrUnionTag added in v0.1.6

func (u *HashIDPreimage) XdrUnionTag() XdrNum32

func (*HashIDPreimage) XdrUnionTagName added in v0.1.6

func (u *HashIDPreimage) XdrUnionTagName() string

func (HashIDPreimage) XdrValid added in v0.1.6

func (u HashIDPreimage) XdrValid() bool

func (HashIDPreimage) XdrValidTags added in v0.1.6

func (_ HashIDPreimage) XdrValidTags() map[int32]bool

func (HashIDPreimage) XdrValue added in v0.1.6

func (v HashIDPreimage) XdrValue() interface{}

type Hello

type Hello struct {
	LedgerVersion     Uint32
	OverlayVersion    Uint32
	OverlayMinVersion Uint32
	NetworkID         Hash
	VersionStr        string // bound 100
	ListeningPort     int32
	PeerID            NodeID
	Cert              AuthCert
	Nonce             Uint256
}

func XDR_Hello

func XDR_Hello(v *Hello) *Hello

func (*Hello) XdrMarshal

func (v *Hello) XdrMarshal(x XDR, name string)

func (*Hello) XdrPointer

func (v *Hello) XdrPointer() interface{}

func (*Hello) XdrRecurse

func (v *Hello) XdrRecurse(x XDR, name string)

func (Hello) XdrTypeName

func (Hello) XdrTypeName() string

func (Hello) XdrValue

func (v Hello) XdrValue() interface{}

type HmacSha256Key

type HmacSha256Key struct {
	Key [32]byte
}

func XDR_HmacSha256Key

func XDR_HmacSha256Key(v *HmacSha256Key) *HmacSha256Key

func (*HmacSha256Key) XdrMarshal

func (v *HmacSha256Key) XdrMarshal(x XDR, name string)

func (*HmacSha256Key) XdrPointer

func (v *HmacSha256Key) XdrPointer() interface{}

func (*HmacSha256Key) XdrRecurse

func (v *HmacSha256Key) XdrRecurse(x XDR, name string)

func (HmacSha256Key) XdrTypeName

func (HmacSha256Key) XdrTypeName() string

func (HmacSha256Key) XdrValue

func (v HmacSha256Key) XdrValue() interface{}

type HmacSha256Mac

type HmacSha256Mac struct {
	Mac [32]byte
}

func XDR_HmacSha256Mac

func XDR_HmacSha256Mac(v *HmacSha256Mac) *HmacSha256Mac

func (*HmacSha256Mac) XdrMarshal

func (v *HmacSha256Mac) XdrMarshal(x XDR, name string)

func (*HmacSha256Mac) XdrPointer

func (v *HmacSha256Mac) XdrPointer() interface{}

func (*HmacSha256Mac) XdrRecurse

func (v *HmacSha256Mac) XdrRecurse(x XDR, name string)

func (HmacSha256Mac) XdrTypeName

func (HmacSha256Mac) XdrTypeName() string

func (HmacSha256Mac) XdrValue

func (v HmacSha256Mac) XdrValue() interface{}

type IPAddrType

type IPAddrType int32
const (
	IPv4 IPAddrType = 0
	IPv6 IPAddrType = 1
)

func XDR_IPAddrType

func XDR_IPAddrType(v *IPAddrType) *IPAddrType

func (IPAddrType) GetU32

func (v IPAddrType) GetU32() uint32

func (*IPAddrType) Scan

func (v *IPAddrType) Scan(ss fmt.ScanState, _ rune) error

func (*IPAddrType) SetU32

func (v *IPAddrType) SetU32(n uint32)

func (IPAddrType) String

func (v IPAddrType) String() string

func (IPAddrType) XdrEnumNames

func (IPAddrType) XdrEnumNames() map[int32]string

func (*IPAddrType) XdrMarshal

func (v *IPAddrType) XdrMarshal(x XDR, name string)

func (*IPAddrType) XdrPointer

func (v *IPAddrType) XdrPointer() interface{}

func (IPAddrType) XdrTypeName

func (IPAddrType) XdrTypeName() string

func (IPAddrType) XdrValue

func (v IPAddrType) XdrValue() interface{}

type InflationPayout

type InflationPayout struct {
	Destination AccountID
	Amount      Int64
}

func XDR_InflationPayout

func XDR_InflationPayout(v *InflationPayout) *InflationPayout

func (*InflationPayout) XdrMarshal

func (v *InflationPayout) XdrMarshal(x XDR, name string)

func (*InflationPayout) XdrPointer

func (v *InflationPayout) XdrPointer() interface{}

func (*InflationPayout) XdrRecurse

func (v *InflationPayout) XdrRecurse(x XDR, name string)

func (InflationPayout) XdrTypeName

func (InflationPayout) XdrTypeName() string

func (InflationPayout) XdrValue

func (v InflationPayout) XdrValue() interface{}

type InflationResult

type InflationResult struct {
	// The union discriminant Code selects among the following arms:
	//   INFLATION_SUCCESS:
	//      Payouts() *[]InflationPayout
	//   default:
	//      void
	Code InflationResultCode
	// contains filtered or unexported fields
}

func XDR_InflationResult

func XDR_InflationResult(v *InflationResult) *InflationResult

func (*InflationResult) Payouts

func (u *InflationResult) Payouts() *[]InflationPayout

func (*InflationResult) XdrMarshal

func (v *InflationResult) XdrMarshal(x XDR, name string)

func (*InflationResult) XdrPointer

func (v *InflationResult) XdrPointer() interface{}

func (*InflationResult) XdrRecurse

func (u *InflationResult) XdrRecurse(x XDR, name string)

func (InflationResult) XdrTypeName

func (InflationResult) XdrTypeName() string

func (*InflationResult) XdrUnionBody

func (u *InflationResult) XdrUnionBody() XdrType

func (*InflationResult) XdrUnionBodyName

func (u *InflationResult) XdrUnionBodyName() string

func (*InflationResult) XdrUnionTag

func (u *InflationResult) XdrUnionTag() XdrNum32

func (*InflationResult) XdrUnionTagName

func (u *InflationResult) XdrUnionTagName() string

func (InflationResult) XdrValid

func (u InflationResult) XdrValid() bool

func (InflationResult) XdrValidTags added in v0.1.4

func (_ InflationResult) XdrValidTags() map[int32]bool

func (InflationResult) XdrValue

func (v InflationResult) XdrValue() interface{}

type InflationResultCode

type InflationResultCode int32
const (
	// codes considered as "success" for the operation
	INFLATION_SUCCESS InflationResultCode = 0
	// codes considered as "failure" for the operation
	INFLATION_NOT_TIME InflationResultCode = -1
)

func XDR_InflationResultCode

func XDR_InflationResultCode(v *InflationResultCode) *InflationResultCode

func (InflationResultCode) GetU32

func (v InflationResultCode) GetU32() uint32

func (*InflationResultCode) Scan

func (v *InflationResultCode) Scan(ss fmt.ScanState, _ rune) error

func (*InflationResultCode) SetU32

func (v *InflationResultCode) SetU32(n uint32)

func (InflationResultCode) String

func (v InflationResultCode) String() string

func (InflationResultCode) XdrEnumComments

func (e InflationResultCode) XdrEnumComments() map[int32]string

func (InflationResultCode) XdrEnumNames

func (InflationResultCode) XdrEnumNames() map[int32]string

func (*InflationResultCode) XdrMarshal

func (v *InflationResultCode) XdrMarshal(x XDR, name string)

func (*InflationResultCode) XdrPointer

func (v *InflationResultCode) XdrPointer() interface{}

func (InflationResultCode) XdrTypeName

func (InflationResultCode) XdrTypeName() string

func (InflationResultCode) XdrValue

func (v InflationResultCode) XdrValue() interface{}

type InnerTransactionResult

type InnerTransactionResult struct {
	// Always 0. Here for binary compatibility.
	FeeCharged Int64
	Result     XdrAnon_InnerTransactionResult_Result
	Ext        XdrAnon_InnerTransactionResult_Ext
}

InnerTransactionResult must be binary compatible with TransactionResult because it is be used to represent the result of a Transaction.

func (*InnerTransactionResult) XdrMarshal

func (v *InnerTransactionResult) XdrMarshal(x XDR, name string)

func (*InnerTransactionResult) XdrPointer

func (v *InnerTransactionResult) XdrPointer() interface{}

func (*InnerTransactionResult) XdrRecurse

func (v *InnerTransactionResult) XdrRecurse(x XDR, name string)

func (InnerTransactionResult) XdrTypeName

func (InnerTransactionResult) XdrTypeName() string

func (InnerTransactionResult) XdrValue

func (v InnerTransactionResult) XdrValue() interface{}

type InnerTransactionResultPair

type InnerTransactionResultPair struct {
	// hash of the inner transaction
	TransactionHash Hash
	// result for the inner transaction
	Result InnerTransactionResult
}

func (*InnerTransactionResultPair) XdrMarshal

func (v *InnerTransactionResultPair) XdrMarshal(x XDR, name string)

func (*InnerTransactionResultPair) XdrPointer

func (v *InnerTransactionResultPair) XdrPointer() interface{}

func (*InnerTransactionResultPair) XdrRecurse

func (v *InnerTransactionResultPair) XdrRecurse(x XDR, name string)

func (InnerTransactionResultPair) XdrTypeName

func (InnerTransactionResultPair) XdrTypeName() string

func (InnerTransactionResultPair) XdrValue

func (v InnerTransactionResultPair) XdrValue() interface{}

type Int32

type Int32 = int32

type Int64

type Int64 = int64

type IsAccount

type IsAccount interface {
	String() string
	ToMuxedAccount() *MuxedAccount
}

type LedgerCloseMeta

type LedgerCloseMeta struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      V0() *LedgerCloseMetaV0
	V int32
	// contains filtered or unexported fields
}

func XDR_LedgerCloseMeta

func XDR_LedgerCloseMeta(v *LedgerCloseMeta) *LedgerCloseMeta

func (*LedgerCloseMeta) V0

func (*LedgerCloseMeta) XdrMarshal

func (v *LedgerCloseMeta) XdrMarshal(x XDR, name string)

func (*LedgerCloseMeta) XdrPointer

func (v *LedgerCloseMeta) XdrPointer() interface{}

func (*LedgerCloseMeta) XdrRecurse

func (u *LedgerCloseMeta) XdrRecurse(x XDR, name string)

func (LedgerCloseMeta) XdrTypeName

func (LedgerCloseMeta) XdrTypeName() string

func (*LedgerCloseMeta) XdrUnionBody

func (u *LedgerCloseMeta) XdrUnionBody() XdrType

func (*LedgerCloseMeta) XdrUnionBodyName

func (u *LedgerCloseMeta) XdrUnionBodyName() string

func (*LedgerCloseMeta) XdrUnionTag

func (u *LedgerCloseMeta) XdrUnionTag() XdrNum32

func (*LedgerCloseMeta) XdrUnionTagName

func (u *LedgerCloseMeta) XdrUnionTagName() string

func (LedgerCloseMeta) XdrValid

func (u LedgerCloseMeta) XdrValid() bool

func (LedgerCloseMeta) XdrValidTags

func (_ LedgerCloseMeta) XdrValidTags() map[int32]bool

func (LedgerCloseMeta) XdrValue

func (v LedgerCloseMeta) XdrValue() interface{}

type LedgerCloseMetaV0

type LedgerCloseMetaV0 struct {
	LedgerHeader LedgerHeaderHistoryEntry
	// NB: txSet is sorted in "Hash order"
	TxSet TransactionSet
	// NB: transactions are sorted in apply order here
	// fees for all transactions are processed first
	// followed by applying transactions
	TxProcessing []TransactionResultMeta
	// upgrades are applied last
	UpgradesProcessing []UpgradeEntryMeta
	// other misc information attached to the ledger close
	ScpInfo []SCPHistoryEntry
}

func XDR_LedgerCloseMetaV0

func XDR_LedgerCloseMetaV0(v *LedgerCloseMetaV0) *LedgerCloseMetaV0

func (*LedgerCloseMetaV0) XdrMarshal

func (v *LedgerCloseMetaV0) XdrMarshal(x XDR, name string)

func (*LedgerCloseMetaV0) XdrPointer

func (v *LedgerCloseMetaV0) XdrPointer() interface{}

func (*LedgerCloseMetaV0) XdrRecurse

func (v *LedgerCloseMetaV0) XdrRecurse(x XDR, name string)

func (LedgerCloseMetaV0) XdrTypeName

func (LedgerCloseMetaV0) XdrTypeName() string

func (LedgerCloseMetaV0) XdrValue

func (v LedgerCloseMetaV0) XdrValue() interface{}

type LedgerCloseValueSignature

type LedgerCloseValueSignature struct {
	// which node introduced the value
	NodeID NodeID
	// nodeID's signature
	Signature Signature
}

func (*LedgerCloseValueSignature) XdrMarshal

func (v *LedgerCloseValueSignature) XdrMarshal(x XDR, name string)

func (*LedgerCloseValueSignature) XdrPointer

func (v *LedgerCloseValueSignature) XdrPointer() interface{}

func (*LedgerCloseValueSignature) XdrRecurse

func (v *LedgerCloseValueSignature) XdrRecurse(x XDR, name string)

func (LedgerCloseValueSignature) XdrTypeName

func (LedgerCloseValueSignature) XdrTypeName() string

func (LedgerCloseValueSignature) XdrValue

func (v LedgerCloseValueSignature) XdrValue() interface{}

type LedgerEntry

type LedgerEntry struct {
	// ledger the LedgerEntry was last changed
	LastModifiedLedgerSeq Uint32
	Data                  XdrAnon_LedgerEntry_Data
	Ext                   XdrAnon_LedgerEntry_Ext
}

func XDR_LedgerEntry

func XDR_LedgerEntry(v *LedgerEntry) *LedgerEntry

func (*LedgerEntry) XdrMarshal

func (v *LedgerEntry) XdrMarshal(x XDR, name string)

func (*LedgerEntry) XdrPointer

func (v *LedgerEntry) XdrPointer() interface{}

func (*LedgerEntry) XdrRecurse

func (v *LedgerEntry) XdrRecurse(x XDR, name string)

func (LedgerEntry) XdrTypeName

func (LedgerEntry) XdrTypeName() string

func (LedgerEntry) XdrValue

func (v LedgerEntry) XdrValue() interface{}

type LedgerEntryChange

type LedgerEntryChange struct {
	// The union discriminant Type selects among the following arms:
	//   LEDGER_ENTRY_CREATED:
	//      Created() *LedgerEntry
	//   LEDGER_ENTRY_UPDATED:
	//      Updated() *LedgerEntry
	//   LEDGER_ENTRY_REMOVED:
	//      Removed() *LedgerKey
	//   LEDGER_ENTRY_STATE:
	//      State() *LedgerEntry
	Type LedgerEntryChangeType
	// contains filtered or unexported fields
}

func XDR_LedgerEntryChange

func XDR_LedgerEntryChange(v *LedgerEntryChange) *LedgerEntryChange

func (*LedgerEntryChange) Created

func (u *LedgerEntryChange) Created() *LedgerEntry

func (*LedgerEntryChange) Removed

func (u *LedgerEntryChange) Removed() *LedgerKey

func (*LedgerEntryChange) State

func (u *LedgerEntryChange) State() *LedgerEntry

func (*LedgerEntryChange) Updated

func (u *LedgerEntryChange) Updated() *LedgerEntry

func (*LedgerEntryChange) XdrMarshal

func (v *LedgerEntryChange) XdrMarshal(x XDR, name string)

func (*LedgerEntryChange) XdrPointer

func (v *LedgerEntryChange) XdrPointer() interface{}

func (*LedgerEntryChange) XdrRecurse

func (u *LedgerEntryChange) XdrRecurse(x XDR, name string)

func (LedgerEntryChange) XdrTypeName

func (LedgerEntryChange) XdrTypeName() string

func (*LedgerEntryChange) XdrUnionBody

func (u *LedgerEntryChange) XdrUnionBody() XdrType

func (*LedgerEntryChange) XdrUnionBodyName

func (u *LedgerEntryChange) XdrUnionBodyName() string

func (*LedgerEntryChange) XdrUnionTag

func (u *LedgerEntryChange) XdrUnionTag() XdrNum32

func (*LedgerEntryChange) XdrUnionTagName

func (u *LedgerEntryChange) XdrUnionTagName() string

func (LedgerEntryChange) XdrValid

func (u LedgerEntryChange) XdrValid() bool

func (LedgerEntryChange) XdrValidTags

func (_ LedgerEntryChange) XdrValidTags() map[int32]bool

func (LedgerEntryChange) XdrValue

func (v LedgerEntryChange) XdrValue() interface{}

type LedgerEntryChangeType

type LedgerEntryChangeType int32
const (
	// entry was added to the ledger
	LEDGER_ENTRY_CREATED LedgerEntryChangeType = 0
	// entry was modified in the ledger
	LEDGER_ENTRY_UPDATED LedgerEntryChangeType = 1
	// entry was removed from the ledger
	LEDGER_ENTRY_REMOVED LedgerEntryChangeType = 2
	// value of the entry
	LEDGER_ENTRY_STATE LedgerEntryChangeType = 3
)

func XDR_LedgerEntryChangeType

func XDR_LedgerEntryChangeType(v *LedgerEntryChangeType) *LedgerEntryChangeType

func (LedgerEntryChangeType) GetU32

func (v LedgerEntryChangeType) GetU32() uint32

func (*LedgerEntryChangeType) Scan

func (v *LedgerEntryChangeType) Scan(ss fmt.ScanState, _ rune) error

func (*LedgerEntryChangeType) SetU32

func (v *LedgerEntryChangeType) SetU32(n uint32)

func (LedgerEntryChangeType) String

func (v LedgerEntryChangeType) String() string

func (LedgerEntryChangeType) XdrEnumComments

func (e LedgerEntryChangeType) XdrEnumComments() map[int32]string

func (LedgerEntryChangeType) XdrEnumNames

func (LedgerEntryChangeType) XdrEnumNames() map[int32]string

func (*LedgerEntryChangeType) XdrMarshal

func (v *LedgerEntryChangeType) XdrMarshal(x XDR, name string)

func (*LedgerEntryChangeType) XdrPointer

func (v *LedgerEntryChangeType) XdrPointer() interface{}

func (LedgerEntryChangeType) XdrTypeName

func (LedgerEntryChangeType) XdrTypeName() string

func (LedgerEntryChangeType) XdrValue

func (v LedgerEntryChangeType) XdrValue() interface{}

type LedgerEntryChanges

type LedgerEntryChanges = []LedgerEntryChange

type LedgerEntryExtensionV1

type LedgerEntryExtensionV1 struct {
	SponsoringID SponsorshipDescriptor
	Ext          XdrAnon_LedgerEntryExtensionV1_Ext
}

func (*LedgerEntryExtensionV1) XdrMarshal

func (v *LedgerEntryExtensionV1) XdrMarshal(x XDR, name string)

func (*LedgerEntryExtensionV1) XdrPointer

func (v *LedgerEntryExtensionV1) XdrPointer() interface{}

func (*LedgerEntryExtensionV1) XdrRecurse

func (v *LedgerEntryExtensionV1) XdrRecurse(x XDR, name string)

func (LedgerEntryExtensionV1) XdrTypeName

func (LedgerEntryExtensionV1) XdrTypeName() string

func (LedgerEntryExtensionV1) XdrValue

func (v LedgerEntryExtensionV1) XdrValue() interface{}

type LedgerEntryType

type LedgerEntryType int32
const (
	ACCOUNT           LedgerEntryType = 0
	TRUSTLINE         LedgerEntryType = 1
	OFFER             LedgerEntryType = 2
	DATA              LedgerEntryType = 3
	CLAIMABLE_BALANCE LedgerEntryType = 4
	LIQUIDITY_POOL    LedgerEntryType = 5
)

func XDR_LedgerEntryType

func XDR_LedgerEntryType(v *LedgerEntryType) *LedgerEntryType

func (LedgerEntryType) GetU32

func (v LedgerEntryType) GetU32() uint32

func (*LedgerEntryType) Scan

func (v *LedgerEntryType) Scan(ss fmt.ScanState, _ rune) error

func (*LedgerEntryType) SetU32

func (v *LedgerEntryType) SetU32(n uint32)

func (LedgerEntryType) String

func (v LedgerEntryType) String() string

func (LedgerEntryType) XdrEnumNames

func (LedgerEntryType) XdrEnumNames() map[int32]string

func (*LedgerEntryType) XdrMarshal

func (v *LedgerEntryType) XdrMarshal(x XDR, name string)

func (*LedgerEntryType) XdrPointer

func (v *LedgerEntryType) XdrPointer() interface{}

func (LedgerEntryType) XdrTypeName

func (LedgerEntryType) XdrTypeName() string

func (LedgerEntryType) XdrValue

func (v LedgerEntryType) XdrValue() interface{}

type LedgerHeader

type LedgerHeader struct {
	// the protocol version of the ledger
	LedgerVersion Uint32
	// hash of the previous ledger header
	PreviousLedgerHash Hash
	// what consensus agreed to
	ScpValue StellarValue
	// the TransactionResultSet that led to this ledger
	TxSetResultHash Hash
	// hash of the ledger state
	BucketListHash Hash
	// sequence number of this ledger
	LedgerSeq Uint32
	// total number of stroops in existence.
	TotalCoins Int64
	// fees burned since last inflation run
	FeePool Int64
	// inflation sequence number
	InflationSeq Uint32
	// last used global ID, used for generating objects
	IdPool Uint64
	// base fee per operation in stroops
	BaseFee Uint32
	// account base reserve in stroops
	BaseReserve Uint32
	// maximum size a transaction set can be
	MaxTxSetSize Uint32
	// hashes of ledgers in the past. allows you to jump back
	SkipList [4]Hash
	Ext      XdrAnon_LedgerHeader_Ext
}

The LedgerHeader is the highest level structure representing the * state of a ledger, cryptographically linked to previous ledgers.

func XDR_LedgerHeader

func XDR_LedgerHeader(v *LedgerHeader) *LedgerHeader

func (*LedgerHeader) XdrMarshal

func (v *LedgerHeader) XdrMarshal(x XDR, name string)

func (*LedgerHeader) XdrPointer

func (v *LedgerHeader) XdrPointer() interface{}

func (*LedgerHeader) XdrRecurse

func (v *LedgerHeader) XdrRecurse(x XDR, name string)

func (LedgerHeader) XdrTypeName

func (LedgerHeader) XdrTypeName() string

func (LedgerHeader) XdrValue

func (v LedgerHeader) XdrValue() interface{}

type LedgerHeaderExtensionV1 added in v0.1.6

type LedgerHeaderExtensionV1 struct {
	// LedgerHeaderFlags
	Flags Uint32
	Ext   XdrAnon_LedgerHeaderExtensionV1_Ext
}

func XDR_LedgerHeaderExtensionV1 added in v0.1.6

func XDR_LedgerHeaderExtensionV1(v *LedgerHeaderExtensionV1) *LedgerHeaderExtensionV1

func (*LedgerHeaderExtensionV1) XdrMarshal added in v0.1.6

func (v *LedgerHeaderExtensionV1) XdrMarshal(x XDR, name string)

func (*LedgerHeaderExtensionV1) XdrPointer added in v0.1.6

func (v *LedgerHeaderExtensionV1) XdrPointer() interface{}

func (*LedgerHeaderExtensionV1) XdrRecurse added in v0.1.6

func (v *LedgerHeaderExtensionV1) XdrRecurse(x XDR, name string)

func (LedgerHeaderExtensionV1) XdrTypeName added in v0.1.6

func (LedgerHeaderExtensionV1) XdrTypeName() string

func (LedgerHeaderExtensionV1) XdrValue added in v0.1.6

func (v LedgerHeaderExtensionV1) XdrValue() interface{}

type LedgerHeaderFlags added in v0.1.6

type LedgerHeaderFlags int32
const (
	DISABLE_LIQUIDITY_POOL_TRADING_FLAG    LedgerHeaderFlags = LedgerHeaderFlags(0x1)
	DISABLE_LIQUIDITY_POOL_DEPOSIT_FLAG    LedgerHeaderFlags = LedgerHeaderFlags(0x2)
	DISABLE_LIQUIDITY_POOL_WITHDRAWAL_FLAG LedgerHeaderFlags = LedgerHeaderFlags(0x4)
)

func XDR_LedgerHeaderFlags added in v0.1.6

func XDR_LedgerHeaderFlags(v *LedgerHeaderFlags) *LedgerHeaderFlags

func (LedgerHeaderFlags) GetU32 added in v0.1.6

func (v LedgerHeaderFlags) GetU32() uint32

func (*LedgerHeaderFlags) Scan added in v0.1.6

func (v *LedgerHeaderFlags) Scan(ss fmt.ScanState, _ rune) error

func (*LedgerHeaderFlags) SetU32 added in v0.1.6

func (v *LedgerHeaderFlags) SetU32(n uint32)

func (LedgerHeaderFlags) String added in v0.1.6

func (v LedgerHeaderFlags) String() string

func (LedgerHeaderFlags) XdrEnumNames added in v0.1.6

func (LedgerHeaderFlags) XdrEnumNames() map[int32]string

func (*LedgerHeaderFlags) XdrInitialize added in v0.1.6

func (v *LedgerHeaderFlags) XdrInitialize()

func (*LedgerHeaderFlags) XdrMarshal added in v0.1.6

func (v *LedgerHeaderFlags) XdrMarshal(x XDR, name string)

func (*LedgerHeaderFlags) XdrPointer added in v0.1.6

func (v *LedgerHeaderFlags) XdrPointer() interface{}

func (LedgerHeaderFlags) XdrTypeName added in v0.1.6

func (LedgerHeaderFlags) XdrTypeName() string

func (LedgerHeaderFlags) XdrValue added in v0.1.6

func (v LedgerHeaderFlags) XdrValue() interface{}

type LedgerHeaderHistoryEntry

type LedgerHeaderHistoryEntry struct {
	Hash   Hash
	Header LedgerHeader
	Ext    XdrAnon_LedgerHeaderHistoryEntry_Ext
}

func (*LedgerHeaderHistoryEntry) XdrMarshal

func (v *LedgerHeaderHistoryEntry) XdrMarshal(x XDR, name string)

func (*LedgerHeaderHistoryEntry) XdrPointer

func (v *LedgerHeaderHistoryEntry) XdrPointer() interface{}

func (*LedgerHeaderHistoryEntry) XdrRecurse

func (v *LedgerHeaderHistoryEntry) XdrRecurse(x XDR, name string)

func (LedgerHeaderHistoryEntry) XdrTypeName

func (LedgerHeaderHistoryEntry) XdrTypeName() string

func (LedgerHeaderHistoryEntry) XdrValue

func (v LedgerHeaderHistoryEntry) XdrValue() interface{}

type LedgerKey

type LedgerKey struct {
	// The union discriminant Type selects among the following arms:
	//   ACCOUNT:
	//      Account() *XdrAnon_LedgerKey_Account
	//   TRUSTLINE:
	//      TrustLine() *XdrAnon_LedgerKey_TrustLine
	//   OFFER:
	//      Offer() *XdrAnon_LedgerKey_Offer
	//   DATA:
	//      Data() *XdrAnon_LedgerKey_Data
	//   CLAIMABLE_BALANCE:
	//      ClaimableBalance() *XdrAnon_LedgerKey_ClaimableBalance
	//   LIQUIDITY_POOL:
	//      LiquidityPool() *XdrAnon_LedgerKey_LiquidityPool
	Type LedgerEntryType
	// contains filtered or unexported fields
}

func XDR_LedgerKey

func XDR_LedgerKey(v *LedgerKey) *LedgerKey

func (*LedgerKey) Account

func (u *LedgerKey) Account() *XdrAnon_LedgerKey_Account

func (*LedgerKey) ClaimableBalance

func (u *LedgerKey) ClaimableBalance() *XdrAnon_LedgerKey_ClaimableBalance

func (*LedgerKey) Data

func (u *LedgerKey) Data() *XdrAnon_LedgerKey_Data

func (*LedgerKey) LiquidityPool added in v0.1.4

func (u *LedgerKey) LiquidityPool() *XdrAnon_LedgerKey_LiquidityPool

func (*LedgerKey) Offer

func (u *LedgerKey) Offer() *XdrAnon_LedgerKey_Offer

func (*LedgerKey) TrustLine

func (u *LedgerKey) TrustLine() *XdrAnon_LedgerKey_TrustLine

func (*LedgerKey) XdrMarshal

func (v *LedgerKey) XdrMarshal(x XDR, name string)

func (*LedgerKey) XdrPointer

func (v *LedgerKey) XdrPointer() interface{}

func (*LedgerKey) XdrRecurse

func (u *LedgerKey) XdrRecurse(x XDR, name string)

func (LedgerKey) XdrTypeName

func (LedgerKey) XdrTypeName() string

func (*LedgerKey) XdrUnionBody

func (u *LedgerKey) XdrUnionBody() XdrType

func (*LedgerKey) XdrUnionBodyName

func (u *LedgerKey) XdrUnionBodyName() string

func (*LedgerKey) XdrUnionTag

func (u *LedgerKey) XdrUnionTag() XdrNum32

func (*LedgerKey) XdrUnionTagName

func (u *LedgerKey) XdrUnionTagName() string

func (LedgerKey) XdrValid

func (u LedgerKey) XdrValid() bool

func (LedgerKey) XdrValidTags

func (_ LedgerKey) XdrValidTags() map[int32]bool

func (LedgerKey) XdrValue

func (v LedgerKey) XdrValue() interface{}

type LedgerSCPMessages

type LedgerSCPMessages struct {
	LedgerSeq Uint32
	Messages  []SCPEnvelope
}

func XDR_LedgerSCPMessages

func XDR_LedgerSCPMessages(v *LedgerSCPMessages) *LedgerSCPMessages

func (*LedgerSCPMessages) XdrMarshal

func (v *LedgerSCPMessages) XdrMarshal(x XDR, name string)

func (*LedgerSCPMessages) XdrPointer

func (v *LedgerSCPMessages) XdrPointer() interface{}

func (*LedgerSCPMessages) XdrRecurse

func (v *LedgerSCPMessages) XdrRecurse(x XDR, name string)

func (LedgerSCPMessages) XdrTypeName

func (LedgerSCPMessages) XdrTypeName() string

func (LedgerSCPMessages) XdrValue

func (v LedgerSCPMessages) XdrValue() interface{}

type LedgerUpgrade

type LedgerUpgrade struct {
	// The union discriminant Type selects among the following arms:
	//   LEDGER_UPGRADE_VERSION:
	//      NewLedgerVersion() *Uint32
	//   LEDGER_UPGRADE_BASE_FEE:
	//      NewBaseFee() *Uint32
	//   LEDGER_UPGRADE_MAX_TX_SET_SIZE:
	//      NewMaxTxSetSize() *Uint32
	//   LEDGER_UPGRADE_BASE_RESERVE:
	//      NewBaseReserve() *Uint32
	//   LEDGER_UPGRADE_FLAGS:
	//      NewFlags() *Uint32
	Type LedgerUpgradeType
	// contains filtered or unexported fields
}

func XDR_LedgerUpgrade

func XDR_LedgerUpgrade(v *LedgerUpgrade) *LedgerUpgrade

func (*LedgerUpgrade) NewBaseFee

func (u *LedgerUpgrade) NewBaseFee() *Uint32

update baseFee

func (*LedgerUpgrade) NewBaseReserve

func (u *LedgerUpgrade) NewBaseReserve() *Uint32

update baseReserve

func (*LedgerUpgrade) NewFlags added in v0.1.6

func (u *LedgerUpgrade) NewFlags() *Uint32

update flags

func (*LedgerUpgrade) NewLedgerVersion

func (u *LedgerUpgrade) NewLedgerVersion() *Uint32

update ledgerVersion

func (*LedgerUpgrade) NewMaxTxSetSize

func (u *LedgerUpgrade) NewMaxTxSetSize() *Uint32

update maxTxSetSize

func (*LedgerUpgrade) XdrInitialize

func (v *LedgerUpgrade) XdrInitialize()

func (*LedgerUpgrade) XdrMarshal

func (v *LedgerUpgrade) XdrMarshal(x XDR, name string)

func (*LedgerUpgrade) XdrPointer

func (v *LedgerUpgrade) XdrPointer() interface{}

func (*LedgerUpgrade) XdrRecurse

func (u *LedgerUpgrade) XdrRecurse(x XDR, name string)

func (LedgerUpgrade) XdrTypeName

func (LedgerUpgrade) XdrTypeName() string

func (*LedgerUpgrade) XdrUnionBody

func (u *LedgerUpgrade) XdrUnionBody() XdrType

func (*LedgerUpgrade) XdrUnionBodyName

func (u *LedgerUpgrade) XdrUnionBodyName() string

func (*LedgerUpgrade) XdrUnionTag

func (u *LedgerUpgrade) XdrUnionTag() XdrNum32

func (*LedgerUpgrade) XdrUnionTagName

func (u *LedgerUpgrade) XdrUnionTagName() string

func (LedgerUpgrade) XdrValid

func (u LedgerUpgrade) XdrValid() bool

func (LedgerUpgrade) XdrValidTags

func (_ LedgerUpgrade) XdrValidTags() map[int32]bool

func (LedgerUpgrade) XdrValue

func (v LedgerUpgrade) XdrValue() interface{}

type LedgerUpgradeType

type LedgerUpgradeType int32
Ledger upgrades

note that the `upgrades` field from StellarValue is normalized such that it only contains one entry per LedgerUpgradeType, and entries are sorted in ascending order

const (
	LEDGER_UPGRADE_VERSION         LedgerUpgradeType = 1
	LEDGER_UPGRADE_BASE_FEE        LedgerUpgradeType = 2
	LEDGER_UPGRADE_MAX_TX_SET_SIZE LedgerUpgradeType = 3
	LEDGER_UPGRADE_BASE_RESERVE    LedgerUpgradeType = 4
	LEDGER_UPGRADE_FLAGS           LedgerUpgradeType = 5
)

func XDR_LedgerUpgradeType

func XDR_LedgerUpgradeType(v *LedgerUpgradeType) *LedgerUpgradeType

func (LedgerUpgradeType) GetU32

func (v LedgerUpgradeType) GetU32() uint32

func (*LedgerUpgradeType) Scan

func (v *LedgerUpgradeType) Scan(ss fmt.ScanState, _ rune) error

func (*LedgerUpgradeType) SetU32

func (v *LedgerUpgradeType) SetU32(n uint32)

func (LedgerUpgradeType) String

func (v LedgerUpgradeType) String() string

func (LedgerUpgradeType) XdrEnumNames

func (LedgerUpgradeType) XdrEnumNames() map[int32]string

func (*LedgerUpgradeType) XdrInitialize

func (v *LedgerUpgradeType) XdrInitialize()

func (*LedgerUpgradeType) XdrMarshal

func (v *LedgerUpgradeType) XdrMarshal(x XDR, name string)

func (*LedgerUpgradeType) XdrPointer

func (v *LedgerUpgradeType) XdrPointer() interface{}

func (LedgerUpgradeType) XdrTypeName

func (LedgerUpgradeType) XdrTypeName() string

func (LedgerUpgradeType) XdrValue

func (v LedgerUpgradeType) XdrValue() interface{}

type Liabilities

type Liabilities struct {
	Buying  Int64
	Selling Int64
}

func XDR_Liabilities

func XDR_Liabilities(v *Liabilities) *Liabilities

func (*Liabilities) XdrMarshal

func (v *Liabilities) XdrMarshal(x XDR, name string)

func (*Liabilities) XdrPointer

func (v *Liabilities) XdrPointer() interface{}

func (*Liabilities) XdrRecurse

func (v *Liabilities) XdrRecurse(x XDR, name string)

func (Liabilities) XdrTypeName

func (Liabilities) XdrTypeName() string

func (Liabilities) XdrValue

func (v Liabilities) XdrValue() interface{}

type LiquidityPoolConstantProductParameters added in v0.1.4

type LiquidityPoolConstantProductParameters struct {
	// assetA < assetB
	AssetA Asset
	AssetB Asset
	// Fee is in basis points, so the actual rate is (fee/100)%
	Fee Int32
}

func (*LiquidityPoolConstantProductParameters) XdrMarshal added in v0.1.4

func (v *LiquidityPoolConstantProductParameters) XdrMarshal(x XDR, name string)

func (*LiquidityPoolConstantProductParameters) XdrPointer added in v0.1.4

func (v *LiquidityPoolConstantProductParameters) XdrPointer() interface{}

func (*LiquidityPoolConstantProductParameters) XdrRecurse added in v0.1.4

func (v *LiquidityPoolConstantProductParameters) XdrRecurse(x XDR, name string)

func (LiquidityPoolConstantProductParameters) XdrTypeName added in v0.1.4

func (LiquidityPoolConstantProductParameters) XdrValue added in v0.1.4

func (v LiquidityPoolConstantProductParameters) XdrValue() interface{}

type LiquidityPoolDepositOp added in v0.1.6

type LiquidityPoolDepositOp struct {
	LiquidityPoolID PoolID
	// maximum amount of first asset to deposit
	MaxAmountA Int64
	// maximum amount of second asset to deposit
	MaxAmountB Int64
	// minimum depositA/depositB
	MinPrice Price
	// maximum depositA/depositB
	MaxPrice Price
}

Deposit assets into a liquidity pool

Threshold: med

Result: LiquidityPoolDepositResult

func XDR_LiquidityPoolDepositOp added in v0.1.6

func XDR_LiquidityPoolDepositOp(v *LiquidityPoolDepositOp) *LiquidityPoolDepositOp

func (*LiquidityPoolDepositOp) XdrMarshal added in v0.1.6

func (v *LiquidityPoolDepositOp) XdrMarshal(x XDR, name string)

func (*LiquidityPoolDepositOp) XdrPointer added in v0.1.6

func (v *LiquidityPoolDepositOp) XdrPointer() interface{}

func (*LiquidityPoolDepositOp) XdrRecurse added in v0.1.6

func (v *LiquidityPoolDepositOp) XdrRecurse(x XDR, name string)

func (LiquidityPoolDepositOp) XdrTypeName added in v0.1.6

func (LiquidityPoolDepositOp) XdrTypeName() string

func (LiquidityPoolDepositOp) XdrValue added in v0.1.6

func (v LiquidityPoolDepositOp) XdrValue() interface{}

type LiquidityPoolDepositResult added in v0.1.6

type LiquidityPoolDepositResult struct {
	// The union discriminant Code selects among the following arms:
	//   LIQUIDITY_POOL_DEPOSIT_SUCCESS:
	//      void
	//   default:
	//      void
	Code LiquidityPoolDepositResultCode
	// contains filtered or unexported fields
}

func XDR_LiquidityPoolDepositResult added in v0.1.6

func XDR_LiquidityPoolDepositResult(v *LiquidityPoolDepositResult) *LiquidityPoolDepositResult

func (*LiquidityPoolDepositResult) XdrMarshal added in v0.1.6

func (v *LiquidityPoolDepositResult) XdrMarshal(x XDR, name string)

func (*LiquidityPoolDepositResult) XdrPointer added in v0.1.6

func (v *LiquidityPoolDepositResult) XdrPointer() interface{}

func (*LiquidityPoolDepositResult) XdrRecurse added in v0.1.6

func (u *LiquidityPoolDepositResult) XdrRecurse(x XDR, name string)

func (LiquidityPoolDepositResult) XdrTypeName added in v0.1.6

func (LiquidityPoolDepositResult) XdrTypeName() string

func (*LiquidityPoolDepositResult) XdrUnionBody added in v0.1.6

func (u *LiquidityPoolDepositResult) XdrUnionBody() XdrType

func (*LiquidityPoolDepositResult) XdrUnionBodyName added in v0.1.6

func (u *LiquidityPoolDepositResult) XdrUnionBodyName() string

func (*LiquidityPoolDepositResult) XdrUnionTag added in v0.1.6

func (u *LiquidityPoolDepositResult) XdrUnionTag() XdrNum32

func (*LiquidityPoolDepositResult) XdrUnionTagName added in v0.1.6

func (u *LiquidityPoolDepositResult) XdrUnionTagName() string

func (LiquidityPoolDepositResult) XdrValid added in v0.1.6

func (u LiquidityPoolDepositResult) XdrValid() bool

func (LiquidityPoolDepositResult) XdrValidTags added in v0.1.6

func (_ LiquidityPoolDepositResult) XdrValidTags() map[int32]bool

func (LiquidityPoolDepositResult) XdrValue added in v0.1.6

func (v LiquidityPoolDepositResult) XdrValue() interface{}

type LiquidityPoolDepositResultCode added in v0.1.6

type LiquidityPoolDepositResultCode int32
const (
	// codes considered as "success" for the operation
	LIQUIDITY_POOL_DEPOSIT_SUCCESS LiquidityPoolDepositResultCode = 0
	// bad input
	LIQUIDITY_POOL_DEPOSIT_MALFORMED LiquidityPoolDepositResultCode = -1
	// no trust line for one of the
	LIQUIDITY_POOL_DEPOSIT_NO_TRUST LiquidityPoolDepositResultCode = -2
	// not authorized for one of the
	LIQUIDITY_POOL_DEPOSIT_NOT_AUTHORIZED LiquidityPoolDepositResultCode = -3
	// not enough balance for one of
	LIQUIDITY_POOL_DEPOSIT_UNDERFUNDED LiquidityPoolDepositResultCode = -4
	// pool share trust line doesn't
	LIQUIDITY_POOL_DEPOSIT_LINE_FULL LiquidityPoolDepositResultCode = -5
	// deposit price outside bounds
	LIQUIDITY_POOL_DEPOSIT_BAD_PRICE LiquidityPoolDepositResultCode = -6
	// pool reserves are full
	LIQUIDITY_POOL_DEPOSIT_POOL_FULL LiquidityPoolDepositResultCode = -7
)

func XDR_LiquidityPoolDepositResultCode added in v0.1.6

func XDR_LiquidityPoolDepositResultCode(v *LiquidityPoolDepositResultCode) *LiquidityPoolDepositResultCode

func (LiquidityPoolDepositResultCode) GetU32 added in v0.1.6

func (*LiquidityPoolDepositResultCode) Scan added in v0.1.6

func (*LiquidityPoolDepositResultCode) SetU32 added in v0.1.6

func (LiquidityPoolDepositResultCode) String added in v0.1.6

func (LiquidityPoolDepositResultCode) XdrEnumComments added in v0.1.6

func (e LiquidityPoolDepositResultCode) XdrEnumComments() map[int32]string

func (LiquidityPoolDepositResultCode) XdrEnumNames added in v0.1.6

func (LiquidityPoolDepositResultCode) XdrEnumNames() map[int32]string

func (*LiquidityPoolDepositResultCode) XdrMarshal added in v0.1.6

func (v *LiquidityPoolDepositResultCode) XdrMarshal(x XDR, name string)

func (*LiquidityPoolDepositResultCode) XdrPointer added in v0.1.6

func (v *LiquidityPoolDepositResultCode) XdrPointer() interface{}

func (LiquidityPoolDepositResultCode) XdrTypeName added in v0.1.6

func (LiquidityPoolDepositResultCode) XdrTypeName() string

func (LiquidityPoolDepositResultCode) XdrValue added in v0.1.6

func (v LiquidityPoolDepositResultCode) XdrValue() interface{}

type LiquidityPoolEntry added in v0.1.4

type LiquidityPoolEntry struct {
	LiquidityPoolID PoolID
	Body            XdrAnon_LiquidityPoolEntry_Body
}

func XDR_LiquidityPoolEntry added in v0.1.4

func XDR_LiquidityPoolEntry(v *LiquidityPoolEntry) *LiquidityPoolEntry

func (*LiquidityPoolEntry) XdrMarshal added in v0.1.4

func (v *LiquidityPoolEntry) XdrMarshal(x XDR, name string)

func (*LiquidityPoolEntry) XdrPointer added in v0.1.4

func (v *LiquidityPoolEntry) XdrPointer() interface{}

func (*LiquidityPoolEntry) XdrRecurse added in v0.1.4

func (v *LiquidityPoolEntry) XdrRecurse(x XDR, name string)

func (LiquidityPoolEntry) XdrTypeName added in v0.1.4

func (LiquidityPoolEntry) XdrTypeName() string

func (LiquidityPoolEntry) XdrValue added in v0.1.4

func (v LiquidityPoolEntry) XdrValue() interface{}

type LiquidityPoolParameters added in v0.1.5

type LiquidityPoolParameters struct {
	// The union discriminant Type selects among the following arms:
	//   LIQUIDITY_POOL_CONSTANT_PRODUCT:
	//      ConstantProduct() *LiquidityPoolConstantProductParameters
	Type LiquidityPoolType
	// contains filtered or unexported fields
}

func XDR_LiquidityPoolParameters added in v0.1.5

func XDR_LiquidityPoolParameters(v *LiquidityPoolParameters) *LiquidityPoolParameters

func (*LiquidityPoolParameters) ConstantProduct added in v0.1.5

func (*LiquidityPoolParameters) XdrMarshal added in v0.1.5

func (v *LiquidityPoolParameters) XdrMarshal(x XDR, name string)

func (*LiquidityPoolParameters) XdrPointer added in v0.1.5

func (v *LiquidityPoolParameters) XdrPointer() interface{}

func (*LiquidityPoolParameters) XdrRecurse added in v0.1.5

func (u *LiquidityPoolParameters) XdrRecurse(x XDR, name string)

func (LiquidityPoolParameters) XdrTypeName added in v0.1.5

func (LiquidityPoolParameters) XdrTypeName() string

func (*LiquidityPoolParameters) XdrUnionBody added in v0.1.5

func (u *LiquidityPoolParameters) XdrUnionBody() XdrType

func (*LiquidityPoolParameters) XdrUnionBodyName added in v0.1.5

func (u *LiquidityPoolParameters) XdrUnionBodyName() string

func (*LiquidityPoolParameters) XdrUnionTag added in v0.1.5

func (u *LiquidityPoolParameters) XdrUnionTag() XdrNum32

func (*LiquidityPoolParameters) XdrUnionTagName added in v0.1.5

func (u *LiquidityPoolParameters) XdrUnionTagName() string

func (LiquidityPoolParameters) XdrValid added in v0.1.5

func (u LiquidityPoolParameters) XdrValid() bool

func (LiquidityPoolParameters) XdrValidTags added in v0.1.5

func (_ LiquidityPoolParameters) XdrValidTags() map[int32]bool

func (LiquidityPoolParameters) XdrValue added in v0.1.5

func (v LiquidityPoolParameters) XdrValue() interface{}

type LiquidityPoolType added in v0.1.4

type LiquidityPoolType int32
const (
	LIQUIDITY_POOL_CONSTANT_PRODUCT LiquidityPoolType = 0
)

func XDR_LiquidityPoolType added in v0.1.4

func XDR_LiquidityPoolType(v *LiquidityPoolType) *LiquidityPoolType

func (LiquidityPoolType) GetU32 added in v0.1.4

func (v LiquidityPoolType) GetU32() uint32

func (*LiquidityPoolType) Scan added in v0.1.4

func (v *LiquidityPoolType) Scan(ss fmt.ScanState, _ rune) error

func (*LiquidityPoolType) SetU32 added in v0.1.4

func (v *LiquidityPoolType) SetU32(n uint32)

func (LiquidityPoolType) String added in v0.1.4

func (v LiquidityPoolType) String() string

func (LiquidityPoolType) XdrEnumNames added in v0.1.4

func (LiquidityPoolType) XdrEnumNames() map[int32]string

func (*LiquidityPoolType) XdrMarshal added in v0.1.4

func (v *LiquidityPoolType) XdrMarshal(x XDR, name string)

func (*LiquidityPoolType) XdrPointer added in v0.1.4

func (v *LiquidityPoolType) XdrPointer() interface{}

func (LiquidityPoolType) XdrTypeName added in v0.1.4

func (LiquidityPoolType) XdrTypeName() string

func (LiquidityPoolType) XdrValue added in v0.1.4

func (v LiquidityPoolType) XdrValue() interface{}

type LiquidityPoolWithdrawOp added in v0.1.6

type LiquidityPoolWithdrawOp struct {
	LiquidityPoolID PoolID
	// amount of pool shares to withdraw
	Amount Int64
	// minimum amount of first asset to withdraw
	MinAmountA Int64
	// minimum amount of second asset to withdraw
	MinAmountB Int64
}

Withdraw assets from a liquidity pool

Threshold: med

Result: LiquidityPoolWithdrawResult

func XDR_LiquidityPoolWithdrawOp added in v0.1.6

func XDR_LiquidityPoolWithdrawOp(v *LiquidityPoolWithdrawOp) *LiquidityPoolWithdrawOp

func (*LiquidityPoolWithdrawOp) XdrMarshal added in v0.1.6

func (v *LiquidityPoolWithdrawOp) XdrMarshal(x XDR, name string)

func (*LiquidityPoolWithdrawOp) XdrPointer added in v0.1.6

func (v *LiquidityPoolWithdrawOp) XdrPointer() interface{}

func (*LiquidityPoolWithdrawOp) XdrRecurse added in v0.1.6

func (v *LiquidityPoolWithdrawOp) XdrRecurse(x XDR, name string)

func (LiquidityPoolWithdrawOp) XdrTypeName added in v0.1.6

func (LiquidityPoolWithdrawOp) XdrTypeName() string

func (LiquidityPoolWithdrawOp) XdrValue added in v0.1.6

func (v LiquidityPoolWithdrawOp) XdrValue() interface{}

type LiquidityPoolWithdrawResult added in v0.1.6

type LiquidityPoolWithdrawResult struct {
	// The union discriminant Code selects among the following arms:
	//   LIQUIDITY_POOL_WITHDRAW_SUCCESS:
	//      void
	//   default:
	//      void
	Code LiquidityPoolWithdrawResultCode
	// contains filtered or unexported fields
}

func XDR_LiquidityPoolWithdrawResult added in v0.1.6

func XDR_LiquidityPoolWithdrawResult(v *LiquidityPoolWithdrawResult) *LiquidityPoolWithdrawResult

func (*LiquidityPoolWithdrawResult) XdrMarshal added in v0.1.6

func (v *LiquidityPoolWithdrawResult) XdrMarshal(x XDR, name string)

func (*LiquidityPoolWithdrawResult) XdrPointer added in v0.1.6

func (v *LiquidityPoolWithdrawResult) XdrPointer() interface{}

func (*LiquidityPoolWithdrawResult) XdrRecurse added in v0.1.6

func (u *LiquidityPoolWithdrawResult) XdrRecurse(x XDR, name string)

func (LiquidityPoolWithdrawResult) XdrTypeName added in v0.1.6

func (LiquidityPoolWithdrawResult) XdrTypeName() string

func (*LiquidityPoolWithdrawResult) XdrUnionBody added in v0.1.6

func (u *LiquidityPoolWithdrawResult) XdrUnionBody() XdrType

func (*LiquidityPoolWithdrawResult) XdrUnionBodyName added in v0.1.6

func (u *LiquidityPoolWithdrawResult) XdrUnionBodyName() string

func (*LiquidityPoolWithdrawResult) XdrUnionTag added in v0.1.6

func (u *LiquidityPoolWithdrawResult) XdrUnionTag() XdrNum32

func (*LiquidityPoolWithdrawResult) XdrUnionTagName added in v0.1.6

func (u *LiquidityPoolWithdrawResult) XdrUnionTagName() string

func (LiquidityPoolWithdrawResult) XdrValid added in v0.1.6

func (u LiquidityPoolWithdrawResult) XdrValid() bool

func (LiquidityPoolWithdrawResult) XdrValidTags added in v0.1.6

func (_ LiquidityPoolWithdrawResult) XdrValidTags() map[int32]bool

func (LiquidityPoolWithdrawResult) XdrValue added in v0.1.6

func (v LiquidityPoolWithdrawResult) XdrValue() interface{}

type LiquidityPoolWithdrawResultCode added in v0.1.6

type LiquidityPoolWithdrawResultCode int32
const (
	// codes considered as "success" for the operation
	LIQUIDITY_POOL_WITHDRAW_SUCCESS LiquidityPoolWithdrawResultCode = 0
	// bad input
	LIQUIDITY_POOL_WITHDRAW_MALFORMED LiquidityPoolWithdrawResultCode = -1
	// no trust line for one of the
	LIQUIDITY_POOL_WITHDRAW_NO_TRUST LiquidityPoolWithdrawResultCode = -2
	// not enough balance of the
	LIQUIDITY_POOL_WITHDRAW_UNDERFUNDED LiquidityPoolWithdrawResultCode = -3
	// would go above limit for one
	LIQUIDITY_POOL_WITHDRAW_LINE_FULL LiquidityPoolWithdrawResultCode = -4
	// of the assets
	LIQUIDITY_POOL_WITHDRAW_UNDER_MINIMUM LiquidityPoolWithdrawResultCode = -5
)

func XDR_LiquidityPoolWithdrawResultCode added in v0.1.6

func XDR_LiquidityPoolWithdrawResultCode(v *LiquidityPoolWithdrawResultCode) *LiquidityPoolWithdrawResultCode

func (LiquidityPoolWithdrawResultCode) GetU32 added in v0.1.6

func (*LiquidityPoolWithdrawResultCode) Scan added in v0.1.6

func (*LiquidityPoolWithdrawResultCode) SetU32 added in v0.1.6

func (LiquidityPoolWithdrawResultCode) String added in v0.1.6

func (LiquidityPoolWithdrawResultCode) XdrEnumComments added in v0.1.6

func (e LiquidityPoolWithdrawResultCode) XdrEnumComments() map[int32]string

func (LiquidityPoolWithdrawResultCode) XdrEnumNames added in v0.1.6

func (LiquidityPoolWithdrawResultCode) XdrEnumNames() map[int32]string

func (*LiquidityPoolWithdrawResultCode) XdrMarshal added in v0.1.6

func (v *LiquidityPoolWithdrawResultCode) XdrMarshal(x XDR, name string)

func (*LiquidityPoolWithdrawResultCode) XdrPointer added in v0.1.6

func (v *LiquidityPoolWithdrawResultCode) XdrPointer() interface{}

func (LiquidityPoolWithdrawResultCode) XdrTypeName added in v0.1.6

func (LiquidityPoolWithdrawResultCode) XdrValue added in v0.1.6

func (v LiquidityPoolWithdrawResultCode) XdrValue() interface{}

type ManageBuyOfferOp

type ManageBuyOfferOp struct {
	Selling Asset
	Buying  Asset
	// amount being bought. if set to 0, delete the offer
	BuyAmount Int64
	// price of thing being bought in terms of what you are
	Price Price
	// 0=create a new offer, otherwise edit an existing offer
	OfferID Int64
}
Creates, updates or deletes an offer with amount in terms of buying asset

Threshold: med

Result: ManageBuyOfferResult

func XDR_ManageBuyOfferOp

func XDR_ManageBuyOfferOp(v *ManageBuyOfferOp) *ManageBuyOfferOp

func (*ManageBuyOfferOp) XdrMarshal

func (v *ManageBuyOfferOp) XdrMarshal(x XDR, name string)

func (*ManageBuyOfferOp) XdrPointer

func (v *ManageBuyOfferOp) XdrPointer() interface{}

func (*ManageBuyOfferOp) XdrRecurse

func (v *ManageBuyOfferOp) XdrRecurse(x XDR, name string)

func (ManageBuyOfferOp) XdrTypeName

func (ManageBuyOfferOp) XdrTypeName() string

func (ManageBuyOfferOp) XdrValue

func (v ManageBuyOfferOp) XdrValue() interface{}

type ManageBuyOfferResult

type ManageBuyOfferResult struct {
	// The union discriminant Code selects among the following arms:
	//   MANAGE_BUY_OFFER_SUCCESS:
	//      Success() *ManageOfferSuccessResult
	//   default:
	//      void
	Code ManageBuyOfferResultCode
	// contains filtered or unexported fields
}

func XDR_ManageBuyOfferResult

func XDR_ManageBuyOfferResult(v *ManageBuyOfferResult) *ManageBuyOfferResult

func (*ManageBuyOfferResult) Success

func (*ManageBuyOfferResult) XdrMarshal

func (v *ManageBuyOfferResult) XdrMarshal(x XDR, name string)

func (*ManageBuyOfferResult) XdrPointer

func (v *ManageBuyOfferResult) XdrPointer() interface{}

func (*ManageBuyOfferResult) XdrRecurse

func (u *ManageBuyOfferResult) XdrRecurse(x XDR, name string)

func (ManageBuyOfferResult) XdrTypeName

func (ManageBuyOfferResult) XdrTypeName() string

func (*ManageBuyOfferResult) XdrUnionBody

func (u *ManageBuyOfferResult) XdrUnionBody() XdrType

func (*ManageBuyOfferResult) XdrUnionBodyName

func (u *ManageBuyOfferResult) XdrUnionBodyName() string

func (*ManageBuyOfferResult) XdrUnionTag

func (u *ManageBuyOfferResult) XdrUnionTag() XdrNum32

func (*ManageBuyOfferResult) XdrUnionTagName

func (u *ManageBuyOfferResult) XdrUnionTagName() string

func (ManageBuyOfferResult) XdrValid

func (u ManageBuyOfferResult) XdrValid() bool

func (ManageBuyOfferResult) XdrValidTags added in v0.1.4

func (_ ManageBuyOfferResult) XdrValidTags() map[int32]bool

func (ManageBuyOfferResult) XdrValue

func (v ManageBuyOfferResult) XdrValue() interface{}

type ManageBuyOfferResultCode

type ManageBuyOfferResultCode int32
const (
	// codes considered as "success" for the operation
	MANAGE_BUY_OFFER_SUCCESS ManageBuyOfferResultCode = 0
	// generated offer would be invalid
	MANAGE_BUY_OFFER_MALFORMED ManageBuyOfferResultCode = -1
	// no trust line for what we're selling
	MANAGE_BUY_OFFER_SELL_NO_TRUST ManageBuyOfferResultCode = -2
	// no trust line for what we're buying
	MANAGE_BUY_OFFER_BUY_NO_TRUST ManageBuyOfferResultCode = -3
	// not authorized to sell
	MANAGE_BUY_OFFER_SELL_NOT_AUTHORIZED ManageBuyOfferResultCode = -4
	// not authorized to buy
	MANAGE_BUY_OFFER_BUY_NOT_AUTHORIZED ManageBuyOfferResultCode = -5
	// can't receive more of what it's buying
	MANAGE_BUY_OFFER_LINE_FULL ManageBuyOfferResultCode = -6
	// doesn't hold what it's trying to sell
	MANAGE_BUY_OFFER_UNDERFUNDED ManageBuyOfferResultCode = -7
	// would cross an offer from the same user
	MANAGE_BUY_OFFER_CROSS_SELF ManageBuyOfferResultCode = -8
	// no issuer for what we're selling
	MANAGE_BUY_OFFER_SELL_NO_ISSUER ManageBuyOfferResultCode = -9
	// no issuer for what we're buying
	MANAGE_BUY_OFFER_BUY_NO_ISSUER ManageBuyOfferResultCode = -10
	// offerID does not match an existing offer
	MANAGE_BUY_OFFER_NOT_FOUND ManageBuyOfferResultCode = -11
	// not enough funds to create a new Offer
	MANAGE_BUY_OFFER_LOW_RESERVE ManageBuyOfferResultCode = -12
)

func (ManageBuyOfferResultCode) GetU32

func (v ManageBuyOfferResultCode) GetU32() uint32

func (*ManageBuyOfferResultCode) Scan

func (*ManageBuyOfferResultCode) SetU32

func (v *ManageBuyOfferResultCode) SetU32(n uint32)

func (ManageBuyOfferResultCode) String

func (v ManageBuyOfferResultCode) String() string

func (ManageBuyOfferResultCode) XdrEnumComments

func (e ManageBuyOfferResultCode) XdrEnumComments() map[int32]string

func (ManageBuyOfferResultCode) XdrEnumNames

func (ManageBuyOfferResultCode) XdrEnumNames() map[int32]string

func (*ManageBuyOfferResultCode) XdrMarshal

func (v *ManageBuyOfferResultCode) XdrMarshal(x XDR, name string)

func (*ManageBuyOfferResultCode) XdrPointer

func (v *ManageBuyOfferResultCode) XdrPointer() interface{}

func (ManageBuyOfferResultCode) XdrTypeName

func (ManageBuyOfferResultCode) XdrTypeName() string

func (ManageBuyOfferResultCode) XdrValue

func (v ManageBuyOfferResultCode) XdrValue() interface{}

type ManageDataOp

type ManageDataOp struct {
	DataName String64
	// set to null to clear
	DataValue *DataValue
}

ManageData

Adds, Updates, or Deletes a key value pair associated with a particular
    account.

Threshold: med

Result: ManageDataResult

func XDR_ManageDataOp

func XDR_ManageDataOp(v *ManageDataOp) *ManageDataOp

func (*ManageDataOp) XdrMarshal

func (v *ManageDataOp) XdrMarshal(x XDR, name string)

func (*ManageDataOp) XdrPointer

func (v *ManageDataOp) XdrPointer() interface{}

func (*ManageDataOp) XdrRecurse

func (v *ManageDataOp) XdrRecurse(x XDR, name string)

func (ManageDataOp) XdrTypeName

func (ManageDataOp) XdrTypeName() string

func (ManageDataOp) XdrValue

func (v ManageDataOp) XdrValue() interface{}

type ManageDataResult

type ManageDataResult struct {
	// The union discriminant Code selects among the following arms:
	//   MANAGE_DATA_SUCCESS:
	//      void
	//   default:
	//      void
	Code ManageDataResultCode
	// contains filtered or unexported fields
}

func XDR_ManageDataResult

func XDR_ManageDataResult(v *ManageDataResult) *ManageDataResult

func (*ManageDataResult) XdrMarshal

func (v *ManageDataResult) XdrMarshal(x XDR, name string)

func (*ManageDataResult) XdrPointer

func (v *ManageDataResult) XdrPointer() interface{}

func (*ManageDataResult) XdrRecurse

func (u *ManageDataResult) XdrRecurse(x XDR, name string)

func (ManageDataResult) XdrTypeName

func (ManageDataResult) XdrTypeName() string

func (*ManageDataResult) XdrUnionBody

func (u *ManageDataResult) XdrUnionBody() XdrType

func (*ManageDataResult) XdrUnionBodyName

func (u *ManageDataResult) XdrUnionBodyName() string

func (*ManageDataResult) XdrUnionTag

func (u *ManageDataResult) XdrUnionTag() XdrNum32

func (*ManageDataResult) XdrUnionTagName

func (u *ManageDataResult) XdrUnionTagName() string

func (ManageDataResult) XdrValid

func (u ManageDataResult) XdrValid() bool

func (ManageDataResult) XdrValidTags added in v0.1.4

func (_ ManageDataResult) XdrValidTags() map[int32]bool

func (ManageDataResult) XdrValue

func (v ManageDataResult) XdrValue() interface{}

type ManageDataResultCode

type ManageDataResultCode int32
const (
	// codes considered as "success" for the operation
	MANAGE_DATA_SUCCESS ManageDataResultCode = 0
	// The network hasn't moved to this protocol change yet
	MANAGE_DATA_NOT_SUPPORTED_YET ManageDataResultCode = -1
	// Trying to remove a Data Entry that isn't there
	MANAGE_DATA_NAME_NOT_FOUND ManageDataResultCode = -2
	// not enough funds to create a new Data Entry
	MANAGE_DATA_LOW_RESERVE ManageDataResultCode = -3
	// Name not a valid string
	MANAGE_DATA_INVALID_NAME ManageDataResultCode = -4
)

func XDR_ManageDataResultCode

func XDR_ManageDataResultCode(v *ManageDataResultCode) *ManageDataResultCode

func (ManageDataResultCode) GetU32

func (v ManageDataResultCode) GetU32() uint32

func (*ManageDataResultCode) Scan

func (v *ManageDataResultCode) Scan(ss fmt.ScanState, _ rune) error

func (*ManageDataResultCode) SetU32

func (v *ManageDataResultCode) SetU32(n uint32)

func (ManageDataResultCode) String

func (v ManageDataResultCode) String() string

func (ManageDataResultCode) XdrEnumComments

func (e ManageDataResultCode) XdrEnumComments() map[int32]string

func (ManageDataResultCode) XdrEnumNames

func (ManageDataResultCode) XdrEnumNames() map[int32]string

func (*ManageDataResultCode) XdrMarshal

func (v *ManageDataResultCode) XdrMarshal(x XDR, name string)

func (*ManageDataResultCode) XdrPointer

func (v *ManageDataResultCode) XdrPointer() interface{}

func (ManageDataResultCode) XdrTypeName

func (ManageDataResultCode) XdrTypeName() string

func (ManageDataResultCode) XdrValue

func (v ManageDataResultCode) XdrValue() interface{}

type ManageOfferEffect

type ManageOfferEffect int32
const (
	MANAGE_OFFER_CREATED ManageOfferEffect = 0
	MANAGE_OFFER_UPDATED ManageOfferEffect = 1
	MANAGE_OFFER_DELETED ManageOfferEffect = 2
)

func XDR_ManageOfferEffect

func XDR_ManageOfferEffect(v *ManageOfferEffect) *ManageOfferEffect

func (ManageOfferEffect) GetU32

func (v ManageOfferEffect) GetU32() uint32

func (*ManageOfferEffect) Scan

func (v *ManageOfferEffect) Scan(ss fmt.ScanState, _ rune) error

func (*ManageOfferEffect) SetU32

func (v *ManageOfferEffect) SetU32(n uint32)

func (ManageOfferEffect) String

func (v ManageOfferEffect) String() string

func (ManageOfferEffect) XdrEnumNames

func (ManageOfferEffect) XdrEnumNames() map[int32]string

func (*ManageOfferEffect) XdrMarshal

func (v *ManageOfferEffect) XdrMarshal(x XDR, name string)

func (*ManageOfferEffect) XdrPointer

func (v *ManageOfferEffect) XdrPointer() interface{}

func (ManageOfferEffect) XdrTypeName

func (ManageOfferEffect) XdrTypeName() string

func (ManageOfferEffect) XdrValue

func (v ManageOfferEffect) XdrValue() interface{}

type ManageOfferSuccessResult

type ManageOfferSuccessResult struct {
	// offers that got claimed while creating this offer
	OffersClaimed []ClaimAtom
	Offer         XdrAnon_ManageOfferSuccessResult_Offer
}

func (*ManageOfferSuccessResult) XdrMarshal

func (v *ManageOfferSuccessResult) XdrMarshal(x XDR, name string)

func (*ManageOfferSuccessResult) XdrPointer

func (v *ManageOfferSuccessResult) XdrPointer() interface{}

func (*ManageOfferSuccessResult) XdrRecurse

func (v *ManageOfferSuccessResult) XdrRecurse(x XDR, name string)

func (ManageOfferSuccessResult) XdrTypeName

func (ManageOfferSuccessResult) XdrTypeName() string

func (ManageOfferSuccessResult) XdrValue

func (v ManageOfferSuccessResult) XdrValue() interface{}

type ManageSellOfferOp

type ManageSellOfferOp struct {
	Selling Asset
	Buying  Asset
	// amount being sold. if set to 0, delete the offer
	Amount Int64
	// price of thing being sold in terms of what you are buying
	Price Price
	// 0=create a new offer, otherwise edit an existing offer
	OfferID Int64
}
Creates, updates or deletes an offer

Threshold: med

Result: ManageSellOfferResult

func XDR_ManageSellOfferOp

func XDR_ManageSellOfferOp(v *ManageSellOfferOp) *ManageSellOfferOp

func (*ManageSellOfferOp) XdrMarshal

func (v *ManageSellOfferOp) XdrMarshal(x XDR, name string)

func (*ManageSellOfferOp) XdrPointer

func (v *ManageSellOfferOp) XdrPointer() interface{}

func (*ManageSellOfferOp) XdrRecurse

func (v *ManageSellOfferOp) XdrRecurse(x XDR, name string)

func (ManageSellOfferOp) XdrTypeName

func (ManageSellOfferOp) XdrTypeName() string

func (ManageSellOfferOp) XdrValue

func (v ManageSellOfferOp) XdrValue() interface{}

type ManageSellOfferResult

type ManageSellOfferResult struct {
	// The union discriminant Code selects among the following arms:
	//   MANAGE_SELL_OFFER_SUCCESS:
	//      Success() *ManageOfferSuccessResult
	//   default:
	//      void
	Code ManageSellOfferResultCode
	// contains filtered or unexported fields
}

func XDR_ManageSellOfferResult

func XDR_ManageSellOfferResult(v *ManageSellOfferResult) *ManageSellOfferResult

func (*ManageSellOfferResult) Success

func (*ManageSellOfferResult) XdrMarshal

func (v *ManageSellOfferResult) XdrMarshal(x XDR, name string)

func (*ManageSellOfferResult) XdrPointer

func (v *ManageSellOfferResult) XdrPointer() interface{}

func (*ManageSellOfferResult) XdrRecurse

func (u *ManageSellOfferResult) XdrRecurse(x XDR, name string)

func (ManageSellOfferResult) XdrTypeName

func (ManageSellOfferResult) XdrTypeName() string

func (*ManageSellOfferResult) XdrUnionBody

func (u *ManageSellOfferResult) XdrUnionBody() XdrType

func (*ManageSellOfferResult) XdrUnionBodyName

func (u *ManageSellOfferResult) XdrUnionBodyName() string

func (*ManageSellOfferResult) XdrUnionTag

func (u *ManageSellOfferResult) XdrUnionTag() XdrNum32

func (*ManageSellOfferResult) XdrUnionTagName

func (u *ManageSellOfferResult) XdrUnionTagName() string

func (ManageSellOfferResult) XdrValid

func (u ManageSellOfferResult) XdrValid() bool

func (ManageSellOfferResult) XdrValidTags added in v0.1.4

func (_ ManageSellOfferResult) XdrValidTags() map[int32]bool

func (ManageSellOfferResult) XdrValue

func (v ManageSellOfferResult) XdrValue() interface{}

type ManageSellOfferResultCode

type ManageSellOfferResultCode int32
const (
	// codes considered as "success" for the operation
	MANAGE_SELL_OFFER_SUCCESS ManageSellOfferResultCode = 0
	// generated offer would be invalid
	MANAGE_SELL_OFFER_MALFORMED ManageSellOfferResultCode = -1
	// no trust line for what we're selling
	MANAGE_SELL_OFFER_SELL_NO_TRUST ManageSellOfferResultCode = -2
	// no trust line for what we're buying
	MANAGE_SELL_OFFER_BUY_NO_TRUST ManageSellOfferResultCode = -3
	// not authorized to sell
	MANAGE_SELL_OFFER_SELL_NOT_AUTHORIZED ManageSellOfferResultCode = -4
	// not authorized to buy
	MANAGE_SELL_OFFER_BUY_NOT_AUTHORIZED ManageSellOfferResultCode = -5
	// can't receive more of what it's buying
	MANAGE_SELL_OFFER_LINE_FULL ManageSellOfferResultCode = -6
	// doesn't hold what it's trying to sell
	MANAGE_SELL_OFFER_UNDERFUNDED ManageSellOfferResultCode = -7
	// would cross an offer from the same user
	MANAGE_SELL_OFFER_CROSS_SELF ManageSellOfferResultCode = -8
	// no issuer for what we're selling
	MANAGE_SELL_OFFER_SELL_NO_ISSUER ManageSellOfferResultCode = -9
	// no issuer for what we're buying
	MANAGE_SELL_OFFER_BUY_NO_ISSUER ManageSellOfferResultCode = -10
	// offerID does not match an existing offer
	MANAGE_SELL_OFFER_NOT_FOUND ManageSellOfferResultCode = -11
	// not enough funds to create a new Offer
	MANAGE_SELL_OFFER_LOW_RESERVE ManageSellOfferResultCode = -12
)

func (ManageSellOfferResultCode) GetU32

func (v ManageSellOfferResultCode) GetU32() uint32

func (*ManageSellOfferResultCode) Scan

func (*ManageSellOfferResultCode) SetU32

func (v *ManageSellOfferResultCode) SetU32(n uint32)

func (ManageSellOfferResultCode) String

func (v ManageSellOfferResultCode) String() string

func (ManageSellOfferResultCode) XdrEnumComments

func (e ManageSellOfferResultCode) XdrEnumComments() map[int32]string

func (ManageSellOfferResultCode) XdrEnumNames

func (ManageSellOfferResultCode) XdrEnumNames() map[int32]string

func (*ManageSellOfferResultCode) XdrMarshal

func (v *ManageSellOfferResultCode) XdrMarshal(x XDR, name string)

func (*ManageSellOfferResultCode) XdrPointer

func (v *ManageSellOfferResultCode) XdrPointer() interface{}

func (ManageSellOfferResultCode) XdrTypeName

func (ManageSellOfferResultCode) XdrTypeName() string

func (ManageSellOfferResultCode) XdrValue

func (v ManageSellOfferResultCode) XdrValue() interface{}

type Memo

type Memo struct {
	// The union discriminant Type selects among the following arms:
	//   MEMO_NONE:
	//      void
	//   MEMO_TEXT:
	//      Text() *string // bound 28
	//   MEMO_ID:
	//      Id() *Uint64
	//   MEMO_HASH:
	//      Hash() *Hash
	//   MEMO_RETURN:
	//      RetHash() *Hash
	Type MemoType
	// contains filtered or unexported fields
}

func XDR_Memo

func XDR_Memo(v *Memo) *Memo

func (*Memo) Hash

func (u *Memo) Hash() *Hash

the hash of what to pull from the content server

func (*Memo) Id

func (u *Memo) Id() *Uint64

func (*Memo) RetHash

func (u *Memo) RetHash() *Hash

the hash of the tx you are rejecting

func (*Memo) Text

func (u *Memo) Text() *string

func (Memo) ToMemo

func (memo Memo) ToMemo() Memo

func (*Memo) XdrMarshal

func (v *Memo) XdrMarshal(x XDR, name string)

func (*Memo) XdrPointer

func (v *Memo) XdrPointer() interface{}

func (*Memo) XdrRecurse

func (u *Memo) XdrRecurse(x XDR, name string)

func (Memo) XdrTypeName

func (Memo) XdrTypeName() string

func (*Memo) XdrUnionBody

func (u *Memo) XdrUnionBody() XdrType

func (*Memo) XdrUnionBodyName

func (u *Memo) XdrUnionBodyName() string

func (*Memo) XdrUnionTag

func (u *Memo) XdrUnionTag() XdrNum32

func (*Memo) XdrUnionTagName

func (u *Memo) XdrUnionTagName() string

func (Memo) XdrValid

func (u Memo) XdrValid() bool

func (Memo) XdrValidTags

func (_ Memo) XdrValidTags() map[int32]bool

func (Memo) XdrValue

func (v Memo) XdrValue() interface{}

type MemoType

type MemoType int32
const (
	MEMO_NONE   MemoType = 0
	MEMO_TEXT   MemoType = 1
	MEMO_ID     MemoType = 2
	MEMO_HASH   MemoType = 3
	MEMO_RETURN MemoType = 4
)

func XDR_MemoType

func XDR_MemoType(v *MemoType) *MemoType

func (MemoType) GetU32

func (v MemoType) GetU32() uint32

func (*MemoType) Scan

func (v *MemoType) Scan(ss fmt.ScanState, _ rune) error

func (*MemoType) SetU32

func (v *MemoType) SetU32(n uint32)

func (MemoType) String

func (v MemoType) String() string

func (MemoType) XdrEnumNames

func (MemoType) XdrEnumNames() map[int32]string

func (*MemoType) XdrMarshal

func (v *MemoType) XdrMarshal(x XDR, name string)

func (*MemoType) XdrPointer

func (v *MemoType) XdrPointer() interface{}

func (MemoType) XdrTypeName

func (MemoType) XdrTypeName() string

func (MemoType) XdrValue

func (v MemoType) XdrValue() interface{}

type MessageType

type MessageType int32
const (
	ERROR_MSG MessageType = 0
	AUTH      MessageType = 2
	DONT_HAVE MessageType = 3
	// gets a list of peers this guy knows about
	GET_PEERS MessageType = 4
	PEERS     MessageType = 5
	// gets a particular txset by hash
	GET_TX_SET MessageType = 6
	TX_SET     MessageType = 7
	// pass on a tx you have heard about
	TRANSACTION MessageType = 8
	// SCP
	GET_SCP_QUORUMSET MessageType = 9
	SCP_QUORUMSET     MessageType = 10
	SCP_MESSAGE       MessageType = 11
	GET_SCP_STATE     MessageType = 12
	// new messages
	HELLO           MessageType = 13
	SURVEY_REQUEST  MessageType = 14
	SURVEY_RESPONSE MessageType = 15
)

func XDR_MessageType

func XDR_MessageType(v *MessageType) *MessageType

func (MessageType) GetU32

func (v MessageType) GetU32() uint32

func (*MessageType) Scan

func (v *MessageType) Scan(ss fmt.ScanState, _ rune) error

func (*MessageType) SetU32

func (v *MessageType) SetU32(n uint32)

func (MessageType) String

func (v MessageType) String() string

func (MessageType) XdrEnumComments

func (e MessageType) XdrEnumComments() map[int32]string

func (MessageType) XdrEnumNames

func (MessageType) XdrEnumNames() map[int32]string

func (*MessageType) XdrMarshal

func (v *MessageType) XdrMarshal(x XDR, name string)

func (*MessageType) XdrPointer

func (v *MessageType) XdrPointer() interface{}

func (MessageType) XdrTypeName

func (MessageType) XdrTypeName() string

func (MessageType) XdrValue

func (v MessageType) XdrValue() interface{}

type MuxedAccount

type MuxedAccount struct {
	// The union discriminant Type selects among the following arms:
	//   KEY_TYPE_ED25519:
	//      Ed25519() *Uint256
	//   KEY_TYPE_MUXED_ED25519:
	//      Med25519() *XdrAnon_MuxedAccount_Med25519
	Type CryptoKeyType
	// contains filtered or unexported fields
}

Source or destination of a payment operation

func XDR_MuxedAccount

func XDR_MuxedAccount(v *MuxedAccount) *MuxedAccount

func (*MuxedAccount) Ed25519

func (u *MuxedAccount) Ed25519() *Uint256

func (*MuxedAccount) Med25519

func (*MuxedAccount) Scan

func (pk *MuxedAccount) Scan(ss fmt.ScanState, _ rune) error

Parses a muxedaccount in strkey format.

func (MuxedAccount) String

func (pk MuxedAccount) String() string

Renders a MuxedAccount in strkey format.

func (*MuxedAccount) ToMuxedAccount

func (acct *MuxedAccount) ToMuxedAccount() *MuxedAccount

func (MuxedAccount) ToSignerKey

func (ma MuxedAccount) ToSignerKey() (ret SignerKey)

func (*MuxedAccount) UnmarshalText

func (pk *MuxedAccount) UnmarshalText(bs []byte) error

Parses a MuxedAccount in strkey format.

func (*MuxedAccount) XdrMarshal

func (v *MuxedAccount) XdrMarshal(x XDR, name string)

func (*MuxedAccount) XdrPointer

func (v *MuxedAccount) XdrPointer() interface{}

func (*MuxedAccount) XdrRecurse

func (u *MuxedAccount) XdrRecurse(x XDR, name string)

func (MuxedAccount) XdrTypeName

func (MuxedAccount) XdrTypeName() string

func (*MuxedAccount) XdrUnionBody

func (u *MuxedAccount) XdrUnionBody() XdrType

func (*MuxedAccount) XdrUnionBodyName

func (u *MuxedAccount) XdrUnionBodyName() string

func (*MuxedAccount) XdrUnionTag

func (u *MuxedAccount) XdrUnionTag() XdrNum32

func (*MuxedAccount) XdrUnionTagName

func (u *MuxedAccount) XdrUnionTagName() string

func (MuxedAccount) XdrValid

func (u MuxedAccount) XdrValid() bool

func (MuxedAccount) XdrValidTags

func (_ MuxedAccount) XdrValidTags() map[int32]bool

func (MuxedAccount) XdrValue

func (v MuxedAccount) XdrValue() interface{}

type NodeID

type NodeID = PublicKey

type OfferEntry

type OfferEntry struct {
	SellerID AccountID
	OfferID  Int64
	// A
	Selling Asset
	// B
	Buying Asset
	// amount of A
	Amount Int64
	/* price for this offer:
	   price of A in terms of B
	   price=AmountB/AmountA=priceNumerator/priceDenominator
	   price is after fees
	*/
	Price Price
	// see OfferEntryFlags
	Flags Uint32
	Ext   XdrAnon_OfferEntry_Ext
}

OfferEntry

An offer is the building block of the offer book, they are automatically
claimed by payments when the price set by the owner is met.

For example an Offer is selling 10A where 1A is priced at 1.5B

func XDR_OfferEntry

func XDR_OfferEntry(v *OfferEntry) *OfferEntry

func (*OfferEntry) XdrMarshal

func (v *OfferEntry) XdrMarshal(x XDR, name string)

func (*OfferEntry) XdrPointer

func (v *OfferEntry) XdrPointer() interface{}

func (*OfferEntry) XdrRecurse

func (v *OfferEntry) XdrRecurse(x XDR, name string)

func (OfferEntry) XdrTypeName

func (OfferEntry) XdrTypeName() string

func (OfferEntry) XdrValue

func (v OfferEntry) XdrValue() interface{}

type OfferEntryFlags

type OfferEntryFlags int32
const (
	// issuer has authorized account to perform transactions with its credit
	PASSIVE_FLAG OfferEntryFlags = 1
)

func XDR_OfferEntryFlags

func XDR_OfferEntryFlags(v *OfferEntryFlags) *OfferEntryFlags

func (OfferEntryFlags) GetU32

func (v OfferEntryFlags) GetU32() uint32

func (*OfferEntryFlags) Scan

func (v *OfferEntryFlags) Scan(ss fmt.ScanState, _ rune) error

func (*OfferEntryFlags) SetU32

func (v *OfferEntryFlags) SetU32(n uint32)

func (OfferEntryFlags) String

func (v OfferEntryFlags) String() string

func (OfferEntryFlags) XdrEnumComments

func (e OfferEntryFlags) XdrEnumComments() map[int32]string

func (OfferEntryFlags) XdrEnumNames

func (OfferEntryFlags) XdrEnumNames() map[int32]string

func (*OfferEntryFlags) XdrInitialize

func (v *OfferEntryFlags) XdrInitialize()

func (*OfferEntryFlags) XdrMarshal

func (v *OfferEntryFlags) XdrMarshal(x XDR, name string)

func (*OfferEntryFlags) XdrPointer

func (v *OfferEntryFlags) XdrPointer() interface{}

func (OfferEntryFlags) XdrTypeName

func (OfferEntryFlags) XdrTypeName() string

func (OfferEntryFlags) XdrValue

func (v OfferEntryFlags) XdrValue() interface{}

type Operation

type Operation struct {
	// sourceAccount is the account used to run the operation
	// if not set, the runtime defaults to "sourceAccount" specified at
	// the transaction level
	SourceAccount *MuxedAccount
	Body          XdrAnon_Operation_Body
}

An operation is the lowest unit of work that a transaction does

func XDR_Operation

func XDR_Operation(v *Operation) *Operation

func (*Operation) XdrMarshal

func (v *Operation) XdrMarshal(x XDR, name string)

func (*Operation) XdrPointer

func (v *Operation) XdrPointer() interface{}

func (*Operation) XdrRecurse

func (v *Operation) XdrRecurse(x XDR, name string)

func (Operation) XdrTypeName

func (Operation) XdrTypeName() string

func (Operation) XdrValue

func (v Operation) XdrValue() interface{}

type OperationMeta

type OperationMeta struct {
	Changes LedgerEntryChanges
}

func XDR_OperationMeta

func XDR_OperationMeta(v *OperationMeta) *OperationMeta

func (*OperationMeta) XdrMarshal

func (v *OperationMeta) XdrMarshal(x XDR, name string)

func (*OperationMeta) XdrPointer

func (v *OperationMeta) XdrPointer() interface{}

func (*OperationMeta) XdrRecurse

func (v *OperationMeta) XdrRecurse(x XDR, name string)

func (OperationMeta) XdrTypeName

func (OperationMeta) XdrTypeName() string

func (OperationMeta) XdrValue

func (v OperationMeta) XdrValue() interface{}

type OperationResult

type OperationResult struct {
	// The union discriminant Code selects among the following arms:
	//   OpINNER:
	//      Tr() *XdrAnon_OperationResult_Tr
	//   default:
	//      void
	Code OperationResultCode
	// contains filtered or unexported fields
}

func XDR_OperationResult

func XDR_OperationResult(v *OperationResult) *OperationResult

func (*OperationResult) Tr

func (*OperationResult) XdrMarshal

func (v *OperationResult) XdrMarshal(x XDR, name string)

func (*OperationResult) XdrPointer

func (v *OperationResult) XdrPointer() interface{}

func (*OperationResult) XdrRecurse

func (u *OperationResult) XdrRecurse(x XDR, name string)

func (OperationResult) XdrTypeName

func (OperationResult) XdrTypeName() string

func (*OperationResult) XdrUnionBody

func (u *OperationResult) XdrUnionBody() XdrType

func (*OperationResult) XdrUnionBodyName

func (u *OperationResult) XdrUnionBodyName() string

func (*OperationResult) XdrUnionTag

func (u *OperationResult) XdrUnionTag() XdrNum32

func (*OperationResult) XdrUnionTagName

func (u *OperationResult) XdrUnionTagName() string

func (OperationResult) XdrValid

func (u OperationResult) XdrValid() bool

func (OperationResult) XdrValidTags added in v0.1.4

func (_ OperationResult) XdrValidTags() map[int32]bool

func (OperationResult) XdrValue

func (v OperationResult) XdrValue() interface{}

type OperationResultCode

type OperationResultCode int32

High level Operation Result

const (
	// inner object result is valid
	OpINNER OperationResultCode = 0
	// too few valid signatures / wrong network
	OpBAD_AUTH OperationResultCode = -1
	// source account was not found
	OpNO_ACCOUNT OperationResultCode = -2
	// operation not supported at this time
	OpNOT_SUPPORTED OperationResultCode = -3
	// max number of subentries already reached
	OpTOO_MANY_SUBENTRIES OperationResultCode = -4
	// operation did too much work
	OpEXCEEDED_WORK_LIMIT OperationResultCode = -5
	// account is sponsoring too many entries
	OpTOO_MANY_SPONSORING OperationResultCode = -6
)

func XDR_OperationResultCode

func XDR_OperationResultCode(v *OperationResultCode) *OperationResultCode

func (OperationResultCode) GetU32

func (v OperationResultCode) GetU32() uint32

func (*OperationResultCode) Scan

func (v *OperationResultCode) Scan(ss fmt.ScanState, _ rune) error

func (*OperationResultCode) SetU32

func (v *OperationResultCode) SetU32(n uint32)

func (OperationResultCode) String

func (v OperationResultCode) String() string

func (OperationResultCode) XdrEnumComments

func (e OperationResultCode) XdrEnumComments() map[int32]string

func (OperationResultCode) XdrEnumNames

func (OperationResultCode) XdrEnumNames() map[int32]string

func (*OperationResultCode) XdrMarshal

func (v *OperationResultCode) XdrMarshal(x XDR, name string)

func (*OperationResultCode) XdrPointer

func (v *OperationResultCode) XdrPointer() interface{}

func (OperationResultCode) XdrTypeName

func (OperationResultCode) XdrTypeName() string

func (OperationResultCode) XdrValue

func (v OperationResultCode) XdrValue() interface{}

type OperationType

type OperationType int32
const (
	CREATE_ACCOUNT                   OperationType = 0
	PAYMENT                          OperationType = 1
	PATH_PAYMENT_STRICT_RECEIVE      OperationType = 2
	MANAGE_SELL_OFFER                OperationType = 3
	CREATE_PASSIVE_SELL_OFFER        OperationType = 4
	SET_OPTIONS                      OperationType = 5
	CHANGE_TRUST                     OperationType = 6
	ALLOW_TRUST                      OperationType = 7
	ACCOUNT_MERGE                    OperationType = 8
	INFLATION                        OperationType = 9
	MANAGE_DATA                      OperationType = 10
	BUMP_SEQUENCE                    OperationType = 11
	MANAGE_BUY_OFFER                 OperationType = 12
	PATH_PAYMENT_STRICT_SEND         OperationType = 13
	CREATE_CLAIMABLE_BALANCE         OperationType = 14
	CLAIM_CLAIMABLE_BALANCE          OperationType = 15
	BEGIN_SPONSORING_FUTURE_RESERVES OperationType = 16
	END_SPONSORING_FUTURE_RESERVES   OperationType = 17
	REVOKE_SPONSORSHIP               OperationType = 18
	CLAWBACK                         OperationType = 19
	CLAWBACK_CLAIMABLE_BALANCE       OperationType = 20
	SET_TRUST_LINE_FLAGS             OperationType = 21
	LIQUIDITY_POOL_DEPOSIT           OperationType = 22
	LIQUIDITY_POOL_WITHDRAW          OperationType = 23
)

func XDR_OperationType

func XDR_OperationType(v *OperationType) *OperationType

func (OperationType) GetU32

func (v OperationType) GetU32() uint32

func (*OperationType) Scan

func (v *OperationType) Scan(ss fmt.ScanState, _ rune) error

func (*OperationType) SetU32

func (v *OperationType) SetU32(n uint32)

func (OperationType) String

func (v OperationType) String() string

func (OperationType) XdrEnumNames

func (OperationType) XdrEnumNames() map[int32]string

func (*OperationType) XdrMarshal

func (v *OperationType) XdrMarshal(x XDR, name string)

func (*OperationType) XdrPointer

func (v *OperationType) XdrPointer() interface{}

func (OperationType) XdrTypeName

func (OperationType) XdrTypeName() string

func (OperationType) XdrValue

func (v OperationType) XdrValue() interface{}

type PathPaymentStrictReceiveOp

type PathPaymentStrictReceiveOp struct {
	// asset we pay with
	SendAsset Asset
	// the maximum amount of sendAsset to
	SendMax Int64
	// recipient of the payment
	Destination MuxedAccount
	// what they end up with
	DestAsset Asset
	// amount they end up with
	DestAmount Int64
	// additional hops it must go through to get there
	Path []Asset // bound 5
}
PathPaymentStrictReceive

send an amount to a destination account through a path. (up to sendMax, sendAsset) (X0, Path[0]) .. (Xn, Path[n]) (destAmount, destAsset)

Threshold: med

Result: PathPaymentStrictReceiveResult

func (*PathPaymentStrictReceiveOp) XdrMarshal

func (v *PathPaymentStrictReceiveOp) XdrMarshal(x XDR, name string)

func (*PathPaymentStrictReceiveOp) XdrPointer

func (v *PathPaymentStrictReceiveOp) XdrPointer() interface{}

func (*PathPaymentStrictReceiveOp) XdrRecurse

func (v *PathPaymentStrictReceiveOp) XdrRecurse(x XDR, name string)

func (PathPaymentStrictReceiveOp) XdrTypeName

func (PathPaymentStrictReceiveOp) XdrTypeName() string

func (PathPaymentStrictReceiveOp) XdrValue

func (v PathPaymentStrictReceiveOp) XdrValue() interface{}

type PathPaymentStrictReceiveResult

type PathPaymentStrictReceiveResult struct {
	// The union discriminant Code selects among the following arms:
	//   PATH_PAYMENT_STRICT_RECEIVE_SUCCESS:
	//      Success() *XdrAnon_PathPaymentStrictReceiveResult_Success
	//   PATH_PAYMENT_STRICT_RECEIVE_NO_ISSUER:
	//      NoIssuer() *Asset
	//   default:
	//      void
	Code PathPaymentStrictReceiveResultCode
	// contains filtered or unexported fields
}

func (*PathPaymentStrictReceiveResult) NoIssuer

func (u *PathPaymentStrictReceiveResult) NoIssuer() *Asset

the asset that caused the error

func (*PathPaymentStrictReceiveResult) Success

func (*PathPaymentStrictReceiveResult) XdrMarshal

func (v *PathPaymentStrictReceiveResult) XdrMarshal(x XDR, name string)

func (*PathPaymentStrictReceiveResult) XdrPointer

func (v *PathPaymentStrictReceiveResult) XdrPointer() interface{}

func (*PathPaymentStrictReceiveResult) XdrRecurse

func (u *PathPaymentStrictReceiveResult) XdrRecurse(x XDR, name string)

func (PathPaymentStrictReceiveResult) XdrTypeName

func (PathPaymentStrictReceiveResult) XdrTypeName() string

func (*PathPaymentStrictReceiveResult) XdrUnionBody

func (u *PathPaymentStrictReceiveResult) XdrUnionBody() XdrType

func (*PathPaymentStrictReceiveResult) XdrUnionBodyName

func (u *PathPaymentStrictReceiveResult) XdrUnionBodyName() string

func (*PathPaymentStrictReceiveResult) XdrUnionTag

func (u *PathPaymentStrictReceiveResult) XdrUnionTag() XdrNum32

func (*PathPaymentStrictReceiveResult) XdrUnionTagName

func (u *PathPaymentStrictReceiveResult) XdrUnionTagName() string

func (PathPaymentStrictReceiveResult) XdrValid

func (u PathPaymentStrictReceiveResult) XdrValid() bool

func (PathPaymentStrictReceiveResult) XdrValidTags added in v0.1.4

func (_ PathPaymentStrictReceiveResult) XdrValidTags() map[int32]bool

func (PathPaymentStrictReceiveResult) XdrValue

func (v PathPaymentStrictReceiveResult) XdrValue() interface{}

type PathPaymentStrictReceiveResultCode

type PathPaymentStrictReceiveResultCode int32
const (
	// success
	PATH_PAYMENT_STRICT_RECEIVE_SUCCESS PathPaymentStrictReceiveResultCode = 0
	// bad input
	PATH_PAYMENT_STRICT_RECEIVE_MALFORMED PathPaymentStrictReceiveResultCode = -1
	// not enough funds in source account
	PATH_PAYMENT_STRICT_RECEIVE_UNDERFUNDED PathPaymentStrictReceiveResultCode = -2
	// no trust line on source account
	PATH_PAYMENT_STRICT_RECEIVE_SRC_NO_TRUST PathPaymentStrictReceiveResultCode = -3
	// source not authorized to transfer
	PATH_PAYMENT_STRICT_RECEIVE_SRC_NOT_AUTHORIZED PathPaymentStrictReceiveResultCode = -4
	// destination account does not exist
	PATH_PAYMENT_STRICT_RECEIVE_NO_DESTINATION PathPaymentStrictReceiveResultCode = -5
	// dest missing a trust line for asset
	PATH_PAYMENT_STRICT_RECEIVE_NO_TRUST PathPaymentStrictReceiveResultCode = -6
	// dest not authorized to hold asset
	PATH_PAYMENT_STRICT_RECEIVE_NOT_AUTHORIZED PathPaymentStrictReceiveResultCode = -7
	// dest would go above their limit
	PATH_PAYMENT_STRICT_RECEIVE_LINE_FULL PathPaymentStrictReceiveResultCode = -8
	// missing issuer on one asset
	PATH_PAYMENT_STRICT_RECEIVE_NO_ISSUER PathPaymentStrictReceiveResultCode = -9
	// not enough offers to satisfy path
	PATH_PAYMENT_STRICT_RECEIVE_TOO_FEW_OFFERS PathPaymentStrictReceiveResultCode = -10
	// would cross one of its own offers
	PATH_PAYMENT_STRICT_RECEIVE_OFFER_CROSS_SELF PathPaymentStrictReceiveResultCode = -11
	// could not satisfy sendmax
	PATH_PAYMENT_STRICT_RECEIVE_OVER_SENDMAX PathPaymentStrictReceiveResultCode = -12
)

func (PathPaymentStrictReceiveResultCode) GetU32

func (*PathPaymentStrictReceiveResultCode) Scan

func (*PathPaymentStrictReceiveResultCode) SetU32

func (PathPaymentStrictReceiveResultCode) String

func (PathPaymentStrictReceiveResultCode) XdrEnumComments

func (e PathPaymentStrictReceiveResultCode) XdrEnumComments() map[int32]string

func (PathPaymentStrictReceiveResultCode) XdrEnumNames

func (PathPaymentStrictReceiveResultCode) XdrEnumNames() map[int32]string

func (*PathPaymentStrictReceiveResultCode) XdrMarshal

func (v *PathPaymentStrictReceiveResultCode) XdrMarshal(x XDR, name string)

func (*PathPaymentStrictReceiveResultCode) XdrPointer

func (v *PathPaymentStrictReceiveResultCode) XdrPointer() interface{}

func (PathPaymentStrictReceiveResultCode) XdrTypeName

func (PathPaymentStrictReceiveResultCode) XdrValue

func (v PathPaymentStrictReceiveResultCode) XdrValue() interface{}

type PathPaymentStrictSendOp

type PathPaymentStrictSendOp struct {
	// asset we pay with
	SendAsset Asset
	// amount of sendAsset to send (excluding fees)
	SendAmount Int64
	// recipient of the payment
	Destination MuxedAccount
	// what they end up with
	DestAsset Asset
	// the minimum amount of dest asset to
	DestMin Int64
	// additional hops it must go through to get there
	Path []Asset // bound 5
}
PathPaymentStrictSend

send an amount to a destination account through a path. (sendMax, sendAsset) (X0, Path[0]) .. (Xn, Path[n]) (at least destAmount, destAsset)

Threshold: med

Result: PathPaymentStrictSendResult

func (*PathPaymentStrictSendOp) XdrMarshal

func (v *PathPaymentStrictSendOp) XdrMarshal(x XDR, name string)

func (*PathPaymentStrictSendOp) XdrPointer

func (v *PathPaymentStrictSendOp) XdrPointer() interface{}

func (*PathPaymentStrictSendOp) XdrRecurse

func (v *PathPaymentStrictSendOp) XdrRecurse(x XDR, name string)

func (PathPaymentStrictSendOp) XdrTypeName

func (PathPaymentStrictSendOp) XdrTypeName() string

func (PathPaymentStrictSendOp) XdrValue

func (v PathPaymentStrictSendOp) XdrValue() interface{}

type PathPaymentStrictSendResult

type PathPaymentStrictSendResult struct {
	// The union discriminant Code selects among the following arms:
	//   PATH_PAYMENT_STRICT_SEND_SUCCESS:
	//      Success() *XdrAnon_PathPaymentStrictSendResult_Success
	//   PATH_PAYMENT_STRICT_SEND_NO_ISSUER:
	//      NoIssuer() *Asset
	//   default:
	//      void
	Code PathPaymentStrictSendResultCode
	// contains filtered or unexported fields
}

func (*PathPaymentStrictSendResult) NoIssuer

func (u *PathPaymentStrictSendResult) NoIssuer() *Asset

the asset that caused the error

func (*PathPaymentStrictSendResult) Success

func (*PathPaymentStrictSendResult) XdrMarshal

func (v *PathPaymentStrictSendResult) XdrMarshal(x XDR, name string)

func (*PathPaymentStrictSendResult) XdrPointer

func (v *PathPaymentStrictSendResult) XdrPointer() interface{}

func (*PathPaymentStrictSendResult) XdrRecurse

func (u *PathPaymentStrictSendResult) XdrRecurse(x XDR, name string)

func (PathPaymentStrictSendResult) XdrTypeName

func (PathPaymentStrictSendResult) XdrTypeName() string

func (*PathPaymentStrictSendResult) XdrUnionBody

func (u *PathPaymentStrictSendResult) XdrUnionBody() XdrType

func (*PathPaymentStrictSendResult) XdrUnionBodyName

func (u *PathPaymentStrictSendResult) XdrUnionBodyName() string

func (*PathPaymentStrictSendResult) XdrUnionTag

func (u *PathPaymentStrictSendResult) XdrUnionTag() XdrNum32

func (*PathPaymentStrictSendResult) XdrUnionTagName

func (u *PathPaymentStrictSendResult) XdrUnionTagName() string

func (PathPaymentStrictSendResult) XdrValid

func (u PathPaymentStrictSendResult) XdrValid() bool

func (PathPaymentStrictSendResult) XdrValidTags added in v0.1.4

func (_ PathPaymentStrictSendResult) XdrValidTags() map[int32]bool

func (PathPaymentStrictSendResult) XdrValue

func (v PathPaymentStrictSendResult) XdrValue() interface{}

type PathPaymentStrictSendResultCode

type PathPaymentStrictSendResultCode int32
const (
	// success
	PATH_PAYMENT_STRICT_SEND_SUCCESS PathPaymentStrictSendResultCode = 0
	// bad input
	PATH_PAYMENT_STRICT_SEND_MALFORMED PathPaymentStrictSendResultCode = -1
	// not enough funds in source account
	PATH_PAYMENT_STRICT_SEND_UNDERFUNDED PathPaymentStrictSendResultCode = -2
	// no trust line on source account
	PATH_PAYMENT_STRICT_SEND_SRC_NO_TRUST PathPaymentStrictSendResultCode = -3
	// source not authorized to transfer
	PATH_PAYMENT_STRICT_SEND_SRC_NOT_AUTHORIZED PathPaymentStrictSendResultCode = -4
	// destination account does not exist
	PATH_PAYMENT_STRICT_SEND_NO_DESTINATION PathPaymentStrictSendResultCode = -5
	// dest missing a trust line for asset
	PATH_PAYMENT_STRICT_SEND_NO_TRUST PathPaymentStrictSendResultCode = -6
	// dest not authorized to hold asset
	PATH_PAYMENT_STRICT_SEND_NOT_AUTHORIZED PathPaymentStrictSendResultCode = -7
	// dest would go above their limit
	PATH_PAYMENT_STRICT_SEND_LINE_FULL PathPaymentStrictSendResultCode = -8
	// missing issuer on one asset
	PATH_PAYMENT_STRICT_SEND_NO_ISSUER PathPaymentStrictSendResultCode = -9
	// not enough offers to satisfy path
	PATH_PAYMENT_STRICT_SEND_TOO_FEW_OFFERS PathPaymentStrictSendResultCode = -10
	// would cross one of its own offers
	PATH_PAYMENT_STRICT_SEND_OFFER_CROSS_SELF PathPaymentStrictSendResultCode = -11
	// could not satisfy destMin
	PATH_PAYMENT_STRICT_SEND_UNDER_DESTMIN PathPaymentStrictSendResultCode = -12
)

func (PathPaymentStrictSendResultCode) GetU32

func (*PathPaymentStrictSendResultCode) Scan

func (*PathPaymentStrictSendResultCode) SetU32

func (PathPaymentStrictSendResultCode) String

func (PathPaymentStrictSendResultCode) XdrEnumComments

func (e PathPaymentStrictSendResultCode) XdrEnumComments() map[int32]string

func (PathPaymentStrictSendResultCode) XdrEnumNames

func (PathPaymentStrictSendResultCode) XdrEnumNames() map[int32]string

func (*PathPaymentStrictSendResultCode) XdrMarshal

func (v *PathPaymentStrictSendResultCode) XdrMarshal(x XDR, name string)

func (*PathPaymentStrictSendResultCode) XdrPointer

func (v *PathPaymentStrictSendResultCode) XdrPointer() interface{}

func (PathPaymentStrictSendResultCode) XdrTypeName

func (PathPaymentStrictSendResultCode) XdrValue

func (v PathPaymentStrictSendResultCode) XdrValue() interface{}

type PaymentOp

type PaymentOp struct {
	// recipient of the payment
	Destination MuxedAccount
	// what they end up with
	Asset Asset
	// amount they end up with
	Amount Int64
}

Payment

Send an amount in specified asset to a destination account.

Threshold: med

Result: PaymentResult

func XDR_PaymentOp

func XDR_PaymentOp(v *PaymentOp) *PaymentOp

func (*PaymentOp) XdrMarshal

func (v *PaymentOp) XdrMarshal(x XDR, name string)

func (*PaymentOp) XdrPointer

func (v *PaymentOp) XdrPointer() interface{}

func (*PaymentOp) XdrRecurse

func (v *PaymentOp) XdrRecurse(x XDR, name string)

func (PaymentOp) XdrTypeName

func (PaymentOp) XdrTypeName() string

func (PaymentOp) XdrValue

func (v PaymentOp) XdrValue() interface{}

type PaymentResult

type PaymentResult struct {
	// The union discriminant Code selects among the following arms:
	//   PAYMENT_SUCCESS:
	//      void
	//   default:
	//      void
	Code PaymentResultCode
	// contains filtered or unexported fields
}

func XDR_PaymentResult

func XDR_PaymentResult(v *PaymentResult) *PaymentResult

func (*PaymentResult) XdrMarshal

func (v *PaymentResult) XdrMarshal(x XDR, name string)

func (*PaymentResult) XdrPointer

func (v *PaymentResult) XdrPointer() interface{}

func (*PaymentResult) XdrRecurse

func (u *PaymentResult) XdrRecurse(x XDR, name string)

func (PaymentResult) XdrTypeName

func (PaymentResult) XdrTypeName() string

func (*PaymentResult) XdrUnionBody

func (u *PaymentResult) XdrUnionBody() XdrType

func (*PaymentResult) XdrUnionBodyName

func (u *PaymentResult) XdrUnionBodyName() string

func (*PaymentResult) XdrUnionTag

func (u *PaymentResult) XdrUnionTag() XdrNum32

func (*PaymentResult) XdrUnionTagName

func (u *PaymentResult) XdrUnionTagName() string

func (PaymentResult) XdrValid

func (u PaymentResult) XdrValid() bool

func (PaymentResult) XdrValidTags added in v0.1.4

func (_ PaymentResult) XdrValidTags() map[int32]bool

func (PaymentResult) XdrValue

func (v PaymentResult) XdrValue() interface{}

type PaymentResultCode

type PaymentResultCode int32
const (
	// payment successfully completed
	PAYMENT_SUCCESS PaymentResultCode = 0
	// bad input
	PAYMENT_MALFORMED PaymentResultCode = -1
	// not enough funds in source account
	PAYMENT_UNDERFUNDED PaymentResultCode = -2
	// no trust line on source account
	PAYMENT_SRC_NO_TRUST PaymentResultCode = -3
	// source not authorized to transfer
	PAYMENT_SRC_NOT_AUTHORIZED PaymentResultCode = -4
	// destination account does not exist
	PAYMENT_NO_DESTINATION PaymentResultCode = -5
	// destination missing a trust line for asset
	PAYMENT_NO_TRUST PaymentResultCode = -6
	// destination not authorized to hold asset
	PAYMENT_NOT_AUTHORIZED PaymentResultCode = -7
	// destination would go above their limit
	PAYMENT_LINE_FULL PaymentResultCode = -8
	// missing issuer on asset
	PAYMENT_NO_ISSUER PaymentResultCode = -9
)

func XDR_PaymentResultCode

func XDR_PaymentResultCode(v *PaymentResultCode) *PaymentResultCode

func (PaymentResultCode) GetU32

func (v PaymentResultCode) GetU32() uint32

func (*PaymentResultCode) Scan

func (v *PaymentResultCode) Scan(ss fmt.ScanState, _ rune) error

func (*PaymentResultCode) SetU32

func (v *PaymentResultCode) SetU32(n uint32)

func (PaymentResultCode) String

func (v PaymentResultCode) String() string

func (PaymentResultCode) XdrEnumComments

func (e PaymentResultCode) XdrEnumComments() map[int32]string

func (PaymentResultCode) XdrEnumNames

func (PaymentResultCode) XdrEnumNames() map[int32]string

func (*PaymentResultCode) XdrMarshal

func (v *PaymentResultCode) XdrMarshal(x XDR, name string)

func (*PaymentResultCode) XdrPointer

func (v *PaymentResultCode) XdrPointer() interface{}

func (PaymentResultCode) XdrTypeName

func (PaymentResultCode) XdrTypeName() string

func (PaymentResultCode) XdrValue

func (v PaymentResultCode) XdrValue() interface{}

type PeerAddress

type PeerAddress struct {
	Ip          XdrAnon_PeerAddress_Ip
	Port        Uint32
	NumFailures Uint32
}

func XDR_PeerAddress

func XDR_PeerAddress(v *PeerAddress) *PeerAddress

func (*PeerAddress) XdrMarshal

func (v *PeerAddress) XdrMarshal(x XDR, name string)

func (*PeerAddress) XdrPointer

func (v *PeerAddress) XdrPointer() interface{}

func (*PeerAddress) XdrRecurse

func (v *PeerAddress) XdrRecurse(x XDR, name string)

func (PeerAddress) XdrTypeName

func (PeerAddress) XdrTypeName() string

func (PeerAddress) XdrValue

func (v PeerAddress) XdrValue() interface{}

type PeerStatList

type PeerStatList = []PeerStats // bound 25

type PeerStats

type PeerStats struct {
	Id                        NodeID
	VersionStr                string // bound 100
	MessagesRead              Uint64
	MessagesWritten           Uint64
	BytesRead                 Uint64
	BytesWritten              Uint64
	SecondsConnected          Uint64
	UniqueFloodBytesRecv      Uint64
	DuplicateFloodBytesRecv   Uint64
	UniqueFetchBytesRecv      Uint64
	DuplicateFetchBytesRecv   Uint64
	UniqueFloodMessageRecv    Uint64
	DuplicateFloodMessageRecv Uint64
	UniqueFetchMessageRecv    Uint64
	DuplicateFetchMessageRecv Uint64
}

func XDR_PeerStats

func XDR_PeerStats(v *PeerStats) *PeerStats

func (*PeerStats) XdrMarshal

func (v *PeerStats) XdrMarshal(x XDR, name string)

func (*PeerStats) XdrPointer

func (v *PeerStats) XdrPointer() interface{}

func (*PeerStats) XdrRecurse

func (v *PeerStats) XdrRecurse(x XDR, name string)

func (PeerStats) XdrTypeName

func (PeerStats) XdrTypeName() string

func (PeerStats) XdrValue

func (v PeerStats) XdrValue() interface{}

type PoolID added in v0.1.4

type PoolID = Hash

SHA256(LiquidityPoolParameters)

type Price

type Price struct {
	// numerator
	N Int32
	// denominator
	D Int32
}

price in fractional representation

func XDR_Price

func XDR_Price(v *Price) *Price

func (*Price) XdrMarshal

func (v *Price) XdrMarshal(x XDR, name string)

func (*Price) XdrPointer

func (v *Price) XdrPointer() interface{}

func (*Price) XdrRecurse

func (v *Price) XdrRecurse(x XDR, name string)

func (Price) XdrTypeName

func (Price) XdrTypeName() string

func (Price) XdrValue

func (v Price) XdrValue() interface{}

type PublicKey

type PublicKey struct {
	// The union discriminant Type selects among the following arms:
	//   PUBLIC_KEY_TYPE_ED25519:
	//      Ed25519() *Uint256
	Type PublicKeyType
	// contains filtered or unexported fields
}

func XDR_PublicKey

func XDR_PublicKey(v *PublicKey) *PublicKey

func (*PublicKey) Ed25519

func (u *PublicKey) Ed25519() *Uint256

func (PublicKey) Hint

func (pk PublicKey) Hint() SignatureHint

Returns the last 4 bytes of a PublicKey, as required for the Hint field in a DecoratedSignature.

func (*PublicKey) Scan

func (pk *PublicKey) Scan(ss fmt.ScanState, _ rune) error

Parses a public key in strkey format.

func (PublicKey) String

func (pk PublicKey) String() string

Renders a PublicKey in strkey format.

func (PublicKey) ToSignerKey

func (pk PublicKey) ToSignerKey() SignerKey

func (*PublicKey) UnmarshalText

func (pk *PublicKey) UnmarshalText(bs []byte) error

Parses a public key in strkey format.

func (*PublicKey) XdrMarshal

func (v *PublicKey) XdrMarshal(x XDR, name string)

func (*PublicKey) XdrPointer

func (v *PublicKey) XdrPointer() interface{}

func (*PublicKey) XdrRecurse

func (u *PublicKey) XdrRecurse(x XDR, name string)

func (PublicKey) XdrTypeName

func (PublicKey) XdrTypeName() string

func (*PublicKey) XdrUnionBody

func (u *PublicKey) XdrUnionBody() XdrType

func (*PublicKey) XdrUnionBodyName

func (u *PublicKey) XdrUnionBodyName() string

func (*PublicKey) XdrUnionTag

func (u *PublicKey) XdrUnionTag() XdrNum32

func (*PublicKey) XdrUnionTagName

func (u *PublicKey) XdrUnionTagName() string

func (PublicKey) XdrValid

func (u PublicKey) XdrValid() bool

func (PublicKey) XdrValidTags

func (_ PublicKey) XdrValidTags() map[int32]bool

func (PublicKey) XdrValue

func (v PublicKey) XdrValue() interface{}

type PublicKeyType

type PublicKeyType int32
const (
	PUBLIC_KEY_TYPE_ED25519 PublicKeyType = PublicKeyType(KEY_TYPE_ED25519)
)

func XDR_PublicKeyType

func XDR_PublicKeyType(v *PublicKeyType) *PublicKeyType

func (PublicKeyType) GetU32

func (v PublicKeyType) GetU32() uint32

func (*PublicKeyType) Scan

func (v *PublicKeyType) Scan(ss fmt.ScanState, _ rune) error

func (*PublicKeyType) SetU32

func (v *PublicKeyType) SetU32(n uint32)

func (PublicKeyType) String

func (v PublicKeyType) String() string

func (PublicKeyType) XdrEnumNames

func (PublicKeyType) XdrEnumNames() map[int32]string

func (*PublicKeyType) XdrMarshal

func (v *PublicKeyType) XdrMarshal(x XDR, name string)

func (*PublicKeyType) XdrPointer

func (v *PublicKeyType) XdrPointer() interface{}

func (PublicKeyType) XdrTypeName

func (PublicKeyType) XdrTypeName() string

func (PublicKeyType) XdrValue

func (v PublicKeyType) XdrValue() interface{}

type RevokeSponsorshipOp

type RevokeSponsorshipOp struct {
	// The union discriminant Type selects among the following arms:
	//   REVOKE_SPONSORSHIP_LEDGER_ENTRY:
	//      LedgerKey() *LedgerKey
	//   REVOKE_SPONSORSHIP_SIGNER:
	//      Signer() *XdrAnon_RevokeSponsorshipOp_Signer
	Type RevokeSponsorshipType
	// contains filtered or unexported fields
}

func XDR_RevokeSponsorshipOp

func XDR_RevokeSponsorshipOp(v *RevokeSponsorshipOp) *RevokeSponsorshipOp

func (*RevokeSponsorshipOp) LedgerKey

func (u *RevokeSponsorshipOp) LedgerKey() *LedgerKey

func (*RevokeSponsorshipOp) Signer

func (*RevokeSponsorshipOp) XdrMarshal

func (v *RevokeSponsorshipOp) XdrMarshal(x XDR, name string)

func (*RevokeSponsorshipOp) XdrPointer

func (v *RevokeSponsorshipOp) XdrPointer() interface{}

func (*RevokeSponsorshipOp) XdrRecurse

func (u *RevokeSponsorshipOp) XdrRecurse(x XDR, name string)

func (RevokeSponsorshipOp) XdrTypeName

func (RevokeSponsorshipOp) XdrTypeName() string

func (*RevokeSponsorshipOp) XdrUnionBody

func (u *RevokeSponsorshipOp) XdrUnionBody() XdrType

func (*RevokeSponsorshipOp) XdrUnionBodyName

func (u *RevokeSponsorshipOp) XdrUnionBodyName() string

func (*RevokeSponsorshipOp) XdrUnionTag

func (u *RevokeSponsorshipOp) XdrUnionTag() XdrNum32

func (*RevokeSponsorshipOp) XdrUnionTagName

func (u *RevokeSponsorshipOp) XdrUnionTagName() string

func (RevokeSponsorshipOp) XdrValid

func (u RevokeSponsorshipOp) XdrValid() bool

func (RevokeSponsorshipOp) XdrValidTags

func (_ RevokeSponsorshipOp) XdrValidTags() map[int32]bool

func (RevokeSponsorshipOp) XdrValue

func (v RevokeSponsorshipOp) XdrValue() interface{}

type RevokeSponsorshipResult

type RevokeSponsorshipResult struct {
	// The union discriminant Code selects among the following arms:
	//   REVOKE_SPONSORSHIP_SUCCESS:
	//      void
	//   default:
	//      void
	Code RevokeSponsorshipResultCode
	// contains filtered or unexported fields
}

func (*RevokeSponsorshipResult) XdrMarshal

func (v *RevokeSponsorshipResult) XdrMarshal(x XDR, name string)

func (*RevokeSponsorshipResult) XdrPointer

func (v *RevokeSponsorshipResult) XdrPointer() interface{}

func (*RevokeSponsorshipResult) XdrRecurse

func (u *RevokeSponsorshipResult) XdrRecurse(x XDR, name string)

func (RevokeSponsorshipResult) XdrTypeName

func (RevokeSponsorshipResult) XdrTypeName() string

func (*RevokeSponsorshipResult) XdrUnionBody

func (u *RevokeSponsorshipResult) XdrUnionBody() XdrType

func (*RevokeSponsorshipResult) XdrUnionBodyName

func (u *RevokeSponsorshipResult) XdrUnionBodyName() string

func (*RevokeSponsorshipResult) XdrUnionTag

func (u *RevokeSponsorshipResult) XdrUnionTag() XdrNum32

func (*RevokeSponsorshipResult) XdrUnionTagName

func (u *RevokeSponsorshipResult) XdrUnionTagName() string

func (RevokeSponsorshipResult) XdrValid

func (u RevokeSponsorshipResult) XdrValid() bool

func (RevokeSponsorshipResult) XdrValidTags added in v0.1.4

func (_ RevokeSponsorshipResult) XdrValidTags() map[int32]bool

func (RevokeSponsorshipResult) XdrValue

func (v RevokeSponsorshipResult) XdrValue() interface{}

type RevokeSponsorshipResultCode

type RevokeSponsorshipResultCode int32
const (
	// codes considered as "success" for the operation
	REVOKE_SPONSORSHIP_SUCCESS RevokeSponsorshipResultCode = 0
	// codes considered as "failure" for the operation
	REVOKE_SPONSORSHIP_DOES_NOT_EXIST    RevokeSponsorshipResultCode = -1
	REVOKE_SPONSORSHIP_NOT_SPONSOR       RevokeSponsorshipResultCode = -2
	REVOKE_SPONSORSHIP_LOW_RESERVE       RevokeSponsorshipResultCode = -3
	REVOKE_SPONSORSHIP_ONLY_TRANSFERABLE RevokeSponsorshipResultCode = -4
	REVOKE_SPONSORSHIP_MALFORMED         RevokeSponsorshipResultCode = -5
)

func (RevokeSponsorshipResultCode) GetU32

func (*RevokeSponsorshipResultCode) Scan

func (*RevokeSponsorshipResultCode) SetU32

func (v *RevokeSponsorshipResultCode) SetU32(n uint32)

func (RevokeSponsorshipResultCode) String

func (RevokeSponsorshipResultCode) XdrEnumComments

func (e RevokeSponsorshipResultCode) XdrEnumComments() map[int32]string

func (RevokeSponsorshipResultCode) XdrEnumNames

func (RevokeSponsorshipResultCode) XdrEnumNames() map[int32]string

func (*RevokeSponsorshipResultCode) XdrMarshal

func (v *RevokeSponsorshipResultCode) XdrMarshal(x XDR, name string)

func (*RevokeSponsorshipResultCode) XdrPointer

func (v *RevokeSponsorshipResultCode) XdrPointer() interface{}

func (RevokeSponsorshipResultCode) XdrTypeName

func (RevokeSponsorshipResultCode) XdrTypeName() string

func (RevokeSponsorshipResultCode) XdrValue

func (v RevokeSponsorshipResultCode) XdrValue() interface{}

type RevokeSponsorshipType

type RevokeSponsorshipType int32

RevokeSponsorship

If source account is not sponsored or is sponsored by the owner of the
specified entry or sub-entry, then attempt to revoke the sponsorship.
If source account is sponsored, then attempt to transfer the sponsorship
to the sponsor of source account.

Threshold: med

Result: RevokeSponsorshipResult
const (
	REVOKE_SPONSORSHIP_LEDGER_ENTRY RevokeSponsorshipType = 0
	REVOKE_SPONSORSHIP_SIGNER       RevokeSponsorshipType = 1
)

func XDR_RevokeSponsorshipType

func XDR_RevokeSponsorshipType(v *RevokeSponsorshipType) *RevokeSponsorshipType

func (RevokeSponsorshipType) GetU32

func (v RevokeSponsorshipType) GetU32() uint32

func (*RevokeSponsorshipType) Scan

func (v *RevokeSponsorshipType) Scan(ss fmt.ScanState, _ rune) error

func (*RevokeSponsorshipType) SetU32

func (v *RevokeSponsorshipType) SetU32(n uint32)

func (RevokeSponsorshipType) String

func (v RevokeSponsorshipType) String() string

func (RevokeSponsorshipType) XdrEnumNames

func (RevokeSponsorshipType) XdrEnumNames() map[int32]string

func (*RevokeSponsorshipType) XdrMarshal

func (v *RevokeSponsorshipType) XdrMarshal(x XDR, name string)

func (*RevokeSponsorshipType) XdrPointer

func (v *RevokeSponsorshipType) XdrPointer() interface{}

func (RevokeSponsorshipType) XdrTypeName

func (RevokeSponsorshipType) XdrTypeName() string

func (RevokeSponsorshipType) XdrValue

func (v RevokeSponsorshipType) XdrValue() interface{}

type SCPBallot

type SCPBallot struct {
	// n
	Counter Uint32
	// x
	Value Value
}

func XDR_SCPBallot

func XDR_SCPBallot(v *SCPBallot) *SCPBallot

func (*SCPBallot) XdrMarshal

func (v *SCPBallot) XdrMarshal(x XDR, name string)

func (*SCPBallot) XdrPointer

func (v *SCPBallot) XdrPointer() interface{}

func (*SCPBallot) XdrRecurse

func (v *SCPBallot) XdrRecurse(x XDR, name string)

func (SCPBallot) XdrTypeName

func (SCPBallot) XdrTypeName() string

func (SCPBallot) XdrValue

func (v SCPBallot) XdrValue() interface{}

type SCPEnvelope

type SCPEnvelope struct {
	Statement SCPStatement
	Signature Signature
}

func XDR_SCPEnvelope

func XDR_SCPEnvelope(v *SCPEnvelope) *SCPEnvelope

func (*SCPEnvelope) XdrMarshal

func (v *SCPEnvelope) XdrMarshal(x XDR, name string)

func (*SCPEnvelope) XdrPointer

func (v *SCPEnvelope) XdrPointer() interface{}

func (*SCPEnvelope) XdrRecurse

func (v *SCPEnvelope) XdrRecurse(x XDR, name string)

func (SCPEnvelope) XdrTypeName

func (SCPEnvelope) XdrTypeName() string

func (SCPEnvelope) XdrValue

func (v SCPEnvelope) XdrValue() interface{}

type SCPHistoryEntry

type SCPHistoryEntry struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      V0() *SCPHistoryEntryV0
	V int32
	// contains filtered or unexported fields
}

SCP history file is an array of these

func XDR_SCPHistoryEntry

func XDR_SCPHistoryEntry(v *SCPHistoryEntry) *SCPHistoryEntry

func (*SCPHistoryEntry) V0

func (*SCPHistoryEntry) XdrMarshal

func (v *SCPHistoryEntry) XdrMarshal(x XDR, name string)

func (*SCPHistoryEntry) XdrPointer

func (v *SCPHistoryEntry) XdrPointer() interface{}

func (*SCPHistoryEntry) XdrRecurse

func (u *SCPHistoryEntry) XdrRecurse(x XDR, name string)

func (SCPHistoryEntry) XdrTypeName

func (SCPHistoryEntry) XdrTypeName() string

func (*SCPHistoryEntry) XdrUnionBody

func (u *SCPHistoryEntry) XdrUnionBody() XdrType

func (*SCPHistoryEntry) XdrUnionBodyName

func (u *SCPHistoryEntry) XdrUnionBodyName() string

func (*SCPHistoryEntry) XdrUnionTag

func (u *SCPHistoryEntry) XdrUnionTag() XdrNum32

func (*SCPHistoryEntry) XdrUnionTagName

func (u *SCPHistoryEntry) XdrUnionTagName() string

func (SCPHistoryEntry) XdrValid

func (u SCPHistoryEntry) XdrValid() bool

func (SCPHistoryEntry) XdrValidTags

func (_ SCPHistoryEntry) XdrValidTags() map[int32]bool

func (SCPHistoryEntry) XdrValue

func (v SCPHistoryEntry) XdrValue() interface{}

type SCPHistoryEntryV0

type SCPHistoryEntryV0 struct {
	// additional quorum sets used by ledgerMessages
	QuorumSets     []SCPQuorumSet
	LedgerMessages LedgerSCPMessages
}

note: ledgerMessages may refer to any quorumSets encountered in the file so far, not just the one from this entry

func XDR_SCPHistoryEntryV0

func XDR_SCPHistoryEntryV0(v *SCPHistoryEntryV0) *SCPHistoryEntryV0

func (*SCPHistoryEntryV0) XdrMarshal

func (v *SCPHistoryEntryV0) XdrMarshal(x XDR, name string)

func (*SCPHistoryEntryV0) XdrPointer

func (v *SCPHistoryEntryV0) XdrPointer() interface{}

func (*SCPHistoryEntryV0) XdrRecurse

func (v *SCPHistoryEntryV0) XdrRecurse(x XDR, name string)

func (SCPHistoryEntryV0) XdrTypeName

func (SCPHistoryEntryV0) XdrTypeName() string

func (SCPHistoryEntryV0) XdrValue

func (v SCPHistoryEntryV0) XdrValue() interface{}

type SCPNomination

type SCPNomination struct {
	// D
	QuorumSetHash Hash
	// X
	Votes []Value
	// Y
	Accepted []Value
}

func XDR_SCPNomination

func XDR_SCPNomination(v *SCPNomination) *SCPNomination

func (*SCPNomination) XdrMarshal

func (v *SCPNomination) XdrMarshal(x XDR, name string)

func (*SCPNomination) XdrPointer

func (v *SCPNomination) XdrPointer() interface{}

func (*SCPNomination) XdrRecurse

func (v *SCPNomination) XdrRecurse(x XDR, name string)

func (SCPNomination) XdrTypeName

func (SCPNomination) XdrTypeName() string

func (SCPNomination) XdrValue

func (v SCPNomination) XdrValue() interface{}

type SCPQuorumSet

type SCPQuorumSet struct {
	Threshold  Uint32
	Validators []NodeID
	InnerSets  []SCPQuorumSet
}

supports things like: A,B,C,(D,E,F),(G,H,(I,J,K,L)) only allows 2 levels of nesting

func XDR_SCPQuorumSet

func XDR_SCPQuorumSet(v *SCPQuorumSet) *SCPQuorumSet

func (*SCPQuorumSet) XdrMarshal

func (v *SCPQuorumSet) XdrMarshal(x XDR, name string)

func (*SCPQuorumSet) XdrPointer

func (v *SCPQuorumSet) XdrPointer() interface{}

func (*SCPQuorumSet) XdrRecurse

func (v *SCPQuorumSet) XdrRecurse(x XDR, name string)

func (SCPQuorumSet) XdrTypeName

func (SCPQuorumSet) XdrTypeName() string

func (SCPQuorumSet) XdrValue

func (v SCPQuorumSet) XdrValue() interface{}

type SCPStatement

type SCPStatement struct {
	// v
	NodeID NodeID
	// i
	SlotIndex Uint64
	Pledges   XdrAnon_SCPStatement_Pledges
}

func XDR_SCPStatement

func XDR_SCPStatement(v *SCPStatement) *SCPStatement

func (*SCPStatement) XdrMarshal

func (v *SCPStatement) XdrMarshal(x XDR, name string)

func (*SCPStatement) XdrPointer

func (v *SCPStatement) XdrPointer() interface{}

func (*SCPStatement) XdrRecurse

func (v *SCPStatement) XdrRecurse(x XDR, name string)

func (SCPStatement) XdrTypeName

func (SCPStatement) XdrTypeName() string

func (SCPStatement) XdrValue

func (v SCPStatement) XdrValue() interface{}

type SCPStatementType

type SCPStatementType int32
const (
	SCP_ST_PREPARE     SCPStatementType = 0
	SCP_ST_CONFIRM     SCPStatementType = 1
	SCP_ST_EXTERNALIZE SCPStatementType = 2
	SCP_ST_NOMINATE    SCPStatementType = 3
)

func XDR_SCPStatementType

func XDR_SCPStatementType(v *SCPStatementType) *SCPStatementType

func (SCPStatementType) GetU32

func (v SCPStatementType) GetU32() uint32

func (*SCPStatementType) Scan

func (v *SCPStatementType) Scan(ss fmt.ScanState, _ rune) error

func (*SCPStatementType) SetU32

func (v *SCPStatementType) SetU32(n uint32)

func (SCPStatementType) String

func (v SCPStatementType) String() string

func (SCPStatementType) XdrEnumNames

func (SCPStatementType) XdrEnumNames() map[int32]string

func (*SCPStatementType) XdrMarshal

func (v *SCPStatementType) XdrMarshal(x XDR, name string)

func (*SCPStatementType) XdrPointer

func (v *SCPStatementType) XdrPointer() interface{}

func (SCPStatementType) XdrTypeName

func (SCPStatementType) XdrTypeName() string

func (SCPStatementType) XdrValue

func (v SCPStatementType) XdrValue() interface{}

type SequenceNumber

type SequenceNumber = Int64

type SetOptionsOp

type SetOptionsOp struct {
	// sets the inflation destination
	InflationDest *AccountID
	// which flags to clear
	ClearFlags *Uint32
	// which flags to set
	SetFlags *Uint32
	// account threshold manipulation
	MasterWeight  *Uint32
	LowThreshold  *Uint32
	MedThreshold  *Uint32
	HighThreshold *Uint32
	// sets the home domain
	HomeDomain *String32
	// Add, update or remove a signer for the account
	// signer is deleted if the weight is 0
	Signer *Signer
}

Set Account Options

updates "AccountEntry" fields.
note: updating thresholds or signers requires high threshold

Threshold: med or high

Result: SetOptionsResult

func XDR_SetOptionsOp

func XDR_SetOptionsOp(v *SetOptionsOp) *SetOptionsOp

func (*SetOptionsOp) XdrMarshal

func (v *SetOptionsOp) XdrMarshal(x XDR, name string)

func (*SetOptionsOp) XdrPointer

func (v *SetOptionsOp) XdrPointer() interface{}

func (*SetOptionsOp) XdrRecurse

func (v *SetOptionsOp) XdrRecurse(x XDR, name string)

func (SetOptionsOp) XdrTypeName

func (SetOptionsOp) XdrTypeName() string

func (SetOptionsOp) XdrValue

func (v SetOptionsOp) XdrValue() interface{}

type SetOptionsResult

type SetOptionsResult struct {
	// The union discriminant Code selects among the following arms:
	//   SET_OPTIONS_SUCCESS:
	//      void
	//   default:
	//      void
	Code SetOptionsResultCode
	// contains filtered or unexported fields
}

func XDR_SetOptionsResult

func XDR_SetOptionsResult(v *SetOptionsResult) *SetOptionsResult

func (*SetOptionsResult) XdrMarshal

func (v *SetOptionsResult) XdrMarshal(x XDR, name string)

func (*SetOptionsResult) XdrPointer

func (v *SetOptionsResult) XdrPointer() interface{}

func (*SetOptionsResult) XdrRecurse

func (u *SetOptionsResult) XdrRecurse(x XDR, name string)

func (SetOptionsResult) XdrTypeName

func (SetOptionsResult) XdrTypeName() string

func (*SetOptionsResult) XdrUnionBody

func (u *SetOptionsResult) XdrUnionBody() XdrType

func (*SetOptionsResult) XdrUnionBodyName

func (u *SetOptionsResult) XdrUnionBodyName() string

func (*SetOptionsResult) XdrUnionTag

func (u *SetOptionsResult) XdrUnionTag() XdrNum32

func (*SetOptionsResult) XdrUnionTagName

func (u *SetOptionsResult) XdrUnionTagName() string

func (SetOptionsResult) XdrValid

func (u SetOptionsResult) XdrValid() bool

func (SetOptionsResult) XdrValidTags added in v0.1.4

func (_ SetOptionsResult) XdrValidTags() map[int32]bool

func (SetOptionsResult) XdrValue

func (v SetOptionsResult) XdrValue() interface{}

type SetOptionsResultCode

type SetOptionsResultCode int32
const (
	// codes considered as "success" for the operation
	SET_OPTIONS_SUCCESS SetOptionsResultCode = 0
	// not enough funds to add a signer
	SET_OPTIONS_LOW_RESERVE SetOptionsResultCode = -1
	// max number of signers already reached
	SET_OPTIONS_TOO_MANY_SIGNERS SetOptionsResultCode = -2
	// invalid combination of clear/set flags
	SET_OPTIONS_BAD_FLAGS SetOptionsResultCode = -3
	// inflation account does not exist
	SET_OPTIONS_INVALID_INFLATION SetOptionsResultCode = -4
	// can no longer change this option
	SET_OPTIONS_CANT_CHANGE SetOptionsResultCode = -5
	// can't set an unknown flag
	SET_OPTIONS_UNKNOWN_FLAG SetOptionsResultCode = -6
	// bad value for weight/threshold
	SET_OPTIONS_THRESHOLD_OUT_OF_RANGE SetOptionsResultCode = -7
	// signer cannot be masterkey
	SET_OPTIONS_BAD_SIGNER SetOptionsResultCode = -8
	// malformed home domain
	SET_OPTIONS_INVALID_HOME_DOMAIN SetOptionsResultCode = -9
	// auth revocable is required for clawback
	SET_OPTIONS_AUTH_REVOCABLE_REQUIRED SetOptionsResultCode = -10
)

func XDR_SetOptionsResultCode

func XDR_SetOptionsResultCode(v *SetOptionsResultCode) *SetOptionsResultCode

func (SetOptionsResultCode) GetU32

func (v SetOptionsResultCode) GetU32() uint32

func (*SetOptionsResultCode) Scan

func (v *SetOptionsResultCode) Scan(ss fmt.ScanState, _ rune) error

func (*SetOptionsResultCode) SetU32

func (v *SetOptionsResultCode) SetU32(n uint32)

func (SetOptionsResultCode) String

func (v SetOptionsResultCode) String() string

func (SetOptionsResultCode) XdrEnumComments

func (e SetOptionsResultCode) XdrEnumComments() map[int32]string

func (SetOptionsResultCode) XdrEnumNames

func (SetOptionsResultCode) XdrEnumNames() map[int32]string

func (*SetOptionsResultCode) XdrMarshal

func (v *SetOptionsResultCode) XdrMarshal(x XDR, name string)

func (*SetOptionsResultCode) XdrPointer

func (v *SetOptionsResultCode) XdrPointer() interface{}

func (SetOptionsResultCode) XdrTypeName

func (SetOptionsResultCode) XdrTypeName() string

func (SetOptionsResultCode) XdrValue

func (v SetOptionsResultCode) XdrValue() interface{}

type SetTrustLineFlagsOp added in v0.1.4

type SetTrustLineFlagsOp struct {
	Trustor AccountID
	Asset   Asset
	// which flags to clear
	ClearFlags Uint32
	// which flags to set
	SetFlags Uint32
}

SetTrustLineFlagsOp

Updates the flags of an existing trust line.
This is called by the issuer of the related asset.

Threshold: low

Result: SetTrustLineFlagsResult

func XDR_SetTrustLineFlagsOp added in v0.1.4

func XDR_SetTrustLineFlagsOp(v *SetTrustLineFlagsOp) *SetTrustLineFlagsOp

func (*SetTrustLineFlagsOp) XdrMarshal added in v0.1.4

func (v *SetTrustLineFlagsOp) XdrMarshal(x XDR, name string)

func (*SetTrustLineFlagsOp) XdrPointer added in v0.1.4

func (v *SetTrustLineFlagsOp) XdrPointer() interface{}

func (*SetTrustLineFlagsOp) XdrRecurse added in v0.1.4

func (v *SetTrustLineFlagsOp) XdrRecurse(x XDR, name string)

func (SetTrustLineFlagsOp) XdrTypeName added in v0.1.4

func (SetTrustLineFlagsOp) XdrTypeName() string

func (SetTrustLineFlagsOp) XdrValue added in v0.1.4

func (v SetTrustLineFlagsOp) XdrValue() interface{}

type SetTrustLineFlagsResult added in v0.1.4

type SetTrustLineFlagsResult struct {
	// The union discriminant Code selects among the following arms:
	//   SET_TRUST_LINE_FLAGS_SUCCESS:
	//      void
	//   default:
	//      void
	Code SetTrustLineFlagsResultCode
	// contains filtered or unexported fields
}

func XDR_SetTrustLineFlagsResult added in v0.1.4

func XDR_SetTrustLineFlagsResult(v *SetTrustLineFlagsResult) *SetTrustLineFlagsResult

func (*SetTrustLineFlagsResult) XdrMarshal added in v0.1.4

func (v *SetTrustLineFlagsResult) XdrMarshal(x XDR, name string)

func (*SetTrustLineFlagsResult) XdrPointer added in v0.1.4

func (v *SetTrustLineFlagsResult) XdrPointer() interface{}

func (*SetTrustLineFlagsResult) XdrRecurse added in v0.1.4

func (u *SetTrustLineFlagsResult) XdrRecurse(x XDR, name string)

func (SetTrustLineFlagsResult) XdrTypeName added in v0.1.4

func (SetTrustLineFlagsResult) XdrTypeName() string

func (*SetTrustLineFlagsResult) XdrUnionBody added in v0.1.4

func (u *SetTrustLineFlagsResult) XdrUnionBody() XdrType

func (*SetTrustLineFlagsResult) XdrUnionBodyName added in v0.1.4

func (u *SetTrustLineFlagsResult) XdrUnionBodyName() string

func (*SetTrustLineFlagsResult) XdrUnionTag added in v0.1.4

func (u *SetTrustLineFlagsResult) XdrUnionTag() XdrNum32

func (*SetTrustLineFlagsResult) XdrUnionTagName added in v0.1.4

func (u *SetTrustLineFlagsResult) XdrUnionTagName() string

func (SetTrustLineFlagsResult) XdrValid added in v0.1.4

func (u SetTrustLineFlagsResult) XdrValid() bool

func (SetTrustLineFlagsResult) XdrValidTags added in v0.1.4

func (_ SetTrustLineFlagsResult) XdrValidTags() map[int32]bool

func (SetTrustLineFlagsResult) XdrValue added in v0.1.4

func (v SetTrustLineFlagsResult) XdrValue() interface{}

type SetTrustLineFlagsResultCode added in v0.1.4

type SetTrustLineFlagsResultCode int32
const (
	// codes considered as "success" for the operation
	SET_TRUST_LINE_FLAGS_SUCCESS SetTrustLineFlagsResultCode = 0
	// codes considered as "failure" for the operation
	SET_TRUST_LINE_FLAGS_MALFORMED     SetTrustLineFlagsResultCode = -1
	SET_TRUST_LINE_FLAGS_NO_TRUST_LINE SetTrustLineFlagsResultCode = -2
	SET_TRUST_LINE_FLAGS_CANT_REVOKE   SetTrustLineFlagsResultCode = -3
	SET_TRUST_LINE_FLAGS_INVALID_STATE SetTrustLineFlagsResultCode = -4
	// claimable balances can't be created
	SET_TRUST_LINE_FLAGS_LOW_RESERVE SetTrustLineFlagsResultCode = -5
)

func XDR_SetTrustLineFlagsResultCode added in v0.1.4

func XDR_SetTrustLineFlagsResultCode(v *SetTrustLineFlagsResultCode) *SetTrustLineFlagsResultCode

func (SetTrustLineFlagsResultCode) GetU32 added in v0.1.4

func (*SetTrustLineFlagsResultCode) Scan added in v0.1.4

func (*SetTrustLineFlagsResultCode) SetU32 added in v0.1.4

func (v *SetTrustLineFlagsResultCode) SetU32(n uint32)

func (SetTrustLineFlagsResultCode) String added in v0.1.4

func (SetTrustLineFlagsResultCode) XdrEnumComments added in v0.1.4

func (e SetTrustLineFlagsResultCode) XdrEnumComments() map[int32]string

func (SetTrustLineFlagsResultCode) XdrEnumNames added in v0.1.4

func (SetTrustLineFlagsResultCode) XdrEnumNames() map[int32]string

func (*SetTrustLineFlagsResultCode) XdrMarshal added in v0.1.4

func (v *SetTrustLineFlagsResultCode) XdrMarshal(x XDR, name string)

func (*SetTrustLineFlagsResultCode) XdrPointer added in v0.1.4

func (v *SetTrustLineFlagsResultCode) XdrPointer() interface{}

func (SetTrustLineFlagsResultCode) XdrTypeName added in v0.1.4

func (SetTrustLineFlagsResultCode) XdrTypeName() string

func (SetTrustLineFlagsResultCode) XdrValue added in v0.1.4

func (v SetTrustLineFlagsResultCode) XdrValue() interface{}

type Signable

type Signable interface {
	// Writes the signature payload *without* the network ID.  Be sure
	// to write the SHA256 hash of the network ID before calling this.
	WriteTaggedTx(io.Writer)
}

Types that can be hashed

type Signature

type Signature = []byte // bound 64

variable size as the size depends on the signature scheme used

type SignatureHint

type SignatureHint = [4]byte

type SignedSurveyRequestMessage

type SignedSurveyRequestMessage struct {
	RequestSignature Signature
	Request          SurveyRequestMessage
}

func (*SignedSurveyRequestMessage) XdrMarshal

func (v *SignedSurveyRequestMessage) XdrMarshal(x XDR, name string)

func (*SignedSurveyRequestMessage) XdrPointer

func (v *SignedSurveyRequestMessage) XdrPointer() interface{}

func (*SignedSurveyRequestMessage) XdrRecurse

func (v *SignedSurveyRequestMessage) XdrRecurse(x XDR, name string)

func (SignedSurveyRequestMessage) XdrTypeName

func (SignedSurveyRequestMessage) XdrTypeName() string

func (SignedSurveyRequestMessage) XdrValue

func (v SignedSurveyRequestMessage) XdrValue() interface{}

type SignedSurveyResponseMessage

type SignedSurveyResponseMessage struct {
	ResponseSignature Signature
	Response          SurveyResponseMessage
}

func (*SignedSurveyResponseMessage) XdrMarshal

func (v *SignedSurveyResponseMessage) XdrMarshal(x XDR, name string)

func (*SignedSurveyResponseMessage) XdrPointer

func (v *SignedSurveyResponseMessage) XdrPointer() interface{}

func (*SignedSurveyResponseMessage) XdrRecurse

func (v *SignedSurveyResponseMessage) XdrRecurse(x XDR, name string)

func (SignedSurveyResponseMessage) XdrTypeName

func (SignedSurveyResponseMessage) XdrTypeName() string

func (SignedSurveyResponseMessage) XdrValue

func (v SignedSurveyResponseMessage) XdrValue() interface{}

type Signer

type Signer struct {
	Key SignerKey
	// really only need 1 byte
	Weight Uint32
}

func XDR_Signer

func XDR_Signer(v *Signer) *Signer

func (*Signer) XdrMarshal

func (v *Signer) XdrMarshal(x XDR, name string)

func (*Signer) XdrPointer

func (v *Signer) XdrPointer() interface{}

func (*Signer) XdrRecurse

func (v *Signer) XdrRecurse(x XDR, name string)

func (Signer) XdrTypeName

func (Signer) XdrTypeName() string

func (Signer) XdrValue

func (v Signer) XdrValue() interface{}

type SignerKey

type SignerKey struct {
	// The union discriminant Type selects among the following arms:
	//   SIGNER_KEY_TYPE_ED25519:
	//      Ed25519() *Uint256
	//   SIGNER_KEY_TYPE_PRE_AUTH_TX:
	//      PreAuthTx() *Uint256
	//   SIGNER_KEY_TYPE_HASH_X:
	//      HashX() *Uint256
	Type SignerKeyType
	// contains filtered or unexported fields
}

func XDR_SignerKey

func XDR_SignerKey(v *SignerKey) *SignerKey

func (*SignerKey) Ed25519

func (u *SignerKey) Ed25519() *Uint256

func (*SignerKey) HashX

func (u *SignerKey) HashX() *Uint256

Hash of random 256 bit preimage X

func (SignerKey) Hint

func (pk SignerKey) Hint() SignatureHint

Returns the last 4 bytes of a SignerKey, as required for the Hint field in a DecoratedSignature.

func (*SignerKey) PreAuthTx

func (u *SignerKey) PreAuthTx() *Uint256

SHA-256 Hash of TransactionSignaturePayload structure

func (*SignerKey) Scan

func (pk *SignerKey) Scan(ss fmt.ScanState, _ rune) error

Parses a signer in strkey format.

func (SignerKey) String

func (pk SignerKey) String() string

Renders a SignerKey in strkey format.

func (SignerKey) ToSignerKey

func (pk SignerKey) ToSignerKey() SignerKey

func (*SignerKey) UnmarshalText

func (pk *SignerKey) UnmarshalText(bs []byte) error

Parses a signer in strkey format.

func (*SignerKey) XdrMarshal

func (v *SignerKey) XdrMarshal(x XDR, name string)

func (*SignerKey) XdrPointer

func (v *SignerKey) XdrPointer() interface{}

func (*SignerKey) XdrRecurse

func (u *SignerKey) XdrRecurse(x XDR, name string)

func (SignerKey) XdrTypeName

func (SignerKey) XdrTypeName() string

func (*SignerKey) XdrUnionBody

func (u *SignerKey) XdrUnionBody() XdrType

func (*SignerKey) XdrUnionBodyName

func (u *SignerKey) XdrUnionBodyName() string

func (*SignerKey) XdrUnionTag

func (u *SignerKey) XdrUnionTag() XdrNum32

func (*SignerKey) XdrUnionTagName

func (u *SignerKey) XdrUnionTagName() string

func (SignerKey) XdrValid

func (u SignerKey) XdrValid() bool

func (SignerKey) XdrValidTags

func (_ SignerKey) XdrValidTags() map[int32]bool

func (SignerKey) XdrValue

func (v SignerKey) XdrValue() interface{}

type SignerKeyType

type SignerKeyType int32
const (
	SIGNER_KEY_TYPE_ED25519     SignerKeyType = SignerKeyType(KEY_TYPE_ED25519)
	SIGNER_KEY_TYPE_PRE_AUTH_TX SignerKeyType = SignerKeyType(KEY_TYPE_PRE_AUTH_TX)
	SIGNER_KEY_TYPE_HASH_X      SignerKeyType = SignerKeyType(KEY_TYPE_HASH_X)
)

func XDR_SignerKeyType

func XDR_SignerKeyType(v *SignerKeyType) *SignerKeyType

func (SignerKeyType) GetU32

func (v SignerKeyType) GetU32() uint32

func (*SignerKeyType) Scan

func (v *SignerKeyType) Scan(ss fmt.ScanState, _ rune) error

func (*SignerKeyType) SetU32

func (v *SignerKeyType) SetU32(n uint32)

func (SignerKeyType) String

func (v SignerKeyType) String() string

func (SignerKeyType) XdrEnumNames

func (SignerKeyType) XdrEnumNames() map[int32]string

func (*SignerKeyType) XdrMarshal

func (v *SignerKeyType) XdrMarshal(x XDR, name string)

func (*SignerKeyType) XdrPointer

func (v *SignerKeyType) XdrPointer() interface{}

func (SignerKeyType) XdrTypeName

func (SignerKeyType) XdrTypeName() string

func (SignerKeyType) XdrValue

func (v SignerKeyType) XdrValue() interface{}

type SimplePaymentResult

type SimplePaymentResult struct {
	Destination AccountID
	Asset       Asset
	Amount      Int64
}

func XDR_SimplePaymentResult

func XDR_SimplePaymentResult(v *SimplePaymentResult) *SimplePaymentResult

func (*SimplePaymentResult) XdrMarshal

func (v *SimplePaymentResult) XdrMarshal(x XDR, name string)

func (*SimplePaymentResult) XdrPointer

func (v *SimplePaymentResult) XdrPointer() interface{}

func (*SimplePaymentResult) XdrRecurse

func (v *SimplePaymentResult) XdrRecurse(x XDR, name string)

func (SimplePaymentResult) XdrTypeName

func (SimplePaymentResult) XdrTypeName() string

func (SimplePaymentResult) XdrValue

func (v SimplePaymentResult) XdrValue() interface{}

type SponsorshipDescriptor

type SponsorshipDescriptor = *AccountID

type StellarMessage

type StellarMessage struct {
	// The union discriminant Type selects among the following arms:
	//   ERROR_MSG:
	//      Error() *Error
	//   HELLO:
	//      Hello() *Hello
	//   AUTH:
	//      Auth() *Auth
	//   DONT_HAVE:
	//      DontHave() *DontHave
	//   GET_PEERS:
	//      void
	//   PEERS:
	//      Peers() *[]PeerAddress // bound 100
	//   GET_TX_SET:
	//      TxSetHash() *Uint256
	//   TX_SET:
	//      TxSet() *TransactionSet
	//   TRANSACTION:
	//      Transaction() *TransactionEnvelope
	//   SURVEY_REQUEST:
	//      SignedSurveyRequestMessage() *SignedSurveyRequestMessage
	//   SURVEY_RESPONSE:
	//      SignedSurveyResponseMessage() *SignedSurveyResponseMessage
	//   GET_SCP_QUORUMSET:
	//      QSetHash() *Uint256
	//   SCP_QUORUMSET:
	//      QSet() *SCPQuorumSet
	//   SCP_MESSAGE:
	//      Envelope() *SCPEnvelope
	//   GET_SCP_STATE:
	//      GetSCPLedgerSeq() *Uint32
	Type MessageType
	// contains filtered or unexported fields
}

func XDR_StellarMessage

func XDR_StellarMessage(v *StellarMessage) *StellarMessage

func (*StellarMessage) Auth

func (u *StellarMessage) Auth() *Auth

func (*StellarMessage) DontHave

func (u *StellarMessage) DontHave() *DontHave

func (*StellarMessage) Envelope

func (u *StellarMessage) Envelope() *SCPEnvelope

func (*StellarMessage) Error

func (u *StellarMessage) Error() *Error

func (*StellarMessage) GetSCPLedgerSeq

func (u *StellarMessage) GetSCPLedgerSeq() *Uint32

ledger seq requested ; if 0, requests the latest

func (*StellarMessage) Hello

func (u *StellarMessage) Hello() *Hello

func (*StellarMessage) Peers

func (u *StellarMessage) Peers() *[]PeerAddress

func (*StellarMessage) QSet

func (u *StellarMessage) QSet() *SCPQuorumSet

func (*StellarMessage) QSetHash

func (u *StellarMessage) QSetHash() *Uint256

func (*StellarMessage) SignedSurveyRequestMessage

func (u *StellarMessage) SignedSurveyRequestMessage() *SignedSurveyRequestMessage

func (*StellarMessage) SignedSurveyResponseMessage

func (u *StellarMessage) SignedSurveyResponseMessage() *SignedSurveyResponseMessage

func (*StellarMessage) Transaction

func (u *StellarMessage) Transaction() *TransactionEnvelope

func (*StellarMessage) TxSet

func (u *StellarMessage) TxSet() *TransactionSet

func (*StellarMessage) TxSetHash

func (u *StellarMessage) TxSetHash() *Uint256

func (*StellarMessage) XdrMarshal

func (v *StellarMessage) XdrMarshal(x XDR, name string)

func (*StellarMessage) XdrPointer

func (v *StellarMessage) XdrPointer() interface{}

func (*StellarMessage) XdrRecurse

func (u *StellarMessage) XdrRecurse(x XDR, name string)

func (StellarMessage) XdrTypeName

func (StellarMessage) XdrTypeName() string

func (*StellarMessage) XdrUnionBody

func (u *StellarMessage) XdrUnionBody() XdrType

func (*StellarMessage) XdrUnionBodyName

func (u *StellarMessage) XdrUnionBodyName() string

func (*StellarMessage) XdrUnionTag

func (u *StellarMessage) XdrUnionTag() XdrNum32

func (*StellarMessage) XdrUnionTagName

func (u *StellarMessage) XdrUnionTagName() string

func (StellarMessage) XdrValid

func (u StellarMessage) XdrValid() bool

func (StellarMessage) XdrValidTags

func (_ StellarMessage) XdrValidTags() map[int32]bool

func (StellarMessage) XdrValue

func (v StellarMessage) XdrValue() interface{}

type StellarValue

type StellarValue struct {
	// transaction set to apply to previous ledger
	TxSetHash Hash
	// network close time
	CloseTime TimePoint
	// upgrades to apply to the previous ledger (usually empty)
	// this is a vector of encoded 'LedgerUpgrade' so that nodes can drop
	// unknown steps during consensus if needed.
	// see notes below on 'LedgerUpgrade' for more detail
	// max size is dictated by number of upgrade types (+ room for future)
	Upgrades []UpgradeType // bound 6
	Ext      XdrAnon_StellarValue_Ext
}

StellarValue is the value used by SCP to reach consensus on a given ledger

func XDR_StellarValue

func XDR_StellarValue(v *StellarValue) *StellarValue

func (*StellarValue) XdrMarshal

func (v *StellarValue) XdrMarshal(x XDR, name string)

func (*StellarValue) XdrPointer

func (v *StellarValue) XdrPointer() interface{}

func (*StellarValue) XdrRecurse

func (v *StellarValue) XdrRecurse(x XDR, name string)

func (StellarValue) XdrTypeName

func (StellarValue) XdrTypeName() string

func (StellarValue) XdrValue

func (v StellarValue) XdrValue() interface{}

type StellarValueType

type StellarValueType int32
const (
	STELLAR_VALUE_BASIC  StellarValueType = 0
	STELLAR_VALUE_SIGNED StellarValueType = 1
)

func XDR_StellarValueType

func XDR_StellarValueType(v *StellarValueType) *StellarValueType

func (StellarValueType) GetU32

func (v StellarValueType) GetU32() uint32

func (*StellarValueType) Scan

func (v *StellarValueType) Scan(ss fmt.ScanState, _ rune) error

func (*StellarValueType) SetU32

func (v *StellarValueType) SetU32(n uint32)

func (StellarValueType) String

func (v StellarValueType) String() string

func (StellarValueType) XdrEnumNames

func (StellarValueType) XdrEnumNames() map[int32]string

func (*StellarValueType) XdrMarshal

func (v *StellarValueType) XdrMarshal(x XDR, name string)

func (*StellarValueType) XdrPointer

func (v *StellarValueType) XdrPointer() interface{}

func (StellarValueType) XdrTypeName

func (StellarValueType) XdrTypeName() string

func (StellarValueType) XdrValue

func (v StellarValueType) XdrValue() interface{}

type StrKeyError

type StrKeyError string

func (StrKeyError) Error

func (e StrKeyError) Error() string

type StrKeyVersionByte

type StrKeyVersionByte byte
const (
	STRKEY_PUBKEY      StrKeyVersionByte = 6 << 3  // 'G'
	STRKEY_MUXED       StrKeyVersionByte = 12 << 3 // 'M'
	STRKEY_PRIVKEY     StrKeyVersionByte = 18 << 3 // 'S'
	STRKEY_PRE_AUTH_TX StrKeyVersionByte = 19 << 3 // 'T',
	STRKEY_HASH_X      StrKeyVersionByte = 23 << 3 // 'X'
	STRKEY_ERROR       StrKeyVersionByte = 255
)

func FromStrKey

func FromStrKey(in []byte) ([]byte, StrKeyVersionByte)

FromStrKey decodes a strkey-format string into the raw bytes of the key and the type of key. Returns the reserved StrKeyVersionByte STRKEY_ERROR if it fails to decode the string.

type String32

type String32 = string // bound 32

type String64

type String64 = string // bound 64

type SurveyMessageCommandType

type SurveyMessageCommandType int32
const (
	SURVEY_TOPOLOGY SurveyMessageCommandType = 0
)

func (SurveyMessageCommandType) GetU32

func (v SurveyMessageCommandType) GetU32() uint32

func (*SurveyMessageCommandType) Scan

func (*SurveyMessageCommandType) SetU32

func (v *SurveyMessageCommandType) SetU32(n uint32)

func (SurveyMessageCommandType) String

func (v SurveyMessageCommandType) String() string

func (SurveyMessageCommandType) XdrEnumNames

func (SurveyMessageCommandType) XdrEnumNames() map[int32]string

func (*SurveyMessageCommandType) XdrMarshal

func (v *SurveyMessageCommandType) XdrMarshal(x XDR, name string)

func (*SurveyMessageCommandType) XdrPointer

func (v *SurveyMessageCommandType) XdrPointer() interface{}

func (SurveyMessageCommandType) XdrTypeName

func (SurveyMessageCommandType) XdrTypeName() string

func (SurveyMessageCommandType) XdrValue

func (v SurveyMessageCommandType) XdrValue() interface{}

type SurveyRequestMessage

type SurveyRequestMessage struct {
	SurveyorPeerID NodeID
	SurveyedPeerID NodeID
	LedgerNum      Uint32
	EncryptionKey  Curve25519Public
	CommandType    SurveyMessageCommandType
}

func XDR_SurveyRequestMessage

func XDR_SurveyRequestMessage(v *SurveyRequestMessage) *SurveyRequestMessage

func (*SurveyRequestMessage) XdrMarshal

func (v *SurveyRequestMessage) XdrMarshal(x XDR, name string)

func (*SurveyRequestMessage) XdrPointer

func (v *SurveyRequestMessage) XdrPointer() interface{}

func (*SurveyRequestMessage) XdrRecurse

func (v *SurveyRequestMessage) XdrRecurse(x XDR, name string)

func (SurveyRequestMessage) XdrTypeName

func (SurveyRequestMessage) XdrTypeName() string

func (SurveyRequestMessage) XdrValue

func (v SurveyRequestMessage) XdrValue() interface{}

type SurveyResponseBody

type SurveyResponseBody struct {
	// The union discriminant Type selects among the following arms:
	//   SURVEY_TOPOLOGY:
	//      TopologyResponseBody() *TopologyResponseBody
	Type SurveyMessageCommandType
	// contains filtered or unexported fields
}

func XDR_SurveyResponseBody

func XDR_SurveyResponseBody(v *SurveyResponseBody) *SurveyResponseBody

func (*SurveyResponseBody) TopologyResponseBody

func (u *SurveyResponseBody) TopologyResponseBody() *TopologyResponseBody

func (*SurveyResponseBody) XdrMarshal

func (v *SurveyResponseBody) XdrMarshal(x XDR, name string)

func (*SurveyResponseBody) XdrPointer

func (v *SurveyResponseBody) XdrPointer() interface{}

func (*SurveyResponseBody) XdrRecurse

func (u *SurveyResponseBody) XdrRecurse(x XDR, name string)

func (SurveyResponseBody) XdrTypeName

func (SurveyResponseBody) XdrTypeName() string

func (*SurveyResponseBody) XdrUnionBody

func (u *SurveyResponseBody) XdrUnionBody() XdrType

func (*SurveyResponseBody) XdrUnionBodyName

func (u *SurveyResponseBody) XdrUnionBodyName() string

func (*SurveyResponseBody) XdrUnionTag

func (u *SurveyResponseBody) XdrUnionTag() XdrNum32

func (*SurveyResponseBody) XdrUnionTagName

func (u *SurveyResponseBody) XdrUnionTagName() string

func (SurveyResponseBody) XdrValid

func (u SurveyResponseBody) XdrValid() bool

func (SurveyResponseBody) XdrValidTags

func (_ SurveyResponseBody) XdrValidTags() map[int32]bool

func (SurveyResponseBody) XdrValue

func (v SurveyResponseBody) XdrValue() interface{}

type SurveyResponseMessage

type SurveyResponseMessage struct {
	SurveyorPeerID NodeID
	SurveyedPeerID NodeID
	LedgerNum      Uint32
	CommandType    SurveyMessageCommandType
	EncryptedBody  EncryptedBody
}

func XDR_SurveyResponseMessage

func XDR_SurveyResponseMessage(v *SurveyResponseMessage) *SurveyResponseMessage

func (*SurveyResponseMessage) XdrMarshal

func (v *SurveyResponseMessage) XdrMarshal(x XDR, name string)

func (*SurveyResponseMessage) XdrPointer

func (v *SurveyResponseMessage) XdrPointer() interface{}

func (*SurveyResponseMessage) XdrRecurse

func (v *SurveyResponseMessage) XdrRecurse(x XDR, name string)

func (SurveyResponseMessage) XdrTypeName

func (SurveyResponseMessage) XdrTypeName() string

func (SurveyResponseMessage) XdrValue

func (v SurveyResponseMessage) XdrValue() interface{}

type ThresholdIndexes

type ThresholdIndexes int32

the 'Thresholds' type is packed uint8_t values defined by these indexes

const (
	THRESHOLD_MASTER_WEIGHT ThresholdIndexes = 0
	THRESHOLD_LOW           ThresholdIndexes = 1
	THRESHOLD_MED           ThresholdIndexes = 2
	THRESHOLD_HIGH          ThresholdIndexes = 3
)

func XDR_ThresholdIndexes

func XDR_ThresholdIndexes(v *ThresholdIndexes) *ThresholdIndexes

func (ThresholdIndexes) GetU32

func (v ThresholdIndexes) GetU32() uint32

func (*ThresholdIndexes) Scan

func (v *ThresholdIndexes) Scan(ss fmt.ScanState, _ rune) error

func (*ThresholdIndexes) SetU32

func (v *ThresholdIndexes) SetU32(n uint32)

func (ThresholdIndexes) String

func (v ThresholdIndexes) String() string

func (ThresholdIndexes) XdrEnumNames

func (ThresholdIndexes) XdrEnumNames() map[int32]string

func (*ThresholdIndexes) XdrMarshal

func (v *ThresholdIndexes) XdrMarshal(x XDR, name string)

func (*ThresholdIndexes) XdrPointer

func (v *ThresholdIndexes) XdrPointer() interface{}

func (ThresholdIndexes) XdrTypeName

func (ThresholdIndexes) XdrTypeName() string

func (ThresholdIndexes) XdrValue

func (v ThresholdIndexes) XdrValue() interface{}

type Thresholds

type Thresholds = [4]byte

type TimeBounds

type TimeBounds struct {
	MinTime TimePoint
	// 0 here means no maxTime
	MaxTime TimePoint
}

func XDR_TimeBounds

func XDR_TimeBounds(v *TimeBounds) *TimeBounds

func (*TimeBounds) XdrMarshal

func (v *TimeBounds) XdrMarshal(x XDR, name string)

func (*TimeBounds) XdrPointer

func (v *TimeBounds) XdrPointer() interface{}

func (*TimeBounds) XdrRecurse

func (v *TimeBounds) XdrRecurse(x XDR, name string)

func (TimeBounds) XdrTypeName

func (TimeBounds) XdrTypeName() string

func (TimeBounds) XdrValue

func (v TimeBounds) XdrValue() interface{}

type TimePoint

type TimePoint = Uint64

type TopologyResponseBody

type TopologyResponseBody struct {
	InboundPeers           PeerStatList
	OutboundPeers          PeerStatList
	TotalInboundPeerCount  Uint32
	TotalOutboundPeerCount Uint32
}

func XDR_TopologyResponseBody

func XDR_TopologyResponseBody(v *TopologyResponseBody) *TopologyResponseBody

func (*TopologyResponseBody) XdrMarshal

func (v *TopologyResponseBody) XdrMarshal(x XDR, name string)

func (*TopologyResponseBody) XdrPointer

func (v *TopologyResponseBody) XdrPointer() interface{}

func (*TopologyResponseBody) XdrRecurse

func (v *TopologyResponseBody) XdrRecurse(x XDR, name string)

func (TopologyResponseBody) XdrTypeName

func (TopologyResponseBody) XdrTypeName() string

func (TopologyResponseBody) XdrValue

func (v TopologyResponseBody) XdrValue() interface{}

type Transaction

type Transaction struct {
	// account used to run the transaction
	SourceAccount MuxedAccount
	// the fee the sourceAccount will pay
	Fee Uint32
	// sequence number to consume in the account
	SeqNum SequenceNumber
	// validity range (inclusive) for the last ledger close time
	TimeBounds *TimeBounds
	Memo       Memo
	Operations []Operation // bound MAX_OPS_PER_TX
	Ext        XdrAnon_Transaction_Ext
}

a transaction is a container for a set of operations

  • is executed by an account
  • fees are collected from the account
  • operations are executed in order as one ACID transaction either all operations are applied or none are if any returns a failing code

func XDR_Transaction

func XDR_Transaction(v *Transaction) *Transaction

func (*Transaction) WriteTaggedTx

func (tx *Transaction) WriteTaggedTx(w io.Writer)

func (*Transaction) XdrMarshal

func (v *Transaction) XdrMarshal(x XDR, name string)

func (*Transaction) XdrPointer

func (v *Transaction) XdrPointer() interface{}

func (*Transaction) XdrRecurse

func (v *Transaction) XdrRecurse(x XDR, name string)

func (Transaction) XdrTypeName

func (Transaction) XdrTypeName() string

func (Transaction) XdrValue

func (v Transaction) XdrValue() interface{}

type TransactionEnvelope

type TransactionEnvelope struct {
	// The union discriminant Type selects among the following arms:
	//   ENVELOPE_TYPE_TX_V0:
	//      V0() *TransactionV0Envelope
	//   ENVELOPE_TYPE_TX:
	//      V1() *TransactionV1Envelope
	//   ENVELOPE_TYPE_TX_FEE_BUMP:
	//      FeeBump() *FeeBumpTransactionEnvelope
	Type EnvelopeType
	// contains filtered or unexported fields
}

A TransactionEnvelope wraps a transaction with signatures.

func XDR_TransactionEnvelope

func XDR_TransactionEnvelope(v *TransactionEnvelope) *TransactionEnvelope

func (*TransactionEnvelope) FeeBump

func (*TransactionEnvelope) Operations

func (tx *TransactionEnvelope) Operations() *[]Operation

func (*TransactionEnvelope) Signatures

func (tx *TransactionEnvelope) Signatures() *[]DecoratedSignature

func (*TransactionEnvelope) V0

func (*TransactionEnvelope) V1

func (*TransactionEnvelope) WriteTaggedTx

func (tx *TransactionEnvelope) WriteTaggedTx(w io.Writer)

func (*TransactionEnvelope) XdrMarshal

func (v *TransactionEnvelope) XdrMarshal(x XDR, name string)

func (*TransactionEnvelope) XdrPointer

func (v *TransactionEnvelope) XdrPointer() interface{}

func (*TransactionEnvelope) XdrRecurse

func (u *TransactionEnvelope) XdrRecurse(x XDR, name string)

func (TransactionEnvelope) XdrTypeName

func (TransactionEnvelope) XdrTypeName() string

func (*TransactionEnvelope) XdrUnionBody

func (u *TransactionEnvelope) XdrUnionBody() XdrType

func (*TransactionEnvelope) XdrUnionBodyName

func (u *TransactionEnvelope) XdrUnionBodyName() string

func (*TransactionEnvelope) XdrUnionTag

func (u *TransactionEnvelope) XdrUnionTag() XdrNum32

func (*TransactionEnvelope) XdrUnionTagName

func (u *TransactionEnvelope) XdrUnionTagName() string

func (TransactionEnvelope) XdrValid

func (u TransactionEnvelope) XdrValid() bool

func (TransactionEnvelope) XdrValidTags

func (_ TransactionEnvelope) XdrValidTags() map[int32]bool

func (TransactionEnvelope) XdrValue

func (v TransactionEnvelope) XdrValue() interface{}

type TransactionHistoryEntry

type TransactionHistoryEntry struct {
	LedgerSeq Uint32
	TxSet     TransactionSet
	Ext       XdrAnon_TransactionHistoryEntry_Ext
}

func (*TransactionHistoryEntry) XdrMarshal

func (v *TransactionHistoryEntry) XdrMarshal(x XDR, name string)

func (*TransactionHistoryEntry) XdrPointer

func (v *TransactionHistoryEntry) XdrPointer() interface{}

func (*TransactionHistoryEntry) XdrRecurse

func (v *TransactionHistoryEntry) XdrRecurse(x XDR, name string)

func (TransactionHistoryEntry) XdrTypeName

func (TransactionHistoryEntry) XdrTypeName() string

func (TransactionHistoryEntry) XdrValue

func (v TransactionHistoryEntry) XdrValue() interface{}

type TransactionHistoryResultEntry

type TransactionHistoryResultEntry struct {
	LedgerSeq   Uint32
	TxResultSet TransactionResultSet
	Ext         XdrAnon_TransactionHistoryResultEntry_Ext
}

func (*TransactionHistoryResultEntry) XdrMarshal

func (v *TransactionHistoryResultEntry) XdrMarshal(x XDR, name string)

func (*TransactionHistoryResultEntry) XdrPointer

func (v *TransactionHistoryResultEntry) XdrPointer() interface{}

func (*TransactionHistoryResultEntry) XdrRecurse

func (v *TransactionHistoryResultEntry) XdrRecurse(x XDR, name string)

func (TransactionHistoryResultEntry) XdrTypeName

func (TransactionHistoryResultEntry) XdrTypeName() string

func (TransactionHistoryResultEntry) XdrValue

func (v TransactionHistoryResultEntry) XdrValue() interface{}

type TransactionMeta

type TransactionMeta struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      Operations() *[]OperationMeta
	//   1:
	//      V1() *TransactionMetaV1
	//   2:
	//      V2() *TransactionMetaV2
	V int32
	// contains filtered or unexported fields
}

this is the meta produced when applying transactions it does not include pre-apply updates such as fees

func XDR_TransactionMeta

func XDR_TransactionMeta(v *TransactionMeta) *TransactionMeta

func (*TransactionMeta) Operations

func (u *TransactionMeta) Operations() *[]OperationMeta

func (*TransactionMeta) V1

func (*TransactionMeta) V2

func (*TransactionMeta) XdrMarshal

func (v *TransactionMeta) XdrMarshal(x XDR, name string)

func (*TransactionMeta) XdrPointer

func (v *TransactionMeta) XdrPointer() interface{}

func (*TransactionMeta) XdrRecurse

func (u *TransactionMeta) XdrRecurse(x XDR, name string)

func (TransactionMeta) XdrTypeName

func (TransactionMeta) XdrTypeName() string

func (*TransactionMeta) XdrUnionBody

func (u *TransactionMeta) XdrUnionBody() XdrType

func (*TransactionMeta) XdrUnionBodyName

func (u *TransactionMeta) XdrUnionBodyName() string

func (*TransactionMeta) XdrUnionTag

func (u *TransactionMeta) XdrUnionTag() XdrNum32

func (*TransactionMeta) XdrUnionTagName

func (u *TransactionMeta) XdrUnionTagName() string

func (TransactionMeta) XdrValid

func (u TransactionMeta) XdrValid() bool

func (TransactionMeta) XdrValidTags

func (_ TransactionMeta) XdrValidTags() map[int32]bool

func (TransactionMeta) XdrValue

func (v TransactionMeta) XdrValue() interface{}

type TransactionMetaV1

type TransactionMetaV1 struct {
	// tx level changes if any
	TxChanges LedgerEntryChanges
	// meta for each operation
	Operations []OperationMeta
}

func XDR_TransactionMetaV1

func XDR_TransactionMetaV1(v *TransactionMetaV1) *TransactionMetaV1

func (*TransactionMetaV1) XdrMarshal

func (v *TransactionMetaV1) XdrMarshal(x XDR, name string)

func (*TransactionMetaV1) XdrPointer

func (v *TransactionMetaV1) XdrPointer() interface{}

func (*TransactionMetaV1) XdrRecurse

func (v *TransactionMetaV1) XdrRecurse(x XDR, name string)

func (TransactionMetaV1) XdrTypeName

func (TransactionMetaV1) XdrTypeName() string

func (TransactionMetaV1) XdrValue

func (v TransactionMetaV1) XdrValue() interface{}

type TransactionMetaV2

type TransactionMetaV2 struct {
	// tx level changes before operations
	TxChangesBefore LedgerEntryChanges
	// are applied if any
	Operations []OperationMeta
	// tx level changes after operations are
	TxChangesAfter LedgerEntryChanges
}

func XDR_TransactionMetaV2

func XDR_TransactionMetaV2(v *TransactionMetaV2) *TransactionMetaV2

func (*TransactionMetaV2) XdrMarshal

func (v *TransactionMetaV2) XdrMarshal(x XDR, name string)

func (*TransactionMetaV2) XdrPointer

func (v *TransactionMetaV2) XdrPointer() interface{}

func (*TransactionMetaV2) XdrRecurse

func (v *TransactionMetaV2) XdrRecurse(x XDR, name string)

func (TransactionMetaV2) XdrTypeName

func (TransactionMetaV2) XdrTypeName() string

func (TransactionMetaV2) XdrValue

func (v TransactionMetaV2) XdrValue() interface{}

type TransactionResult

type TransactionResult struct {
	// actual fee charged for the transaction
	FeeCharged Int64
	Result     XdrAnon_TransactionResult_Result
	Ext        XdrAnon_TransactionResult_Ext
}

func XDR_TransactionResult

func XDR_TransactionResult(v *TransactionResult) *TransactionResult

func (*TransactionResult) XdrMarshal

func (v *TransactionResult) XdrMarshal(x XDR, name string)

func (*TransactionResult) XdrPointer

func (v *TransactionResult) XdrPointer() interface{}

func (*TransactionResult) XdrRecurse

func (v *TransactionResult) XdrRecurse(x XDR, name string)

func (TransactionResult) XdrTypeName

func (TransactionResult) XdrTypeName() string

func (TransactionResult) XdrValue

func (v TransactionResult) XdrValue() interface{}

type TransactionResultCode

type TransactionResultCode int32
const (
	// fee bump inner transaction succeeded
	TxFEE_BUMP_INNER_SUCCESS TransactionResultCode = 1
	// all operations succeeded
	TxSUCCESS TransactionResultCode = 0
	// one of the operations failed (none were applied)
	TxFAILED TransactionResultCode = -1
	// ledger closeTime before minTime
	TxTOO_EARLY TransactionResultCode = -2
	// ledger closeTime after maxTime
	TxTOO_LATE TransactionResultCode = -3
	// no operation was specified
	TxMISSING_OPERATION TransactionResultCode = -4
	// sequence number does not match source account
	TxBAD_SEQ TransactionResultCode = -5
	// too few valid signatures / wrong network
	TxBAD_AUTH TransactionResultCode = -6
	// fee would bring account below reserve
	TxINSUFFICIENT_BALANCE TransactionResultCode = -7
	// source account not found
	TxNO_ACCOUNT TransactionResultCode = -8
	// fee is too small
	TxINSUFFICIENT_FEE TransactionResultCode = -9
	// unused signatures attached to transaction
	TxBAD_AUTH_EXTRA TransactionResultCode = -10
	// an unknown error occurred
	TxINTERNAL_ERROR TransactionResultCode = -11
	// transaction type not supported
	TxNOT_SUPPORTED TransactionResultCode = -12
	// fee bump inner transaction failed
	TxFEE_BUMP_INNER_FAILED TransactionResultCode = -13
	// sponsorship not confirmed
	TxBAD_SPONSORSHIP TransactionResultCode = -14
)

func XDR_TransactionResultCode

func XDR_TransactionResultCode(v *TransactionResultCode) *TransactionResultCode

func (TransactionResultCode) GetU32

func (v TransactionResultCode) GetU32() uint32

func (*TransactionResultCode) Scan

func (v *TransactionResultCode) Scan(ss fmt.ScanState, _ rune) error

func (*TransactionResultCode) SetU32

func (v *TransactionResultCode) SetU32(n uint32)

func (TransactionResultCode) String

func (v TransactionResultCode) String() string

func (TransactionResultCode) XdrEnumComments

func (e TransactionResultCode) XdrEnumComments() map[int32]string

func (TransactionResultCode) XdrEnumNames

func (TransactionResultCode) XdrEnumNames() map[int32]string

func (*TransactionResultCode) XdrMarshal

func (v *TransactionResultCode) XdrMarshal(x XDR, name string)

func (*TransactionResultCode) XdrPointer

func (v *TransactionResultCode) XdrPointer() interface{}

func (TransactionResultCode) XdrTypeName

func (TransactionResultCode) XdrTypeName() string

func (TransactionResultCode) XdrValue

func (v TransactionResultCode) XdrValue() interface{}

type TransactionResultMeta

type TransactionResultMeta struct {
	Result            TransactionResultPair
	FeeProcessing     LedgerEntryChanges
	TxApplyProcessing TransactionMeta
}

This struct groups together changes on a per transaction basis note however that fees and transaction application are done in separate phases

func XDR_TransactionResultMeta

func XDR_TransactionResultMeta(v *TransactionResultMeta) *TransactionResultMeta

func (*TransactionResultMeta) XdrMarshal

func (v *TransactionResultMeta) XdrMarshal(x XDR, name string)

func (*TransactionResultMeta) XdrPointer

func (v *TransactionResultMeta) XdrPointer() interface{}

func (*TransactionResultMeta) XdrRecurse

func (v *TransactionResultMeta) XdrRecurse(x XDR, name string)

func (TransactionResultMeta) XdrTypeName

func (TransactionResultMeta) XdrTypeName() string

func (TransactionResultMeta) XdrValue

func (v TransactionResultMeta) XdrValue() interface{}

type TransactionResultPair

type TransactionResultPair struct {
	TransactionHash Hash
	// result for the transaction
	Result TransactionResult
}

func XDR_TransactionResultPair

func XDR_TransactionResultPair(v *TransactionResultPair) *TransactionResultPair

func (*TransactionResultPair) XdrMarshal

func (v *TransactionResultPair) XdrMarshal(x XDR, name string)

func (*TransactionResultPair) XdrPointer

func (v *TransactionResultPair) XdrPointer() interface{}

func (*TransactionResultPair) XdrRecurse

func (v *TransactionResultPair) XdrRecurse(x XDR, name string)

func (TransactionResultPair) XdrTypeName

func (TransactionResultPair) XdrTypeName() string

func (TransactionResultPair) XdrValue

func (v TransactionResultPair) XdrValue() interface{}

type TransactionResultSet

type TransactionResultSet struct {
	Results []TransactionResultPair
}

TransactionResultSet is used to recover results between ledgers

func XDR_TransactionResultSet

func XDR_TransactionResultSet(v *TransactionResultSet) *TransactionResultSet

func (*TransactionResultSet) XdrMarshal

func (v *TransactionResultSet) XdrMarshal(x XDR, name string)

func (*TransactionResultSet) XdrPointer

func (v *TransactionResultSet) XdrPointer() interface{}

func (*TransactionResultSet) XdrRecurse

func (v *TransactionResultSet) XdrRecurse(x XDR, name string)

func (TransactionResultSet) XdrTypeName

func (TransactionResultSet) XdrTypeName() string

func (TransactionResultSet) XdrValue

func (v TransactionResultSet) XdrValue() interface{}

type TransactionSet

type TransactionSet struct {
	PreviousLedgerHash Hash
	Txs                []TransactionEnvelope
}

Transaction sets are the unit used by SCP to decide on transitions between ledgers

func XDR_TransactionSet

func XDR_TransactionSet(v *TransactionSet) *TransactionSet

func (*TransactionSet) XdrMarshal

func (v *TransactionSet) XdrMarshal(x XDR, name string)

func (*TransactionSet) XdrPointer

func (v *TransactionSet) XdrPointer() interface{}

func (*TransactionSet) XdrRecurse

func (v *TransactionSet) XdrRecurse(x XDR, name string)

func (TransactionSet) XdrTypeName

func (TransactionSet) XdrTypeName() string

func (TransactionSet) XdrValue

func (v TransactionSet) XdrValue() interface{}

type TransactionSignaturePayload

type TransactionSignaturePayload struct {
	NetworkId         Hash
	TaggedTransaction XdrAnon_TransactionSignaturePayload_TaggedTransaction
}

func (*TransactionSignaturePayload) WriteTaggedTx

func (t *TransactionSignaturePayload) WriteTaggedTx(w io.Writer)

func (*TransactionSignaturePayload) XdrMarshal

func (v *TransactionSignaturePayload) XdrMarshal(x XDR, name string)

func (*TransactionSignaturePayload) XdrPointer

func (v *TransactionSignaturePayload) XdrPointer() interface{}

func (*TransactionSignaturePayload) XdrRecurse

func (v *TransactionSignaturePayload) XdrRecurse(x XDR, name string)

func (TransactionSignaturePayload) XdrTypeName

func (TransactionSignaturePayload) XdrTypeName() string

func (TransactionSignaturePayload) XdrValue

func (v TransactionSignaturePayload) XdrValue() interface{}

type TransactionV0

type TransactionV0 struct {
	SourceAccountEd25519 Uint256
	Fee                  Uint32
	SeqNum               SequenceNumber
	TimeBounds           *TimeBounds
	Memo                 Memo
	Operations           []Operation // bound MAX_OPS_PER_TX
	Ext                  XdrAnon_TransactionV0_Ext
}

TransactionV0 is a transaction with the AccountID discriminant stripped off, leaving a raw ed25519 public key to identify the source account. This is used for backwards compatibility starting from the protocol 12/13 boundary. If an "old-style" TransactionEnvelope containing a Transaction is parsed with this XDR definition, it will be parsed as a "new-style" TransactionEnvelope containing a TransactionV0.

func XDR_TransactionV0

func XDR_TransactionV0(v *TransactionV0) *TransactionV0

func (*TransactionV0) WriteTaggedTx

func (tx *TransactionV0) WriteTaggedTx(w io.Writer)

func (*TransactionV0) XdrMarshal

func (v *TransactionV0) XdrMarshal(x XDR, name string)

func (*TransactionV0) XdrPointer

func (v *TransactionV0) XdrPointer() interface{}

func (*TransactionV0) XdrRecurse

func (v *TransactionV0) XdrRecurse(x XDR, name string)

func (TransactionV0) XdrTypeName

func (TransactionV0) XdrTypeName() string

func (TransactionV0) XdrValue

func (v TransactionV0) XdrValue() interface{}

type TransactionV0Envelope

type TransactionV0Envelope struct {
	Tx TransactionV0
	/* Each decorated signature is a signature over the SHA256 hash of
	 * a TransactionSignaturePayload */
	Signatures []DecoratedSignature // bound 20
}

func XDR_TransactionV0Envelope

func XDR_TransactionV0Envelope(v *TransactionV0Envelope) *TransactionV0Envelope

func (*TransactionV0Envelope) WriteTaggedTx

func (tx *TransactionV0Envelope) WriteTaggedTx(w io.Writer)

func (*TransactionV0Envelope) XdrMarshal

func (v *TransactionV0Envelope) XdrMarshal(x XDR, name string)

func (*TransactionV0Envelope) XdrPointer

func (v *TransactionV0Envelope) XdrPointer() interface{}

func (*TransactionV0Envelope) XdrRecurse

func (v *TransactionV0Envelope) XdrRecurse(x XDR, name string)

func (TransactionV0Envelope) XdrTypeName

func (TransactionV0Envelope) XdrTypeName() string

func (TransactionV0Envelope) XdrValue

func (v TransactionV0Envelope) XdrValue() interface{}

type TransactionV1Envelope

type TransactionV1Envelope struct {
	Tx Transaction
	/* Each decorated signature is a signature over the SHA256 hash of
	 * a TransactionSignaturePayload */
	Signatures []DecoratedSignature // bound 20
}

func XDR_TransactionV1Envelope

func XDR_TransactionV1Envelope(v *TransactionV1Envelope) *TransactionV1Envelope

func (*TransactionV1Envelope) WriteTaggedTx

func (tx *TransactionV1Envelope) WriteTaggedTx(w io.Writer)

func (*TransactionV1Envelope) XdrMarshal

func (v *TransactionV1Envelope) XdrMarshal(x XDR, name string)

func (*TransactionV1Envelope) XdrPointer

func (v *TransactionV1Envelope) XdrPointer() interface{}

func (*TransactionV1Envelope) XdrRecurse

func (v *TransactionV1Envelope) XdrRecurse(x XDR, name string)

func (TransactionV1Envelope) XdrTypeName

func (TransactionV1Envelope) XdrTypeName() string

func (TransactionV1Envelope) XdrValue

func (v TransactionV1Envelope) XdrValue() interface{}

type TrustLineAsset added in v0.1.5

type TrustLineAsset struct {
	// The union discriminant Type selects among the following arms:
	//   ASSET_TYPE_NATIVE:
	//      void
	//   ASSET_TYPE_CREDIT_ALPHANUM4:
	//      AlphaNum4() *AlphaNum4
	//   ASSET_TYPE_CREDIT_ALPHANUM12:
	//      AlphaNum12() *AlphaNum12
	//   ASSET_TYPE_POOL_SHARE:
	//      LiquidityPoolID() *PoolID
	Type AssetType
	// contains filtered or unexported fields
}

func XDR_TrustLineAsset added in v0.1.5

func XDR_TrustLineAsset(v *TrustLineAsset) *TrustLineAsset

func (*TrustLineAsset) AlphaNum12 added in v0.1.5

func (u *TrustLineAsset) AlphaNum12() *AlphaNum12

func (*TrustLineAsset) AlphaNum4 added in v0.1.5

func (u *TrustLineAsset) AlphaNum4() *AlphaNum4

func (*TrustLineAsset) LiquidityPoolID added in v0.1.5

func (u *TrustLineAsset) LiquidityPoolID() *PoolID

func (*TrustLineAsset) Scan added in v0.1.6

func (a *TrustLineAsset) Scan(ss fmt.ScanState, r rune) error

func (TrustLineAsset) String added in v0.1.6

func (a TrustLineAsset) String() string

Renders a TrustLineAsset as Code:AccountID or hexid:lp.

func (*TrustLineAsset) XdrMarshal added in v0.1.5

func (v *TrustLineAsset) XdrMarshal(x XDR, name string)

func (*TrustLineAsset) XdrPointer added in v0.1.5

func (v *TrustLineAsset) XdrPointer() interface{}

func (*TrustLineAsset) XdrRecurse added in v0.1.5

func (u *TrustLineAsset) XdrRecurse(x XDR, name string)

func (TrustLineAsset) XdrTypeName added in v0.1.5

func (TrustLineAsset) XdrTypeName() string

func (*TrustLineAsset) XdrUnionBody added in v0.1.5

func (u *TrustLineAsset) XdrUnionBody() XdrType

func (*TrustLineAsset) XdrUnionBodyName added in v0.1.5

func (u *TrustLineAsset) XdrUnionBodyName() string

func (*TrustLineAsset) XdrUnionTag added in v0.1.5

func (u *TrustLineAsset) XdrUnionTag() XdrNum32

func (*TrustLineAsset) XdrUnionTagName added in v0.1.5

func (u *TrustLineAsset) XdrUnionTagName() string

func (TrustLineAsset) XdrValid added in v0.1.5

func (u TrustLineAsset) XdrValid() bool

func (TrustLineAsset) XdrValidTags added in v0.1.5

func (_ TrustLineAsset) XdrValidTags() map[int32]bool

func (TrustLineAsset) XdrValue added in v0.1.5

func (v TrustLineAsset) XdrValue() interface{}

type TrustLineEntry

type TrustLineEntry struct {
	// account this trustline belongs to
	AccountID AccountID
	// type of asset (with issuer)
	Asset TrustLineAsset
	// how much of this asset the user has.
	Balance Int64
	// balance cannot be above this
	Limit Int64
	// see TrustLineFlags
	Flags Uint32
	Ext   XdrAnon_TrustLineEntry_Ext
}

func XDR_TrustLineEntry

func XDR_TrustLineEntry(v *TrustLineEntry) *TrustLineEntry

func (*TrustLineEntry) XdrMarshal

func (v *TrustLineEntry) XdrMarshal(x XDR, name string)

func (*TrustLineEntry) XdrPointer

func (v *TrustLineEntry) XdrPointer() interface{}

func (*TrustLineEntry) XdrRecurse

func (v *TrustLineEntry) XdrRecurse(x XDR, name string)

func (TrustLineEntry) XdrTypeName

func (TrustLineEntry) XdrTypeName() string

func (TrustLineEntry) XdrValue

func (v TrustLineEntry) XdrValue() interface{}

type TrustLineEntryExtensionV2 added in v0.1.6

type TrustLineEntryExtensionV2 struct {
	LiquidityPoolUseCount Int32
	Ext                   XdrAnon_TrustLineEntryExtensionV2_Ext
}

func XDR_TrustLineEntryExtensionV2 added in v0.1.6

func XDR_TrustLineEntryExtensionV2(v *TrustLineEntryExtensionV2) *TrustLineEntryExtensionV2

func (*TrustLineEntryExtensionV2) XdrMarshal added in v0.1.6

func (v *TrustLineEntryExtensionV2) XdrMarshal(x XDR, name string)

func (*TrustLineEntryExtensionV2) XdrPointer added in v0.1.6

func (v *TrustLineEntryExtensionV2) XdrPointer() interface{}

func (*TrustLineEntryExtensionV2) XdrRecurse added in v0.1.6

func (v *TrustLineEntryExtensionV2) XdrRecurse(x XDR, name string)

func (TrustLineEntryExtensionV2) XdrTypeName added in v0.1.6

func (TrustLineEntryExtensionV2) XdrTypeName() string

func (TrustLineEntryExtensionV2) XdrValue added in v0.1.6

func (v TrustLineEntryExtensionV2) XdrValue() interface{}

type TrustLineFlags

type TrustLineFlags int32
const (
	// issuer has authorized account to perform transactions with its credit
	AUTHORIZED_FLAG TrustLineFlags = 1
	// issuer has authorized account to maintain and reduce liabilities for its
	// credit
	AUTHORIZED_TO_MAINTAIN_LIABILITIES_FLAG TrustLineFlags = 2
	// issuer has specified that it may clawback its credit, and that claimable
	// balances created with its credit may also be clawed back
	TRUSTLINE_CLAWBACK_ENABLED_FLAG TrustLineFlags = 4
)

func XDR_TrustLineFlags

func XDR_TrustLineFlags(v *TrustLineFlags) *TrustLineFlags

func (TrustLineFlags) GetU32

func (v TrustLineFlags) GetU32() uint32

func (*TrustLineFlags) Scan

func (v *TrustLineFlags) Scan(ss fmt.ScanState, _ rune) error

func (*TrustLineFlags) SetU32

func (v *TrustLineFlags) SetU32(n uint32)

func (TrustLineFlags) String

func (v TrustLineFlags) String() string

func (TrustLineFlags) XdrEnumComments

func (e TrustLineFlags) XdrEnumComments() map[int32]string

func (TrustLineFlags) XdrEnumNames

func (TrustLineFlags) XdrEnumNames() map[int32]string

func (*TrustLineFlags) XdrInitialize

func (v *TrustLineFlags) XdrInitialize()

func (*TrustLineFlags) XdrMarshal

func (v *TrustLineFlags) XdrMarshal(x XDR, name string)

func (*TrustLineFlags) XdrPointer

func (v *TrustLineFlags) XdrPointer() interface{}

func (TrustLineFlags) XdrTypeName

func (TrustLineFlags) XdrTypeName() string

func (TrustLineFlags) XdrValue

func (v TrustLineFlags) XdrValue() interface{}

type Uint256

type Uint256 = [32]byte

type Uint32

type Uint32 = uint32

type Uint64

type Uint64 = uint64

type UpgradeEntryMeta

type UpgradeEntryMeta struct {
	Upgrade LedgerUpgrade
	Changes LedgerEntryChanges
}

this represents a single upgrade that was performed as part of a ledger upgrade

func XDR_UpgradeEntryMeta

func XDR_UpgradeEntryMeta(v *UpgradeEntryMeta) *UpgradeEntryMeta

func (*UpgradeEntryMeta) XdrMarshal

func (v *UpgradeEntryMeta) XdrMarshal(x XDR, name string)

func (*UpgradeEntryMeta) XdrPointer

func (v *UpgradeEntryMeta) XdrPointer() interface{}

func (*UpgradeEntryMeta) XdrRecurse

func (v *UpgradeEntryMeta) XdrRecurse(x XDR, name string)

func (UpgradeEntryMeta) XdrTypeName

func (UpgradeEntryMeta) XdrTypeName() string

func (UpgradeEntryMeta) XdrValue

func (v UpgradeEntryMeta) XdrValue() interface{}

type UpgradeType

type UpgradeType = []byte // bound 128

type Value

type Value = []byte

type XdrAnon_AccountEntryExtensionV1_Ext

type XdrAnon_AccountEntryExtensionV1_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	//   2:
	//      V2() *AccountEntryExtensionV2
	V int32
	// contains filtered or unexported fields
}

func (*XdrAnon_AccountEntryExtensionV1_Ext) V2

func (*XdrAnon_AccountEntryExtensionV1_Ext) XdrMarshal

func (v *XdrAnon_AccountEntryExtensionV1_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_AccountEntryExtensionV1_Ext) XdrPointer

func (v *XdrAnon_AccountEntryExtensionV1_Ext) XdrPointer() interface{}

func (*XdrAnon_AccountEntryExtensionV1_Ext) XdrRecurse

func (u *XdrAnon_AccountEntryExtensionV1_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_AccountEntryExtensionV1_Ext) XdrTypeName

func (*XdrAnon_AccountEntryExtensionV1_Ext) XdrUnionBody

func (u *XdrAnon_AccountEntryExtensionV1_Ext) XdrUnionBody() XdrType

func (*XdrAnon_AccountEntryExtensionV1_Ext) XdrUnionBodyName

func (u *XdrAnon_AccountEntryExtensionV1_Ext) XdrUnionBodyName() string

func (*XdrAnon_AccountEntryExtensionV1_Ext) XdrUnionTag

func (u *XdrAnon_AccountEntryExtensionV1_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_AccountEntryExtensionV1_Ext) XdrUnionTagName

func (u *XdrAnon_AccountEntryExtensionV1_Ext) XdrUnionTagName() string

func (XdrAnon_AccountEntryExtensionV1_Ext) XdrValid

func (XdrAnon_AccountEntryExtensionV1_Ext) XdrValidTags

func (_ XdrAnon_AccountEntryExtensionV1_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_AccountEntryExtensionV1_Ext) XdrValue

func (v XdrAnon_AccountEntryExtensionV1_Ext) XdrValue() interface{}

type XdrAnon_AccountEntryExtensionV2_Ext

type XdrAnon_AccountEntryExtensionV2_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	V int32
	// contains filtered or unexported fields
}

func (*XdrAnon_AccountEntryExtensionV2_Ext) XdrMarshal

func (v *XdrAnon_AccountEntryExtensionV2_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_AccountEntryExtensionV2_Ext) XdrPointer

func (v *XdrAnon_AccountEntryExtensionV2_Ext) XdrPointer() interface{}

func (*XdrAnon_AccountEntryExtensionV2_Ext) XdrRecurse

func (u *XdrAnon_AccountEntryExtensionV2_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_AccountEntryExtensionV2_Ext) XdrTypeName

func (*XdrAnon_AccountEntryExtensionV2_Ext) XdrUnionBody

func (u *XdrAnon_AccountEntryExtensionV2_Ext) XdrUnionBody() XdrType

func (*XdrAnon_AccountEntryExtensionV2_Ext) XdrUnionBodyName

func (u *XdrAnon_AccountEntryExtensionV2_Ext) XdrUnionBodyName() string

func (*XdrAnon_AccountEntryExtensionV2_Ext) XdrUnionTag

func (u *XdrAnon_AccountEntryExtensionV2_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_AccountEntryExtensionV2_Ext) XdrUnionTagName

func (u *XdrAnon_AccountEntryExtensionV2_Ext) XdrUnionTagName() string

func (XdrAnon_AccountEntryExtensionV2_Ext) XdrValid

func (XdrAnon_AccountEntryExtensionV2_Ext) XdrValidTags

func (_ XdrAnon_AccountEntryExtensionV2_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_AccountEntryExtensionV2_Ext) XdrValue

func (v XdrAnon_AccountEntryExtensionV2_Ext) XdrValue() interface{}

type XdrAnon_AccountEntry_Ext

type XdrAnon_AccountEntry_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	//   1:
	//      V1() *AccountEntryExtensionV1
	V int32
	// contains filtered or unexported fields
}

reserved for future use

func (*XdrAnon_AccountEntry_Ext) V1

func (*XdrAnon_AccountEntry_Ext) XdrMarshal

func (v *XdrAnon_AccountEntry_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_AccountEntry_Ext) XdrPointer

func (v *XdrAnon_AccountEntry_Ext) XdrPointer() interface{}

func (*XdrAnon_AccountEntry_Ext) XdrRecurse

func (u *XdrAnon_AccountEntry_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_AccountEntry_Ext) XdrTypeName

func (XdrAnon_AccountEntry_Ext) XdrTypeName() string

func (*XdrAnon_AccountEntry_Ext) XdrUnionBody

func (u *XdrAnon_AccountEntry_Ext) XdrUnionBody() XdrType

func (*XdrAnon_AccountEntry_Ext) XdrUnionBodyName

func (u *XdrAnon_AccountEntry_Ext) XdrUnionBodyName() string

func (*XdrAnon_AccountEntry_Ext) XdrUnionTag

func (u *XdrAnon_AccountEntry_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_AccountEntry_Ext) XdrUnionTagName

func (u *XdrAnon_AccountEntry_Ext) XdrUnionTagName() string

func (XdrAnon_AccountEntry_Ext) XdrValid

func (u XdrAnon_AccountEntry_Ext) XdrValid() bool

func (XdrAnon_AccountEntry_Ext) XdrValidTags

func (_ XdrAnon_AccountEntry_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_AccountEntry_Ext) XdrValue

func (v XdrAnon_AccountEntry_Ext) XdrValue() interface{}

type XdrAnon_AuthenticatedMessage_V0

type XdrAnon_AuthenticatedMessage_V0 struct {
	Sequence Uint64
	Message  StellarMessage
	Mac      HmacSha256Mac
}

func (*XdrAnon_AuthenticatedMessage_V0) XdrMarshal

func (v *XdrAnon_AuthenticatedMessage_V0) XdrMarshal(x XDR, name string)

func (*XdrAnon_AuthenticatedMessage_V0) XdrPointer

func (v *XdrAnon_AuthenticatedMessage_V0) XdrPointer() interface{}

func (*XdrAnon_AuthenticatedMessage_V0) XdrRecurse

func (v *XdrAnon_AuthenticatedMessage_V0) XdrRecurse(x XDR, name string)

func (XdrAnon_AuthenticatedMessage_V0) XdrTypeName

func (XdrAnon_AuthenticatedMessage_V0) XdrValue

func (v XdrAnon_AuthenticatedMessage_V0) XdrValue() interface{}

type XdrAnon_BucketMetadata_Ext

type XdrAnon_BucketMetadata_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	V int32
	// contains filtered or unexported fields
}

reserved for future use

func (*XdrAnon_BucketMetadata_Ext) XdrMarshal

func (v *XdrAnon_BucketMetadata_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_BucketMetadata_Ext) XdrPointer

func (v *XdrAnon_BucketMetadata_Ext) XdrPointer() interface{}

func (*XdrAnon_BucketMetadata_Ext) XdrRecurse

func (u *XdrAnon_BucketMetadata_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_BucketMetadata_Ext) XdrTypeName

func (XdrAnon_BucketMetadata_Ext) XdrTypeName() string

func (*XdrAnon_BucketMetadata_Ext) XdrUnionBody

func (u *XdrAnon_BucketMetadata_Ext) XdrUnionBody() XdrType

func (*XdrAnon_BucketMetadata_Ext) XdrUnionBodyName

func (u *XdrAnon_BucketMetadata_Ext) XdrUnionBodyName() string

func (*XdrAnon_BucketMetadata_Ext) XdrUnionTag

func (u *XdrAnon_BucketMetadata_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_BucketMetadata_Ext) XdrUnionTagName

func (u *XdrAnon_BucketMetadata_Ext) XdrUnionTagName() string

func (XdrAnon_BucketMetadata_Ext) XdrValid

func (u XdrAnon_BucketMetadata_Ext) XdrValid() bool

func (XdrAnon_BucketMetadata_Ext) XdrValidTags

func (_ XdrAnon_BucketMetadata_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_BucketMetadata_Ext) XdrValue

func (v XdrAnon_BucketMetadata_Ext) XdrValue() interface{}

type XdrAnon_ClaimableBalanceEntryExtensionV1_Ext added in v0.1.4

type XdrAnon_ClaimableBalanceEntryExtensionV1_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	V int32
	// contains filtered or unexported fields
}

func (*XdrAnon_ClaimableBalanceEntryExtensionV1_Ext) XdrMarshal added in v0.1.4

func (v *XdrAnon_ClaimableBalanceEntryExtensionV1_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_ClaimableBalanceEntryExtensionV1_Ext) XdrPointer added in v0.1.4

func (v *XdrAnon_ClaimableBalanceEntryExtensionV1_Ext) XdrPointer() interface{}

func (*XdrAnon_ClaimableBalanceEntryExtensionV1_Ext) XdrRecurse added in v0.1.4

func (u *XdrAnon_ClaimableBalanceEntryExtensionV1_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_ClaimableBalanceEntryExtensionV1_Ext) XdrTypeName added in v0.1.4

func (*XdrAnon_ClaimableBalanceEntryExtensionV1_Ext) XdrUnionBody added in v0.1.4

func (u *XdrAnon_ClaimableBalanceEntryExtensionV1_Ext) XdrUnionBody() XdrType

func (*XdrAnon_ClaimableBalanceEntryExtensionV1_Ext) XdrUnionBodyName added in v0.1.4

func (*XdrAnon_ClaimableBalanceEntryExtensionV1_Ext) XdrUnionTag added in v0.1.4

func (u *XdrAnon_ClaimableBalanceEntryExtensionV1_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_ClaimableBalanceEntryExtensionV1_Ext) XdrUnionTagName added in v0.1.4

func (XdrAnon_ClaimableBalanceEntryExtensionV1_Ext) XdrValid added in v0.1.4

func (XdrAnon_ClaimableBalanceEntryExtensionV1_Ext) XdrValidTags added in v0.1.4

func (XdrAnon_ClaimableBalanceEntryExtensionV1_Ext) XdrValue added in v0.1.4

func (v XdrAnon_ClaimableBalanceEntryExtensionV1_Ext) XdrValue() interface{}

type XdrAnon_ClaimableBalanceEntry_Ext

type XdrAnon_ClaimableBalanceEntry_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	//   1:
	//      V1() *ClaimableBalanceEntryExtensionV1
	V int32
	// contains filtered or unexported fields
}

reserved for future use

func (*XdrAnon_ClaimableBalanceEntry_Ext) V1 added in v0.1.4

func (*XdrAnon_ClaimableBalanceEntry_Ext) XdrMarshal

func (v *XdrAnon_ClaimableBalanceEntry_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_ClaimableBalanceEntry_Ext) XdrPointer

func (v *XdrAnon_ClaimableBalanceEntry_Ext) XdrPointer() interface{}

func (*XdrAnon_ClaimableBalanceEntry_Ext) XdrRecurse

func (u *XdrAnon_ClaimableBalanceEntry_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_ClaimableBalanceEntry_Ext) XdrTypeName

func (*XdrAnon_ClaimableBalanceEntry_Ext) XdrUnionBody

func (u *XdrAnon_ClaimableBalanceEntry_Ext) XdrUnionBody() XdrType

func (*XdrAnon_ClaimableBalanceEntry_Ext) XdrUnionBodyName

func (u *XdrAnon_ClaimableBalanceEntry_Ext) XdrUnionBodyName() string

func (*XdrAnon_ClaimableBalanceEntry_Ext) XdrUnionTag

func (u *XdrAnon_ClaimableBalanceEntry_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_ClaimableBalanceEntry_Ext) XdrUnionTagName

func (u *XdrAnon_ClaimableBalanceEntry_Ext) XdrUnionTagName() string

func (XdrAnon_ClaimableBalanceEntry_Ext) XdrValid

func (XdrAnon_ClaimableBalanceEntry_Ext) XdrValidTags

func (_ XdrAnon_ClaimableBalanceEntry_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_ClaimableBalanceEntry_Ext) XdrValue

func (v XdrAnon_ClaimableBalanceEntry_Ext) XdrValue() interface{}

type XdrAnon_Claimant_V0

type XdrAnon_Claimant_V0 struct {
	// The account that can use this condition
	Destination AccountID
	// Claimable if predicate is true
	Predicate ClaimPredicate
}

func XDR_XdrAnon_Claimant_V0

func XDR_XdrAnon_Claimant_V0(v *XdrAnon_Claimant_V0) *XdrAnon_Claimant_V0

func (*XdrAnon_Claimant_V0) XdrMarshal

func (v *XdrAnon_Claimant_V0) XdrMarshal(x XDR, name string)

func (*XdrAnon_Claimant_V0) XdrPointer

func (v *XdrAnon_Claimant_V0) XdrPointer() interface{}

func (*XdrAnon_Claimant_V0) XdrRecurse

func (v *XdrAnon_Claimant_V0) XdrRecurse(x XDR, name string)

func (XdrAnon_Claimant_V0) XdrTypeName

func (XdrAnon_Claimant_V0) XdrTypeName() string

func (XdrAnon_Claimant_V0) XdrValue

func (v XdrAnon_Claimant_V0) XdrValue() interface{}

type XdrAnon_DataEntry_Ext

type XdrAnon_DataEntry_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	V int32
	// contains filtered or unexported fields
}

reserved for future use

func XDR_XdrAnon_DataEntry_Ext

func XDR_XdrAnon_DataEntry_Ext(v *XdrAnon_DataEntry_Ext) *XdrAnon_DataEntry_Ext

func (*XdrAnon_DataEntry_Ext) XdrMarshal

func (v *XdrAnon_DataEntry_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_DataEntry_Ext) XdrPointer

func (v *XdrAnon_DataEntry_Ext) XdrPointer() interface{}

func (*XdrAnon_DataEntry_Ext) XdrRecurse

func (u *XdrAnon_DataEntry_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_DataEntry_Ext) XdrTypeName

func (XdrAnon_DataEntry_Ext) XdrTypeName() string

func (*XdrAnon_DataEntry_Ext) XdrUnionBody

func (u *XdrAnon_DataEntry_Ext) XdrUnionBody() XdrType

func (*XdrAnon_DataEntry_Ext) XdrUnionBodyName

func (u *XdrAnon_DataEntry_Ext) XdrUnionBodyName() string

func (*XdrAnon_DataEntry_Ext) XdrUnionTag

func (u *XdrAnon_DataEntry_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_DataEntry_Ext) XdrUnionTagName

func (u *XdrAnon_DataEntry_Ext) XdrUnionTagName() string

func (XdrAnon_DataEntry_Ext) XdrValid

func (u XdrAnon_DataEntry_Ext) XdrValid() bool

func (XdrAnon_DataEntry_Ext) XdrValidTags

func (_ XdrAnon_DataEntry_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_DataEntry_Ext) XdrValue

func (v XdrAnon_DataEntry_Ext) XdrValue() interface{}

type XdrAnon_FeeBumpTransaction_Ext

type XdrAnon_FeeBumpTransaction_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	V int32
	// contains filtered or unexported fields
}

func (*XdrAnon_FeeBumpTransaction_Ext) XdrMarshal

func (v *XdrAnon_FeeBumpTransaction_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_FeeBumpTransaction_Ext) XdrPointer

func (v *XdrAnon_FeeBumpTransaction_Ext) XdrPointer() interface{}

func (*XdrAnon_FeeBumpTransaction_Ext) XdrRecurse

func (u *XdrAnon_FeeBumpTransaction_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_FeeBumpTransaction_Ext) XdrTypeName

func (XdrAnon_FeeBumpTransaction_Ext) XdrTypeName() string

func (*XdrAnon_FeeBumpTransaction_Ext) XdrUnionBody

func (u *XdrAnon_FeeBumpTransaction_Ext) XdrUnionBody() XdrType

func (*XdrAnon_FeeBumpTransaction_Ext) XdrUnionBodyName

func (u *XdrAnon_FeeBumpTransaction_Ext) XdrUnionBodyName() string

func (*XdrAnon_FeeBumpTransaction_Ext) XdrUnionTag

func (u *XdrAnon_FeeBumpTransaction_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_FeeBumpTransaction_Ext) XdrUnionTagName

func (u *XdrAnon_FeeBumpTransaction_Ext) XdrUnionTagName() string

func (XdrAnon_FeeBumpTransaction_Ext) XdrValid

func (u XdrAnon_FeeBumpTransaction_Ext) XdrValid() bool

func (XdrAnon_FeeBumpTransaction_Ext) XdrValidTags

func (_ XdrAnon_FeeBumpTransaction_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_FeeBumpTransaction_Ext) XdrValue

func (v XdrAnon_FeeBumpTransaction_Ext) XdrValue() interface{}

type XdrAnon_FeeBumpTransaction_InnerTx

type XdrAnon_FeeBumpTransaction_InnerTx struct {
	// The union discriminant Type selects among the following arms:
	//   ENVELOPE_TYPE_TX:
	//      V1() *TransactionV1Envelope
	Type EnvelopeType
	// contains filtered or unexported fields
}

func (*XdrAnon_FeeBumpTransaction_InnerTx) V1

func (*XdrAnon_FeeBumpTransaction_InnerTx) XdrInitialize

func (v *XdrAnon_FeeBumpTransaction_InnerTx) XdrInitialize()

func (*XdrAnon_FeeBumpTransaction_InnerTx) XdrMarshal

func (v *XdrAnon_FeeBumpTransaction_InnerTx) XdrMarshal(x XDR, name string)

func (*XdrAnon_FeeBumpTransaction_InnerTx) XdrPointer

func (v *XdrAnon_FeeBumpTransaction_InnerTx) XdrPointer() interface{}

func (*XdrAnon_FeeBumpTransaction_InnerTx) XdrRecurse

func (u *XdrAnon_FeeBumpTransaction_InnerTx) XdrRecurse(x XDR, name string)

func (XdrAnon_FeeBumpTransaction_InnerTx) XdrTypeName

func (*XdrAnon_FeeBumpTransaction_InnerTx) XdrUnionBody

func (u *XdrAnon_FeeBumpTransaction_InnerTx) XdrUnionBody() XdrType

func (*XdrAnon_FeeBumpTransaction_InnerTx) XdrUnionBodyName

func (u *XdrAnon_FeeBumpTransaction_InnerTx) XdrUnionBodyName() string

func (*XdrAnon_FeeBumpTransaction_InnerTx) XdrUnionTag

func (u *XdrAnon_FeeBumpTransaction_InnerTx) XdrUnionTag() XdrNum32

func (*XdrAnon_FeeBumpTransaction_InnerTx) XdrUnionTagName

func (u *XdrAnon_FeeBumpTransaction_InnerTx) XdrUnionTagName() string

func (XdrAnon_FeeBumpTransaction_InnerTx) XdrValid

func (XdrAnon_FeeBumpTransaction_InnerTx) XdrValidTags

func (_ XdrAnon_FeeBumpTransaction_InnerTx) XdrValidTags() map[int32]bool

func (XdrAnon_FeeBumpTransaction_InnerTx) XdrValue

func (v XdrAnon_FeeBumpTransaction_InnerTx) XdrValue() interface{}

type XdrAnon_HashIDPreimage_OperationID added in v0.1.6

type XdrAnon_HashIDPreimage_OperationID struct {
	SourceAccount AccountID
	SeqNum        SequenceNumber
	OpNum         Uint32
}

func XDR_XdrAnon_HashIDPreimage_OperationID added in v0.1.6

func XDR_XdrAnon_HashIDPreimage_OperationID(v *XdrAnon_HashIDPreimage_OperationID) *XdrAnon_HashIDPreimage_OperationID

func (*XdrAnon_HashIDPreimage_OperationID) XdrMarshal added in v0.1.6

func (v *XdrAnon_HashIDPreimage_OperationID) XdrMarshal(x XDR, name string)

func (*XdrAnon_HashIDPreimage_OperationID) XdrPointer added in v0.1.6

func (v *XdrAnon_HashIDPreimage_OperationID) XdrPointer() interface{}

func (*XdrAnon_HashIDPreimage_OperationID) XdrRecurse added in v0.1.6

func (v *XdrAnon_HashIDPreimage_OperationID) XdrRecurse(x XDR, name string)

func (XdrAnon_HashIDPreimage_OperationID) XdrTypeName added in v0.1.6

func (XdrAnon_HashIDPreimage_OperationID) XdrValue added in v0.1.6

func (v XdrAnon_HashIDPreimage_OperationID) XdrValue() interface{}

type XdrAnon_HashIDPreimage_RevokeID added in v0.1.6

type XdrAnon_HashIDPreimage_RevokeID struct {
	SourceAccount   AccountID
	SeqNum          SequenceNumber
	OpNum           Uint32
	LiquidityPoolID PoolID
	Asset           Asset
}

func XDR_XdrAnon_HashIDPreimage_RevokeID added in v0.1.6

func XDR_XdrAnon_HashIDPreimage_RevokeID(v *XdrAnon_HashIDPreimage_RevokeID) *XdrAnon_HashIDPreimage_RevokeID

func (*XdrAnon_HashIDPreimage_RevokeID) XdrMarshal added in v0.1.6

func (v *XdrAnon_HashIDPreimage_RevokeID) XdrMarshal(x XDR, name string)

func (*XdrAnon_HashIDPreimage_RevokeID) XdrPointer added in v0.1.6

func (v *XdrAnon_HashIDPreimage_RevokeID) XdrPointer() interface{}

func (*XdrAnon_HashIDPreimage_RevokeID) XdrRecurse added in v0.1.6

func (v *XdrAnon_HashIDPreimage_RevokeID) XdrRecurse(x XDR, name string)

func (XdrAnon_HashIDPreimage_RevokeID) XdrTypeName added in v0.1.6

func (XdrAnon_HashIDPreimage_RevokeID) XdrValue added in v0.1.6

func (v XdrAnon_HashIDPreimage_RevokeID) XdrValue() interface{}

type XdrAnon_InnerTransactionResult_Ext

type XdrAnon_InnerTransactionResult_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	V int32
	// contains filtered or unexported fields
}

reserved for future use

func (*XdrAnon_InnerTransactionResult_Ext) XdrMarshal

func (v *XdrAnon_InnerTransactionResult_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_InnerTransactionResult_Ext) XdrPointer

func (v *XdrAnon_InnerTransactionResult_Ext) XdrPointer() interface{}

func (*XdrAnon_InnerTransactionResult_Ext) XdrRecurse

func (u *XdrAnon_InnerTransactionResult_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_InnerTransactionResult_Ext) XdrTypeName

func (*XdrAnon_InnerTransactionResult_Ext) XdrUnionBody

func (u *XdrAnon_InnerTransactionResult_Ext) XdrUnionBody() XdrType

func (*XdrAnon_InnerTransactionResult_Ext) XdrUnionBodyName

func (u *XdrAnon_InnerTransactionResult_Ext) XdrUnionBodyName() string

func (*XdrAnon_InnerTransactionResult_Ext) XdrUnionTag

func (u *XdrAnon_InnerTransactionResult_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_InnerTransactionResult_Ext) XdrUnionTagName

func (u *XdrAnon_InnerTransactionResult_Ext) XdrUnionTagName() string

func (XdrAnon_InnerTransactionResult_Ext) XdrValid

func (XdrAnon_InnerTransactionResult_Ext) XdrValidTags

func (_ XdrAnon_InnerTransactionResult_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_InnerTransactionResult_Ext) XdrValue

func (v XdrAnon_InnerTransactionResult_Ext) XdrValue() interface{}

type XdrAnon_InnerTransactionResult_Result

type XdrAnon_InnerTransactionResult_Result struct {
	// The union discriminant Code selects among the following arms:
	//   TxSUCCESS, TxFAILED:
	//      Results() *[]OperationResult
	//   TxTOO_EARLY, TxTOO_LATE, TxMISSING_OPERATION, TxBAD_SEQ, TxBAD_AUTH, TxINSUFFICIENT_BALANCE, TxNO_ACCOUNT, TxINSUFFICIENT_FEE, TxBAD_AUTH_EXTRA, TxINTERNAL_ERROR, TxNOT_SUPPORTED, TxBAD_SPONSORSHIP:
	//      void
	Code TransactionResultCode
	// contains filtered or unexported fields
}

func (*XdrAnon_InnerTransactionResult_Result) Results

func (*XdrAnon_InnerTransactionResult_Result) XdrMarshal

func (v *XdrAnon_InnerTransactionResult_Result) XdrMarshal(x XDR, name string)

func (*XdrAnon_InnerTransactionResult_Result) XdrPointer

func (v *XdrAnon_InnerTransactionResult_Result) XdrPointer() interface{}

func (*XdrAnon_InnerTransactionResult_Result) XdrRecurse

func (u *XdrAnon_InnerTransactionResult_Result) XdrRecurse(x XDR, name string)

func (XdrAnon_InnerTransactionResult_Result) XdrTypeName

func (*XdrAnon_InnerTransactionResult_Result) XdrUnionBody

func (u *XdrAnon_InnerTransactionResult_Result) XdrUnionBody() XdrType

func (*XdrAnon_InnerTransactionResult_Result) XdrUnionBodyName

func (u *XdrAnon_InnerTransactionResult_Result) XdrUnionBodyName() string

func (*XdrAnon_InnerTransactionResult_Result) XdrUnionTag

func (u *XdrAnon_InnerTransactionResult_Result) XdrUnionTag() XdrNum32

func (*XdrAnon_InnerTransactionResult_Result) XdrUnionTagName

func (u *XdrAnon_InnerTransactionResult_Result) XdrUnionTagName() string

func (XdrAnon_InnerTransactionResult_Result) XdrValid

func (XdrAnon_InnerTransactionResult_Result) XdrValidTags

func (_ XdrAnon_InnerTransactionResult_Result) XdrValidTags() map[int32]bool

func (XdrAnon_InnerTransactionResult_Result) XdrValue

func (v XdrAnon_InnerTransactionResult_Result) XdrValue() interface{}

type XdrAnon_LedgerEntryExtensionV1_Ext

type XdrAnon_LedgerEntryExtensionV1_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	V int32
	// contains filtered or unexported fields
}

func (*XdrAnon_LedgerEntryExtensionV1_Ext) XdrMarshal

func (v *XdrAnon_LedgerEntryExtensionV1_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_LedgerEntryExtensionV1_Ext) XdrPointer

func (v *XdrAnon_LedgerEntryExtensionV1_Ext) XdrPointer() interface{}

func (*XdrAnon_LedgerEntryExtensionV1_Ext) XdrRecurse

func (u *XdrAnon_LedgerEntryExtensionV1_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_LedgerEntryExtensionV1_Ext) XdrTypeName

func (*XdrAnon_LedgerEntryExtensionV1_Ext) XdrUnionBody

func (u *XdrAnon_LedgerEntryExtensionV1_Ext) XdrUnionBody() XdrType

func (*XdrAnon_LedgerEntryExtensionV1_Ext) XdrUnionBodyName

func (u *XdrAnon_LedgerEntryExtensionV1_Ext) XdrUnionBodyName() string

func (*XdrAnon_LedgerEntryExtensionV1_Ext) XdrUnionTag

func (u *XdrAnon_LedgerEntryExtensionV1_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_LedgerEntryExtensionV1_Ext) XdrUnionTagName

func (u *XdrAnon_LedgerEntryExtensionV1_Ext) XdrUnionTagName() string

func (XdrAnon_LedgerEntryExtensionV1_Ext) XdrValid

func (XdrAnon_LedgerEntryExtensionV1_Ext) XdrValidTags

func (_ XdrAnon_LedgerEntryExtensionV1_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_LedgerEntryExtensionV1_Ext) XdrValue

func (v XdrAnon_LedgerEntryExtensionV1_Ext) XdrValue() interface{}

type XdrAnon_LedgerEntry_Data

type XdrAnon_LedgerEntry_Data struct {
	// The union discriminant Type selects among the following arms:
	//   ACCOUNT:
	//      Account() *AccountEntry
	//   TRUSTLINE:
	//      TrustLine() *TrustLineEntry
	//   OFFER:
	//      Offer() *OfferEntry
	//   DATA:
	//      Data() *DataEntry
	//   CLAIMABLE_BALANCE:
	//      ClaimableBalance() *ClaimableBalanceEntry
	//   LIQUIDITY_POOL:
	//      LiquidityPool() *LiquidityPoolEntry
	Type LedgerEntryType
	// contains filtered or unexported fields
}

func (*XdrAnon_LedgerEntry_Data) Account

func (u *XdrAnon_LedgerEntry_Data) Account() *AccountEntry

func (*XdrAnon_LedgerEntry_Data) ClaimableBalance

func (u *XdrAnon_LedgerEntry_Data) ClaimableBalance() *ClaimableBalanceEntry

func (*XdrAnon_LedgerEntry_Data) Data

func (*XdrAnon_LedgerEntry_Data) LiquidityPool added in v0.1.4

func (u *XdrAnon_LedgerEntry_Data) LiquidityPool() *LiquidityPoolEntry

func (*XdrAnon_LedgerEntry_Data) Offer

func (*XdrAnon_LedgerEntry_Data) TrustLine

func (u *XdrAnon_LedgerEntry_Data) TrustLine() *TrustLineEntry

func (*XdrAnon_LedgerEntry_Data) XdrMarshal

func (v *XdrAnon_LedgerEntry_Data) XdrMarshal(x XDR, name string)

func (*XdrAnon_LedgerEntry_Data) XdrPointer

func (v *XdrAnon_LedgerEntry_Data) XdrPointer() interface{}

func (*XdrAnon_LedgerEntry_Data) XdrRecurse

func (u *XdrAnon_LedgerEntry_Data) XdrRecurse(x XDR, name string)

func (XdrAnon_LedgerEntry_Data) XdrTypeName

func (XdrAnon_LedgerEntry_Data) XdrTypeName() string

func (*XdrAnon_LedgerEntry_Data) XdrUnionBody

func (u *XdrAnon_LedgerEntry_Data) XdrUnionBody() XdrType

func (*XdrAnon_LedgerEntry_Data) XdrUnionBodyName

func (u *XdrAnon_LedgerEntry_Data) XdrUnionBodyName() string

func (*XdrAnon_LedgerEntry_Data) XdrUnionTag

func (u *XdrAnon_LedgerEntry_Data) XdrUnionTag() XdrNum32

func (*XdrAnon_LedgerEntry_Data) XdrUnionTagName

func (u *XdrAnon_LedgerEntry_Data) XdrUnionTagName() string

func (XdrAnon_LedgerEntry_Data) XdrValid

func (u XdrAnon_LedgerEntry_Data) XdrValid() bool

func (XdrAnon_LedgerEntry_Data) XdrValidTags

func (_ XdrAnon_LedgerEntry_Data) XdrValidTags() map[int32]bool

func (XdrAnon_LedgerEntry_Data) XdrValue

func (v XdrAnon_LedgerEntry_Data) XdrValue() interface{}

type XdrAnon_LedgerEntry_Ext

type XdrAnon_LedgerEntry_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	//   1:
	//      V1() *LedgerEntryExtensionV1
	V int32
	// contains filtered or unexported fields
}

reserved for future use

func (*XdrAnon_LedgerEntry_Ext) V1

func (*XdrAnon_LedgerEntry_Ext) XdrMarshal

func (v *XdrAnon_LedgerEntry_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_LedgerEntry_Ext) XdrPointer

func (v *XdrAnon_LedgerEntry_Ext) XdrPointer() interface{}

func (*XdrAnon_LedgerEntry_Ext) XdrRecurse

func (u *XdrAnon_LedgerEntry_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_LedgerEntry_Ext) XdrTypeName

func (XdrAnon_LedgerEntry_Ext) XdrTypeName() string

func (*XdrAnon_LedgerEntry_Ext) XdrUnionBody

func (u *XdrAnon_LedgerEntry_Ext) XdrUnionBody() XdrType

func (*XdrAnon_LedgerEntry_Ext) XdrUnionBodyName

func (u *XdrAnon_LedgerEntry_Ext) XdrUnionBodyName() string

func (*XdrAnon_LedgerEntry_Ext) XdrUnionTag

func (u *XdrAnon_LedgerEntry_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_LedgerEntry_Ext) XdrUnionTagName

func (u *XdrAnon_LedgerEntry_Ext) XdrUnionTagName() string

func (XdrAnon_LedgerEntry_Ext) XdrValid

func (u XdrAnon_LedgerEntry_Ext) XdrValid() bool

func (XdrAnon_LedgerEntry_Ext) XdrValidTags

func (_ XdrAnon_LedgerEntry_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_LedgerEntry_Ext) XdrValue

func (v XdrAnon_LedgerEntry_Ext) XdrValue() interface{}

type XdrAnon_LedgerHeaderExtensionV1_Ext added in v0.1.6

type XdrAnon_LedgerHeaderExtensionV1_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	V int32
	// contains filtered or unexported fields
}

func XDR_XdrAnon_LedgerHeaderExtensionV1_Ext added in v0.1.6

func XDR_XdrAnon_LedgerHeaderExtensionV1_Ext(v *XdrAnon_LedgerHeaderExtensionV1_Ext) *XdrAnon_LedgerHeaderExtensionV1_Ext

func (*XdrAnon_LedgerHeaderExtensionV1_Ext) XdrMarshal added in v0.1.6

func (v *XdrAnon_LedgerHeaderExtensionV1_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_LedgerHeaderExtensionV1_Ext) XdrPointer added in v0.1.6

func (v *XdrAnon_LedgerHeaderExtensionV1_Ext) XdrPointer() interface{}

func (*XdrAnon_LedgerHeaderExtensionV1_Ext) XdrRecurse added in v0.1.6

func (u *XdrAnon_LedgerHeaderExtensionV1_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_LedgerHeaderExtensionV1_Ext) XdrTypeName added in v0.1.6

func (*XdrAnon_LedgerHeaderExtensionV1_Ext) XdrUnionBody added in v0.1.6

func (u *XdrAnon_LedgerHeaderExtensionV1_Ext) XdrUnionBody() XdrType

func (*XdrAnon_LedgerHeaderExtensionV1_Ext) XdrUnionBodyName added in v0.1.6

func (u *XdrAnon_LedgerHeaderExtensionV1_Ext) XdrUnionBodyName() string

func (*XdrAnon_LedgerHeaderExtensionV1_Ext) XdrUnionTag added in v0.1.6

func (u *XdrAnon_LedgerHeaderExtensionV1_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_LedgerHeaderExtensionV1_Ext) XdrUnionTagName added in v0.1.6

func (u *XdrAnon_LedgerHeaderExtensionV1_Ext) XdrUnionTagName() string

func (XdrAnon_LedgerHeaderExtensionV1_Ext) XdrValid added in v0.1.6

func (XdrAnon_LedgerHeaderExtensionV1_Ext) XdrValidTags added in v0.1.6

func (_ XdrAnon_LedgerHeaderExtensionV1_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_LedgerHeaderExtensionV1_Ext) XdrValue added in v0.1.6

func (v XdrAnon_LedgerHeaderExtensionV1_Ext) XdrValue() interface{}

type XdrAnon_LedgerHeaderHistoryEntry_Ext

type XdrAnon_LedgerHeaderHistoryEntry_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	V int32
	// contains filtered or unexported fields
}

reserved for future use

func (*XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrMarshal

func (v *XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrPointer

func (v *XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrPointer() interface{}

func (*XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrRecurse

func (u *XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrTypeName

func (*XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrUnionBody

func (u *XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrUnionBody() XdrType

func (*XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrUnionBodyName

func (u *XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrUnionBodyName() string

func (*XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrUnionTag

func (u *XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrUnionTagName

func (u *XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrUnionTagName() string

func (XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrValid

func (XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrValidTags

func (_ XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrValue

func (v XdrAnon_LedgerHeaderHistoryEntry_Ext) XdrValue() interface{}

type XdrAnon_LedgerHeader_Ext

type XdrAnon_LedgerHeader_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	//   1:
	//      V1() *LedgerHeaderExtensionV1
	V int32
	// contains filtered or unexported fields
}

reserved for future use

func (*XdrAnon_LedgerHeader_Ext) V1 added in v0.1.6

func (*XdrAnon_LedgerHeader_Ext) XdrMarshal

func (v *XdrAnon_LedgerHeader_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_LedgerHeader_Ext) XdrPointer

func (v *XdrAnon_LedgerHeader_Ext) XdrPointer() interface{}

func (*XdrAnon_LedgerHeader_Ext) XdrRecurse

func (u *XdrAnon_LedgerHeader_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_LedgerHeader_Ext) XdrTypeName

func (XdrAnon_LedgerHeader_Ext) XdrTypeName() string

func (*XdrAnon_LedgerHeader_Ext) XdrUnionBody

func (u *XdrAnon_LedgerHeader_Ext) XdrUnionBody() XdrType

func (*XdrAnon_LedgerHeader_Ext) XdrUnionBodyName

func (u *XdrAnon_LedgerHeader_Ext) XdrUnionBodyName() string

func (*XdrAnon_LedgerHeader_Ext) XdrUnionTag

func (u *XdrAnon_LedgerHeader_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_LedgerHeader_Ext) XdrUnionTagName

func (u *XdrAnon_LedgerHeader_Ext) XdrUnionTagName() string

func (XdrAnon_LedgerHeader_Ext) XdrValid

func (u XdrAnon_LedgerHeader_Ext) XdrValid() bool

func (XdrAnon_LedgerHeader_Ext) XdrValidTags

func (_ XdrAnon_LedgerHeader_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_LedgerHeader_Ext) XdrValue

func (v XdrAnon_LedgerHeader_Ext) XdrValue() interface{}

type XdrAnon_LedgerKey_Account

type XdrAnon_LedgerKey_Account struct {
	AccountID AccountID
}

func (*XdrAnon_LedgerKey_Account) XdrMarshal

func (v *XdrAnon_LedgerKey_Account) XdrMarshal(x XDR, name string)

func (*XdrAnon_LedgerKey_Account) XdrPointer

func (v *XdrAnon_LedgerKey_Account) XdrPointer() interface{}

func (*XdrAnon_LedgerKey_Account) XdrRecurse

func (v *XdrAnon_LedgerKey_Account) XdrRecurse(x XDR, name string)

func (XdrAnon_LedgerKey_Account) XdrTypeName

func (XdrAnon_LedgerKey_Account) XdrTypeName() string

func (XdrAnon_LedgerKey_Account) XdrValue

func (v XdrAnon_LedgerKey_Account) XdrValue() interface{}

type XdrAnon_LedgerKey_ClaimableBalance

type XdrAnon_LedgerKey_ClaimableBalance struct {
	BalanceID ClaimableBalanceID
}

func (*XdrAnon_LedgerKey_ClaimableBalance) XdrMarshal

func (v *XdrAnon_LedgerKey_ClaimableBalance) XdrMarshal(x XDR, name string)

func (*XdrAnon_LedgerKey_ClaimableBalance) XdrPointer

func (v *XdrAnon_LedgerKey_ClaimableBalance) XdrPointer() interface{}

func (*XdrAnon_LedgerKey_ClaimableBalance) XdrRecurse

func (v *XdrAnon_LedgerKey_ClaimableBalance) XdrRecurse(x XDR, name string)

func (XdrAnon_LedgerKey_ClaimableBalance) XdrTypeName

func (XdrAnon_LedgerKey_ClaimableBalance) XdrValue

func (v XdrAnon_LedgerKey_ClaimableBalance) XdrValue() interface{}

type XdrAnon_LedgerKey_Data

type XdrAnon_LedgerKey_Data struct {
	AccountID AccountID
	DataName  String64
}

func (*XdrAnon_LedgerKey_Data) XdrMarshal

func (v *XdrAnon_LedgerKey_Data) XdrMarshal(x XDR, name string)

func (*XdrAnon_LedgerKey_Data) XdrPointer

func (v *XdrAnon_LedgerKey_Data) XdrPointer() interface{}

func (*XdrAnon_LedgerKey_Data) XdrRecurse

func (v *XdrAnon_LedgerKey_Data) XdrRecurse(x XDR, name string)

func (XdrAnon_LedgerKey_Data) XdrTypeName

func (XdrAnon_LedgerKey_Data) XdrTypeName() string

func (XdrAnon_LedgerKey_Data) XdrValue

func (v XdrAnon_LedgerKey_Data) XdrValue() interface{}

type XdrAnon_LedgerKey_LiquidityPool added in v0.1.4

type XdrAnon_LedgerKey_LiquidityPool struct {
	LiquidityPoolID PoolID
}

func XDR_XdrAnon_LedgerKey_LiquidityPool added in v0.1.4

func XDR_XdrAnon_LedgerKey_LiquidityPool(v *XdrAnon_LedgerKey_LiquidityPool) *XdrAnon_LedgerKey_LiquidityPool

func (*XdrAnon_LedgerKey_LiquidityPool) XdrMarshal added in v0.1.4

func (v *XdrAnon_LedgerKey_LiquidityPool) XdrMarshal(x XDR, name string)

func (*XdrAnon_LedgerKey_LiquidityPool) XdrPointer added in v0.1.4

func (v *XdrAnon_LedgerKey_LiquidityPool) XdrPointer() interface{}

func (*XdrAnon_LedgerKey_LiquidityPool) XdrRecurse added in v0.1.4

func (v *XdrAnon_LedgerKey_LiquidityPool) XdrRecurse(x XDR, name string)

func (XdrAnon_LedgerKey_LiquidityPool) XdrTypeName added in v0.1.4

func (XdrAnon_LedgerKey_LiquidityPool) XdrValue added in v0.1.4

func (v XdrAnon_LedgerKey_LiquidityPool) XdrValue() interface{}

type XdrAnon_LedgerKey_Offer

type XdrAnon_LedgerKey_Offer struct {
	SellerID AccountID
	OfferID  Int64
}

func (*XdrAnon_LedgerKey_Offer) XdrMarshal

func (v *XdrAnon_LedgerKey_Offer) XdrMarshal(x XDR, name string)

func (*XdrAnon_LedgerKey_Offer) XdrPointer

func (v *XdrAnon_LedgerKey_Offer) XdrPointer() interface{}

func (*XdrAnon_LedgerKey_Offer) XdrRecurse

func (v *XdrAnon_LedgerKey_Offer) XdrRecurse(x XDR, name string)

func (XdrAnon_LedgerKey_Offer) XdrTypeName

func (XdrAnon_LedgerKey_Offer) XdrTypeName() string

func (XdrAnon_LedgerKey_Offer) XdrValue

func (v XdrAnon_LedgerKey_Offer) XdrValue() interface{}

type XdrAnon_LedgerKey_TrustLine

type XdrAnon_LedgerKey_TrustLine struct {
	AccountID AccountID
	Asset     TrustLineAsset
}

func (*XdrAnon_LedgerKey_TrustLine) XdrMarshal

func (v *XdrAnon_LedgerKey_TrustLine) XdrMarshal(x XDR, name string)

func (*XdrAnon_LedgerKey_TrustLine) XdrPointer

func (v *XdrAnon_LedgerKey_TrustLine) XdrPointer() interface{}

func (*XdrAnon_LedgerKey_TrustLine) XdrRecurse

func (v *XdrAnon_LedgerKey_TrustLine) XdrRecurse(x XDR, name string)

func (XdrAnon_LedgerKey_TrustLine) XdrTypeName

func (XdrAnon_LedgerKey_TrustLine) XdrTypeName() string

func (XdrAnon_LedgerKey_TrustLine) XdrValue

func (v XdrAnon_LedgerKey_TrustLine) XdrValue() interface{}

type XdrAnon_LiquidityPoolEntry_Body added in v0.1.4

type XdrAnon_LiquidityPoolEntry_Body struct {
	// The union discriminant Type selects among the following arms:
	//   LIQUIDITY_POOL_CONSTANT_PRODUCT:
	//      ConstantProduct() *XdrAnon_LiquidityPoolEntry_Body_ConstantProduct
	Type LiquidityPoolType
	// contains filtered or unexported fields
}

func XDR_XdrAnon_LiquidityPoolEntry_Body added in v0.1.4

func XDR_XdrAnon_LiquidityPoolEntry_Body(v *XdrAnon_LiquidityPoolEntry_Body) *XdrAnon_LiquidityPoolEntry_Body

func (*XdrAnon_LiquidityPoolEntry_Body) ConstantProduct added in v0.1.4

func (*XdrAnon_LiquidityPoolEntry_Body) XdrMarshal added in v0.1.4

func (v *XdrAnon_LiquidityPoolEntry_Body) XdrMarshal(x XDR, name string)

func (*XdrAnon_LiquidityPoolEntry_Body) XdrPointer added in v0.1.4

func (v *XdrAnon_LiquidityPoolEntry_Body) XdrPointer() interface{}

func (*XdrAnon_LiquidityPoolEntry_Body) XdrRecurse added in v0.1.4

func (u *XdrAnon_LiquidityPoolEntry_Body) XdrRecurse(x XDR, name string)

func (XdrAnon_LiquidityPoolEntry_Body) XdrTypeName added in v0.1.4

func (*XdrAnon_LiquidityPoolEntry_Body) XdrUnionBody added in v0.1.4

func (u *XdrAnon_LiquidityPoolEntry_Body) XdrUnionBody() XdrType

func (*XdrAnon_LiquidityPoolEntry_Body) XdrUnionBodyName added in v0.1.4

func (u *XdrAnon_LiquidityPoolEntry_Body) XdrUnionBodyName() string

func (*XdrAnon_LiquidityPoolEntry_Body) XdrUnionTag added in v0.1.4

func (u *XdrAnon_LiquidityPoolEntry_Body) XdrUnionTag() XdrNum32

func (*XdrAnon_LiquidityPoolEntry_Body) XdrUnionTagName added in v0.1.4

func (u *XdrAnon_LiquidityPoolEntry_Body) XdrUnionTagName() string

func (XdrAnon_LiquidityPoolEntry_Body) XdrValid added in v0.1.4

func (XdrAnon_LiquidityPoolEntry_Body) XdrValidTags added in v0.1.4

func (_ XdrAnon_LiquidityPoolEntry_Body) XdrValidTags() map[int32]bool

func (XdrAnon_LiquidityPoolEntry_Body) XdrValue added in v0.1.4

func (v XdrAnon_LiquidityPoolEntry_Body) XdrValue() interface{}

type XdrAnon_LiquidityPoolEntry_Body_ConstantProduct added in v0.1.4

type XdrAnon_LiquidityPoolEntry_Body_ConstantProduct struct {
	Params LiquidityPoolConstantProductParameters
	// amount of A in the pool
	ReserveA Int64
	// amount of B in the pool
	ReserveB Int64
	// total number of pool shares issued
	TotalPoolShares Int64
	// number of trust lines for the associated pool shares
	PoolSharesTrustLineCount Int64
}

func (*XdrAnon_LiquidityPoolEntry_Body_ConstantProduct) XdrMarshal added in v0.1.4

func (v *XdrAnon_LiquidityPoolEntry_Body_ConstantProduct) XdrMarshal(x XDR, name string)

func (*XdrAnon_LiquidityPoolEntry_Body_ConstantProduct) XdrPointer added in v0.1.4

func (v *XdrAnon_LiquidityPoolEntry_Body_ConstantProduct) XdrPointer() interface{}

func (*XdrAnon_LiquidityPoolEntry_Body_ConstantProduct) XdrRecurse added in v0.1.4

func (v *XdrAnon_LiquidityPoolEntry_Body_ConstantProduct) XdrRecurse(x XDR, name string)

func (XdrAnon_LiquidityPoolEntry_Body_ConstantProduct) XdrTypeName added in v0.1.4

func (XdrAnon_LiquidityPoolEntry_Body_ConstantProduct) XdrValue added in v0.1.4

func (v XdrAnon_LiquidityPoolEntry_Body_ConstantProduct) XdrValue() interface{}

type XdrAnon_ManageOfferSuccessResult_Offer

type XdrAnon_ManageOfferSuccessResult_Offer struct {
	// The union discriminant Effect selects among the following arms:
	//   MANAGE_OFFER_CREATED, MANAGE_OFFER_UPDATED:
	//      Offer() *OfferEntry
	//   default:
	//      void
	Effect ManageOfferEffect
	// contains filtered or unexported fields
}

func (*XdrAnon_ManageOfferSuccessResult_Offer) Offer

func (*XdrAnon_ManageOfferSuccessResult_Offer) XdrMarshal

func (v *XdrAnon_ManageOfferSuccessResult_Offer) XdrMarshal(x XDR, name string)

func (*XdrAnon_ManageOfferSuccessResult_Offer) XdrPointer

func (v *XdrAnon_ManageOfferSuccessResult_Offer) XdrPointer() interface{}

func (*XdrAnon_ManageOfferSuccessResult_Offer) XdrRecurse

func (u *XdrAnon_ManageOfferSuccessResult_Offer) XdrRecurse(x XDR, name string)

func (XdrAnon_ManageOfferSuccessResult_Offer) XdrTypeName

func (*XdrAnon_ManageOfferSuccessResult_Offer) XdrUnionBody

func (u *XdrAnon_ManageOfferSuccessResult_Offer) XdrUnionBody() XdrType

func (*XdrAnon_ManageOfferSuccessResult_Offer) XdrUnionBodyName

func (u *XdrAnon_ManageOfferSuccessResult_Offer) XdrUnionBodyName() string

func (*XdrAnon_ManageOfferSuccessResult_Offer) XdrUnionTag

func (u *XdrAnon_ManageOfferSuccessResult_Offer) XdrUnionTag() XdrNum32

func (*XdrAnon_ManageOfferSuccessResult_Offer) XdrUnionTagName

func (u *XdrAnon_ManageOfferSuccessResult_Offer) XdrUnionTagName() string

func (XdrAnon_ManageOfferSuccessResult_Offer) XdrValid

func (XdrAnon_ManageOfferSuccessResult_Offer) XdrValidTags added in v0.1.4

func (_ XdrAnon_ManageOfferSuccessResult_Offer) XdrValidTags() map[int32]bool

func (XdrAnon_ManageOfferSuccessResult_Offer) XdrValue

func (v XdrAnon_ManageOfferSuccessResult_Offer) XdrValue() interface{}

type XdrAnon_MuxedAccount_Med25519

type XdrAnon_MuxedAccount_Med25519 struct {
	Id      Uint64
	Ed25519 Uint256
}

func (*XdrAnon_MuxedAccount_Med25519) XdrMarshal

func (v *XdrAnon_MuxedAccount_Med25519) XdrMarshal(x XDR, name string)

func (*XdrAnon_MuxedAccount_Med25519) XdrPointer

func (v *XdrAnon_MuxedAccount_Med25519) XdrPointer() interface{}

func (*XdrAnon_MuxedAccount_Med25519) XdrRecurse

func (v *XdrAnon_MuxedAccount_Med25519) XdrRecurse(x XDR, name string)

func (XdrAnon_MuxedAccount_Med25519) XdrTypeName

func (XdrAnon_MuxedAccount_Med25519) XdrTypeName() string

func (XdrAnon_MuxedAccount_Med25519) XdrValue

func (v XdrAnon_MuxedAccount_Med25519) XdrValue() interface{}

type XdrAnon_OfferEntry_Ext

type XdrAnon_OfferEntry_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	V int32
	// contains filtered or unexported fields
}

reserved for future use

func (*XdrAnon_OfferEntry_Ext) XdrMarshal

func (v *XdrAnon_OfferEntry_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_OfferEntry_Ext) XdrPointer

func (v *XdrAnon_OfferEntry_Ext) XdrPointer() interface{}

func (*XdrAnon_OfferEntry_Ext) XdrRecurse

func (u *XdrAnon_OfferEntry_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_OfferEntry_Ext) XdrTypeName

func (XdrAnon_OfferEntry_Ext) XdrTypeName() string

func (*XdrAnon_OfferEntry_Ext) XdrUnionBody

func (u *XdrAnon_OfferEntry_Ext) XdrUnionBody() XdrType

func (*XdrAnon_OfferEntry_Ext) XdrUnionBodyName

func (u *XdrAnon_OfferEntry_Ext) XdrUnionBodyName() string

func (*XdrAnon_OfferEntry_Ext) XdrUnionTag

func (u *XdrAnon_OfferEntry_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_OfferEntry_Ext) XdrUnionTagName

func (u *XdrAnon_OfferEntry_Ext) XdrUnionTagName() string

func (XdrAnon_OfferEntry_Ext) XdrValid

func (u XdrAnon_OfferEntry_Ext) XdrValid() bool

func (XdrAnon_OfferEntry_Ext) XdrValidTags

func (_ XdrAnon_OfferEntry_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_OfferEntry_Ext) XdrValue

func (v XdrAnon_OfferEntry_Ext) XdrValue() interface{}

type XdrAnon_OperationResult_Tr

type XdrAnon_OperationResult_Tr struct {
	// The union discriminant Type selects among the following arms:
	//   CREATE_ACCOUNT:
	//      CreateAccountResult() *CreateAccountResult
	//   PAYMENT:
	//      PaymentResult() *PaymentResult
	//   PATH_PAYMENT_STRICT_RECEIVE:
	//      PathPaymentStrictReceiveResult() *PathPaymentStrictReceiveResult
	//   MANAGE_SELL_OFFER:
	//      ManageSellOfferResult() *ManageSellOfferResult
	//   CREATE_PASSIVE_SELL_OFFER:
	//      CreatePassiveSellOfferResult() *ManageSellOfferResult
	//   SET_OPTIONS:
	//      SetOptionsResult() *SetOptionsResult
	//   CHANGE_TRUST:
	//      ChangeTrustResult() *ChangeTrustResult
	//   ALLOW_TRUST:
	//      AllowTrustResult() *AllowTrustResult
	//   ACCOUNT_MERGE:
	//      AccountMergeResult() *AccountMergeResult
	//   INFLATION:
	//      InflationResult() *InflationResult
	//   MANAGE_DATA:
	//      ManageDataResult() *ManageDataResult
	//   BUMP_SEQUENCE:
	//      BumpSeqResult() *BumpSequenceResult
	//   MANAGE_BUY_OFFER:
	//      ManageBuyOfferResult() *ManageBuyOfferResult
	//   PATH_PAYMENT_STRICT_SEND:
	//      PathPaymentStrictSendResult() *PathPaymentStrictSendResult
	//   CREATE_CLAIMABLE_BALANCE:
	//      CreateClaimableBalanceResult() *CreateClaimableBalanceResult
	//   CLAIM_CLAIMABLE_BALANCE:
	//      ClaimClaimableBalanceResult() *ClaimClaimableBalanceResult
	//   BEGIN_SPONSORING_FUTURE_RESERVES:
	//      BeginSponsoringFutureReservesResult() *BeginSponsoringFutureReservesResult
	//   END_SPONSORING_FUTURE_RESERVES:
	//      EndSponsoringFutureReservesResult() *EndSponsoringFutureReservesResult
	//   REVOKE_SPONSORSHIP:
	//      RevokeSponsorshipResult() *RevokeSponsorshipResult
	//   CLAWBACK:
	//      ClawbackResult() *ClawbackResult
	//   CLAWBACK_CLAIMABLE_BALANCE:
	//      ClawbackClaimableBalanceResult() *ClawbackClaimableBalanceResult
	//   SET_TRUST_LINE_FLAGS:
	//      SetTrustLineFlagsResult() *SetTrustLineFlagsResult
	//   LIQUIDITY_POOL_DEPOSIT:
	//      LiquidityPoolDepositResult() *LiquidityPoolDepositResult
	//   LIQUIDITY_POOL_WITHDRAW:
	//      LiquidityPoolWithdrawResult() *LiquidityPoolWithdrawResult
	Type OperationType
	// contains filtered or unexported fields
}

func (*XdrAnon_OperationResult_Tr) AccountMergeResult

func (u *XdrAnon_OperationResult_Tr) AccountMergeResult() *AccountMergeResult

func (*XdrAnon_OperationResult_Tr) AllowTrustResult

func (u *XdrAnon_OperationResult_Tr) AllowTrustResult() *AllowTrustResult

func (*XdrAnon_OperationResult_Tr) BeginSponsoringFutureReservesResult

func (u *XdrAnon_OperationResult_Tr) BeginSponsoringFutureReservesResult() *BeginSponsoringFutureReservesResult

func (*XdrAnon_OperationResult_Tr) BumpSeqResult

func (u *XdrAnon_OperationResult_Tr) BumpSeqResult() *BumpSequenceResult

func (*XdrAnon_OperationResult_Tr) ChangeTrustResult

func (u *XdrAnon_OperationResult_Tr) ChangeTrustResult() *ChangeTrustResult

func (*XdrAnon_OperationResult_Tr) ClaimClaimableBalanceResult

func (u *XdrAnon_OperationResult_Tr) ClaimClaimableBalanceResult() *ClaimClaimableBalanceResult

func (*XdrAnon_OperationResult_Tr) ClawbackClaimableBalanceResult added in v0.1.4

func (u *XdrAnon_OperationResult_Tr) ClawbackClaimableBalanceResult() *ClawbackClaimableBalanceResult

func (*XdrAnon_OperationResult_Tr) ClawbackResult added in v0.1.3

func (u *XdrAnon_OperationResult_Tr) ClawbackResult() *ClawbackResult

func (*XdrAnon_OperationResult_Tr) CreateAccountResult

func (u *XdrAnon_OperationResult_Tr) CreateAccountResult() *CreateAccountResult

func (*XdrAnon_OperationResult_Tr) CreateClaimableBalanceResult

func (u *XdrAnon_OperationResult_Tr) CreateClaimableBalanceResult() *CreateClaimableBalanceResult

func (*XdrAnon_OperationResult_Tr) CreatePassiveSellOfferResult

func (u *XdrAnon_OperationResult_Tr) CreatePassiveSellOfferResult() *ManageSellOfferResult

func (*XdrAnon_OperationResult_Tr) EndSponsoringFutureReservesResult

func (u *XdrAnon_OperationResult_Tr) EndSponsoringFutureReservesResult() *EndSponsoringFutureReservesResult

func (*XdrAnon_OperationResult_Tr) InflationResult

func (u *XdrAnon_OperationResult_Tr) InflationResult() *InflationResult

func (*XdrAnon_OperationResult_Tr) LiquidityPoolDepositResult added in v0.1.6

func (u *XdrAnon_OperationResult_Tr) LiquidityPoolDepositResult() *LiquidityPoolDepositResult

func (*XdrAnon_OperationResult_Tr) LiquidityPoolWithdrawResult added in v0.1.6

func (u *XdrAnon_OperationResult_Tr) LiquidityPoolWithdrawResult() *LiquidityPoolWithdrawResult

func (*XdrAnon_OperationResult_Tr) ManageBuyOfferResult

func (u *XdrAnon_OperationResult_Tr) ManageBuyOfferResult() *ManageBuyOfferResult

func (*XdrAnon_OperationResult_Tr) ManageDataResult

func (u *XdrAnon_OperationResult_Tr) ManageDataResult() *ManageDataResult

func (*XdrAnon_OperationResult_Tr) ManageSellOfferResult

func (u *XdrAnon_OperationResult_Tr) ManageSellOfferResult() *ManageSellOfferResult

func (*XdrAnon_OperationResult_Tr) PathPaymentStrictReceiveResult

func (u *XdrAnon_OperationResult_Tr) PathPaymentStrictReceiveResult() *PathPaymentStrictReceiveResult

func (*XdrAnon_OperationResult_Tr) PathPaymentStrictSendResult

func (u *XdrAnon_OperationResult_Tr) PathPaymentStrictSendResult() *PathPaymentStrictSendResult

func (*XdrAnon_OperationResult_Tr) PaymentResult

func (u *XdrAnon_OperationResult_Tr) PaymentResult() *PaymentResult

func (*XdrAnon_OperationResult_Tr) RevokeSponsorshipResult

func (u *XdrAnon_OperationResult_Tr) RevokeSponsorshipResult() *RevokeSponsorshipResult

func (*XdrAnon_OperationResult_Tr) SetOptionsResult

func (u *XdrAnon_OperationResult_Tr) SetOptionsResult() *SetOptionsResult

func (*XdrAnon_OperationResult_Tr) SetTrustLineFlagsResult added in v0.1.4

func (u *XdrAnon_OperationResult_Tr) SetTrustLineFlagsResult() *SetTrustLineFlagsResult

func (*XdrAnon_OperationResult_Tr) XdrMarshal

func (v *XdrAnon_OperationResult_Tr) XdrMarshal(x XDR, name string)

func (*XdrAnon_OperationResult_Tr) XdrPointer

func (v *XdrAnon_OperationResult_Tr) XdrPointer() interface{}

func (*XdrAnon_OperationResult_Tr) XdrRecurse

func (u *XdrAnon_OperationResult_Tr) XdrRecurse(x XDR, name string)

func (XdrAnon_OperationResult_Tr) XdrTypeName

func (XdrAnon_OperationResult_Tr) XdrTypeName() string

func (*XdrAnon_OperationResult_Tr) XdrUnionBody

func (u *XdrAnon_OperationResult_Tr) XdrUnionBody() XdrType

func (*XdrAnon_OperationResult_Tr) XdrUnionBodyName

func (u *XdrAnon_OperationResult_Tr) XdrUnionBodyName() string

func (*XdrAnon_OperationResult_Tr) XdrUnionTag

func (u *XdrAnon_OperationResult_Tr) XdrUnionTag() XdrNum32

func (*XdrAnon_OperationResult_Tr) XdrUnionTagName

func (u *XdrAnon_OperationResult_Tr) XdrUnionTagName() string

func (XdrAnon_OperationResult_Tr) XdrValid

func (u XdrAnon_OperationResult_Tr) XdrValid() bool

func (XdrAnon_OperationResult_Tr) XdrValidTags

func (_ XdrAnon_OperationResult_Tr) XdrValidTags() map[int32]bool

func (XdrAnon_OperationResult_Tr) XdrValue

func (v XdrAnon_OperationResult_Tr) XdrValue() interface{}

type XdrAnon_Operation_Body

type XdrAnon_Operation_Body struct {
	// The union discriminant Type selects among the following arms:
	//   CREATE_ACCOUNT:
	//      CreateAccountOp() *CreateAccountOp
	//   PAYMENT:
	//      PaymentOp() *PaymentOp
	//   PATH_PAYMENT_STRICT_RECEIVE:
	//      PathPaymentStrictReceiveOp() *PathPaymentStrictReceiveOp
	//   MANAGE_SELL_OFFER:
	//      ManageSellOfferOp() *ManageSellOfferOp
	//   CREATE_PASSIVE_SELL_OFFER:
	//      CreatePassiveSellOfferOp() *CreatePassiveSellOfferOp
	//   SET_OPTIONS:
	//      SetOptionsOp() *SetOptionsOp
	//   CHANGE_TRUST:
	//      ChangeTrustOp() *ChangeTrustOp
	//   ALLOW_TRUST:
	//      AllowTrustOp() *AllowTrustOp
	//   ACCOUNT_MERGE:
	//      Destination() *MuxedAccount
	//   INFLATION:
	//      void
	//   MANAGE_DATA:
	//      ManageDataOp() *ManageDataOp
	//   BUMP_SEQUENCE:
	//      BumpSequenceOp() *BumpSequenceOp
	//   MANAGE_BUY_OFFER:
	//      ManageBuyOfferOp() *ManageBuyOfferOp
	//   PATH_PAYMENT_STRICT_SEND:
	//      PathPaymentStrictSendOp() *PathPaymentStrictSendOp
	//   CREATE_CLAIMABLE_BALANCE:
	//      CreateClaimableBalanceOp() *CreateClaimableBalanceOp
	//   CLAIM_CLAIMABLE_BALANCE:
	//      ClaimClaimableBalanceOp() *ClaimClaimableBalanceOp
	//   BEGIN_SPONSORING_FUTURE_RESERVES:
	//      BeginSponsoringFutureReservesOp() *BeginSponsoringFutureReservesOp
	//   END_SPONSORING_FUTURE_RESERVES:
	//      void
	//   REVOKE_SPONSORSHIP:
	//      RevokeSponsorshipOp() *RevokeSponsorshipOp
	//   CLAWBACK:
	//      ClawbackOp() *ClawbackOp
	//   CLAWBACK_CLAIMABLE_BALANCE:
	//      ClawbackClaimableBalanceOp() *ClawbackClaimableBalanceOp
	//   SET_TRUST_LINE_FLAGS:
	//      SetTrustLineFlagsOp() *SetTrustLineFlagsOp
	//   LIQUIDITY_POOL_DEPOSIT:
	//      LiquidityPoolDepositOp() *LiquidityPoolDepositOp
	//   LIQUIDITY_POOL_WITHDRAW:
	//      LiquidityPoolWithdrawOp() *LiquidityPoolWithdrawOp
	Type OperationType
	// contains filtered or unexported fields
}

func (*XdrAnon_Operation_Body) AllowTrustOp

func (u *XdrAnon_Operation_Body) AllowTrustOp() *AllowTrustOp

func (*XdrAnon_Operation_Body) BeginSponsoringFutureReservesOp

func (u *XdrAnon_Operation_Body) BeginSponsoringFutureReservesOp() *BeginSponsoringFutureReservesOp

func (*XdrAnon_Operation_Body) BumpSequenceOp

func (u *XdrAnon_Operation_Body) BumpSequenceOp() *BumpSequenceOp

func (*XdrAnon_Operation_Body) ChangeTrustOp

func (u *XdrAnon_Operation_Body) ChangeTrustOp() *ChangeTrustOp

func (*XdrAnon_Operation_Body) ClaimClaimableBalanceOp

func (u *XdrAnon_Operation_Body) ClaimClaimableBalanceOp() *ClaimClaimableBalanceOp

func (*XdrAnon_Operation_Body) ClawbackClaimableBalanceOp added in v0.1.4

func (u *XdrAnon_Operation_Body) ClawbackClaimableBalanceOp() *ClawbackClaimableBalanceOp

func (*XdrAnon_Operation_Body) ClawbackOp added in v0.1.3

func (u *XdrAnon_Operation_Body) ClawbackOp() *ClawbackOp

func (*XdrAnon_Operation_Body) CreateAccountOp

func (u *XdrAnon_Operation_Body) CreateAccountOp() *CreateAccountOp

func (*XdrAnon_Operation_Body) CreateClaimableBalanceOp

func (u *XdrAnon_Operation_Body) CreateClaimableBalanceOp() *CreateClaimableBalanceOp

func (*XdrAnon_Operation_Body) CreatePassiveSellOfferOp

func (u *XdrAnon_Operation_Body) CreatePassiveSellOfferOp() *CreatePassiveSellOfferOp

func (*XdrAnon_Operation_Body) Destination

func (u *XdrAnon_Operation_Body) Destination() *MuxedAccount

func (*XdrAnon_Operation_Body) LiquidityPoolDepositOp added in v0.1.6

func (u *XdrAnon_Operation_Body) LiquidityPoolDepositOp() *LiquidityPoolDepositOp

func (*XdrAnon_Operation_Body) LiquidityPoolWithdrawOp added in v0.1.6

func (u *XdrAnon_Operation_Body) LiquidityPoolWithdrawOp() *LiquidityPoolWithdrawOp

func (*XdrAnon_Operation_Body) ManageBuyOfferOp

func (u *XdrAnon_Operation_Body) ManageBuyOfferOp() *ManageBuyOfferOp

func (*XdrAnon_Operation_Body) ManageDataOp

func (u *XdrAnon_Operation_Body) ManageDataOp() *ManageDataOp

func (*XdrAnon_Operation_Body) ManageSellOfferOp

func (u *XdrAnon_Operation_Body) ManageSellOfferOp() *ManageSellOfferOp

func (*XdrAnon_Operation_Body) PathPaymentStrictReceiveOp

func (u *XdrAnon_Operation_Body) PathPaymentStrictReceiveOp() *PathPaymentStrictReceiveOp

func (*XdrAnon_Operation_Body) PathPaymentStrictSendOp

func (u *XdrAnon_Operation_Body) PathPaymentStrictSendOp() *PathPaymentStrictSendOp

func (*XdrAnon_Operation_Body) PaymentOp

func (u *XdrAnon_Operation_Body) PaymentOp() *PaymentOp

func (*XdrAnon_Operation_Body) RevokeSponsorshipOp

func (u *XdrAnon_Operation_Body) RevokeSponsorshipOp() *RevokeSponsorshipOp

func (*XdrAnon_Operation_Body) SetOptionsOp

func (u *XdrAnon_Operation_Body) SetOptionsOp() *SetOptionsOp

func (*XdrAnon_Operation_Body) SetTrustLineFlagsOp added in v0.1.4

func (u *XdrAnon_Operation_Body) SetTrustLineFlagsOp() *SetTrustLineFlagsOp

func (XdrAnon_Operation_Body) To_Operation_Body

func (body XdrAnon_Operation_Body) To_Operation_Body() XdrAnon_Operation_Body

func (*XdrAnon_Operation_Body) XdrMarshal

func (v *XdrAnon_Operation_Body) XdrMarshal(x XDR, name string)

func (*XdrAnon_Operation_Body) XdrPointer

func (v *XdrAnon_Operation_Body) XdrPointer() interface{}

func (*XdrAnon_Operation_Body) XdrRecurse

func (u *XdrAnon_Operation_Body) XdrRecurse(x XDR, name string)

func (XdrAnon_Operation_Body) XdrTypeName

func (XdrAnon_Operation_Body) XdrTypeName() string

func (*XdrAnon_Operation_Body) XdrUnionBody

func (u *XdrAnon_Operation_Body) XdrUnionBody() XdrType

func (*XdrAnon_Operation_Body) XdrUnionBodyName

func (u *XdrAnon_Operation_Body) XdrUnionBodyName() string

func (*XdrAnon_Operation_Body) XdrUnionTag

func (u *XdrAnon_Operation_Body) XdrUnionTag() XdrNum32

func (*XdrAnon_Operation_Body) XdrUnionTagName

func (u *XdrAnon_Operation_Body) XdrUnionTagName() string

func (XdrAnon_Operation_Body) XdrValid

func (u XdrAnon_Operation_Body) XdrValid() bool

func (XdrAnon_Operation_Body) XdrValidTags

func (_ XdrAnon_Operation_Body) XdrValidTags() map[int32]bool

func (XdrAnon_Operation_Body) XdrValue

func (v XdrAnon_Operation_Body) XdrValue() interface{}

type XdrAnon_PathPaymentStrictReceiveResult_Success

type XdrAnon_PathPaymentStrictReceiveResult_Success struct {
	Offers []ClaimAtom
	Last   SimplePaymentResult
}

func (*XdrAnon_PathPaymentStrictReceiveResult_Success) XdrMarshal

func (v *XdrAnon_PathPaymentStrictReceiveResult_Success) XdrMarshal(x XDR, name string)

func (*XdrAnon_PathPaymentStrictReceiveResult_Success) XdrPointer

func (v *XdrAnon_PathPaymentStrictReceiveResult_Success) XdrPointer() interface{}

func (*XdrAnon_PathPaymentStrictReceiveResult_Success) XdrRecurse

func (v *XdrAnon_PathPaymentStrictReceiveResult_Success) XdrRecurse(x XDR, name string)

func (XdrAnon_PathPaymentStrictReceiveResult_Success) XdrTypeName

func (XdrAnon_PathPaymentStrictReceiveResult_Success) XdrValue

func (v XdrAnon_PathPaymentStrictReceiveResult_Success) XdrValue() interface{}

type XdrAnon_PathPaymentStrictSendResult_Success

type XdrAnon_PathPaymentStrictSendResult_Success struct {
	Offers []ClaimAtom
	Last   SimplePaymentResult
}

func (*XdrAnon_PathPaymentStrictSendResult_Success) XdrMarshal

func (v *XdrAnon_PathPaymentStrictSendResult_Success) XdrMarshal(x XDR, name string)

func (*XdrAnon_PathPaymentStrictSendResult_Success) XdrPointer

func (v *XdrAnon_PathPaymentStrictSendResult_Success) XdrPointer() interface{}

func (*XdrAnon_PathPaymentStrictSendResult_Success) XdrRecurse

func (v *XdrAnon_PathPaymentStrictSendResult_Success) XdrRecurse(x XDR, name string)

func (XdrAnon_PathPaymentStrictSendResult_Success) XdrTypeName

func (XdrAnon_PathPaymentStrictSendResult_Success) XdrValue

func (v XdrAnon_PathPaymentStrictSendResult_Success) XdrValue() interface{}

type XdrAnon_PeerAddress_Ip

type XdrAnon_PeerAddress_Ip struct {
	// The union discriminant Type selects among the following arms:
	//   IPv4:
	//      Ipv4() *[4]byte
	//   IPv6:
	//      Ipv6() *[16]byte
	Type IPAddrType
	// contains filtered or unexported fields
}

func (*XdrAnon_PeerAddress_Ip) Ipv4

func (u *XdrAnon_PeerAddress_Ip) Ipv4() *[4]byte

func (*XdrAnon_PeerAddress_Ip) Ipv6

func (u *XdrAnon_PeerAddress_Ip) Ipv6() *[16]byte

func (*XdrAnon_PeerAddress_Ip) XdrMarshal

func (v *XdrAnon_PeerAddress_Ip) XdrMarshal(x XDR, name string)

func (*XdrAnon_PeerAddress_Ip) XdrPointer

func (v *XdrAnon_PeerAddress_Ip) XdrPointer() interface{}

func (*XdrAnon_PeerAddress_Ip) XdrRecurse

func (u *XdrAnon_PeerAddress_Ip) XdrRecurse(x XDR, name string)

func (XdrAnon_PeerAddress_Ip) XdrTypeName

func (XdrAnon_PeerAddress_Ip) XdrTypeName() string

func (*XdrAnon_PeerAddress_Ip) XdrUnionBody

func (u *XdrAnon_PeerAddress_Ip) XdrUnionBody() XdrType

func (*XdrAnon_PeerAddress_Ip) XdrUnionBodyName

func (u *XdrAnon_PeerAddress_Ip) XdrUnionBodyName() string

func (*XdrAnon_PeerAddress_Ip) XdrUnionTag

func (u *XdrAnon_PeerAddress_Ip) XdrUnionTag() XdrNum32

func (*XdrAnon_PeerAddress_Ip) XdrUnionTagName

func (u *XdrAnon_PeerAddress_Ip) XdrUnionTagName() string

func (XdrAnon_PeerAddress_Ip) XdrValid

func (u XdrAnon_PeerAddress_Ip) XdrValid() bool

func (XdrAnon_PeerAddress_Ip) XdrValidTags

func (_ XdrAnon_PeerAddress_Ip) XdrValidTags() map[int32]bool

func (XdrAnon_PeerAddress_Ip) XdrValue

func (v XdrAnon_PeerAddress_Ip) XdrValue() interface{}

type XdrAnon_RevokeSponsorshipOp_Signer

type XdrAnon_RevokeSponsorshipOp_Signer struct {
	AccountID AccountID
	SignerKey SignerKey
}

func (*XdrAnon_RevokeSponsorshipOp_Signer) XdrMarshal

func (v *XdrAnon_RevokeSponsorshipOp_Signer) XdrMarshal(x XDR, name string)

func (*XdrAnon_RevokeSponsorshipOp_Signer) XdrPointer

func (v *XdrAnon_RevokeSponsorshipOp_Signer) XdrPointer() interface{}

func (*XdrAnon_RevokeSponsorshipOp_Signer) XdrRecurse

func (v *XdrAnon_RevokeSponsorshipOp_Signer) XdrRecurse(x XDR, name string)

func (XdrAnon_RevokeSponsorshipOp_Signer) XdrTypeName

func (XdrAnon_RevokeSponsorshipOp_Signer) XdrValue

func (v XdrAnon_RevokeSponsorshipOp_Signer) XdrValue() interface{}

type XdrAnon_SCPStatement_Pledges

type XdrAnon_SCPStatement_Pledges struct {
	// The union discriminant Type selects among the following arms:
	//   SCP_ST_PREPARE:
	//      Prepare() *XdrAnon_SCPStatement_Pledges_Prepare
	//   SCP_ST_CONFIRM:
	//      Confirm() *XdrAnon_SCPStatement_Pledges_Confirm
	//   SCP_ST_EXTERNALIZE:
	//      Externalize() *XdrAnon_SCPStatement_Pledges_Externalize
	//   SCP_ST_NOMINATE:
	//      Nominate() *SCPNomination
	Type SCPStatementType
	// contains filtered or unexported fields
}

func (*XdrAnon_SCPStatement_Pledges) Confirm

func (*XdrAnon_SCPStatement_Pledges) Externalize

func (*XdrAnon_SCPStatement_Pledges) Nominate

func (*XdrAnon_SCPStatement_Pledges) Prepare

func (*XdrAnon_SCPStatement_Pledges) XdrMarshal

func (v *XdrAnon_SCPStatement_Pledges) XdrMarshal(x XDR, name string)

func (*XdrAnon_SCPStatement_Pledges) XdrPointer

func (v *XdrAnon_SCPStatement_Pledges) XdrPointer() interface{}

func (*XdrAnon_SCPStatement_Pledges) XdrRecurse

func (u *XdrAnon_SCPStatement_Pledges) XdrRecurse(x XDR, name string)

func (XdrAnon_SCPStatement_Pledges) XdrTypeName

func (XdrAnon_SCPStatement_Pledges) XdrTypeName() string

func (*XdrAnon_SCPStatement_Pledges) XdrUnionBody

func (u *XdrAnon_SCPStatement_Pledges) XdrUnionBody() XdrType

func (*XdrAnon_SCPStatement_Pledges) XdrUnionBodyName

func (u *XdrAnon_SCPStatement_Pledges) XdrUnionBodyName() string

func (*XdrAnon_SCPStatement_Pledges) XdrUnionTag

func (u *XdrAnon_SCPStatement_Pledges) XdrUnionTag() XdrNum32

func (*XdrAnon_SCPStatement_Pledges) XdrUnionTagName

func (u *XdrAnon_SCPStatement_Pledges) XdrUnionTagName() string

func (XdrAnon_SCPStatement_Pledges) XdrValid

func (u XdrAnon_SCPStatement_Pledges) XdrValid() bool

func (XdrAnon_SCPStatement_Pledges) XdrValidTags

func (_ XdrAnon_SCPStatement_Pledges) XdrValidTags() map[int32]bool

func (XdrAnon_SCPStatement_Pledges) XdrValue

func (v XdrAnon_SCPStatement_Pledges) XdrValue() interface{}

type XdrAnon_SCPStatement_Pledges_Confirm

type XdrAnon_SCPStatement_Pledges_Confirm struct {
	// b
	Ballot SCPBallot
	// p.n
	NPrepared Uint32
	// c.n
	NCommit Uint32
	// h.n
	NH Uint32
	// D
	QuorumSetHash Hash
}

func (*XdrAnon_SCPStatement_Pledges_Confirm) XdrMarshal

func (v *XdrAnon_SCPStatement_Pledges_Confirm) XdrMarshal(x XDR, name string)

func (*XdrAnon_SCPStatement_Pledges_Confirm) XdrPointer

func (v *XdrAnon_SCPStatement_Pledges_Confirm) XdrPointer() interface{}

func (*XdrAnon_SCPStatement_Pledges_Confirm) XdrRecurse

func (v *XdrAnon_SCPStatement_Pledges_Confirm) XdrRecurse(x XDR, name string)

func (XdrAnon_SCPStatement_Pledges_Confirm) XdrTypeName

func (XdrAnon_SCPStatement_Pledges_Confirm) XdrValue

func (v XdrAnon_SCPStatement_Pledges_Confirm) XdrValue() interface{}

type XdrAnon_SCPStatement_Pledges_Externalize

type XdrAnon_SCPStatement_Pledges_Externalize struct {
	// c
	Commit SCPBallot
	// h.n
	NH Uint32
	// D used before EXTERNALIZE
	CommitQuorumSetHash Hash
}

func (*XdrAnon_SCPStatement_Pledges_Externalize) XdrMarshal

func (v *XdrAnon_SCPStatement_Pledges_Externalize) XdrMarshal(x XDR, name string)

func (*XdrAnon_SCPStatement_Pledges_Externalize) XdrPointer

func (v *XdrAnon_SCPStatement_Pledges_Externalize) XdrPointer() interface{}

func (*XdrAnon_SCPStatement_Pledges_Externalize) XdrRecurse

func (v *XdrAnon_SCPStatement_Pledges_Externalize) XdrRecurse(x XDR, name string)

func (XdrAnon_SCPStatement_Pledges_Externalize) XdrTypeName

func (XdrAnon_SCPStatement_Pledges_Externalize) XdrValue

func (v XdrAnon_SCPStatement_Pledges_Externalize) XdrValue() interface{}

type XdrAnon_SCPStatement_Pledges_Prepare

type XdrAnon_SCPStatement_Pledges_Prepare struct {
	// D
	QuorumSetHash Hash
	// b
	Ballot SCPBallot
	// p
	Prepared *SCPBallot
	// p'
	PreparedPrime *SCPBallot
	// c.n
	NC Uint32
	// h.n
	NH Uint32
}

func (*XdrAnon_SCPStatement_Pledges_Prepare) XdrMarshal

func (v *XdrAnon_SCPStatement_Pledges_Prepare) XdrMarshal(x XDR, name string)

func (*XdrAnon_SCPStatement_Pledges_Prepare) XdrPointer

func (v *XdrAnon_SCPStatement_Pledges_Prepare) XdrPointer() interface{}

func (*XdrAnon_SCPStatement_Pledges_Prepare) XdrRecurse

func (v *XdrAnon_SCPStatement_Pledges_Prepare) XdrRecurse(x XDR, name string)

func (XdrAnon_SCPStatement_Pledges_Prepare) XdrTypeName

func (XdrAnon_SCPStatement_Pledges_Prepare) XdrValue

func (v XdrAnon_SCPStatement_Pledges_Prepare) XdrValue() interface{}

type XdrAnon_StellarValue_Ext

type XdrAnon_StellarValue_Ext struct {
	// The union discriminant V selects among the following arms:
	//   STELLAR_VALUE_BASIC:
	//      void
	//   STELLAR_VALUE_SIGNED:
	//      LcValueSignature() *LedgerCloseValueSignature
	V StellarValueType
	// contains filtered or unexported fields
}

reserved for future use

func (*XdrAnon_StellarValue_Ext) LcValueSignature

func (u *XdrAnon_StellarValue_Ext) LcValueSignature() *LedgerCloseValueSignature

func (*XdrAnon_StellarValue_Ext) XdrMarshal

func (v *XdrAnon_StellarValue_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_StellarValue_Ext) XdrPointer

func (v *XdrAnon_StellarValue_Ext) XdrPointer() interface{}

func (*XdrAnon_StellarValue_Ext) XdrRecurse

func (u *XdrAnon_StellarValue_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_StellarValue_Ext) XdrTypeName

func (XdrAnon_StellarValue_Ext) XdrTypeName() string

func (*XdrAnon_StellarValue_Ext) XdrUnionBody

func (u *XdrAnon_StellarValue_Ext) XdrUnionBody() XdrType

func (*XdrAnon_StellarValue_Ext) XdrUnionBodyName

func (u *XdrAnon_StellarValue_Ext) XdrUnionBodyName() string

func (*XdrAnon_StellarValue_Ext) XdrUnionTag

func (u *XdrAnon_StellarValue_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_StellarValue_Ext) XdrUnionTagName

func (u *XdrAnon_StellarValue_Ext) XdrUnionTagName() string

func (XdrAnon_StellarValue_Ext) XdrValid

func (u XdrAnon_StellarValue_Ext) XdrValid() bool

func (XdrAnon_StellarValue_Ext) XdrValidTags

func (_ XdrAnon_StellarValue_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_StellarValue_Ext) XdrValue

func (v XdrAnon_StellarValue_Ext) XdrValue() interface{}

type XdrAnon_TransactionHistoryEntry_Ext

type XdrAnon_TransactionHistoryEntry_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	V int32
	// contains filtered or unexported fields
}

reserved for future use

func (*XdrAnon_TransactionHistoryEntry_Ext) XdrMarshal

func (v *XdrAnon_TransactionHistoryEntry_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_TransactionHistoryEntry_Ext) XdrPointer

func (v *XdrAnon_TransactionHistoryEntry_Ext) XdrPointer() interface{}

func (*XdrAnon_TransactionHistoryEntry_Ext) XdrRecurse

func (u *XdrAnon_TransactionHistoryEntry_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_TransactionHistoryEntry_Ext) XdrTypeName

func (*XdrAnon_TransactionHistoryEntry_Ext) XdrUnionBody

func (u *XdrAnon_TransactionHistoryEntry_Ext) XdrUnionBody() XdrType

func (*XdrAnon_TransactionHistoryEntry_Ext) XdrUnionBodyName

func (u *XdrAnon_TransactionHistoryEntry_Ext) XdrUnionBodyName() string

func (*XdrAnon_TransactionHistoryEntry_Ext) XdrUnionTag

func (u *XdrAnon_TransactionHistoryEntry_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_TransactionHistoryEntry_Ext) XdrUnionTagName

func (u *XdrAnon_TransactionHistoryEntry_Ext) XdrUnionTagName() string

func (XdrAnon_TransactionHistoryEntry_Ext) XdrValid

func (XdrAnon_TransactionHistoryEntry_Ext) XdrValidTags

func (_ XdrAnon_TransactionHistoryEntry_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_TransactionHistoryEntry_Ext) XdrValue

func (v XdrAnon_TransactionHistoryEntry_Ext) XdrValue() interface{}

type XdrAnon_TransactionHistoryResultEntry_Ext

type XdrAnon_TransactionHistoryResultEntry_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	V int32
	// contains filtered or unexported fields
}

reserved for future use

func (*XdrAnon_TransactionHistoryResultEntry_Ext) XdrMarshal

func (v *XdrAnon_TransactionHistoryResultEntry_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_TransactionHistoryResultEntry_Ext) XdrPointer

func (v *XdrAnon_TransactionHistoryResultEntry_Ext) XdrPointer() interface{}

func (*XdrAnon_TransactionHistoryResultEntry_Ext) XdrRecurse

func (u *XdrAnon_TransactionHistoryResultEntry_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_TransactionHistoryResultEntry_Ext) XdrTypeName

func (*XdrAnon_TransactionHistoryResultEntry_Ext) XdrUnionBody

func (u *XdrAnon_TransactionHistoryResultEntry_Ext) XdrUnionBody() XdrType

func (*XdrAnon_TransactionHistoryResultEntry_Ext) XdrUnionBodyName

func (u *XdrAnon_TransactionHistoryResultEntry_Ext) XdrUnionBodyName() string

func (*XdrAnon_TransactionHistoryResultEntry_Ext) XdrUnionTag

func (u *XdrAnon_TransactionHistoryResultEntry_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_TransactionHistoryResultEntry_Ext) XdrUnionTagName

func (XdrAnon_TransactionHistoryResultEntry_Ext) XdrValid

func (XdrAnon_TransactionHistoryResultEntry_Ext) XdrValidTags

func (XdrAnon_TransactionHistoryResultEntry_Ext) XdrValue

func (v XdrAnon_TransactionHistoryResultEntry_Ext) XdrValue() interface{}

type XdrAnon_TransactionResult_Ext

type XdrAnon_TransactionResult_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	V int32
	// contains filtered or unexported fields
}

reserved for future use

func (*XdrAnon_TransactionResult_Ext) XdrMarshal

func (v *XdrAnon_TransactionResult_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_TransactionResult_Ext) XdrPointer

func (v *XdrAnon_TransactionResult_Ext) XdrPointer() interface{}

func (*XdrAnon_TransactionResult_Ext) XdrRecurse

func (u *XdrAnon_TransactionResult_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_TransactionResult_Ext) XdrTypeName

func (XdrAnon_TransactionResult_Ext) XdrTypeName() string

func (*XdrAnon_TransactionResult_Ext) XdrUnionBody

func (u *XdrAnon_TransactionResult_Ext) XdrUnionBody() XdrType

func (*XdrAnon_TransactionResult_Ext) XdrUnionBodyName

func (u *XdrAnon_TransactionResult_Ext) XdrUnionBodyName() string

func (*XdrAnon_TransactionResult_Ext) XdrUnionTag

func (u *XdrAnon_TransactionResult_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_TransactionResult_Ext) XdrUnionTagName

func (u *XdrAnon_TransactionResult_Ext) XdrUnionTagName() string

func (XdrAnon_TransactionResult_Ext) XdrValid

func (u XdrAnon_TransactionResult_Ext) XdrValid() bool

func (XdrAnon_TransactionResult_Ext) XdrValidTags

func (_ XdrAnon_TransactionResult_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_TransactionResult_Ext) XdrValue

func (v XdrAnon_TransactionResult_Ext) XdrValue() interface{}

type XdrAnon_TransactionResult_Result

type XdrAnon_TransactionResult_Result struct {
	// The union discriminant Code selects among the following arms:
	//   TxFEE_BUMP_INNER_SUCCESS, TxFEE_BUMP_INNER_FAILED:
	//      InnerResultPair() *InnerTransactionResultPair
	//   TxSUCCESS, TxFAILED:
	//      Results() *[]OperationResult
	//   default:
	//      void
	Code TransactionResultCode
	// contains filtered or unexported fields
}

func (*XdrAnon_TransactionResult_Result) InnerResultPair

func (*XdrAnon_TransactionResult_Result) Results

func (*XdrAnon_TransactionResult_Result) XdrMarshal

func (v *XdrAnon_TransactionResult_Result) XdrMarshal(x XDR, name string)

func (*XdrAnon_TransactionResult_Result) XdrPointer

func (v *XdrAnon_TransactionResult_Result) XdrPointer() interface{}

func (*XdrAnon_TransactionResult_Result) XdrRecurse

func (u *XdrAnon_TransactionResult_Result) XdrRecurse(x XDR, name string)

func (XdrAnon_TransactionResult_Result) XdrTypeName

func (*XdrAnon_TransactionResult_Result) XdrUnionBody

func (u *XdrAnon_TransactionResult_Result) XdrUnionBody() XdrType

func (*XdrAnon_TransactionResult_Result) XdrUnionBodyName

func (u *XdrAnon_TransactionResult_Result) XdrUnionBodyName() string

func (*XdrAnon_TransactionResult_Result) XdrUnionTag

func (u *XdrAnon_TransactionResult_Result) XdrUnionTag() XdrNum32

func (*XdrAnon_TransactionResult_Result) XdrUnionTagName

func (u *XdrAnon_TransactionResult_Result) XdrUnionTagName() string

func (XdrAnon_TransactionResult_Result) XdrValid

func (XdrAnon_TransactionResult_Result) XdrValidTags added in v0.1.4

func (_ XdrAnon_TransactionResult_Result) XdrValidTags() map[int32]bool

func (XdrAnon_TransactionResult_Result) XdrValue

func (v XdrAnon_TransactionResult_Result) XdrValue() interface{}

type XdrAnon_TransactionSignaturePayload_TaggedTransaction

type XdrAnon_TransactionSignaturePayload_TaggedTransaction struct {
	// The union discriminant Type selects among the following arms:
	//   ENVELOPE_TYPE_TX:
	//      Tx() *Transaction
	//   ENVELOPE_TYPE_TX_FEE_BUMP:
	//      FeeBump() *FeeBumpTransaction
	Type EnvelopeType
	// contains filtered or unexported fields
}

func (*XdrAnon_TransactionSignaturePayload_TaggedTransaction) FeeBump

func (*XdrAnon_TransactionSignaturePayload_TaggedTransaction) Tx

func (*XdrAnon_TransactionSignaturePayload_TaggedTransaction) XdrInitialize

func (*XdrAnon_TransactionSignaturePayload_TaggedTransaction) XdrMarshal

func (*XdrAnon_TransactionSignaturePayload_TaggedTransaction) XdrPointer

func (v *XdrAnon_TransactionSignaturePayload_TaggedTransaction) XdrPointer() interface{}

func (*XdrAnon_TransactionSignaturePayload_TaggedTransaction) XdrRecurse

func (XdrAnon_TransactionSignaturePayload_TaggedTransaction) XdrTypeName

func (*XdrAnon_TransactionSignaturePayload_TaggedTransaction) XdrUnionBody

func (*XdrAnon_TransactionSignaturePayload_TaggedTransaction) XdrUnionBodyName

func (*XdrAnon_TransactionSignaturePayload_TaggedTransaction) XdrUnionTag

func (*XdrAnon_TransactionSignaturePayload_TaggedTransaction) XdrUnionTagName

func (XdrAnon_TransactionSignaturePayload_TaggedTransaction) XdrValid

func (XdrAnon_TransactionSignaturePayload_TaggedTransaction) XdrValidTags

func (XdrAnon_TransactionSignaturePayload_TaggedTransaction) XdrValue

type XdrAnon_TransactionV0_Ext

type XdrAnon_TransactionV0_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	V int32
	// contains filtered or unexported fields
}

func (*XdrAnon_TransactionV0_Ext) XdrMarshal

func (v *XdrAnon_TransactionV0_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_TransactionV0_Ext) XdrPointer

func (v *XdrAnon_TransactionV0_Ext) XdrPointer() interface{}

func (*XdrAnon_TransactionV0_Ext) XdrRecurse

func (u *XdrAnon_TransactionV0_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_TransactionV0_Ext) XdrTypeName

func (XdrAnon_TransactionV0_Ext) XdrTypeName() string

func (*XdrAnon_TransactionV0_Ext) XdrUnionBody

func (u *XdrAnon_TransactionV0_Ext) XdrUnionBody() XdrType

func (*XdrAnon_TransactionV0_Ext) XdrUnionBodyName

func (u *XdrAnon_TransactionV0_Ext) XdrUnionBodyName() string

func (*XdrAnon_TransactionV0_Ext) XdrUnionTag

func (u *XdrAnon_TransactionV0_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_TransactionV0_Ext) XdrUnionTagName

func (u *XdrAnon_TransactionV0_Ext) XdrUnionTagName() string

func (XdrAnon_TransactionV0_Ext) XdrValid

func (u XdrAnon_TransactionV0_Ext) XdrValid() bool

func (XdrAnon_TransactionV0_Ext) XdrValidTags

func (_ XdrAnon_TransactionV0_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_TransactionV0_Ext) XdrValue

func (v XdrAnon_TransactionV0_Ext) XdrValue() interface{}

type XdrAnon_Transaction_Ext

type XdrAnon_Transaction_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	V int32
	// contains filtered or unexported fields
}

reserved for future use

func (*XdrAnon_Transaction_Ext) XdrMarshal

func (v *XdrAnon_Transaction_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_Transaction_Ext) XdrPointer

func (v *XdrAnon_Transaction_Ext) XdrPointer() interface{}

func (*XdrAnon_Transaction_Ext) XdrRecurse

func (u *XdrAnon_Transaction_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_Transaction_Ext) XdrTypeName

func (XdrAnon_Transaction_Ext) XdrTypeName() string

func (*XdrAnon_Transaction_Ext) XdrUnionBody

func (u *XdrAnon_Transaction_Ext) XdrUnionBody() XdrType

func (*XdrAnon_Transaction_Ext) XdrUnionBodyName

func (u *XdrAnon_Transaction_Ext) XdrUnionBodyName() string

func (*XdrAnon_Transaction_Ext) XdrUnionTag

func (u *XdrAnon_Transaction_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_Transaction_Ext) XdrUnionTagName

func (u *XdrAnon_Transaction_Ext) XdrUnionTagName() string

func (XdrAnon_Transaction_Ext) XdrValid

func (u XdrAnon_Transaction_Ext) XdrValid() bool

func (XdrAnon_Transaction_Ext) XdrValidTags

func (_ XdrAnon_Transaction_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_Transaction_Ext) XdrValue

func (v XdrAnon_Transaction_Ext) XdrValue() interface{}

type XdrAnon_TrustLineEntryExtensionV2_Ext added in v0.1.6

type XdrAnon_TrustLineEntryExtensionV2_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	V int32
	// contains filtered or unexported fields
}

func XDR_XdrAnon_TrustLineEntryExtensionV2_Ext added in v0.1.6

func XDR_XdrAnon_TrustLineEntryExtensionV2_Ext(v *XdrAnon_TrustLineEntryExtensionV2_Ext) *XdrAnon_TrustLineEntryExtensionV2_Ext

func (*XdrAnon_TrustLineEntryExtensionV2_Ext) XdrMarshal added in v0.1.6

func (v *XdrAnon_TrustLineEntryExtensionV2_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_TrustLineEntryExtensionV2_Ext) XdrPointer added in v0.1.6

func (v *XdrAnon_TrustLineEntryExtensionV2_Ext) XdrPointer() interface{}

func (*XdrAnon_TrustLineEntryExtensionV2_Ext) XdrRecurse added in v0.1.6

func (u *XdrAnon_TrustLineEntryExtensionV2_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_TrustLineEntryExtensionV2_Ext) XdrTypeName added in v0.1.6

func (*XdrAnon_TrustLineEntryExtensionV2_Ext) XdrUnionBody added in v0.1.6

func (u *XdrAnon_TrustLineEntryExtensionV2_Ext) XdrUnionBody() XdrType

func (*XdrAnon_TrustLineEntryExtensionV2_Ext) XdrUnionBodyName added in v0.1.6

func (u *XdrAnon_TrustLineEntryExtensionV2_Ext) XdrUnionBodyName() string

func (*XdrAnon_TrustLineEntryExtensionV2_Ext) XdrUnionTag added in v0.1.6

func (u *XdrAnon_TrustLineEntryExtensionV2_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_TrustLineEntryExtensionV2_Ext) XdrUnionTagName added in v0.1.6

func (u *XdrAnon_TrustLineEntryExtensionV2_Ext) XdrUnionTagName() string

func (XdrAnon_TrustLineEntryExtensionV2_Ext) XdrValid added in v0.1.6

func (XdrAnon_TrustLineEntryExtensionV2_Ext) XdrValidTags added in v0.1.6

func (_ XdrAnon_TrustLineEntryExtensionV2_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_TrustLineEntryExtensionV2_Ext) XdrValue added in v0.1.6

func (v XdrAnon_TrustLineEntryExtensionV2_Ext) XdrValue() interface{}

type XdrAnon_TrustLineEntry_Ext

type XdrAnon_TrustLineEntry_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	//   1:
	//      V1() *XdrAnon_TrustLineEntry_Ext_V1
	V int32
	// contains filtered or unexported fields
}

reserved for future use

func (*XdrAnon_TrustLineEntry_Ext) V1

func (*XdrAnon_TrustLineEntry_Ext) XdrMarshal

func (v *XdrAnon_TrustLineEntry_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_TrustLineEntry_Ext) XdrPointer

func (v *XdrAnon_TrustLineEntry_Ext) XdrPointer() interface{}

func (*XdrAnon_TrustLineEntry_Ext) XdrRecurse

func (u *XdrAnon_TrustLineEntry_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_TrustLineEntry_Ext) XdrTypeName

func (XdrAnon_TrustLineEntry_Ext) XdrTypeName() string

func (*XdrAnon_TrustLineEntry_Ext) XdrUnionBody

func (u *XdrAnon_TrustLineEntry_Ext) XdrUnionBody() XdrType

func (*XdrAnon_TrustLineEntry_Ext) XdrUnionBodyName

func (u *XdrAnon_TrustLineEntry_Ext) XdrUnionBodyName() string

func (*XdrAnon_TrustLineEntry_Ext) XdrUnionTag

func (u *XdrAnon_TrustLineEntry_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_TrustLineEntry_Ext) XdrUnionTagName

func (u *XdrAnon_TrustLineEntry_Ext) XdrUnionTagName() string

func (XdrAnon_TrustLineEntry_Ext) XdrValid

func (u XdrAnon_TrustLineEntry_Ext) XdrValid() bool

func (XdrAnon_TrustLineEntry_Ext) XdrValidTags

func (_ XdrAnon_TrustLineEntry_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_TrustLineEntry_Ext) XdrValue

func (v XdrAnon_TrustLineEntry_Ext) XdrValue() interface{}

type XdrAnon_TrustLineEntry_Ext_V1

type XdrAnon_TrustLineEntry_Ext_V1 struct {
	Liabilities Liabilities
	Ext         XdrAnon_TrustLineEntry_Ext_V1_Ext
}

func (*XdrAnon_TrustLineEntry_Ext_V1) XdrMarshal

func (v *XdrAnon_TrustLineEntry_Ext_V1) XdrMarshal(x XDR, name string)

func (*XdrAnon_TrustLineEntry_Ext_V1) XdrPointer

func (v *XdrAnon_TrustLineEntry_Ext_V1) XdrPointer() interface{}

func (*XdrAnon_TrustLineEntry_Ext_V1) XdrRecurse

func (v *XdrAnon_TrustLineEntry_Ext_V1) XdrRecurse(x XDR, name string)

func (XdrAnon_TrustLineEntry_Ext_V1) XdrTypeName

func (XdrAnon_TrustLineEntry_Ext_V1) XdrTypeName() string

func (XdrAnon_TrustLineEntry_Ext_V1) XdrValue

func (v XdrAnon_TrustLineEntry_Ext_V1) XdrValue() interface{}

type XdrAnon_TrustLineEntry_Ext_V1_Ext

type XdrAnon_TrustLineEntry_Ext_V1_Ext struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	//   2:
	//      V2() *TrustLineEntryExtensionV2
	V int32
	// contains filtered or unexported fields
}

func (*XdrAnon_TrustLineEntry_Ext_V1_Ext) V2 added in v0.1.6

func (*XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrMarshal

func (v *XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrMarshal(x XDR, name string)

func (*XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrPointer

func (v *XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrPointer() interface{}

func (*XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrRecurse

func (u *XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrRecurse(x XDR, name string)

func (XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrTypeName

func (*XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrUnionBody

func (u *XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrUnionBody() XdrType

func (*XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrUnionBodyName

func (u *XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrUnionBodyName() string

func (*XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrUnionTag

func (u *XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrUnionTag() XdrNum32

func (*XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrUnionTagName

func (u *XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrUnionTagName() string

func (XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrValid

func (XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrValidTags

func (_ XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrValidTags() map[int32]bool

func (XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrValue

func (v XdrAnon_TrustLineEntry_Ext_V1_Ext) XdrValue() interface{}

type XdrType_AccountEntry

type XdrType_AccountEntry = *AccountEntry

type XdrType_AccountEntryExtensionV1

type XdrType_AccountEntryExtensionV1 = *AccountEntryExtensionV1

type XdrType_AccountEntryExtensionV2

type XdrType_AccountEntryExtensionV2 = *AccountEntryExtensionV2

type XdrType_AccountFlags

type XdrType_AccountFlags = *AccountFlags

type XdrType_AccountID

type XdrType_AccountID struct {
	XdrType_PublicKey
}

func XDR_AccountID

func XDR_AccountID(v *AccountID) XdrType_AccountID

func (XdrType_AccountID) XdrTypeName

func (XdrType_AccountID) XdrTypeName() string

func (XdrType_AccountID) XdrUnwrap

func (v XdrType_AccountID) XdrUnwrap() XdrType

type XdrType_AccountMergeResult

type XdrType_AccountMergeResult = *AccountMergeResult

type XdrType_AccountMergeResultCode

type XdrType_AccountMergeResultCode = *AccountMergeResultCode

type XdrType_AllowTrustOp

type XdrType_AllowTrustOp = *AllowTrustOp

type XdrType_AllowTrustResult

type XdrType_AllowTrustResult = *AllowTrustResult

type XdrType_AllowTrustResultCode

type XdrType_AllowTrustResultCode = *AllowTrustResultCode

type XdrType_AlphaNum12 added in v0.1.5

type XdrType_AlphaNum12 = *AlphaNum12

type XdrType_AlphaNum4 added in v0.1.5

type XdrType_AlphaNum4 = *AlphaNum4

type XdrType_Asset

type XdrType_Asset = *Asset

type XdrType_AssetCode added in v0.1.3

type XdrType_AssetCode = *AssetCode

type XdrType_AssetCode12

type XdrType_AssetCode12 struct {
	// contains filtered or unexported fields
}

func XDR_AssetCode12

func XDR_AssetCode12(v *AssetCode12) XdrType_AssetCode12

func (XdrType_AssetCode12) GetByteSlice

func (v XdrType_AssetCode12) GetByteSlice() []byte

func (XdrType_AssetCode12) Scan

func (v XdrType_AssetCode12) Scan(ss fmt.ScanState, c rune) error

func (XdrType_AssetCode12) String

func (v XdrType_AssetCode12) String() string

func (XdrType_AssetCode12) XdrArraySize

func (XdrType_AssetCode12) XdrArraySize() uint32

func (XdrType_AssetCode12) XdrMarshal

func (v XdrType_AssetCode12) XdrMarshal(x XDR, name string)

func (XdrType_AssetCode12) XdrPointer

func (v XdrType_AssetCode12) XdrPointer() interface{}

func (XdrType_AssetCode12) XdrTypeName

func (XdrType_AssetCode12) XdrTypeName() string

func (XdrType_AssetCode12) XdrUnwrap

func (v XdrType_AssetCode12) XdrUnwrap() XdrType

func (XdrType_AssetCode12) XdrValue

func (v XdrType_AssetCode12) XdrValue() interface{}

type XdrType_AssetCode4

type XdrType_AssetCode4 struct {
	// contains filtered or unexported fields
}

func XDR_AssetCode4

func XDR_AssetCode4(v *AssetCode4) XdrType_AssetCode4

func (XdrType_AssetCode4) GetByteSlice

func (v XdrType_AssetCode4) GetByteSlice() []byte

func (XdrType_AssetCode4) Scan

func (v XdrType_AssetCode4) Scan(ss fmt.ScanState, c rune) error

func (XdrType_AssetCode4) String

func (v XdrType_AssetCode4) String() string

func (XdrType_AssetCode4) XdrArraySize

func (XdrType_AssetCode4) XdrArraySize() uint32

func (XdrType_AssetCode4) XdrMarshal

func (v XdrType_AssetCode4) XdrMarshal(x XDR, name string)

func (XdrType_AssetCode4) XdrPointer

func (v XdrType_AssetCode4) XdrPointer() interface{}

func (XdrType_AssetCode4) XdrTypeName

func (XdrType_AssetCode4) XdrTypeName() string

func (XdrType_AssetCode4) XdrUnwrap

func (v XdrType_AssetCode4) XdrUnwrap() XdrType

func (XdrType_AssetCode4) XdrValue

func (v XdrType_AssetCode4) XdrValue() interface{}

type XdrType_AssetType

type XdrType_AssetType = *AssetType

type XdrType_Auth

type XdrType_Auth = *Auth

type XdrType_AuthCert

type XdrType_AuthCert = *AuthCert

type XdrType_AuthenticatedMessage

type XdrType_AuthenticatedMessage = *AuthenticatedMessage

type XdrType_BeginSponsoringFutureReservesOp

type XdrType_BeginSponsoringFutureReservesOp = *BeginSponsoringFutureReservesOp

type XdrType_BeginSponsoringFutureReservesResult

type XdrType_BeginSponsoringFutureReservesResult = *BeginSponsoringFutureReservesResult

type XdrType_BeginSponsoringFutureReservesResultCode

type XdrType_BeginSponsoringFutureReservesResultCode = *BeginSponsoringFutureReservesResultCode

type XdrType_BucketEntry

type XdrType_BucketEntry = *BucketEntry

type XdrType_BucketEntryType

type XdrType_BucketEntryType = *BucketEntryType

type XdrType_BucketMetadata

type XdrType_BucketMetadata = *BucketMetadata

type XdrType_BumpSequenceOp

type XdrType_BumpSequenceOp = *BumpSequenceOp

type XdrType_BumpSequenceResult

type XdrType_BumpSequenceResult = *BumpSequenceResult

type XdrType_BumpSequenceResultCode

type XdrType_BumpSequenceResultCode = *BumpSequenceResultCode

type XdrType_ChangeTrustAsset added in v0.1.5

type XdrType_ChangeTrustAsset = *ChangeTrustAsset

type XdrType_ChangeTrustOp

type XdrType_ChangeTrustOp = *ChangeTrustOp

type XdrType_ChangeTrustResult

type XdrType_ChangeTrustResult = *ChangeTrustResult

type XdrType_ChangeTrustResultCode

type XdrType_ChangeTrustResultCode = *ChangeTrustResultCode

type XdrType_ClaimAtom added in v0.1.5

type XdrType_ClaimAtom = *ClaimAtom

type XdrType_ClaimAtomType added in v0.1.5

type XdrType_ClaimAtomType = *ClaimAtomType

type XdrType_ClaimClaimableBalanceOp

type XdrType_ClaimClaimableBalanceOp = *ClaimClaimableBalanceOp

type XdrType_ClaimClaimableBalanceResult

type XdrType_ClaimClaimableBalanceResult = *ClaimClaimableBalanceResult

type XdrType_ClaimClaimableBalanceResultCode

type XdrType_ClaimClaimableBalanceResultCode = *ClaimClaimableBalanceResultCode

type XdrType_ClaimLiquidityAtom added in v0.1.6

type XdrType_ClaimLiquidityAtom = *ClaimLiquidityAtom

type XdrType_ClaimOfferAtom

type XdrType_ClaimOfferAtom = *ClaimOfferAtom

type XdrType_ClaimOfferAtomV0 added in v0.1.5

type XdrType_ClaimOfferAtomV0 = *ClaimOfferAtomV0

type XdrType_ClaimPredicate

type XdrType_ClaimPredicate = *ClaimPredicate

type XdrType_ClaimPredicateType

type XdrType_ClaimPredicateType = *ClaimPredicateType

type XdrType_ClaimableBalanceEntry

type XdrType_ClaimableBalanceEntry = *ClaimableBalanceEntry

type XdrType_ClaimableBalanceEntryExtensionV1 added in v0.1.4

type XdrType_ClaimableBalanceEntryExtensionV1 = *ClaimableBalanceEntryExtensionV1

type XdrType_ClaimableBalanceFlags added in v0.1.4

type XdrType_ClaimableBalanceFlags = *ClaimableBalanceFlags

type XdrType_ClaimableBalanceID

type XdrType_ClaimableBalanceID = *ClaimableBalanceID

type XdrType_ClaimableBalanceIDType

type XdrType_ClaimableBalanceIDType = *ClaimableBalanceIDType

type XdrType_Claimant

type XdrType_Claimant = *Claimant

type XdrType_ClaimantType

type XdrType_ClaimantType = *ClaimantType

type XdrType_ClawbackClaimableBalanceOp added in v0.1.4

type XdrType_ClawbackClaimableBalanceOp = *ClawbackClaimableBalanceOp

type XdrType_ClawbackClaimableBalanceResult added in v0.1.4

type XdrType_ClawbackClaimableBalanceResult = *ClawbackClaimableBalanceResult

type XdrType_ClawbackClaimableBalanceResultCode added in v0.1.4

type XdrType_ClawbackClaimableBalanceResultCode = *ClawbackClaimableBalanceResultCode

type XdrType_ClawbackOp added in v0.1.3

type XdrType_ClawbackOp = *ClawbackOp

type XdrType_ClawbackResult added in v0.1.3

type XdrType_ClawbackResult = *ClawbackResult

type XdrType_ClawbackResultCode added in v0.1.3

type XdrType_ClawbackResultCode = *ClawbackResultCode

type XdrType_CreateAccountOp

type XdrType_CreateAccountOp = *CreateAccountOp

type XdrType_CreateAccountResult

type XdrType_CreateAccountResult = *CreateAccountResult

type XdrType_CreateAccountResultCode

type XdrType_CreateAccountResultCode = *CreateAccountResultCode

type XdrType_CreateClaimableBalanceOp

type XdrType_CreateClaimableBalanceOp = *CreateClaimableBalanceOp

type XdrType_CreateClaimableBalanceResult

type XdrType_CreateClaimableBalanceResult = *CreateClaimableBalanceResult

type XdrType_CreateClaimableBalanceResultCode

type XdrType_CreateClaimableBalanceResultCode = *CreateClaimableBalanceResultCode

type XdrType_CreatePassiveSellOfferOp

type XdrType_CreatePassiveSellOfferOp = *CreatePassiveSellOfferOp

type XdrType_CryptoKeyType

type XdrType_CryptoKeyType = *CryptoKeyType

type XdrType_Curve25519Public

type XdrType_Curve25519Public = *Curve25519Public

type XdrType_Curve25519Secret

type XdrType_Curve25519Secret = *Curve25519Secret

type XdrType_DataEntry

type XdrType_DataEntry = *DataEntry

type XdrType_DataValue

type XdrType_DataValue struct {
	XdrVecOpaque
}

func XDR_DataValue

func XDR_DataValue(v *DataValue) XdrType_DataValue

func (XdrType_DataValue) XdrTypeName

func (XdrType_DataValue) XdrTypeName() string

func (XdrType_DataValue) XdrUnwrap

func (v XdrType_DataValue) XdrUnwrap() XdrType

type XdrType_DecoratedSignature

type XdrType_DecoratedSignature = *DecoratedSignature

type XdrType_DontHave

type XdrType_DontHave = *DontHave

type XdrType_EncryptedBody

type XdrType_EncryptedBody struct {
	XdrVecOpaque
}

func XDR_EncryptedBody

func XDR_EncryptedBody(v *EncryptedBody) XdrType_EncryptedBody

func (XdrType_EncryptedBody) XdrTypeName

func (XdrType_EncryptedBody) XdrTypeName() string

func (XdrType_EncryptedBody) XdrUnwrap

func (v XdrType_EncryptedBody) XdrUnwrap() XdrType

type XdrType_EndSponsoringFutureReservesResult

type XdrType_EndSponsoringFutureReservesResult = *EndSponsoringFutureReservesResult

type XdrType_EndSponsoringFutureReservesResultCode

type XdrType_EndSponsoringFutureReservesResultCode = *EndSponsoringFutureReservesResultCode

type XdrType_EnvelopeType

type XdrType_EnvelopeType = *EnvelopeType

type XdrType_Error

type XdrType_Error = *Error

type XdrType_ErrorCode

type XdrType_ErrorCode = *ErrorCode

type XdrType_FeeBumpTransaction

type XdrType_FeeBumpTransaction = *FeeBumpTransaction

type XdrType_FeeBumpTransactionEnvelope

type XdrType_FeeBumpTransactionEnvelope = *FeeBumpTransactionEnvelope

type XdrType_Hash

type XdrType_Hash struct {
	// contains filtered or unexported fields
}

func XDR_Hash

func XDR_Hash(v *Hash) XdrType_Hash

func (XdrType_Hash) GetByteSlice

func (v XdrType_Hash) GetByteSlice() []byte

func (XdrType_Hash) Scan

func (v XdrType_Hash) Scan(ss fmt.ScanState, c rune) error

func (XdrType_Hash) String

func (v XdrType_Hash) String() string

func (XdrType_Hash) XdrArraySize

func (XdrType_Hash) XdrArraySize() uint32

func (XdrType_Hash) XdrMarshal

func (v XdrType_Hash) XdrMarshal(x XDR, name string)

func (XdrType_Hash) XdrPointer

func (v XdrType_Hash) XdrPointer() interface{}

func (XdrType_Hash) XdrTypeName

func (XdrType_Hash) XdrTypeName() string

func (XdrType_Hash) XdrUnwrap

func (v XdrType_Hash) XdrUnwrap() XdrType

func (XdrType_Hash) XdrValue

func (v XdrType_Hash) XdrValue() interface{}

type XdrType_HashIDPreimage added in v0.1.6

type XdrType_HashIDPreimage = *HashIDPreimage

type XdrType_Hello

type XdrType_Hello = *Hello

type XdrType_HmacSha256Key

type XdrType_HmacSha256Key = *HmacSha256Key

type XdrType_HmacSha256Mac

type XdrType_HmacSha256Mac = *HmacSha256Mac

type XdrType_IPAddrType

type XdrType_IPAddrType = *IPAddrType

type XdrType_InflationPayout

type XdrType_InflationPayout = *InflationPayout

type XdrType_InflationResult

type XdrType_InflationResult = *InflationResult

type XdrType_InflationResultCode

type XdrType_InflationResultCode = *InflationResultCode

type XdrType_InnerTransactionResult

type XdrType_InnerTransactionResult = *InnerTransactionResult

type XdrType_InnerTransactionResultPair

type XdrType_InnerTransactionResultPair = *InnerTransactionResultPair

type XdrType_Int32

type XdrType_Int32 struct {
	XdrType_int32
}

func XDR_Int32

func XDR_Int32(v *Int32) XdrType_Int32

func (XdrType_Int32) XdrTypeName

func (XdrType_Int32) XdrTypeName() string

func (XdrType_Int32) XdrUnwrap

func (v XdrType_Int32) XdrUnwrap() XdrType

type XdrType_Int64

type XdrType_Int64 struct {
	XdrType_int64
}

func XDR_Int64

func XDR_Int64(v *Int64) XdrType_Int64

func (XdrType_Int64) XdrTypeName

func (XdrType_Int64) XdrTypeName() string

func (XdrType_Int64) XdrUnwrap

func (v XdrType_Int64) XdrUnwrap() XdrType

type XdrType_LedgerCloseMeta

type XdrType_LedgerCloseMeta = *LedgerCloseMeta

type XdrType_LedgerCloseMetaV0

type XdrType_LedgerCloseMetaV0 = *LedgerCloseMetaV0

type XdrType_LedgerCloseValueSignature

type XdrType_LedgerCloseValueSignature = *LedgerCloseValueSignature

type XdrType_LedgerEntry

type XdrType_LedgerEntry = *LedgerEntry

type XdrType_LedgerEntryChange

type XdrType_LedgerEntryChange = *LedgerEntryChange

type XdrType_LedgerEntryChangeType

type XdrType_LedgerEntryChangeType = *LedgerEntryChangeType

type XdrType_LedgerEntryChanges

type XdrType_LedgerEntryChanges struct {
	// contains filtered or unexported fields
}

func (XdrType_LedgerEntryChanges) GetVecLen

func (v XdrType_LedgerEntryChanges) GetVecLen() uint32

func (XdrType_LedgerEntryChanges) SetVecLen

func (v XdrType_LedgerEntryChanges) SetVecLen(length uint32)

func (XdrType_LedgerEntryChanges) XdrBound

func (XdrType_LedgerEntryChanges) XdrBound() uint32

func (XdrType_LedgerEntryChanges) XdrCheckLen

func (XdrType_LedgerEntryChanges) XdrCheckLen(length uint32)

func (XdrType_LedgerEntryChanges) XdrMarshal

func (v XdrType_LedgerEntryChanges) XdrMarshal(x XDR, name string)

func (XdrType_LedgerEntryChanges) XdrMarshalN

func (v XdrType_LedgerEntryChanges) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_LedgerEntryChanges) XdrPointer

func (v XdrType_LedgerEntryChanges) XdrPointer() interface{}

func (XdrType_LedgerEntryChanges) XdrRecurse

func (v XdrType_LedgerEntryChanges) XdrRecurse(x XDR, name string)

func (XdrType_LedgerEntryChanges) XdrTypeName

func (XdrType_LedgerEntryChanges) XdrTypeName() string

func (XdrType_LedgerEntryChanges) XdrUnwrap

func (v XdrType_LedgerEntryChanges) XdrUnwrap() XdrType

func (XdrType_LedgerEntryChanges) XdrValue

func (v XdrType_LedgerEntryChanges) XdrValue() interface{}

type XdrType_LedgerEntryExtensionV1

type XdrType_LedgerEntryExtensionV1 = *LedgerEntryExtensionV1

type XdrType_LedgerEntryType

type XdrType_LedgerEntryType = *LedgerEntryType

type XdrType_LedgerHeader

type XdrType_LedgerHeader = *LedgerHeader

type XdrType_LedgerHeaderExtensionV1 added in v0.1.6

type XdrType_LedgerHeaderExtensionV1 = *LedgerHeaderExtensionV1

type XdrType_LedgerHeaderFlags added in v0.1.6

type XdrType_LedgerHeaderFlags = *LedgerHeaderFlags

type XdrType_LedgerHeaderHistoryEntry

type XdrType_LedgerHeaderHistoryEntry = *LedgerHeaderHistoryEntry

type XdrType_LedgerKey

type XdrType_LedgerKey = *LedgerKey

type XdrType_LedgerSCPMessages

type XdrType_LedgerSCPMessages = *LedgerSCPMessages

type XdrType_LedgerUpgrade

type XdrType_LedgerUpgrade = *LedgerUpgrade

type XdrType_LedgerUpgradeType

type XdrType_LedgerUpgradeType = *LedgerUpgradeType

type XdrType_Liabilities

type XdrType_Liabilities = *Liabilities

type XdrType_LiquidityPoolConstantProductParameters added in v0.1.4

type XdrType_LiquidityPoolConstantProductParameters = *LiquidityPoolConstantProductParameters

type XdrType_LiquidityPoolDepositOp added in v0.1.6

type XdrType_LiquidityPoolDepositOp = *LiquidityPoolDepositOp

type XdrType_LiquidityPoolDepositResult added in v0.1.6

type XdrType_LiquidityPoolDepositResult = *LiquidityPoolDepositResult

type XdrType_LiquidityPoolDepositResultCode added in v0.1.6

type XdrType_LiquidityPoolDepositResultCode = *LiquidityPoolDepositResultCode

type XdrType_LiquidityPoolEntry added in v0.1.4

type XdrType_LiquidityPoolEntry = *LiquidityPoolEntry

type XdrType_LiquidityPoolParameters added in v0.1.5

type XdrType_LiquidityPoolParameters = *LiquidityPoolParameters

type XdrType_LiquidityPoolType added in v0.1.4

type XdrType_LiquidityPoolType = *LiquidityPoolType

type XdrType_LiquidityPoolWithdrawOp added in v0.1.6

type XdrType_LiquidityPoolWithdrawOp = *LiquidityPoolWithdrawOp

type XdrType_LiquidityPoolWithdrawResult added in v0.1.6

type XdrType_LiquidityPoolWithdrawResult = *LiquidityPoolWithdrawResult

type XdrType_LiquidityPoolWithdrawResultCode added in v0.1.6

type XdrType_LiquidityPoolWithdrawResultCode = *LiquidityPoolWithdrawResultCode

type XdrType_ManageBuyOfferOp

type XdrType_ManageBuyOfferOp = *ManageBuyOfferOp

type XdrType_ManageBuyOfferResult

type XdrType_ManageBuyOfferResult = *ManageBuyOfferResult

type XdrType_ManageBuyOfferResultCode

type XdrType_ManageBuyOfferResultCode = *ManageBuyOfferResultCode

type XdrType_ManageDataOp

type XdrType_ManageDataOp = *ManageDataOp

type XdrType_ManageDataResult

type XdrType_ManageDataResult = *ManageDataResult

type XdrType_ManageDataResultCode

type XdrType_ManageDataResultCode = *ManageDataResultCode

type XdrType_ManageOfferEffect

type XdrType_ManageOfferEffect = *ManageOfferEffect

type XdrType_ManageOfferSuccessResult

type XdrType_ManageOfferSuccessResult = *ManageOfferSuccessResult

type XdrType_ManageSellOfferOp

type XdrType_ManageSellOfferOp = *ManageSellOfferOp

type XdrType_ManageSellOfferResult

type XdrType_ManageSellOfferResult = *ManageSellOfferResult

type XdrType_ManageSellOfferResultCode

type XdrType_ManageSellOfferResultCode = *ManageSellOfferResultCode

type XdrType_Memo

type XdrType_Memo = *Memo

type XdrType_MemoType

type XdrType_MemoType = *MemoType

type XdrType_MessageType

type XdrType_MessageType = *MessageType

type XdrType_MuxedAccount

type XdrType_MuxedAccount = *MuxedAccount

type XdrType_NodeID

type XdrType_NodeID struct {
	XdrType_PublicKey
}

func XDR_NodeID

func XDR_NodeID(v *NodeID) XdrType_NodeID

func (XdrType_NodeID) XdrTypeName

func (XdrType_NodeID) XdrTypeName() string

func (XdrType_NodeID) XdrUnwrap

func (v XdrType_NodeID) XdrUnwrap() XdrType

type XdrType_OfferEntry

type XdrType_OfferEntry = *OfferEntry

type XdrType_OfferEntryFlags

type XdrType_OfferEntryFlags = *OfferEntryFlags

type XdrType_Operation

type XdrType_Operation = *Operation

type XdrType_OperationMeta

type XdrType_OperationMeta = *OperationMeta

type XdrType_OperationResult

type XdrType_OperationResult = *OperationResult

type XdrType_OperationResultCode

type XdrType_OperationResultCode = *OperationResultCode

type XdrType_OperationType

type XdrType_OperationType = *OperationType

type XdrType_PathPaymentStrictReceiveOp

type XdrType_PathPaymentStrictReceiveOp = *PathPaymentStrictReceiveOp

type XdrType_PathPaymentStrictReceiveResult

type XdrType_PathPaymentStrictReceiveResult = *PathPaymentStrictReceiveResult

type XdrType_PathPaymentStrictReceiveResultCode

type XdrType_PathPaymentStrictReceiveResultCode = *PathPaymentStrictReceiveResultCode

type XdrType_PathPaymentStrictSendOp

type XdrType_PathPaymentStrictSendOp = *PathPaymentStrictSendOp

type XdrType_PathPaymentStrictSendResult

type XdrType_PathPaymentStrictSendResult = *PathPaymentStrictSendResult

type XdrType_PathPaymentStrictSendResultCode

type XdrType_PathPaymentStrictSendResultCode = *PathPaymentStrictSendResultCode

type XdrType_PaymentOp

type XdrType_PaymentOp = *PaymentOp

type XdrType_PaymentResult

type XdrType_PaymentResult = *PaymentResult

type XdrType_PaymentResultCode

type XdrType_PaymentResultCode = *PaymentResultCode

type XdrType_PeerAddress

type XdrType_PeerAddress = *PeerAddress

type XdrType_PeerStatList

type XdrType_PeerStatList struct {
	// contains filtered or unexported fields
}

func XDR_PeerStatList

func XDR_PeerStatList(v *PeerStatList) XdrType_PeerStatList

func (XdrType_PeerStatList) GetVecLen

func (v XdrType_PeerStatList) GetVecLen() uint32

func (XdrType_PeerStatList) SetVecLen

func (v XdrType_PeerStatList) SetVecLen(length uint32)

func (XdrType_PeerStatList) XdrBound

func (XdrType_PeerStatList) XdrBound() uint32

func (XdrType_PeerStatList) XdrCheckLen

func (XdrType_PeerStatList) XdrCheckLen(length uint32)

func (XdrType_PeerStatList) XdrMarshal

func (v XdrType_PeerStatList) XdrMarshal(x XDR, name string)

func (XdrType_PeerStatList) XdrMarshalN

func (v XdrType_PeerStatList) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_PeerStatList) XdrPointer

func (v XdrType_PeerStatList) XdrPointer() interface{}

func (XdrType_PeerStatList) XdrRecurse

func (v XdrType_PeerStatList) XdrRecurse(x XDR, name string)

func (XdrType_PeerStatList) XdrTypeName

func (XdrType_PeerStatList) XdrTypeName() string

func (XdrType_PeerStatList) XdrUnwrap

func (v XdrType_PeerStatList) XdrUnwrap() XdrType

func (XdrType_PeerStatList) XdrValue

func (v XdrType_PeerStatList) XdrValue() interface{}

type XdrType_PeerStats

type XdrType_PeerStats = *PeerStats

type XdrType_PoolID added in v0.1.4

type XdrType_PoolID struct {
	XdrType_Hash
}

func XDR_PoolID added in v0.1.4

func XDR_PoolID(v *PoolID) XdrType_PoolID

func (XdrType_PoolID) GetByteSlice added in v0.1.4

func (v XdrType_PoolID) GetByteSlice() []byte

func (XdrType_PoolID) Scan added in v0.1.4

func (v XdrType_PoolID) Scan(ss fmt.ScanState, c rune) error

func (XdrType_PoolID) String added in v0.1.4

func (v XdrType_PoolID) String() string

func (XdrType_PoolID) XdrArraySize added in v0.1.4

func (XdrType_PoolID) XdrArraySize() uint32

func (XdrType_PoolID) XdrMarshal added in v0.1.4

func (v XdrType_PoolID) XdrMarshal(x XDR, name string)

func (XdrType_PoolID) XdrPointer added in v0.1.4

func (v XdrType_PoolID) XdrPointer() interface{}

func (XdrType_PoolID) XdrTypeName added in v0.1.4

func (XdrType_PoolID) XdrTypeName() string

func (XdrType_PoolID) XdrUnwrap added in v0.1.4

func (v XdrType_PoolID) XdrUnwrap() XdrType

func (XdrType_PoolID) XdrValue added in v0.1.4

func (v XdrType_PoolID) XdrValue() interface{}

type XdrType_Price

type XdrType_Price = *Price

type XdrType_PublicKey

type XdrType_PublicKey = *PublicKey

type XdrType_PublicKeyType

type XdrType_PublicKeyType = *PublicKeyType

type XdrType_RevokeSponsorshipOp

type XdrType_RevokeSponsorshipOp = *RevokeSponsorshipOp

type XdrType_RevokeSponsorshipResult

type XdrType_RevokeSponsorshipResult = *RevokeSponsorshipResult

type XdrType_RevokeSponsorshipResultCode

type XdrType_RevokeSponsorshipResultCode = *RevokeSponsorshipResultCode

type XdrType_RevokeSponsorshipType

type XdrType_RevokeSponsorshipType = *RevokeSponsorshipType

type XdrType_SCPBallot

type XdrType_SCPBallot = *SCPBallot

type XdrType_SCPEnvelope

type XdrType_SCPEnvelope = *SCPEnvelope

type XdrType_SCPHistoryEntry

type XdrType_SCPHistoryEntry = *SCPHistoryEntry

type XdrType_SCPHistoryEntryV0

type XdrType_SCPHistoryEntryV0 = *SCPHistoryEntryV0

type XdrType_SCPNomination

type XdrType_SCPNomination = *SCPNomination

type XdrType_SCPQuorumSet

type XdrType_SCPQuorumSet = *SCPQuorumSet

type XdrType_SCPStatement

type XdrType_SCPStatement = *SCPStatement

type XdrType_SCPStatementType

type XdrType_SCPStatementType = *SCPStatementType

type XdrType_SequenceNumber

type XdrType_SequenceNumber struct {
	XdrType_Int64
}

func XDR_SequenceNumber

func XDR_SequenceNumber(v *SequenceNumber) XdrType_SequenceNumber

func (XdrType_SequenceNumber) XdrTypeName

func (XdrType_SequenceNumber) XdrTypeName() string

func (XdrType_SequenceNumber) XdrUnwrap

func (v XdrType_SequenceNumber) XdrUnwrap() XdrType

type XdrType_SetOptionsOp

type XdrType_SetOptionsOp = *SetOptionsOp

type XdrType_SetOptionsResult

type XdrType_SetOptionsResult = *SetOptionsResult

type XdrType_SetOptionsResultCode

type XdrType_SetOptionsResultCode = *SetOptionsResultCode

type XdrType_SetTrustLineFlagsOp added in v0.1.4

type XdrType_SetTrustLineFlagsOp = *SetTrustLineFlagsOp

type XdrType_SetTrustLineFlagsResult added in v0.1.4

type XdrType_SetTrustLineFlagsResult = *SetTrustLineFlagsResult

type XdrType_SetTrustLineFlagsResultCode added in v0.1.4

type XdrType_SetTrustLineFlagsResultCode = *SetTrustLineFlagsResultCode

type XdrType_Signature

type XdrType_Signature struct {
	XdrVecOpaque
}

func XDR_Signature

func XDR_Signature(v *Signature) XdrType_Signature

func (XdrType_Signature) XdrTypeName

func (XdrType_Signature) XdrTypeName() string

func (XdrType_Signature) XdrUnwrap

func (v XdrType_Signature) XdrUnwrap() XdrType

type XdrType_SignatureHint

type XdrType_SignatureHint struct {
	// contains filtered or unexported fields
}

func XDR_SignatureHint

func XDR_SignatureHint(v *SignatureHint) XdrType_SignatureHint

func (XdrType_SignatureHint) GetByteSlice

func (v XdrType_SignatureHint) GetByteSlice() []byte

func (XdrType_SignatureHint) Scan

func (v XdrType_SignatureHint) Scan(ss fmt.ScanState, c rune) error

func (XdrType_SignatureHint) String

func (v XdrType_SignatureHint) String() string

func (XdrType_SignatureHint) XdrArraySize

func (XdrType_SignatureHint) XdrArraySize() uint32

func (XdrType_SignatureHint) XdrMarshal

func (v XdrType_SignatureHint) XdrMarshal(x XDR, name string)

func (XdrType_SignatureHint) XdrPointer

func (v XdrType_SignatureHint) XdrPointer() interface{}

func (XdrType_SignatureHint) XdrTypeName

func (XdrType_SignatureHint) XdrTypeName() string

func (XdrType_SignatureHint) XdrUnwrap

func (v XdrType_SignatureHint) XdrUnwrap() XdrType

func (XdrType_SignatureHint) XdrValue

func (v XdrType_SignatureHint) XdrValue() interface{}

type XdrType_SignedSurveyRequestMessage

type XdrType_SignedSurveyRequestMessage = *SignedSurveyRequestMessage

type XdrType_SignedSurveyResponseMessage

type XdrType_SignedSurveyResponseMessage = *SignedSurveyResponseMessage

type XdrType_Signer

type XdrType_Signer = *Signer

type XdrType_SignerKey

type XdrType_SignerKey = *SignerKey

type XdrType_SignerKeyType

type XdrType_SignerKeyType = *SignerKeyType

type XdrType_SimplePaymentResult

type XdrType_SimplePaymentResult = *SimplePaymentResult

type XdrType_SponsorshipDescriptor

type XdrType_SponsorshipDescriptor struct {
	// contains filtered or unexported fields
}

func (XdrType_SponsorshipDescriptor) GetPresent

func (v XdrType_SponsorshipDescriptor) GetPresent() bool

func (XdrType_SponsorshipDescriptor) SetPresent

func (v XdrType_SponsorshipDescriptor) SetPresent(present bool)

func (XdrType_SponsorshipDescriptor) XdrMarshal

func (v XdrType_SponsorshipDescriptor) XdrMarshal(x XDR, name string)

func (XdrType_SponsorshipDescriptor) XdrMarshalValue

func (v XdrType_SponsorshipDescriptor) XdrMarshalValue(x XDR, name string)

func (XdrType_SponsorshipDescriptor) XdrPointer

func (v XdrType_SponsorshipDescriptor) XdrPointer() interface{}

func (XdrType_SponsorshipDescriptor) XdrRecurse

func (v XdrType_SponsorshipDescriptor) XdrRecurse(x XDR, name string)

func (XdrType_SponsorshipDescriptor) XdrTypeName

func (XdrType_SponsorshipDescriptor) XdrTypeName() string

func (XdrType_SponsorshipDescriptor) XdrUnwrap

func (v XdrType_SponsorshipDescriptor) XdrUnwrap() XdrType

func (XdrType_SponsorshipDescriptor) XdrValue

func (v XdrType_SponsorshipDescriptor) XdrValue() interface{}

type XdrType_StellarMessage

type XdrType_StellarMessage = *StellarMessage

type XdrType_StellarValue

type XdrType_StellarValue = *StellarValue

type XdrType_StellarValueType

type XdrType_StellarValueType = *StellarValueType

type XdrType_String32

type XdrType_String32 struct {
	XdrString
}

func XDR_String32

func XDR_String32(v *String32) XdrType_String32

func (XdrType_String32) XdrTypeName

func (XdrType_String32) XdrTypeName() string

func (XdrType_String32) XdrUnwrap

func (v XdrType_String32) XdrUnwrap() XdrType

type XdrType_String64

type XdrType_String64 struct {
	XdrString
}

func XDR_String64

func XDR_String64(v *String64) XdrType_String64

func (XdrType_String64) XdrTypeName

func (XdrType_String64) XdrTypeName() string

func (XdrType_String64) XdrUnwrap

func (v XdrType_String64) XdrUnwrap() XdrType

type XdrType_SurveyMessageCommandType

type XdrType_SurveyMessageCommandType = *SurveyMessageCommandType

type XdrType_SurveyRequestMessage

type XdrType_SurveyRequestMessage = *SurveyRequestMessage

type XdrType_SurveyResponseBody

type XdrType_SurveyResponseBody = *SurveyResponseBody

type XdrType_SurveyResponseMessage

type XdrType_SurveyResponseMessage = *SurveyResponseMessage

type XdrType_ThresholdIndexes

type XdrType_ThresholdIndexes = *ThresholdIndexes

type XdrType_Thresholds

type XdrType_Thresholds struct {
	// contains filtered or unexported fields
}

func XDR_Thresholds

func XDR_Thresholds(v *Thresholds) XdrType_Thresholds

func (XdrType_Thresholds) GetByteSlice

func (v XdrType_Thresholds) GetByteSlice() []byte

func (XdrType_Thresholds) Scan

func (v XdrType_Thresholds) Scan(ss fmt.ScanState, c rune) error

func (XdrType_Thresholds) String

func (v XdrType_Thresholds) String() string

func (XdrType_Thresholds) XdrArraySize

func (XdrType_Thresholds) XdrArraySize() uint32

func (XdrType_Thresholds) XdrMarshal

func (v XdrType_Thresholds) XdrMarshal(x XDR, name string)

func (XdrType_Thresholds) XdrPointer

func (v XdrType_Thresholds) XdrPointer() interface{}

func (XdrType_Thresholds) XdrTypeName

func (XdrType_Thresholds) XdrTypeName() string

func (XdrType_Thresholds) XdrUnwrap

func (v XdrType_Thresholds) XdrUnwrap() XdrType

func (XdrType_Thresholds) XdrValue

func (v XdrType_Thresholds) XdrValue() interface{}

type XdrType_TimeBounds

type XdrType_TimeBounds = *TimeBounds

type XdrType_TimePoint

type XdrType_TimePoint struct {
	XdrType_Uint64
}

func XDR_TimePoint

func XDR_TimePoint(v *TimePoint) XdrType_TimePoint

func (XdrType_TimePoint) XdrTypeName

func (XdrType_TimePoint) XdrTypeName() string

func (XdrType_TimePoint) XdrUnwrap

func (v XdrType_TimePoint) XdrUnwrap() XdrType

type XdrType_TopologyResponseBody

type XdrType_TopologyResponseBody = *TopologyResponseBody

type XdrType_Transaction

type XdrType_Transaction = *Transaction

type XdrType_TransactionEnvelope

type XdrType_TransactionEnvelope = *TransactionEnvelope

type XdrType_TransactionHistoryEntry

type XdrType_TransactionHistoryEntry = *TransactionHistoryEntry

type XdrType_TransactionHistoryResultEntry

type XdrType_TransactionHistoryResultEntry = *TransactionHistoryResultEntry

type XdrType_TransactionMeta

type XdrType_TransactionMeta = *TransactionMeta

type XdrType_TransactionMetaV1

type XdrType_TransactionMetaV1 = *TransactionMetaV1

type XdrType_TransactionMetaV2

type XdrType_TransactionMetaV2 = *TransactionMetaV2

type XdrType_TransactionResult

type XdrType_TransactionResult = *TransactionResult

type XdrType_TransactionResultCode

type XdrType_TransactionResultCode = *TransactionResultCode

type XdrType_TransactionResultMeta

type XdrType_TransactionResultMeta = *TransactionResultMeta

type XdrType_TransactionResultPair

type XdrType_TransactionResultPair = *TransactionResultPair

type XdrType_TransactionResultSet

type XdrType_TransactionResultSet = *TransactionResultSet

type XdrType_TransactionSet

type XdrType_TransactionSet = *TransactionSet

type XdrType_TransactionSignaturePayload

type XdrType_TransactionSignaturePayload = *TransactionSignaturePayload

type XdrType_TransactionV0

type XdrType_TransactionV0 = *TransactionV0

type XdrType_TransactionV0Envelope

type XdrType_TransactionV0Envelope = *TransactionV0Envelope

type XdrType_TransactionV1Envelope

type XdrType_TransactionV1Envelope = *TransactionV1Envelope

type XdrType_TrustLineAsset added in v0.1.5

type XdrType_TrustLineAsset = *TrustLineAsset

type XdrType_TrustLineEntry

type XdrType_TrustLineEntry = *TrustLineEntry

type XdrType_TrustLineEntryExtensionV2 added in v0.1.6

type XdrType_TrustLineEntryExtensionV2 = *TrustLineEntryExtensionV2

type XdrType_TrustLineFlags

type XdrType_TrustLineFlags = *TrustLineFlags

type XdrType_Uint256

type XdrType_Uint256 struct {
	// contains filtered or unexported fields
}

func XDR_Uint256

func XDR_Uint256(v *Uint256) XdrType_Uint256

func (XdrType_Uint256) GetByteSlice

func (v XdrType_Uint256) GetByteSlice() []byte

func (XdrType_Uint256) Scan

func (v XdrType_Uint256) Scan(ss fmt.ScanState, c rune) error

func (XdrType_Uint256) String

func (v XdrType_Uint256) String() string

func (XdrType_Uint256) XdrArraySize

func (XdrType_Uint256) XdrArraySize() uint32

func (XdrType_Uint256) XdrMarshal

func (v XdrType_Uint256) XdrMarshal(x XDR, name string)

func (XdrType_Uint256) XdrPointer

func (v XdrType_Uint256) XdrPointer() interface{}

func (XdrType_Uint256) XdrTypeName

func (XdrType_Uint256) XdrTypeName() string

func (XdrType_Uint256) XdrUnwrap

func (v XdrType_Uint256) XdrUnwrap() XdrType

func (XdrType_Uint256) XdrValue

func (v XdrType_Uint256) XdrValue() interface{}

type XdrType_Uint32

type XdrType_Uint32 struct {
	XdrType_uint32
}

func XDR_Uint32

func XDR_Uint32(v *Uint32) XdrType_Uint32

func (XdrType_Uint32) XdrTypeName

func (XdrType_Uint32) XdrTypeName() string

func (XdrType_Uint32) XdrUnwrap

func (v XdrType_Uint32) XdrUnwrap() XdrType

type XdrType_Uint64

type XdrType_Uint64 struct {
	XdrType_uint64
}

func XDR_Uint64

func XDR_Uint64(v *Uint64) XdrType_Uint64

func (XdrType_Uint64) XdrTypeName

func (XdrType_Uint64) XdrTypeName() string

func (XdrType_Uint64) XdrUnwrap

func (v XdrType_Uint64) XdrUnwrap() XdrType

type XdrType_UpgradeEntryMeta

type XdrType_UpgradeEntryMeta = *UpgradeEntryMeta

type XdrType_UpgradeType

type XdrType_UpgradeType struct {
	XdrVecOpaque
}

func XDR_UpgradeType

func XDR_UpgradeType(v *UpgradeType) XdrType_UpgradeType

func (XdrType_UpgradeType) XdrTypeName

func (XdrType_UpgradeType) XdrTypeName() string

func (XdrType_UpgradeType) XdrUnwrap

func (v XdrType_UpgradeType) XdrUnwrap() XdrType

type XdrType_Value

type XdrType_Value struct {
	XdrVecOpaque
}

func XDR_Value

func XDR_Value(v *Value) XdrType_Value

func (XdrType_Value) XdrTypeName

func (XdrType_Value) XdrTypeName() string

func (XdrType_Value) XdrUnwrap

func (v XdrType_Value) XdrUnwrap() XdrType

type XdrType_XdrAnon_AccountEntryExtensionV1_Ext

type XdrType_XdrAnon_AccountEntryExtensionV1_Ext = *XdrAnon_AccountEntryExtensionV1_Ext

type XdrType_XdrAnon_AccountEntryExtensionV2_Ext

type XdrType_XdrAnon_AccountEntryExtensionV2_Ext = *XdrAnon_AccountEntryExtensionV2_Ext

type XdrType_XdrAnon_AccountEntry_Ext

type XdrType_XdrAnon_AccountEntry_Ext = *XdrAnon_AccountEntry_Ext

type XdrType_XdrAnon_AuthenticatedMessage_V0

type XdrType_XdrAnon_AuthenticatedMessage_V0 = *XdrAnon_AuthenticatedMessage_V0

type XdrType_XdrAnon_BucketMetadata_Ext

type XdrType_XdrAnon_BucketMetadata_Ext = *XdrAnon_BucketMetadata_Ext

type XdrType_XdrAnon_ClaimableBalanceEntryExtensionV1_Ext added in v0.1.4

type XdrType_XdrAnon_ClaimableBalanceEntryExtensionV1_Ext = *XdrAnon_ClaimableBalanceEntryExtensionV1_Ext

type XdrType_XdrAnon_ClaimableBalanceEntry_Ext

type XdrType_XdrAnon_ClaimableBalanceEntry_Ext = *XdrAnon_ClaimableBalanceEntry_Ext

type XdrType_XdrAnon_Claimant_V0

type XdrType_XdrAnon_Claimant_V0 = *XdrAnon_Claimant_V0

type XdrType_XdrAnon_DataEntry_Ext

type XdrType_XdrAnon_DataEntry_Ext = *XdrAnon_DataEntry_Ext

type XdrType_XdrAnon_FeeBumpTransaction_Ext

type XdrType_XdrAnon_FeeBumpTransaction_Ext = *XdrAnon_FeeBumpTransaction_Ext

type XdrType_XdrAnon_FeeBumpTransaction_InnerTx

type XdrType_XdrAnon_FeeBumpTransaction_InnerTx = *XdrAnon_FeeBumpTransaction_InnerTx

type XdrType_XdrAnon_HashIDPreimage_OperationID added in v0.1.6

type XdrType_XdrAnon_HashIDPreimage_OperationID = *XdrAnon_HashIDPreimage_OperationID

type XdrType_XdrAnon_HashIDPreimage_RevokeID added in v0.1.6

type XdrType_XdrAnon_HashIDPreimage_RevokeID = *XdrAnon_HashIDPreimage_RevokeID

type XdrType_XdrAnon_InnerTransactionResult_Ext

type XdrType_XdrAnon_InnerTransactionResult_Ext = *XdrAnon_InnerTransactionResult_Ext

type XdrType_XdrAnon_InnerTransactionResult_Result

type XdrType_XdrAnon_InnerTransactionResult_Result = *XdrAnon_InnerTransactionResult_Result

type XdrType_XdrAnon_LedgerEntryExtensionV1_Ext

type XdrType_XdrAnon_LedgerEntryExtensionV1_Ext = *XdrAnon_LedgerEntryExtensionV1_Ext

type XdrType_XdrAnon_LedgerEntry_Data

type XdrType_XdrAnon_LedgerEntry_Data = *XdrAnon_LedgerEntry_Data

type XdrType_XdrAnon_LedgerEntry_Ext

type XdrType_XdrAnon_LedgerEntry_Ext = *XdrAnon_LedgerEntry_Ext

type XdrType_XdrAnon_LedgerHeaderExtensionV1_Ext added in v0.1.6

type XdrType_XdrAnon_LedgerHeaderExtensionV1_Ext = *XdrAnon_LedgerHeaderExtensionV1_Ext

type XdrType_XdrAnon_LedgerHeaderHistoryEntry_Ext

type XdrType_XdrAnon_LedgerHeaderHistoryEntry_Ext = *XdrAnon_LedgerHeaderHistoryEntry_Ext

type XdrType_XdrAnon_LedgerHeader_Ext

type XdrType_XdrAnon_LedgerHeader_Ext = *XdrAnon_LedgerHeader_Ext

type XdrType_XdrAnon_LedgerKey_Account

type XdrType_XdrAnon_LedgerKey_Account = *XdrAnon_LedgerKey_Account

type XdrType_XdrAnon_LedgerKey_ClaimableBalance

type XdrType_XdrAnon_LedgerKey_ClaimableBalance = *XdrAnon_LedgerKey_ClaimableBalance

type XdrType_XdrAnon_LedgerKey_Data

type XdrType_XdrAnon_LedgerKey_Data = *XdrAnon_LedgerKey_Data

type XdrType_XdrAnon_LedgerKey_LiquidityPool added in v0.1.4

type XdrType_XdrAnon_LedgerKey_LiquidityPool = *XdrAnon_LedgerKey_LiquidityPool

type XdrType_XdrAnon_LedgerKey_Offer

type XdrType_XdrAnon_LedgerKey_Offer = *XdrAnon_LedgerKey_Offer

type XdrType_XdrAnon_LedgerKey_TrustLine

type XdrType_XdrAnon_LedgerKey_TrustLine = *XdrAnon_LedgerKey_TrustLine

type XdrType_XdrAnon_LiquidityPoolEntry_Body added in v0.1.4

type XdrType_XdrAnon_LiquidityPoolEntry_Body = *XdrAnon_LiquidityPoolEntry_Body

type XdrType_XdrAnon_LiquidityPoolEntry_Body_ConstantProduct added in v0.1.4

type XdrType_XdrAnon_LiquidityPoolEntry_Body_ConstantProduct = *XdrAnon_LiquidityPoolEntry_Body_ConstantProduct

type XdrType_XdrAnon_ManageOfferSuccessResult_Offer

type XdrType_XdrAnon_ManageOfferSuccessResult_Offer = *XdrAnon_ManageOfferSuccessResult_Offer

type XdrType_XdrAnon_MuxedAccount_Med25519

type XdrType_XdrAnon_MuxedAccount_Med25519 = *XdrAnon_MuxedAccount_Med25519

type XdrType_XdrAnon_OfferEntry_Ext

type XdrType_XdrAnon_OfferEntry_Ext = *XdrAnon_OfferEntry_Ext

type XdrType_XdrAnon_OperationResult_Tr

type XdrType_XdrAnon_OperationResult_Tr = *XdrAnon_OperationResult_Tr

type XdrType_XdrAnon_Operation_Body

type XdrType_XdrAnon_Operation_Body = *XdrAnon_Operation_Body

type XdrType_XdrAnon_PathPaymentStrictReceiveResult_Success

type XdrType_XdrAnon_PathPaymentStrictReceiveResult_Success = *XdrAnon_PathPaymentStrictReceiveResult_Success

type XdrType_XdrAnon_PathPaymentStrictSendResult_Success

type XdrType_XdrAnon_PathPaymentStrictSendResult_Success = *XdrAnon_PathPaymentStrictSendResult_Success

type XdrType_XdrAnon_PeerAddress_Ip

type XdrType_XdrAnon_PeerAddress_Ip = *XdrAnon_PeerAddress_Ip

type XdrType_XdrAnon_RevokeSponsorshipOp_Signer

type XdrType_XdrAnon_RevokeSponsorshipOp_Signer = *XdrAnon_RevokeSponsorshipOp_Signer

type XdrType_XdrAnon_SCPStatement_Pledges

type XdrType_XdrAnon_SCPStatement_Pledges = *XdrAnon_SCPStatement_Pledges

type XdrType_XdrAnon_SCPStatement_Pledges_Confirm

type XdrType_XdrAnon_SCPStatement_Pledges_Confirm = *XdrAnon_SCPStatement_Pledges_Confirm

type XdrType_XdrAnon_SCPStatement_Pledges_Externalize

type XdrType_XdrAnon_SCPStatement_Pledges_Externalize = *XdrAnon_SCPStatement_Pledges_Externalize

type XdrType_XdrAnon_SCPStatement_Pledges_Prepare

type XdrType_XdrAnon_SCPStatement_Pledges_Prepare = *XdrAnon_SCPStatement_Pledges_Prepare

type XdrType_XdrAnon_StellarValue_Ext

type XdrType_XdrAnon_StellarValue_Ext = *XdrAnon_StellarValue_Ext

type XdrType_XdrAnon_TransactionHistoryEntry_Ext

type XdrType_XdrAnon_TransactionHistoryEntry_Ext = *XdrAnon_TransactionHistoryEntry_Ext

type XdrType_XdrAnon_TransactionHistoryResultEntry_Ext

type XdrType_XdrAnon_TransactionHistoryResultEntry_Ext = *XdrAnon_TransactionHistoryResultEntry_Ext

type XdrType_XdrAnon_TransactionResult_Ext

type XdrType_XdrAnon_TransactionResult_Ext = *XdrAnon_TransactionResult_Ext

type XdrType_XdrAnon_TransactionResult_Result

type XdrType_XdrAnon_TransactionResult_Result = *XdrAnon_TransactionResult_Result

type XdrType_XdrAnon_TransactionSignaturePayload_TaggedTransaction

type XdrType_XdrAnon_TransactionSignaturePayload_TaggedTransaction = *XdrAnon_TransactionSignaturePayload_TaggedTransaction

type XdrType_XdrAnon_TransactionV0_Ext

type XdrType_XdrAnon_TransactionV0_Ext = *XdrAnon_TransactionV0_Ext

type XdrType_XdrAnon_Transaction_Ext

type XdrType_XdrAnon_Transaction_Ext = *XdrAnon_Transaction_Ext

type XdrType_XdrAnon_TrustLineEntryExtensionV2_Ext added in v0.1.6

type XdrType_XdrAnon_TrustLineEntryExtensionV2_Ext = *XdrAnon_TrustLineEntryExtensionV2_Ext

type XdrType_XdrAnon_TrustLineEntry_Ext

type XdrType_XdrAnon_TrustLineEntry_Ext = *XdrAnon_TrustLineEntry_Ext

type XdrType_XdrAnon_TrustLineEntry_Ext_V1

type XdrType_XdrAnon_TrustLineEntry_Ext_V1 = *XdrAnon_TrustLineEntry_Ext_V1

type XdrType_XdrAnon_TrustLineEntry_Ext_V1_Ext

type XdrType_XdrAnon_TrustLineEntry_Ext_V1_Ext = *XdrAnon_TrustLineEntry_Ext_V1_Ext

Jump to

Keyboard shortcuts

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