@skip-go/client 1.0.1 → 1.0.3
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/dist/api/getAssets.cjs +15 -0
- package/dist/api/{getAssets.d.ts → getAssets.d.cts} +2 -2
- package/dist/api/getAssetsBetweenChains.cjs +11 -0
- package/dist/api/{getAssetsBetweenChains.d.ts → getAssetsBetweenChains.d.cts} +2 -2
- package/dist/api/getBridges.cjs +11 -0
- package/dist/api/{getBridges.d.ts → getBridges.d.cts} +2 -2
- package/dist/api/getChains.cjs +11 -0
- package/dist/api/{getChains.d.ts → getChains.d.cts} +2 -2
- package/dist/api/getVenues.cjs +11 -0
- package/dist/api/{getVenues.d.ts → getVenues.d.cts} +1 -1
- package/dist/api/postAssetsFromSource.cjs +12 -0
- package/dist/api/{postAssetsFromSource.d.ts → postAssetsFromSource.d.cts} +2 -2
- package/dist/api/postBalances.cjs +11 -0
- package/dist/api/{postBalances.d.ts → postBalances.d.cts} +3 -3
- package/dist/api/postIbcOriginAssets.cjs +11 -0
- package/dist/api/{postIbcOriginAssets.d.ts → postIbcOriginAssets.d.cts} +1 -1
- package/dist/api/postMessages.cjs +11 -0
- package/dist/api/{postMessages.d.ts → postMessages.d.cts} +186 -186
- package/dist/api/postMessagesDirect.cjs +11 -0
- package/dist/api/{postMessagesDirect.d.ts → postMessagesDirect.d.cts} +185 -185
- package/dist/api/postRecommendAssets.cjs +11 -0
- package/dist/api/{postRecommendAssets.d.ts → postRecommendAssets.d.cts} +2 -2
- package/dist/api/postRoute.cjs +11 -0
- package/dist/api/{postRoute.d.ts → postRoute.d.cts} +163 -163
- package/dist/api/postSubmitTransaction.cjs +11 -0
- package/dist/api/{postSubmitTransaction.d.ts → postSubmitTransaction.d.cts} +1 -1
- package/dist/api/postTrackTransaction.cjs +11 -0
- package/dist/api/{postTrackTransaction.d.ts → postTrackTransaction.d.cts} +1 -1
- package/dist/api/postTransactionStatus.cjs +11 -0
- package/dist/api/{postTransactionStatus.d.ts → postTransactionStatus.d.cts} +3 -3
- package/dist/{chunk-FVSSCQ6C.js → chunk-32MRDO7V.cjs} +2 -2
- package/dist/chunk-44PBLFB5.cjs +24 -0
- package/dist/{chunk-GFRPLEJR.js → chunk-5IAEEEOQ.cjs} +217 -227
- package/dist/{chunk-Z4ZKOUGH.js → chunk-77ITCT75.cjs} +2 -2
- package/dist/{chunk-RT5TZAMU.js → chunk-7OIZPQJB.cjs} +101 -138
- package/dist/{chunk-CG5CQQBW.js → chunk-7SK3IFXJ.cjs} +32 -36
- package/dist/{chunk-2WHYWV4Y.js → chunk-DAMZSSOH.cjs} +2 -2
- package/dist/chunk-ED2OY55G.cjs +136 -0
- package/dist/chunk-G7BBDZ7C.cjs +1812 -0
- package/dist/chunk-HAR3IXDE.cjs +705 -0
- package/dist/{chunk-6BTWKTNM.js → chunk-ISHM4QWP.cjs} +4 -4
- package/dist/{chunk-4XWIXR2P.js → chunk-J4LI33TK.cjs} +18 -24
- package/dist/{chunk-YYNIFO2A.js → chunk-KDN7RCGP.cjs} +2 -2
- package/dist/{chunk-KYFTM3PI.js → chunk-L5V5PASH.cjs} +2 -2
- package/dist/{chunk-X2E2TKVR.js → chunk-LXYLWTNZ.cjs} +2 -2
- package/dist/{chunk-ZG23Z3WY.js → chunk-PNWIJSMA.cjs} +2 -2
- package/dist/{chunk-RE2QZJWE.js → chunk-RDOSNDAQ.cjs} +2 -2
- package/dist/chunk-SFMBRLUS.cjs +18 -0
- package/dist/{chunk-X2YPYBVN.js → chunk-SW3SEQMJ.cjs} +25 -30
- package/dist/{chunk-LRIPQQ4M.js → chunk-URLFWBSC.cjs} +2 -2
- package/dist/{chunk-5ZJBR5AQ.js → chunk-VI7UMBQ7.cjs} +2 -2
- package/dist/{chunk-PKPZTO4H.js → chunk-ZNXE6PUV.cjs} +9 -10
- package/dist/{client-types-CxjtffyG.d.ts → client-types-qvyKvyFh.d.cts} +1 -1
- package/dist/{executeRoute-BKvMVd1I.d.ts → executeRoute-BKRpODCc.d.cts} +3 -3
- package/dist/{generateApi-DqCp36fX.d.ts → generateApi-C0amiydg.d.cts} +1 -1
- package/dist/index.cjs +209 -0
- package/dist/{index.d.ts → index.d.cts} +25 -27
- package/dist/public-functions/executeRoute.cjs +21 -0
- package/dist/public-functions/{executeRoute.d.ts → executeRoute.d.cts} +4 -4
- package/dist/public-functions/getFeeInfoForChain.cjs +14 -0
- package/dist/public-functions/{getFeeInfoForChain.d.ts → getFeeInfoForChain.d.cts} +2 -2
- package/dist/public-functions/getRecommendedGasPrice.cjs +16 -0
- package/dist/public-functions/{getRecommendedGasPrice.d.ts → getRecommendedGasPrice.d.cts} +2 -2
- package/dist/public-functions/getSigningStargateClient.cjs +13 -0
- package/dist/public-functions/{getSigningStargateClient.d.ts → getSigningStargateClient.d.cts} +1 -1
- package/dist/public-functions/setApiOptions.cjs +11 -0
- package/dist/public-functions/{setApiOptions.d.ts → setApiOptions.d.cts} +2 -2
- package/dist/public-functions/setClientOptions.cjs +13 -0
- package/dist/public-functions/setClientOptions.d.cts +9 -0
- package/dist/{setClientOptions-DbanEIwL.d.ts → setClientOptions-CT6CHI9I.d.cts} +2 -2
- package/package.json +12 -3
- package/dist/api/getAssets.js +0 -15
- package/dist/api/getAssetsBetweenChains.js +0 -11
- package/dist/api/getBridges.js +0 -11
- package/dist/api/getChains.js +0 -11
- package/dist/api/getVenues.js +0 -11
- package/dist/api/postAssetsFromSource.js +0 -12
- package/dist/api/postBalances.js +0 -11
- package/dist/api/postIbcOriginAssets.js +0 -11
- package/dist/api/postMessages.js +0 -11
- package/dist/api/postMessagesDirect.js +0 -11
- package/dist/api/postRecommendAssets.js +0 -11
- package/dist/api/postRoute.js +0 -11
- package/dist/api/postSubmitTransaction.js +0 -11
- package/dist/api/postTrackTransaction.js +0 -11
- package/dist/api/postTransactionStatus.js +0 -11
- package/dist/chunk-5KVRQLI5.js +0 -17
- package/dist/chunk-6GJEXV5J.js +0 -130
- package/dist/chunk-ASPVKNJ7.js +0 -242
- package/dist/chunk-EQLA2SEZ.js +0 -2361
- package/dist/chunk-L2Q5RP6O.js +0 -25
- package/dist/index.js +0 -209
- package/dist/public-functions/executeRoute.js +0 -21
- package/dist/public-functions/getFeeInfoForChain.js +0 -14
- package/dist/public-functions/getRecommendedGasPrice.js +0 -16
- package/dist/public-functions/getSigningStargateClient.js +0 -13
- package/dist/public-functions/setApiOptions.js +0 -11
- package/dist/public-functions/setClientOptions.d.ts +0 -9
- package/dist/public-functions/setClientOptions.js +0 -13
- /package/dist/{apiState-CdzxTxYd.d.ts → apiState-CdzxTxYd.d.cts} +0 -0
- /package/dist/{chunk-VQ5SIQWU.js → chunk-4R6OCWRR.cjs} +0 -0
- /package/dist/{chunk-SWYON2RG.js → chunk-KZOSEIWH.cjs} +0 -0
- /package/dist/{swaggerTypes-O9-gvCT1.d.ts → swaggerTypes-O9-gvCT1.d.cts} +0 -0
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var signingstargateclient = require('@cosmjs/stargate/build/signingstargateclient');
|
|
3
|
+
var chunk7OIZPQJB_cjs = require('./chunk-7OIZPQJB.cjs');
|
|
4
|
+
var chunkED2OY55G_cjs = require('./chunk-ED2OY55G.cjs');
|
|
5
|
+
var chunkHAR3IXDE_cjs = require('./chunk-HAR3IXDE.cjs');
|
|
6
|
+
var stargate = require('@cosmjs/stargate');
|
|
8
7
|
var aminomessages = require('@cosmjs/cosmwasm-stargate/build/modules/wasm/aminomessages');
|
|
9
8
|
require('@cosmjs/proto-signing');
|
|
10
|
-
require('@cosmjs/
|
|
9
|
+
require('@cosmjs/tendermint-rpc');
|
|
11
10
|
var _m08 = require('protobufjs/minimal');
|
|
12
11
|
var math = require('@cosmjs/math');
|
|
13
12
|
var registry$1 = require('@cosmjs/proto-signing/build/registry');
|
|
@@ -33,140 +32,141 @@ function _interopNamespace(e) {
|
|
|
33
32
|
|
|
34
33
|
var _m08__namespace = /*#__PURE__*/_interopNamespace(_m08);
|
|
35
34
|
|
|
36
|
-
|
|
37
|
-
var registry = [["/circle.cctp.v1.MsgAcceptOwner", chunkRT5TZAMU_js.MsgAcceptOwner], ["/circle.cctp.v1.MsgAddRemoteTokenMessenger", chunkRT5TZAMU_js.MsgAddRemoteTokenMessenger], ["/circle.cctp.v1.MsgDepositForBurn", chunkRT5TZAMU_js.MsgDepositForBurn], ["/circle.cctp.v1.MsgDepositForBurnWithCaller", chunkRT5TZAMU_js.MsgDepositForBurnWithCaller], ["/circle.cctp.v1.MsgDisableAttester", chunkRT5TZAMU_js.MsgDisableAttester], ["/circle.cctp.v1.MsgEnableAttester", chunkRT5TZAMU_js.MsgEnableAttester], ["/circle.cctp.v1.MsgLinkTokenPair", chunkRT5TZAMU_js.MsgLinkTokenPair], ["/circle.cctp.v1.MsgPauseBurningAndMinting", chunkRT5TZAMU_js.MsgPauseBurningAndMinting], ["/circle.cctp.v1.MsgPauseSendingAndReceivingMessages", chunkRT5TZAMU_js.MsgPauseSendingAndReceivingMessages], ["/circle.cctp.v1.MsgReceiveMessage", chunkRT5TZAMU_js.MsgReceiveMessage], ["/circle.cctp.v1.MsgRemoveRemoteTokenMessenger", chunkRT5TZAMU_js.MsgRemoveRemoteTokenMessenger], ["/circle.cctp.v1.MsgReplaceDepositForBurn", chunkRT5TZAMU_js.MsgReplaceDepositForBurn], ["/circle.cctp.v1.MsgReplaceMessage", chunkRT5TZAMU_js.MsgReplaceMessage], ["/circle.cctp.v1.MsgSendMessage", chunkRT5TZAMU_js.MsgSendMessage], ["/circle.cctp.v1.MsgSendMessageWithCaller", chunkRT5TZAMU_js.MsgSendMessageWithCaller], ["/circle.cctp.v1.MsgUnlinkTokenPair", chunkRT5TZAMU_js.MsgUnlinkTokenPair], ["/circle.cctp.v1.MsgUnpauseBurningAndMinting", chunkRT5TZAMU_js.MsgUnpauseBurningAndMinting], ["/circle.cctp.v1.MsgUnpauseSendingAndReceivingMessages", chunkRT5TZAMU_js.MsgUnpauseSendingAndReceivingMessages], ["/circle.cctp.v1.MsgUpdateOwner", chunkRT5TZAMU_js.MsgUpdateOwner], ["/circle.cctp.v1.MsgUpdateAttesterManager", chunkRT5TZAMU_js.MsgUpdateAttesterManager], ["/circle.cctp.v1.MsgUpdateTokenController", chunkRT5TZAMU_js.MsgUpdateTokenController], ["/circle.cctp.v1.MsgUpdatePauser", chunkRT5TZAMU_js.MsgUpdatePauser], ["/circle.cctp.v1.MsgUpdateMaxMessageBodySize", chunkRT5TZAMU_js.MsgUpdateMaxMessageBodySize], ["/circle.cctp.v1.MsgSetMaxBurnAmountPerMessage", chunkRT5TZAMU_js.MsgSetMaxBurnAmountPerMessage], ["/circle.cctp.v1.MsgUpdateSignatureThreshold", chunkRT5TZAMU_js.MsgUpdateSignatureThreshold]];
|
|
35
|
+
var registry = [["/circle.cctp.v1.MsgAcceptOwner", chunk7OIZPQJB_cjs.MsgAcceptOwner], ["/circle.cctp.v1.MsgAddRemoteTokenMessenger", chunk7OIZPQJB_cjs.MsgAddRemoteTokenMessenger], ["/circle.cctp.v1.MsgDepositForBurn", chunk7OIZPQJB_cjs.MsgDepositForBurn], ["/circle.cctp.v1.MsgDepositForBurnWithCaller", chunk7OIZPQJB_cjs.MsgDepositForBurnWithCaller], ["/circle.cctp.v1.MsgDisableAttester", chunk7OIZPQJB_cjs.MsgDisableAttester], ["/circle.cctp.v1.MsgEnableAttester", chunk7OIZPQJB_cjs.MsgEnableAttester], ["/circle.cctp.v1.MsgLinkTokenPair", chunk7OIZPQJB_cjs.MsgLinkTokenPair], ["/circle.cctp.v1.MsgPauseBurningAndMinting", chunk7OIZPQJB_cjs.MsgPauseBurningAndMinting], ["/circle.cctp.v1.MsgPauseSendingAndReceivingMessages", chunk7OIZPQJB_cjs.MsgPauseSendingAndReceivingMessages], ["/circle.cctp.v1.MsgReceiveMessage", chunk7OIZPQJB_cjs.MsgReceiveMessage], ["/circle.cctp.v1.MsgRemoveRemoteTokenMessenger", chunk7OIZPQJB_cjs.MsgRemoveRemoteTokenMessenger], ["/circle.cctp.v1.MsgReplaceDepositForBurn", chunk7OIZPQJB_cjs.MsgReplaceDepositForBurn], ["/circle.cctp.v1.MsgReplaceMessage", chunk7OIZPQJB_cjs.MsgReplaceMessage], ["/circle.cctp.v1.MsgSendMessage", chunk7OIZPQJB_cjs.MsgSendMessage], ["/circle.cctp.v1.MsgSendMessageWithCaller", chunk7OIZPQJB_cjs.MsgSendMessageWithCaller], ["/circle.cctp.v1.MsgUnlinkTokenPair", chunk7OIZPQJB_cjs.MsgUnlinkTokenPair], ["/circle.cctp.v1.MsgUnpauseBurningAndMinting", chunk7OIZPQJB_cjs.MsgUnpauseBurningAndMinting], ["/circle.cctp.v1.MsgUnpauseSendingAndReceivingMessages", chunk7OIZPQJB_cjs.MsgUnpauseSendingAndReceivingMessages], ["/circle.cctp.v1.MsgUpdateOwner", chunk7OIZPQJB_cjs.MsgUpdateOwner], ["/circle.cctp.v1.MsgUpdateAttesterManager", chunk7OIZPQJB_cjs.MsgUpdateAttesterManager], ["/circle.cctp.v1.MsgUpdateTokenController", chunk7OIZPQJB_cjs.MsgUpdateTokenController], ["/circle.cctp.v1.MsgUpdatePauser", chunk7OIZPQJB_cjs.MsgUpdatePauser], ["/circle.cctp.v1.MsgUpdateMaxMessageBodySize", chunk7OIZPQJB_cjs.MsgUpdateMaxMessageBodySize], ["/circle.cctp.v1.MsgSetMaxBurnAmountPerMessage", chunk7OIZPQJB_cjs.MsgSetMaxBurnAmountPerMessage], ["/circle.cctp.v1.MsgUpdateSignatureThreshold", chunk7OIZPQJB_cjs.MsgUpdateSignatureThreshold]];
|
|
38
36
|
|
|
39
37
|
// src/codegen/circle/cctp/v1/tx.amino.ts
|
|
40
38
|
var AminoConverter = {
|
|
41
39
|
"/circle.cctp.v1.MsgAcceptOwner": {
|
|
42
40
|
aminoType: "cctp/AcceptOwner",
|
|
43
|
-
toAmino:
|
|
44
|
-
fromAmino:
|
|
41
|
+
toAmino: chunk7OIZPQJB_cjs.MsgAcceptOwner.toAmino,
|
|
42
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgAcceptOwner.fromAmino
|
|
45
43
|
},
|
|
46
44
|
"/circle.cctp.v1.MsgAddRemoteTokenMessenger": {
|
|
47
45
|
aminoType: "cctp/AddRemoteTokenMessenger",
|
|
48
|
-
toAmino:
|
|
49
|
-
fromAmino:
|
|
46
|
+
toAmino: chunk7OIZPQJB_cjs.MsgAddRemoteTokenMessenger.toAmino,
|
|
47
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgAddRemoteTokenMessenger.fromAmino
|
|
50
48
|
},
|
|
51
49
|
"/circle.cctp.v1.MsgDepositForBurn": {
|
|
52
50
|
aminoType: "cctp/DepositForBurn",
|
|
53
|
-
toAmino:
|
|
54
|
-
fromAmino:
|
|
51
|
+
toAmino: chunk7OIZPQJB_cjs.MsgDepositForBurn.toAmino,
|
|
52
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgDepositForBurn.fromAmino
|
|
55
53
|
},
|
|
56
54
|
"/circle.cctp.v1.MsgDepositForBurnWithCaller": {
|
|
57
55
|
aminoType: "cctp/DepositForBurnWithCaller",
|
|
58
|
-
toAmino:
|
|
59
|
-
fromAmino:
|
|
56
|
+
toAmino: chunk7OIZPQJB_cjs.MsgDepositForBurnWithCaller.toAmino,
|
|
57
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgDepositForBurnWithCaller.fromAmino
|
|
60
58
|
},
|
|
61
59
|
"/circle.cctp.v1.MsgDisableAttester": {
|
|
62
60
|
aminoType: "cctp/DisableAttester",
|
|
63
|
-
toAmino:
|
|
64
|
-
fromAmino:
|
|
61
|
+
toAmino: chunk7OIZPQJB_cjs.MsgDisableAttester.toAmino,
|
|
62
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgDisableAttester.fromAmino
|
|
65
63
|
},
|
|
66
64
|
"/circle.cctp.v1.MsgEnableAttester": {
|
|
67
65
|
aminoType: "cctp/EnableAttester",
|
|
68
|
-
toAmino:
|
|
69
|
-
fromAmino:
|
|
66
|
+
toAmino: chunk7OIZPQJB_cjs.MsgEnableAttester.toAmino,
|
|
67
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgEnableAttester.fromAmino
|
|
70
68
|
},
|
|
71
69
|
"/circle.cctp.v1.MsgLinkTokenPair": {
|
|
72
70
|
aminoType: "cctp/LinkTokenPair",
|
|
73
|
-
toAmino:
|
|
74
|
-
fromAmino:
|
|
71
|
+
toAmino: chunk7OIZPQJB_cjs.MsgLinkTokenPair.toAmino,
|
|
72
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgLinkTokenPair.fromAmino
|
|
75
73
|
},
|
|
76
74
|
"/circle.cctp.v1.MsgPauseBurningAndMinting": {
|
|
77
75
|
aminoType: "cctp/PauseBurningAndMinting",
|
|
78
|
-
toAmino:
|
|
79
|
-
fromAmino:
|
|
76
|
+
toAmino: chunk7OIZPQJB_cjs.MsgPauseBurningAndMinting.toAmino,
|
|
77
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgPauseBurningAndMinting.fromAmino
|
|
80
78
|
},
|
|
81
79
|
"/circle.cctp.v1.MsgPauseSendingAndReceivingMessages": {
|
|
82
80
|
aminoType: "cctp/PauseSendingAndReceivingMessages",
|
|
83
|
-
toAmino:
|
|
84
|
-
fromAmino:
|
|
81
|
+
toAmino: chunk7OIZPQJB_cjs.MsgPauseSendingAndReceivingMessages.toAmino,
|
|
82
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgPauseSendingAndReceivingMessages.fromAmino
|
|
85
83
|
},
|
|
86
84
|
"/circle.cctp.v1.MsgReceiveMessage": {
|
|
87
85
|
aminoType: "cctp/ReceiveMessage",
|
|
88
|
-
toAmino:
|
|
89
|
-
fromAmino:
|
|
86
|
+
toAmino: chunk7OIZPQJB_cjs.MsgReceiveMessage.toAmino,
|
|
87
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgReceiveMessage.fromAmino
|
|
90
88
|
},
|
|
91
89
|
"/circle.cctp.v1.MsgRemoveRemoteTokenMessenger": {
|
|
92
90
|
aminoType: "cctp/RemoveRemoteTokenMessenger",
|
|
93
|
-
toAmino:
|
|
94
|
-
fromAmino:
|
|
91
|
+
toAmino: chunk7OIZPQJB_cjs.MsgRemoveRemoteTokenMessenger.toAmino,
|
|
92
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgRemoveRemoteTokenMessenger.fromAmino
|
|
95
93
|
},
|
|
96
94
|
"/circle.cctp.v1.MsgReplaceDepositForBurn": {
|
|
97
95
|
aminoType: "cctp/ReplaceDepositForBurn",
|
|
98
|
-
toAmino:
|
|
99
|
-
fromAmino:
|
|
96
|
+
toAmino: chunk7OIZPQJB_cjs.MsgReplaceDepositForBurn.toAmino,
|
|
97
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgReplaceDepositForBurn.fromAmino
|
|
100
98
|
},
|
|
101
99
|
"/circle.cctp.v1.MsgReplaceMessage": {
|
|
102
100
|
aminoType: "cctp/ReplaceMessage",
|
|
103
|
-
toAmino:
|
|
104
|
-
fromAmino:
|
|
101
|
+
toAmino: chunk7OIZPQJB_cjs.MsgReplaceMessage.toAmino,
|
|
102
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgReplaceMessage.fromAmino
|
|
105
103
|
},
|
|
106
104
|
"/circle.cctp.v1.MsgSendMessage": {
|
|
107
105
|
aminoType: "cctp/SendMessage",
|
|
108
|
-
toAmino:
|
|
109
|
-
fromAmino:
|
|
106
|
+
toAmino: chunk7OIZPQJB_cjs.MsgSendMessage.toAmino,
|
|
107
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgSendMessage.fromAmino
|
|
110
108
|
},
|
|
111
109
|
"/circle.cctp.v1.MsgSendMessageWithCaller": {
|
|
112
110
|
aminoType: "cctp/SendMessageWithCaller",
|
|
113
|
-
toAmino:
|
|
114
|
-
fromAmino:
|
|
111
|
+
toAmino: chunk7OIZPQJB_cjs.MsgSendMessageWithCaller.toAmino,
|
|
112
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgSendMessageWithCaller.fromAmino
|
|
115
113
|
},
|
|
116
114
|
"/circle.cctp.v1.MsgUnlinkTokenPair": {
|
|
117
115
|
aminoType: "cctp/UnlinkTokenPair",
|
|
118
|
-
toAmino:
|
|
119
|
-
fromAmino:
|
|
116
|
+
toAmino: chunk7OIZPQJB_cjs.MsgUnlinkTokenPair.toAmino,
|
|
117
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgUnlinkTokenPair.fromAmino
|
|
120
118
|
},
|
|
121
119
|
"/circle.cctp.v1.MsgUnpauseBurningAndMinting": {
|
|
122
120
|
aminoType: "cctp/UnpauseBurningAndMinting",
|
|
123
|
-
toAmino:
|
|
124
|
-
fromAmino:
|
|
121
|
+
toAmino: chunk7OIZPQJB_cjs.MsgUnpauseBurningAndMinting.toAmino,
|
|
122
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgUnpauseBurningAndMinting.fromAmino
|
|
125
123
|
},
|
|
126
124
|
"/circle.cctp.v1.MsgUnpauseSendingAndReceivingMessages": {
|
|
127
125
|
aminoType: "cctp/UnpauseSendingAndReceivingMessages",
|
|
128
|
-
toAmino:
|
|
129
|
-
fromAmino:
|
|
126
|
+
toAmino: chunk7OIZPQJB_cjs.MsgUnpauseSendingAndReceivingMessages.toAmino,
|
|
127
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgUnpauseSendingAndReceivingMessages.fromAmino
|
|
130
128
|
},
|
|
131
129
|
"/circle.cctp.v1.MsgUpdateOwner": {
|
|
132
130
|
aminoType: "cctp/UpdateOwner",
|
|
133
|
-
toAmino:
|
|
134
|
-
fromAmino:
|
|
131
|
+
toAmino: chunk7OIZPQJB_cjs.MsgUpdateOwner.toAmino,
|
|
132
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgUpdateOwner.fromAmino
|
|
135
133
|
},
|
|
136
134
|
"/circle.cctp.v1.MsgUpdateAttesterManager": {
|
|
137
135
|
aminoType: "cctp/UpdateAttesterManager",
|
|
138
|
-
toAmino:
|
|
139
|
-
fromAmino:
|
|
136
|
+
toAmino: chunk7OIZPQJB_cjs.MsgUpdateAttesterManager.toAmino,
|
|
137
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgUpdateAttesterManager.fromAmino
|
|
140
138
|
},
|
|
141
139
|
"/circle.cctp.v1.MsgUpdateTokenController": {
|
|
142
140
|
aminoType: "cctp/UpdateTokenController",
|
|
143
|
-
toAmino:
|
|
144
|
-
fromAmino:
|
|
141
|
+
toAmino: chunk7OIZPQJB_cjs.MsgUpdateTokenController.toAmino,
|
|
142
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgUpdateTokenController.fromAmino
|
|
145
143
|
},
|
|
146
144
|
"/circle.cctp.v1.MsgUpdatePauser": {
|
|
147
145
|
aminoType: "cctp/UpdatePauser",
|
|
148
|
-
toAmino:
|
|
149
|
-
fromAmino:
|
|
146
|
+
toAmino: chunk7OIZPQJB_cjs.MsgUpdatePauser.toAmino,
|
|
147
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgUpdatePauser.fromAmino
|
|
150
148
|
},
|
|
151
149
|
"/circle.cctp.v1.MsgUpdateMaxMessageBodySize": {
|
|
152
150
|
aminoType: "cctp/UpdateMaxMessageBodySize",
|
|
153
|
-
toAmino:
|
|
154
|
-
fromAmino:
|
|
151
|
+
toAmino: chunk7OIZPQJB_cjs.MsgUpdateMaxMessageBodySize.toAmino,
|
|
152
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgUpdateMaxMessageBodySize.fromAmino
|
|
155
153
|
},
|
|
156
154
|
"/circle.cctp.v1.MsgSetMaxBurnAmountPerMessage": {
|
|
157
155
|
aminoType: "cctp/SetMaxBurnAmountPerMessage",
|
|
158
|
-
toAmino:
|
|
159
|
-
fromAmino:
|
|
156
|
+
toAmino: chunk7OIZPQJB_cjs.MsgSetMaxBurnAmountPerMessage.toAmino,
|
|
157
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgSetMaxBurnAmountPerMessage.fromAmino
|
|
160
158
|
},
|
|
161
159
|
"/circle.cctp.v1.MsgUpdateSignatureThreshold": {
|
|
162
160
|
aminoType: "cctp/UpdateSignatureThreshold",
|
|
163
|
-
toAmino:
|
|
164
|
-
fromAmino:
|
|
161
|
+
toAmino: chunk7OIZPQJB_cjs.MsgUpdateSignatureThreshold.toAmino,
|
|
162
|
+
fromAmino: chunk7OIZPQJB_cjs.MsgUpdateSignatureThreshold.fromAmino
|
|
165
163
|
}
|
|
166
164
|
};
|
|
167
165
|
|
|
168
166
|
// src/codegen/circle/client.ts
|
|
169
|
-
var circleAminoConverters =
|
|
167
|
+
var circleAminoConverters = {
|
|
168
|
+
...AminoConverter
|
|
169
|
+
};
|
|
170
170
|
var circleProtoRegistry = [...registry];
|
|
171
171
|
function createBaseParams() {
|
|
172
172
|
return {
|
|
@@ -207,8 +207,8 @@ var Params = {
|
|
|
207
207
|
},
|
|
208
208
|
fromJSON(object) {
|
|
209
209
|
return {
|
|
210
|
-
enableErc20:
|
|
211
|
-
enableEvmHook:
|
|
210
|
+
enableErc20: chunk7OIZPQJB_cjs.isSet(object.enableErc20) ? Boolean(object.enableErc20) : false,
|
|
211
|
+
enableEvmHook: chunk7OIZPQJB_cjs.isSet(object.enableEvmHook) ? Boolean(object.enableEvmHook) : false
|
|
212
212
|
};
|
|
213
213
|
},
|
|
214
214
|
toJSON(message) {
|
|
@@ -218,10 +218,9 @@ var Params = {
|
|
|
218
218
|
return obj;
|
|
219
219
|
},
|
|
220
220
|
fromPartial(object) {
|
|
221
|
-
var _a, _b;
|
|
222
221
|
const message = createBaseParams();
|
|
223
|
-
message.enableErc20 =
|
|
224
|
-
message.enableEvmHook =
|
|
222
|
+
message.enableErc20 = object.enableErc20 ?? false;
|
|
223
|
+
message.enableEvmHook = object.enableEvmHook ?? false;
|
|
225
224
|
return message;
|
|
226
225
|
},
|
|
227
226
|
fromAmino(object) {
|
|
@@ -264,7 +263,7 @@ var Params = {
|
|
|
264
263
|
};
|
|
265
264
|
function createBaseMsgConvertCoin() {
|
|
266
265
|
return {
|
|
267
|
-
coin:
|
|
266
|
+
coin: chunk7OIZPQJB_cjs.Coin.fromPartial({}),
|
|
268
267
|
receiver: "",
|
|
269
268
|
sender: ""
|
|
270
269
|
};
|
|
@@ -273,7 +272,7 @@ var MsgConvertCoin = {
|
|
|
273
272
|
typeUrl: "/evmos.erc20.v1.MsgConvertCoin",
|
|
274
273
|
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
275
274
|
if (message.coin !== void 0) {
|
|
276
|
-
|
|
275
|
+
chunk7OIZPQJB_cjs.Coin.encode(message.coin, writer.uint32(10).fork()).ldelim();
|
|
277
276
|
}
|
|
278
277
|
if (message.receiver !== "") {
|
|
279
278
|
writer.uint32(18).string(message.receiver);
|
|
@@ -291,7 +290,7 @@ var MsgConvertCoin = {
|
|
|
291
290
|
const tag = reader.uint32();
|
|
292
291
|
switch (tag >>> 3) {
|
|
293
292
|
case 1:
|
|
294
|
-
message.coin =
|
|
293
|
+
message.coin = chunk7OIZPQJB_cjs.Coin.decode(reader, reader.uint32());
|
|
295
294
|
break;
|
|
296
295
|
case 2:
|
|
297
296
|
message.receiver = reader.string();
|
|
@@ -308,30 +307,29 @@ var MsgConvertCoin = {
|
|
|
308
307
|
},
|
|
309
308
|
fromJSON(object) {
|
|
310
309
|
return {
|
|
311
|
-
coin:
|
|
312
|
-
receiver:
|
|
313
|
-
sender:
|
|
310
|
+
coin: chunk7OIZPQJB_cjs.isSet(object.coin) ? chunk7OIZPQJB_cjs.Coin.fromJSON(object.coin) : void 0,
|
|
311
|
+
receiver: chunk7OIZPQJB_cjs.isSet(object.receiver) ? String(object.receiver) : "",
|
|
312
|
+
sender: chunk7OIZPQJB_cjs.isSet(object.sender) ? String(object.sender) : ""
|
|
314
313
|
};
|
|
315
314
|
},
|
|
316
315
|
toJSON(message) {
|
|
317
316
|
const obj = {};
|
|
318
|
-
message.coin !== void 0 && (obj.coin = message.coin ?
|
|
317
|
+
message.coin !== void 0 && (obj.coin = message.coin ? chunk7OIZPQJB_cjs.Coin.toJSON(message.coin) : void 0);
|
|
319
318
|
message.receiver !== void 0 && (obj.receiver = message.receiver);
|
|
320
319
|
message.sender !== void 0 && (obj.sender = message.sender);
|
|
321
320
|
return obj;
|
|
322
321
|
},
|
|
323
322
|
fromPartial(object) {
|
|
324
|
-
var _a, _b;
|
|
325
323
|
const message = createBaseMsgConvertCoin();
|
|
326
|
-
message.coin = object.coin !== void 0 && object.coin !== null ?
|
|
327
|
-
message.receiver =
|
|
328
|
-
message.sender =
|
|
324
|
+
message.coin = object.coin !== void 0 && object.coin !== null ? chunk7OIZPQJB_cjs.Coin.fromPartial(object.coin) : void 0;
|
|
325
|
+
message.receiver = object.receiver ?? "";
|
|
326
|
+
message.sender = object.sender ?? "";
|
|
329
327
|
return message;
|
|
330
328
|
},
|
|
331
329
|
fromAmino(object) {
|
|
332
330
|
const message = createBaseMsgConvertCoin();
|
|
333
331
|
if (object.coin !== void 0 && object.coin !== null) {
|
|
334
|
-
message.coin =
|
|
332
|
+
message.coin = chunk7OIZPQJB_cjs.Coin.fromAmino(object.coin);
|
|
335
333
|
}
|
|
336
334
|
if (object.receiver !== void 0 && object.receiver !== null) {
|
|
337
335
|
message.receiver = object.receiver;
|
|
@@ -343,7 +341,7 @@ var MsgConvertCoin = {
|
|
|
343
341
|
},
|
|
344
342
|
toAmino(message) {
|
|
345
343
|
const obj = {};
|
|
346
|
-
obj.coin = message.coin ?
|
|
344
|
+
obj.coin = message.coin ? chunk7OIZPQJB_cjs.Coin.toAmino(message.coin) : void 0;
|
|
347
345
|
obj.receiver = message.receiver === "" ? void 0 : message.receiver;
|
|
348
346
|
obj.sender = message.sender === "" ? void 0 : message.sender;
|
|
349
347
|
return obj;
|
|
@@ -423,10 +421,10 @@ var MsgConvertERC20 = {
|
|
|
423
421
|
},
|
|
424
422
|
fromJSON(object) {
|
|
425
423
|
return {
|
|
426
|
-
contractAddress:
|
|
427
|
-
amount:
|
|
428
|
-
receiver:
|
|
429
|
-
sender:
|
|
424
|
+
contractAddress: chunk7OIZPQJB_cjs.isSet(object.contractAddress) ? String(object.contractAddress) : "",
|
|
425
|
+
amount: chunk7OIZPQJB_cjs.isSet(object.amount) ? String(object.amount) : "",
|
|
426
|
+
receiver: chunk7OIZPQJB_cjs.isSet(object.receiver) ? String(object.receiver) : "",
|
|
427
|
+
sender: chunk7OIZPQJB_cjs.isSet(object.sender) ? String(object.sender) : ""
|
|
430
428
|
};
|
|
431
429
|
},
|
|
432
430
|
toJSON(message) {
|
|
@@ -438,12 +436,11 @@ var MsgConvertERC20 = {
|
|
|
438
436
|
return obj;
|
|
439
437
|
},
|
|
440
438
|
fromPartial(object) {
|
|
441
|
-
var _a, _b, _c, _d;
|
|
442
439
|
const message = createBaseMsgConvertERC20();
|
|
443
|
-
message.contractAddress =
|
|
444
|
-
message.amount =
|
|
445
|
-
message.receiver =
|
|
446
|
-
message.sender =
|
|
440
|
+
message.contractAddress = object.contractAddress ?? "";
|
|
441
|
+
message.amount = object.amount ?? "";
|
|
442
|
+
message.receiver = object.receiver ?? "";
|
|
443
|
+
message.sender = object.sender ?? "";
|
|
447
444
|
return message;
|
|
448
445
|
},
|
|
449
446
|
fromAmino(object) {
|
|
@@ -531,8 +528,8 @@ var MsgUpdateParams = {
|
|
|
531
528
|
},
|
|
532
529
|
fromJSON(object) {
|
|
533
530
|
return {
|
|
534
|
-
authority:
|
|
535
|
-
params:
|
|
531
|
+
authority: chunk7OIZPQJB_cjs.isSet(object.authority) ? String(object.authority) : "",
|
|
532
|
+
params: chunk7OIZPQJB_cjs.isSet(object.params) ? Params.fromJSON(object.params) : void 0
|
|
536
533
|
};
|
|
537
534
|
},
|
|
538
535
|
toJSON(message) {
|
|
@@ -542,9 +539,8 @@ var MsgUpdateParams = {
|
|
|
542
539
|
return obj;
|
|
543
540
|
},
|
|
544
541
|
fromPartial(object) {
|
|
545
|
-
var _a;
|
|
546
542
|
const message = createBaseMsgUpdateParams();
|
|
547
|
-
message.authority =
|
|
543
|
+
message.authority = object.authority ?? "";
|
|
548
544
|
message.params = object.params !== void 0 && object.params !== null ? Params.fromPartial(object.params) : void 0;
|
|
549
545
|
return message;
|
|
550
546
|
},
|
|
@@ -635,9 +631,9 @@ var InflationDistribution = {
|
|
|
635
631
|
},
|
|
636
632
|
fromJSON(object) {
|
|
637
633
|
return {
|
|
638
|
-
stakingRewards:
|
|
639
|
-
usageIncentives:
|
|
640
|
-
communityPool:
|
|
634
|
+
stakingRewards: chunk7OIZPQJB_cjs.isSet(object.stakingRewards) ? String(object.stakingRewards) : "",
|
|
635
|
+
usageIncentives: chunk7OIZPQJB_cjs.isSet(object.usageIncentives) ? String(object.usageIncentives) : "",
|
|
636
|
+
communityPool: chunk7OIZPQJB_cjs.isSet(object.communityPool) ? String(object.communityPool) : ""
|
|
641
637
|
};
|
|
642
638
|
},
|
|
643
639
|
toJSON(message) {
|
|
@@ -648,11 +644,10 @@ var InflationDistribution = {
|
|
|
648
644
|
return obj;
|
|
649
645
|
},
|
|
650
646
|
fromPartial(object) {
|
|
651
|
-
var _a, _b, _c;
|
|
652
647
|
const message = createBaseInflationDistribution();
|
|
653
|
-
message.stakingRewards =
|
|
654
|
-
message.usageIncentives =
|
|
655
|
-
message.communityPool =
|
|
648
|
+
message.stakingRewards = object.stakingRewards ?? "";
|
|
649
|
+
message.usageIncentives = object.usageIncentives ?? "";
|
|
650
|
+
message.communityPool = object.communityPool ?? "";
|
|
656
651
|
return message;
|
|
657
652
|
},
|
|
658
653
|
fromAmino(object) {
|
|
@@ -670,9 +665,9 @@ var InflationDistribution = {
|
|
|
670
665
|
},
|
|
671
666
|
toAmino(message) {
|
|
672
667
|
const obj = {};
|
|
673
|
-
obj.staking_rewards =
|
|
674
|
-
obj.usage_incentives =
|
|
675
|
-
obj.community_pool =
|
|
668
|
+
obj.staking_rewards = chunk7OIZPQJB_cjs.padDecimal(message.stakingRewards) === "" ? void 0 : chunk7OIZPQJB_cjs.padDecimal(message.stakingRewards);
|
|
669
|
+
obj.usage_incentives = chunk7OIZPQJB_cjs.padDecimal(message.usageIncentives) === "" ? void 0 : chunk7OIZPQJB_cjs.padDecimal(message.usageIncentives);
|
|
670
|
+
obj.community_pool = chunk7OIZPQJB_cjs.padDecimal(message.communityPool) === "" ? void 0 : chunk7OIZPQJB_cjs.padDecimal(message.communityPool);
|
|
676
671
|
return obj;
|
|
677
672
|
},
|
|
678
673
|
fromAminoMsg(object) {
|
|
@@ -757,11 +752,11 @@ var ExponentialCalculation = {
|
|
|
757
752
|
},
|
|
758
753
|
fromJSON(object) {
|
|
759
754
|
return {
|
|
760
|
-
a:
|
|
761
|
-
r:
|
|
762
|
-
c:
|
|
763
|
-
bondingTarget:
|
|
764
|
-
maxVariance:
|
|
755
|
+
a: chunk7OIZPQJB_cjs.isSet(object.a) ? String(object.a) : "",
|
|
756
|
+
r: chunk7OIZPQJB_cjs.isSet(object.r) ? String(object.r) : "",
|
|
757
|
+
c: chunk7OIZPQJB_cjs.isSet(object.c) ? String(object.c) : "",
|
|
758
|
+
bondingTarget: chunk7OIZPQJB_cjs.isSet(object.bondingTarget) ? String(object.bondingTarget) : "",
|
|
759
|
+
maxVariance: chunk7OIZPQJB_cjs.isSet(object.maxVariance) ? String(object.maxVariance) : ""
|
|
765
760
|
};
|
|
766
761
|
},
|
|
767
762
|
toJSON(message) {
|
|
@@ -774,13 +769,12 @@ var ExponentialCalculation = {
|
|
|
774
769
|
return obj;
|
|
775
770
|
},
|
|
776
771
|
fromPartial(object) {
|
|
777
|
-
var _a, _b, _c, _d, _e;
|
|
778
772
|
const message = createBaseExponentialCalculation();
|
|
779
|
-
message.a =
|
|
780
|
-
message.r =
|
|
781
|
-
message.c =
|
|
782
|
-
message.bondingTarget =
|
|
783
|
-
message.maxVariance =
|
|
773
|
+
message.a = object.a ?? "";
|
|
774
|
+
message.r = object.r ?? "";
|
|
775
|
+
message.c = object.c ?? "";
|
|
776
|
+
message.bondingTarget = object.bondingTarget ?? "";
|
|
777
|
+
message.maxVariance = object.maxVariance ?? "";
|
|
784
778
|
return message;
|
|
785
779
|
},
|
|
786
780
|
fromAmino(object) {
|
|
@@ -804,11 +798,11 @@ var ExponentialCalculation = {
|
|
|
804
798
|
},
|
|
805
799
|
toAmino(message) {
|
|
806
800
|
const obj = {};
|
|
807
|
-
obj.a =
|
|
808
|
-
obj.r =
|
|
809
|
-
obj.c =
|
|
810
|
-
obj.bonding_target =
|
|
811
|
-
obj.max_variance =
|
|
801
|
+
obj.a = chunk7OIZPQJB_cjs.padDecimal(message.a) === "" ? void 0 : chunk7OIZPQJB_cjs.padDecimal(message.a);
|
|
802
|
+
obj.r = chunk7OIZPQJB_cjs.padDecimal(message.r) === "" ? void 0 : chunk7OIZPQJB_cjs.padDecimal(message.r);
|
|
803
|
+
obj.c = chunk7OIZPQJB_cjs.padDecimal(message.c) === "" ? void 0 : chunk7OIZPQJB_cjs.padDecimal(message.c);
|
|
804
|
+
obj.bonding_target = chunk7OIZPQJB_cjs.padDecimal(message.bondingTarget) === "" ? void 0 : chunk7OIZPQJB_cjs.padDecimal(message.bondingTarget);
|
|
805
|
+
obj.max_variance = chunk7OIZPQJB_cjs.padDecimal(message.maxVariance) === "" ? void 0 : chunk7OIZPQJB_cjs.padDecimal(message.maxVariance);
|
|
812
806
|
return obj;
|
|
813
807
|
},
|
|
814
808
|
fromAminoMsg(object) {
|
|
@@ -886,10 +880,10 @@ var Params2 = {
|
|
|
886
880
|
},
|
|
887
881
|
fromJSON(object) {
|
|
888
882
|
return {
|
|
889
|
-
mintDenom:
|
|
890
|
-
exponentialCalculation:
|
|
891
|
-
inflationDistribution:
|
|
892
|
-
enableInflation:
|
|
883
|
+
mintDenom: chunk7OIZPQJB_cjs.isSet(object.mintDenom) ? String(object.mintDenom) : "",
|
|
884
|
+
exponentialCalculation: chunk7OIZPQJB_cjs.isSet(object.exponentialCalculation) ? ExponentialCalculation.fromJSON(object.exponentialCalculation) : void 0,
|
|
885
|
+
inflationDistribution: chunk7OIZPQJB_cjs.isSet(object.inflationDistribution) ? InflationDistribution.fromJSON(object.inflationDistribution) : void 0,
|
|
886
|
+
enableInflation: chunk7OIZPQJB_cjs.isSet(object.enableInflation) ? Boolean(object.enableInflation) : false
|
|
893
887
|
};
|
|
894
888
|
},
|
|
895
889
|
toJSON(message) {
|
|
@@ -901,12 +895,11 @@ var Params2 = {
|
|
|
901
895
|
return obj;
|
|
902
896
|
},
|
|
903
897
|
fromPartial(object) {
|
|
904
|
-
var _a, _b;
|
|
905
898
|
const message = createBaseParams2();
|
|
906
|
-
message.mintDenom =
|
|
899
|
+
message.mintDenom = object.mintDenom ?? "";
|
|
907
900
|
message.exponentialCalculation = object.exponentialCalculation !== void 0 && object.exponentialCalculation !== null ? ExponentialCalculation.fromPartial(object.exponentialCalculation) : void 0;
|
|
908
901
|
message.inflationDistribution = object.inflationDistribution !== void 0 && object.inflationDistribution !== null ? InflationDistribution.fromPartial(object.inflationDistribution) : void 0;
|
|
909
|
-
message.enableInflation =
|
|
902
|
+
message.enableInflation = object.enableInflation ?? false;
|
|
910
903
|
return message;
|
|
911
904
|
},
|
|
912
905
|
fromAmino(object) {
|
|
@@ -994,8 +987,8 @@ var MsgUpdateParams2 = {
|
|
|
994
987
|
},
|
|
995
988
|
fromJSON(object) {
|
|
996
989
|
return {
|
|
997
|
-
authority:
|
|
998
|
-
params:
|
|
990
|
+
authority: chunk7OIZPQJB_cjs.isSet(object.authority) ? String(object.authority) : "",
|
|
991
|
+
params: chunk7OIZPQJB_cjs.isSet(object.params) ? Params2.fromJSON(object.params) : void 0
|
|
999
992
|
};
|
|
1000
993
|
},
|
|
1001
994
|
toJSON(message) {
|
|
@@ -1005,9 +998,8 @@ var MsgUpdateParams2 = {
|
|
|
1005
998
|
return obj;
|
|
1006
999
|
},
|
|
1007
1000
|
fromPartial(object) {
|
|
1008
|
-
var _a;
|
|
1009
1001
|
const message = createBaseMsgUpdateParams2();
|
|
1010
|
-
message.authority =
|
|
1002
|
+
message.authority = object.authority ?? "";
|
|
1011
1003
|
message.params = object.params !== void 0 && object.params !== null ? Params2.fromPartial(object.params) : void 0;
|
|
1012
1004
|
return message;
|
|
1013
1005
|
},
|
|
@@ -1056,7 +1048,7 @@ function createBaseParams3() {
|
|
|
1056
1048
|
return {
|
|
1057
1049
|
enableRevenue: false,
|
|
1058
1050
|
developerShares: "",
|
|
1059
|
-
addrDerivationCostCreate:
|
|
1051
|
+
addrDerivationCostCreate: chunk7OIZPQJB_cjs.Long.UZERO
|
|
1060
1052
|
};
|
|
1061
1053
|
}
|
|
1062
1054
|
var Params3 = {
|
|
@@ -1098,24 +1090,23 @@ var Params3 = {
|
|
|
1098
1090
|
},
|
|
1099
1091
|
fromJSON(object) {
|
|
1100
1092
|
return {
|
|
1101
|
-
enableRevenue:
|
|
1102
|
-
developerShares:
|
|
1103
|
-
addrDerivationCostCreate:
|
|
1093
|
+
enableRevenue: chunk7OIZPQJB_cjs.isSet(object.enableRevenue) ? Boolean(object.enableRevenue) : false,
|
|
1094
|
+
developerShares: chunk7OIZPQJB_cjs.isSet(object.developerShares) ? String(object.developerShares) : "",
|
|
1095
|
+
addrDerivationCostCreate: chunk7OIZPQJB_cjs.isSet(object.addrDerivationCostCreate) ? chunk7OIZPQJB_cjs.Long.fromValue(object.addrDerivationCostCreate) : chunk7OIZPQJB_cjs.Long.UZERO
|
|
1104
1096
|
};
|
|
1105
1097
|
},
|
|
1106
1098
|
toJSON(message) {
|
|
1107
1099
|
const obj = {};
|
|
1108
1100
|
message.enableRevenue !== void 0 && (obj.enableRevenue = message.enableRevenue);
|
|
1109
1101
|
message.developerShares !== void 0 && (obj.developerShares = message.developerShares);
|
|
1110
|
-
message.addrDerivationCostCreate !== void 0 && (obj.addrDerivationCostCreate = (message.addrDerivationCostCreate ||
|
|
1102
|
+
message.addrDerivationCostCreate !== void 0 && (obj.addrDerivationCostCreate = (message.addrDerivationCostCreate || chunk7OIZPQJB_cjs.Long.UZERO).toString());
|
|
1111
1103
|
return obj;
|
|
1112
1104
|
},
|
|
1113
1105
|
fromPartial(object) {
|
|
1114
|
-
var _a, _b;
|
|
1115
1106
|
const message = createBaseParams3();
|
|
1116
|
-
message.enableRevenue =
|
|
1117
|
-
message.developerShares =
|
|
1118
|
-
message.addrDerivationCostCreate = object.addrDerivationCostCreate !== void 0 && object.addrDerivationCostCreate !== null ?
|
|
1107
|
+
message.enableRevenue = object.enableRevenue ?? false;
|
|
1108
|
+
message.developerShares = object.developerShares ?? "";
|
|
1109
|
+
message.addrDerivationCostCreate = object.addrDerivationCostCreate !== void 0 && object.addrDerivationCostCreate !== null ? chunk7OIZPQJB_cjs.Long.fromValue(object.addrDerivationCostCreate) : chunk7OIZPQJB_cjs.Long.UZERO;
|
|
1119
1110
|
return message;
|
|
1120
1111
|
},
|
|
1121
1112
|
fromAmino(object) {
|
|
@@ -1127,14 +1118,14 @@ var Params3 = {
|
|
|
1127
1118
|
message.developerShares = object.developer_shares;
|
|
1128
1119
|
}
|
|
1129
1120
|
if (object.addr_derivation_cost_create !== void 0 && object.addr_derivation_cost_create !== null) {
|
|
1130
|
-
message.addrDerivationCostCreate =
|
|
1121
|
+
message.addrDerivationCostCreate = chunk7OIZPQJB_cjs.Long.fromString(object.addr_derivation_cost_create);
|
|
1131
1122
|
}
|
|
1132
1123
|
return message;
|
|
1133
1124
|
},
|
|
1134
1125
|
toAmino(message) {
|
|
1135
1126
|
const obj = {};
|
|
1136
1127
|
obj.enable_revenue = message.enableRevenue === false ? void 0 : message.enableRevenue;
|
|
1137
|
-
obj.developer_shares =
|
|
1128
|
+
obj.developer_shares = chunk7OIZPQJB_cjs.padDecimal(message.developerShares) === "" ? void 0 : chunk7OIZPQJB_cjs.padDecimal(message.developerShares);
|
|
1138
1129
|
obj.addr_derivation_cost_create = !message.addrDerivationCostCreate.isZero() ? message.addrDerivationCostCreate.toString() : void 0;
|
|
1139
1130
|
return obj;
|
|
1140
1131
|
},
|
|
@@ -1222,10 +1213,10 @@ var MsgRegisterRevenue = {
|
|
|
1222
1213
|
},
|
|
1223
1214
|
fromJSON(object) {
|
|
1224
1215
|
return {
|
|
1225
|
-
contractAddress:
|
|
1226
|
-
deployerAddress:
|
|
1227
|
-
withdrawerAddress:
|
|
1228
|
-
nonces: Array.isArray(object
|
|
1216
|
+
contractAddress: chunk7OIZPQJB_cjs.isSet(object.contractAddress) ? String(object.contractAddress) : "",
|
|
1217
|
+
deployerAddress: chunk7OIZPQJB_cjs.isSet(object.deployerAddress) ? String(object.deployerAddress) : "",
|
|
1218
|
+
withdrawerAddress: chunk7OIZPQJB_cjs.isSet(object.withdrawerAddress) ? String(object.withdrawerAddress) : "",
|
|
1219
|
+
nonces: Array.isArray(object?.nonces) ? object.nonces.map((e) => chunk7OIZPQJB_cjs.Long.fromValue(e)) : []
|
|
1229
1220
|
};
|
|
1230
1221
|
},
|
|
1231
1222
|
toJSON(message) {
|
|
@@ -1234,23 +1225,21 @@ var MsgRegisterRevenue = {
|
|
|
1234
1225
|
message.deployerAddress !== void 0 && (obj.deployerAddress = message.deployerAddress);
|
|
1235
1226
|
message.withdrawerAddress !== void 0 && (obj.withdrawerAddress = message.withdrawerAddress);
|
|
1236
1227
|
if (message.nonces) {
|
|
1237
|
-
obj.nonces = message.nonces.map((e) => (e ||
|
|
1228
|
+
obj.nonces = message.nonces.map((e) => (e || chunk7OIZPQJB_cjs.Long.UZERO).toString());
|
|
1238
1229
|
} else {
|
|
1239
1230
|
obj.nonces = [];
|
|
1240
1231
|
}
|
|
1241
1232
|
return obj;
|
|
1242
1233
|
},
|
|
1243
1234
|
fromPartial(object) {
|
|
1244
|
-
var _a, _b, _c, _d;
|
|
1245
1235
|
const message = createBaseMsgRegisterRevenue();
|
|
1246
|
-
message.contractAddress =
|
|
1247
|
-
message.deployerAddress =
|
|
1248
|
-
message.withdrawerAddress =
|
|
1249
|
-
message.nonces =
|
|
1236
|
+
message.contractAddress = object.contractAddress ?? "";
|
|
1237
|
+
message.deployerAddress = object.deployerAddress ?? "";
|
|
1238
|
+
message.withdrawerAddress = object.withdrawerAddress ?? "";
|
|
1239
|
+
message.nonces = object.nonces?.map((e) => chunk7OIZPQJB_cjs.Long.fromValue(e)) || [];
|
|
1250
1240
|
return message;
|
|
1251
1241
|
},
|
|
1252
1242
|
fromAmino(object) {
|
|
1253
|
-
var _a;
|
|
1254
1243
|
const message = createBaseMsgRegisterRevenue();
|
|
1255
1244
|
if (object.contract_address !== void 0 && object.contract_address !== null) {
|
|
1256
1245
|
message.contractAddress = object.contract_address;
|
|
@@ -1261,7 +1250,7 @@ var MsgRegisterRevenue = {
|
|
|
1261
1250
|
if (object.withdrawer_address !== void 0 && object.withdrawer_address !== null) {
|
|
1262
1251
|
message.withdrawerAddress = object.withdrawer_address;
|
|
1263
1252
|
}
|
|
1264
|
-
message.nonces =
|
|
1253
|
+
message.nonces = object.nonces?.map((e) => chunk7OIZPQJB_cjs.Long.fromString(e)) || [];
|
|
1265
1254
|
return message;
|
|
1266
1255
|
},
|
|
1267
1256
|
toAmino(message) {
|
|
@@ -1344,9 +1333,9 @@ var MsgUpdateRevenue = {
|
|
|
1344
1333
|
},
|
|
1345
1334
|
fromJSON(object) {
|
|
1346
1335
|
return {
|
|
1347
|
-
contractAddress:
|
|
1348
|
-
deployerAddress:
|
|
1349
|
-
withdrawerAddress:
|
|
1336
|
+
contractAddress: chunk7OIZPQJB_cjs.isSet(object.contractAddress) ? String(object.contractAddress) : "",
|
|
1337
|
+
deployerAddress: chunk7OIZPQJB_cjs.isSet(object.deployerAddress) ? String(object.deployerAddress) : "",
|
|
1338
|
+
withdrawerAddress: chunk7OIZPQJB_cjs.isSet(object.withdrawerAddress) ? String(object.withdrawerAddress) : ""
|
|
1350
1339
|
};
|
|
1351
1340
|
},
|
|
1352
1341
|
toJSON(message) {
|
|
@@ -1357,11 +1346,10 @@ var MsgUpdateRevenue = {
|
|
|
1357
1346
|
return obj;
|
|
1358
1347
|
},
|
|
1359
1348
|
fromPartial(object) {
|
|
1360
|
-
var _a, _b, _c;
|
|
1361
1349
|
const message = createBaseMsgUpdateRevenue();
|
|
1362
|
-
message.contractAddress =
|
|
1363
|
-
message.deployerAddress =
|
|
1364
|
-
message.withdrawerAddress =
|
|
1350
|
+
message.contractAddress = object.contractAddress ?? "";
|
|
1351
|
+
message.deployerAddress = object.deployerAddress ?? "";
|
|
1352
|
+
message.withdrawerAddress = object.withdrawerAddress ?? "";
|
|
1365
1353
|
return message;
|
|
1366
1354
|
},
|
|
1367
1355
|
fromAmino(object) {
|
|
@@ -1445,8 +1433,8 @@ var MsgCancelRevenue = {
|
|
|
1445
1433
|
},
|
|
1446
1434
|
fromJSON(object) {
|
|
1447
1435
|
return {
|
|
1448
|
-
contractAddress:
|
|
1449
|
-
deployerAddress:
|
|
1436
|
+
contractAddress: chunk7OIZPQJB_cjs.isSet(object.contractAddress) ? String(object.contractAddress) : "",
|
|
1437
|
+
deployerAddress: chunk7OIZPQJB_cjs.isSet(object.deployerAddress) ? String(object.deployerAddress) : ""
|
|
1450
1438
|
};
|
|
1451
1439
|
},
|
|
1452
1440
|
toJSON(message) {
|
|
@@ -1456,10 +1444,9 @@ var MsgCancelRevenue = {
|
|
|
1456
1444
|
return obj;
|
|
1457
1445
|
},
|
|
1458
1446
|
fromPartial(object) {
|
|
1459
|
-
var _a, _b;
|
|
1460
1447
|
const message = createBaseMsgCancelRevenue();
|
|
1461
|
-
message.contractAddress =
|
|
1462
|
-
message.deployerAddress =
|
|
1448
|
+
message.contractAddress = object.contractAddress ?? "";
|
|
1449
|
+
message.deployerAddress = object.deployerAddress ?? "";
|
|
1463
1450
|
return message;
|
|
1464
1451
|
},
|
|
1465
1452
|
fromAmino(object) {
|
|
@@ -1539,8 +1526,8 @@ var MsgUpdateParams3 = {
|
|
|
1539
1526
|
},
|
|
1540
1527
|
fromJSON(object) {
|
|
1541
1528
|
return {
|
|
1542
|
-
authority:
|
|
1543
|
-
params:
|
|
1529
|
+
authority: chunk7OIZPQJB_cjs.isSet(object.authority) ? String(object.authority) : "",
|
|
1530
|
+
params: chunk7OIZPQJB_cjs.isSet(object.params) ? Params3.fromJSON(object.params) : void 0
|
|
1544
1531
|
};
|
|
1545
1532
|
},
|
|
1546
1533
|
toJSON(message) {
|
|
@@ -1550,9 +1537,8 @@ var MsgUpdateParams3 = {
|
|
|
1550
1537
|
return obj;
|
|
1551
1538
|
},
|
|
1552
1539
|
fromPartial(object) {
|
|
1553
|
-
var _a;
|
|
1554
1540
|
const message = createBaseMsgUpdateParams3();
|
|
1555
|
-
message.authority =
|
|
1541
|
+
message.authority = object.authority ?? "";
|
|
1556
1542
|
message.params = object.params !== void 0 && object.params !== null ? Params3.fromPartial(object.params) : void 0;
|
|
1557
1543
|
return message;
|
|
1558
1544
|
},
|
|
@@ -1643,9 +1629,9 @@ var MsgCreateClawbackVestingAccount = {
|
|
|
1643
1629
|
},
|
|
1644
1630
|
fromJSON(object) {
|
|
1645
1631
|
return {
|
|
1646
|
-
funderAddress:
|
|
1647
|
-
vestingAddress:
|
|
1648
|
-
enableGovClawback:
|
|
1632
|
+
funderAddress: chunk7OIZPQJB_cjs.isSet(object.funderAddress) ? String(object.funderAddress) : "",
|
|
1633
|
+
vestingAddress: chunk7OIZPQJB_cjs.isSet(object.vestingAddress) ? String(object.vestingAddress) : "",
|
|
1634
|
+
enableGovClawback: chunk7OIZPQJB_cjs.isSet(object.enableGovClawback) ? Boolean(object.enableGovClawback) : false
|
|
1649
1635
|
};
|
|
1650
1636
|
},
|
|
1651
1637
|
toJSON(message) {
|
|
@@ -1656,11 +1642,10 @@ var MsgCreateClawbackVestingAccount = {
|
|
|
1656
1642
|
return obj;
|
|
1657
1643
|
},
|
|
1658
1644
|
fromPartial(object) {
|
|
1659
|
-
var _a, _b, _c;
|
|
1660
1645
|
const message = createBaseMsgCreateClawbackVestingAccount();
|
|
1661
|
-
message.funderAddress =
|
|
1662
|
-
message.vestingAddress =
|
|
1663
|
-
message.enableGovClawback =
|
|
1646
|
+
message.funderAddress = object.funderAddress ?? "";
|
|
1647
|
+
message.vestingAddress = object.vestingAddress ?? "";
|
|
1648
|
+
message.enableGovClawback = object.enableGovClawback ?? false;
|
|
1664
1649
|
return message;
|
|
1665
1650
|
},
|
|
1666
1651
|
fromAmino(object) {
|
|
@@ -1724,13 +1709,13 @@ var MsgFundVestingAccount = {
|
|
|
1724
1709
|
writer.uint32(18).string(message.vestingAddress);
|
|
1725
1710
|
}
|
|
1726
1711
|
if (message.startTime !== void 0) {
|
|
1727
|
-
|
|
1712
|
+
chunk7OIZPQJB_cjs.Timestamp.encode(chunk7OIZPQJB_cjs.toTimestamp(message.startTime), writer.uint32(26).fork()).ldelim();
|
|
1728
1713
|
}
|
|
1729
1714
|
for (const v of message.lockupPeriods) {
|
|
1730
|
-
|
|
1715
|
+
chunk7OIZPQJB_cjs.Period.encode(v, writer.uint32(34).fork()).ldelim();
|
|
1731
1716
|
}
|
|
1732
1717
|
for (const v of message.vestingPeriods) {
|
|
1733
|
-
|
|
1718
|
+
chunk7OIZPQJB_cjs.Period.encode(v, writer.uint32(42).fork()).ldelim();
|
|
1734
1719
|
}
|
|
1735
1720
|
return writer;
|
|
1736
1721
|
},
|
|
@@ -1748,13 +1733,13 @@ var MsgFundVestingAccount = {
|
|
|
1748
1733
|
message.vestingAddress = reader.string();
|
|
1749
1734
|
break;
|
|
1750
1735
|
case 3:
|
|
1751
|
-
message.startTime =
|
|
1736
|
+
message.startTime = chunk7OIZPQJB_cjs.fromTimestamp(chunk7OIZPQJB_cjs.Timestamp.decode(reader, reader.uint32()));
|
|
1752
1737
|
break;
|
|
1753
1738
|
case 4:
|
|
1754
|
-
message.lockupPeriods.push(
|
|
1739
|
+
message.lockupPeriods.push(chunk7OIZPQJB_cjs.Period.decode(reader, reader.uint32()));
|
|
1755
1740
|
break;
|
|
1756
1741
|
case 5:
|
|
1757
|
-
message.vestingPeriods.push(
|
|
1742
|
+
message.vestingPeriods.push(chunk7OIZPQJB_cjs.Period.decode(reader, reader.uint32()));
|
|
1758
1743
|
break;
|
|
1759
1744
|
default:
|
|
1760
1745
|
reader.skipType(tag & 7);
|
|
@@ -1765,11 +1750,11 @@ var MsgFundVestingAccount = {
|
|
|
1765
1750
|
},
|
|
1766
1751
|
fromJSON(object) {
|
|
1767
1752
|
return {
|
|
1768
|
-
funderAddress:
|
|
1769
|
-
vestingAddress:
|
|
1770
|
-
startTime:
|
|
1771
|
-
lockupPeriods: Array.isArray(object
|
|
1772
|
-
vestingPeriods: Array.isArray(object
|
|
1753
|
+
funderAddress: chunk7OIZPQJB_cjs.isSet(object.funderAddress) ? String(object.funderAddress) : "",
|
|
1754
|
+
vestingAddress: chunk7OIZPQJB_cjs.isSet(object.vestingAddress) ? String(object.vestingAddress) : "",
|
|
1755
|
+
startTime: chunk7OIZPQJB_cjs.isSet(object.startTime) ? chunk7OIZPQJB_cjs.fromJsonTimestamp(object.startTime) : void 0,
|
|
1756
|
+
lockupPeriods: Array.isArray(object?.lockupPeriods) ? object.lockupPeriods.map((e) => chunk7OIZPQJB_cjs.Period.fromJSON(e)) : [],
|
|
1757
|
+
vestingPeriods: Array.isArray(object?.vestingPeriods) ? object.vestingPeriods.map((e) => chunk7OIZPQJB_cjs.Period.fromJSON(e)) : []
|
|
1773
1758
|
};
|
|
1774
1759
|
},
|
|
1775
1760
|
toJSON(message) {
|
|
@@ -1778,29 +1763,27 @@ var MsgFundVestingAccount = {
|
|
|
1778
1763
|
message.vestingAddress !== void 0 && (obj.vestingAddress = message.vestingAddress);
|
|
1779
1764
|
message.startTime !== void 0 && (obj.startTime = message.startTime.toISOString());
|
|
1780
1765
|
if (message.lockupPeriods) {
|
|
1781
|
-
obj.lockupPeriods = message.lockupPeriods.map((e) => e ?
|
|
1766
|
+
obj.lockupPeriods = message.lockupPeriods.map((e) => e ? chunk7OIZPQJB_cjs.Period.toJSON(e) : void 0);
|
|
1782
1767
|
} else {
|
|
1783
1768
|
obj.lockupPeriods = [];
|
|
1784
1769
|
}
|
|
1785
1770
|
if (message.vestingPeriods) {
|
|
1786
|
-
obj.vestingPeriods = message.vestingPeriods.map((e) => e ?
|
|
1771
|
+
obj.vestingPeriods = message.vestingPeriods.map((e) => e ? chunk7OIZPQJB_cjs.Period.toJSON(e) : void 0);
|
|
1787
1772
|
} else {
|
|
1788
1773
|
obj.vestingPeriods = [];
|
|
1789
1774
|
}
|
|
1790
1775
|
return obj;
|
|
1791
1776
|
},
|
|
1792
1777
|
fromPartial(object) {
|
|
1793
|
-
var _a, _b, _c, _d, _e;
|
|
1794
1778
|
const message = createBaseMsgFundVestingAccount();
|
|
1795
|
-
message.funderAddress =
|
|
1796
|
-
message.vestingAddress =
|
|
1797
|
-
message.startTime =
|
|
1798
|
-
message.lockupPeriods =
|
|
1799
|
-
message.vestingPeriods =
|
|
1779
|
+
message.funderAddress = object.funderAddress ?? "";
|
|
1780
|
+
message.vestingAddress = object.vestingAddress ?? "";
|
|
1781
|
+
message.startTime = object.startTime ?? void 0;
|
|
1782
|
+
message.lockupPeriods = object.lockupPeriods?.map((e) => chunk7OIZPQJB_cjs.Period.fromPartial(e)) || [];
|
|
1783
|
+
message.vestingPeriods = object.vestingPeriods?.map((e) => chunk7OIZPQJB_cjs.Period.fromPartial(e)) || [];
|
|
1800
1784
|
return message;
|
|
1801
1785
|
},
|
|
1802
1786
|
fromAmino(object) {
|
|
1803
|
-
var _a, _b;
|
|
1804
1787
|
const message = createBaseMsgFundVestingAccount();
|
|
1805
1788
|
if (object.funder_address !== void 0 && object.funder_address !== null) {
|
|
1806
1789
|
message.funderAddress = object.funder_address;
|
|
@@ -1809,24 +1792,24 @@ var MsgFundVestingAccount = {
|
|
|
1809
1792
|
message.vestingAddress = object.vesting_address;
|
|
1810
1793
|
}
|
|
1811
1794
|
if (object.start_time !== void 0 && object.start_time !== null) {
|
|
1812
|
-
message.startTime =
|
|
1795
|
+
message.startTime = chunk7OIZPQJB_cjs.fromTimestamp(chunk7OIZPQJB_cjs.Timestamp.fromAmino(object.start_time));
|
|
1813
1796
|
}
|
|
1814
|
-
message.lockupPeriods =
|
|
1815
|
-
message.vestingPeriods =
|
|
1797
|
+
message.lockupPeriods = object.lockup_periods?.map((e) => chunk7OIZPQJB_cjs.Period.fromAmino(e)) || [];
|
|
1798
|
+
message.vestingPeriods = object.vesting_periods?.map((e) => chunk7OIZPQJB_cjs.Period.fromAmino(e)) || [];
|
|
1816
1799
|
return message;
|
|
1817
1800
|
},
|
|
1818
1801
|
toAmino(message) {
|
|
1819
1802
|
const obj = {};
|
|
1820
1803
|
obj.funder_address = message.funderAddress === "" ? void 0 : message.funderAddress;
|
|
1821
1804
|
obj.vesting_address = message.vestingAddress === "" ? void 0 : message.vestingAddress;
|
|
1822
|
-
obj.start_time = message.startTime ?
|
|
1805
|
+
obj.start_time = message.startTime ? chunk7OIZPQJB_cjs.Timestamp.toAmino(chunk7OIZPQJB_cjs.toTimestamp(message.startTime)) : void 0;
|
|
1823
1806
|
if (message.lockupPeriods) {
|
|
1824
|
-
obj.lockup_periods = message.lockupPeriods.map((e) => e ?
|
|
1807
|
+
obj.lockup_periods = message.lockupPeriods.map((e) => e ? chunk7OIZPQJB_cjs.Period.toAmino(e) : void 0);
|
|
1825
1808
|
} else {
|
|
1826
1809
|
obj.lockup_periods = message.lockupPeriods;
|
|
1827
1810
|
}
|
|
1828
1811
|
if (message.vestingPeriods) {
|
|
1829
|
-
obj.vesting_periods = message.vestingPeriods.map((e) => e ?
|
|
1812
|
+
obj.vesting_periods = message.vestingPeriods.map((e) => e ? chunk7OIZPQJB_cjs.Period.toAmino(e) : void 0);
|
|
1830
1813
|
} else {
|
|
1831
1814
|
obj.vesting_periods = message.vestingPeriods;
|
|
1832
1815
|
}
|
|
@@ -1900,9 +1883,9 @@ var MsgClawback = {
|
|
|
1900
1883
|
},
|
|
1901
1884
|
fromJSON(object) {
|
|
1902
1885
|
return {
|
|
1903
|
-
funderAddress:
|
|
1904
|
-
accountAddress:
|
|
1905
|
-
destAddress:
|
|
1886
|
+
funderAddress: chunk7OIZPQJB_cjs.isSet(object.funderAddress) ? String(object.funderAddress) : "",
|
|
1887
|
+
accountAddress: chunk7OIZPQJB_cjs.isSet(object.accountAddress) ? String(object.accountAddress) : "",
|
|
1888
|
+
destAddress: chunk7OIZPQJB_cjs.isSet(object.destAddress) ? String(object.destAddress) : ""
|
|
1906
1889
|
};
|
|
1907
1890
|
},
|
|
1908
1891
|
toJSON(message) {
|
|
@@ -1913,11 +1896,10 @@ var MsgClawback = {
|
|
|
1913
1896
|
return obj;
|
|
1914
1897
|
},
|
|
1915
1898
|
fromPartial(object) {
|
|
1916
|
-
var _a, _b, _c;
|
|
1917
1899
|
const message = createBaseMsgClawback();
|
|
1918
|
-
message.funderAddress =
|
|
1919
|
-
message.accountAddress =
|
|
1920
|
-
message.destAddress =
|
|
1900
|
+
message.funderAddress = object.funderAddress ?? "";
|
|
1901
|
+
message.accountAddress = object.accountAddress ?? "";
|
|
1902
|
+
message.destAddress = object.destAddress ?? "";
|
|
1921
1903
|
return message;
|
|
1922
1904
|
},
|
|
1923
1905
|
fromAmino(object) {
|
|
@@ -2008,9 +1990,9 @@ var MsgUpdateVestingFunder = {
|
|
|
2008
1990
|
},
|
|
2009
1991
|
fromJSON(object) {
|
|
2010
1992
|
return {
|
|
2011
|
-
funderAddress:
|
|
2012
|
-
newFunderAddress:
|
|
2013
|
-
vestingAddress:
|
|
1993
|
+
funderAddress: chunk7OIZPQJB_cjs.isSet(object.funderAddress) ? String(object.funderAddress) : "",
|
|
1994
|
+
newFunderAddress: chunk7OIZPQJB_cjs.isSet(object.newFunderAddress) ? String(object.newFunderAddress) : "",
|
|
1995
|
+
vestingAddress: chunk7OIZPQJB_cjs.isSet(object.vestingAddress) ? String(object.vestingAddress) : ""
|
|
2014
1996
|
};
|
|
2015
1997
|
},
|
|
2016
1998
|
toJSON(message) {
|
|
@@ -2021,11 +2003,10 @@ var MsgUpdateVestingFunder = {
|
|
|
2021
2003
|
return obj;
|
|
2022
2004
|
},
|
|
2023
2005
|
fromPartial(object) {
|
|
2024
|
-
var _a, _b, _c;
|
|
2025
2006
|
const message = createBaseMsgUpdateVestingFunder();
|
|
2026
|
-
message.funderAddress =
|
|
2027
|
-
message.newFunderAddress =
|
|
2028
|
-
message.vestingAddress =
|
|
2007
|
+
message.funderAddress = object.funderAddress ?? "";
|
|
2008
|
+
message.newFunderAddress = object.newFunderAddress ?? "";
|
|
2009
|
+
message.vestingAddress = object.vestingAddress ?? "";
|
|
2029
2010
|
return message;
|
|
2030
2011
|
},
|
|
2031
2012
|
fromAmino(object) {
|
|
@@ -2102,7 +2083,7 @@ var MsgConvertVestingAccount = {
|
|
|
2102
2083
|
},
|
|
2103
2084
|
fromJSON(object) {
|
|
2104
2085
|
return {
|
|
2105
|
-
vestingAddress:
|
|
2086
|
+
vestingAddress: chunk7OIZPQJB_cjs.isSet(object.vestingAddress) ? String(object.vestingAddress) : ""
|
|
2106
2087
|
};
|
|
2107
2088
|
},
|
|
2108
2089
|
toJSON(message) {
|
|
@@ -2111,9 +2092,8 @@ var MsgConvertVestingAccount = {
|
|
|
2111
2092
|
return obj;
|
|
2112
2093
|
},
|
|
2113
2094
|
fromPartial(object) {
|
|
2114
|
-
var _a;
|
|
2115
2095
|
const message = createBaseMsgConvertVestingAccount();
|
|
2116
|
-
message.vestingAddress =
|
|
2096
|
+
message.vestingAddress = object.vestingAddress ?? "";
|
|
2117
2097
|
return message;
|
|
2118
2098
|
},
|
|
2119
2099
|
fromAmino(object) {
|
|
@@ -2236,26 +2216,36 @@ var AminoConverter5 = {
|
|
|
2236
2216
|
};
|
|
2237
2217
|
|
|
2238
2218
|
// src/codegen/evmos/client.ts
|
|
2239
|
-
var evmosAminoConverters =
|
|
2219
|
+
var evmosAminoConverters = {
|
|
2220
|
+
...AminoConverter2,
|
|
2221
|
+
...AminoConverter3,
|
|
2222
|
+
...AminoConverter4,
|
|
2223
|
+
...AminoConverter5
|
|
2224
|
+
};
|
|
2240
2225
|
var evmosProtoRegistry = [...registry2, ...registry3, ...registry4, ...registry5];
|
|
2241
2226
|
var setClientOptions = (options = {}) => {
|
|
2242
|
-
|
|
2243
|
-
chunkASPVKNJ7_js.ApiState.client = chunkASPVKNJ7_js.createRequestClient({
|
|
2227
|
+
chunkHAR3IXDE_cjs.ApiState.client = chunkHAR3IXDE_cjs.createRequestClient({
|
|
2244
2228
|
baseUrl: options.apiUrl || "https://api.skip.build",
|
|
2245
2229
|
apiKey: options.apiKey
|
|
2246
2230
|
});
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
...
|
|
2231
|
+
chunkED2OY55G_cjs.ClientState.endpointOptions = options.endpointOptions ?? {};
|
|
2232
|
+
chunkED2OY55G_cjs.ClientState.aminoTypes = new stargate.AminoTypes({
|
|
2233
|
+
...stargate.createDefaultAminoConverters(),
|
|
2234
|
+
...aminomessages.createWasmAminoConverters(),
|
|
2235
|
+
...circleAminoConverters,
|
|
2236
|
+
...evmosAminoConverters,
|
|
2237
|
+
...options.aminoTypes ?? {}
|
|
2238
|
+
});
|
|
2239
|
+
chunkED2OY55G_cjs.ClientState.registry = new registry$1.Registry([
|
|
2240
|
+
...stargate.defaultRegistryTypes,
|
|
2251
2241
|
["/cosmwasm.wasm.v1.MsgExecuteContract", tx.MsgExecuteContract],
|
|
2252
|
-
["/initia.move.v1.MsgExecute",
|
|
2253
|
-
["/opinit.ophost.v1.MsgInitiateTokenDeposit",
|
|
2242
|
+
["/initia.move.v1.MsgExecute", chunk7OIZPQJB_cjs.MsgExecute],
|
|
2243
|
+
["/opinit.ophost.v1.MsgInitiateTokenDeposit", chunk7OIZPQJB_cjs.MsgInitiateTokenDeposit],
|
|
2254
2244
|
...circleProtoRegistry,
|
|
2255
2245
|
...evmosProtoRegistry,
|
|
2256
|
-
...
|
|
2246
|
+
...options.registryTypes ?? []
|
|
2257
2247
|
]);
|
|
2258
|
-
|
|
2248
|
+
chunkHAR3IXDE_cjs.ApiState.setClientInitialized();
|
|
2259
2249
|
};
|
|
2260
2250
|
|
|
2261
2251
|
exports.setClientOptions = setClientOptions;
|