From 77c0ec1cf550e390c901025ef7a80342f8dcdf53 Mon Sep 17 00:00:00 2001 From: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> Date: Thu, 16 May 2024 10:30:07 +1000 Subject: [PATCH] upd --- Makefile | 2 +- src/curr/generated.rs | 860 ------------------------------------------ src/next/generated.rs | 860 ------------------------------------------ 3 files changed, 1 insertion(+), 1721 deletions(-) diff --git a/Makefile b/Makefile index df1a8800..0ce56c22 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ CARGO_HACK_ARGS=--feature-powerset --exclude-features default --group-features b CARGO_DOC_ARGS?=--open -XDRGEN_VERSION=736398401ba08dfa8f5fcb577c1d7ed935cc51de +XDRGEN_VERSION=6270074a5da9eafab1242c32a96656805d8134e4 # XDRGEN_LOCAL=1 XDRGEN_TYPES_CUSTOM_STR_IMPL_CURR=PublicKey,AccountId,MuxedAccount,MuxedAccountMed25519,SignerKey,SignerKeyEd25519SignedPayload,NodeId,ScAddress,AssetCode,AssetCode4,AssetCode12,ClaimableBalanceId XDRGEN_TYPES_CUSTOM_STR_IMPL_NEXT=PublicKey,AccountId,MuxedAccount,MuxedAccountMed25519,SignerKey,SignerKeyEd25519SignedPayload,NodeId,ScAddress,AssetCode,AssetCode4,AssetCode12,ClaimableBalanceId diff --git a/src/curr/generated.rs b/src/curr/generated.rs index 474362ca..05673cb1 100644 --- a/src/curr/generated.rs +++ b/src/curr/generated.rs @@ -43473,866 +43473,6 @@ impl WriteXdr for HmacSha256Mac { } } -#[doc(hidden)] -#[macro_export] -macro_rules! _call_macro_with_each_type_a8ec9d9a49f25ea23e8e612173231a39cfdf209abcfa15580b47b2a63e940f47 { - // The x-macro takes a single ident, the name of a macro to call ... - ($macro_to_call_back:ident, $($context:tt),*) => {{ - // ... and calls it back, once for each XDR type. - $macro_to_call_back!(Value, $($context),*); - - $macro_to_call_back!(ScpBallot, $($context),*); - - $macro_to_call_back!(ScpStatementType, $($context),*); - - $macro_to_call_back!(ScpNomination, $($context),*); - - $macro_to_call_back!(ScpStatement, $($context),*); - - $macro_to_call_back!(ScpStatementPledges, $($context),*); - - $macro_to_call_back!(ScpStatementPrepare, $($context),*); - - $macro_to_call_back!(ScpStatementConfirm, $($context),*); - - $macro_to_call_back!(ScpStatementExternalize, $($context),*); - - $macro_to_call_back!(ScpEnvelope, $($context),*); - - $macro_to_call_back!(ScpQuorumSet, $($context),*); - - $macro_to_call_back!(ConfigSettingContractExecutionLanesV0, $($context),*); - - $macro_to_call_back!(ConfigSettingContractComputeV0, $($context),*); - - $macro_to_call_back!(ConfigSettingContractLedgerCostV0, $($context),*); - - $macro_to_call_back!(ConfigSettingContractHistoricalDataV0, $($context),*); - - $macro_to_call_back!(ConfigSettingContractEventsV0, $($context),*); - - $macro_to_call_back!(ConfigSettingContractBandwidthV0, $($context),*); - - $macro_to_call_back!(ContractCostType, $($context),*); - - $macro_to_call_back!(ContractCostParamEntry, $($context),*); - - $macro_to_call_back!(StateArchivalSettings, $($context),*); - - $macro_to_call_back!(EvictionIterator, $($context),*); - - $macro_to_call_back!(ContractCostParams, $($context),*); - - $macro_to_call_back!(ConfigSettingId, $($context),*); - - $macro_to_call_back!(ConfigSettingEntry, $($context),*); - - $macro_to_call_back!(ScEnvMetaKind, $($context),*); - - $macro_to_call_back!(ScEnvMetaEntry, $($context),*); - - $macro_to_call_back!(ScMetaV0, $($context),*); - - $macro_to_call_back!(ScMetaKind, $($context),*); - - $macro_to_call_back!(ScMetaEntry, $($context),*); - - $macro_to_call_back!(ScSpecType, $($context),*); - - $macro_to_call_back!(ScSpecTypeOption, $($context),*); - - $macro_to_call_back!(ScSpecTypeResult, $($context),*); - - $macro_to_call_back!(ScSpecTypeVec, $($context),*); - - $macro_to_call_back!(ScSpecTypeMap, $($context),*); - - $macro_to_call_back!(ScSpecTypeTuple, $($context),*); - - $macro_to_call_back!(ScSpecTypeBytesN, $($context),*); - - $macro_to_call_back!(ScSpecTypeUdt, $($context),*); - - $macro_to_call_back!(ScSpecTypeDef, $($context),*); - - $macro_to_call_back!(ScSpecUdtStructFieldV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtStructV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtUnionCaseVoidV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtUnionCaseTupleV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtUnionCaseV0Kind, $($context),*); - - $macro_to_call_back!(ScSpecUdtUnionCaseV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtUnionV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtEnumCaseV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtEnumV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtErrorEnumCaseV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtErrorEnumV0, $($context),*); - - $macro_to_call_back!(ScSpecFunctionInputV0, $($context),*); - - $macro_to_call_back!(ScSpecFunctionV0, $($context),*); - - $macro_to_call_back!(ScSpecEntryKind, $($context),*); - - $macro_to_call_back!(ScSpecEntry, $($context),*); - - $macro_to_call_back!(ScValType, $($context),*); - - $macro_to_call_back!(ScErrorType, $($context),*); - - $macro_to_call_back!(ScErrorCode, $($context),*); - - $macro_to_call_back!(ScError, $($context),*); - - $macro_to_call_back!(UInt128Parts, $($context),*); - - $macro_to_call_back!(Int128Parts, $($context),*); - - $macro_to_call_back!(UInt256Parts, $($context),*); - - $macro_to_call_back!(Int256Parts, $($context),*); - - $macro_to_call_back!(ContractExecutableType, $($context),*); - - $macro_to_call_back!(ContractExecutable, $($context),*); - - $macro_to_call_back!(ScAddressType, $($context),*); - - $macro_to_call_back!(ScAddress, $($context),*); - - $macro_to_call_back!(ScVec, $($context),*); - - $macro_to_call_back!(ScMap, $($context),*); - - $macro_to_call_back!(ScBytes, $($context),*); - - $macro_to_call_back!(ScString, $($context),*); - - $macro_to_call_back!(ScSymbol, $($context),*); - - $macro_to_call_back!(ScNonceKey, $($context),*); - - $macro_to_call_back!(ScContractInstance, $($context),*); - - $macro_to_call_back!(ScVal, $($context),*); - - $macro_to_call_back!(ScMapEntry, $($context),*); - - $macro_to_call_back!(StoredTransactionSet, $($context),*); - - $macro_to_call_back!(StoredDebugTransactionSet, $($context),*); - - $macro_to_call_back!(PersistedScpStateV0, $($context),*); - - $macro_to_call_back!(PersistedScpStateV1, $($context),*); - - $macro_to_call_back!(PersistedScpState, $($context),*); - - $macro_to_call_back!(Thresholds, $($context),*); - - $macro_to_call_back!(String32, $($context),*); - - $macro_to_call_back!(String64, $($context),*); - - $macro_to_call_back!(SequenceNumber, $($context),*); - - $macro_to_call_back!(DataValue, $($context),*); - - $macro_to_call_back!(PoolId, $($context),*); - - $macro_to_call_back!(AssetCode4, $($context),*); - - $macro_to_call_back!(AssetCode12, $($context),*); - - $macro_to_call_back!(AssetType, $($context),*); - - $macro_to_call_back!(AssetCode, $($context),*); - - $macro_to_call_back!(AlphaNum4, $($context),*); - - $macro_to_call_back!(AlphaNum12, $($context),*); - - $macro_to_call_back!(Asset, $($context),*); - - $macro_to_call_back!(Price, $($context),*); - - $macro_to_call_back!(Liabilities, $($context),*); - - $macro_to_call_back!(ThresholdIndexes, $($context),*); - - $macro_to_call_back!(LedgerEntryType, $($context),*); - - $macro_to_call_back!(Signer, $($context),*); - - $macro_to_call_back!(AccountFlags, $($context),*); - - $macro_to_call_back!(SponsorshipDescriptor, $($context),*); - - $macro_to_call_back!(AccountEntryExtensionV3, $($context),*); - - $macro_to_call_back!(AccountEntryExtensionV2, $($context),*); - - $macro_to_call_back!(AccountEntryExtensionV2Ext, $($context),*); - - $macro_to_call_back!(AccountEntryExtensionV1, $($context),*); - - $macro_to_call_back!(AccountEntryExtensionV1Ext, $($context),*); - - $macro_to_call_back!(AccountEntry, $($context),*); - - $macro_to_call_back!(AccountEntryExt, $($context),*); - - $macro_to_call_back!(TrustLineFlags, $($context),*); - - $macro_to_call_back!(LiquidityPoolType, $($context),*); - - $macro_to_call_back!(TrustLineAsset, $($context),*); - - $macro_to_call_back!(TrustLineEntryExtensionV2, $($context),*); - - $macro_to_call_back!(TrustLineEntryExtensionV2Ext, $($context),*); - - $macro_to_call_back!(TrustLineEntry, $($context),*); - - $macro_to_call_back!(TrustLineEntryExt, $($context),*); - - $macro_to_call_back!(TrustLineEntryV1, $($context),*); - - $macro_to_call_back!(TrustLineEntryV1Ext, $($context),*); - - $macro_to_call_back!(OfferEntryFlags, $($context),*); - - $macro_to_call_back!(OfferEntry, $($context),*); - - $macro_to_call_back!(OfferEntryExt, $($context),*); - - $macro_to_call_back!(DataEntry, $($context),*); - - $macro_to_call_back!(DataEntryExt, $($context),*); - - $macro_to_call_back!(ClaimPredicateType, $($context),*); - - $macro_to_call_back!(ClaimPredicate, $($context),*); - - $macro_to_call_back!(ClaimantType, $($context),*); - - $macro_to_call_back!(Claimant, $($context),*); - - $macro_to_call_back!(ClaimantV0, $($context),*); - - $macro_to_call_back!(ClaimableBalanceIdType, $($context),*); - - $macro_to_call_back!(ClaimableBalanceId, $($context),*); - - $macro_to_call_back!(ClaimableBalanceFlags, $($context),*); - - $macro_to_call_back!(ClaimableBalanceEntryExtensionV1, $($context),*); - - $macro_to_call_back!(ClaimableBalanceEntryExtensionV1Ext, $($context),*); - - $macro_to_call_back!(ClaimableBalanceEntry, $($context),*); - - $macro_to_call_back!(ClaimableBalanceEntryExt, $($context),*); - - $macro_to_call_back!(LiquidityPoolConstantProductParameters, $($context),*); - - $macro_to_call_back!(LiquidityPoolEntry, $($context),*); - - $macro_to_call_back!(LiquidityPoolEntryBody, $($context),*); - - $macro_to_call_back!(LiquidityPoolEntryConstantProduct, $($context),*); - - $macro_to_call_back!(ContractDataDurability, $($context),*); - - $macro_to_call_back!(ContractDataEntry, $($context),*); - - $macro_to_call_back!(ContractCodeCostInputs, $($context),*); - - $macro_to_call_back!(ContractCodeEntry, $($context),*); - - $macro_to_call_back!(ContractCodeEntryExt, $($context),*); - - $macro_to_call_back!(ContractCodeEntryV1, $($context),*); - - $macro_to_call_back!(TtlEntry, $($context),*); - - $macro_to_call_back!(LedgerEntryExtensionV1, $($context),*); - - $macro_to_call_back!(LedgerEntryExtensionV1Ext, $($context),*); - - $macro_to_call_back!(LedgerEntry, $($context),*); - - $macro_to_call_back!(LedgerEntryData, $($context),*); - - $macro_to_call_back!(LedgerEntryExt, $($context),*); - - $macro_to_call_back!(LedgerKey, $($context),*); - - $macro_to_call_back!(LedgerKeyAccount, $($context),*); - - $macro_to_call_back!(LedgerKeyTrustLine, $($context),*); - - $macro_to_call_back!(LedgerKeyOffer, $($context),*); - - $macro_to_call_back!(LedgerKeyData, $($context),*); - - $macro_to_call_back!(LedgerKeyClaimableBalance, $($context),*); - - $macro_to_call_back!(LedgerKeyLiquidityPool, $($context),*); - - $macro_to_call_back!(LedgerKeyContractData, $($context),*); - - $macro_to_call_back!(LedgerKeyContractCode, $($context),*); - - $macro_to_call_back!(LedgerKeyConfigSetting, $($context),*); - - $macro_to_call_back!(LedgerKeyTtl, $($context),*); - - $macro_to_call_back!(EnvelopeType, $($context),*); - - $macro_to_call_back!(UpgradeType, $($context),*); - - $macro_to_call_back!(StellarValueType, $($context),*); - - $macro_to_call_back!(LedgerCloseValueSignature, $($context),*); - - $macro_to_call_back!(StellarValue, $($context),*); - - $macro_to_call_back!(StellarValueExt, $($context),*); - - $macro_to_call_back!(LedgerHeaderFlags, $($context),*); - - $macro_to_call_back!(LedgerHeaderExtensionV1, $($context),*); - - $macro_to_call_back!(LedgerHeaderExtensionV1Ext, $($context),*); - - $macro_to_call_back!(LedgerHeader, $($context),*); - - $macro_to_call_back!(LedgerHeaderExt, $($context),*); - - $macro_to_call_back!(LedgerUpgradeType, $($context),*); - - $macro_to_call_back!(ConfigUpgradeSetKey, $($context),*); - - $macro_to_call_back!(LedgerUpgrade, $($context),*); - - $macro_to_call_back!(ConfigUpgradeSet, $($context),*); - - $macro_to_call_back!(BucketEntryType, $($context),*); - - $macro_to_call_back!(BucketMetadata, $($context),*); - - $macro_to_call_back!(BucketMetadataExt, $($context),*); - - $macro_to_call_back!(BucketEntry, $($context),*); - - $macro_to_call_back!(TxSetComponentType, $($context),*); - - $macro_to_call_back!(TxSetComponent, $($context),*); - - $macro_to_call_back!(TxSetComponentTxsMaybeDiscountedFee, $($context),*); - - $macro_to_call_back!(TransactionPhase, $($context),*); - - $macro_to_call_back!(TransactionSet, $($context),*); - - $macro_to_call_back!(TransactionSetV1, $($context),*); - - $macro_to_call_back!(GeneralizedTransactionSet, $($context),*); - - $macro_to_call_back!(TransactionResultPair, $($context),*); - - $macro_to_call_back!(TransactionResultSet, $($context),*); - - $macro_to_call_back!(TransactionHistoryEntry, $($context),*); - - $macro_to_call_back!(TransactionHistoryEntryExt, $($context),*); - - $macro_to_call_back!(TransactionHistoryResultEntry, $($context),*); - - $macro_to_call_back!(TransactionHistoryResultEntryExt, $($context),*); - - $macro_to_call_back!(LedgerHeaderHistoryEntry, $($context),*); - - $macro_to_call_back!(LedgerHeaderHistoryEntryExt, $($context),*); - - $macro_to_call_back!(LedgerScpMessages, $($context),*); - - $macro_to_call_back!(ScpHistoryEntryV0, $($context),*); - - $macro_to_call_back!(ScpHistoryEntry, $($context),*); - - $macro_to_call_back!(LedgerEntryChangeType, $($context),*); - - $macro_to_call_back!(LedgerEntryChange, $($context),*); - - $macro_to_call_back!(LedgerEntryChanges, $($context),*); - - $macro_to_call_back!(OperationMeta, $($context),*); - - $macro_to_call_back!(TransactionMetaV1, $($context),*); - - $macro_to_call_back!(TransactionMetaV2, $($context),*); - - $macro_to_call_back!(ContractEventType, $($context),*); - - $macro_to_call_back!(ContractEvent, $($context),*); - - $macro_to_call_back!(ContractEventBody, $($context),*); - - $macro_to_call_back!(ContractEventV0, $($context),*); - - $macro_to_call_back!(DiagnosticEvent, $($context),*); - - $macro_to_call_back!(SorobanTransactionMetaExtV1, $($context),*); - - $macro_to_call_back!(SorobanTransactionMetaExt, $($context),*); - - $macro_to_call_back!(SorobanTransactionMeta, $($context),*); - - $macro_to_call_back!(TransactionMetaV3, $($context),*); - - $macro_to_call_back!(InvokeHostFunctionSuccessPreImage, $($context),*); - - $macro_to_call_back!(TransactionMeta, $($context),*); - - $macro_to_call_back!(TransactionResultMeta, $($context),*); - - $macro_to_call_back!(UpgradeEntryMeta, $($context),*); - - $macro_to_call_back!(LedgerCloseMetaV0, $($context),*); - - $macro_to_call_back!(LedgerCloseMetaExtV1, $($context),*); - - $macro_to_call_back!(LedgerCloseMetaExt, $($context),*); - - $macro_to_call_back!(LedgerCloseMetaV1, $($context),*); - - $macro_to_call_back!(LedgerCloseMeta, $($context),*); - - $macro_to_call_back!(ErrorCode, $($context),*); - - $macro_to_call_back!(SError, $($context),*); - - $macro_to_call_back!(SendMore, $($context),*); - - $macro_to_call_back!(SendMoreExtended, $($context),*); - - $macro_to_call_back!(AuthCert, $($context),*); - - $macro_to_call_back!(Hello, $($context),*); - - $macro_to_call_back!(Auth, $($context),*); - - $macro_to_call_back!(IpAddrType, $($context),*); - - $macro_to_call_back!(PeerAddress, $($context),*); - - $macro_to_call_back!(PeerAddressIp, $($context),*); - - $macro_to_call_back!(MessageType, $($context),*); - - $macro_to_call_back!(DontHave, $($context),*); - - $macro_to_call_back!(SurveyMessageCommandType, $($context),*); - - $macro_to_call_back!(SurveyMessageResponseType, $($context),*); - - $macro_to_call_back!(SurveyRequestMessage, $($context),*); - - $macro_to_call_back!(SignedSurveyRequestMessage, $($context),*); - - $macro_to_call_back!(EncryptedBody, $($context),*); - - $macro_to_call_back!(SurveyResponseMessage, $($context),*); - - $macro_to_call_back!(SignedSurveyResponseMessage, $($context),*); - - $macro_to_call_back!(PeerStats, $($context),*); - - $macro_to_call_back!(PeerStatList, $($context),*); - - $macro_to_call_back!(TopologyResponseBodyV0, $($context),*); - - $macro_to_call_back!(TopologyResponseBodyV1, $($context),*); - - $macro_to_call_back!(SurveyResponseBody, $($context),*); - - $macro_to_call_back!(TxAdvertVector, $($context),*); - - $macro_to_call_back!(FloodAdvert, $($context),*); - - $macro_to_call_back!(TxDemandVector, $($context),*); - - $macro_to_call_back!(FloodDemand, $($context),*); - - $macro_to_call_back!(StellarMessage, $($context),*); - - $macro_to_call_back!(AuthenticatedMessage, $($context),*); - - $macro_to_call_back!(AuthenticatedMessageV0, $($context),*); - - $macro_to_call_back!(LiquidityPoolParameters, $($context),*); - - $macro_to_call_back!(MuxedAccount, $($context),*); - - $macro_to_call_back!(MuxedAccountMed25519, $($context),*); - - $macro_to_call_back!(DecoratedSignature, $($context),*); - - $macro_to_call_back!(OperationType, $($context),*); - - $macro_to_call_back!(CreateAccountOp, $($context),*); - - $macro_to_call_back!(PaymentOp, $($context),*); - - $macro_to_call_back!(PathPaymentStrictReceiveOp, $($context),*); - - $macro_to_call_back!(PathPaymentStrictSendOp, $($context),*); - - $macro_to_call_back!(ManageSellOfferOp, $($context),*); - - $macro_to_call_back!(ManageBuyOfferOp, $($context),*); - - $macro_to_call_back!(CreatePassiveSellOfferOp, $($context),*); - - $macro_to_call_back!(SetOptionsOp, $($context),*); - - $macro_to_call_back!(ChangeTrustAsset, $($context),*); - - $macro_to_call_back!(ChangeTrustOp, $($context),*); - - $macro_to_call_back!(AllowTrustOp, $($context),*); - - $macro_to_call_back!(ManageDataOp, $($context),*); - - $macro_to_call_back!(BumpSequenceOp, $($context),*); - - $macro_to_call_back!(CreateClaimableBalanceOp, $($context),*); - - $macro_to_call_back!(ClaimClaimableBalanceOp, $($context),*); - - $macro_to_call_back!(BeginSponsoringFutureReservesOp, $($context),*); - - $macro_to_call_back!(RevokeSponsorshipType, $($context),*); - - $macro_to_call_back!(RevokeSponsorshipOp, $($context),*); - - $macro_to_call_back!(RevokeSponsorshipOpSigner, $($context),*); - - $macro_to_call_back!(ClawbackOp, $($context),*); - - $macro_to_call_back!(ClawbackClaimableBalanceOp, $($context),*); - - $macro_to_call_back!(SetTrustLineFlagsOp, $($context),*); - - $macro_to_call_back!(LiquidityPoolDepositOp, $($context),*); - - $macro_to_call_back!(LiquidityPoolWithdrawOp, $($context),*); - - $macro_to_call_back!(HostFunctionType, $($context),*); - - $macro_to_call_back!(ContractIdPreimageType, $($context),*); - - $macro_to_call_back!(ContractIdPreimage, $($context),*); - - $macro_to_call_back!(ContractIdPreimageFromAddress, $($context),*); - - $macro_to_call_back!(CreateContractArgs, $($context),*); - - $macro_to_call_back!(InvokeContractArgs, $($context),*); - - $macro_to_call_back!(HostFunction, $($context),*); - - $macro_to_call_back!(SorobanAuthorizedFunctionType, $($context),*); - - $macro_to_call_back!(SorobanAuthorizedFunction, $($context),*); - - $macro_to_call_back!(SorobanAuthorizedInvocation, $($context),*); - - $macro_to_call_back!(SorobanAddressCredentials, $($context),*); - - $macro_to_call_back!(SorobanCredentialsType, $($context),*); - - $macro_to_call_back!(SorobanCredentials, $($context),*); - - $macro_to_call_back!(SorobanAuthorizationEntry, $($context),*); - - $macro_to_call_back!(InvokeHostFunctionOp, $($context),*); - - $macro_to_call_back!(ExtendFootprintTtlOp, $($context),*); - - $macro_to_call_back!(RestoreFootprintOp, $($context),*); - - $macro_to_call_back!(Operation, $($context),*); - - $macro_to_call_back!(OperationBody, $($context),*); - - $macro_to_call_back!(HashIdPreimage, $($context),*); - - $macro_to_call_back!(HashIdPreimageOperationId, $($context),*); - - $macro_to_call_back!(HashIdPreimageRevokeId, $($context),*); - - $macro_to_call_back!(HashIdPreimageContractId, $($context),*); - - $macro_to_call_back!(HashIdPreimageSorobanAuthorization, $($context),*); - - $macro_to_call_back!(MemoType, $($context),*); - - $macro_to_call_back!(Memo, $($context),*); - - $macro_to_call_back!(TimeBounds, $($context),*); - - $macro_to_call_back!(LedgerBounds, $($context),*); - - $macro_to_call_back!(PreconditionsV2, $($context),*); - - $macro_to_call_back!(PreconditionType, $($context),*); - - $macro_to_call_back!(Preconditions, $($context),*); - - $macro_to_call_back!(LedgerFootprint, $($context),*); - - $macro_to_call_back!(SorobanResources, $($context),*); - - $macro_to_call_back!(SorobanTransactionData, $($context),*); - - $macro_to_call_back!(TransactionV0, $($context),*); - - $macro_to_call_back!(TransactionV0Ext, $($context),*); - - $macro_to_call_back!(TransactionV0Envelope, $($context),*); - - $macro_to_call_back!(Transaction, $($context),*); - - $macro_to_call_back!(TransactionExt, $($context),*); - - $macro_to_call_back!(TransactionV1Envelope, $($context),*); - - $macro_to_call_back!(FeeBumpTransaction, $($context),*); - - $macro_to_call_back!(FeeBumpTransactionInnerTx, $($context),*); - - $macro_to_call_back!(FeeBumpTransactionExt, $($context),*); - - $macro_to_call_back!(FeeBumpTransactionEnvelope, $($context),*); - - $macro_to_call_back!(TransactionEnvelope, $($context),*); - - $macro_to_call_back!(TransactionSignaturePayload, $($context),*); - - $macro_to_call_back!(TransactionSignaturePayloadTaggedTransaction, $($context),*); - - $macro_to_call_back!(ClaimAtomType, $($context),*); - - $macro_to_call_back!(ClaimOfferAtomV0, $($context),*); - - $macro_to_call_back!(ClaimOfferAtom, $($context),*); - - $macro_to_call_back!(ClaimLiquidityAtom, $($context),*); - - $macro_to_call_back!(ClaimAtom, $($context),*); - - $macro_to_call_back!(CreateAccountResultCode, $($context),*); - - $macro_to_call_back!(CreateAccountResult, $($context),*); - - $macro_to_call_back!(PaymentResultCode, $($context),*); - - $macro_to_call_back!(PaymentResult, $($context),*); - - $macro_to_call_back!(PathPaymentStrictReceiveResultCode, $($context),*); - - $macro_to_call_back!(SimplePaymentResult, $($context),*); - - $macro_to_call_back!(PathPaymentStrictReceiveResult, $($context),*); - - $macro_to_call_back!(PathPaymentStrictReceiveResultSuccess, $($context),*); - - $macro_to_call_back!(PathPaymentStrictSendResultCode, $($context),*); - - $macro_to_call_back!(PathPaymentStrictSendResult, $($context),*); - - $macro_to_call_back!(PathPaymentStrictSendResultSuccess, $($context),*); - - $macro_to_call_back!(ManageSellOfferResultCode, $($context),*); - - $macro_to_call_back!(ManageOfferEffect, $($context),*); - - $macro_to_call_back!(ManageOfferSuccessResult, $($context),*); - - $macro_to_call_back!(ManageOfferSuccessResultOffer, $($context),*); - - $macro_to_call_back!(ManageSellOfferResult, $($context),*); - - $macro_to_call_back!(ManageBuyOfferResultCode, $($context),*); - - $macro_to_call_back!(ManageBuyOfferResult, $($context),*); - - $macro_to_call_back!(SetOptionsResultCode, $($context),*); - - $macro_to_call_back!(SetOptionsResult, $($context),*); - - $macro_to_call_back!(ChangeTrustResultCode, $($context),*); - - $macro_to_call_back!(ChangeTrustResult, $($context),*); - - $macro_to_call_back!(AllowTrustResultCode, $($context),*); - - $macro_to_call_back!(AllowTrustResult, $($context),*); - - $macro_to_call_back!(AccountMergeResultCode, $($context),*); - - $macro_to_call_back!(AccountMergeResult, $($context),*); - - $macro_to_call_back!(InflationResultCode, $($context),*); - - $macro_to_call_back!(InflationPayout, $($context),*); - - $macro_to_call_back!(InflationResult, $($context),*); - - $macro_to_call_back!(ManageDataResultCode, $($context),*); - - $macro_to_call_back!(ManageDataResult, $($context),*); - - $macro_to_call_back!(BumpSequenceResultCode, $($context),*); - - $macro_to_call_back!(BumpSequenceResult, $($context),*); - - $macro_to_call_back!(CreateClaimableBalanceResultCode, $($context),*); - - $macro_to_call_back!(CreateClaimableBalanceResult, $($context),*); - - $macro_to_call_back!(ClaimClaimableBalanceResultCode, $($context),*); - - $macro_to_call_back!(ClaimClaimableBalanceResult, $($context),*); - - $macro_to_call_back!(BeginSponsoringFutureReservesResultCode, $($context),*); - - $macro_to_call_back!(BeginSponsoringFutureReservesResult, $($context),*); - - $macro_to_call_back!(EndSponsoringFutureReservesResultCode, $($context),*); - - $macro_to_call_back!(EndSponsoringFutureReservesResult, $($context),*); - - $macro_to_call_back!(RevokeSponsorshipResultCode, $($context),*); - - $macro_to_call_back!(RevokeSponsorshipResult, $($context),*); - - $macro_to_call_back!(ClawbackResultCode, $($context),*); - - $macro_to_call_back!(ClawbackResult, $($context),*); - - $macro_to_call_back!(ClawbackClaimableBalanceResultCode, $($context),*); - - $macro_to_call_back!(ClawbackClaimableBalanceResult, $($context),*); - - $macro_to_call_back!(SetTrustLineFlagsResultCode, $($context),*); - - $macro_to_call_back!(SetTrustLineFlagsResult, $($context),*); - - $macro_to_call_back!(LiquidityPoolDepositResultCode, $($context),*); - - $macro_to_call_back!(LiquidityPoolDepositResult, $($context),*); - - $macro_to_call_back!(LiquidityPoolWithdrawResultCode, $($context),*); - - $macro_to_call_back!(LiquidityPoolWithdrawResult, $($context),*); - - $macro_to_call_back!(InvokeHostFunctionResultCode, $($context),*); - - $macro_to_call_back!(InvokeHostFunctionResult, $($context),*); - - $macro_to_call_back!(ExtendFootprintTtlResultCode, $($context),*); - - $macro_to_call_back!(ExtendFootprintTtlResult, $($context),*); - - $macro_to_call_back!(RestoreFootprintResultCode, $($context),*); - - $macro_to_call_back!(RestoreFootprintResult, $($context),*); - - $macro_to_call_back!(OperationResultCode, $($context),*); - - $macro_to_call_back!(OperationResult, $($context),*); - - $macro_to_call_back!(OperationResultTr, $($context),*); - - $macro_to_call_back!(TransactionResultCode, $($context),*); - - $macro_to_call_back!(InnerTransactionResult, $($context),*); - - $macro_to_call_back!(InnerTransactionResultResult, $($context),*); - - $macro_to_call_back!(InnerTransactionResultExt, $($context),*); - - $macro_to_call_back!(InnerTransactionResultPair, $($context),*); - - $macro_to_call_back!(TransactionResult, $($context),*); - - $macro_to_call_back!(TransactionResultResult, $($context),*); - - $macro_to_call_back!(TransactionResultExt, $($context),*); - - $macro_to_call_back!(Hash, $($context),*); - - $macro_to_call_back!(Uint256, $($context),*); - - $macro_to_call_back!(Uint32, $($context),*); - - $macro_to_call_back!(Int32, $($context),*); - - $macro_to_call_back!(Uint64, $($context),*); - - $macro_to_call_back!(Int64, $($context),*); - - $macro_to_call_back!(TimePoint, $($context),*); - - $macro_to_call_back!(Duration, $($context),*); - - $macro_to_call_back!(ExtensionPoint, $($context),*); - - $macro_to_call_back!(CryptoKeyType, $($context),*); - - $macro_to_call_back!(PublicKeyType, $($context),*); - - $macro_to_call_back!(SignerKeyType, $($context),*); - - $macro_to_call_back!(PublicKey, $($context),*); - - $macro_to_call_back!(SignerKey, $($context),*); - - $macro_to_call_back!(SignerKeyEd25519SignedPayload, $($context),*); - - $macro_to_call_back!(Signature, $($context),*); - - $macro_to_call_back!(SignatureHint, $($context),*); - - $macro_to_call_back!(NodeId, $($context),*); - - $macro_to_call_back!(AccountId, $($context),*); - - $macro_to_call_back!(Curve25519Secret, $($context),*); - - $macro_to_call_back!(Curve25519Public, $($context),*); - - $macro_to_call_back!(HmacSha256Key, $($context),*); - - $macro_to_call_back!(HmacSha256Mac, $($context),*); - - - }}; -} -pub use _call_macro_with_each_type_a8ec9d9a49f25ea23e8e612173231a39cfdf209abcfa15580b47b2a63e940f47 as call_macro_with_each_type; #[derive(Clone, Copy, Debug, Hash, PartialEq, Eq, PartialOrd, Ord)] #[cfg_attr( all(feature = "serde", feature = "alloc"), diff --git a/src/next/generated.rs b/src/next/generated.rs index aa31b0e8..35e6129a 100644 --- a/src/next/generated.rs +++ b/src/next/generated.rs @@ -43473,866 +43473,6 @@ impl WriteXdr for HmacSha256Mac { } } -#[doc(hidden)] -#[macro_export] -macro_rules! _call_macro_with_each_type_53647236d6ceadfee429747f7d6725f269c6917f9a37b47038496c410a3a8868 { - // The x-macro takes a single ident, the name of a macro to call ... - ($macro_to_call_back:ident, $($context:tt),*) => {{ - // ... and calls it back, once for each XDR type. - $macro_to_call_back!(Value, $($context),*); - - $macro_to_call_back!(ScpBallot, $($context),*); - - $macro_to_call_back!(ScpStatementType, $($context),*); - - $macro_to_call_back!(ScpNomination, $($context),*); - - $macro_to_call_back!(ScpStatement, $($context),*); - - $macro_to_call_back!(ScpStatementPledges, $($context),*); - - $macro_to_call_back!(ScpStatementPrepare, $($context),*); - - $macro_to_call_back!(ScpStatementConfirm, $($context),*); - - $macro_to_call_back!(ScpStatementExternalize, $($context),*); - - $macro_to_call_back!(ScpEnvelope, $($context),*); - - $macro_to_call_back!(ScpQuorumSet, $($context),*); - - $macro_to_call_back!(ConfigSettingContractExecutionLanesV0, $($context),*); - - $macro_to_call_back!(ConfigSettingContractComputeV0, $($context),*); - - $macro_to_call_back!(ConfigSettingContractLedgerCostV0, $($context),*); - - $macro_to_call_back!(ConfigSettingContractHistoricalDataV0, $($context),*); - - $macro_to_call_back!(ConfigSettingContractEventsV0, $($context),*); - - $macro_to_call_back!(ConfigSettingContractBandwidthV0, $($context),*); - - $macro_to_call_back!(ContractCostType, $($context),*); - - $macro_to_call_back!(ContractCostParamEntry, $($context),*); - - $macro_to_call_back!(StateArchivalSettings, $($context),*); - - $macro_to_call_back!(EvictionIterator, $($context),*); - - $macro_to_call_back!(ContractCostParams, $($context),*); - - $macro_to_call_back!(ConfigSettingId, $($context),*); - - $macro_to_call_back!(ConfigSettingEntry, $($context),*); - - $macro_to_call_back!(ScEnvMetaKind, $($context),*); - - $macro_to_call_back!(ScEnvMetaEntry, $($context),*); - - $macro_to_call_back!(ScMetaV0, $($context),*); - - $macro_to_call_back!(ScMetaKind, $($context),*); - - $macro_to_call_back!(ScMetaEntry, $($context),*); - - $macro_to_call_back!(ScSpecType, $($context),*); - - $macro_to_call_back!(ScSpecTypeOption, $($context),*); - - $macro_to_call_back!(ScSpecTypeResult, $($context),*); - - $macro_to_call_back!(ScSpecTypeVec, $($context),*); - - $macro_to_call_back!(ScSpecTypeMap, $($context),*); - - $macro_to_call_back!(ScSpecTypeTuple, $($context),*); - - $macro_to_call_back!(ScSpecTypeBytesN, $($context),*); - - $macro_to_call_back!(ScSpecTypeUdt, $($context),*); - - $macro_to_call_back!(ScSpecTypeDef, $($context),*); - - $macro_to_call_back!(ScSpecUdtStructFieldV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtStructV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtUnionCaseVoidV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtUnionCaseTupleV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtUnionCaseV0Kind, $($context),*); - - $macro_to_call_back!(ScSpecUdtUnionCaseV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtUnionV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtEnumCaseV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtEnumV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtErrorEnumCaseV0, $($context),*); - - $macro_to_call_back!(ScSpecUdtErrorEnumV0, $($context),*); - - $macro_to_call_back!(ScSpecFunctionInputV0, $($context),*); - - $macro_to_call_back!(ScSpecFunctionV0, $($context),*); - - $macro_to_call_back!(ScSpecEntryKind, $($context),*); - - $macro_to_call_back!(ScSpecEntry, $($context),*); - - $macro_to_call_back!(ScValType, $($context),*); - - $macro_to_call_back!(ScErrorType, $($context),*); - - $macro_to_call_back!(ScErrorCode, $($context),*); - - $macro_to_call_back!(ScError, $($context),*); - - $macro_to_call_back!(UInt128Parts, $($context),*); - - $macro_to_call_back!(Int128Parts, $($context),*); - - $macro_to_call_back!(UInt256Parts, $($context),*); - - $macro_to_call_back!(Int256Parts, $($context),*); - - $macro_to_call_back!(ContractExecutableType, $($context),*); - - $macro_to_call_back!(ContractExecutable, $($context),*); - - $macro_to_call_back!(ScAddressType, $($context),*); - - $macro_to_call_back!(ScAddress, $($context),*); - - $macro_to_call_back!(ScVec, $($context),*); - - $macro_to_call_back!(ScMap, $($context),*); - - $macro_to_call_back!(ScBytes, $($context),*); - - $macro_to_call_back!(ScString, $($context),*); - - $macro_to_call_back!(ScSymbol, $($context),*); - - $macro_to_call_back!(ScNonceKey, $($context),*); - - $macro_to_call_back!(ScContractInstance, $($context),*); - - $macro_to_call_back!(ScVal, $($context),*); - - $macro_to_call_back!(ScMapEntry, $($context),*); - - $macro_to_call_back!(StoredTransactionSet, $($context),*); - - $macro_to_call_back!(StoredDebugTransactionSet, $($context),*); - - $macro_to_call_back!(PersistedScpStateV0, $($context),*); - - $macro_to_call_back!(PersistedScpStateV1, $($context),*); - - $macro_to_call_back!(PersistedScpState, $($context),*); - - $macro_to_call_back!(Thresholds, $($context),*); - - $macro_to_call_back!(String32, $($context),*); - - $macro_to_call_back!(String64, $($context),*); - - $macro_to_call_back!(SequenceNumber, $($context),*); - - $macro_to_call_back!(DataValue, $($context),*); - - $macro_to_call_back!(PoolId, $($context),*); - - $macro_to_call_back!(AssetCode4, $($context),*); - - $macro_to_call_back!(AssetCode12, $($context),*); - - $macro_to_call_back!(AssetType, $($context),*); - - $macro_to_call_back!(AssetCode, $($context),*); - - $macro_to_call_back!(AlphaNum4, $($context),*); - - $macro_to_call_back!(AlphaNum12, $($context),*); - - $macro_to_call_back!(Asset, $($context),*); - - $macro_to_call_back!(Price, $($context),*); - - $macro_to_call_back!(Liabilities, $($context),*); - - $macro_to_call_back!(ThresholdIndexes, $($context),*); - - $macro_to_call_back!(LedgerEntryType, $($context),*); - - $macro_to_call_back!(Signer, $($context),*); - - $macro_to_call_back!(AccountFlags, $($context),*); - - $macro_to_call_back!(SponsorshipDescriptor, $($context),*); - - $macro_to_call_back!(AccountEntryExtensionV3, $($context),*); - - $macro_to_call_back!(AccountEntryExtensionV2, $($context),*); - - $macro_to_call_back!(AccountEntryExtensionV2Ext, $($context),*); - - $macro_to_call_back!(AccountEntryExtensionV1, $($context),*); - - $macro_to_call_back!(AccountEntryExtensionV1Ext, $($context),*); - - $macro_to_call_back!(AccountEntry, $($context),*); - - $macro_to_call_back!(AccountEntryExt, $($context),*); - - $macro_to_call_back!(TrustLineFlags, $($context),*); - - $macro_to_call_back!(LiquidityPoolType, $($context),*); - - $macro_to_call_back!(TrustLineAsset, $($context),*); - - $macro_to_call_back!(TrustLineEntryExtensionV2, $($context),*); - - $macro_to_call_back!(TrustLineEntryExtensionV2Ext, $($context),*); - - $macro_to_call_back!(TrustLineEntry, $($context),*); - - $macro_to_call_back!(TrustLineEntryExt, $($context),*); - - $macro_to_call_back!(TrustLineEntryV1, $($context),*); - - $macro_to_call_back!(TrustLineEntryV1Ext, $($context),*); - - $macro_to_call_back!(OfferEntryFlags, $($context),*); - - $macro_to_call_back!(OfferEntry, $($context),*); - - $macro_to_call_back!(OfferEntryExt, $($context),*); - - $macro_to_call_back!(DataEntry, $($context),*); - - $macro_to_call_back!(DataEntryExt, $($context),*); - - $macro_to_call_back!(ClaimPredicateType, $($context),*); - - $macro_to_call_back!(ClaimPredicate, $($context),*); - - $macro_to_call_back!(ClaimantType, $($context),*); - - $macro_to_call_back!(Claimant, $($context),*); - - $macro_to_call_back!(ClaimantV0, $($context),*); - - $macro_to_call_back!(ClaimableBalanceIdType, $($context),*); - - $macro_to_call_back!(ClaimableBalanceId, $($context),*); - - $macro_to_call_back!(ClaimableBalanceFlags, $($context),*); - - $macro_to_call_back!(ClaimableBalanceEntryExtensionV1, $($context),*); - - $macro_to_call_back!(ClaimableBalanceEntryExtensionV1Ext, $($context),*); - - $macro_to_call_back!(ClaimableBalanceEntry, $($context),*); - - $macro_to_call_back!(ClaimableBalanceEntryExt, $($context),*); - - $macro_to_call_back!(LiquidityPoolConstantProductParameters, $($context),*); - - $macro_to_call_back!(LiquidityPoolEntry, $($context),*); - - $macro_to_call_back!(LiquidityPoolEntryBody, $($context),*); - - $macro_to_call_back!(LiquidityPoolEntryConstantProduct, $($context),*); - - $macro_to_call_back!(ContractDataDurability, $($context),*); - - $macro_to_call_back!(ContractDataEntry, $($context),*); - - $macro_to_call_back!(ContractCodeCostInputs, $($context),*); - - $macro_to_call_back!(ContractCodeEntry, $($context),*); - - $macro_to_call_back!(ContractCodeEntryExt, $($context),*); - - $macro_to_call_back!(ContractCodeEntryV1, $($context),*); - - $macro_to_call_back!(TtlEntry, $($context),*); - - $macro_to_call_back!(LedgerEntryExtensionV1, $($context),*); - - $macro_to_call_back!(LedgerEntryExtensionV1Ext, $($context),*); - - $macro_to_call_back!(LedgerEntry, $($context),*); - - $macro_to_call_back!(LedgerEntryData, $($context),*); - - $macro_to_call_back!(LedgerEntryExt, $($context),*); - - $macro_to_call_back!(LedgerKey, $($context),*); - - $macro_to_call_back!(LedgerKeyAccount, $($context),*); - - $macro_to_call_back!(LedgerKeyTrustLine, $($context),*); - - $macro_to_call_back!(LedgerKeyOffer, $($context),*); - - $macro_to_call_back!(LedgerKeyData, $($context),*); - - $macro_to_call_back!(LedgerKeyClaimableBalance, $($context),*); - - $macro_to_call_back!(LedgerKeyLiquidityPool, $($context),*); - - $macro_to_call_back!(LedgerKeyContractData, $($context),*); - - $macro_to_call_back!(LedgerKeyContractCode, $($context),*); - - $macro_to_call_back!(LedgerKeyConfigSetting, $($context),*); - - $macro_to_call_back!(LedgerKeyTtl, $($context),*); - - $macro_to_call_back!(EnvelopeType, $($context),*); - - $macro_to_call_back!(UpgradeType, $($context),*); - - $macro_to_call_back!(StellarValueType, $($context),*); - - $macro_to_call_back!(LedgerCloseValueSignature, $($context),*); - - $macro_to_call_back!(StellarValue, $($context),*); - - $macro_to_call_back!(StellarValueExt, $($context),*); - - $macro_to_call_back!(LedgerHeaderFlags, $($context),*); - - $macro_to_call_back!(LedgerHeaderExtensionV1, $($context),*); - - $macro_to_call_back!(LedgerHeaderExtensionV1Ext, $($context),*); - - $macro_to_call_back!(LedgerHeader, $($context),*); - - $macro_to_call_back!(LedgerHeaderExt, $($context),*); - - $macro_to_call_back!(LedgerUpgradeType, $($context),*); - - $macro_to_call_back!(ConfigUpgradeSetKey, $($context),*); - - $macro_to_call_back!(LedgerUpgrade, $($context),*); - - $macro_to_call_back!(ConfigUpgradeSet, $($context),*); - - $macro_to_call_back!(BucketEntryType, $($context),*); - - $macro_to_call_back!(BucketMetadata, $($context),*); - - $macro_to_call_back!(BucketMetadataExt, $($context),*); - - $macro_to_call_back!(BucketEntry, $($context),*); - - $macro_to_call_back!(TxSetComponentType, $($context),*); - - $macro_to_call_back!(TxSetComponent, $($context),*); - - $macro_to_call_back!(TxSetComponentTxsMaybeDiscountedFee, $($context),*); - - $macro_to_call_back!(TransactionPhase, $($context),*); - - $macro_to_call_back!(TransactionSet, $($context),*); - - $macro_to_call_back!(TransactionSetV1, $($context),*); - - $macro_to_call_back!(GeneralizedTransactionSet, $($context),*); - - $macro_to_call_back!(TransactionResultPair, $($context),*); - - $macro_to_call_back!(TransactionResultSet, $($context),*); - - $macro_to_call_back!(TransactionHistoryEntry, $($context),*); - - $macro_to_call_back!(TransactionHistoryEntryExt, $($context),*); - - $macro_to_call_back!(TransactionHistoryResultEntry, $($context),*); - - $macro_to_call_back!(TransactionHistoryResultEntryExt, $($context),*); - - $macro_to_call_back!(LedgerHeaderHistoryEntry, $($context),*); - - $macro_to_call_back!(LedgerHeaderHistoryEntryExt, $($context),*); - - $macro_to_call_back!(LedgerScpMessages, $($context),*); - - $macro_to_call_back!(ScpHistoryEntryV0, $($context),*); - - $macro_to_call_back!(ScpHistoryEntry, $($context),*); - - $macro_to_call_back!(LedgerEntryChangeType, $($context),*); - - $macro_to_call_back!(LedgerEntryChange, $($context),*); - - $macro_to_call_back!(LedgerEntryChanges, $($context),*); - - $macro_to_call_back!(OperationMeta, $($context),*); - - $macro_to_call_back!(TransactionMetaV1, $($context),*); - - $macro_to_call_back!(TransactionMetaV2, $($context),*); - - $macro_to_call_back!(ContractEventType, $($context),*); - - $macro_to_call_back!(ContractEvent, $($context),*); - - $macro_to_call_back!(ContractEventBody, $($context),*); - - $macro_to_call_back!(ContractEventV0, $($context),*); - - $macro_to_call_back!(DiagnosticEvent, $($context),*); - - $macro_to_call_back!(SorobanTransactionMetaExtV1, $($context),*); - - $macro_to_call_back!(SorobanTransactionMetaExt, $($context),*); - - $macro_to_call_back!(SorobanTransactionMeta, $($context),*); - - $macro_to_call_back!(TransactionMetaV3, $($context),*); - - $macro_to_call_back!(InvokeHostFunctionSuccessPreImage, $($context),*); - - $macro_to_call_back!(TransactionMeta, $($context),*); - - $macro_to_call_back!(TransactionResultMeta, $($context),*); - - $macro_to_call_back!(UpgradeEntryMeta, $($context),*); - - $macro_to_call_back!(LedgerCloseMetaV0, $($context),*); - - $macro_to_call_back!(LedgerCloseMetaExtV1, $($context),*); - - $macro_to_call_back!(LedgerCloseMetaExt, $($context),*); - - $macro_to_call_back!(LedgerCloseMetaV1, $($context),*); - - $macro_to_call_back!(LedgerCloseMeta, $($context),*); - - $macro_to_call_back!(ErrorCode, $($context),*); - - $macro_to_call_back!(SError, $($context),*); - - $macro_to_call_back!(SendMore, $($context),*); - - $macro_to_call_back!(SendMoreExtended, $($context),*); - - $macro_to_call_back!(AuthCert, $($context),*); - - $macro_to_call_back!(Hello, $($context),*); - - $macro_to_call_back!(Auth, $($context),*); - - $macro_to_call_back!(IpAddrType, $($context),*); - - $macro_to_call_back!(PeerAddress, $($context),*); - - $macro_to_call_back!(PeerAddressIp, $($context),*); - - $macro_to_call_back!(MessageType, $($context),*); - - $macro_to_call_back!(DontHave, $($context),*); - - $macro_to_call_back!(SurveyMessageCommandType, $($context),*); - - $macro_to_call_back!(SurveyMessageResponseType, $($context),*); - - $macro_to_call_back!(SurveyRequestMessage, $($context),*); - - $macro_to_call_back!(SignedSurveyRequestMessage, $($context),*); - - $macro_to_call_back!(EncryptedBody, $($context),*); - - $macro_to_call_back!(SurveyResponseMessage, $($context),*); - - $macro_to_call_back!(SignedSurveyResponseMessage, $($context),*); - - $macro_to_call_back!(PeerStats, $($context),*); - - $macro_to_call_back!(PeerStatList, $($context),*); - - $macro_to_call_back!(TopologyResponseBodyV0, $($context),*); - - $macro_to_call_back!(TopologyResponseBodyV1, $($context),*); - - $macro_to_call_back!(SurveyResponseBody, $($context),*); - - $macro_to_call_back!(TxAdvertVector, $($context),*); - - $macro_to_call_back!(FloodAdvert, $($context),*); - - $macro_to_call_back!(TxDemandVector, $($context),*); - - $macro_to_call_back!(FloodDemand, $($context),*); - - $macro_to_call_back!(StellarMessage, $($context),*); - - $macro_to_call_back!(AuthenticatedMessage, $($context),*); - - $macro_to_call_back!(AuthenticatedMessageV0, $($context),*); - - $macro_to_call_back!(LiquidityPoolParameters, $($context),*); - - $macro_to_call_back!(MuxedAccount, $($context),*); - - $macro_to_call_back!(MuxedAccountMed25519, $($context),*); - - $macro_to_call_back!(DecoratedSignature, $($context),*); - - $macro_to_call_back!(OperationType, $($context),*); - - $macro_to_call_back!(CreateAccountOp, $($context),*); - - $macro_to_call_back!(PaymentOp, $($context),*); - - $macro_to_call_back!(PathPaymentStrictReceiveOp, $($context),*); - - $macro_to_call_back!(PathPaymentStrictSendOp, $($context),*); - - $macro_to_call_back!(ManageSellOfferOp, $($context),*); - - $macro_to_call_back!(ManageBuyOfferOp, $($context),*); - - $macro_to_call_back!(CreatePassiveSellOfferOp, $($context),*); - - $macro_to_call_back!(SetOptionsOp, $($context),*); - - $macro_to_call_back!(ChangeTrustAsset, $($context),*); - - $macro_to_call_back!(ChangeTrustOp, $($context),*); - - $macro_to_call_back!(AllowTrustOp, $($context),*); - - $macro_to_call_back!(ManageDataOp, $($context),*); - - $macro_to_call_back!(BumpSequenceOp, $($context),*); - - $macro_to_call_back!(CreateClaimableBalanceOp, $($context),*); - - $macro_to_call_back!(ClaimClaimableBalanceOp, $($context),*); - - $macro_to_call_back!(BeginSponsoringFutureReservesOp, $($context),*); - - $macro_to_call_back!(RevokeSponsorshipType, $($context),*); - - $macro_to_call_back!(RevokeSponsorshipOp, $($context),*); - - $macro_to_call_back!(RevokeSponsorshipOpSigner, $($context),*); - - $macro_to_call_back!(ClawbackOp, $($context),*); - - $macro_to_call_back!(ClawbackClaimableBalanceOp, $($context),*); - - $macro_to_call_back!(SetTrustLineFlagsOp, $($context),*); - - $macro_to_call_back!(LiquidityPoolDepositOp, $($context),*); - - $macro_to_call_back!(LiquidityPoolWithdrawOp, $($context),*); - - $macro_to_call_back!(HostFunctionType, $($context),*); - - $macro_to_call_back!(ContractIdPreimageType, $($context),*); - - $macro_to_call_back!(ContractIdPreimage, $($context),*); - - $macro_to_call_back!(ContractIdPreimageFromAddress, $($context),*); - - $macro_to_call_back!(CreateContractArgs, $($context),*); - - $macro_to_call_back!(InvokeContractArgs, $($context),*); - - $macro_to_call_back!(HostFunction, $($context),*); - - $macro_to_call_back!(SorobanAuthorizedFunctionType, $($context),*); - - $macro_to_call_back!(SorobanAuthorizedFunction, $($context),*); - - $macro_to_call_back!(SorobanAuthorizedInvocation, $($context),*); - - $macro_to_call_back!(SorobanAddressCredentials, $($context),*); - - $macro_to_call_back!(SorobanCredentialsType, $($context),*); - - $macro_to_call_back!(SorobanCredentials, $($context),*); - - $macro_to_call_back!(SorobanAuthorizationEntry, $($context),*); - - $macro_to_call_back!(InvokeHostFunctionOp, $($context),*); - - $macro_to_call_back!(ExtendFootprintTtlOp, $($context),*); - - $macro_to_call_back!(RestoreFootprintOp, $($context),*); - - $macro_to_call_back!(Operation, $($context),*); - - $macro_to_call_back!(OperationBody, $($context),*); - - $macro_to_call_back!(HashIdPreimage, $($context),*); - - $macro_to_call_back!(HashIdPreimageOperationId, $($context),*); - - $macro_to_call_back!(HashIdPreimageRevokeId, $($context),*); - - $macro_to_call_back!(HashIdPreimageContractId, $($context),*); - - $macro_to_call_back!(HashIdPreimageSorobanAuthorization, $($context),*); - - $macro_to_call_back!(MemoType, $($context),*); - - $macro_to_call_back!(Memo, $($context),*); - - $macro_to_call_back!(TimeBounds, $($context),*); - - $macro_to_call_back!(LedgerBounds, $($context),*); - - $macro_to_call_back!(PreconditionsV2, $($context),*); - - $macro_to_call_back!(PreconditionType, $($context),*); - - $macro_to_call_back!(Preconditions, $($context),*); - - $macro_to_call_back!(LedgerFootprint, $($context),*); - - $macro_to_call_back!(SorobanResources, $($context),*); - - $macro_to_call_back!(SorobanTransactionData, $($context),*); - - $macro_to_call_back!(TransactionV0, $($context),*); - - $macro_to_call_back!(TransactionV0Ext, $($context),*); - - $macro_to_call_back!(TransactionV0Envelope, $($context),*); - - $macro_to_call_back!(Transaction, $($context),*); - - $macro_to_call_back!(TransactionExt, $($context),*); - - $macro_to_call_back!(TransactionV1Envelope, $($context),*); - - $macro_to_call_back!(FeeBumpTransaction, $($context),*); - - $macro_to_call_back!(FeeBumpTransactionInnerTx, $($context),*); - - $macro_to_call_back!(FeeBumpTransactionExt, $($context),*); - - $macro_to_call_back!(FeeBumpTransactionEnvelope, $($context),*); - - $macro_to_call_back!(TransactionEnvelope, $($context),*); - - $macro_to_call_back!(TransactionSignaturePayload, $($context),*); - - $macro_to_call_back!(TransactionSignaturePayloadTaggedTransaction, $($context),*); - - $macro_to_call_back!(ClaimAtomType, $($context),*); - - $macro_to_call_back!(ClaimOfferAtomV0, $($context),*); - - $macro_to_call_back!(ClaimOfferAtom, $($context),*); - - $macro_to_call_back!(ClaimLiquidityAtom, $($context),*); - - $macro_to_call_back!(ClaimAtom, $($context),*); - - $macro_to_call_back!(CreateAccountResultCode, $($context),*); - - $macro_to_call_back!(CreateAccountResult, $($context),*); - - $macro_to_call_back!(PaymentResultCode, $($context),*); - - $macro_to_call_back!(PaymentResult, $($context),*); - - $macro_to_call_back!(PathPaymentStrictReceiveResultCode, $($context),*); - - $macro_to_call_back!(SimplePaymentResult, $($context),*); - - $macro_to_call_back!(PathPaymentStrictReceiveResult, $($context),*); - - $macro_to_call_back!(PathPaymentStrictReceiveResultSuccess, $($context),*); - - $macro_to_call_back!(PathPaymentStrictSendResultCode, $($context),*); - - $macro_to_call_back!(PathPaymentStrictSendResult, $($context),*); - - $macro_to_call_back!(PathPaymentStrictSendResultSuccess, $($context),*); - - $macro_to_call_back!(ManageSellOfferResultCode, $($context),*); - - $macro_to_call_back!(ManageOfferEffect, $($context),*); - - $macro_to_call_back!(ManageOfferSuccessResult, $($context),*); - - $macro_to_call_back!(ManageOfferSuccessResultOffer, $($context),*); - - $macro_to_call_back!(ManageSellOfferResult, $($context),*); - - $macro_to_call_back!(ManageBuyOfferResultCode, $($context),*); - - $macro_to_call_back!(ManageBuyOfferResult, $($context),*); - - $macro_to_call_back!(SetOptionsResultCode, $($context),*); - - $macro_to_call_back!(SetOptionsResult, $($context),*); - - $macro_to_call_back!(ChangeTrustResultCode, $($context),*); - - $macro_to_call_back!(ChangeTrustResult, $($context),*); - - $macro_to_call_back!(AllowTrustResultCode, $($context),*); - - $macro_to_call_back!(AllowTrustResult, $($context),*); - - $macro_to_call_back!(AccountMergeResultCode, $($context),*); - - $macro_to_call_back!(AccountMergeResult, $($context),*); - - $macro_to_call_back!(InflationResultCode, $($context),*); - - $macro_to_call_back!(InflationPayout, $($context),*); - - $macro_to_call_back!(InflationResult, $($context),*); - - $macro_to_call_back!(ManageDataResultCode, $($context),*); - - $macro_to_call_back!(ManageDataResult, $($context),*); - - $macro_to_call_back!(BumpSequenceResultCode, $($context),*); - - $macro_to_call_back!(BumpSequenceResult, $($context),*); - - $macro_to_call_back!(CreateClaimableBalanceResultCode, $($context),*); - - $macro_to_call_back!(CreateClaimableBalanceResult, $($context),*); - - $macro_to_call_back!(ClaimClaimableBalanceResultCode, $($context),*); - - $macro_to_call_back!(ClaimClaimableBalanceResult, $($context),*); - - $macro_to_call_back!(BeginSponsoringFutureReservesResultCode, $($context),*); - - $macro_to_call_back!(BeginSponsoringFutureReservesResult, $($context),*); - - $macro_to_call_back!(EndSponsoringFutureReservesResultCode, $($context),*); - - $macro_to_call_back!(EndSponsoringFutureReservesResult, $($context),*); - - $macro_to_call_back!(RevokeSponsorshipResultCode, $($context),*); - - $macro_to_call_back!(RevokeSponsorshipResult, $($context),*); - - $macro_to_call_back!(ClawbackResultCode, $($context),*); - - $macro_to_call_back!(ClawbackResult, $($context),*); - - $macro_to_call_back!(ClawbackClaimableBalanceResultCode, $($context),*); - - $macro_to_call_back!(ClawbackClaimableBalanceResult, $($context),*); - - $macro_to_call_back!(SetTrustLineFlagsResultCode, $($context),*); - - $macro_to_call_back!(SetTrustLineFlagsResult, $($context),*); - - $macro_to_call_back!(LiquidityPoolDepositResultCode, $($context),*); - - $macro_to_call_back!(LiquidityPoolDepositResult, $($context),*); - - $macro_to_call_back!(LiquidityPoolWithdrawResultCode, $($context),*); - - $macro_to_call_back!(LiquidityPoolWithdrawResult, $($context),*); - - $macro_to_call_back!(InvokeHostFunctionResultCode, $($context),*); - - $macro_to_call_back!(InvokeHostFunctionResult, $($context),*); - - $macro_to_call_back!(ExtendFootprintTtlResultCode, $($context),*); - - $macro_to_call_back!(ExtendFootprintTtlResult, $($context),*); - - $macro_to_call_back!(RestoreFootprintResultCode, $($context),*); - - $macro_to_call_back!(RestoreFootprintResult, $($context),*); - - $macro_to_call_back!(OperationResultCode, $($context),*); - - $macro_to_call_back!(OperationResult, $($context),*); - - $macro_to_call_back!(OperationResultTr, $($context),*); - - $macro_to_call_back!(TransactionResultCode, $($context),*); - - $macro_to_call_back!(InnerTransactionResult, $($context),*); - - $macro_to_call_back!(InnerTransactionResultResult, $($context),*); - - $macro_to_call_back!(InnerTransactionResultExt, $($context),*); - - $macro_to_call_back!(InnerTransactionResultPair, $($context),*); - - $macro_to_call_back!(TransactionResult, $($context),*); - - $macro_to_call_back!(TransactionResultResult, $($context),*); - - $macro_to_call_back!(TransactionResultExt, $($context),*); - - $macro_to_call_back!(Hash, $($context),*); - - $macro_to_call_back!(Uint256, $($context),*); - - $macro_to_call_back!(Uint32, $($context),*); - - $macro_to_call_back!(Int32, $($context),*); - - $macro_to_call_back!(Uint64, $($context),*); - - $macro_to_call_back!(Int64, $($context),*); - - $macro_to_call_back!(TimePoint, $($context),*); - - $macro_to_call_back!(Duration, $($context),*); - - $macro_to_call_back!(ExtensionPoint, $($context),*); - - $macro_to_call_back!(CryptoKeyType, $($context),*); - - $macro_to_call_back!(PublicKeyType, $($context),*); - - $macro_to_call_back!(SignerKeyType, $($context),*); - - $macro_to_call_back!(PublicKey, $($context),*); - - $macro_to_call_back!(SignerKey, $($context),*); - - $macro_to_call_back!(SignerKeyEd25519SignedPayload, $($context),*); - - $macro_to_call_back!(Signature, $($context),*); - - $macro_to_call_back!(SignatureHint, $($context),*); - - $macro_to_call_back!(NodeId, $($context),*); - - $macro_to_call_back!(AccountId, $($context),*); - - $macro_to_call_back!(Curve25519Secret, $($context),*); - - $macro_to_call_back!(Curve25519Public, $($context),*); - - $macro_to_call_back!(HmacSha256Key, $($context),*); - - $macro_to_call_back!(HmacSha256Mac, $($context),*); - - - }}; -} -pub use _call_macro_with_each_type_53647236d6ceadfee429747f7d6725f269c6917f9a37b47038496c410a3a8868 as call_macro_with_each_type; #[derive(Clone, Copy, Debug, Hash, PartialEq, Eq, PartialOrd, Ord)] #[cfg_attr( all(feature = "serde", feature = "alloc"),