@underscore-finance/sdk 1.2.20-next.0 → 1.2.20-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +28 -18
- package/abis.json +23476 -12295
- package/dist/contracts/Addys.d.ts +124 -0
- package/dist/contracts/Addys.d.ts.map +1 -0
- package/dist/contracts/Addys.js +134 -0
- package/dist/contracts/AgentSenderGeneric.d.ts +795 -153
- package/dist/contracts/AgentSenderGeneric.d.ts.map +1 -1
- package/dist/contracts/AgentSenderGeneric.js +892 -97
- package/dist/contracts/AgentSenderSpecial.d.ts +127 -0
- package/dist/contracts/AgentSenderSpecial.d.ts.map +1 -1
- package/dist/contracts/AgentSenderSpecial.js +139 -0
- package/dist/contracts/AgentSenderSpecialAdmin.d.ts +984 -0
- package/dist/contracts/AgentSenderSpecialAdmin.d.ts.map +1 -0
- package/dist/contracts/AgentSenderSpecialAdmin.js +1185 -0
- package/dist/contracts/AgentSenderSpecialSigHelper.d.ts +1010 -75
- package/dist/contracts/AgentSenderSpecialSigHelper.d.ts.map +1 -1
- package/dist/contracts/AgentSenderSpecialSigHelper.js +1240 -0
- package/dist/contracts/AgentWrapper.d.ts +164 -6
- package/dist/contracts/AgentWrapper.d.ts.map +1 -1
- package/dist/contracts/AgentWrapper.js +219 -6
- package/dist/contracts/ChequeBook.d.ts +360 -204
- package/dist/contracts/ChequeBook.d.ts.map +1 -1
- package/dist/contracts/ChequeBook.js +507 -298
- package/dist/contracts/DefaultsLocal.d.ts +320 -0
- package/dist/contracts/DefaultsLocal.d.ts.map +1 -0
- package/dist/contracts/DefaultsLocal.js +350 -0
- package/dist/contracts/ERC20.d.ts +552 -27
- package/dist/contracts/ERC20.d.ts.map +1 -1
- package/dist/contracts/ERC20.js +713 -66
- package/dist/contracts/EarnVault.d.ts +284 -255
- package/dist/contracts/EarnVault.d.ts.map +1 -1
- package/dist/contracts/EarnVault.js +488 -456
- package/dist/contracts/EarnVaultAgent.d.ts +127 -0
- package/dist/contracts/EarnVaultAgent.d.ts.map +1 -1
- package/dist/contracts/EarnVaultAgent.js +139 -0
- package/dist/contracts/EarnVaultWallet.d.ts +777 -0
- package/dist/contracts/EarnVaultWallet.d.ts.map +1 -0
- package/dist/contracts/EarnVaultWallet.js +987 -0
- package/dist/contracts/Erc20Token.d.ts +813 -0
- package/dist/contracts/Erc20Token.d.ts.map +1 -0
- package/dist/contracts/Erc20Token.js +1006 -0
- package/dist/contracts/HighCommand.d.ts +40 -0
- package/dist/contracts/HighCommand.d.ts.map +1 -1
- package/dist/contracts/HighCommand.js +45 -0
- package/dist/contracts/Kernel.d.ts +4 -0
- package/dist/contracts/Kernel.d.ts.map +1 -1
- package/dist/contracts/Kernel.js +4 -0
- package/dist/contracts/Ledger.d.ts +4 -75
- package/dist/contracts/Ledger.d.ts.map +1 -1
- package/dist/contracts/Ledger.js +4 -99
- package/dist/contracts/LevgVault.d.ts +299 -299
- package/dist/contracts/LevgVault.d.ts.map +1 -1
- package/dist/contracts/LevgVault.js +530 -530
- package/dist/contracts/LevgVaultAgent.d.ts +127 -69
- package/dist/contracts/LevgVaultAgent.d.ts.map +1 -1
- package/dist/contracts/LevgVaultAgent.js +134 -79
- package/dist/contracts/LevgVaultWallet.d.ts +1119 -0
- package/dist/contracts/LevgVaultWallet.d.ts.map +1 -0
- package/dist/contracts/LevgVaultWallet.js +1439 -0
- package/dist/contracts/LocalGov.d.ts +427 -0
- package/dist/contracts/LocalGov.d.ts.map +1 -0
- package/dist/contracts/LocalGov.js +507 -0
- package/dist/contracts/Migrator.d.ts +160 -0
- package/dist/contracts/Migrator.d.ts.map +1 -1
- package/dist/contracts/Migrator.js +187 -0
- package/dist/contracts/Ownership.d.ts +414 -0
- package/dist/contracts/Ownership.d.ts.map +1 -0
- package/dist/contracts/Ownership.js +472 -0
- package/dist/contracts/Paymaster.d.ts +119 -322
- package/dist/contracts/Paymaster.d.ts.map +1 -1
- package/dist/contracts/Paymaster.js +118 -404
- package/dist/contracts/Sentinel.d.ts +9 -6
- package/dist/contracts/Sentinel.d.ts.map +1 -1
- package/dist/contracts/Sentinel.js +8 -4
- package/dist/contracts/UndyToken.d.ts +821 -0
- package/dist/contracts/UndyToken.d.ts.map +1 -0
- package/dist/contracts/UndyToken.js +1017 -0
- package/dist/contracts/UserWalletConfig.d.ts +334 -317
- package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
- package/dist/contracts/UserWalletConfig.js +391 -371
- package/dist/contracts/UserWalletSignatureHelper.d.ts +1520 -514
- package/dist/contracts/UserWalletSignatureHelper.d.ts.map +1 -1
- package/dist/contracts/UserWalletSignatureHelper.js +1906 -549
- package/dist/contracts/VaultErc20Token.d.ts +522 -0
- package/dist/contracts/VaultErc20Token.d.ts.map +1 -0
- package/dist/contracts/VaultErc20Token.js +658 -0
- package/dist/contracts/index.d.ts +10 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +10 -0
- package/dist/contracts/sdk.d.ts +20 -0
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +20 -0
- package/package.json +1 -1
|
@@ -48,6 +48,129 @@ export declare const abi: readonly [{
|
|
|
48
48
|
}];
|
|
49
49
|
readonly anonymous: false;
|
|
50
50
|
readonly type: "event";
|
|
51
|
+
}, {
|
|
52
|
+
readonly name: "InstantMigrationEnabledSet";
|
|
53
|
+
readonly inputs: readonly [{
|
|
54
|
+
readonly name: "isEnabled";
|
|
55
|
+
readonly type: "bool";
|
|
56
|
+
readonly indexed: false;
|
|
57
|
+
}, {
|
|
58
|
+
readonly name: "caller";
|
|
59
|
+
readonly type: "address";
|
|
60
|
+
readonly indexed: true;
|
|
61
|
+
}];
|
|
62
|
+
readonly anonymous: false;
|
|
63
|
+
readonly type: "event";
|
|
64
|
+
}, {
|
|
65
|
+
readonly name: "PendingMigrationInitiated";
|
|
66
|
+
readonly inputs: readonly [{
|
|
67
|
+
readonly name: "fromWallet";
|
|
68
|
+
readonly type: "address";
|
|
69
|
+
readonly indexed: true;
|
|
70
|
+
}, {
|
|
71
|
+
readonly name: "toWallet";
|
|
72
|
+
readonly type: "address";
|
|
73
|
+
readonly indexed: true;
|
|
74
|
+
}, {
|
|
75
|
+
readonly name: "initiatedBlock";
|
|
76
|
+
readonly type: "uint256";
|
|
77
|
+
readonly indexed: false;
|
|
78
|
+
}, {
|
|
79
|
+
readonly name: "confirmBlock";
|
|
80
|
+
readonly type: "uint256";
|
|
81
|
+
readonly indexed: false;
|
|
82
|
+
}, {
|
|
83
|
+
readonly name: "currentOwner";
|
|
84
|
+
readonly type: "address";
|
|
85
|
+
readonly indexed: true;
|
|
86
|
+
}];
|
|
87
|
+
readonly anonymous: false;
|
|
88
|
+
readonly type: "event";
|
|
89
|
+
}, {
|
|
90
|
+
readonly name: "PendingMigrationConfirmed";
|
|
91
|
+
readonly inputs: readonly [{
|
|
92
|
+
readonly name: "fromWallet";
|
|
93
|
+
readonly type: "address";
|
|
94
|
+
readonly indexed: true;
|
|
95
|
+
}, {
|
|
96
|
+
readonly name: "toWallet";
|
|
97
|
+
readonly type: "address";
|
|
98
|
+
readonly indexed: true;
|
|
99
|
+
}, {
|
|
100
|
+
readonly name: "initiatedBlock";
|
|
101
|
+
readonly type: "uint256";
|
|
102
|
+
readonly indexed: false;
|
|
103
|
+
}, {
|
|
104
|
+
readonly name: "confirmBlock";
|
|
105
|
+
readonly type: "uint256";
|
|
106
|
+
readonly indexed: false;
|
|
107
|
+
}];
|
|
108
|
+
readonly anonymous: false;
|
|
109
|
+
readonly type: "event";
|
|
110
|
+
}, {
|
|
111
|
+
readonly name: "PendingMigrationCancelled";
|
|
112
|
+
readonly inputs: readonly [{
|
|
113
|
+
readonly name: "fromWallet";
|
|
114
|
+
readonly type: "address";
|
|
115
|
+
readonly indexed: true;
|
|
116
|
+
}, {
|
|
117
|
+
readonly name: "toWallet";
|
|
118
|
+
readonly type: "address";
|
|
119
|
+
readonly indexed: true;
|
|
120
|
+
}, {
|
|
121
|
+
readonly name: "initiatedBlock";
|
|
122
|
+
readonly type: "uint256";
|
|
123
|
+
readonly indexed: false;
|
|
124
|
+
}, {
|
|
125
|
+
readonly name: "confirmBlock";
|
|
126
|
+
readonly type: "uint256";
|
|
127
|
+
readonly indexed: false;
|
|
128
|
+
}, {
|
|
129
|
+
readonly name: "cancelledBy";
|
|
130
|
+
readonly type: "address";
|
|
131
|
+
readonly indexed: true;
|
|
132
|
+
}];
|
|
133
|
+
readonly anonymous: false;
|
|
134
|
+
readonly type: "event";
|
|
135
|
+
}, {
|
|
136
|
+
readonly stateMutability: "nonpayable";
|
|
137
|
+
readonly type: "function";
|
|
138
|
+
readonly name: "setInstantMigrationEnabled";
|
|
139
|
+
readonly inputs: readonly [{
|
|
140
|
+
readonly name: "_isEnabled";
|
|
141
|
+
readonly type: "bool";
|
|
142
|
+
}];
|
|
143
|
+
readonly outputs: readonly [{
|
|
144
|
+
readonly name: "";
|
|
145
|
+
readonly type: "bool";
|
|
146
|
+
}];
|
|
147
|
+
}, {
|
|
148
|
+
readonly stateMutability: "nonpayable";
|
|
149
|
+
readonly type: "function";
|
|
150
|
+
readonly name: "initiateMigration";
|
|
151
|
+
readonly inputs: readonly [{
|
|
152
|
+
readonly name: "_fromWallet";
|
|
153
|
+
readonly type: "address";
|
|
154
|
+
}, {
|
|
155
|
+
readonly name: "_toWallet";
|
|
156
|
+
readonly type: "address";
|
|
157
|
+
}];
|
|
158
|
+
readonly outputs: readonly [{
|
|
159
|
+
readonly name: "";
|
|
160
|
+
readonly type: "bool";
|
|
161
|
+
}];
|
|
162
|
+
}, {
|
|
163
|
+
readonly stateMutability: "nonpayable";
|
|
164
|
+
readonly type: "function";
|
|
165
|
+
readonly name: "cancelPendingMigration";
|
|
166
|
+
readonly inputs: readonly [{
|
|
167
|
+
readonly name: "_fromWallet";
|
|
168
|
+
readonly type: "address";
|
|
169
|
+
}];
|
|
170
|
+
readonly outputs: readonly [{
|
|
171
|
+
readonly name: "";
|
|
172
|
+
readonly type: "bool";
|
|
173
|
+
}];
|
|
51
174
|
}, {
|
|
52
175
|
readonly stateMutability: "nonpayable";
|
|
53
176
|
readonly type: "function";
|
|
@@ -184,6 +307,15 @@ export declare const abi: readonly [{
|
|
|
184
307
|
readonly name: "";
|
|
185
308
|
readonly type: "address";
|
|
186
309
|
}];
|
|
310
|
+
}, {
|
|
311
|
+
readonly stateMutability: "view";
|
|
312
|
+
readonly type: "function";
|
|
313
|
+
readonly name: "instantMigrationEnabled";
|
|
314
|
+
readonly inputs: readonly [];
|
|
315
|
+
readonly outputs: readonly [{
|
|
316
|
+
readonly name: "";
|
|
317
|
+
readonly type: "bool";
|
|
318
|
+
}];
|
|
187
319
|
}, {
|
|
188
320
|
readonly stateMutability: "nonpayable";
|
|
189
321
|
readonly type: "constructor";
|
|
@@ -211,8 +343,12 @@ export type Contract = {
|
|
|
211
343
|
numActiveCheques: bigint;
|
|
212
344
|
}>;
|
|
213
345
|
UNDY_HQ: () => Promise<`0x${string}`>;
|
|
346
|
+
instantMigrationEnabled: () => Promise<boolean>;
|
|
214
347
|
};
|
|
215
348
|
mutations: {
|
|
349
|
+
setInstantMigrationEnabled: (isEnabled: boolean) => Promise<boolean>;
|
|
350
|
+
initiateMigration: (fromWallet: `0x${string}`, toWallet: `0x${string}`) => Promise<boolean>;
|
|
351
|
+
cancelPendingMigration: (fromWallet: `0x${string}`) => Promise<boolean>;
|
|
216
352
|
migrateAll: (fromWallet: `0x${string}`, toWallet: `0x${string}`) => Promise<[bigint, boolean]>;
|
|
217
353
|
migrateFunds: (fromWallet: `0x${string}`, toWallet: `0x${string}`) => Promise<bigint>;
|
|
218
354
|
cloneConfig: (fromWallet: `0x${string}`, toWallet: `0x${string}`) => Promise<boolean>;
|
|
@@ -220,6 +356,10 @@ export type Contract = {
|
|
|
220
356
|
events: {
|
|
221
357
|
FundsMigrated: (fromWallet: `0x${string}`, toWallet: `0x${string}`, numAssetsMigrated: bigint, totalUsdValue: bigint) => Promise<void>;
|
|
222
358
|
ConfigCloned: (fromWallet: `0x${string}`, toWallet: `0x${string}`, numManagersCopied: bigint, numPayeesCopied: bigint, numWhitelistCopied: bigint) => Promise<void>;
|
|
359
|
+
InstantMigrationEnabledSet: (isEnabled: boolean, caller: `0x${string}`) => Promise<void>;
|
|
360
|
+
PendingMigrationInitiated: (fromWallet: `0x${string}`, toWallet: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint, currentOwner: `0x${string}`) => Promise<void>;
|
|
361
|
+
PendingMigrationConfirmed: (fromWallet: `0x${string}`, toWallet: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint) => Promise<void>;
|
|
362
|
+
PendingMigrationCancelled: (fromWallet: `0x${string}`, toWallet: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint, cancelledBy: `0x${string}`) => Promise<void>;
|
|
223
363
|
};
|
|
224
364
|
};
|
|
225
365
|
export type Calls = keyof Contract['calls'];
|
|
@@ -275,11 +415,31 @@ export type SDK = {
|
|
|
275
415
|
topic: Address;
|
|
276
416
|
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'ConfigCloned'>[];
|
|
277
417
|
};
|
|
418
|
+
InstantMigrationEnabledSet: {
|
|
419
|
+
topic: Address;
|
|
420
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'InstantMigrationEnabledSet'>[];
|
|
421
|
+
};
|
|
422
|
+
PendingMigrationInitiated: {
|
|
423
|
+
topic: Address;
|
|
424
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingMigrationInitiated'>[];
|
|
425
|
+
};
|
|
426
|
+
PendingMigrationConfirmed: {
|
|
427
|
+
topic: Address;
|
|
428
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingMigrationConfirmed'>[];
|
|
429
|
+
};
|
|
430
|
+
PendingMigrationCancelled: {
|
|
431
|
+
topic: Address;
|
|
432
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingMigrationCancelled'>[];
|
|
433
|
+
};
|
|
278
434
|
};
|
|
279
435
|
canMigrateFundsToNewWallet: (...args: ExtractArgs<Contract['calls']['canMigrateFundsToNewWallet']>) => Promise<CallReturn<'canMigrateFundsToNewWallet'>>;
|
|
280
436
|
canCopyWalletConfig: (...args: ExtractArgs<Contract['calls']['canCopyWalletConfig']>) => Promise<CallReturn<'canCopyWalletConfig'>>;
|
|
281
437
|
getMigrationConfigBundle: (...args: ExtractArgs<Contract['calls']['getMigrationConfigBundle']>) => Promise<CallReturn<'getMigrationConfigBundle'>>;
|
|
282
438
|
UNDY_HQ: (...args: ExtractArgs<Contract['calls']['UNDY_HQ']>) => Promise<CallReturn<'UNDY_HQ'>>;
|
|
439
|
+
instantMigrationEnabled: (...args: ExtractArgs<Contract['calls']['instantMigrationEnabled']>) => Promise<CallReturn<'instantMigrationEnabled'>>;
|
|
440
|
+
setInstantMigrationEnabled: (...args: ExtractArgs<Contract['mutations']['setInstantMigrationEnabled']>) => Promise<Address>;
|
|
441
|
+
initiateMigration: (...args: ExtractArgs<Contract['mutations']['initiateMigration']>) => Promise<Address>;
|
|
442
|
+
cancelPendingMigration: (...args: ExtractArgs<Contract['mutations']['cancelPendingMigration']>) => Promise<Address>;
|
|
283
443
|
migrateAll: (...args: ExtractArgs<Contract['mutations']['migrateAll']>) => Promise<Address>;
|
|
284
444
|
migrateFunds: (...args: ExtractArgs<Contract['mutations']['migrateFunds']>) => Promise<Address>;
|
|
285
445
|
cloneConfig: (...args: ExtractArgs<Contract['mutations']['cloneConfig']>) => Promise<Address>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Migrator.d.ts","sourceRoot":"","sources":["../../src/contracts/Migrator.ts"],"names":[],"mappings":"AAKA,OAAO,EAAuB,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAC5E,OAAO,EAAqC,wBAAwB,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAE3H,KAAK,WAAW,CAAC,CAAC,IAAI,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AC,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;IAC3H,iBAAiB,EAAE,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,mBAAmB,CAAC,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;IACzG,sBAAsB,EAAE,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,wBAAwB,CAAC,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;IACnH,UAAU,EAAE,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,YAAY,CAAC,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;IAC3F,YAAY,EAAE,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,cAAc,CAAC,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;IAC/F,WAAW,EAAE,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,aAAa,CAAC,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;CAC9F,CAAA;AAED,wBAAgB,KAAK,CAAC,YAAY,CAAC,EAAE,YAAY,EAAE,YAAY,CAAC,EAAE,YAAY,EAAE,eAAe,CAAC,EAAE,uBAAuB,GAAG,GAAG,CA4B9H"}
|
|
@@ -64,6 +64,169 @@ export const abi = [
|
|
|
64
64
|
"anonymous": false,
|
|
65
65
|
"type": "event"
|
|
66
66
|
},
|
|
67
|
+
{
|
|
68
|
+
"name": "InstantMigrationEnabledSet",
|
|
69
|
+
"inputs": [
|
|
70
|
+
{
|
|
71
|
+
"name": "isEnabled",
|
|
72
|
+
"type": "bool",
|
|
73
|
+
"indexed": false
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "caller",
|
|
77
|
+
"type": "address",
|
|
78
|
+
"indexed": true
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"anonymous": false,
|
|
82
|
+
"type": "event"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "PendingMigrationInitiated",
|
|
86
|
+
"inputs": [
|
|
87
|
+
{
|
|
88
|
+
"name": "fromWallet",
|
|
89
|
+
"type": "address",
|
|
90
|
+
"indexed": true
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "toWallet",
|
|
94
|
+
"type": "address",
|
|
95
|
+
"indexed": true
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "initiatedBlock",
|
|
99
|
+
"type": "uint256",
|
|
100
|
+
"indexed": false
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "confirmBlock",
|
|
104
|
+
"type": "uint256",
|
|
105
|
+
"indexed": false
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "currentOwner",
|
|
109
|
+
"type": "address",
|
|
110
|
+
"indexed": true
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"anonymous": false,
|
|
114
|
+
"type": "event"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "PendingMigrationConfirmed",
|
|
118
|
+
"inputs": [
|
|
119
|
+
{
|
|
120
|
+
"name": "fromWallet",
|
|
121
|
+
"type": "address",
|
|
122
|
+
"indexed": true
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "toWallet",
|
|
126
|
+
"type": "address",
|
|
127
|
+
"indexed": true
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "initiatedBlock",
|
|
131
|
+
"type": "uint256",
|
|
132
|
+
"indexed": false
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "confirmBlock",
|
|
136
|
+
"type": "uint256",
|
|
137
|
+
"indexed": false
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"anonymous": false,
|
|
141
|
+
"type": "event"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "PendingMigrationCancelled",
|
|
145
|
+
"inputs": [
|
|
146
|
+
{
|
|
147
|
+
"name": "fromWallet",
|
|
148
|
+
"type": "address",
|
|
149
|
+
"indexed": true
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "toWallet",
|
|
153
|
+
"type": "address",
|
|
154
|
+
"indexed": true
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"name": "initiatedBlock",
|
|
158
|
+
"type": "uint256",
|
|
159
|
+
"indexed": false
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "confirmBlock",
|
|
163
|
+
"type": "uint256",
|
|
164
|
+
"indexed": false
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "cancelledBy",
|
|
168
|
+
"type": "address",
|
|
169
|
+
"indexed": true
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"anonymous": false,
|
|
173
|
+
"type": "event"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"stateMutability": "nonpayable",
|
|
177
|
+
"type": "function",
|
|
178
|
+
"name": "setInstantMigrationEnabled",
|
|
179
|
+
"inputs": [
|
|
180
|
+
{
|
|
181
|
+
"name": "_isEnabled",
|
|
182
|
+
"type": "bool"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"outputs": [
|
|
186
|
+
{
|
|
187
|
+
"name": "",
|
|
188
|
+
"type": "bool"
|
|
189
|
+
}
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"stateMutability": "nonpayable",
|
|
194
|
+
"type": "function",
|
|
195
|
+
"name": "initiateMigration",
|
|
196
|
+
"inputs": [
|
|
197
|
+
{
|
|
198
|
+
"name": "_fromWallet",
|
|
199
|
+
"type": "address"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "_toWallet",
|
|
203
|
+
"type": "address"
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"outputs": [
|
|
207
|
+
{
|
|
208
|
+
"name": "",
|
|
209
|
+
"type": "bool"
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"stateMutability": "nonpayable",
|
|
215
|
+
"type": "function",
|
|
216
|
+
"name": "cancelPendingMigration",
|
|
217
|
+
"inputs": [
|
|
218
|
+
{
|
|
219
|
+
"name": "_fromWallet",
|
|
220
|
+
"type": "address"
|
|
221
|
+
}
|
|
222
|
+
],
|
|
223
|
+
"outputs": [
|
|
224
|
+
{
|
|
225
|
+
"name": "",
|
|
226
|
+
"type": "bool"
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
},
|
|
67
230
|
{
|
|
68
231
|
"stateMutability": "nonpayable",
|
|
69
232
|
"type": "function",
|
|
@@ -252,6 +415,18 @@ export const abi = [
|
|
|
252
415
|
}
|
|
253
416
|
]
|
|
254
417
|
},
|
|
418
|
+
{
|
|
419
|
+
"stateMutability": "view",
|
|
420
|
+
"type": "function",
|
|
421
|
+
"name": "instantMigrationEnabled",
|
|
422
|
+
"inputs": [],
|
|
423
|
+
"outputs": [
|
|
424
|
+
{
|
|
425
|
+
"name": "",
|
|
426
|
+
"type": "bool"
|
|
427
|
+
}
|
|
428
|
+
]
|
|
429
|
+
},
|
|
255
430
|
{
|
|
256
431
|
"stateMutability": "nonpayable",
|
|
257
432
|
"type": "constructor",
|
|
@@ -297,6 +472,7 @@ export const call = {
|
|
|
297
472
|
canCopyWalletConfig: (...args) => getRequest('canCopyWalletConfig', args),
|
|
298
473
|
getMigrationConfigBundle: (...args) => getRequest('getMigrationConfigBundle', args),
|
|
299
474
|
UNDY_HQ: (...args) => getRequest('UNDY_HQ', args),
|
|
475
|
+
instantMigrationEnabled: (...args) => getRequest('instantMigrationEnabled', args),
|
|
300
476
|
};
|
|
301
477
|
function getMutation(functionName) {
|
|
302
478
|
return {
|
|
@@ -308,6 +484,9 @@ function getMutation(functionName) {
|
|
|
308
484
|
};
|
|
309
485
|
}
|
|
310
486
|
export const mutation = {
|
|
487
|
+
setInstantMigrationEnabled: getMutation('setInstantMigrationEnabled'),
|
|
488
|
+
initiateMigration: getMutation('initiateMigration'),
|
|
489
|
+
cancelPendingMigration: getMutation('cancelPendingMigration'),
|
|
311
490
|
migrateAll: getMutation('migrateAll'),
|
|
312
491
|
migrateFunds: getMutation('migrateFunds'),
|
|
313
492
|
cloneConfig: getMutation('cloneConfig'),
|
|
@@ -334,13 +513,21 @@ export function toSdk(publicClient, walletClient, addressResolver) {
|
|
|
334
513
|
events: {
|
|
335
514
|
FundsMigrated: { topic: getEventTopic('FundsMigrated'), parse: (events) => parseEvents('FundsMigrated', events) },
|
|
336
515
|
ConfigCloned: { topic: getEventTopic('ConfigCloned'), parse: (events) => parseEvents('ConfigCloned', events) },
|
|
516
|
+
InstantMigrationEnabledSet: { topic: getEventTopic('InstantMigrationEnabledSet'), parse: (events) => parseEvents('InstantMigrationEnabledSet', events) },
|
|
517
|
+
PendingMigrationInitiated: { topic: getEventTopic('PendingMigrationInitiated'), parse: (events) => parseEvents('PendingMigrationInitiated', events) },
|
|
518
|
+
PendingMigrationConfirmed: { topic: getEventTopic('PendingMigrationConfirmed'), parse: (events) => parseEvents('PendingMigrationConfirmed', events) },
|
|
519
|
+
PendingMigrationCancelled: { topic: getEventTopic('PendingMigrationCancelled'), parse: (events) => parseEvents('PendingMigrationCancelled', events) },
|
|
337
520
|
},
|
|
338
521
|
// Queries
|
|
339
522
|
canMigrateFundsToNewWallet: (...args) => singleQuery(publicClient, call.canMigrateFundsToNewWallet(...args), {}, addressResolver),
|
|
340
523
|
canCopyWalletConfig: (...args) => singleQuery(publicClient, call.canCopyWalletConfig(...args), {}, addressResolver),
|
|
341
524
|
getMigrationConfigBundle: (...args) => singleQuery(publicClient, call.getMigrationConfigBundle(...args), {}, addressResolver),
|
|
342
525
|
UNDY_HQ: (...args) => singleQuery(publicClient, call.UNDY_HQ(...args), {}, addressResolver),
|
|
526
|
+
instantMigrationEnabled: (...args) => singleQuery(publicClient, call.instantMigrationEnabled(...args), {}, addressResolver),
|
|
343
527
|
// Mutations
|
|
528
|
+
setInstantMigrationEnabled: (...args) => mutate(walletClient, mutation.setInstantMigrationEnabled, { addressResolver })(...args),
|
|
529
|
+
initiateMigration: (...args) => mutate(walletClient, mutation.initiateMigration, { addressResolver })(...args),
|
|
530
|
+
cancelPendingMigration: (...args) => mutate(walletClient, mutation.cancelPendingMigration, { addressResolver })(...args),
|
|
344
531
|
migrateAll: (...args) => mutate(walletClient, mutation.migrateAll, { addressResolver })(...args),
|
|
345
532
|
migrateFunds: (...args) => mutate(walletClient, mutation.migrateFunds, { addressResolver })(...args),
|
|
346
533
|
cloneConfig: (...args) => mutate(walletClient, mutation.cloneConfig, { addressResolver })(...args),
|