_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c181700
// InitialState returns the initial state of the LedgerEntry identified by `key` // just prior to the application of the transaction the produced `b`. Returns // nil if the ledger entry did not exist prior to the bundle.
c181701
// Changes returns any changes within the bundle that apply to the entry // identified by `key`.
c181702
// StateAfter returns the state of entry `key` after the application of the // operation at `opidx`
c181703
// changes returns any changes within the bundle that apply to the entry // identified by `key` that occurred at or before `maxOp`.
c181704
// MustDecode is like Decode, but panics on error
c181705
// Encode encodes the provided data to a StrKey, using the provided version // byte.
c181706
// MustEncode is like Encode, but panics on error
c181707
// checkValidVersionByte returns an error if the provided value // is not one of the defined valid version byte constants.
c181708
// Checksum returns the 2-byte checksum for the provided data
c181709
// Validate returns an error if the provided checksum does not match // the calculated checksum of the provided data
c181710
// LedgerKey returns the key for the ledger entry that was changed // in `change`.
c181711
// aborts the attempt if a desired character is not a valid base32 digit
c181712
// Address returns the strkey encoded form of this AccountId. This method will // panic if the accountid is backed by a public key of an unknown type.
c181713
// Equals returns true if `other` is equivalent to `aid`
c181714
// SetAddress modifies the receiver, setting it's value to the AccountId form // of the provided address.
c181715
// ToXdrObject creates xdr.Asset object from build.Asset object
c181716
// Through appends a new asset to the path
c181717
// PayWith is a helper to create PayWithPath struct
c181718
// continuedFraction calculates and returns the best rational approximation of the given real number.
c181719
// Mutate applies the provided TransactionEnvelopeMutators to this builder's // envelope
c181720
// MutateTX runs Mutate on the underlying transaction using the provided // mutators.
c181721
// Bytes encodes the builder's underlying envelope to XDR
c181722
// Base64 returns a string which is the xdr-then-base64-encoded form // of the builder's underlying transaction envelope
c181723
// MutateTransactionEnvelope for TransactionBuilder causes the underylying // transaction to be set as the provided envelope's Tx field
c181724
// MutateSetOptions for HomeDomain sets the SetOptionsOp's HomeDomain field
c181725
// MutateSetOptions for InflationDest sets the SetOptionsOp's InflationDest field
c181726
// MutateSetOptions for MasterWeight sets the SetOptionsOp's MasterWeight field
c181727
// MutateSetOptions for Signer sets the SetOptionsOp's signer field
c181728
// SetThresholds creates Thresholds mutator
c181729
// MutateSetOptions for Thresholds sets the SetOptionsOp's thresholds fields
c181730
// MutateSetOptions for SetFlag sets the SetOptionsOp's SetFlags field
c181731
// MutateSetOptions for ClearFlag sets the SetOptionsOp's ClearFlags field
c181732
// MutateCreateAccount for Destination sets the CreateAccountOp's Destination // field
c181733
// MutateCreateAccount for NativeAmount sets the CreateAccountOp's // StartingBalance field
c181734
// Random creates a random full keypair
c181735
// Master returns the master keypair for a given network passphrase
c181736
// Parse constructs a new KP from the provided string, which should be either // an address, or a seed. If the provided input is a seed, the resulting KP // will have signing capabilities.
c181737
// MustParse is the panic-on-fail version of Parse
c181738
// MutateAllowTrust for Authorize sets the AllowTrustOp's Authorize field
c181739
// MutateAllowTrust for Asset sets the AllowTrustOp's Asset field
c181740
// MutateAllowTrust for Trustor sets the AllowTrustOp's Trustor field
c181741
// ToAsset converts `a` to a proper xdr.Asset
c181742
// SetNative overwrites `a` with the native asset type
c181743
// String returns a display friendly form of the asset
c181744
// Equals returns true if `other` is equivalent to `a`
c181745
// MustExtract behaves as Extract, but panics if an error occurs.
c181746
// Unmarshal reads an xdr element from `r` into `v`.
c181747
// Marshal writes an xdr element `v` into `w`.
c181748
// ValidEnum validates a proposed value for this enum. Implements // the Enum interface for CryptoKeyType
c181749
// NewPublicKey creates a new PublicKey.
c181750
// MustEd25519 retrieves the Ed25519 value from the union, // panicing if the value is not set.
c181751
// NewNodeId creates a new NodeId.
c181752
// NewAccountId creates a new AccountId.
c181753
// ValidEnum validates a proposed value for this enum. Implements // the Enum interface for AssetType
c181754
// ArmForSwitch returns which field name should be used for storing // the value for an instance of Asset
c181755
// NewAsset creates a new Asset.
c181756
// MustAlphaNum4 retrieves the AlphaNum4 value from the union, // panicing if the value is not set.
c181757
// GetAlphaNum4 retrieves the AlphaNum4 value from the union, // returning ok if the union's switch indicated the value is valid.
c181758
// MustAlphaNum12 retrieves the AlphaNum12 value from the union, // panicing if the value is not set.
c181759
// GetAlphaNum12 retrieves the AlphaNum12 value from the union, // returning ok if the union's switch indicated the value is valid.
c181760
// ValidEnum validates a proposed value for this enum. Implements // the Enum interface for ThresholdIndexes
c181761
// ValidEnum validates a proposed value for this enum. Implements // the Enum interface for LedgerEntryType
c181762
// ValidEnum validates a proposed value for this enum. Implements // the Enum interface for AccountFlags
c181763
// NewAccountEntryExt creates a new AccountEntryExt.
c181764
// ValidEnum validates a proposed value for this enum. Implements // the Enum interface for TrustLineFlags
c181765
// NewTrustLineEntryExt creates a new TrustLineEntryExt.
c181766
// ValidEnum validates a proposed value for this enum. Implements // the Enum interface for OfferEntryFlags
c181767
// NewOfferEntryExt creates a new OfferEntryExt.
c181768
// NewDataEntryExt creates a new DataEntryExt.
c181769
// NewLedgerEntryData creates a new LedgerEntryData.
c181770
// NewLedgerEntryExt creates a new LedgerEntryExt.
c181771
// ValidEnum validates a proposed value for this enum. Implements // the Enum interface for EnvelopeType
c181772
// ValidEnum validates a proposed value for this enum. Implements // the Enum interface for OperationType
c181773
// ArmForSwitch returns which field name should be used for storing // the value for an instance of AllowTrustOpAsset
c181774
// NewAllowTrustOpAsset creates a new AllowTrustOpAsset.
c181775
// MustAssetCode4 retrieves the AssetCode4 value from the union, // panicing if the value is not set.
c181776
// GetAssetCode4 retrieves the AssetCode4 value from the union, // returning ok if the union's switch indicated the value is valid.
c181777
// MustAssetCode12 retrieves the AssetCode12 value from the union, // panicing if the value is not set.
c181778
// GetAssetCode12 retrieves the AssetCode12 value from the union, // returning ok if the union's switch indicated the value is valid.
c181779
// NewOperationBody creates a new OperationBody.
c181780
// MustCreateAccountOp retrieves the CreateAccountOp value from the union, // panicing if the value is not set.
c181781
// GetCreateAccountOp retrieves the CreateAccountOp value from the union, // returning ok if the union's switch indicated the value is valid.
c181782
// MustPaymentOp retrieves the PaymentOp value from the union, // panicing if the value is not set.
c181783
// GetPaymentOp retrieves the PaymentOp value from the union, // returning ok if the union's switch indicated the value is valid.
c181784
// MustPathPaymentOp retrieves the PathPaymentOp value from the union, // panicing if the value is not set.
c181785
// GetPathPaymentOp retrieves the PathPaymentOp value from the union, // returning ok if the union's switch indicated the value is valid.
c181786
// MustManageOfferOp retrieves the ManageOfferOp value from the union, // panicing if the value is not set.
c181787
// GetManageOfferOp retrieves the ManageOfferOp value from the union, // returning ok if the union's switch indicated the value is valid.
c181788
// MustCreatePassiveOfferOp retrieves the CreatePassiveOfferOp value from the union, // panicing if the value is not set.
c181789
// GetCreatePassiveOfferOp retrieves the CreatePassiveOfferOp value from the union, // returning ok if the union's switch indicated the value is valid.
c181790
// MustSetOptionsOp retrieves the SetOptionsOp value from the union, // panicing if the value is not set.
c181791
// GetSetOptionsOp retrieves the SetOptionsOp value from the union, // returning ok if the union's switch indicated the value is valid.
c181792
// MustChangeTrustOp retrieves the ChangeTrustOp value from the union, // panicing if the value is not set.
c181793
// GetChangeTrustOp retrieves the ChangeTrustOp value from the union, // returning ok if the union's switch indicated the value is valid.
c181794
// MustAllowTrustOp retrieves the AllowTrustOp value from the union, // panicing if the value is not set.
c181795
// GetAllowTrustOp retrieves the AllowTrustOp value from the union, // returning ok if the union's switch indicated the value is valid.
c181796
// MustDestination retrieves the Destination value from the union, // panicing if the value is not set.
c181797
// GetDestination retrieves the Destination value from the union, // returning ok if the union's switch indicated the value is valid.
c181798
// MustManageDataOp retrieves the ManageDataOp value from the union, // panicing if the value is not set.
c181799
// GetManageDataOp retrieves the ManageDataOp value from the union, // returning ok if the union's switch indicated the value is valid.