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