@skip-go/client 1.0.1-alpha-1 → 1.0.1
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.d.ts +19 -0
- package/dist/api/getAssets.js +15 -2
- package/dist/api/getAssetsBetweenChains.d.ts +56 -0
- package/dist/api/getAssetsBetweenChains.js +11 -2
- package/dist/api/getBridges.d.ts +54 -0
- package/dist/api/getBridges.js +11 -2
- package/dist/api/getChains.d.ts +41 -0
- package/dist/api/getChains.js +11 -2
- package/dist/api/getVenues.d.ts +13 -0
- package/dist/api/getVenues.js +11 -2
- package/dist/api/postAssetsFromSource.d.ts +13 -0
- package/dist/api/postAssetsFromSource.js +12 -3
- package/dist/api/postBalances.d.ts +35 -0
- package/dist/api/postBalances.js +11 -2
- package/dist/api/postIbcOriginAssets.d.ts +32 -0
- package/dist/api/postIbcOriginAssets.js +11 -2
- package/dist/api/postMessages.d.ts +528 -0
- package/dist/api/postMessages.js +11 -2
- package/dist/api/postMessagesDirect.d.ts +568 -0
- package/dist/api/postMessagesDirect.js +11 -2
- package/dist/api/postRecommendAssets.d.ts +40 -0
- package/dist/api/postRecommendAssets.js +11 -2
- package/dist/api/postRoute.d.ts +460 -0
- package/dist/api/postRoute.js +11 -2
- package/dist/api/postSubmitTransaction.d.ts +13 -0
- package/dist/api/postSubmitTransaction.js +11 -2
- package/dist/api/postTrackTransaction.d.ts +13 -0
- package/dist/api/postTrackTransaction.js +11 -2
- package/dist/api/postTransactionStatus.d.ts +559 -0
- package/dist/api/postTransactionStatus.js +11 -2
- package/dist/apiState-CdzxTxYd.d.ts +6 -0
- package/dist/chunk-2WHYWV4Y.js +12 -0
- package/dist/{chunk-VMPFHQ7U.js → chunk-4XWIXR2P.js} +27 -19
- package/dist/chunk-5KVRQLI5.js +17 -0
- package/dist/{chunk-KNV72XRZ.js → chunk-5ZJBR5AQ.js} +5 -3
- package/dist/chunk-6BTWKTNM.js +16 -0
- package/dist/chunk-6GJEXV5J.js +130 -0
- package/dist/chunk-ASPVKNJ7.js +242 -0
- package/dist/{chunk-JTIHU43D.js → chunk-CG5CQQBW.js} +42 -33
- package/dist/chunk-EQLA2SEZ.js +2361 -0
- package/dist/chunk-FVSSCQ6C.js +12 -0
- package/dist/{chunk-SQGWZAUC.js → chunk-GFRPLEJR.js} +311 -279
- package/dist/chunk-KYFTM3PI.js +12 -0
- package/dist/chunk-L2Q5RP6O.js +25 -0
- package/dist/chunk-LRIPQQ4M.js +11 -0
- package/dist/{chunk-TW77BXMT.js → chunk-PKPZTO4H.js} +13 -10
- package/dist/{chunk-PRQ2NHRZ.js → chunk-RE2QZJWE.js} +5 -3
- package/dist/{chunk-3OZQ35X3.js → chunk-RT5TZAMU.js} +312 -212
- package/dist/chunk-SWYON2RG.js +4 -1
- package/dist/chunk-VQ5SIQWU.js +3 -1
- package/dist/chunk-X2E2TKVR.js +12 -0
- package/dist/{chunk-3N7XVGLX.js → chunk-X2YPYBVN.js} +68 -59
- package/dist/chunk-YYNIFO2A.js +13 -0
- package/dist/{chunk-4JJWOILI.js → chunk-Z4ZKOUGH.js} +5 -3
- package/dist/{chunk-C2EDPY6J.js → chunk-ZG23Z3WY.js} +5 -3
- package/dist/client-types-CxjtffyG.d.ts +60 -0
- package/dist/executeRoute-BKvMVd1I.d.ts +69 -0
- package/dist/generateApi-DqCp36fX.d.ts +22 -0
- package/dist/index.d.ts +37 -0
- package/dist/index.js +209 -24
- package/dist/public-functions/executeRoute.d.ts +9 -0
- package/dist/public-functions/executeRoute.js +21 -12
- package/dist/public-functions/getFeeInfoForChain.d.ts +9 -0
- package/dist/public-functions/getFeeInfoForChain.js +14 -5
- package/dist/public-functions/getRecommendedGasPrice.d.ts +9 -0
- package/dist/public-functions/getRecommendedGasPrice.js +16 -7
- package/dist/public-functions/getSigningStargateClient.d.ts +13 -0
- package/dist/public-functions/getSigningStargateClient.js +13 -4
- package/dist/public-functions/setApiOptions.d.ts +9 -0
- package/dist/public-functions/setApiOptions.js +11 -2
- package/dist/public-functions/setClientOptions.d.ts +9 -0
- package/dist/public-functions/setClientOptions.js +13 -4
- package/dist/setClientOptions-DbanEIwL.d.ts +19 -0
- package/dist/swaggerTypes-O9-gvCT1.d.ts +1890 -0
- package/package.json +1 -10
- package/dist/chunk-33K6EESX.js +0 -10
- package/dist/chunk-BQTQJQ5E.js +0 -10
- package/dist/chunk-BRJDNGYH.js +0 -22
- package/dist/chunk-BRMONS6A.js +0 -130
- package/dist/chunk-DW4U6YI6.js +0 -10
- package/dist/chunk-GARVPN2H.js +0 -16
- package/dist/chunk-MGVXJ2U4.js +0 -11
- package/dist/chunk-MTMPHY3Y.js +0 -9
- package/dist/chunk-RDRDFJQE.js +0 -10
- package/dist/chunk-RMP3HM5N.js +0 -14
- package/dist/chunk-W6TBGBV3.js +0 -675
- package/dist/chunk-Y5EY3Q6D.js +0 -1790
|
@@ -1,150 +1,172 @@
|
|
|
1
|
-
|
|
2
|
-
import { ClientState } from './chunk-BRMONS6A.js';
|
|
3
|
-
import { ApiState, createRequestClient } from './chunk-W6TBGBV3.js';
|
|
4
|
-
import { AminoTypes, createDefaultAminoConverters, defaultRegistryTypes } from '@cosmjs/stargate';
|
|
5
|
-
import { createWasmAminoConverters } from '@cosmjs/cosmwasm-stargate/build/modules/wasm/aminomessages';
|
|
6
|
-
import '@cosmjs/proto-signing';
|
|
7
|
-
import '@cosmjs/tendermint-rpc';
|
|
8
|
-
import * as _m08 from 'protobufjs/minimal';
|
|
9
|
-
import { Decimal } from '@cosmjs/math';
|
|
10
|
-
import { Registry } from '@cosmjs/proto-signing/build/registry';
|
|
11
|
-
import { MsgExecuteContract } from 'cosmjs-types/cosmwasm/wasm/v1/tx';
|
|
1
|
+
'use strict';
|
|
12
2
|
|
|
13
|
-
var
|
|
3
|
+
var chunkRT5TZAMU_js = require('./chunk-RT5TZAMU.js');
|
|
4
|
+
var chunk6GJEXV5J_js = require('./chunk-6GJEXV5J.js');
|
|
5
|
+
var chunkASPVKNJ7_js = require('./chunk-ASPVKNJ7.js');
|
|
6
|
+
var aminotypes = require('@cosmjs/stargate/build/aminotypes');
|
|
7
|
+
var signingstargateclient = require('@cosmjs/stargate/build/signingstargateclient');
|
|
8
|
+
var aminomessages = require('@cosmjs/cosmwasm-stargate/build/modules/wasm/aminomessages');
|
|
9
|
+
require('@cosmjs/proto-signing');
|
|
10
|
+
require('@cosmjs/stargate');
|
|
11
|
+
var _m08 = require('protobufjs/minimal');
|
|
12
|
+
var math = require('@cosmjs/math');
|
|
13
|
+
var registry$1 = require('@cosmjs/proto-signing/build/registry');
|
|
14
|
+
var tx = require('cosmjs-types/cosmwasm/wasm/v1/tx');
|
|
15
|
+
|
|
16
|
+
function _interopNamespace(e) {
|
|
17
|
+
if (e && e.__esModule) return e;
|
|
18
|
+
var n = Object.create(null);
|
|
19
|
+
if (e) {
|
|
20
|
+
Object.keys(e).forEach(function (k) {
|
|
21
|
+
if (k !== 'default') {
|
|
22
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
23
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return e[k]; }
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
n.default = e;
|
|
31
|
+
return Object.freeze(n);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
var _m08__namespace = /*#__PURE__*/_interopNamespace(_m08);
|
|
35
|
+
|
|
36
|
+
// src/codegen/circle/cctp/v1/tx.registry.ts
|
|
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]];
|
|
14
38
|
|
|
15
39
|
// src/codegen/circle/cctp/v1/tx.amino.ts
|
|
16
40
|
var AminoConverter = {
|
|
17
41
|
"/circle.cctp.v1.MsgAcceptOwner": {
|
|
18
42
|
aminoType: "cctp/AcceptOwner",
|
|
19
|
-
toAmino: MsgAcceptOwner.toAmino,
|
|
20
|
-
fromAmino: MsgAcceptOwner.fromAmino
|
|
43
|
+
toAmino: chunkRT5TZAMU_js.MsgAcceptOwner.toAmino,
|
|
44
|
+
fromAmino: chunkRT5TZAMU_js.MsgAcceptOwner.fromAmino
|
|
21
45
|
},
|
|
22
46
|
"/circle.cctp.v1.MsgAddRemoteTokenMessenger": {
|
|
23
47
|
aminoType: "cctp/AddRemoteTokenMessenger",
|
|
24
|
-
toAmino: MsgAddRemoteTokenMessenger.toAmino,
|
|
25
|
-
fromAmino: MsgAddRemoteTokenMessenger.fromAmino
|
|
48
|
+
toAmino: chunkRT5TZAMU_js.MsgAddRemoteTokenMessenger.toAmino,
|
|
49
|
+
fromAmino: chunkRT5TZAMU_js.MsgAddRemoteTokenMessenger.fromAmino
|
|
26
50
|
},
|
|
27
51
|
"/circle.cctp.v1.MsgDepositForBurn": {
|
|
28
52
|
aminoType: "cctp/DepositForBurn",
|
|
29
|
-
toAmino: MsgDepositForBurn.toAmino,
|
|
30
|
-
fromAmino: MsgDepositForBurn.fromAmino
|
|
53
|
+
toAmino: chunkRT5TZAMU_js.MsgDepositForBurn.toAmino,
|
|
54
|
+
fromAmino: chunkRT5TZAMU_js.MsgDepositForBurn.fromAmino
|
|
31
55
|
},
|
|
32
56
|
"/circle.cctp.v1.MsgDepositForBurnWithCaller": {
|
|
33
57
|
aminoType: "cctp/DepositForBurnWithCaller",
|
|
34
|
-
toAmino: MsgDepositForBurnWithCaller.toAmino,
|
|
35
|
-
fromAmino: MsgDepositForBurnWithCaller.fromAmino
|
|
58
|
+
toAmino: chunkRT5TZAMU_js.MsgDepositForBurnWithCaller.toAmino,
|
|
59
|
+
fromAmino: chunkRT5TZAMU_js.MsgDepositForBurnWithCaller.fromAmino
|
|
36
60
|
},
|
|
37
61
|
"/circle.cctp.v1.MsgDisableAttester": {
|
|
38
62
|
aminoType: "cctp/DisableAttester",
|
|
39
|
-
toAmino: MsgDisableAttester.toAmino,
|
|
40
|
-
fromAmino: MsgDisableAttester.fromAmino
|
|
63
|
+
toAmino: chunkRT5TZAMU_js.MsgDisableAttester.toAmino,
|
|
64
|
+
fromAmino: chunkRT5TZAMU_js.MsgDisableAttester.fromAmino
|
|
41
65
|
},
|
|
42
66
|
"/circle.cctp.v1.MsgEnableAttester": {
|
|
43
67
|
aminoType: "cctp/EnableAttester",
|
|
44
|
-
toAmino: MsgEnableAttester.toAmino,
|
|
45
|
-
fromAmino: MsgEnableAttester.fromAmino
|
|
68
|
+
toAmino: chunkRT5TZAMU_js.MsgEnableAttester.toAmino,
|
|
69
|
+
fromAmino: chunkRT5TZAMU_js.MsgEnableAttester.fromAmino
|
|
46
70
|
},
|
|
47
71
|
"/circle.cctp.v1.MsgLinkTokenPair": {
|
|
48
72
|
aminoType: "cctp/LinkTokenPair",
|
|
49
|
-
toAmino: MsgLinkTokenPair.toAmino,
|
|
50
|
-
fromAmino: MsgLinkTokenPair.fromAmino
|
|
73
|
+
toAmino: chunkRT5TZAMU_js.MsgLinkTokenPair.toAmino,
|
|
74
|
+
fromAmino: chunkRT5TZAMU_js.MsgLinkTokenPair.fromAmino
|
|
51
75
|
},
|
|
52
76
|
"/circle.cctp.v1.MsgPauseBurningAndMinting": {
|
|
53
77
|
aminoType: "cctp/PauseBurningAndMinting",
|
|
54
|
-
toAmino: MsgPauseBurningAndMinting.toAmino,
|
|
55
|
-
fromAmino: MsgPauseBurningAndMinting.fromAmino
|
|
78
|
+
toAmino: chunkRT5TZAMU_js.MsgPauseBurningAndMinting.toAmino,
|
|
79
|
+
fromAmino: chunkRT5TZAMU_js.MsgPauseBurningAndMinting.fromAmino
|
|
56
80
|
},
|
|
57
81
|
"/circle.cctp.v1.MsgPauseSendingAndReceivingMessages": {
|
|
58
82
|
aminoType: "cctp/PauseSendingAndReceivingMessages",
|
|
59
|
-
toAmino: MsgPauseSendingAndReceivingMessages.toAmino,
|
|
60
|
-
fromAmino: MsgPauseSendingAndReceivingMessages.fromAmino
|
|
83
|
+
toAmino: chunkRT5TZAMU_js.MsgPauseSendingAndReceivingMessages.toAmino,
|
|
84
|
+
fromAmino: chunkRT5TZAMU_js.MsgPauseSendingAndReceivingMessages.fromAmino
|
|
61
85
|
},
|
|
62
86
|
"/circle.cctp.v1.MsgReceiveMessage": {
|
|
63
87
|
aminoType: "cctp/ReceiveMessage",
|
|
64
|
-
toAmino: MsgReceiveMessage.toAmino,
|
|
65
|
-
fromAmino: MsgReceiveMessage.fromAmino
|
|
88
|
+
toAmino: chunkRT5TZAMU_js.MsgReceiveMessage.toAmino,
|
|
89
|
+
fromAmino: chunkRT5TZAMU_js.MsgReceiveMessage.fromAmino
|
|
66
90
|
},
|
|
67
91
|
"/circle.cctp.v1.MsgRemoveRemoteTokenMessenger": {
|
|
68
92
|
aminoType: "cctp/RemoveRemoteTokenMessenger",
|
|
69
|
-
toAmino: MsgRemoveRemoteTokenMessenger.toAmino,
|
|
70
|
-
fromAmino: MsgRemoveRemoteTokenMessenger.fromAmino
|
|
93
|
+
toAmino: chunkRT5TZAMU_js.MsgRemoveRemoteTokenMessenger.toAmino,
|
|
94
|
+
fromAmino: chunkRT5TZAMU_js.MsgRemoveRemoteTokenMessenger.fromAmino
|
|
71
95
|
},
|
|
72
96
|
"/circle.cctp.v1.MsgReplaceDepositForBurn": {
|
|
73
97
|
aminoType: "cctp/ReplaceDepositForBurn",
|
|
74
|
-
toAmino: MsgReplaceDepositForBurn.toAmino,
|
|
75
|
-
fromAmino: MsgReplaceDepositForBurn.fromAmino
|
|
98
|
+
toAmino: chunkRT5TZAMU_js.MsgReplaceDepositForBurn.toAmino,
|
|
99
|
+
fromAmino: chunkRT5TZAMU_js.MsgReplaceDepositForBurn.fromAmino
|
|
76
100
|
},
|
|
77
101
|
"/circle.cctp.v1.MsgReplaceMessage": {
|
|
78
102
|
aminoType: "cctp/ReplaceMessage",
|
|
79
|
-
toAmino: MsgReplaceMessage.toAmino,
|
|
80
|
-
fromAmino: MsgReplaceMessage.fromAmino
|
|
103
|
+
toAmino: chunkRT5TZAMU_js.MsgReplaceMessage.toAmino,
|
|
104
|
+
fromAmino: chunkRT5TZAMU_js.MsgReplaceMessage.fromAmino
|
|
81
105
|
},
|
|
82
106
|
"/circle.cctp.v1.MsgSendMessage": {
|
|
83
107
|
aminoType: "cctp/SendMessage",
|
|
84
|
-
toAmino: MsgSendMessage.toAmino,
|
|
85
|
-
fromAmino: MsgSendMessage.fromAmino
|
|
108
|
+
toAmino: chunkRT5TZAMU_js.MsgSendMessage.toAmino,
|
|
109
|
+
fromAmino: chunkRT5TZAMU_js.MsgSendMessage.fromAmino
|
|
86
110
|
},
|
|
87
111
|
"/circle.cctp.v1.MsgSendMessageWithCaller": {
|
|
88
112
|
aminoType: "cctp/SendMessageWithCaller",
|
|
89
|
-
toAmino: MsgSendMessageWithCaller.toAmino,
|
|
90
|
-
fromAmino: MsgSendMessageWithCaller.fromAmino
|
|
113
|
+
toAmino: chunkRT5TZAMU_js.MsgSendMessageWithCaller.toAmino,
|
|
114
|
+
fromAmino: chunkRT5TZAMU_js.MsgSendMessageWithCaller.fromAmino
|
|
91
115
|
},
|
|
92
116
|
"/circle.cctp.v1.MsgUnlinkTokenPair": {
|
|
93
117
|
aminoType: "cctp/UnlinkTokenPair",
|
|
94
|
-
toAmino: MsgUnlinkTokenPair.toAmino,
|
|
95
|
-
fromAmino: MsgUnlinkTokenPair.fromAmino
|
|
118
|
+
toAmino: chunkRT5TZAMU_js.MsgUnlinkTokenPair.toAmino,
|
|
119
|
+
fromAmino: chunkRT5TZAMU_js.MsgUnlinkTokenPair.fromAmino
|
|
96
120
|
},
|
|
97
121
|
"/circle.cctp.v1.MsgUnpauseBurningAndMinting": {
|
|
98
122
|
aminoType: "cctp/UnpauseBurningAndMinting",
|
|
99
|
-
toAmino: MsgUnpauseBurningAndMinting.toAmino,
|
|
100
|
-
fromAmino: MsgUnpauseBurningAndMinting.fromAmino
|
|
123
|
+
toAmino: chunkRT5TZAMU_js.MsgUnpauseBurningAndMinting.toAmino,
|
|
124
|
+
fromAmino: chunkRT5TZAMU_js.MsgUnpauseBurningAndMinting.fromAmino
|
|
101
125
|
},
|
|
102
126
|
"/circle.cctp.v1.MsgUnpauseSendingAndReceivingMessages": {
|
|
103
127
|
aminoType: "cctp/UnpauseSendingAndReceivingMessages",
|
|
104
|
-
toAmino: MsgUnpauseSendingAndReceivingMessages.toAmino,
|
|
105
|
-
fromAmino: MsgUnpauseSendingAndReceivingMessages.fromAmino
|
|
128
|
+
toAmino: chunkRT5TZAMU_js.MsgUnpauseSendingAndReceivingMessages.toAmino,
|
|
129
|
+
fromAmino: chunkRT5TZAMU_js.MsgUnpauseSendingAndReceivingMessages.fromAmino
|
|
106
130
|
},
|
|
107
131
|
"/circle.cctp.v1.MsgUpdateOwner": {
|
|
108
132
|
aminoType: "cctp/UpdateOwner",
|
|
109
|
-
toAmino: MsgUpdateOwner.toAmino,
|
|
110
|
-
fromAmino: MsgUpdateOwner.fromAmino
|
|
133
|
+
toAmino: chunkRT5TZAMU_js.MsgUpdateOwner.toAmino,
|
|
134
|
+
fromAmino: chunkRT5TZAMU_js.MsgUpdateOwner.fromAmino
|
|
111
135
|
},
|
|
112
136
|
"/circle.cctp.v1.MsgUpdateAttesterManager": {
|
|
113
137
|
aminoType: "cctp/UpdateAttesterManager",
|
|
114
|
-
toAmino: MsgUpdateAttesterManager.toAmino,
|
|
115
|
-
fromAmino: MsgUpdateAttesterManager.fromAmino
|
|
138
|
+
toAmino: chunkRT5TZAMU_js.MsgUpdateAttesterManager.toAmino,
|
|
139
|
+
fromAmino: chunkRT5TZAMU_js.MsgUpdateAttesterManager.fromAmino
|
|
116
140
|
},
|
|
117
141
|
"/circle.cctp.v1.MsgUpdateTokenController": {
|
|
118
142
|
aminoType: "cctp/UpdateTokenController",
|
|
119
|
-
toAmino: MsgUpdateTokenController.toAmino,
|
|
120
|
-
fromAmino: MsgUpdateTokenController.fromAmino
|
|
143
|
+
toAmino: chunkRT5TZAMU_js.MsgUpdateTokenController.toAmino,
|
|
144
|
+
fromAmino: chunkRT5TZAMU_js.MsgUpdateTokenController.fromAmino
|
|
121
145
|
},
|
|
122
146
|
"/circle.cctp.v1.MsgUpdatePauser": {
|
|
123
147
|
aminoType: "cctp/UpdatePauser",
|
|
124
|
-
toAmino: MsgUpdatePauser.toAmino,
|
|
125
|
-
fromAmino: MsgUpdatePauser.fromAmino
|
|
148
|
+
toAmino: chunkRT5TZAMU_js.MsgUpdatePauser.toAmino,
|
|
149
|
+
fromAmino: chunkRT5TZAMU_js.MsgUpdatePauser.fromAmino
|
|
126
150
|
},
|
|
127
151
|
"/circle.cctp.v1.MsgUpdateMaxMessageBodySize": {
|
|
128
152
|
aminoType: "cctp/UpdateMaxMessageBodySize",
|
|
129
|
-
toAmino: MsgUpdateMaxMessageBodySize.toAmino,
|
|
130
|
-
fromAmino: MsgUpdateMaxMessageBodySize.fromAmino
|
|
153
|
+
toAmino: chunkRT5TZAMU_js.MsgUpdateMaxMessageBodySize.toAmino,
|
|
154
|
+
fromAmino: chunkRT5TZAMU_js.MsgUpdateMaxMessageBodySize.fromAmino
|
|
131
155
|
},
|
|
132
156
|
"/circle.cctp.v1.MsgSetMaxBurnAmountPerMessage": {
|
|
133
157
|
aminoType: "cctp/SetMaxBurnAmountPerMessage",
|
|
134
|
-
toAmino: MsgSetMaxBurnAmountPerMessage.toAmino,
|
|
135
|
-
fromAmino: MsgSetMaxBurnAmountPerMessage.fromAmino
|
|
158
|
+
toAmino: chunkRT5TZAMU_js.MsgSetMaxBurnAmountPerMessage.toAmino,
|
|
159
|
+
fromAmino: chunkRT5TZAMU_js.MsgSetMaxBurnAmountPerMessage.fromAmino
|
|
136
160
|
},
|
|
137
161
|
"/circle.cctp.v1.MsgUpdateSignatureThreshold": {
|
|
138
162
|
aminoType: "cctp/UpdateSignatureThreshold",
|
|
139
|
-
toAmino: MsgUpdateSignatureThreshold.toAmino,
|
|
140
|
-
fromAmino: MsgUpdateSignatureThreshold.fromAmino
|
|
163
|
+
toAmino: chunkRT5TZAMU_js.MsgUpdateSignatureThreshold.toAmino,
|
|
164
|
+
fromAmino: chunkRT5TZAMU_js.MsgUpdateSignatureThreshold.fromAmino
|
|
141
165
|
}
|
|
142
166
|
};
|
|
143
167
|
|
|
144
168
|
// src/codegen/circle/client.ts
|
|
145
|
-
var circleAminoConverters = {
|
|
146
|
-
...AminoConverter
|
|
147
|
-
};
|
|
169
|
+
var circleAminoConverters = chunkASPVKNJ7_js.__spreadValues({}, AminoConverter);
|
|
148
170
|
var circleProtoRegistry = [...registry];
|
|
149
171
|
function createBaseParams() {
|
|
150
172
|
return {
|
|
@@ -154,7 +176,7 @@ function createBaseParams() {
|
|
|
154
176
|
}
|
|
155
177
|
var Params = {
|
|
156
178
|
typeUrl: "/evmos.erc20.v1.Params",
|
|
157
|
-
encode(message, writer =
|
|
179
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
158
180
|
if (message.enableErc20 === true) {
|
|
159
181
|
writer.uint32(8).bool(message.enableErc20);
|
|
160
182
|
}
|
|
@@ -164,7 +186,7 @@ var Params = {
|
|
|
164
186
|
return writer;
|
|
165
187
|
},
|
|
166
188
|
decode(input, length) {
|
|
167
|
-
const reader = input instanceof
|
|
189
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
168
190
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
169
191
|
const message = createBaseParams();
|
|
170
192
|
while (reader.pos < end) {
|
|
@@ -185,8 +207,8 @@ var Params = {
|
|
|
185
207
|
},
|
|
186
208
|
fromJSON(object) {
|
|
187
209
|
return {
|
|
188
|
-
enableErc20: isSet(object.enableErc20) ? Boolean(object.enableErc20) : false,
|
|
189
|
-
enableEvmHook: isSet(object.enableEvmHook) ? Boolean(object.enableEvmHook) : false
|
|
210
|
+
enableErc20: chunkRT5TZAMU_js.isSet(object.enableErc20) ? Boolean(object.enableErc20) : false,
|
|
211
|
+
enableEvmHook: chunkRT5TZAMU_js.isSet(object.enableEvmHook) ? Boolean(object.enableEvmHook) : false
|
|
190
212
|
};
|
|
191
213
|
},
|
|
192
214
|
toJSON(message) {
|
|
@@ -196,9 +218,10 @@ var Params = {
|
|
|
196
218
|
return obj;
|
|
197
219
|
},
|
|
198
220
|
fromPartial(object) {
|
|
221
|
+
var _a, _b;
|
|
199
222
|
const message = createBaseParams();
|
|
200
|
-
message.enableErc20 = object.enableErc20
|
|
201
|
-
message.enableEvmHook = object.enableEvmHook
|
|
223
|
+
message.enableErc20 = (_a = object.enableErc20) != null ? _a : false;
|
|
224
|
+
message.enableEvmHook = (_b = object.enableEvmHook) != null ? _b : false;
|
|
202
225
|
return message;
|
|
203
226
|
},
|
|
204
227
|
fromAmino(object) {
|
|
@@ -241,16 +264,16 @@ var Params = {
|
|
|
241
264
|
};
|
|
242
265
|
function createBaseMsgConvertCoin() {
|
|
243
266
|
return {
|
|
244
|
-
coin: Coin.fromPartial({}),
|
|
267
|
+
coin: chunkRT5TZAMU_js.Coin.fromPartial({}),
|
|
245
268
|
receiver: "",
|
|
246
269
|
sender: ""
|
|
247
270
|
};
|
|
248
271
|
}
|
|
249
272
|
var MsgConvertCoin = {
|
|
250
273
|
typeUrl: "/evmos.erc20.v1.MsgConvertCoin",
|
|
251
|
-
encode(message, writer =
|
|
274
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
252
275
|
if (message.coin !== void 0) {
|
|
253
|
-
Coin.encode(message.coin, writer.uint32(10).fork()).ldelim();
|
|
276
|
+
chunkRT5TZAMU_js.Coin.encode(message.coin, writer.uint32(10).fork()).ldelim();
|
|
254
277
|
}
|
|
255
278
|
if (message.receiver !== "") {
|
|
256
279
|
writer.uint32(18).string(message.receiver);
|
|
@@ -261,14 +284,14 @@ var MsgConvertCoin = {
|
|
|
261
284
|
return writer;
|
|
262
285
|
},
|
|
263
286
|
decode(input, length) {
|
|
264
|
-
const reader = input instanceof
|
|
287
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
265
288
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
266
289
|
const message = createBaseMsgConvertCoin();
|
|
267
290
|
while (reader.pos < end) {
|
|
268
291
|
const tag = reader.uint32();
|
|
269
292
|
switch (tag >>> 3) {
|
|
270
293
|
case 1:
|
|
271
|
-
message.coin = Coin.decode(reader, reader.uint32());
|
|
294
|
+
message.coin = chunkRT5TZAMU_js.Coin.decode(reader, reader.uint32());
|
|
272
295
|
break;
|
|
273
296
|
case 2:
|
|
274
297
|
message.receiver = reader.string();
|
|
@@ -285,29 +308,30 @@ var MsgConvertCoin = {
|
|
|
285
308
|
},
|
|
286
309
|
fromJSON(object) {
|
|
287
310
|
return {
|
|
288
|
-
coin: isSet(object.coin) ? Coin.fromJSON(object.coin) : void 0,
|
|
289
|
-
receiver: isSet(object.receiver) ? String(object.receiver) : "",
|
|
290
|
-
sender: isSet(object.sender) ? String(object.sender) : ""
|
|
311
|
+
coin: chunkRT5TZAMU_js.isSet(object.coin) ? chunkRT5TZAMU_js.Coin.fromJSON(object.coin) : void 0,
|
|
312
|
+
receiver: chunkRT5TZAMU_js.isSet(object.receiver) ? String(object.receiver) : "",
|
|
313
|
+
sender: chunkRT5TZAMU_js.isSet(object.sender) ? String(object.sender) : ""
|
|
291
314
|
};
|
|
292
315
|
},
|
|
293
316
|
toJSON(message) {
|
|
294
317
|
const obj = {};
|
|
295
|
-
message.coin !== void 0 && (obj.coin = message.coin ? Coin.toJSON(message.coin) : void 0);
|
|
318
|
+
message.coin !== void 0 && (obj.coin = message.coin ? chunkRT5TZAMU_js.Coin.toJSON(message.coin) : void 0);
|
|
296
319
|
message.receiver !== void 0 && (obj.receiver = message.receiver);
|
|
297
320
|
message.sender !== void 0 && (obj.sender = message.sender);
|
|
298
321
|
return obj;
|
|
299
322
|
},
|
|
300
323
|
fromPartial(object) {
|
|
324
|
+
var _a, _b;
|
|
301
325
|
const message = createBaseMsgConvertCoin();
|
|
302
|
-
message.coin = object.coin !== void 0 && object.coin !== null ? Coin.fromPartial(object.coin) : void 0;
|
|
303
|
-
message.receiver = object.receiver
|
|
304
|
-
message.sender = object.sender
|
|
326
|
+
message.coin = object.coin !== void 0 && object.coin !== null ? chunkRT5TZAMU_js.Coin.fromPartial(object.coin) : void 0;
|
|
327
|
+
message.receiver = (_a = object.receiver) != null ? _a : "";
|
|
328
|
+
message.sender = (_b = object.sender) != null ? _b : "";
|
|
305
329
|
return message;
|
|
306
330
|
},
|
|
307
331
|
fromAmino(object) {
|
|
308
332
|
const message = createBaseMsgConvertCoin();
|
|
309
333
|
if (object.coin !== void 0 && object.coin !== null) {
|
|
310
|
-
message.coin = Coin.fromAmino(object.coin);
|
|
334
|
+
message.coin = chunkRT5TZAMU_js.Coin.fromAmino(object.coin);
|
|
311
335
|
}
|
|
312
336
|
if (object.receiver !== void 0 && object.receiver !== null) {
|
|
313
337
|
message.receiver = object.receiver;
|
|
@@ -319,7 +343,7 @@ var MsgConvertCoin = {
|
|
|
319
343
|
},
|
|
320
344
|
toAmino(message) {
|
|
321
345
|
const obj = {};
|
|
322
|
-
obj.coin = message.coin ? Coin.toAmino(message.coin) : void 0;
|
|
346
|
+
obj.coin = message.coin ? chunkRT5TZAMU_js.Coin.toAmino(message.coin) : void 0;
|
|
323
347
|
obj.receiver = message.receiver === "" ? void 0 : message.receiver;
|
|
324
348
|
obj.sender = message.sender === "" ? void 0 : message.sender;
|
|
325
349
|
return obj;
|
|
@@ -356,7 +380,7 @@ function createBaseMsgConvertERC20() {
|
|
|
356
380
|
}
|
|
357
381
|
var MsgConvertERC20 = {
|
|
358
382
|
typeUrl: "/evmos.erc20.v1.MsgConvertERC20",
|
|
359
|
-
encode(message, writer =
|
|
383
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
360
384
|
if (message.contractAddress !== "") {
|
|
361
385
|
writer.uint32(10).string(message.contractAddress);
|
|
362
386
|
}
|
|
@@ -372,7 +396,7 @@ var MsgConvertERC20 = {
|
|
|
372
396
|
return writer;
|
|
373
397
|
},
|
|
374
398
|
decode(input, length) {
|
|
375
|
-
const reader = input instanceof
|
|
399
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
376
400
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
377
401
|
const message = createBaseMsgConvertERC20();
|
|
378
402
|
while (reader.pos < end) {
|
|
@@ -399,10 +423,10 @@ var MsgConvertERC20 = {
|
|
|
399
423
|
},
|
|
400
424
|
fromJSON(object) {
|
|
401
425
|
return {
|
|
402
|
-
contractAddress: isSet(object.contractAddress) ? String(object.contractAddress) : "",
|
|
403
|
-
amount: isSet(object.amount) ? String(object.amount) : "",
|
|
404
|
-
receiver: isSet(object.receiver) ? String(object.receiver) : "",
|
|
405
|
-
sender: isSet(object.sender) ? String(object.sender) : ""
|
|
426
|
+
contractAddress: chunkRT5TZAMU_js.isSet(object.contractAddress) ? String(object.contractAddress) : "",
|
|
427
|
+
amount: chunkRT5TZAMU_js.isSet(object.amount) ? String(object.amount) : "",
|
|
428
|
+
receiver: chunkRT5TZAMU_js.isSet(object.receiver) ? String(object.receiver) : "",
|
|
429
|
+
sender: chunkRT5TZAMU_js.isSet(object.sender) ? String(object.sender) : ""
|
|
406
430
|
};
|
|
407
431
|
},
|
|
408
432
|
toJSON(message) {
|
|
@@ -414,11 +438,12 @@ var MsgConvertERC20 = {
|
|
|
414
438
|
return obj;
|
|
415
439
|
},
|
|
416
440
|
fromPartial(object) {
|
|
441
|
+
var _a, _b, _c, _d;
|
|
417
442
|
const message = createBaseMsgConvertERC20();
|
|
418
|
-
message.contractAddress = object.contractAddress
|
|
419
|
-
message.amount = object.amount
|
|
420
|
-
message.receiver = object.receiver
|
|
421
|
-
message.sender = object.sender
|
|
443
|
+
message.contractAddress = (_a = object.contractAddress) != null ? _a : "";
|
|
444
|
+
message.amount = (_b = object.amount) != null ? _b : "";
|
|
445
|
+
message.receiver = (_c = object.receiver) != null ? _c : "";
|
|
446
|
+
message.sender = (_d = object.sender) != null ? _d : "";
|
|
422
447
|
return message;
|
|
423
448
|
},
|
|
424
449
|
fromAmino(object) {
|
|
@@ -475,7 +500,7 @@ function createBaseMsgUpdateParams() {
|
|
|
475
500
|
}
|
|
476
501
|
var MsgUpdateParams = {
|
|
477
502
|
typeUrl: "/evmos.erc20.v1.MsgUpdateParams",
|
|
478
|
-
encode(message, writer =
|
|
503
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
479
504
|
if (message.authority !== "") {
|
|
480
505
|
writer.uint32(10).string(message.authority);
|
|
481
506
|
}
|
|
@@ -485,7 +510,7 @@ var MsgUpdateParams = {
|
|
|
485
510
|
return writer;
|
|
486
511
|
},
|
|
487
512
|
decode(input, length) {
|
|
488
|
-
const reader = input instanceof
|
|
513
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
489
514
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
490
515
|
const message = createBaseMsgUpdateParams();
|
|
491
516
|
while (reader.pos < end) {
|
|
@@ -506,8 +531,8 @@ var MsgUpdateParams = {
|
|
|
506
531
|
},
|
|
507
532
|
fromJSON(object) {
|
|
508
533
|
return {
|
|
509
|
-
authority: isSet(object.authority) ? String(object.authority) : "",
|
|
510
|
-
params: isSet(object.params) ? Params.fromJSON(object.params) : void 0
|
|
534
|
+
authority: chunkRT5TZAMU_js.isSet(object.authority) ? String(object.authority) : "",
|
|
535
|
+
params: chunkRT5TZAMU_js.isSet(object.params) ? Params.fromJSON(object.params) : void 0
|
|
511
536
|
};
|
|
512
537
|
},
|
|
513
538
|
toJSON(message) {
|
|
@@ -517,8 +542,9 @@ var MsgUpdateParams = {
|
|
|
517
542
|
return obj;
|
|
518
543
|
},
|
|
519
544
|
fromPartial(object) {
|
|
545
|
+
var _a;
|
|
520
546
|
const message = createBaseMsgUpdateParams();
|
|
521
|
-
message.authority = object.authority
|
|
547
|
+
message.authority = (_a = object.authority) != null ? _a : "";
|
|
522
548
|
message.params = object.params !== void 0 && object.params !== null ? Params.fromPartial(object.params) : void 0;
|
|
523
549
|
return message;
|
|
524
550
|
},
|
|
@@ -572,33 +598,33 @@ function createBaseInflationDistribution() {
|
|
|
572
598
|
}
|
|
573
599
|
var InflationDistribution = {
|
|
574
600
|
typeUrl: "/evmos.inflation.v1.InflationDistribution",
|
|
575
|
-
encode(message, writer =
|
|
601
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
576
602
|
if (message.stakingRewards !== "") {
|
|
577
|
-
writer.uint32(10).string(Decimal.fromUserInput(message.stakingRewards, 18).atomics);
|
|
603
|
+
writer.uint32(10).string(math.Decimal.fromUserInput(message.stakingRewards, 18).atomics);
|
|
578
604
|
}
|
|
579
605
|
if (message.usageIncentives !== "") {
|
|
580
|
-
writer.uint32(18).string(Decimal.fromUserInput(message.usageIncentives, 18).atomics);
|
|
606
|
+
writer.uint32(18).string(math.Decimal.fromUserInput(message.usageIncentives, 18).atomics);
|
|
581
607
|
}
|
|
582
608
|
if (message.communityPool !== "") {
|
|
583
|
-
writer.uint32(26).string(Decimal.fromUserInput(message.communityPool, 18).atomics);
|
|
609
|
+
writer.uint32(26).string(math.Decimal.fromUserInput(message.communityPool, 18).atomics);
|
|
584
610
|
}
|
|
585
611
|
return writer;
|
|
586
612
|
},
|
|
587
613
|
decode(input, length) {
|
|
588
|
-
const reader = input instanceof
|
|
614
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
589
615
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
590
616
|
const message = createBaseInflationDistribution();
|
|
591
617
|
while (reader.pos < end) {
|
|
592
618
|
const tag = reader.uint32();
|
|
593
619
|
switch (tag >>> 3) {
|
|
594
620
|
case 1:
|
|
595
|
-
message.stakingRewards = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
621
|
+
message.stakingRewards = math.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
596
622
|
break;
|
|
597
623
|
case 2:
|
|
598
|
-
message.usageIncentives = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
624
|
+
message.usageIncentives = math.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
599
625
|
break;
|
|
600
626
|
case 3:
|
|
601
|
-
message.communityPool = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
627
|
+
message.communityPool = math.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
602
628
|
break;
|
|
603
629
|
default:
|
|
604
630
|
reader.skipType(tag & 7);
|
|
@@ -609,9 +635,9 @@ var InflationDistribution = {
|
|
|
609
635
|
},
|
|
610
636
|
fromJSON(object) {
|
|
611
637
|
return {
|
|
612
|
-
stakingRewards: isSet(object.stakingRewards) ? String(object.stakingRewards) : "",
|
|
613
|
-
usageIncentives: isSet(object.usageIncentives) ? String(object.usageIncentives) : "",
|
|
614
|
-
communityPool: isSet(object.communityPool) ? String(object.communityPool) : ""
|
|
638
|
+
stakingRewards: chunkRT5TZAMU_js.isSet(object.stakingRewards) ? String(object.stakingRewards) : "",
|
|
639
|
+
usageIncentives: chunkRT5TZAMU_js.isSet(object.usageIncentives) ? String(object.usageIncentives) : "",
|
|
640
|
+
communityPool: chunkRT5TZAMU_js.isSet(object.communityPool) ? String(object.communityPool) : ""
|
|
615
641
|
};
|
|
616
642
|
},
|
|
617
643
|
toJSON(message) {
|
|
@@ -622,10 +648,11 @@ var InflationDistribution = {
|
|
|
622
648
|
return obj;
|
|
623
649
|
},
|
|
624
650
|
fromPartial(object) {
|
|
651
|
+
var _a, _b, _c;
|
|
625
652
|
const message = createBaseInflationDistribution();
|
|
626
|
-
message.stakingRewards = object.stakingRewards
|
|
627
|
-
message.usageIncentives = object.usageIncentives
|
|
628
|
-
message.communityPool = object.communityPool
|
|
653
|
+
message.stakingRewards = (_a = object.stakingRewards) != null ? _a : "";
|
|
654
|
+
message.usageIncentives = (_b = object.usageIncentives) != null ? _b : "";
|
|
655
|
+
message.communityPool = (_c = object.communityPool) != null ? _c : "";
|
|
629
656
|
return message;
|
|
630
657
|
},
|
|
631
658
|
fromAmino(object) {
|
|
@@ -643,9 +670,9 @@ var InflationDistribution = {
|
|
|
643
670
|
},
|
|
644
671
|
toAmino(message) {
|
|
645
672
|
const obj = {};
|
|
646
|
-
obj.staking_rewards = padDecimal(message.stakingRewards) === "" ? void 0 : padDecimal(message.stakingRewards);
|
|
647
|
-
obj.usage_incentives = padDecimal(message.usageIncentives) === "" ? void 0 : padDecimal(message.usageIncentives);
|
|
648
|
-
obj.community_pool = padDecimal(message.communityPool) === "" ? void 0 : padDecimal(message.communityPool);
|
|
673
|
+
obj.staking_rewards = chunkRT5TZAMU_js.padDecimal(message.stakingRewards) === "" ? void 0 : chunkRT5TZAMU_js.padDecimal(message.stakingRewards);
|
|
674
|
+
obj.usage_incentives = chunkRT5TZAMU_js.padDecimal(message.usageIncentives) === "" ? void 0 : chunkRT5TZAMU_js.padDecimal(message.usageIncentives);
|
|
675
|
+
obj.community_pool = chunkRT5TZAMU_js.padDecimal(message.communityPool) === "" ? void 0 : chunkRT5TZAMU_js.padDecimal(message.communityPool);
|
|
649
676
|
return obj;
|
|
650
677
|
},
|
|
651
678
|
fromAminoMsg(object) {
|
|
@@ -681,45 +708,45 @@ function createBaseExponentialCalculation() {
|
|
|
681
708
|
}
|
|
682
709
|
var ExponentialCalculation = {
|
|
683
710
|
typeUrl: "/evmos.inflation.v1.ExponentialCalculation",
|
|
684
|
-
encode(message, writer =
|
|
711
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
685
712
|
if (message.a !== "") {
|
|
686
|
-
writer.uint32(10).string(Decimal.fromUserInput(message.a, 18).atomics);
|
|
713
|
+
writer.uint32(10).string(math.Decimal.fromUserInput(message.a, 18).atomics);
|
|
687
714
|
}
|
|
688
715
|
if (message.r !== "") {
|
|
689
|
-
writer.uint32(18).string(Decimal.fromUserInput(message.r, 18).atomics);
|
|
716
|
+
writer.uint32(18).string(math.Decimal.fromUserInput(message.r, 18).atomics);
|
|
690
717
|
}
|
|
691
718
|
if (message.c !== "") {
|
|
692
|
-
writer.uint32(26).string(Decimal.fromUserInput(message.c, 18).atomics);
|
|
719
|
+
writer.uint32(26).string(math.Decimal.fromUserInput(message.c, 18).atomics);
|
|
693
720
|
}
|
|
694
721
|
if (message.bondingTarget !== "") {
|
|
695
|
-
writer.uint32(34).string(Decimal.fromUserInput(message.bondingTarget, 18).atomics);
|
|
722
|
+
writer.uint32(34).string(math.Decimal.fromUserInput(message.bondingTarget, 18).atomics);
|
|
696
723
|
}
|
|
697
724
|
if (message.maxVariance !== "") {
|
|
698
|
-
writer.uint32(42).string(Decimal.fromUserInput(message.maxVariance, 18).atomics);
|
|
725
|
+
writer.uint32(42).string(math.Decimal.fromUserInput(message.maxVariance, 18).atomics);
|
|
699
726
|
}
|
|
700
727
|
return writer;
|
|
701
728
|
},
|
|
702
729
|
decode(input, length) {
|
|
703
|
-
const reader = input instanceof
|
|
730
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
704
731
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
705
732
|
const message = createBaseExponentialCalculation();
|
|
706
733
|
while (reader.pos < end) {
|
|
707
734
|
const tag = reader.uint32();
|
|
708
735
|
switch (tag >>> 3) {
|
|
709
736
|
case 1:
|
|
710
|
-
message.a = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
737
|
+
message.a = math.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
711
738
|
break;
|
|
712
739
|
case 2:
|
|
713
|
-
message.r = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
740
|
+
message.r = math.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
714
741
|
break;
|
|
715
742
|
case 3:
|
|
716
|
-
message.c = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
743
|
+
message.c = math.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
717
744
|
break;
|
|
718
745
|
case 4:
|
|
719
|
-
message.bondingTarget = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
746
|
+
message.bondingTarget = math.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
720
747
|
break;
|
|
721
748
|
case 5:
|
|
722
|
-
message.maxVariance = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
749
|
+
message.maxVariance = math.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
723
750
|
break;
|
|
724
751
|
default:
|
|
725
752
|
reader.skipType(tag & 7);
|
|
@@ -730,11 +757,11 @@ var ExponentialCalculation = {
|
|
|
730
757
|
},
|
|
731
758
|
fromJSON(object) {
|
|
732
759
|
return {
|
|
733
|
-
a: isSet(object.a) ? String(object.a) : "",
|
|
734
|
-
r: isSet(object.r) ? String(object.r) : "",
|
|
735
|
-
c: isSet(object.c) ? String(object.c) : "",
|
|
736
|
-
bondingTarget: isSet(object.bondingTarget) ? String(object.bondingTarget) : "",
|
|
737
|
-
maxVariance: isSet(object.maxVariance) ? String(object.maxVariance) : ""
|
|
760
|
+
a: chunkRT5TZAMU_js.isSet(object.a) ? String(object.a) : "",
|
|
761
|
+
r: chunkRT5TZAMU_js.isSet(object.r) ? String(object.r) : "",
|
|
762
|
+
c: chunkRT5TZAMU_js.isSet(object.c) ? String(object.c) : "",
|
|
763
|
+
bondingTarget: chunkRT5TZAMU_js.isSet(object.bondingTarget) ? String(object.bondingTarget) : "",
|
|
764
|
+
maxVariance: chunkRT5TZAMU_js.isSet(object.maxVariance) ? String(object.maxVariance) : ""
|
|
738
765
|
};
|
|
739
766
|
},
|
|
740
767
|
toJSON(message) {
|
|
@@ -747,12 +774,13 @@ var ExponentialCalculation = {
|
|
|
747
774
|
return obj;
|
|
748
775
|
},
|
|
749
776
|
fromPartial(object) {
|
|
777
|
+
var _a, _b, _c, _d, _e;
|
|
750
778
|
const message = createBaseExponentialCalculation();
|
|
751
|
-
message.a = object.a
|
|
752
|
-
message.r = object.r
|
|
753
|
-
message.c = object.c
|
|
754
|
-
message.bondingTarget = object.bondingTarget
|
|
755
|
-
message.maxVariance = object.maxVariance
|
|
779
|
+
message.a = (_a = object.a) != null ? _a : "";
|
|
780
|
+
message.r = (_b = object.r) != null ? _b : "";
|
|
781
|
+
message.c = (_c = object.c) != null ? _c : "";
|
|
782
|
+
message.bondingTarget = (_d = object.bondingTarget) != null ? _d : "";
|
|
783
|
+
message.maxVariance = (_e = object.maxVariance) != null ? _e : "";
|
|
756
784
|
return message;
|
|
757
785
|
},
|
|
758
786
|
fromAmino(object) {
|
|
@@ -776,11 +804,11 @@ var ExponentialCalculation = {
|
|
|
776
804
|
},
|
|
777
805
|
toAmino(message) {
|
|
778
806
|
const obj = {};
|
|
779
|
-
obj.a = padDecimal(message.a) === "" ? void 0 : padDecimal(message.a);
|
|
780
|
-
obj.r = padDecimal(message.r) === "" ? void 0 : padDecimal(message.r);
|
|
781
|
-
obj.c = padDecimal(message.c) === "" ? void 0 : padDecimal(message.c);
|
|
782
|
-
obj.bonding_target = padDecimal(message.bondingTarget) === "" ? void 0 : padDecimal(message.bondingTarget);
|
|
783
|
-
obj.max_variance = padDecimal(message.maxVariance) === "" ? void 0 : padDecimal(message.maxVariance);
|
|
807
|
+
obj.a = chunkRT5TZAMU_js.padDecimal(message.a) === "" ? void 0 : chunkRT5TZAMU_js.padDecimal(message.a);
|
|
808
|
+
obj.r = chunkRT5TZAMU_js.padDecimal(message.r) === "" ? void 0 : chunkRT5TZAMU_js.padDecimal(message.r);
|
|
809
|
+
obj.c = chunkRT5TZAMU_js.padDecimal(message.c) === "" ? void 0 : chunkRT5TZAMU_js.padDecimal(message.c);
|
|
810
|
+
obj.bonding_target = chunkRT5TZAMU_js.padDecimal(message.bondingTarget) === "" ? void 0 : chunkRT5TZAMU_js.padDecimal(message.bondingTarget);
|
|
811
|
+
obj.max_variance = chunkRT5TZAMU_js.padDecimal(message.maxVariance) === "" ? void 0 : chunkRT5TZAMU_js.padDecimal(message.maxVariance);
|
|
784
812
|
return obj;
|
|
785
813
|
},
|
|
786
814
|
fromAminoMsg(object) {
|
|
@@ -815,7 +843,7 @@ function createBaseParams2() {
|
|
|
815
843
|
}
|
|
816
844
|
var Params2 = {
|
|
817
845
|
typeUrl: "/evmos.inflation.v1.Params",
|
|
818
|
-
encode(message, writer =
|
|
846
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
819
847
|
if (message.mintDenom !== "") {
|
|
820
848
|
writer.uint32(10).string(message.mintDenom);
|
|
821
849
|
}
|
|
@@ -831,7 +859,7 @@ var Params2 = {
|
|
|
831
859
|
return writer;
|
|
832
860
|
},
|
|
833
861
|
decode(input, length) {
|
|
834
|
-
const reader = input instanceof
|
|
862
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
835
863
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
836
864
|
const message = createBaseParams2();
|
|
837
865
|
while (reader.pos < end) {
|
|
@@ -858,10 +886,10 @@ var Params2 = {
|
|
|
858
886
|
},
|
|
859
887
|
fromJSON(object) {
|
|
860
888
|
return {
|
|
861
|
-
mintDenom: isSet(object.mintDenom) ? String(object.mintDenom) : "",
|
|
862
|
-
exponentialCalculation: isSet(object.exponentialCalculation) ? ExponentialCalculation.fromJSON(object.exponentialCalculation) : void 0,
|
|
863
|
-
inflationDistribution: isSet(object.inflationDistribution) ? InflationDistribution.fromJSON(object.inflationDistribution) : void 0,
|
|
864
|
-
enableInflation: isSet(object.enableInflation) ? Boolean(object.enableInflation) : false
|
|
889
|
+
mintDenom: chunkRT5TZAMU_js.isSet(object.mintDenom) ? String(object.mintDenom) : "",
|
|
890
|
+
exponentialCalculation: chunkRT5TZAMU_js.isSet(object.exponentialCalculation) ? ExponentialCalculation.fromJSON(object.exponentialCalculation) : void 0,
|
|
891
|
+
inflationDistribution: chunkRT5TZAMU_js.isSet(object.inflationDistribution) ? InflationDistribution.fromJSON(object.inflationDistribution) : void 0,
|
|
892
|
+
enableInflation: chunkRT5TZAMU_js.isSet(object.enableInflation) ? Boolean(object.enableInflation) : false
|
|
865
893
|
};
|
|
866
894
|
},
|
|
867
895
|
toJSON(message) {
|
|
@@ -873,11 +901,12 @@ var Params2 = {
|
|
|
873
901
|
return obj;
|
|
874
902
|
},
|
|
875
903
|
fromPartial(object) {
|
|
904
|
+
var _a, _b;
|
|
876
905
|
const message = createBaseParams2();
|
|
877
|
-
message.mintDenom = object.mintDenom
|
|
906
|
+
message.mintDenom = (_a = object.mintDenom) != null ? _a : "";
|
|
878
907
|
message.exponentialCalculation = object.exponentialCalculation !== void 0 && object.exponentialCalculation !== null ? ExponentialCalculation.fromPartial(object.exponentialCalculation) : void 0;
|
|
879
908
|
message.inflationDistribution = object.inflationDistribution !== void 0 && object.inflationDistribution !== null ? InflationDistribution.fromPartial(object.inflationDistribution) : void 0;
|
|
880
|
-
message.enableInflation = object.enableInflation
|
|
909
|
+
message.enableInflation = (_b = object.enableInflation) != null ? _b : false;
|
|
881
910
|
return message;
|
|
882
911
|
},
|
|
883
912
|
fromAmino(object) {
|
|
@@ -934,7 +963,7 @@ function createBaseMsgUpdateParams2() {
|
|
|
934
963
|
}
|
|
935
964
|
var MsgUpdateParams2 = {
|
|
936
965
|
typeUrl: "/evmos.inflation.v1.MsgUpdateParams",
|
|
937
|
-
encode(message, writer =
|
|
966
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
938
967
|
if (message.authority !== "") {
|
|
939
968
|
writer.uint32(10).string(message.authority);
|
|
940
969
|
}
|
|
@@ -944,7 +973,7 @@ var MsgUpdateParams2 = {
|
|
|
944
973
|
return writer;
|
|
945
974
|
},
|
|
946
975
|
decode(input, length) {
|
|
947
|
-
const reader = input instanceof
|
|
976
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
948
977
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
949
978
|
const message = createBaseMsgUpdateParams2();
|
|
950
979
|
while (reader.pos < end) {
|
|
@@ -965,8 +994,8 @@ var MsgUpdateParams2 = {
|
|
|
965
994
|
},
|
|
966
995
|
fromJSON(object) {
|
|
967
996
|
return {
|
|
968
|
-
authority: isSet(object.authority) ? String(object.authority) : "",
|
|
969
|
-
params: isSet(object.params) ? Params2.fromJSON(object.params) : void 0
|
|
997
|
+
authority: chunkRT5TZAMU_js.isSet(object.authority) ? String(object.authority) : "",
|
|
998
|
+
params: chunkRT5TZAMU_js.isSet(object.params) ? Params2.fromJSON(object.params) : void 0
|
|
970
999
|
};
|
|
971
1000
|
},
|
|
972
1001
|
toJSON(message) {
|
|
@@ -976,8 +1005,9 @@ var MsgUpdateParams2 = {
|
|
|
976
1005
|
return obj;
|
|
977
1006
|
},
|
|
978
1007
|
fromPartial(object) {
|
|
1008
|
+
var _a;
|
|
979
1009
|
const message = createBaseMsgUpdateParams2();
|
|
980
|
-
message.authority = object.authority
|
|
1010
|
+
message.authority = (_a = object.authority) != null ? _a : "";
|
|
981
1011
|
message.params = object.params !== void 0 && object.params !== null ? Params2.fromPartial(object.params) : void 0;
|
|
982
1012
|
return message;
|
|
983
1013
|
},
|
|
@@ -1026,17 +1056,17 @@ function createBaseParams3() {
|
|
|
1026
1056
|
return {
|
|
1027
1057
|
enableRevenue: false,
|
|
1028
1058
|
developerShares: "",
|
|
1029
|
-
addrDerivationCostCreate: Long.UZERO
|
|
1059
|
+
addrDerivationCostCreate: chunkRT5TZAMU_js.Long.UZERO
|
|
1030
1060
|
};
|
|
1031
1061
|
}
|
|
1032
1062
|
var Params3 = {
|
|
1033
1063
|
typeUrl: "/evmos.revenue.v1.Params",
|
|
1034
|
-
encode(message, writer =
|
|
1064
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
1035
1065
|
if (message.enableRevenue === true) {
|
|
1036
1066
|
writer.uint32(8).bool(message.enableRevenue);
|
|
1037
1067
|
}
|
|
1038
1068
|
if (message.developerShares !== "") {
|
|
1039
|
-
writer.uint32(18).string(Decimal.fromUserInput(message.developerShares, 18).atomics);
|
|
1069
|
+
writer.uint32(18).string(math.Decimal.fromUserInput(message.developerShares, 18).atomics);
|
|
1040
1070
|
}
|
|
1041
1071
|
if (!message.addrDerivationCostCreate.isZero()) {
|
|
1042
1072
|
writer.uint32(24).uint64(message.addrDerivationCostCreate);
|
|
@@ -1044,7 +1074,7 @@ var Params3 = {
|
|
|
1044
1074
|
return writer;
|
|
1045
1075
|
},
|
|
1046
1076
|
decode(input, length) {
|
|
1047
|
-
const reader = input instanceof
|
|
1077
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
1048
1078
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1049
1079
|
const message = createBaseParams3();
|
|
1050
1080
|
while (reader.pos < end) {
|
|
@@ -1054,7 +1084,7 @@ var Params3 = {
|
|
|
1054
1084
|
message.enableRevenue = reader.bool();
|
|
1055
1085
|
break;
|
|
1056
1086
|
case 2:
|
|
1057
|
-
message.developerShares = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1087
|
+
message.developerShares = math.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1058
1088
|
break;
|
|
1059
1089
|
case 3:
|
|
1060
1090
|
message.addrDerivationCostCreate = reader.uint64();
|
|
@@ -1068,23 +1098,24 @@ var Params3 = {
|
|
|
1068
1098
|
},
|
|
1069
1099
|
fromJSON(object) {
|
|
1070
1100
|
return {
|
|
1071
|
-
enableRevenue: isSet(object.enableRevenue) ? Boolean(object.enableRevenue) : false,
|
|
1072
|
-
developerShares: isSet(object.developerShares) ? String(object.developerShares) : "",
|
|
1073
|
-
addrDerivationCostCreate: isSet(object.addrDerivationCostCreate) ? Long.fromValue(object.addrDerivationCostCreate) : Long.UZERO
|
|
1101
|
+
enableRevenue: chunkRT5TZAMU_js.isSet(object.enableRevenue) ? Boolean(object.enableRevenue) : false,
|
|
1102
|
+
developerShares: chunkRT5TZAMU_js.isSet(object.developerShares) ? String(object.developerShares) : "",
|
|
1103
|
+
addrDerivationCostCreate: chunkRT5TZAMU_js.isSet(object.addrDerivationCostCreate) ? chunkRT5TZAMU_js.Long.fromValue(object.addrDerivationCostCreate) : chunkRT5TZAMU_js.Long.UZERO
|
|
1074
1104
|
};
|
|
1075
1105
|
},
|
|
1076
1106
|
toJSON(message) {
|
|
1077
1107
|
const obj = {};
|
|
1078
1108
|
message.enableRevenue !== void 0 && (obj.enableRevenue = message.enableRevenue);
|
|
1079
1109
|
message.developerShares !== void 0 && (obj.developerShares = message.developerShares);
|
|
1080
|
-
message.addrDerivationCostCreate !== void 0 && (obj.addrDerivationCostCreate = (message.addrDerivationCostCreate || Long.UZERO).toString());
|
|
1110
|
+
message.addrDerivationCostCreate !== void 0 && (obj.addrDerivationCostCreate = (message.addrDerivationCostCreate || chunkRT5TZAMU_js.Long.UZERO).toString());
|
|
1081
1111
|
return obj;
|
|
1082
1112
|
},
|
|
1083
1113
|
fromPartial(object) {
|
|
1114
|
+
var _a, _b;
|
|
1084
1115
|
const message = createBaseParams3();
|
|
1085
|
-
message.enableRevenue = object.enableRevenue
|
|
1086
|
-
message.developerShares = object.developerShares
|
|
1087
|
-
message.addrDerivationCostCreate = object.addrDerivationCostCreate !== void 0 && object.addrDerivationCostCreate !== null ? Long.fromValue(object.addrDerivationCostCreate) : Long.UZERO;
|
|
1116
|
+
message.enableRevenue = (_a = object.enableRevenue) != null ? _a : false;
|
|
1117
|
+
message.developerShares = (_b = object.developerShares) != null ? _b : "";
|
|
1118
|
+
message.addrDerivationCostCreate = object.addrDerivationCostCreate !== void 0 && object.addrDerivationCostCreate !== null ? chunkRT5TZAMU_js.Long.fromValue(object.addrDerivationCostCreate) : chunkRT5TZAMU_js.Long.UZERO;
|
|
1088
1119
|
return message;
|
|
1089
1120
|
},
|
|
1090
1121
|
fromAmino(object) {
|
|
@@ -1096,14 +1127,14 @@ var Params3 = {
|
|
|
1096
1127
|
message.developerShares = object.developer_shares;
|
|
1097
1128
|
}
|
|
1098
1129
|
if (object.addr_derivation_cost_create !== void 0 && object.addr_derivation_cost_create !== null) {
|
|
1099
|
-
message.addrDerivationCostCreate = Long.fromString(object.addr_derivation_cost_create);
|
|
1130
|
+
message.addrDerivationCostCreate = chunkRT5TZAMU_js.Long.fromString(object.addr_derivation_cost_create);
|
|
1100
1131
|
}
|
|
1101
1132
|
return message;
|
|
1102
1133
|
},
|
|
1103
1134
|
toAmino(message) {
|
|
1104
1135
|
const obj = {};
|
|
1105
1136
|
obj.enable_revenue = message.enableRevenue === false ? void 0 : message.enableRevenue;
|
|
1106
|
-
obj.developer_shares = padDecimal(message.developerShares) === "" ? void 0 : padDecimal(message.developerShares);
|
|
1137
|
+
obj.developer_shares = chunkRT5TZAMU_js.padDecimal(message.developerShares) === "" ? void 0 : chunkRT5TZAMU_js.padDecimal(message.developerShares);
|
|
1107
1138
|
obj.addr_derivation_cost_create = !message.addrDerivationCostCreate.isZero() ? message.addrDerivationCostCreate.toString() : void 0;
|
|
1108
1139
|
return obj;
|
|
1109
1140
|
},
|
|
@@ -1139,7 +1170,7 @@ function createBaseMsgRegisterRevenue() {
|
|
|
1139
1170
|
}
|
|
1140
1171
|
var MsgRegisterRevenue = {
|
|
1141
1172
|
typeUrl: "/evmos.revenue.v1.MsgRegisterRevenue",
|
|
1142
|
-
encode(message, writer =
|
|
1173
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
1143
1174
|
if (message.contractAddress !== "") {
|
|
1144
1175
|
writer.uint32(10).string(message.contractAddress);
|
|
1145
1176
|
}
|
|
@@ -1157,7 +1188,7 @@ var MsgRegisterRevenue = {
|
|
|
1157
1188
|
return writer;
|
|
1158
1189
|
},
|
|
1159
1190
|
decode(input, length) {
|
|
1160
|
-
const reader = input instanceof
|
|
1191
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
1161
1192
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1162
1193
|
const message = createBaseMsgRegisterRevenue();
|
|
1163
1194
|
while (reader.pos < end) {
|
|
@@ -1191,10 +1222,10 @@ var MsgRegisterRevenue = {
|
|
|
1191
1222
|
},
|
|
1192
1223
|
fromJSON(object) {
|
|
1193
1224
|
return {
|
|
1194
|
-
contractAddress: isSet(object.contractAddress) ? String(object.contractAddress) : "",
|
|
1195
|
-
deployerAddress: isSet(object.deployerAddress) ? String(object.deployerAddress) : "",
|
|
1196
|
-
withdrawerAddress: isSet(object.withdrawerAddress) ? String(object.withdrawerAddress) : "",
|
|
1197
|
-
nonces: Array.isArray(object
|
|
1225
|
+
contractAddress: chunkRT5TZAMU_js.isSet(object.contractAddress) ? String(object.contractAddress) : "",
|
|
1226
|
+
deployerAddress: chunkRT5TZAMU_js.isSet(object.deployerAddress) ? String(object.deployerAddress) : "",
|
|
1227
|
+
withdrawerAddress: chunkRT5TZAMU_js.isSet(object.withdrawerAddress) ? String(object.withdrawerAddress) : "",
|
|
1228
|
+
nonces: Array.isArray(object == null ? void 0 : object.nonces) ? object.nonces.map((e) => chunkRT5TZAMU_js.Long.fromValue(e)) : []
|
|
1198
1229
|
};
|
|
1199
1230
|
},
|
|
1200
1231
|
toJSON(message) {
|
|
@@ -1203,21 +1234,23 @@ var MsgRegisterRevenue = {
|
|
|
1203
1234
|
message.deployerAddress !== void 0 && (obj.deployerAddress = message.deployerAddress);
|
|
1204
1235
|
message.withdrawerAddress !== void 0 && (obj.withdrawerAddress = message.withdrawerAddress);
|
|
1205
1236
|
if (message.nonces) {
|
|
1206
|
-
obj.nonces = message.nonces.map((e) => (e || Long.UZERO).toString());
|
|
1237
|
+
obj.nonces = message.nonces.map((e) => (e || chunkRT5TZAMU_js.Long.UZERO).toString());
|
|
1207
1238
|
} else {
|
|
1208
1239
|
obj.nonces = [];
|
|
1209
1240
|
}
|
|
1210
1241
|
return obj;
|
|
1211
1242
|
},
|
|
1212
1243
|
fromPartial(object) {
|
|
1244
|
+
var _a, _b, _c, _d;
|
|
1213
1245
|
const message = createBaseMsgRegisterRevenue();
|
|
1214
|
-
message.contractAddress = object.contractAddress
|
|
1215
|
-
message.deployerAddress = object.deployerAddress
|
|
1216
|
-
message.withdrawerAddress = object.withdrawerAddress
|
|
1217
|
-
message.nonces = object.nonces
|
|
1246
|
+
message.contractAddress = (_a = object.contractAddress) != null ? _a : "";
|
|
1247
|
+
message.deployerAddress = (_b = object.deployerAddress) != null ? _b : "";
|
|
1248
|
+
message.withdrawerAddress = (_c = object.withdrawerAddress) != null ? _c : "";
|
|
1249
|
+
message.nonces = ((_d = object.nonces) == null ? void 0 : _d.map((e) => chunkRT5TZAMU_js.Long.fromValue(e))) || [];
|
|
1218
1250
|
return message;
|
|
1219
1251
|
},
|
|
1220
1252
|
fromAmino(object) {
|
|
1253
|
+
var _a;
|
|
1221
1254
|
const message = createBaseMsgRegisterRevenue();
|
|
1222
1255
|
if (object.contract_address !== void 0 && object.contract_address !== null) {
|
|
1223
1256
|
message.contractAddress = object.contract_address;
|
|
@@ -1228,7 +1261,7 @@ var MsgRegisterRevenue = {
|
|
|
1228
1261
|
if (object.withdrawer_address !== void 0 && object.withdrawer_address !== null) {
|
|
1229
1262
|
message.withdrawerAddress = object.withdrawer_address;
|
|
1230
1263
|
}
|
|
1231
|
-
message.nonces = object.nonces
|
|
1264
|
+
message.nonces = ((_a = object.nonces) == null ? void 0 : _a.map((e) => chunkRT5TZAMU_js.Long.fromString(e))) || [];
|
|
1232
1265
|
return message;
|
|
1233
1266
|
},
|
|
1234
1267
|
toAmino(message) {
|
|
@@ -1274,7 +1307,7 @@ function createBaseMsgUpdateRevenue() {
|
|
|
1274
1307
|
}
|
|
1275
1308
|
var MsgUpdateRevenue = {
|
|
1276
1309
|
typeUrl: "/evmos.revenue.v1.MsgUpdateRevenue",
|
|
1277
|
-
encode(message, writer =
|
|
1310
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
1278
1311
|
if (message.contractAddress !== "") {
|
|
1279
1312
|
writer.uint32(10).string(message.contractAddress);
|
|
1280
1313
|
}
|
|
@@ -1287,7 +1320,7 @@ var MsgUpdateRevenue = {
|
|
|
1287
1320
|
return writer;
|
|
1288
1321
|
},
|
|
1289
1322
|
decode(input, length) {
|
|
1290
|
-
const reader = input instanceof
|
|
1323
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
1291
1324
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1292
1325
|
const message = createBaseMsgUpdateRevenue();
|
|
1293
1326
|
while (reader.pos < end) {
|
|
@@ -1311,9 +1344,9 @@ var MsgUpdateRevenue = {
|
|
|
1311
1344
|
},
|
|
1312
1345
|
fromJSON(object) {
|
|
1313
1346
|
return {
|
|
1314
|
-
contractAddress: isSet(object.contractAddress) ? String(object.contractAddress) : "",
|
|
1315
|
-
deployerAddress: isSet(object.deployerAddress) ? String(object.deployerAddress) : "",
|
|
1316
|
-
withdrawerAddress: isSet(object.withdrawerAddress) ? String(object.withdrawerAddress) : ""
|
|
1347
|
+
contractAddress: chunkRT5TZAMU_js.isSet(object.contractAddress) ? String(object.contractAddress) : "",
|
|
1348
|
+
deployerAddress: chunkRT5TZAMU_js.isSet(object.deployerAddress) ? String(object.deployerAddress) : "",
|
|
1349
|
+
withdrawerAddress: chunkRT5TZAMU_js.isSet(object.withdrawerAddress) ? String(object.withdrawerAddress) : ""
|
|
1317
1350
|
};
|
|
1318
1351
|
},
|
|
1319
1352
|
toJSON(message) {
|
|
@@ -1324,10 +1357,11 @@ var MsgUpdateRevenue = {
|
|
|
1324
1357
|
return obj;
|
|
1325
1358
|
},
|
|
1326
1359
|
fromPartial(object) {
|
|
1360
|
+
var _a, _b, _c;
|
|
1327
1361
|
const message = createBaseMsgUpdateRevenue();
|
|
1328
|
-
message.contractAddress = object.contractAddress
|
|
1329
|
-
message.deployerAddress = object.deployerAddress
|
|
1330
|
-
message.withdrawerAddress = object.withdrawerAddress
|
|
1362
|
+
message.contractAddress = (_a = object.contractAddress) != null ? _a : "";
|
|
1363
|
+
message.deployerAddress = (_b = object.deployerAddress) != null ? _b : "";
|
|
1364
|
+
message.withdrawerAddress = (_c = object.withdrawerAddress) != null ? _c : "";
|
|
1331
1365
|
return message;
|
|
1332
1366
|
},
|
|
1333
1367
|
fromAmino(object) {
|
|
@@ -1380,7 +1414,7 @@ function createBaseMsgCancelRevenue() {
|
|
|
1380
1414
|
}
|
|
1381
1415
|
var MsgCancelRevenue = {
|
|
1382
1416
|
typeUrl: "/evmos.revenue.v1.MsgCancelRevenue",
|
|
1383
|
-
encode(message, writer =
|
|
1417
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
1384
1418
|
if (message.contractAddress !== "") {
|
|
1385
1419
|
writer.uint32(10).string(message.contractAddress);
|
|
1386
1420
|
}
|
|
@@ -1390,7 +1424,7 @@ var MsgCancelRevenue = {
|
|
|
1390
1424
|
return writer;
|
|
1391
1425
|
},
|
|
1392
1426
|
decode(input, length) {
|
|
1393
|
-
const reader = input instanceof
|
|
1427
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
1394
1428
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1395
1429
|
const message = createBaseMsgCancelRevenue();
|
|
1396
1430
|
while (reader.pos < end) {
|
|
@@ -1411,8 +1445,8 @@ var MsgCancelRevenue = {
|
|
|
1411
1445
|
},
|
|
1412
1446
|
fromJSON(object) {
|
|
1413
1447
|
return {
|
|
1414
|
-
contractAddress: isSet(object.contractAddress) ? String(object.contractAddress) : "",
|
|
1415
|
-
deployerAddress: isSet(object.deployerAddress) ? String(object.deployerAddress) : ""
|
|
1448
|
+
contractAddress: chunkRT5TZAMU_js.isSet(object.contractAddress) ? String(object.contractAddress) : "",
|
|
1449
|
+
deployerAddress: chunkRT5TZAMU_js.isSet(object.deployerAddress) ? String(object.deployerAddress) : ""
|
|
1416
1450
|
};
|
|
1417
1451
|
},
|
|
1418
1452
|
toJSON(message) {
|
|
@@ -1422,9 +1456,10 @@ var MsgCancelRevenue = {
|
|
|
1422
1456
|
return obj;
|
|
1423
1457
|
},
|
|
1424
1458
|
fromPartial(object) {
|
|
1459
|
+
var _a, _b;
|
|
1425
1460
|
const message = createBaseMsgCancelRevenue();
|
|
1426
|
-
message.contractAddress = object.contractAddress
|
|
1427
|
-
message.deployerAddress = object.deployerAddress
|
|
1461
|
+
message.contractAddress = (_a = object.contractAddress) != null ? _a : "";
|
|
1462
|
+
message.deployerAddress = (_b = object.deployerAddress) != null ? _b : "";
|
|
1428
1463
|
return message;
|
|
1429
1464
|
},
|
|
1430
1465
|
fromAmino(object) {
|
|
@@ -1473,7 +1508,7 @@ function createBaseMsgUpdateParams3() {
|
|
|
1473
1508
|
}
|
|
1474
1509
|
var MsgUpdateParams3 = {
|
|
1475
1510
|
typeUrl: "/evmos.revenue.v1.MsgUpdateParams",
|
|
1476
|
-
encode(message, writer =
|
|
1511
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
1477
1512
|
if (message.authority !== "") {
|
|
1478
1513
|
writer.uint32(10).string(message.authority);
|
|
1479
1514
|
}
|
|
@@ -1483,7 +1518,7 @@ var MsgUpdateParams3 = {
|
|
|
1483
1518
|
return writer;
|
|
1484
1519
|
},
|
|
1485
1520
|
decode(input, length) {
|
|
1486
|
-
const reader = input instanceof
|
|
1521
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
1487
1522
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1488
1523
|
const message = createBaseMsgUpdateParams3();
|
|
1489
1524
|
while (reader.pos < end) {
|
|
@@ -1504,8 +1539,8 @@ var MsgUpdateParams3 = {
|
|
|
1504
1539
|
},
|
|
1505
1540
|
fromJSON(object) {
|
|
1506
1541
|
return {
|
|
1507
|
-
authority: isSet(object.authority) ? String(object.authority) : "",
|
|
1508
|
-
params: isSet(object.params) ? Params3.fromJSON(object.params) : void 0
|
|
1542
|
+
authority: chunkRT5TZAMU_js.isSet(object.authority) ? String(object.authority) : "",
|
|
1543
|
+
params: chunkRT5TZAMU_js.isSet(object.params) ? Params3.fromJSON(object.params) : void 0
|
|
1509
1544
|
};
|
|
1510
1545
|
},
|
|
1511
1546
|
toJSON(message) {
|
|
@@ -1515,8 +1550,9 @@ var MsgUpdateParams3 = {
|
|
|
1515
1550
|
return obj;
|
|
1516
1551
|
},
|
|
1517
1552
|
fromPartial(object) {
|
|
1553
|
+
var _a;
|
|
1518
1554
|
const message = createBaseMsgUpdateParams3();
|
|
1519
|
-
message.authority = object.authority
|
|
1555
|
+
message.authority = (_a = object.authority) != null ? _a : "";
|
|
1520
1556
|
message.params = object.params !== void 0 && object.params !== null ? Params3.fromPartial(object.params) : void 0;
|
|
1521
1557
|
return message;
|
|
1522
1558
|
},
|
|
@@ -1570,7 +1606,7 @@ function createBaseMsgCreateClawbackVestingAccount() {
|
|
|
1570
1606
|
}
|
|
1571
1607
|
var MsgCreateClawbackVestingAccount = {
|
|
1572
1608
|
typeUrl: "/evmos.vesting.v2.MsgCreateClawbackVestingAccount",
|
|
1573
|
-
encode(message, writer =
|
|
1609
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
1574
1610
|
if (message.funderAddress !== "") {
|
|
1575
1611
|
writer.uint32(10).string(message.funderAddress);
|
|
1576
1612
|
}
|
|
@@ -1583,7 +1619,7 @@ var MsgCreateClawbackVestingAccount = {
|
|
|
1583
1619
|
return writer;
|
|
1584
1620
|
},
|
|
1585
1621
|
decode(input, length) {
|
|
1586
|
-
const reader = input instanceof
|
|
1622
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
1587
1623
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1588
1624
|
const message = createBaseMsgCreateClawbackVestingAccount();
|
|
1589
1625
|
while (reader.pos < end) {
|
|
@@ -1607,9 +1643,9 @@ var MsgCreateClawbackVestingAccount = {
|
|
|
1607
1643
|
},
|
|
1608
1644
|
fromJSON(object) {
|
|
1609
1645
|
return {
|
|
1610
|
-
funderAddress: isSet(object.funderAddress) ? String(object.funderAddress) : "",
|
|
1611
|
-
vestingAddress: isSet(object.vestingAddress) ? String(object.vestingAddress) : "",
|
|
1612
|
-
enableGovClawback: isSet(object.enableGovClawback) ? Boolean(object.enableGovClawback) : false
|
|
1646
|
+
funderAddress: chunkRT5TZAMU_js.isSet(object.funderAddress) ? String(object.funderAddress) : "",
|
|
1647
|
+
vestingAddress: chunkRT5TZAMU_js.isSet(object.vestingAddress) ? String(object.vestingAddress) : "",
|
|
1648
|
+
enableGovClawback: chunkRT5TZAMU_js.isSet(object.enableGovClawback) ? Boolean(object.enableGovClawback) : false
|
|
1613
1649
|
};
|
|
1614
1650
|
},
|
|
1615
1651
|
toJSON(message) {
|
|
@@ -1620,10 +1656,11 @@ var MsgCreateClawbackVestingAccount = {
|
|
|
1620
1656
|
return obj;
|
|
1621
1657
|
},
|
|
1622
1658
|
fromPartial(object) {
|
|
1659
|
+
var _a, _b, _c;
|
|
1623
1660
|
const message = createBaseMsgCreateClawbackVestingAccount();
|
|
1624
|
-
message.funderAddress = object.funderAddress
|
|
1625
|
-
message.vestingAddress = object.vestingAddress
|
|
1626
|
-
message.enableGovClawback = object.enableGovClawback
|
|
1661
|
+
message.funderAddress = (_a = object.funderAddress) != null ? _a : "";
|
|
1662
|
+
message.vestingAddress = (_b = object.vestingAddress) != null ? _b : "";
|
|
1663
|
+
message.enableGovClawback = (_c = object.enableGovClawback) != null ? _c : false;
|
|
1627
1664
|
return message;
|
|
1628
1665
|
},
|
|
1629
1666
|
fromAmino(object) {
|
|
@@ -1679,7 +1716,7 @@ function createBaseMsgFundVestingAccount() {
|
|
|
1679
1716
|
}
|
|
1680
1717
|
var MsgFundVestingAccount = {
|
|
1681
1718
|
typeUrl: "/evmos.vesting.v2.MsgFundVestingAccount",
|
|
1682
|
-
encode(message, writer =
|
|
1719
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
1683
1720
|
if (message.funderAddress !== "") {
|
|
1684
1721
|
writer.uint32(10).string(message.funderAddress);
|
|
1685
1722
|
}
|
|
@@ -1687,18 +1724,18 @@ var MsgFundVestingAccount = {
|
|
|
1687
1724
|
writer.uint32(18).string(message.vestingAddress);
|
|
1688
1725
|
}
|
|
1689
1726
|
if (message.startTime !== void 0) {
|
|
1690
|
-
Timestamp.encode(toTimestamp(message.startTime), writer.uint32(26).fork()).ldelim();
|
|
1727
|
+
chunkRT5TZAMU_js.Timestamp.encode(chunkRT5TZAMU_js.toTimestamp(message.startTime), writer.uint32(26).fork()).ldelim();
|
|
1691
1728
|
}
|
|
1692
1729
|
for (const v of message.lockupPeriods) {
|
|
1693
|
-
Period.encode(v, writer.uint32(34).fork()).ldelim();
|
|
1730
|
+
chunkRT5TZAMU_js.Period.encode(v, writer.uint32(34).fork()).ldelim();
|
|
1694
1731
|
}
|
|
1695
1732
|
for (const v of message.vestingPeriods) {
|
|
1696
|
-
Period.encode(v, writer.uint32(42).fork()).ldelim();
|
|
1733
|
+
chunkRT5TZAMU_js.Period.encode(v, writer.uint32(42).fork()).ldelim();
|
|
1697
1734
|
}
|
|
1698
1735
|
return writer;
|
|
1699
1736
|
},
|
|
1700
1737
|
decode(input, length) {
|
|
1701
|
-
const reader = input instanceof
|
|
1738
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
1702
1739
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1703
1740
|
const message = createBaseMsgFundVestingAccount();
|
|
1704
1741
|
while (reader.pos < end) {
|
|
@@ -1711,13 +1748,13 @@ var MsgFundVestingAccount = {
|
|
|
1711
1748
|
message.vestingAddress = reader.string();
|
|
1712
1749
|
break;
|
|
1713
1750
|
case 3:
|
|
1714
|
-
message.startTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1751
|
+
message.startTime = chunkRT5TZAMU_js.fromTimestamp(chunkRT5TZAMU_js.Timestamp.decode(reader, reader.uint32()));
|
|
1715
1752
|
break;
|
|
1716
1753
|
case 4:
|
|
1717
|
-
message.lockupPeriods.push(Period.decode(reader, reader.uint32()));
|
|
1754
|
+
message.lockupPeriods.push(chunkRT5TZAMU_js.Period.decode(reader, reader.uint32()));
|
|
1718
1755
|
break;
|
|
1719
1756
|
case 5:
|
|
1720
|
-
message.vestingPeriods.push(Period.decode(reader, reader.uint32()));
|
|
1757
|
+
message.vestingPeriods.push(chunkRT5TZAMU_js.Period.decode(reader, reader.uint32()));
|
|
1721
1758
|
break;
|
|
1722
1759
|
default:
|
|
1723
1760
|
reader.skipType(tag & 7);
|
|
@@ -1728,11 +1765,11 @@ var MsgFundVestingAccount = {
|
|
|
1728
1765
|
},
|
|
1729
1766
|
fromJSON(object) {
|
|
1730
1767
|
return {
|
|
1731
|
-
funderAddress: isSet(object.funderAddress) ? String(object.funderAddress) : "",
|
|
1732
|
-
vestingAddress: isSet(object.vestingAddress) ? String(object.vestingAddress) : "",
|
|
1733
|
-
startTime: isSet(object.startTime) ? fromJsonTimestamp(object.startTime) : void 0,
|
|
1734
|
-
lockupPeriods: Array.isArray(object
|
|
1735
|
-
vestingPeriods: Array.isArray(object
|
|
1768
|
+
funderAddress: chunkRT5TZAMU_js.isSet(object.funderAddress) ? String(object.funderAddress) : "",
|
|
1769
|
+
vestingAddress: chunkRT5TZAMU_js.isSet(object.vestingAddress) ? String(object.vestingAddress) : "",
|
|
1770
|
+
startTime: chunkRT5TZAMU_js.isSet(object.startTime) ? chunkRT5TZAMU_js.fromJsonTimestamp(object.startTime) : void 0,
|
|
1771
|
+
lockupPeriods: Array.isArray(object == null ? void 0 : object.lockupPeriods) ? object.lockupPeriods.map((e) => chunkRT5TZAMU_js.Period.fromJSON(e)) : [],
|
|
1772
|
+
vestingPeriods: Array.isArray(object == null ? void 0 : object.vestingPeriods) ? object.vestingPeriods.map((e) => chunkRT5TZAMU_js.Period.fromJSON(e)) : []
|
|
1736
1773
|
};
|
|
1737
1774
|
},
|
|
1738
1775
|
toJSON(message) {
|
|
@@ -1741,27 +1778,29 @@ var MsgFundVestingAccount = {
|
|
|
1741
1778
|
message.vestingAddress !== void 0 && (obj.vestingAddress = message.vestingAddress);
|
|
1742
1779
|
message.startTime !== void 0 && (obj.startTime = message.startTime.toISOString());
|
|
1743
1780
|
if (message.lockupPeriods) {
|
|
1744
|
-
obj.lockupPeriods = message.lockupPeriods.map((e) => e ? Period.toJSON(e) : void 0);
|
|
1781
|
+
obj.lockupPeriods = message.lockupPeriods.map((e) => e ? chunkRT5TZAMU_js.Period.toJSON(e) : void 0);
|
|
1745
1782
|
} else {
|
|
1746
1783
|
obj.lockupPeriods = [];
|
|
1747
1784
|
}
|
|
1748
1785
|
if (message.vestingPeriods) {
|
|
1749
|
-
obj.vestingPeriods = message.vestingPeriods.map((e) => e ? Period.toJSON(e) : void 0);
|
|
1786
|
+
obj.vestingPeriods = message.vestingPeriods.map((e) => e ? chunkRT5TZAMU_js.Period.toJSON(e) : void 0);
|
|
1750
1787
|
} else {
|
|
1751
1788
|
obj.vestingPeriods = [];
|
|
1752
1789
|
}
|
|
1753
1790
|
return obj;
|
|
1754
1791
|
},
|
|
1755
1792
|
fromPartial(object) {
|
|
1793
|
+
var _a, _b, _c, _d, _e;
|
|
1756
1794
|
const message = createBaseMsgFundVestingAccount();
|
|
1757
|
-
message.funderAddress = object.funderAddress
|
|
1758
|
-
message.vestingAddress = object.vestingAddress
|
|
1759
|
-
message.startTime = object.startTime
|
|
1760
|
-
message.lockupPeriods = object.lockupPeriods
|
|
1761
|
-
message.vestingPeriods = object.vestingPeriods
|
|
1795
|
+
message.funderAddress = (_a = object.funderAddress) != null ? _a : "";
|
|
1796
|
+
message.vestingAddress = (_b = object.vestingAddress) != null ? _b : "";
|
|
1797
|
+
message.startTime = (_c = object.startTime) != null ? _c : void 0;
|
|
1798
|
+
message.lockupPeriods = ((_d = object.lockupPeriods) == null ? void 0 : _d.map((e) => chunkRT5TZAMU_js.Period.fromPartial(e))) || [];
|
|
1799
|
+
message.vestingPeriods = ((_e = object.vestingPeriods) == null ? void 0 : _e.map((e) => chunkRT5TZAMU_js.Period.fromPartial(e))) || [];
|
|
1762
1800
|
return message;
|
|
1763
1801
|
},
|
|
1764
1802
|
fromAmino(object) {
|
|
1803
|
+
var _a, _b;
|
|
1765
1804
|
const message = createBaseMsgFundVestingAccount();
|
|
1766
1805
|
if (object.funder_address !== void 0 && object.funder_address !== null) {
|
|
1767
1806
|
message.funderAddress = object.funder_address;
|
|
@@ -1770,24 +1809,24 @@ var MsgFundVestingAccount = {
|
|
|
1770
1809
|
message.vestingAddress = object.vesting_address;
|
|
1771
1810
|
}
|
|
1772
1811
|
if (object.start_time !== void 0 && object.start_time !== null) {
|
|
1773
|
-
message.startTime = fromTimestamp(Timestamp.fromAmino(object.start_time));
|
|
1812
|
+
message.startTime = chunkRT5TZAMU_js.fromTimestamp(chunkRT5TZAMU_js.Timestamp.fromAmino(object.start_time));
|
|
1774
1813
|
}
|
|
1775
|
-
message.lockupPeriods = object.lockup_periods
|
|
1776
|
-
message.vestingPeriods = object.vesting_periods
|
|
1814
|
+
message.lockupPeriods = ((_a = object.lockup_periods) == null ? void 0 : _a.map((e) => chunkRT5TZAMU_js.Period.fromAmino(e))) || [];
|
|
1815
|
+
message.vestingPeriods = ((_b = object.vesting_periods) == null ? void 0 : _b.map((e) => chunkRT5TZAMU_js.Period.fromAmino(e))) || [];
|
|
1777
1816
|
return message;
|
|
1778
1817
|
},
|
|
1779
1818
|
toAmino(message) {
|
|
1780
1819
|
const obj = {};
|
|
1781
1820
|
obj.funder_address = message.funderAddress === "" ? void 0 : message.funderAddress;
|
|
1782
1821
|
obj.vesting_address = message.vestingAddress === "" ? void 0 : message.vestingAddress;
|
|
1783
|
-
obj.start_time = message.startTime ? Timestamp.toAmino(toTimestamp(message.startTime)) : void 0;
|
|
1822
|
+
obj.start_time = message.startTime ? chunkRT5TZAMU_js.Timestamp.toAmino(chunkRT5TZAMU_js.toTimestamp(message.startTime)) : void 0;
|
|
1784
1823
|
if (message.lockupPeriods) {
|
|
1785
|
-
obj.lockup_periods = message.lockupPeriods.map((e) => e ? Period.toAmino(e) : void 0);
|
|
1824
|
+
obj.lockup_periods = message.lockupPeriods.map((e) => e ? chunkRT5TZAMU_js.Period.toAmino(e) : void 0);
|
|
1786
1825
|
} else {
|
|
1787
1826
|
obj.lockup_periods = message.lockupPeriods;
|
|
1788
1827
|
}
|
|
1789
1828
|
if (message.vestingPeriods) {
|
|
1790
|
-
obj.vesting_periods = message.vestingPeriods.map((e) => e ? Period.toAmino(e) : void 0);
|
|
1829
|
+
obj.vesting_periods = message.vestingPeriods.map((e) => e ? chunkRT5TZAMU_js.Period.toAmino(e) : void 0);
|
|
1791
1830
|
} else {
|
|
1792
1831
|
obj.vesting_periods = message.vestingPeriods;
|
|
1793
1832
|
}
|
|
@@ -1824,7 +1863,7 @@ function createBaseMsgClawback() {
|
|
|
1824
1863
|
}
|
|
1825
1864
|
var MsgClawback = {
|
|
1826
1865
|
typeUrl: "/evmos.vesting.v2.MsgClawback",
|
|
1827
|
-
encode(message, writer =
|
|
1866
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
1828
1867
|
if (message.funderAddress !== "") {
|
|
1829
1868
|
writer.uint32(10).string(message.funderAddress);
|
|
1830
1869
|
}
|
|
@@ -1837,7 +1876,7 @@ var MsgClawback = {
|
|
|
1837
1876
|
return writer;
|
|
1838
1877
|
},
|
|
1839
1878
|
decode(input, length) {
|
|
1840
|
-
const reader = input instanceof
|
|
1879
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
1841
1880
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1842
1881
|
const message = createBaseMsgClawback();
|
|
1843
1882
|
while (reader.pos < end) {
|
|
@@ -1861,9 +1900,9 @@ var MsgClawback = {
|
|
|
1861
1900
|
},
|
|
1862
1901
|
fromJSON(object) {
|
|
1863
1902
|
return {
|
|
1864
|
-
funderAddress: isSet(object.funderAddress) ? String(object.funderAddress) : "",
|
|
1865
|
-
accountAddress: isSet(object.accountAddress) ? String(object.accountAddress) : "",
|
|
1866
|
-
destAddress: isSet(object.destAddress) ? String(object.destAddress) : ""
|
|
1903
|
+
funderAddress: chunkRT5TZAMU_js.isSet(object.funderAddress) ? String(object.funderAddress) : "",
|
|
1904
|
+
accountAddress: chunkRT5TZAMU_js.isSet(object.accountAddress) ? String(object.accountAddress) : "",
|
|
1905
|
+
destAddress: chunkRT5TZAMU_js.isSet(object.destAddress) ? String(object.destAddress) : ""
|
|
1867
1906
|
};
|
|
1868
1907
|
},
|
|
1869
1908
|
toJSON(message) {
|
|
@@ -1874,10 +1913,11 @@ var MsgClawback = {
|
|
|
1874
1913
|
return obj;
|
|
1875
1914
|
},
|
|
1876
1915
|
fromPartial(object) {
|
|
1916
|
+
var _a, _b, _c;
|
|
1877
1917
|
const message = createBaseMsgClawback();
|
|
1878
|
-
message.funderAddress = object.funderAddress
|
|
1879
|
-
message.accountAddress = object.accountAddress
|
|
1880
|
-
message.destAddress = object.destAddress
|
|
1918
|
+
message.funderAddress = (_a = object.funderAddress) != null ? _a : "";
|
|
1919
|
+
message.accountAddress = (_b = object.accountAddress) != null ? _b : "";
|
|
1920
|
+
message.destAddress = (_c = object.destAddress) != null ? _c : "";
|
|
1881
1921
|
return message;
|
|
1882
1922
|
},
|
|
1883
1923
|
fromAmino(object) {
|
|
@@ -1931,7 +1971,7 @@ function createBaseMsgUpdateVestingFunder() {
|
|
|
1931
1971
|
}
|
|
1932
1972
|
var MsgUpdateVestingFunder = {
|
|
1933
1973
|
typeUrl: "/evmos.vesting.v2.MsgUpdateVestingFunder",
|
|
1934
|
-
encode(message, writer =
|
|
1974
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
1935
1975
|
if (message.funderAddress !== "") {
|
|
1936
1976
|
writer.uint32(10).string(message.funderAddress);
|
|
1937
1977
|
}
|
|
@@ -1944,7 +1984,7 @@ var MsgUpdateVestingFunder = {
|
|
|
1944
1984
|
return writer;
|
|
1945
1985
|
},
|
|
1946
1986
|
decode(input, length) {
|
|
1947
|
-
const reader = input instanceof
|
|
1987
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
1948
1988
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1949
1989
|
const message = createBaseMsgUpdateVestingFunder();
|
|
1950
1990
|
while (reader.pos < end) {
|
|
@@ -1968,9 +2008,9 @@ var MsgUpdateVestingFunder = {
|
|
|
1968
2008
|
},
|
|
1969
2009
|
fromJSON(object) {
|
|
1970
2010
|
return {
|
|
1971
|
-
funderAddress: isSet(object.funderAddress) ? String(object.funderAddress) : "",
|
|
1972
|
-
newFunderAddress: isSet(object.newFunderAddress) ? String(object.newFunderAddress) : "",
|
|
1973
|
-
vestingAddress: isSet(object.vestingAddress) ? String(object.vestingAddress) : ""
|
|
2011
|
+
funderAddress: chunkRT5TZAMU_js.isSet(object.funderAddress) ? String(object.funderAddress) : "",
|
|
2012
|
+
newFunderAddress: chunkRT5TZAMU_js.isSet(object.newFunderAddress) ? String(object.newFunderAddress) : "",
|
|
2013
|
+
vestingAddress: chunkRT5TZAMU_js.isSet(object.vestingAddress) ? String(object.vestingAddress) : ""
|
|
1974
2014
|
};
|
|
1975
2015
|
},
|
|
1976
2016
|
toJSON(message) {
|
|
@@ -1981,10 +2021,11 @@ var MsgUpdateVestingFunder = {
|
|
|
1981
2021
|
return obj;
|
|
1982
2022
|
},
|
|
1983
2023
|
fromPartial(object) {
|
|
2024
|
+
var _a, _b, _c;
|
|
1984
2025
|
const message = createBaseMsgUpdateVestingFunder();
|
|
1985
|
-
message.funderAddress = object.funderAddress
|
|
1986
|
-
message.newFunderAddress = object.newFunderAddress
|
|
1987
|
-
message.vestingAddress = object.vestingAddress
|
|
2026
|
+
message.funderAddress = (_a = object.funderAddress) != null ? _a : "";
|
|
2027
|
+
message.newFunderAddress = (_b = object.newFunderAddress) != null ? _b : "";
|
|
2028
|
+
message.vestingAddress = (_c = object.vestingAddress) != null ? _c : "";
|
|
1988
2029
|
return message;
|
|
1989
2030
|
},
|
|
1990
2031
|
fromAmino(object) {
|
|
@@ -2036,14 +2077,14 @@ function createBaseMsgConvertVestingAccount() {
|
|
|
2036
2077
|
}
|
|
2037
2078
|
var MsgConvertVestingAccount = {
|
|
2038
2079
|
typeUrl: "/evmos.vesting.v2.MsgConvertVestingAccount",
|
|
2039
|
-
encode(message, writer =
|
|
2080
|
+
encode(message, writer = _m08__namespace.Writer.create()) {
|
|
2040
2081
|
if (message.vestingAddress !== "") {
|
|
2041
2082
|
writer.uint32(10).string(message.vestingAddress);
|
|
2042
2083
|
}
|
|
2043
2084
|
return writer;
|
|
2044
2085
|
},
|
|
2045
2086
|
decode(input, length) {
|
|
2046
|
-
const reader = input instanceof
|
|
2087
|
+
const reader = input instanceof _m08__namespace.Reader ? input : new _m08__namespace.Reader(input);
|
|
2047
2088
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2048
2089
|
const message = createBaseMsgConvertVestingAccount();
|
|
2049
2090
|
while (reader.pos < end) {
|
|
@@ -2061,7 +2102,7 @@ var MsgConvertVestingAccount = {
|
|
|
2061
2102
|
},
|
|
2062
2103
|
fromJSON(object) {
|
|
2063
2104
|
return {
|
|
2064
|
-
vestingAddress: isSet(object.vestingAddress) ? String(object.vestingAddress) : ""
|
|
2105
|
+
vestingAddress: chunkRT5TZAMU_js.isSet(object.vestingAddress) ? String(object.vestingAddress) : ""
|
|
2065
2106
|
};
|
|
2066
2107
|
},
|
|
2067
2108
|
toJSON(message) {
|
|
@@ -2070,8 +2111,9 @@ var MsgConvertVestingAccount = {
|
|
|
2070
2111
|
return obj;
|
|
2071
2112
|
},
|
|
2072
2113
|
fromPartial(object) {
|
|
2114
|
+
var _a;
|
|
2073
2115
|
const message = createBaseMsgConvertVestingAccount();
|
|
2074
|
-
message.vestingAddress = object.vestingAddress
|
|
2116
|
+
message.vestingAddress = (_a = object.vestingAddress) != null ? _a : "";
|
|
2075
2117
|
return message;
|
|
2076
2118
|
},
|
|
2077
2119
|
fromAmino(object) {
|
|
@@ -2194,36 +2236,26 @@ var AminoConverter5 = {
|
|
|
2194
2236
|
};
|
|
2195
2237
|
|
|
2196
2238
|
// src/codegen/evmos/client.ts
|
|
2197
|
-
var evmosAminoConverters = {
|
|
2198
|
-
...AminoConverter2,
|
|
2199
|
-
...AminoConverter3,
|
|
2200
|
-
...AminoConverter4,
|
|
2201
|
-
...AminoConverter5
|
|
2202
|
-
};
|
|
2239
|
+
var evmosAminoConverters = chunkASPVKNJ7_js.__spreadValues(chunkASPVKNJ7_js.__spreadValues(chunkASPVKNJ7_js.__spreadValues(chunkASPVKNJ7_js.__spreadValues({}, AminoConverter2), AminoConverter3), AminoConverter4), AminoConverter5);
|
|
2203
2240
|
var evmosProtoRegistry = [...registry2, ...registry3, ...registry4, ...registry5];
|
|
2204
2241
|
var setClientOptions = (options = {}) => {
|
|
2205
|
-
|
|
2242
|
+
var _a, _b, _c;
|
|
2243
|
+
chunkASPVKNJ7_js.ApiState.client = chunkASPVKNJ7_js.createRequestClient({
|
|
2206
2244
|
baseUrl: options.apiUrl || "https://api.skip.build",
|
|
2207
2245
|
apiKey: options.apiKey
|
|
2208
2246
|
});
|
|
2209
|
-
ClientState.endpointOptions = options.endpointOptions
|
|
2210
|
-
ClientState.aminoTypes = new AminoTypes({
|
|
2211
|
-
|
|
2212
|
-
...
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
});
|
|
2217
|
-
ClientState.registry = new Registry([
|
|
2218
|
-
...defaultRegistryTypes,
|
|
2219
|
-
["/cosmwasm.wasm.v1.MsgExecuteContract", MsgExecuteContract],
|
|
2220
|
-
["/initia.move.v1.MsgExecute", MsgExecute],
|
|
2221
|
-
["/opinit.ophost.v1.MsgInitiateTokenDeposit", MsgInitiateTokenDeposit],
|
|
2247
|
+
chunk6GJEXV5J_js.ClientState.endpointOptions = (_a = options.endpointOptions) != null ? _a : {};
|
|
2248
|
+
chunk6GJEXV5J_js.ClientState.aminoTypes = new aminotypes.AminoTypes(chunkASPVKNJ7_js.__spreadValues(chunkASPVKNJ7_js.__spreadValues(chunkASPVKNJ7_js.__spreadValues(chunkASPVKNJ7_js.__spreadValues(chunkASPVKNJ7_js.__spreadValues({}, signingstargateclient.createDefaultAminoConverters()), aminomessages.createWasmAminoConverters()), circleAminoConverters), evmosAminoConverters), (_b = options.aminoTypes) != null ? _b : {}));
|
|
2249
|
+
chunk6GJEXV5J_js.ClientState.registry = new registry$1.Registry([
|
|
2250
|
+
...signingstargateclient.defaultRegistryTypes,
|
|
2251
|
+
["/cosmwasm.wasm.v1.MsgExecuteContract", tx.MsgExecuteContract],
|
|
2252
|
+
["/initia.move.v1.MsgExecute", chunkRT5TZAMU_js.MsgExecute],
|
|
2253
|
+
["/opinit.ophost.v1.MsgInitiateTokenDeposit", chunkRT5TZAMU_js.MsgInitiateTokenDeposit],
|
|
2222
2254
|
...circleProtoRegistry,
|
|
2223
2255
|
...evmosProtoRegistry,
|
|
2224
|
-
...options.registryTypes
|
|
2256
|
+
...(_c = options.registryTypes) != null ? _c : []
|
|
2225
2257
|
]);
|
|
2226
|
-
ApiState.setClientInitialized();
|
|
2258
|
+
chunkASPVKNJ7_js.ApiState.setClientInitialized();
|
|
2227
2259
|
};
|
|
2228
2260
|
|
|
2229
|
-
|
|
2261
|
+
exports.setClientOptions = setClientOptions;
|