@xoxno/sdk-js 1.0.130 → 1.0.132
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/dist/index.bundled.d.cts +308 -125
- package/dist/index.bundled.d.ts +308 -125
- package/dist/index.cjs +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/sdk/stellar/__tests__/decode.test.d.ts +3 -4
- package/dist/sdk/stellar/admin.d.ts +1 -1
- package/dist/sdk/stellar/contracts.d.ts +14 -0
- package/dist/sdk/stellar/events/decode.d.ts +4 -5
- package/dist/sdk/stellar/governance.d.ts +165 -0
- package/dist/sdk/stellar/index.d.ts +1 -0
- package/dist/sdk/stellar/lending.d.ts +7 -0
- package/dist/sdk/swagger.d.ts +146 -124
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -290,6 +290,9 @@ sdk.collection.drops.search(...); // CollectionMintProfilePaginated
|
|
|
290
290
|
// GET /collection/:collection/analytics/volume
|
|
291
291
|
sdk.collection.collection("...").analytics.volume(...); // AnalyticsVolumeDto[]
|
|
292
292
|
|
|
293
|
+
// GET /collections/analytics/volume
|
|
294
|
+
sdk.collections.analytics.volume(...); // Record<string, AnalyticsVolumeDto[]>
|
|
295
|
+
|
|
293
296
|
// GET /countries
|
|
294
297
|
sdk.countries(...); // string[]
|
|
295
298
|
|
|
@@ -515,6 +518,12 @@ sdk.lending.market.token("...").profile(...); // LendingMarketProfile
|
|
|
515
518
|
// GET /lending/market/query
|
|
516
519
|
sdk.lending.market.query(...); // LendingMarketProfileQuery
|
|
517
520
|
|
|
521
|
+
// GET /lending/governance/proposals
|
|
522
|
+
sdk.lending.governance.proposals(...); // LendingGovernanceProposalQuery
|
|
523
|
+
|
|
524
|
+
// GET /lending/governance/proposal/:id
|
|
525
|
+
sdk.lending.governance.proposal.id("...")(...); // LendingGovernanceProposalDoc
|
|
526
|
+
|
|
518
527
|
// GET /lending/market/indexes
|
|
519
528
|
sdk.lending.market.indexes(...); // Record<string, LendingIndexesDto>
|
|
520
529
|
|
package/dist/index.bundled.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
3
|
import { rpc, xdr } from '@stellar/stellar-sdk';
|
|
4
|
-
import { ActivePerpAssetCtx, ActiveSpotAssetCtx, AirdropDtoHydrated, AnalyticsMarketplaceUniqueUsers, AnalyticsVolumeDto, AnsweredQuestionWithDetails, AssetConfigRawDto, BageQRData, BarDto, BorrowArgs, ChatMessageDocHydrated, ChatMessagePaginated, CheckLikeStatusResponseDto, CollectionHoldersDto, CollectionHoldersExportDto, CollectionMintProfileDocHydrated, CollectionMintProfileDocWithStages, CollectionMintProfileFilter, CollectionMintProfilePaginated, CollectionOffersFilter, CollectionOwnerDto, CollectionPinnedStatusDto, CollectionProfileDoc, CollectionProfileEditDto, CollectionProfileFilter, CollectionProfilePaginated, CollectionRanksDTO, CollectionStatsDocHydrated, CollectionStatsFilter, CollectionStatsPaginated, CreatorDetailsDto, CreatorMarketingNotificationDto, CreatorProfileDoc, CreatorProfileDto, CreatorProfileEditDto, DelegationDataOutput, DiscountCodeValidationResponse, EventAcceptInvitation, EventCheckInQR, EventClaimInvitationDto, EventCountGroupedByCountry, EventGuestApproveDto, EventGuestExport, EventGuestFilter, EventGuestProfile, EventGuestProfileQuery, EventGuestRegistrationDto, EventInvitation, EventInvitationCreateDto, EventInvitationDoc, EventInvitationFilter, EventInvitationQuery, EventNotificationDto, EventProfile, EventProfileCreateDto, EventProfileEditDto, EventProfileFilter, EventProfileQuery, EventQuestionCreateDto, EventQuestionDoc, EventQuestionEditDto, EventReferralConfigCreateDto, EventReferralConfigDoc, EventReferralConfigEditDto, EventReferralConfigFilter, EventReferralConfigPaginated, EventReferralCreateDto, EventReferralDoc, EventReferralEditDto, EventReferralFilter, EventReferralPaginated, EventRegistrationResponseDto, EventStageProfileCreateDto, EventStageProfileDoc, EventStageProfileEditDto, EventTicketProfileCreateDto, EventTicketProfileDoc, EventTicketProfileEditDto, EventUserRole, EventUserRoleCreateDto, EventUserRoleDoc, EventUserRoleEditDto, EventVoucherCreateDto, EventVoucherDoc, EventVoucherEditDto, EventVoucherFilter, EventVoucherQuery, FilterQueryDto, FlashLoanArgs, FloorPriceDto, FollowCollectionDto, GlobalAnalyticsOverviewResponseDto, GlobalConversationSummaryDto, GlobalOfferPaginated, GlobalSearchResourcesPaginated, InterestRateModelDto, InventorySummaryDtoHydrated, L2BookPerpResponseSingle, LendingAccountPnl, LendingAccountProfile, LendingAccountSummary, LendingEModeCategoryProfile, LendingIndexesDto, LendingMarketAnalyticsGraph, LendingMarketAverageGraph, LendingMarketProfile, LendingMarketProfileFilter, LendingMarketProfileQuery, LendingNftAttributes, LendingOverallStats, LendingPositionStatus, LendingTokenPriceDto, LikeNftDto, LiquidateArgs, ListingsResponseDto, LoginAccessDto, LoginRequestDto, ManualCheckInDto, MarketOracleConfigInputDto, MarketParamsRawDto, MobileDeviceDoc, MobileDeviceRegistrationDto, MultiplyArgs, NativeWalletDto, NftActivityDocHydrated, NftActivityFilter, NftActivityPaginated, NftDocFilter, NftDocFull, NftDocHydrated, NftOfferDocFilter, NftOfferDocHydrated, NftOfferPaginated, NftPaginated, NotificationDoc, NotificationPaginated, NotificationPreferencesPostDto, NotificationSuccessResponseDto, OracleSourceConfigInputDto, OwnedCollectionsDto, OwnedServicesDto, PerpCoinExtended, PerpCoinExtendedSlim, PerpEvent, PerpLegalCheck, PerpOrderResponse, PerpSpotCoinExtended, PerpSpotCoinExtendedSlim, PinnedCollectionDto, PositionLimitsDto, ProtocolAprType, ProviderDto, PublicOnly, PushNotificationCountResponse, PushNotificationDoc, PushNotificationResponse, RateType, RepayArgs, RepayDebtWithCollateralArgs, SendChatMessageDto, SetEmailDto, SetPhoneDto, ShareholderDto, SignAcceptGlobalOfferDto, SignDataDto, SignMintDto, SignWithdrawDto, SoroswapQuoteResponseDto, StakingCreatorDoc, StakingEditDto, StakingExploreDtoHydrated, StakingPoolDoc, StakingSummary, StakingUserPoolNfts, StellarAggregatorQuoteRequestDto, StellarAggregatorQuoteResponseDto, StellarChallengeResponseDto, StellarLendingDecodedEvent, StellarTokenKind, SuccessDto, SuccessWithMessageDto, SupplyArgs, SwapCollateralArgs, SwapDebtArgs, SwitchWalletDto, SymbolInfoDto, TicketCalculationRequestDto, TicketPricesResponse, TicketValidationResult, TokenDataDocHydrated, TradesPerpResponseSingle, TradesilvaniaSignature, TraitInfo, TransactionCostData, TransactionCreate, TransactionDetailed, TransactionProcessStatus, TransactionSendResult, UserAnalyticsDto, UserBillingDetails, UserBlockPaginated, UserConversationPaginated, UserFavoriteResponseDto, UserInfo, UserNetworkInfoDto, UserProfileDoc, UserProfileDto, UserProfileEditDto, UserSettingsDoc, UserStakingSummaryDto, UserStatsDto, UserTokenInventoryResponseDto, ValueFp, VerifyEmailDto, VolumeGraph, Web2UserDoc, Web2UserShardsDto, Web2WalletDto, WebSocketTokenDto, WithdrawArgs, XoxnoInfo, XoxnoLiquidStatsDto } from '@xoxno/types';
|
|
4
|
+
import { ActivePerpAssetCtx, ActiveSpotAssetCtx, AirdropDtoHydrated, AnalyticsMarketplaceUniqueUsers, AnalyticsVolumeDto, AnsweredQuestionWithDetails, AssetConfigRawDto, BageQRData, BarDto, BorrowArgs, ChatMessageDocHydrated, ChatMessagePaginated, CheckLikeStatusResponseDto, CollectionHoldersDto, CollectionHoldersExportDto, CollectionMintProfileDocHydrated, CollectionMintProfileDocWithStages, CollectionMintProfileFilter, CollectionMintProfilePaginated, CollectionOffersFilter, CollectionOwnerDto, CollectionPinnedStatusDto, CollectionProfileDoc, CollectionProfileEditDto, CollectionProfileFilter, CollectionProfilePaginated, CollectionRanksDTO, CollectionStatsDocHydrated, CollectionStatsFilter, CollectionStatsPaginated, CreatorDetailsDto, CreatorMarketingNotificationDto, CreatorProfileDoc, CreatorProfileDto, CreatorProfileEditDto, DelegationDataOutput, DiscountCodeValidationResponse, EventAcceptInvitation, EventCheckInQR, EventClaimInvitationDto, EventCountGroupedByCountry, EventGuestApproveDto, EventGuestExport, EventGuestFilter, EventGuestProfile, EventGuestProfileQuery, EventGuestRegistrationDto, EventInvitation, EventInvitationCreateDto, EventInvitationDoc, EventInvitationFilter, EventInvitationQuery, EventNotificationDto, EventProfile, EventProfileCreateDto, EventProfileEditDto, EventProfileFilter, EventProfileQuery, EventQuestionCreateDto, EventQuestionDoc, EventQuestionEditDto, EventReferralConfigCreateDto, EventReferralConfigDoc, EventReferralConfigEditDto, EventReferralConfigFilter, EventReferralConfigPaginated, EventReferralCreateDto, EventReferralDoc, EventReferralEditDto, EventReferralFilter, EventReferralPaginated, EventRegistrationResponseDto, EventStageProfileCreateDto, EventStageProfileDoc, EventStageProfileEditDto, EventTicketProfileCreateDto, EventTicketProfileDoc, EventTicketProfileEditDto, EventUserRole, EventUserRoleCreateDto, EventUserRoleDoc, EventUserRoleEditDto, EventVoucherCreateDto, EventVoucherDoc, EventVoucherEditDto, EventVoucherFilter, EventVoucherQuery, FilterQueryDto, FlashLoanArgs, FloorPriceDto, FollowCollectionDto, GlobalAnalyticsOverviewResponseDto, GlobalConversationSummaryDto, GlobalOfferPaginated, GlobalSearchResourcesPaginated, InterestRateModelDto, InventorySummaryDtoHydrated, L2BookPerpResponseSingle, LendingAccountPnl, LendingAccountProfile, LendingAccountSummary, LendingEModeCategoryProfile, LendingGovernanceProposalDoc, LendingGovernanceProposalFilter, LendingGovernanceProposalQuery, LendingIndexesDto, LendingMarketAnalyticsGraph, LendingMarketAverageGraph, LendingMarketProfile, LendingMarketProfileFilter, LendingMarketProfileQuery, LendingNftAttributes, LendingOverallStats, LendingPositionStatus, LendingTokenPriceDto, LikeNftDto, LiquidateArgs, ListingsResponseDto, LoginAccessDto, LoginRequestDto, ManualCheckInDto, MarketOracleConfigInputDto, MarketParamsRawDto, MobileDeviceDoc, MobileDeviceRegistrationDto, MultiplyArgs, NativeWalletDto, NftActivityDocHydrated, NftActivityFilter, NftActivityPaginated, NftDocFilter, NftDocFull, NftDocHydrated, NftOfferDocFilter, NftOfferDocHydrated, NftOfferPaginated, NftPaginated, NotificationDoc, NotificationPaginated, NotificationPreferencesPostDto, NotificationSuccessResponseDto, OracleSourceConfigInputDto, OwnedCollectionsDto, OwnedServicesDto, PerpCoinExtended, PerpCoinExtendedSlim, PerpEvent, PerpLegalCheck, PerpOrderResponse, PerpSpotCoinExtended, PerpSpotCoinExtendedSlim, PinnedCollectionDto, PositionLimitsDto, ProtocolAprType, ProviderDto, PublicOnly, PushNotificationCountResponse, PushNotificationDoc, PushNotificationResponse, RateType, RepayArgs, RepayDebtWithCollateralArgs, SendChatMessageDto, SetEmailDto, SetPhoneDto, ShareholderDto, SignAcceptGlobalOfferDto, SignDataDto, SignMintDto, SignWithdrawDto, SoroswapQuoteResponseDto, StakingCreatorDoc, StakingEditDto, StakingExploreDtoHydrated, StakingPoolDoc, StakingSummary, StakingUserPoolNfts, StellarAggregatorQuoteRequestDto, StellarAggregatorQuoteResponseDto, StellarChallengeResponseDto, StellarLendingDecodedEvent, StellarTokenKind, SuccessDto, SuccessWithMessageDto, SupplyArgs, SwapCollateralArgs, SwapDebtArgs, SwitchWalletDto, SymbolInfoDto, TicketCalculationRequestDto, TicketPricesResponse, TicketValidationResult, TokenDataDocHydrated, TradesPerpResponseSingle, TradesilvaniaSignature, TraitInfo, TransactionCostData, TransactionCreate, TransactionDetailed, TransactionProcessStatus, TransactionSendResult, UserAnalyticsDto, UserBillingDetails, UserBlockPaginated, UserConversationPaginated, UserFavoriteResponseDto, UserInfo, UserNetworkInfoDto, UserProfileDoc, UserProfileDto, UserProfileEditDto, UserSettingsDoc, UserStakingSummaryDto, UserStatsDto, UserTokenInventoryResponseDto, ValueFp, VerifyEmailDto, VolumeGraph, Web2UserDoc, Web2UserShardsDto, Web2WalletDto, WebSocketTokenDto, WithdrawArgs, XoxnoInfo, XoxnoLiquidStatsDto } from '@xoxno/types';
|
|
5
5
|
import { ActivityChain, KustoOrderDirection, LendingPositionOrderByColumn, OfferType, StakingStatus, TokenCategory, UserStatsOrderByColumn } from '@xoxno/types/enums';
|
|
6
6
|
|
|
7
7
|
export type SafeHeaders = Record<string, string> & {
|
|
@@ -411,6 +411,16 @@ declare const endpoints: {
|
|
|
411
411
|
};
|
|
412
412
|
readonly output: LendingMarketProfileQuery;
|
|
413
413
|
};
|
|
414
|
+
readonly "/lending/governance/proposals": {
|
|
415
|
+
readonly input: {
|
|
416
|
+
filter: PublicOnly<LendingGovernanceProposalFilter>;
|
|
417
|
+
};
|
|
418
|
+
readonly output: LendingGovernanceProposalQuery;
|
|
419
|
+
};
|
|
420
|
+
readonly "/lending/governance/proposal/:id": {
|
|
421
|
+
readonly input: {};
|
|
422
|
+
readonly output: LendingGovernanceProposalDoc;
|
|
423
|
+
};
|
|
414
424
|
readonly "/user/lending/:address": {
|
|
415
425
|
readonly input: {
|
|
416
426
|
token?: string;
|
|
@@ -418,7 +428,9 @@ declare const endpoints: {
|
|
|
418
428
|
readonly output: LendingAccountProfile[];
|
|
419
429
|
};
|
|
420
430
|
readonly "/lending/market/indexes": {
|
|
421
|
-
readonly input: {
|
|
431
|
+
readonly input: {
|
|
432
|
+
chain?: ActivityChain[];
|
|
433
|
+
};
|
|
422
434
|
readonly output: Record<string, LendingIndexesDto>;
|
|
423
435
|
};
|
|
424
436
|
readonly "/user/lending/position/:identifier": {
|
|
@@ -1177,6 +1189,16 @@ declare const endpoints: {
|
|
|
1177
1189
|
};
|
|
1178
1190
|
readonly output: AnalyticsVolumeDto[];
|
|
1179
1191
|
};
|
|
1192
|
+
readonly "/collections/analytics/volume": {
|
|
1193
|
+
readonly input: {
|
|
1194
|
+
collections: string;
|
|
1195
|
+
startTime?: string;
|
|
1196
|
+
endTime?: string;
|
|
1197
|
+
bin?: string;
|
|
1198
|
+
chain: ActivityChain[];
|
|
1199
|
+
};
|
|
1200
|
+
readonly output: Record<string, AnalyticsVolumeDto[]>;
|
|
1201
|
+
};
|
|
1180
1202
|
readonly "/user/:address/analytics/volume": {
|
|
1181
1203
|
readonly input: {};
|
|
1182
1204
|
readonly output: UserAnalyticsDto;
|
|
@@ -1248,128 +1270,6 @@ declare const endpoints: {
|
|
|
1248
1270
|
readonly body: TransactionCreate[];
|
|
1249
1271
|
};
|
|
1250
1272
|
};
|
|
1251
|
-
readonly "/perp/exchange/acceptTerms": {
|
|
1252
|
-
readonly input: {};
|
|
1253
|
-
readonly output: {};
|
|
1254
|
-
readonly POST: {
|
|
1255
|
-
readonly input: {};
|
|
1256
|
-
readonly output: SuccessDto;
|
|
1257
|
-
readonly body: {};
|
|
1258
|
-
readonly securityMode: "requiredAny";
|
|
1259
|
-
};
|
|
1260
|
-
};
|
|
1261
|
-
readonly "/perp/exchange/sendAsset": {
|
|
1262
|
-
readonly input: {};
|
|
1263
|
-
readonly output: {};
|
|
1264
|
-
readonly POST: {
|
|
1265
|
-
readonly input: {};
|
|
1266
|
-
readonly output: SuccessDto;
|
|
1267
|
-
readonly body: {};
|
|
1268
|
-
readonly securityMode: "requiredAny";
|
|
1269
|
-
};
|
|
1270
|
-
};
|
|
1271
|
-
readonly "/perp/exchange/sendExternalAsset": {
|
|
1272
|
-
readonly input: {};
|
|
1273
|
-
readonly output: {};
|
|
1274
|
-
readonly POST: {
|
|
1275
|
-
readonly input: {};
|
|
1276
|
-
readonly output: SuccessDto;
|
|
1277
|
-
readonly body: {};
|
|
1278
|
-
readonly securityMode: "requiredAny";
|
|
1279
|
-
};
|
|
1280
|
-
};
|
|
1281
|
-
readonly "/perp/exchange/deposit": {
|
|
1282
|
-
readonly input: {};
|
|
1283
|
-
readonly output: {};
|
|
1284
|
-
readonly POST: {
|
|
1285
|
-
readonly input: {};
|
|
1286
|
-
readonly output: SuccessDto;
|
|
1287
|
-
readonly body: {};
|
|
1288
|
-
readonly securityMode: "requiredAny";
|
|
1289
|
-
};
|
|
1290
|
-
};
|
|
1291
|
-
readonly "/perp/exchange/withdraw": {
|
|
1292
|
-
readonly input: {};
|
|
1293
|
-
readonly output: {};
|
|
1294
|
-
readonly POST: {
|
|
1295
|
-
readonly input: {};
|
|
1296
|
-
readonly output: SuccessDto;
|
|
1297
|
-
readonly body: {};
|
|
1298
|
-
readonly securityMode: "requiredAny";
|
|
1299
|
-
};
|
|
1300
|
-
};
|
|
1301
|
-
readonly "/perp/exchange/order": {
|
|
1302
|
-
readonly input: {};
|
|
1303
|
-
readonly output: {};
|
|
1304
|
-
readonly POST: {
|
|
1305
|
-
readonly input: {};
|
|
1306
|
-
readonly output: PerpOrderResponse;
|
|
1307
|
-
readonly body: {};
|
|
1308
|
-
readonly securityMode: "requiredAny";
|
|
1309
|
-
};
|
|
1310
|
-
};
|
|
1311
|
-
readonly "/tradingview/bars/:symbol": {
|
|
1312
|
-
readonly input: {};
|
|
1313
|
-
readonly output: BarDto[];
|
|
1314
|
-
};
|
|
1315
|
-
readonly "/tradingview/coin/:symbol": {
|
|
1316
|
-
readonly input: {};
|
|
1317
|
-
readonly output: SymbolInfoDto[];
|
|
1318
|
-
};
|
|
1319
|
-
readonly "/perp/coin/:symbol": {
|
|
1320
|
-
readonly input: {};
|
|
1321
|
-
readonly output: PerpCoinExtended[];
|
|
1322
|
-
};
|
|
1323
|
-
readonly "/perp/coin/spot/:symbol": {
|
|
1324
|
-
readonly input: {};
|
|
1325
|
-
readonly output: PerpSpotCoinExtended[];
|
|
1326
|
-
};
|
|
1327
|
-
readonly "/perp/coins": {
|
|
1328
|
-
readonly input: {};
|
|
1329
|
-
readonly output: PerpCoinExtendedSlim[];
|
|
1330
|
-
};
|
|
1331
|
-
readonly "/perp/legal-check/:address": {
|
|
1332
|
-
readonly input: {};
|
|
1333
|
-
readonly output: PerpLegalCheck;
|
|
1334
|
-
};
|
|
1335
|
-
readonly "/perp/coins/spot": {
|
|
1336
|
-
readonly input: {};
|
|
1337
|
-
readonly output: PerpSpotCoinExtendedSlim[];
|
|
1338
|
-
};
|
|
1339
|
-
readonly "/perp/orderbook/:symbol": {
|
|
1340
|
-
readonly input: {};
|
|
1341
|
-
readonly output: L2BookPerpResponseSingle[];
|
|
1342
|
-
};
|
|
1343
|
-
readonly "/perp/trades/:symbol": {
|
|
1344
|
-
readonly input: {};
|
|
1345
|
-
readonly output: TradesPerpResponseSingle[];
|
|
1346
|
-
};
|
|
1347
|
-
readonly "/perp/stats/spot/:symbol": {
|
|
1348
|
-
readonly input: {};
|
|
1349
|
-
readonly output: ActiveSpotAssetCtx[];
|
|
1350
|
-
};
|
|
1351
|
-
readonly "/perp/stats/:symbol": {
|
|
1352
|
-
readonly input: {};
|
|
1353
|
-
readonly output: ActivePerpAssetCtx[];
|
|
1354
|
-
};
|
|
1355
|
-
readonly "/perp/subscribe": {
|
|
1356
|
-
readonly input: {};
|
|
1357
|
-
readonly output: {};
|
|
1358
|
-
readonly POST: {
|
|
1359
|
-
readonly input: {};
|
|
1360
|
-
readonly output: SuccessDto;
|
|
1361
|
-
readonly body: PerpEvent;
|
|
1362
|
-
};
|
|
1363
|
-
};
|
|
1364
|
-
readonly "/perp/unsubscribe": {
|
|
1365
|
-
readonly input: {};
|
|
1366
|
-
readonly output: {};
|
|
1367
|
-
readonly POST: {
|
|
1368
|
-
readonly input: {};
|
|
1369
|
-
readonly output: SuccessDto;
|
|
1370
|
-
readonly body: PerpEvent;
|
|
1371
|
-
};
|
|
1372
|
-
};
|
|
1373
1273
|
readonly "/user/chat/message": {
|
|
1374
1274
|
readonly input: {};
|
|
1375
1275
|
readonly output: {};
|
|
@@ -1984,6 +1884,128 @@ declare const endpoints: {
|
|
|
1984
1884
|
};
|
|
1985
1885
|
readonly output: SoroswapQuoteResponseDto;
|
|
1986
1886
|
};
|
|
1887
|
+
readonly "/perp/exchange/acceptTerms": {
|
|
1888
|
+
readonly input: {};
|
|
1889
|
+
readonly output: {};
|
|
1890
|
+
readonly POST: {
|
|
1891
|
+
readonly input: {};
|
|
1892
|
+
readonly output: SuccessDto;
|
|
1893
|
+
readonly body: {};
|
|
1894
|
+
readonly securityMode: "requiredAny";
|
|
1895
|
+
};
|
|
1896
|
+
};
|
|
1897
|
+
readonly "/perp/exchange/sendAsset": {
|
|
1898
|
+
readonly input: {};
|
|
1899
|
+
readonly output: {};
|
|
1900
|
+
readonly POST: {
|
|
1901
|
+
readonly input: {};
|
|
1902
|
+
readonly output: SuccessDto;
|
|
1903
|
+
readonly body: {};
|
|
1904
|
+
readonly securityMode: "requiredAny";
|
|
1905
|
+
};
|
|
1906
|
+
};
|
|
1907
|
+
readonly "/perp/exchange/sendExternalAsset": {
|
|
1908
|
+
readonly input: {};
|
|
1909
|
+
readonly output: {};
|
|
1910
|
+
readonly POST: {
|
|
1911
|
+
readonly input: {};
|
|
1912
|
+
readonly output: SuccessDto;
|
|
1913
|
+
readonly body: {};
|
|
1914
|
+
readonly securityMode: "requiredAny";
|
|
1915
|
+
};
|
|
1916
|
+
};
|
|
1917
|
+
readonly "/perp/exchange/deposit": {
|
|
1918
|
+
readonly input: {};
|
|
1919
|
+
readonly output: {};
|
|
1920
|
+
readonly POST: {
|
|
1921
|
+
readonly input: {};
|
|
1922
|
+
readonly output: SuccessDto;
|
|
1923
|
+
readonly body: {};
|
|
1924
|
+
readonly securityMode: "requiredAny";
|
|
1925
|
+
};
|
|
1926
|
+
};
|
|
1927
|
+
readonly "/perp/exchange/withdraw": {
|
|
1928
|
+
readonly input: {};
|
|
1929
|
+
readonly output: {};
|
|
1930
|
+
readonly POST: {
|
|
1931
|
+
readonly input: {};
|
|
1932
|
+
readonly output: SuccessDto;
|
|
1933
|
+
readonly body: {};
|
|
1934
|
+
readonly securityMode: "requiredAny";
|
|
1935
|
+
};
|
|
1936
|
+
};
|
|
1937
|
+
readonly "/perp/exchange/order": {
|
|
1938
|
+
readonly input: {};
|
|
1939
|
+
readonly output: {};
|
|
1940
|
+
readonly POST: {
|
|
1941
|
+
readonly input: {};
|
|
1942
|
+
readonly output: PerpOrderResponse;
|
|
1943
|
+
readonly body: {};
|
|
1944
|
+
readonly securityMode: "requiredAny";
|
|
1945
|
+
};
|
|
1946
|
+
};
|
|
1947
|
+
readonly "/tradingview/bars/:symbol": {
|
|
1948
|
+
readonly input: {};
|
|
1949
|
+
readonly output: BarDto[];
|
|
1950
|
+
};
|
|
1951
|
+
readonly "/tradingview/coin/:symbol": {
|
|
1952
|
+
readonly input: {};
|
|
1953
|
+
readonly output: SymbolInfoDto[];
|
|
1954
|
+
};
|
|
1955
|
+
readonly "/perp/coin/:symbol": {
|
|
1956
|
+
readonly input: {};
|
|
1957
|
+
readonly output: PerpCoinExtended[];
|
|
1958
|
+
};
|
|
1959
|
+
readonly "/perp/coin/spot/:symbol": {
|
|
1960
|
+
readonly input: {};
|
|
1961
|
+
readonly output: PerpSpotCoinExtended[];
|
|
1962
|
+
};
|
|
1963
|
+
readonly "/perp/coins": {
|
|
1964
|
+
readonly input: {};
|
|
1965
|
+
readonly output: PerpCoinExtendedSlim[];
|
|
1966
|
+
};
|
|
1967
|
+
readonly "/perp/legal-check/:address": {
|
|
1968
|
+
readonly input: {};
|
|
1969
|
+
readonly output: PerpLegalCheck;
|
|
1970
|
+
};
|
|
1971
|
+
readonly "/perp/coins/spot": {
|
|
1972
|
+
readonly input: {};
|
|
1973
|
+
readonly output: PerpSpotCoinExtendedSlim[];
|
|
1974
|
+
};
|
|
1975
|
+
readonly "/perp/orderbook/:symbol": {
|
|
1976
|
+
readonly input: {};
|
|
1977
|
+
readonly output: L2BookPerpResponseSingle[];
|
|
1978
|
+
};
|
|
1979
|
+
readonly "/perp/trades/:symbol": {
|
|
1980
|
+
readonly input: {};
|
|
1981
|
+
readonly output: TradesPerpResponseSingle[];
|
|
1982
|
+
};
|
|
1983
|
+
readonly "/perp/stats/spot/:symbol": {
|
|
1984
|
+
readonly input: {};
|
|
1985
|
+
readonly output: ActiveSpotAssetCtx[];
|
|
1986
|
+
};
|
|
1987
|
+
readonly "/perp/stats/:symbol": {
|
|
1988
|
+
readonly input: {};
|
|
1989
|
+
readonly output: ActivePerpAssetCtx[];
|
|
1990
|
+
};
|
|
1991
|
+
readonly "/perp/subscribe": {
|
|
1992
|
+
readonly input: {};
|
|
1993
|
+
readonly output: {};
|
|
1994
|
+
readonly POST: {
|
|
1995
|
+
readonly input: {};
|
|
1996
|
+
readonly output: SuccessDto;
|
|
1997
|
+
readonly body: PerpEvent;
|
|
1998
|
+
};
|
|
1999
|
+
};
|
|
2000
|
+
readonly "/perp/unsubscribe": {
|
|
2001
|
+
readonly input: {};
|
|
2002
|
+
readonly output: {};
|
|
2003
|
+
readonly POST: {
|
|
2004
|
+
readonly input: {};
|
|
2005
|
+
readonly output: SuccessDto;
|
|
2006
|
+
readonly body: PerpEvent;
|
|
2007
|
+
};
|
|
2008
|
+
};
|
|
1987
2009
|
};
|
|
1988
2010
|
export type RemoveColon<S extends string> = S extends `:${infer R}` ? R : S;
|
|
1989
2011
|
export type CamelCase<S extends string> = S extends `${infer Head}-${infer Tail}` ? `${Head}${CamelCase<Capitalize<Tail>>}` : S;
|
|
@@ -2100,6 +2122,15 @@ export declare const STELLAR_LENDING_CONTROLLER: Record<StellarNetwork, string>;
|
|
|
2100
2122
|
* - STELLAR_AGGREGATOR_ROUTER_TESTNET
|
|
2101
2123
|
*/
|
|
2102
2124
|
export declare const STELLAR_AGGREGATOR_ROUTER: Record<StellarNetwork, string>;
|
|
2125
|
+
/**
|
|
2126
|
+
* Stellar governance (timelock) contract addresses per network. Owns the
|
|
2127
|
+
* controller's admin surface: PROPOSER-gated `propose_*` scheduling and the
|
|
2128
|
+
* open `execute` / `execute_*` lifecycle.
|
|
2129
|
+
* Env vars:
|
|
2130
|
+
* - STELLAR_GOVERNANCE_MAINNET
|
|
2131
|
+
* - STELLAR_GOVERNANCE_TESTNET
|
|
2132
|
+
*/
|
|
2133
|
+
export declare const STELLAR_GOVERNANCE: Record<StellarNetwork, string>;
|
|
2103
2134
|
/**
|
|
2104
2135
|
* Default Soroban RPC URLs per network.
|
|
2105
2136
|
* Overridable at runtime via the `sorobanRpcUrl` option on each builder.
|
|
@@ -2130,6 +2161,11 @@ export declare function getStellarLendingController(network: StellarNetwork): st
|
|
|
2130
2161
|
* Used by `buildStellarExecuteStrategyTx` for direct user -> router swaps.
|
|
2131
2162
|
*/
|
|
2132
2163
|
export declare function getStellarAggregatorRouter(network: StellarNetwork): string;
|
|
2164
|
+
/**
|
|
2165
|
+
* Assert a governance address is configured for the target network. Used by
|
|
2166
|
+
* the governance `propose_*` / `execute` / `execute_*` builders.
|
|
2167
|
+
*/
|
|
2168
|
+
export declare function getStellarGovernance(network: StellarNetwork): string;
|
|
2133
2169
|
declare const STELLAR_SWAP_VENUES: readonly [
|
|
2134
2170
|
"Soroswap",
|
|
2135
2171
|
"Aquarius",
|
|
@@ -2183,6 +2219,13 @@ export interface StellarBuilderOptions {
|
|
|
2183
2219
|
* preview/staging deployments.
|
|
2184
2220
|
*/
|
|
2185
2221
|
controllerAddress?: string;
|
|
2222
|
+
/**
|
|
2223
|
+
* Override the governance (timelock) contract address. Normally resolved from
|
|
2224
|
+
* env via `getStellarGovernance(network)` — override is for tests and
|
|
2225
|
+
* preview/staging deployments. Required (env or override) for the governance
|
|
2226
|
+
* `propose_*` / `execute` / `execute_*` builders.
|
|
2227
|
+
*/
|
|
2228
|
+
governanceAddress?: string;
|
|
2186
2229
|
/** Base fee in stroops (default BASE_FEE = "100"). */
|
|
2187
2230
|
fee?: string;
|
|
2188
2231
|
/** Tx timeout in seconds (default 300). */
|
|
@@ -2309,7 +2352,7 @@ export declare function buildStellarRepayDebtWithCollateralTx(opts: StellarBuild
|
|
|
2309
2352
|
export declare const encodeInterestRateModel: (m: InterestRateModelDto) => xdr.ScVal;
|
|
2310
2353
|
/** `MarketParamsRaw` — `InterestRateModel` plus the pool asset identity. */
|
|
2311
2354
|
export declare const encodeMarketParamsRaw: (p: MarketParamsRawDto) => xdr.ScVal;
|
|
2312
|
-
/** `AssetConfigRaw` —
|
|
2355
|
+
/** `AssetConfigRaw` — 12 risk/limit fields. */
|
|
2313
2356
|
export declare const encodeAssetConfigRaw: (c: AssetConfigRawDto) => xdr.ScVal;
|
|
2314
2357
|
/** `PositionLimits` — per-account supply/borrow position caps. */
|
|
2315
2358
|
export declare const encodePositionLimits: (l: PositionLimitsDto) => xdr.ScVal;
|
|
@@ -2470,6 +2513,146 @@ export declare function buildStellarAddRewardsTx(opts: StellarBuilderOptions, ar
|
|
|
2470
2513
|
}): BuiltStellarTx;
|
|
2471
2514
|
/** update_account_threshold(caller, asset, has_risks, account_ids: Vec<u64>) — #[only_role(caller, "KEEPER")] */
|
|
2472
2515
|
export declare function buildStellarUpdateAccountThresholdTx(opts: StellarBuilderOptions, args: UpdateAccountThresholdArgs): BuiltStellarTx;
|
|
2516
|
+
/**
|
|
2517
|
+
* A `salt: BytesN<32>` for a governance proposal/execution. Accepts a 32-byte
|
|
2518
|
+
* hex string (optionally `0x`-prefixed) or a 32-byte `Buffer`/`Uint8Array`.
|
|
2519
|
+
*/
|
|
2520
|
+
export type StellarGovernanceSalt = string | Buffer | Uint8Array;
|
|
2521
|
+
/** The 32-zero-byte `BytesN<32>` predecessor used for every op in this system. */
|
|
2522
|
+
export declare const STELLAR_GOVERNANCE_ZERO_PREDECESSOR: string;
|
|
2523
|
+
export interface AddEModeCategoryArgs {
|
|
2524
|
+
ltv: number;
|
|
2525
|
+
threshold: number;
|
|
2526
|
+
bonus: number;
|
|
2527
|
+
}
|
|
2528
|
+
export interface RemoveEModeCategoryArgs {
|
|
2529
|
+
id: number;
|
|
2530
|
+
}
|
|
2531
|
+
export interface UpgradeArgs {
|
|
2532
|
+
wasmHash: string;
|
|
2533
|
+
}
|
|
2534
|
+
export interface MigrateArgs {
|
|
2535
|
+
newVersion: number;
|
|
2536
|
+
}
|
|
2537
|
+
export interface UpdateDelayArgs {
|
|
2538
|
+
newDelay: number;
|
|
2539
|
+
}
|
|
2540
|
+
/** propose_set_aggregator(proposer, addr: Address, salt) */
|
|
2541
|
+
export declare function buildStellarProposeSetAggregatorTx(opts: StellarBuilderOptions, args: {
|
|
2542
|
+
aggregator: string;
|
|
2543
|
+
}, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2544
|
+
/** propose_set_accumulator(proposer, addr: Address, salt) */
|
|
2545
|
+
export declare function buildStellarProposeSetAccumulatorTx(opts: StellarBuilderOptions, args: {
|
|
2546
|
+
accumulator: string;
|
|
2547
|
+
}, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2548
|
+
/** propose_set_pool_template(proposer, hash: BytesN<32>, salt) */
|
|
2549
|
+
export declare function buildStellarProposeSetPoolTemplateTx(opts: StellarBuilderOptions, args: {
|
|
2550
|
+
wasmHash: string;
|
|
2551
|
+
}, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2552
|
+
/** propose_edit_asset_config(proposer, asset: Address, cfg: AssetConfigRaw, salt) */
|
|
2553
|
+
export declare function buildStellarProposeEditAssetConfigTx(opts: StellarBuilderOptions, args: EditAssetConfigArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2554
|
+
/** propose_set_position_limits(proposer, limits: PositionLimits, salt) */
|
|
2555
|
+
export declare function buildStellarProposeSetPositionLimitsTx(opts: StellarBuilderOptions, args: PositionLimitsDto, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2556
|
+
/** propose_set_min_borrow_collat(proposer, floor_wad: i128, salt) */
|
|
2557
|
+
export declare function buildStellarProposeSetMinBorrowCollatTx(opts: StellarBuilderOptions, args: {
|
|
2558
|
+
floorWad: string;
|
|
2559
|
+
}, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2560
|
+
/** propose_add_e_mode_category(proposer, ltv: u32, threshold: u32, bonus: u32, salt) */
|
|
2561
|
+
export declare function buildStellarProposeAddEModeCategoryTx(opts: StellarBuilderOptions, args: AddEModeCategoryArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2562
|
+
/** propose_edit_e_mode_category(proposer, id: u32, ltv: u32, threshold: u32, bonus: u32, salt) */
|
|
2563
|
+
export declare function buildStellarProposeEditEModeCategoryTx(opts: StellarBuilderOptions, args: EModeCategoryEditArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2564
|
+
/** propose_remove_e_mode_category(proposer, id: u32, salt) */
|
|
2565
|
+
export declare function buildStellarProposeRemoveEModeCategoryTx(opts: StellarBuilderOptions, args: RemoveEModeCategoryArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2566
|
+
/** propose_add_asset_to_e_mode(proposer, asset, category_id, can_collateral, can_borrow, salt) */
|
|
2567
|
+
export declare function buildStellarProposeAddAssetToEModeTx(opts: StellarBuilderOptions, args: EModeAssetArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2568
|
+
/** propose_edit_asset_in_e_mode(proposer, asset, category_id, can_collateral, can_borrow, salt) */
|
|
2569
|
+
export declare function buildStellarProposeEditAssetInEModeTx(opts: StellarBuilderOptions, args: EModeAssetArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2570
|
+
/** propose_remove_asset_from_e_mode(proposer, asset: Address, category_id: u32, salt) */
|
|
2571
|
+
export declare function buildStellarProposeRemoveAssetFromEModeTx(opts: StellarBuilderOptions, args: RemoveEModeAssetArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2572
|
+
/** propose_approve_token(proposer, token: Address, salt) */
|
|
2573
|
+
export declare function buildStellarProposeApproveTokenTx(opts: StellarBuilderOptions, args: {
|
|
2574
|
+
token: string;
|
|
2575
|
+
}, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2576
|
+
/** propose_revoke_token(proposer, token: Address, salt) */
|
|
2577
|
+
export declare function buildStellarProposeRevokeTokenTx(opts: StellarBuilderOptions, args: {
|
|
2578
|
+
token: string;
|
|
2579
|
+
}, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2580
|
+
/** propose_create_liquidity_pool(proposer, asset, params: MarketParamsRaw, config: AssetConfigRaw, salt) */
|
|
2581
|
+
export declare function buildStellarProposeCreateLiquidityPoolTx(opts: StellarBuilderOptions, args: CreateLiquidityPoolArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2582
|
+
/** propose_upgrade_pool_params(proposer, asset, params: InterestRateModel, salt) */
|
|
2583
|
+
export declare function buildStellarProposeUpgradePoolParamsTx(opts: StellarBuilderOptions, args: UpgradeLiquidityPoolParamsArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2584
|
+
/** propose_deploy_pool(proposer, salt) */
|
|
2585
|
+
export declare function buildStellarProposeDeployPoolTx(opts: StellarBuilderOptions, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2586
|
+
/** propose_upgrade_pool(proposer, new_wasm_hash: BytesN<32>, salt) */
|
|
2587
|
+
export declare function buildStellarProposeUpgradePoolTx(opts: StellarBuilderOptions, args: {
|
|
2588
|
+
wasmHash: string;
|
|
2589
|
+
}, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2590
|
+
/** propose_grant_controller_role(proposer, account: Address, role: Symbol, salt) */
|
|
2591
|
+
export declare function buildStellarProposeGrantControllerRoleTx(opts: StellarBuilderOptions, args: RoleGrantArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2592
|
+
/** propose_revoke_controller_role(proposer, account: Address, role: Symbol, salt) */
|
|
2593
|
+
export declare function buildStellarProposeRevokeControllerRoleTx(opts: StellarBuilderOptions, args: RoleGrantArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2594
|
+
/** propose_upgrade_controller(proposer, new_wasm_hash: BytesN<32>, salt) */
|
|
2595
|
+
export declare function buildStellarProposeUpgradeControllerTx(opts: StellarBuilderOptions, args: UpgradeArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2596
|
+
/** propose_migrate_controller(proposer, new_version: u32, salt) */
|
|
2597
|
+
export declare function buildStellarProposeMigrateControllerTx(opts: StellarBuilderOptions, args: MigrateArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2598
|
+
/** propose_transfer_ctrl_ownership(proposer, new_owner: Address, live_until_ledger: u32, salt) */
|
|
2599
|
+
export declare function buildStellarProposeTransferCtrlOwnershipTx(opts: StellarBuilderOptions, args: TransferOwnershipArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2600
|
+
/**
|
|
2601
|
+
* propose_configure_market_oracle(proposer, asset, cfg: MarketOracleConfigInput, salt)
|
|
2602
|
+
*
|
|
2603
|
+
* The SDK passes the oracle INPUT args verbatim; the contract resolves the
|
|
2604
|
+
* input to a resolved config at propose time (do NOT resolve in the SDK).
|
|
2605
|
+
*/
|
|
2606
|
+
export declare function buildStellarProposeConfigureMarketOracleTx(opts: StellarBuilderOptions, args: ConfigureMarketOracleArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2607
|
+
/** propose_edit_oracle_tolerance(proposer, asset, first_tolerance_bps: u32, last_tolerance_bps: u32, salt) */
|
|
2608
|
+
export declare function buildStellarProposeEditOracleToleranceTx(opts: StellarBuilderOptions, args: EditOracleToleranceArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2609
|
+
/** propose_governance_upgrade(proposer, new_wasm_hash: BytesN<32>, salt) */
|
|
2610
|
+
export declare function buildStellarProposeGovernanceUpgradeTx(opts: StellarBuilderOptions, args: UpgradeArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2611
|
+
/** propose_update_delay(proposer, new_delay: u32, salt) */
|
|
2612
|
+
export declare function buildStellarProposeUpdateDelayTx(opts: StellarBuilderOptions, args: UpdateDelayArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2613
|
+
/** propose_grant_governance_role(proposer, account: Address, role: Symbol, salt) */
|
|
2614
|
+
export declare function buildStellarProposeGrantGovernanceRoleTx(opts: StellarBuilderOptions, args: RoleGrantArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2615
|
+
/** propose_revoke_governance_role(proposer, account: Address, role: Symbol, salt) */
|
|
2616
|
+
export declare function buildStellarProposeRevokeGovernanceRoleTx(opts: StellarBuilderOptions, args: RoleGrantArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2617
|
+
/** propose_transfer_gov_own(proposer, new_owner: Address, live_until_ledger: u32, salt) */
|
|
2618
|
+
export declare function buildStellarProposeTransferGovOwnTx(opts: StellarBuilderOptions, args: TransferOwnershipArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2619
|
+
export interface StellarGovernanceExecuteArgs {
|
|
2620
|
+
/** Controller (or other) contract the scheduled op targets. */
|
|
2621
|
+
target: string;
|
|
2622
|
+
/** Controller method name → Soroban `Symbol`. */
|
|
2623
|
+
functionName: string;
|
|
2624
|
+
/**
|
|
2625
|
+
* The controller-call args, each a base64 ScVal XDR string. These must be the
|
|
2626
|
+
* SAME ScVals the matching `propose_*` scheduled (the timelock hashes them
|
|
2627
|
+
* into the op id), in the controller method's arg order. Reconstructed via
|
|
2628
|
+
* `xdr.ScVal.fromXDR(s, 'base64')`.
|
|
2629
|
+
*/
|
|
2630
|
+
argsXdr: string[];
|
|
2631
|
+
/** `salt: BytesN<32>` — the same salt used at propose time. */
|
|
2632
|
+
salt: StellarGovernanceSalt;
|
|
2633
|
+
/**
|
|
2634
|
+
* `predecessor: BytesN<32>` — defaults to the 32-zero-byte value used for
|
|
2635
|
+
* every op in this system. Override only if a non-zero predecessor is used.
|
|
2636
|
+
*/
|
|
2637
|
+
predecessor?: StellarGovernanceSalt;
|
|
2638
|
+
}
|
|
2639
|
+
/**
|
|
2640
|
+
* Generic `execute(executor, target, function, args, predecessor, salt)` for a
|
|
2641
|
+
* controller-targeted op. `executor = None` (open execution), `target` is the
|
|
2642
|
+
* controller `Address`, `function` is a `Symbol`, `args` is the `Vec<Val>`
|
|
2643
|
+
* reconstructed from `argsXdr`, `predecessor` defaults to 32 zero bytes.
|
|
2644
|
+
*/
|
|
2645
|
+
export declare function buildStellarGovernanceExecuteTx(opts: StellarBuilderOptions, args: StellarGovernanceExecuteArgs): BuiltStellarTx;
|
|
2646
|
+
/** execute_governance_upgrade(executor=None, new_wasm_hash: BytesN<32>, salt) */
|
|
2647
|
+
export declare function buildStellarGovernanceExecuteGovernanceUpgradeTx(opts: StellarBuilderOptions, args: UpgradeArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2648
|
+
/** execute_update_delay(executor=None, new_delay: u32, salt) */
|
|
2649
|
+
export declare function buildStellarGovernanceExecuteUpdateDelayTx(opts: StellarBuilderOptions, args: UpdateDelayArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2650
|
+
/** execute_grant_governance_role(executor=None, account: Address, role: Symbol, salt) */
|
|
2651
|
+
export declare function buildStellarGovernanceExecuteGrantGovernanceRoleTx(opts: StellarBuilderOptions, args: RoleGrantArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2652
|
+
/** execute_revoke_governance_role(executor=None, account: Address, role: Symbol, salt) */
|
|
2653
|
+
export declare function buildStellarGovernanceExecuteRevokeGovernanceRoleTx(opts: StellarBuilderOptions, args: RoleGrantArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2654
|
+
/** execute_transfer_gov_own(executor=None, new_owner: Address, live_until_ledger: u32, salt) */
|
|
2655
|
+
export declare function buildStellarGovernanceExecuteTransferGovOwnTx(opts: StellarBuilderOptions, args: TransferOwnershipArgs, salt: StellarGovernanceSalt): BuiltStellarTx;
|
|
2473
2656
|
/**
|
|
2474
2657
|
* Serialize a live `xdr.ScVal` to base64 XDR for the string-only decoder API.
|
|
2475
2658
|
* Use this if you hold parsed ScVals (e.g. from the high-level RPC client);
|