@allbridge/bridge-core-sdk 3.22.1-alpha.2 → 3.23.0-beta.2
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 +8 -8
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +4 -4
- package/dist/cjs/index.js +1 -5
- package/dist/cjs/index.js.map +4 -4
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +4 -4
- package/dist/src/chains/chain.enums.d.ts +5 -1
- package/dist/src/chains/chain.enums.js +4 -0
- package/dist/src/chains/chain.enums.js.map +1 -1
- package/dist/src/chains/index.js +6 -0
- package/dist/src/chains/index.js.map +1 -1
- package/dist/src/client/core-api/api-client-caching.js +1 -1
- package/dist/src/client/core-api/api-client-caching.js.map +1 -1
- package/dist/src/client/core-api/api-client.js +6 -0
- package/dist/src/client/core-api/api-client.js.map +1 -1
- package/dist/src/client/core-api/core-api-mapper.js +3 -0
- package/dist/src/client/core-api/core-api-mapper.js.map +1 -1
- package/dist/src/client/core-api/core-api.model.d.ts +8 -2
- package/dist/src/client/core-api/core-api.model.js +2 -0
- package/dist/src/client/core-api/core-api.model.js.map +1 -1
- package/dist/src/exceptions/exceptions.d.ts +4 -0
- package/dist/src/exceptions/exceptions.js +8 -1
- package/dist/src/exceptions/exceptions.js.map +1 -1
- package/dist/src/index.d.ts +10 -17
- package/dist/src/index.js +34 -26
- package/dist/src/index.js.map +1 -1
- package/dist/src/models/index.d.ts +1 -0
- package/dist/src/models/index.js.map +1 -1
- package/dist/src/services/bridge/evm/index.d.ts +3 -1
- package/dist/src/services/bridge/evm/index.js +47 -15
- package/dist/src/services/bridge/evm/index.js.map +1 -1
- package/dist/src/services/bridge/get-cctp-sol-token-recipient-address.js +3 -3
- package/dist/src/services/bridge/get-cctp-sol-token-recipient-address.js.map +1 -1
- package/dist/src/services/bridge/index.d.ts +1 -1
- package/dist/src/services/bridge/index.js +30 -26
- package/dist/src/services/bridge/index.js.map +1 -1
- package/dist/src/services/bridge/models/bridge.model.d.ts +4 -0
- package/dist/src/services/bridge/models/bridge.model.js.map +1 -1
- package/dist/src/services/bridge/raw-bridge-transaction-builder.js +2 -2
- package/dist/src/services/bridge/raw-bridge-transaction-builder.js.map +1 -1
- package/dist/src/services/bridge/sol/index.d.ts +2 -2
- package/dist/src/services/bridge/sol/index.js +8 -5
- package/dist/src/services/bridge/sol/index.js.map +1 -1
- package/dist/src/services/bridge/srb/index.js +1 -1
- package/dist/src/services/bridge/srb/index.js.map +1 -1
- package/dist/src/services/bridge/sui/index.js +3 -1
- package/dist/src/services/bridge/sui/index.js.map +1 -1
- package/dist/src/services/bridge/trx/index.d.ts +1 -1
- package/dist/src/services/bridge/trx/index.js +85 -54
- package/dist/src/services/bridge/trx/index.js.map +1 -1
- package/dist/src/services/bridge/utils.d.ts +12 -12
- package/dist/src/services/bridge/utils.js +78 -51
- package/dist/src/services/bridge/utils.js.map +1 -1
- package/dist/src/services/index.d.ts +13 -7
- package/dist/src/services/index.js +129 -48
- package/dist/src/services/index.js.map +1 -1
- package/dist/src/services/liquidity-pool/index.d.ts +1 -1
- package/dist/src/services/liquidity-pool/index.js +5 -8
- package/dist/src/services/liquidity-pool/index.js.map +1 -1
- package/dist/src/services/liquidity-pool/raw-pool-transaction-builder.js +3 -3
- package/dist/src/services/liquidity-pool/raw-pool-transaction-builder.js.map +1 -1
- package/dist/src/services/liquidity-pool/trx/index.js +3 -3
- package/dist/src/services/liquidity-pool/trx/index.js.map +1 -1
- package/dist/src/services/models/abi/OftBridge.d.ts +386 -0
- package/dist/src/services/models/abi/OftBridge.js +500 -0
- package/dist/src/services/models/abi/OftBridge.js.map +1 -0
- package/dist/src/services/models/sui/_dependencies/source/0x1/ascii/structs.d.ts +2 -2
- package/dist/src/services/models/sui/_dependencies/source/0x1/bit-vector/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0x1/fixed-point32/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0x1/string/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0x1/type-name/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0x1/uq32-32/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0x1/uq64-64/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0x31cc14d80c175ae39777c0238f20594c6d4869cfab199f40b69f3319956b8beb/burn-message/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0x31cc14d80c175ae39777c0238f20594c6d4869cfab199f40b69f3319956b8beb/handle-receive-message/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0x31cc14d80c175ae39777c0238f20594c6d4869cfab199f40b69f3319956b8beb/message-transmitter-authenticator/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0x31cc14d80c175ae39777c0238f20594c6d4869cfab199f40b69f3319956b8beb/state/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0x346e3233f61eb0055713417bfaddda7dc3bf26816faad1f7606994a368b92917/mint-allowance/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0x346e3233f61eb0055713417bfaddda7dc3bf26816faad1f7606994a368b92917/treasury/structs.d.ts +4 -4
- package/dist/src/services/models/sui/_dependencies/source/0x4931e06dce648b3931f890035bd196920770e913e43e45990b383f6486fdd0a5/message/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0x4931e06dce648b3931f890035bd196920770e913e43e45990b383f6486fdd0a5/state/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes20/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes32/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/consumed-vaas/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/emitter/structs.d.ts +2 -2
- package/dist/src/services/models/sui/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/external-address/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/fee-collector/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian-set/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/publish-message/structs.d.ts +2 -2
- package/dist/src/services/models/sui/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/set/structs.d.ts +2 -2
- package/dist/src/services/models/sui/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/state/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/vaa/structs.d.ts +1 -1
- package/dist/src/services/models/sui/_framework/util.d.ts +30 -3
- package/dist/src/services/models/sui/_framework/vector.d.ts +2 -2
- package/dist/src/services/models/sui/bridge/another-bridge/functions.d.ts +9 -9
- package/dist/src/services/models/sui/bridge/another-bridge/structs.d.ts +1 -1
- package/dist/src/services/models/sui/bridge/bridge/functions.d.ts +31 -31
- package/dist/src/services/models/sui/bridge/bridge/structs.d.ts +4 -4
- package/dist/src/services/models/sui/bridge/bridge-interface/functions.d.ts +54 -54
- package/dist/src/services/models/sui/bridge/events/functions.d.ts +9 -9
- package/dist/src/services/models/sui/bridge/events/structs.d.ts +9 -9
- package/dist/src/services/models/sui/bridge/pool/functions.d.ts +26 -26
- package/dist/src/services/models/sui/bridge/pool/structs.d.ts +3 -3
- package/dist/src/services/models/sui/bridge/pool-rewards/functions.d.ts +10 -10
- package/dist/src/services/models/sui/bridge/pool-rewards/structs.d.ts +1 -1
- package/dist/src/services/models/sui/bridge/pool-state/functions.d.ts +21 -21
- package/dist/src/services/models/sui/bridge/pool-state/structs.d.ts +1 -1
- package/dist/src/services/models/sui/bridge/user-deposit/functions.d.ts +7 -7
- package/dist/src/services/models/sui/bridge/user-deposit/structs.d.ts +1 -1
- package/dist/src/services/models/sui/cctp-bridge/cctp-bridge/functions.d.ts +19 -19
- package/dist/src/services/models/sui/cctp-bridge/cctp-bridge/structs.d.ts +3 -3
- package/dist/src/services/models/sui/cctp-bridge/cctp-bridge-interface/functions.d.ts +15 -15
- package/dist/src/services/models/sui/cctp-bridge/events/functions.d.ts +4 -4
- package/dist/src/services/models/sui/cctp-bridge/events/structs.d.ts +4 -4
- package/dist/src/services/models/sui/cctp-bridge/message-transmitter-authenticator/functions.d.ts +1 -1
- package/dist/src/services/models/sui/cctp-bridge/message-transmitter-authenticator/structs.d.ts +1 -1
- package/dist/src/services/models/sui/gas-oracle/gas-oracle/functions.d.ts +16 -16
- package/dist/src/services/models/sui/gas-oracle/gas-oracle/structs.d.ts +3 -3
- package/dist/src/services/models/sui/gas-oracle/gas-oracle-interface/functions.d.ts +13 -13
- package/dist/src/services/models/sui/messenger/events/functions.d.ts +2 -2
- package/dist/src/services/models/sui/messenger/events/structs.d.ts +2 -2
- package/dist/src/services/models/sui/messenger/messenger/functions.d.ts +18 -18
- package/dist/src/services/models/sui/messenger/messenger/structs.d.ts +2 -2
- package/dist/src/services/models/sui/messenger/messenger-interface/functions.d.ts +15 -15
- package/dist/src/services/models/sui/sui/address/functions.d.ts +10 -10
- package/dist/src/services/models/sui/sui/authenticator-state/functions.d.ts +13 -13
- package/dist/src/services/models/sui/sui/authenticator-state/structs.d.ts +5 -5
- package/dist/src/services/models/sui/sui/bag/functions.d.ts +10 -10
- package/dist/src/services/models/sui/sui/bag/structs.d.ts +1 -1
- package/dist/src/services/models/sui/sui/balance/functions.d.ts +13 -13
- package/dist/src/services/models/sui/sui/balance/structs.d.ts +2 -2
- package/dist/src/services/models/sui/sui/bcs/functions.d.ts +29 -29
- package/dist/src/services/models/sui/sui/bcs/structs.d.ts +1 -1
- package/dist/src/services/models/sui/sui/bls12381/functions.d.ts +43 -43
- package/dist/src/services/models/sui/sui/bls12381/structs.d.ts +5 -5
- package/dist/src/services/models/sui/sui/borrow/functions.d.ts +4 -4
- package/dist/src/services/models/sui/sui/clock/functions.d.ts +3 -3
- package/dist/src/services/models/sui/sui/clock/structs.d.ts +1 -1
- package/dist/src/services/models/sui/sui/coin/functions.d.ts +45 -45
- package/dist/src/services/models/sui/sui/coin/structs.d.ts +7 -7
- package/dist/src/services/models/sui/sui/config/functions.d.ts +11 -11
- package/dist/src/services/models/sui/sui/deny-list/functions.d.ts +21 -21
- package/dist/src/services/models/sui/sui/deny-list/structs.d.ts +7 -7
- package/dist/src/services/models/sui/sui/display/functions.d.ts +13 -13
- package/dist/src/services/models/sui/sui/display/structs.d.ts +3 -3
- package/dist/src/services/models/sui/sui/dynamic-field/functions.d.ts +16 -16
- package/dist/src/services/models/sui/sui/dynamic-object-field/functions.d.ts +12 -12
- package/dist/src/services/models/sui/sui/ecdsa-k1/functions.d.ts +3 -3
- package/dist/src/services/models/sui/sui/ecdsa-r1/functions.d.ts +2 -2
- package/dist/src/services/models/sui/sui/ecvrf/functions.d.ts +1 -1
- package/dist/src/services/models/sui/sui/ed25519/functions.d.ts +1 -1
- package/dist/src/services/models/sui/sui/event/functions.d.ts +1 -1
- package/dist/src/services/models/sui/sui/groth16/functions.d.ts +10 -10
- package/dist/src/services/models/sui/sui/groth16/structs.d.ts +4 -4
- package/dist/src/services/models/sui/sui/group-ops/functions.d.ts +23 -23
- package/dist/src/services/models/sui/sui/group-ops/structs.d.ts +1 -1
- package/dist/src/services/models/sui/sui/hash/functions.d.ts +2 -2
- package/dist/src/services/models/sui/sui/hex/functions.d.ts +3 -3
- package/dist/src/services/models/sui/sui/hmac/functions.d.ts +1 -1
- package/dist/src/services/models/sui/sui/kiosk/functions.d.ts +41 -41
- package/dist/src/services/models/sui/sui/kiosk/structs.d.ts +10 -10
- package/dist/src/services/models/sui/sui/kiosk-extension/functions.d.ts +14 -14
- package/dist/src/services/models/sui/sui/kiosk-extension/structs.d.ts +2 -2
- package/dist/src/services/models/sui/sui/linked-table/functions.d.ts +17 -17
- package/dist/src/services/models/sui/sui/math/functions.d.ts +7 -7
- package/dist/src/services/models/sui/sui/object/functions.d.ts +24 -24
- package/dist/src/services/models/sui/sui/object/structs.d.ts +2 -2
- package/dist/src/services/models/sui/sui/object-bag/functions.d.ts +11 -11
- package/dist/src/services/models/sui/sui/object-bag/structs.d.ts +1 -1
- package/dist/src/services/models/sui/sui/object-table/functions.d.ts +10 -10
- package/dist/src/services/models/sui/sui/object-table/structs.d.ts +1 -1
- package/dist/src/services/models/sui/sui/package/functions.d.ts +24 -24
- package/dist/src/services/models/sui/sui/package/structs.d.ts +4 -4
- package/dist/src/services/models/sui/sui/pay/functions.d.ts +8 -8
- package/dist/src/services/models/sui/sui/poseidon/functions.d.ts +2 -2
- package/dist/src/services/models/sui/sui/priority-queue/functions.d.ts +8 -8
- package/dist/src/services/models/sui/sui/random/functions.d.ts +23 -23
- package/dist/src/services/models/sui/sui/random/structs.d.ts +3 -3
- package/dist/src/services/models/sui/sui/sui/functions.d.ts +2 -2
- package/dist/src/services/models/sui/sui/sui/structs.d.ts +1 -1
- package/dist/src/services/models/sui/sui/table/functions.d.ts +10 -10
- package/dist/src/services/models/sui/sui/table/structs.d.ts +1 -1
- package/dist/src/services/models/sui/sui/table-vec/functions.d.ts +12 -12
- package/dist/src/services/models/sui/sui/table-vec/structs.d.ts +1 -1
- package/dist/src/services/models/sui/sui/token/functions.d.ts +45 -45
- package/dist/src/services/models/sui/sui/token/structs.d.ts +6 -6
- package/dist/src/services/models/sui/sui/transfer/functions.d.ts +13 -13
- package/dist/src/services/models/sui/sui/transfer/structs.d.ts +1 -1
- package/dist/src/services/models/sui/sui/transfer-policy/functions.d.ts +18 -18
- package/dist/src/services/models/sui/sui/transfer-policy/structs.d.ts +6 -6
- package/dist/src/services/models/sui/sui/tx-context/functions.d.ts +7 -7
- package/dist/src/services/models/sui/sui/tx-context/structs.d.ts +1 -1
- package/dist/src/services/models/sui/sui/types/functions.d.ts +1 -1
- package/dist/src/services/models/sui/sui/url/functions.d.ts +4 -4
- package/dist/src/services/models/sui/sui/url/structs.d.ts +1 -1
- package/dist/src/services/models/sui/sui/vdf/functions.d.ts +4 -4
- package/dist/src/services/models/sui/sui/vec-map/functions.d.ts +19 -19
- package/dist/src/services/models/sui/sui/vec-set/functions.d.ts +12 -12
- package/dist/src/services/models/sui/sui/versioned/functions.d.ts +7 -7
- package/dist/src/services/models/sui/sui/versioned/structs.d.ts +2 -2
- package/dist/src/services/models/sui/sui/zklogin-verified-id/functions.d.ts +9 -9
- package/dist/src/services/models/sui/sui/zklogin-verified-id/structs.d.ts +1 -1
- package/dist/src/services/models/sui/sui/zklogin-verified-issuer/functions.d.ts +6 -6
- package/dist/src/services/models/sui/sui/zklogin-verified-issuer/structs.d.ts +1 -1
- package/dist/src/services/models/sui/utils/bytes32/functions.d.ts +14 -14
- package/dist/src/services/models/sui/utils/bytes32/structs.d.ts +1 -1
- package/dist/src/services/models/sui/utils/fee-collector/functions.d.ts +5 -5
- package/dist/src/services/models/sui/utils/fee-collector/structs.d.ts +1 -1
- package/dist/src/services/models/sui/utils/message/functions.d.ts +9 -9
- package/dist/src/services/models/sui/utils/message/structs.d.ts +1 -1
- package/dist/src/services/models/sui/utils/messenger-protocol/functions.d.ts +3 -3
- package/dist/src/services/models/sui/utils/messenger-protocol/structs.d.ts +1 -1
- package/dist/src/services/models/sui/utils/set/functions.d.ts +5 -5
- package/dist/src/services/models/sui/utils/set/structs.d.ts +2 -2
- package/dist/src/services/models/sui/utils/version/functions.d.ts +3 -3
- package/dist/src/services/models/sui/utils/version/structs.d.ts +1 -1
- package/dist/src/services/models/sui/wormhole-messenger/events/functions.d.ts +2 -2
- package/dist/src/services/models/sui/wormhole-messenger/events/structs.d.ts +2 -2
- package/dist/src/services/models/sui/wormhole-messenger/wh-messenger-interface/functions.d.ts +15 -15
- package/dist/src/services/models/sui/wormhole-messenger/wormhole-messenger/functions.d.ts +20 -20
- package/dist/src/services/models/sui/wormhole-messenger/wormhole-messenger/structs.d.ts +2 -2
- package/dist/src/services/token/index.js +9 -12
- package/dist/src/services/token/index.js.map +1 -1
- package/dist/src/tokens-info/tokens-info.model.d.ts +14 -0
- package/dist/src/tokens-info/tokens-info.model.js.map +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/dist/src/version.js.map +1 -1
- package/package.json +14 -13
- package/dist/src/utils/tronweb/lazy-load-tronweb-import.d.ts +0 -1
- package/dist/src/utils/tronweb/lazy-load-tronweb-import.js +0 -35
- package/dist/src/utils/tronweb/lazy-load-tronweb-import.js.map +0 -1
|
@@ -28,7 +28,7 @@ export declare class Burn<T extends PhantomTypeArgument> implements StructClass
|
|
|
28
28
|
static get r(): typeof Burn.reified;
|
|
29
29
|
static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<Burn<ToPhantomTypeArgument<T>>>>;
|
|
30
30
|
static get p(): typeof Burn.phantom;
|
|
31
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
31
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
32
32
|
mint_cap: {
|
|
33
33
|
bytes: string;
|
|
34
34
|
};
|
|
@@ -78,7 +78,7 @@ export declare class MintCap<T extends PhantomTypeArgument> implements StructCla
|
|
|
78
78
|
static get r(): typeof MintCap.reified;
|
|
79
79
|
static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<MintCap<ToPhantomTypeArgument<T>>>>;
|
|
80
80
|
static get p(): typeof MintCap.phantom;
|
|
81
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
81
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
82
82
|
id: {
|
|
83
83
|
id: {
|
|
84
84
|
bytes: string;
|
|
@@ -134,7 +134,7 @@ export declare class Treasury<T extends PhantomTypeArgument> implements StructCl
|
|
|
134
134
|
static get r(): typeof Treasury.reified;
|
|
135
135
|
static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<Treasury<ToPhantomTypeArgument<T>>>>;
|
|
136
136
|
static get p(): typeof Treasury.phantom;
|
|
137
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
137
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
138
138
|
id: {
|
|
139
139
|
id: {
|
|
140
140
|
bytes: string;
|
|
@@ -246,7 +246,7 @@ export declare class TreasuryCapKey implements StructClass {
|
|
|
246
246
|
static get r(): reified.StructClassReified<TreasuryCapKey, TreasuryCapKeyFields>;
|
|
247
247
|
static phantom(): PhantomReified<ToTypeStr<TreasuryCapKey>>;
|
|
248
248
|
static get p(): reified.PhantomReified<string>;
|
|
249
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
249
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
250
250
|
dummy_field: boolean;
|
|
251
251
|
}, {
|
|
252
252
|
dummy_field: boolean;
|
|
@@ -37,7 +37,7 @@ export declare class Message implements StructClass {
|
|
|
37
37
|
static get r(): reified.StructClassReified<Message, MessageFields>;
|
|
38
38
|
static phantom(): PhantomReified<ToTypeStr<Message>>;
|
|
39
39
|
static get p(): reified.PhantomReified<string>;
|
|
40
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
40
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
41
41
|
version: number;
|
|
42
42
|
source_domain: number;
|
|
43
43
|
destination_domain: number;
|
|
@@ -43,7 +43,7 @@ export declare class State implements StructClass {
|
|
|
43
43
|
static get r(): reified.StructClassReified<State, StateFields>;
|
|
44
44
|
static phantom(): PhantomReified<ToTypeStr<State>>;
|
|
45
45
|
static get p(): reified.PhantomReified<string>;
|
|
46
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
46
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
47
47
|
id: {
|
|
48
48
|
id: {
|
|
49
49
|
bytes: string;
|
|
@@ -23,7 +23,7 @@ export declare class Bytes20 implements StructClass {
|
|
|
23
23
|
static get r(): reified.StructClassReified<Bytes20, Bytes20Fields>;
|
|
24
24
|
static phantom(): PhantomReified<ToTypeStr<Bytes20>>;
|
|
25
25
|
static get p(): reified.PhantomReified<string>;
|
|
26
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
26
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
27
27
|
data: number[];
|
|
28
28
|
}, {
|
|
29
29
|
data: Iterable<number> & {
|
|
@@ -23,7 +23,7 @@ export declare class Bytes32 implements StructClass {
|
|
|
23
23
|
static get r(): reified.StructClassReified<Bytes32, Bytes32Fields>;
|
|
24
24
|
static phantom(): PhantomReified<ToTypeStr<Bytes32>>;
|
|
25
25
|
static get p(): reified.PhantomReified<string>;
|
|
26
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
26
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
27
27
|
data: number[];
|
|
28
28
|
}, {
|
|
29
29
|
data: Iterable<number> & {
|
|
@@ -24,7 +24,7 @@ export declare class ConsumedVAAs implements StructClass {
|
|
|
24
24
|
static get r(): reified.StructClassReified<ConsumedVAAs, ConsumedVAAsFields>;
|
|
25
25
|
static phantom(): PhantomReified<ToTypeStr<ConsumedVAAs>>;
|
|
26
26
|
static get p(): reified.PhantomReified<string>;
|
|
27
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
27
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
28
28
|
hashes: {
|
|
29
29
|
items: {
|
|
30
30
|
id: {
|
|
@@ -24,7 +24,7 @@ export declare class EmitterCap implements StructClass {
|
|
|
24
24
|
static get r(): import("../../../../_framework/reified").StructClassReified<EmitterCap, EmitterCapFields>;
|
|
25
25
|
static phantom(): PhantomReified<ToTypeStr<EmitterCap>>;
|
|
26
26
|
static get p(): PhantomReified<string>;
|
|
27
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
27
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
28
28
|
id: {
|
|
29
29
|
id: {
|
|
30
30
|
bytes: string;
|
|
@@ -78,7 +78,7 @@ export declare class EmitterCreated implements StructClass {
|
|
|
78
78
|
static get r(): import("../../../../_framework/reified").StructClassReified<EmitterCreated, EmitterCreatedFields>;
|
|
79
79
|
static phantom(): PhantomReified<ToTypeStr<EmitterCreated>>;
|
|
80
80
|
static get p(): PhantomReified<string>;
|
|
81
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
81
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
82
82
|
emitter_cap: {
|
|
83
83
|
bytes: string;
|
|
84
84
|
};
|
|
@@ -22,7 +22,7 @@ export declare class ExternalAddress implements StructClass {
|
|
|
22
22
|
static get r(): import("../../../../_framework/reified").StructClassReified<ExternalAddress, ExternalAddressFields>;
|
|
23
23
|
static phantom(): PhantomReified<ToTypeStr<ExternalAddress>>;
|
|
24
24
|
static get p(): PhantomReified<string>;
|
|
25
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
25
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
26
26
|
value: {
|
|
27
27
|
data: number[];
|
|
28
28
|
};
|
|
@@ -26,7 +26,7 @@ export declare class FeeCollector implements StructClass {
|
|
|
26
26
|
static get r(): reified.StructClassReified<FeeCollector, FeeCollectorFields>;
|
|
27
27
|
static phantom(): PhantomReified<ToTypeStr<FeeCollector>>;
|
|
28
28
|
static get p(): reified.PhantomReified<string>;
|
|
29
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
29
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
30
30
|
fee_amount: string;
|
|
31
31
|
balance: {
|
|
32
32
|
value: string;
|
|
@@ -22,7 +22,7 @@ export declare class Guardian implements StructClass {
|
|
|
22
22
|
static get r(): import("../../../../_framework/reified").StructClassReified<Guardian, GuardianFields>;
|
|
23
23
|
static phantom(): PhantomReified<ToTypeStr<Guardian>>;
|
|
24
24
|
static get p(): PhantomReified<string>;
|
|
25
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
25
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
26
26
|
pubkey: {
|
|
27
27
|
data: number[];
|
|
28
28
|
};
|
|
@@ -28,7 +28,7 @@ export declare class GuardianSet implements StructClass {
|
|
|
28
28
|
static get r(): reified.StructClassReified<GuardianSet, GuardianSetFields>;
|
|
29
29
|
static phantom(): PhantomReified<ToTypeStr<GuardianSet>>;
|
|
30
30
|
static get p(): reified.PhantomReified<string>;
|
|
31
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
31
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
32
32
|
index: number;
|
|
33
33
|
guardians: {
|
|
34
34
|
pubkey: {
|
|
@@ -30,7 +30,7 @@ export declare class MessageTicket implements StructClass {
|
|
|
30
30
|
static get r(): reified.StructClassReified<MessageTicket, MessageTicketFields>;
|
|
31
31
|
static phantom(): PhantomReified<ToTypeStr<MessageTicket>>;
|
|
32
32
|
static get p(): reified.PhantomReified<string>;
|
|
33
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
33
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
34
34
|
sender: {
|
|
35
35
|
bytes: string;
|
|
36
36
|
};
|
|
@@ -100,7 +100,7 @@ export declare class WormholeMessage implements StructClass {
|
|
|
100
100
|
static get r(): reified.StructClassReified<WormholeMessage, WormholeMessageFields>;
|
|
101
101
|
static phantom(): PhantomReified<ToTypeStr<WormholeMessage>>;
|
|
102
102
|
static get p(): reified.PhantomReified<string>;
|
|
103
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
103
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
104
104
|
sender: {
|
|
105
105
|
bytes: string;
|
|
106
106
|
};
|
|
@@ -23,7 +23,7 @@ export declare class Empty implements StructClass {
|
|
|
23
23
|
static get r(): reified.StructClassReified<Empty, EmptyFields>;
|
|
24
24
|
static phantom(): PhantomReified<ToTypeStr<Empty>>;
|
|
25
25
|
static get p(): reified.PhantomReified<string>;
|
|
26
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
26
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
27
27
|
dummy_field: boolean;
|
|
28
28
|
}, {
|
|
29
29
|
dummy_field: boolean;
|
|
@@ -65,7 +65,7 @@ export declare class Set<T extends PhantomTypeArgument> implements StructClass {
|
|
|
65
65
|
static get r(): typeof Set.reified;
|
|
66
66
|
static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<Set<ToPhantomTypeArgument<T>>>>;
|
|
67
67
|
static get p(): typeof Set.phantom;
|
|
68
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
68
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
69
69
|
items: {
|
|
70
70
|
id: {
|
|
71
71
|
id: {
|
|
@@ -45,7 +45,7 @@ export declare class State implements StructClass {
|
|
|
45
45
|
static get r(): reified.StructClassReified<State, StateFields>;
|
|
46
46
|
static phantom(): PhantomReified<ToTypeStr<State>>;
|
|
47
47
|
static get p(): reified.PhantomReified<string>;
|
|
48
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
48
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
49
49
|
id: {
|
|
50
50
|
id: {
|
|
51
51
|
bytes: string;
|
|
@@ -41,7 +41,7 @@ export declare class VAA implements StructClass {
|
|
|
41
41
|
static get r(): reified.StructClassReified<VAA, VAAFields>;
|
|
42
42
|
static phantom(): PhantomReified<ToTypeStr<VAA>>;
|
|
43
43
|
static get p(): reified.PhantomReified<string>;
|
|
44
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
44
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
45
45
|
guardian_set_index: number;
|
|
46
46
|
timestamp: number;
|
|
47
47
|
nonce: number;
|
|
@@ -21,7 +21,16 @@ export declare function obj(tx: Transaction, arg: TransactionObjectInput): {
|
|
|
21
21
|
Result: number;
|
|
22
22
|
} | {
|
|
23
23
|
NestedResult: [number, number];
|
|
24
|
-
} | ((tx: Transaction) => Exclude<
|
|
24
|
+
} | ((tx: Transaction) => Exclude<{
|
|
25
|
+
GasCoin: true;
|
|
26
|
+
} | {
|
|
27
|
+
Input: number;
|
|
28
|
+
type?: "pure" | "object";
|
|
29
|
+
} | {
|
|
30
|
+
Result: number;
|
|
31
|
+
} | {
|
|
32
|
+
NestedResult: [number, number];
|
|
33
|
+
}, {
|
|
25
34
|
Input: unknown;
|
|
26
35
|
type?: "pure";
|
|
27
36
|
}>);
|
|
@@ -35,7 +44,16 @@ export declare function option(tx: Transaction, type: string, arg: GenericArg |
|
|
|
35
44
|
Result: number;
|
|
36
45
|
} | {
|
|
37
46
|
NestedResult: [number, number];
|
|
38
|
-
} | ((tx: Transaction) => Exclude<
|
|
47
|
+
} | ((tx: Transaction) => Exclude<{
|
|
48
|
+
GasCoin: true;
|
|
49
|
+
} | {
|
|
50
|
+
Input: number;
|
|
51
|
+
type?: "pure" | "object";
|
|
52
|
+
} | {
|
|
53
|
+
Result: number;
|
|
54
|
+
} | {
|
|
55
|
+
NestedResult: [number, number];
|
|
56
|
+
}, {
|
|
39
57
|
Input: unknown;
|
|
40
58
|
type?: "pure";
|
|
41
59
|
}>);
|
|
@@ -48,7 +66,16 @@ export declare function generic(tx: Transaction, type: string, arg: GenericArg):
|
|
|
48
66
|
Result: number;
|
|
49
67
|
} | {
|
|
50
68
|
NestedResult: [number, number];
|
|
51
|
-
} | ((tx: Transaction) => Exclude<
|
|
69
|
+
} | ((tx: Transaction) => Exclude<{
|
|
70
|
+
GasCoin: true;
|
|
71
|
+
} | {
|
|
72
|
+
Input: number;
|
|
73
|
+
type?: "pure" | "object";
|
|
74
|
+
} | {
|
|
75
|
+
Result: number;
|
|
76
|
+
} | {
|
|
77
|
+
NestedResult: [number, number];
|
|
78
|
+
}, {
|
|
52
79
|
Input: unknown;
|
|
53
80
|
type?: "pure";
|
|
54
81
|
}>);
|
|
@@ -15,9 +15,9 @@ export declare class Vector<T extends TypeArgument> implements VectorClass {
|
|
|
15
15
|
constructor(typeArgs: [ToTypeStr<T>], elements: VectorElements<T>);
|
|
16
16
|
static reified<T extends Reified<TypeArgument, any>>(T: T): VectorReified<ToTypeArgument<T>>;
|
|
17
17
|
static get r(): typeof Vector.reified;
|
|
18
|
-
static get bcs(): <T, Input>(type: import("@mysten/sui/bcs").BcsType<T, Input>, options?: import("@mysten/sui/bcs").BcsTypeOptions<T[], Iterable<Input> & {
|
|
18
|
+
static get bcs(): <T, Input>(type: import("@mysten/sui/dist/cjs/bcs").BcsType<T, Input>, options?: import("@mysten/sui/dist/cjs/bcs").BcsTypeOptions<T[], Iterable<Input> & {
|
|
19
19
|
length: number;
|
|
20
|
-
}>) => import("@mysten/sui/bcs").BcsType<T[], Iterable<Input> & {
|
|
20
|
+
}>) => import("@mysten/sui/dist/cjs/bcs").BcsType<T[], Iterable<Input> & {
|
|
21
21
|
length: number;
|
|
22
22
|
}>;
|
|
23
23
|
static fromFields<T extends Reified<TypeArgument, any>>(typeArg: T, elements: any[]): Vector<ToTypeArgument<T>>;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { Transaction, TransactionArgument, TransactionObjectInput } from "@mysten/sui/transactions";
|
|
2
|
-
export declare function destroyEmpty(tx: Transaction, userDeposit: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
3
|
-
export declare function new_(tx: Transaction, address: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
2
|
+
export declare function destroyEmpty(tx: Transaction, userDeposit: TransactionObjectInput): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
3
|
+
export declare function new_(tx: Transaction, address: TransactionObjectInput): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
4
4
|
export interface SetGasUsageArgs {
|
|
5
5
|
anotherBridge: TransactionObjectInput;
|
|
6
6
|
gasUsage: bigint | TransactionArgument;
|
|
7
7
|
}
|
|
8
|
-
export declare function setGasUsage(tx: Transaction, args: SetGasUsageArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
9
|
-
export declare function gasUsage(tx: Transaction, anotherBridge: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
8
|
+
export declare function setGasUsage(tx: Transaction, args: SetGasUsageArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
9
|
+
export declare function gasUsage(tx: Transaction, anotherBridge: TransactionObjectInput): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
10
10
|
export interface AddTokenArgs {
|
|
11
11
|
anotherBridge: TransactionObjectInput;
|
|
12
12
|
address: TransactionObjectInput;
|
|
13
13
|
}
|
|
14
|
-
export declare function addToken(tx: Transaction, args: AddTokenArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
15
|
-
export declare function bridgeAddress(tx: Transaction, anotherBridge: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
14
|
+
export declare function addToken(tx: Transaction, args: AddTokenArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
15
|
+
export declare function bridgeAddress(tx: Transaction, anotherBridge: TransactionObjectInput): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
16
16
|
export interface HasTokenArgs {
|
|
17
17
|
anotherBridge: TransactionObjectInput;
|
|
18
18
|
address: TransactionObjectInput;
|
|
19
19
|
}
|
|
20
|
-
export declare function hasToken(tx: Transaction, args: HasTokenArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
20
|
+
export declare function hasToken(tx: Transaction, args: HasTokenArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
21
21
|
export interface RemoveTokenArgs {
|
|
22
22
|
anotherBridge: TransactionObjectInput;
|
|
23
23
|
address: TransactionObjectInput;
|
|
24
24
|
}
|
|
25
|
-
export declare function removeToken(tx: Transaction, args: RemoveTokenArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
25
|
+
export declare function removeToken(tx: Transaction, args: RemoveTokenArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
26
26
|
export interface SetAddressArgs {
|
|
27
27
|
anotherBridge: TransactionObjectInput;
|
|
28
28
|
address: TransactionObjectInput;
|
|
29
29
|
}
|
|
30
|
-
export declare function setAddress(tx: Transaction, args: SetAddressArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
30
|
+
export declare function setAddress(tx: Transaction, args: SetAddressArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
@@ -28,7 +28,7 @@ export declare class AnotherBridge implements StructClass {
|
|
|
28
28
|
static get r(): reified.StructClassReified<AnotherBridge, AnotherBridgeFields>;
|
|
29
29
|
static phantom(): PhantomReified<ToTypeStr<AnotherBridge>>;
|
|
30
30
|
static get p(): reified.PhantomReified<string>;
|
|
31
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
31
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
32
32
|
address: {
|
|
33
33
|
data: number[];
|
|
34
34
|
};
|
|
@@ -4,70 +4,70 @@ export interface SwapArgs {
|
|
|
4
4
|
coin: TransactionObjectInput;
|
|
5
5
|
receiveAmountMin: bigint | TransactionArgument;
|
|
6
6
|
}
|
|
7
|
-
export declare function swap(tx: Transaction, typeArgs: [string, string], args: SwapArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
7
|
+
export declare function swap(tx: Transaction, typeArgs: [string, string], args: SwapArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
8
8
|
export interface DepositFeeArgs {
|
|
9
9
|
bridge: TransactionObjectInput;
|
|
10
10
|
coin: TransactionObjectInput;
|
|
11
11
|
}
|
|
12
|
-
export declare function depositFee(tx: Transaction, typeArg: string, args: DepositFeeArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
13
|
-
export declare function getId(tx: Transaction, bridge: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
14
|
-
export declare function getVersion(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
15
|
-
export declare function init(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
12
|
+
export declare function depositFee(tx: Transaction, typeArg: string, args: DepositFeeArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
13
|
+
export declare function getId(tx: Transaction, bridge: TransactionObjectInput): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
14
|
+
export declare function getVersion(tx: Transaction): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
15
|
+
export declare function init(tx: Transaction): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
16
16
|
export interface MigrateArgs {
|
|
17
17
|
adminCap: TransactionObjectInput;
|
|
18
18
|
bridge: TransactionObjectInput;
|
|
19
19
|
}
|
|
20
|
-
export declare function migrate(tx: Transaction, args: MigrateArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
20
|
+
export declare function migrate(tx: Transaction, args: MigrateArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
21
21
|
export interface SetGasUsageArgs {
|
|
22
22
|
bridge: TransactionObjectInput;
|
|
23
23
|
chainId: number | TransactionArgument;
|
|
24
24
|
value: bigint | TransactionArgument;
|
|
25
25
|
}
|
|
26
|
-
export declare function setGasUsage(tx: Transaction, args: SetGasUsageArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
26
|
+
export declare function setGasUsage(tx: Transaction, args: SetGasUsageArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
27
27
|
export interface WithdrawFeeArgs {
|
|
28
28
|
bridge: TransactionObjectInput;
|
|
29
29
|
amount: bigint | TransactionArgument;
|
|
30
30
|
}
|
|
31
|
-
export declare function withdrawFee(tx: Transaction, typeArg: string, args: WithdrawFeeArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
31
|
+
export declare function withdrawFee(tx: Transaction, typeArg: string, args: WithdrawFeeArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
32
32
|
export interface GasUsageArgs {
|
|
33
33
|
bridge: TransactionObjectInput;
|
|
34
34
|
chainId: number | TransactionArgument;
|
|
35
35
|
}
|
|
36
|
-
export declare function gasUsage(tx: Transaction, args: GasUsageArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
37
|
-
export declare function adminFeeShareBp(tx: Transaction, typeArg: string, bridge: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
38
|
-
export declare function pool(tx: Transaction, typeArg: string, bridge: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
36
|
+
export declare function gasUsage(tx: Transaction, args: GasUsageArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
37
|
+
export declare function adminFeeShareBp(tx: Transaction, typeArg: string, bridge: TransactionObjectInput): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
38
|
+
export declare function pool(tx: Transaction, typeArg: string, bridge: TransactionObjectInput): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
39
39
|
export interface AddBridgeArgs {
|
|
40
40
|
bridge: TransactionObjectInput;
|
|
41
41
|
chainId: number | TransactionArgument;
|
|
42
42
|
bridgeAddress: TransactionObjectInput;
|
|
43
43
|
}
|
|
44
|
-
export declare function addBridge(tx: Transaction, args: AddBridgeArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
44
|
+
export declare function addBridge(tx: Transaction, args: AddBridgeArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
45
45
|
export interface AddBridgeTokenArgs {
|
|
46
46
|
bridge: TransactionObjectInput;
|
|
47
47
|
chainId: number | TransactionArgument;
|
|
48
48
|
tokenAddress: TransactionObjectInput;
|
|
49
49
|
}
|
|
50
|
-
export declare function addBridgeToken(tx: Transaction, args: AddBridgeTokenArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
50
|
+
export declare function addBridgeToken(tx: Transaction, args: AddBridgeTokenArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
51
51
|
export interface AddPoolArgs {
|
|
52
52
|
bridge: TransactionObjectInput;
|
|
53
53
|
pool: TransactionObjectInput;
|
|
54
54
|
}
|
|
55
|
-
export declare function addPool(tx: Transaction, typeArg: string, args: AddPoolArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
56
|
-
export declare function canSwap(tx: Transaction, bridge: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
57
|
-
export declare function feeValue(tx: Transaction, typeArg: string, bridge: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
55
|
+
export declare function addPool(tx: Transaction, typeArg: string, args: AddPoolArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
56
|
+
export declare function canSwap(tx: Transaction, bridge: TransactionObjectInput): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
57
|
+
export declare function feeValue(tx: Transaction, typeArg: string, bridge: TransactionObjectInput): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
58
58
|
export interface GetBridgeAllbridgeCostArgs {
|
|
59
59
|
bridge: TransactionObjectInput;
|
|
60
60
|
messenger: TransactionObjectInput;
|
|
61
61
|
gasOracle: TransactionObjectInput;
|
|
62
62
|
chainId: number | TransactionArgument;
|
|
63
63
|
}
|
|
64
|
-
export declare function getBridgeAllbridgeCost(tx: Transaction, args: GetBridgeAllbridgeCostArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
64
|
+
export declare function getBridgeAllbridgeCost(tx: Transaction, args: GetBridgeAllbridgeCostArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
65
65
|
export interface GetBridgeCostArgs {
|
|
66
66
|
bridge: TransactionObjectInput;
|
|
67
67
|
gasOracle: TransactionObjectInput;
|
|
68
68
|
chainId: number | TransactionArgument;
|
|
69
69
|
}
|
|
70
|
-
export declare function getBridgeCost(tx: Transaction, args: GetBridgeCostArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
70
|
+
export declare function getBridgeCost(tx: Transaction, args: GetBridgeCostArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
71
71
|
export interface GetBridgeWormholeCostArgs {
|
|
72
72
|
bridge: TransactionObjectInput;
|
|
73
73
|
messenger: TransactionObjectInput;
|
|
@@ -75,14 +75,14 @@ export interface GetBridgeWormholeCostArgs {
|
|
|
75
75
|
gasOracle: TransactionObjectInput;
|
|
76
76
|
chainId: number | TransactionArgument;
|
|
77
77
|
}
|
|
78
|
-
export declare function getBridgeWormholeCost(tx: Transaction, args: GetBridgeWormholeCostArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
79
|
-
export declare function getPoolKey(tx: Transaction, typeArg: string): import("@mysten/sui/transactions").TransactionResult;
|
|
78
|
+
export declare function getBridgeWormholeCost(tx: Transaction, args: GetBridgeWormholeCostArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
79
|
+
export declare function getPoolKey(tx: Transaction, typeArg: string): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
80
80
|
export interface IsProcessedMessageArgs {
|
|
81
81
|
bridge: TransactionObjectInput;
|
|
82
82
|
message: TransactionObjectInput;
|
|
83
83
|
}
|
|
84
|
-
export declare function isProcessedMessage(tx: Transaction, args: IsProcessedMessageArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
85
|
-
export declare function poolMut(tx: Transaction, typeArg: string, bridge: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
84
|
+
export declare function isProcessedMessage(tx: Transaction, args: IsProcessedMessageArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
85
|
+
export declare function poolMut(tx: Transaction, typeArg: string, bridge: TransactionObjectInput): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
86
86
|
export interface ReceiveTokensAllbridgeArgs {
|
|
87
87
|
bridge: TransactionObjectInput;
|
|
88
88
|
messenger: TransactionObjectInput;
|
|
@@ -93,7 +93,7 @@ export interface ReceiveTokensAllbridgeArgs {
|
|
|
93
93
|
receiveAmountMin: bigint | TransactionArgument;
|
|
94
94
|
extraGasCoin: TransactionObjectInput;
|
|
95
95
|
}
|
|
96
|
-
export declare function receiveTokensAllbridge(tx: Transaction, typeArg: string, args: ReceiveTokensAllbridgeArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
96
|
+
export declare function receiveTokensAllbridge(tx: Transaction, typeArg: string, args: ReceiveTokensAllbridgeArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
97
97
|
export interface ReceiveTokensWormholeArgs {
|
|
98
98
|
bridge: TransactionObjectInput;
|
|
99
99
|
messenger: TransactionObjectInput;
|
|
@@ -104,25 +104,25 @@ export interface ReceiveTokensWormholeArgs {
|
|
|
104
104
|
receiveAmountMin: bigint | TransactionArgument;
|
|
105
105
|
extraGasCoin: TransactionObjectInput;
|
|
106
106
|
}
|
|
107
|
-
export declare function receiveTokensWormhole(tx: Transaction, typeArg: string, args: ReceiveTokensWormholeArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
107
|
+
export declare function receiveTokensWormhole(tx: Transaction, typeArg: string, args: ReceiveTokensWormholeArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
108
108
|
export interface RemoveBridgeArgs {
|
|
109
109
|
bridge: TransactionObjectInput;
|
|
110
110
|
chainId: number | TransactionArgument;
|
|
111
111
|
}
|
|
112
|
-
export declare function removeBridge(tx: Transaction, args: RemoveBridgeArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
112
|
+
export declare function removeBridge(tx: Transaction, args: RemoveBridgeArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
113
113
|
export interface RemoveBridgeTokenArgs {
|
|
114
114
|
bridge: TransactionObjectInput;
|
|
115
115
|
chainId: number | TransactionArgument;
|
|
116
116
|
tokenAddress: TransactionObjectInput;
|
|
117
117
|
}
|
|
118
|
-
export declare function removeBridgeToken(tx: Transaction, args: RemoveBridgeTokenArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
118
|
+
export declare function removeBridgeToken(tx: Transaction, args: RemoveBridgeTokenArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
119
119
|
export interface SetRebalancerArgs {
|
|
120
120
|
bridge: TransactionObjectInput;
|
|
121
121
|
rebalancer: string | TransactionArgument;
|
|
122
122
|
}
|
|
123
|
-
export declare function setRebalancer(tx: Transaction, args: SetRebalancerArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
124
|
-
export declare function startSwap(tx: Transaction, bridge: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
125
|
-
export declare function stopSwap(tx: Transaction, bridge: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
123
|
+
export declare function setRebalancer(tx: Transaction, args: SetRebalancerArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
124
|
+
export declare function startSwap(tx: Transaction, bridge: TransactionObjectInput): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
125
|
+
export declare function stopSwap(tx: Transaction, bridge: TransactionObjectInput): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
126
126
|
export interface SwapAndBridgeAllbridgeArgs {
|
|
127
127
|
bridge: TransactionObjectInput;
|
|
128
128
|
messenger: TransactionObjectInput;
|
|
@@ -135,7 +135,7 @@ export interface SwapAndBridgeAllbridgeArgs {
|
|
|
135
135
|
feeSuiCoin: TransactionObjectInput;
|
|
136
136
|
feeTokenCoin: TransactionObjectInput;
|
|
137
137
|
}
|
|
138
|
-
export declare function swapAndBridgeAllbridge(tx: Transaction, typeArg: string, args: SwapAndBridgeAllbridgeArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
138
|
+
export declare function swapAndBridgeAllbridge(tx: Transaction, typeArg: string, args: SwapAndBridgeAllbridgeArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
139
139
|
export interface SwapAndBridgeWormholeArgs {
|
|
140
140
|
bridge: TransactionObjectInput;
|
|
141
141
|
messenger: TransactionObjectInput;
|
|
@@ -150,4 +150,4 @@ export interface SwapAndBridgeWormholeArgs {
|
|
|
150
150
|
feeSuiCoin: TransactionObjectInput;
|
|
151
151
|
feeTokenCoin: TransactionObjectInput;
|
|
152
152
|
}
|
|
153
|
-
export declare function swapAndBridgeWormhole(tx: Transaction, typeArg: string, args: SwapAndBridgeWormholeArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
153
|
+
export declare function swapAndBridgeWormhole(tx: Transaction, typeArg: string, args: SwapAndBridgeWormholeArgs): import("@mysten/sui/dist/cjs/transactions").TransactionResult;
|
|
@@ -29,7 +29,7 @@ export declare class AdminCap implements StructClass {
|
|
|
29
29
|
static get r(): reified.StructClassReified<AdminCap, AdminCapFields>;
|
|
30
30
|
static phantom(): PhantomReified<ToTypeStr<AdminCap>>;
|
|
31
31
|
static get p(): reified.PhantomReified<string>;
|
|
32
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
32
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
33
33
|
id: {
|
|
34
34
|
id: {
|
|
35
35
|
bytes: string;
|
|
@@ -95,7 +95,7 @@ export declare class Bridge implements StructClass {
|
|
|
95
95
|
static get r(): reified.StructClassReified<Bridge, BridgeFields>;
|
|
96
96
|
static phantom(): PhantomReified<ToTypeStr<Bridge>>;
|
|
97
97
|
static get p(): reified.PhantomReified<string>;
|
|
98
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
98
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
99
99
|
id: {
|
|
100
100
|
id: {
|
|
101
101
|
bytes: string;
|
|
@@ -309,7 +309,7 @@ export declare class FeeCollectorCap implements StructClass {
|
|
|
309
309
|
static get r(): reified.StructClassReified<FeeCollectorCap, FeeCollectorCapFields>;
|
|
310
310
|
static phantom(): PhantomReified<ToTypeStr<FeeCollectorCap>>;
|
|
311
311
|
static get p(): reified.PhantomReified<string>;
|
|
312
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
312
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
313
313
|
dummy_field: boolean;
|
|
314
314
|
}, {
|
|
315
315
|
dummy_field: boolean;
|
|
@@ -351,7 +351,7 @@ export declare class StopSwapCap implements StructClass {
|
|
|
351
351
|
static get r(): reified.StructClassReified<StopSwapCap, StopSwapCapFields>;
|
|
352
352
|
static phantom(): PhantomReified<ToTypeStr<StopSwapCap>>;
|
|
353
353
|
static get p(): reified.PhantomReified<string>;
|
|
354
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
354
|
+
static get bcs(): import("@mysten/sui/dist/cjs/bcs").BcsType<{
|
|
355
355
|
id: {
|
|
356
356
|
id: {
|
|
357
357
|
bytes: string;
|