viem 2.51.2 → 2.52.0
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/CHANGELOG.md +18 -0
- package/_cjs/errors/version.js +1 -1
- package/_cjs/tempo/Abis.js +189 -1
- package/_cjs/tempo/Abis.js.map +1 -1
- package/_cjs/tempo/Account.js +27 -20
- package/_cjs/tempo/Account.js.map +1 -1
- package/_cjs/tempo/Addresses.js +3 -1
- package/_cjs/tempo/Addresses.js.map +1 -1
- package/_cjs/tempo/Decorator.js +23 -0
- package/_cjs/tempo/Decorator.js.map +1 -1
- package/_cjs/tempo/Hardfork.js +3 -0
- package/_cjs/tempo/Hardfork.js.map +1 -1
- package/_cjs/tempo/actions/accessKey.js +239 -72
- package/_cjs/tempo/actions/accessKey.js.map +1 -1
- package/_cjs/tempo/actions/index.js +2 -1
- package/_cjs/tempo/actions/index.js.map +1 -1
- package/_cjs/tempo/actions/receivePolicy.js +363 -0
- package/_cjs/tempo/actions/receivePolicy.js.map +1 -0
- package/_cjs/tempo/index.js +2 -1
- package/_cjs/tempo/index.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/tempo/Abis.js +188 -0
- package/_esm/tempo/Abis.js.map +1 -1
- package/_esm/tempo/Account.js +35 -20
- package/_esm/tempo/Account.js.map +1 -1
- package/_esm/tempo/Addresses.js +2 -0
- package/_esm/tempo/Addresses.js.map +1 -1
- package/_esm/tempo/Decorator.js +23 -0
- package/_esm/tempo/Decorator.js.map +1 -1
- package/_esm/tempo/Hardfork.js +3 -0
- package/_esm/tempo/Hardfork.js.map +1 -1
- package/_esm/tempo/actions/accessKey.js +562 -127
- package/_esm/tempo/actions/accessKey.js.map +1 -1
- package/_esm/tempo/actions/index.js +1 -0
- package/_esm/tempo/actions/index.js.map +1 -1
- package/_esm/tempo/actions/receivePolicy.js +753 -0
- package/_esm/tempo/actions/receivePolicy.js.map +1 -0
- package/_esm/tempo/index.js +1 -1
- package/_esm/tempo/index.js.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/tempo/Abis.d.ts +671 -4
- package/_types/tempo/Abis.d.ts.map +1 -1
- package/_types/tempo/Account.d.ts +13 -2
- package/_types/tempo/Account.d.ts.map +1 -1
- package/_types/tempo/Addresses.d.ts +2 -0
- package/_types/tempo/Addresses.d.ts.map +1 -1
- package/_types/tempo/Decorator.d.ts +501 -0
- package/_types/tempo/Decorator.d.ts.map +1 -1
- package/_types/tempo/Hardfork.d.ts +1 -1
- package/_types/tempo/Hardfork.d.ts.map +1 -1
- package/_types/tempo/actions/accessKey.d.ts +1520 -304
- package/_types/tempo/actions/accessKey.d.ts.map +1 -1
- package/_types/tempo/actions/dex.d.ts +75 -0
- package/_types/tempo/actions/dex.d.ts.map +1 -1
- package/_types/tempo/actions/index.d.ts +1 -0
- package/_types/tempo/actions/index.d.ts.map +1 -1
- package/_types/tempo/actions/policy.d.ts +352 -0
- package/_types/tempo/actions/policy.d.ts.map +1 -1
- package/_types/tempo/actions/receivePolicy.d.ts +1511 -0
- package/_types/tempo/actions/receivePolicy.d.ts.map +1 -0
- package/_types/tempo/index.d.ts +1 -1
- package/_types/tempo/index.d.ts.map +1 -1
- package/errors/version.ts +1 -1
- package/package.json +2 -2
- package/tempo/Abis.ts +189 -0
- package/tempo/Account.ts +56 -27
- package/tempo/Addresses.ts +2 -0
- package/tempo/Decorator.ts +578 -0
- package/tempo/Hardfork.ts +3 -0
- package/tempo/actions/accessKey.ts +1003 -279
- package/tempo/actions/index.ts +1 -0
- package/tempo/actions/receivePolicy.ts +1266 -0
- package/tempo/index.ts +1 -0
package/_types/tempo/Abis.d.ts
CHANGED
|
@@ -2016,6 +2016,40 @@ export declare const signatureVerifier: readonly [{
|
|
|
2016
2016
|
readonly outputs: readonly [{
|
|
2017
2017
|
readonly type: "bool";
|
|
2018
2018
|
}];
|
|
2019
|
+
}, {
|
|
2020
|
+
readonly name: "verifyKeychain";
|
|
2021
|
+
readonly type: "function";
|
|
2022
|
+
readonly stateMutability: "view";
|
|
2023
|
+
readonly inputs: readonly [{
|
|
2024
|
+
readonly type: "address";
|
|
2025
|
+
readonly name: "account";
|
|
2026
|
+
}, {
|
|
2027
|
+
readonly type: "bytes32";
|
|
2028
|
+
readonly name: "hash";
|
|
2029
|
+
}, {
|
|
2030
|
+
readonly type: "bytes";
|
|
2031
|
+
readonly name: "signature";
|
|
2032
|
+
}];
|
|
2033
|
+
readonly outputs: readonly [{
|
|
2034
|
+
readonly type: "bool";
|
|
2035
|
+
}];
|
|
2036
|
+
}, {
|
|
2037
|
+
readonly name: "verifyKeychainAdmin";
|
|
2038
|
+
readonly type: "function";
|
|
2039
|
+
readonly stateMutability: "view";
|
|
2040
|
+
readonly inputs: readonly [{
|
|
2041
|
+
readonly type: "address";
|
|
2042
|
+
readonly name: "account";
|
|
2043
|
+
}, {
|
|
2044
|
+
readonly type: "bytes32";
|
|
2045
|
+
readonly name: "hash";
|
|
2046
|
+
}, {
|
|
2047
|
+
readonly type: "bytes";
|
|
2048
|
+
readonly name: "signature";
|
|
2049
|
+
}];
|
|
2050
|
+
readonly outputs: readonly [{
|
|
2051
|
+
readonly type: "bool";
|
|
2052
|
+
}];
|
|
2019
2053
|
}, {
|
|
2020
2054
|
readonly name: "InvalidFormat";
|
|
2021
2055
|
readonly type: "error";
|
|
@@ -2496,6 +2530,21 @@ export declare const stablecoinDex: readonly [{
|
|
|
2496
2530
|
readonly type: "int16";
|
|
2497
2531
|
readonly name: "flipTick";
|
|
2498
2532
|
}];
|
|
2533
|
+
}, {
|
|
2534
|
+
readonly name: "FlipFailed";
|
|
2535
|
+
readonly type: "event";
|
|
2536
|
+
readonly inputs: readonly [{
|
|
2537
|
+
readonly type: "uint128";
|
|
2538
|
+
readonly name: "orderId";
|
|
2539
|
+
readonly indexed: true;
|
|
2540
|
+
}, {
|
|
2541
|
+
readonly type: "address";
|
|
2542
|
+
readonly name: "maker";
|
|
2543
|
+
readonly indexed: true;
|
|
2544
|
+
}, {
|
|
2545
|
+
readonly type: "bytes4";
|
|
2546
|
+
readonly name: "reason";
|
|
2547
|
+
}];
|
|
2499
2548
|
}, {
|
|
2500
2549
|
readonly name: "OrderCancelled";
|
|
2501
2550
|
readonly type: "event";
|
|
@@ -3092,6 +3141,158 @@ export declare const feeAmm: readonly [{
|
|
|
3092
3141
|
readonly type: "error";
|
|
3093
3142
|
readonly inputs: readonly [];
|
|
3094
3143
|
}];
|
|
3144
|
+
export declare const receivePolicyGuard: readonly [{
|
|
3145
|
+
readonly name: "balanceOf";
|
|
3146
|
+
readonly type: "function";
|
|
3147
|
+
readonly stateMutability: "view";
|
|
3148
|
+
readonly inputs: readonly [{
|
|
3149
|
+
readonly type: "bytes";
|
|
3150
|
+
readonly name: "receipt";
|
|
3151
|
+
}];
|
|
3152
|
+
readonly outputs: readonly [{
|
|
3153
|
+
readonly type: "uint256";
|
|
3154
|
+
readonly name: "amount";
|
|
3155
|
+
}];
|
|
3156
|
+
}, {
|
|
3157
|
+
readonly name: "claim";
|
|
3158
|
+
readonly type: "function";
|
|
3159
|
+
readonly stateMutability: "nonpayable";
|
|
3160
|
+
readonly inputs: readonly [{
|
|
3161
|
+
readonly type: "address";
|
|
3162
|
+
readonly name: "to";
|
|
3163
|
+
}, {
|
|
3164
|
+
readonly type: "bytes";
|
|
3165
|
+
readonly name: "receipt";
|
|
3166
|
+
}];
|
|
3167
|
+
readonly outputs: readonly [];
|
|
3168
|
+
}, {
|
|
3169
|
+
readonly name: "burnBlockedReceipt";
|
|
3170
|
+
readonly type: "function";
|
|
3171
|
+
readonly stateMutability: "nonpayable";
|
|
3172
|
+
readonly inputs: readonly [{
|
|
3173
|
+
readonly type: "bytes";
|
|
3174
|
+
readonly name: "receipt";
|
|
3175
|
+
}];
|
|
3176
|
+
readonly outputs: readonly [];
|
|
3177
|
+
}, {
|
|
3178
|
+
readonly name: "TransferBlocked";
|
|
3179
|
+
readonly type: "event";
|
|
3180
|
+
readonly inputs: readonly [{
|
|
3181
|
+
readonly type: "address";
|
|
3182
|
+
readonly name: "token";
|
|
3183
|
+
readonly indexed: true;
|
|
3184
|
+
}, {
|
|
3185
|
+
readonly type: "address";
|
|
3186
|
+
readonly name: "receiver";
|
|
3187
|
+
readonly indexed: true;
|
|
3188
|
+
}, {
|
|
3189
|
+
readonly type: "uint64";
|
|
3190
|
+
readonly name: "blockedNonce";
|
|
3191
|
+
readonly indexed: true;
|
|
3192
|
+
}, {
|
|
3193
|
+
readonly type: "uint256";
|
|
3194
|
+
readonly name: "amount";
|
|
3195
|
+
}, {
|
|
3196
|
+
readonly type: "uint8";
|
|
3197
|
+
readonly name: "receiptVersion";
|
|
3198
|
+
}, {
|
|
3199
|
+
readonly type: "bytes";
|
|
3200
|
+
readonly name: "receipt";
|
|
3201
|
+
}];
|
|
3202
|
+
}, {
|
|
3203
|
+
readonly name: "ReceiptClaimed";
|
|
3204
|
+
readonly type: "event";
|
|
3205
|
+
readonly inputs: readonly [{
|
|
3206
|
+
readonly type: "address";
|
|
3207
|
+
readonly name: "token";
|
|
3208
|
+
readonly indexed: true;
|
|
3209
|
+
}, {
|
|
3210
|
+
readonly type: "address";
|
|
3211
|
+
readonly name: "receiver";
|
|
3212
|
+
readonly indexed: true;
|
|
3213
|
+
}, {
|
|
3214
|
+
readonly type: "uint64";
|
|
3215
|
+
readonly name: "blockedNonce";
|
|
3216
|
+
readonly indexed: true;
|
|
3217
|
+
}, {
|
|
3218
|
+
readonly type: "uint64";
|
|
3219
|
+
readonly name: "blockedAt";
|
|
3220
|
+
}, {
|
|
3221
|
+
readonly type: "uint8";
|
|
3222
|
+
readonly name: "receiptVersion";
|
|
3223
|
+
}, {
|
|
3224
|
+
readonly type: "address";
|
|
3225
|
+
readonly name: "originator";
|
|
3226
|
+
}, {
|
|
3227
|
+
readonly type: "address";
|
|
3228
|
+
readonly name: "recipient";
|
|
3229
|
+
}, {
|
|
3230
|
+
readonly type: "address";
|
|
3231
|
+
readonly name: "recoveryAuthority";
|
|
3232
|
+
}, {
|
|
3233
|
+
readonly type: "address";
|
|
3234
|
+
readonly name: "caller";
|
|
3235
|
+
}, {
|
|
3236
|
+
readonly type: "address";
|
|
3237
|
+
readonly name: "to";
|
|
3238
|
+
}, {
|
|
3239
|
+
readonly type: "uint256";
|
|
3240
|
+
readonly name: "amount";
|
|
3241
|
+
}];
|
|
3242
|
+
}, {
|
|
3243
|
+
readonly name: "ReceiptBurned";
|
|
3244
|
+
readonly type: "event";
|
|
3245
|
+
readonly inputs: readonly [{
|
|
3246
|
+
readonly type: "address";
|
|
3247
|
+
readonly name: "token";
|
|
3248
|
+
readonly indexed: true;
|
|
3249
|
+
}, {
|
|
3250
|
+
readonly type: "address";
|
|
3251
|
+
readonly name: "receiver";
|
|
3252
|
+
readonly indexed: true;
|
|
3253
|
+
}, {
|
|
3254
|
+
readonly type: "uint64";
|
|
3255
|
+
readonly name: "blockedNonce";
|
|
3256
|
+
readonly indexed: true;
|
|
3257
|
+
}, {
|
|
3258
|
+
readonly type: "uint64";
|
|
3259
|
+
readonly name: "blockedAt";
|
|
3260
|
+
}, {
|
|
3261
|
+
readonly type: "uint8";
|
|
3262
|
+
readonly name: "receiptVersion";
|
|
3263
|
+
}, {
|
|
3264
|
+
readonly type: "address";
|
|
3265
|
+
readonly name: "originator";
|
|
3266
|
+
}, {
|
|
3267
|
+
readonly type: "address";
|
|
3268
|
+
readonly name: "recipient";
|
|
3269
|
+
}, {
|
|
3270
|
+
readonly type: "address";
|
|
3271
|
+
readonly name: "recoveryAuthority";
|
|
3272
|
+
}, {
|
|
3273
|
+
readonly type: "address";
|
|
3274
|
+
readonly name: "caller";
|
|
3275
|
+
}, {
|
|
3276
|
+
readonly type: "uint256";
|
|
3277
|
+
readonly name: "amount";
|
|
3278
|
+
}];
|
|
3279
|
+
}, {
|
|
3280
|
+
readonly name: "InvalidReceipt";
|
|
3281
|
+
readonly type: "error";
|
|
3282
|
+
readonly inputs: readonly [];
|
|
3283
|
+
}, {
|
|
3284
|
+
readonly name: "InvalidClaimAddress";
|
|
3285
|
+
readonly type: "error";
|
|
3286
|
+
readonly inputs: readonly [];
|
|
3287
|
+
}, {
|
|
3288
|
+
readonly name: "UnauthorizedClaimer";
|
|
3289
|
+
readonly type: "error";
|
|
3290
|
+
readonly inputs: readonly [];
|
|
3291
|
+
}, {
|
|
3292
|
+
readonly name: "AddressReserved";
|
|
3293
|
+
readonly type: "error";
|
|
3294
|
+
readonly inputs: readonly [];
|
|
3295
|
+
}];
|
|
3095
3296
|
export declare const accountKeychain: readonly [{
|
|
3096
3297
|
readonly name: "authorizeKey";
|
|
3097
3298
|
readonly type: "function";
|
|
@@ -3233,6 +3434,21 @@ export declare const accountKeychain: readonly [{
|
|
|
3233
3434
|
readonly name: "witness";
|
|
3234
3435
|
}];
|
|
3235
3436
|
readonly outputs: readonly [];
|
|
3437
|
+
}, {
|
|
3438
|
+
readonly name: "authorizeAdminKey";
|
|
3439
|
+
readonly type: "function";
|
|
3440
|
+
readonly stateMutability: "nonpayable";
|
|
3441
|
+
readonly inputs: readonly [{
|
|
3442
|
+
readonly type: "address";
|
|
3443
|
+
readonly name: "keyId";
|
|
3444
|
+
}, {
|
|
3445
|
+
readonly type: "uint8";
|
|
3446
|
+
readonly name: "signatureType";
|
|
3447
|
+
}, {
|
|
3448
|
+
readonly type: "bytes32";
|
|
3449
|
+
readonly name: "witness";
|
|
3450
|
+
}];
|
|
3451
|
+
readonly outputs: readonly [];
|
|
3236
3452
|
}, {
|
|
3237
3453
|
readonly name: "burnKeyAuthorizationWitness";
|
|
3238
3454
|
readonly type: "function";
|
|
@@ -3419,6 +3635,20 @@ export declare const accountKeychain: readonly [{
|
|
|
3419
3635
|
readonly outputs: readonly [{
|
|
3420
3636
|
readonly type: "bool";
|
|
3421
3637
|
}];
|
|
3638
|
+
}, {
|
|
3639
|
+
readonly name: "isAdminKey";
|
|
3640
|
+
readonly type: "function";
|
|
3641
|
+
readonly stateMutability: "view";
|
|
3642
|
+
readonly inputs: readonly [{
|
|
3643
|
+
readonly type: "address";
|
|
3644
|
+
readonly name: "account";
|
|
3645
|
+
}, {
|
|
3646
|
+
readonly type: "address";
|
|
3647
|
+
readonly name: "keyId";
|
|
3648
|
+
}];
|
|
3649
|
+
readonly outputs: readonly [{
|
|
3650
|
+
readonly type: "bool";
|
|
3651
|
+
}];
|
|
3422
3652
|
}, {
|
|
3423
3653
|
readonly name: "getTransactionKey";
|
|
3424
3654
|
readonly type: "function";
|
|
@@ -3445,6 +3675,18 @@ export declare const accountKeychain: readonly [{
|
|
|
3445
3675
|
readonly type: "uint64";
|
|
3446
3676
|
readonly name: "expiry";
|
|
3447
3677
|
}];
|
|
3678
|
+
}, {
|
|
3679
|
+
readonly name: "AdminKeyAuthorized";
|
|
3680
|
+
readonly type: "event";
|
|
3681
|
+
readonly inputs: readonly [{
|
|
3682
|
+
readonly type: "address";
|
|
3683
|
+
readonly name: "account";
|
|
3684
|
+
readonly indexed: true;
|
|
3685
|
+
}, {
|
|
3686
|
+
readonly type: "address";
|
|
3687
|
+
readonly name: "publicKey";
|
|
3688
|
+
readonly indexed: true;
|
|
3689
|
+
}];
|
|
3448
3690
|
}, {
|
|
3449
3691
|
readonly name: "KeyRevoked";
|
|
3450
3692
|
readonly type: "event";
|
|
@@ -3580,6 +3822,10 @@ export declare const accountKeychain: readonly [{
|
|
|
3580
3822
|
readonly name: "InvalidCallScope";
|
|
3581
3823
|
readonly type: "error";
|
|
3582
3824
|
readonly inputs: readonly [];
|
|
3825
|
+
}, {
|
|
3826
|
+
readonly name: "InvalidKeyId";
|
|
3827
|
+
readonly type: "error";
|
|
3828
|
+
readonly inputs: readonly [];
|
|
3583
3829
|
}, {
|
|
3584
3830
|
readonly name: "InvalidKeyAuthorizationWitness";
|
|
3585
3831
|
readonly type: "error";
|
|
@@ -3885,6 +4131,54 @@ export declare const tip403Registry: readonly [{
|
|
|
3885
4131
|
readonly type: "uint64";
|
|
3886
4132
|
readonly name: "mintRecipientPolicyId";
|
|
3887
4133
|
}];
|
|
4134
|
+
}, {
|
|
4135
|
+
readonly name: "receivePolicy";
|
|
4136
|
+
readonly type: "function";
|
|
4137
|
+
readonly stateMutability: "view";
|
|
4138
|
+
readonly inputs: readonly [{
|
|
4139
|
+
readonly type: "address";
|
|
4140
|
+
readonly name: "account";
|
|
4141
|
+
}];
|
|
4142
|
+
readonly outputs: readonly [{
|
|
4143
|
+
readonly type: "bool";
|
|
4144
|
+
readonly name: "hasReceivePolicy";
|
|
4145
|
+
}, {
|
|
4146
|
+
readonly type: "uint64";
|
|
4147
|
+
readonly name: "senderPolicyId";
|
|
4148
|
+
}, {
|
|
4149
|
+
readonly type: "uint8";
|
|
4150
|
+
readonly name: "senderPolicyType";
|
|
4151
|
+
}, {
|
|
4152
|
+
readonly type: "uint64";
|
|
4153
|
+
readonly name: "tokenFilterId";
|
|
4154
|
+
}, {
|
|
4155
|
+
readonly type: "uint8";
|
|
4156
|
+
readonly name: "tokenFilterType";
|
|
4157
|
+
}, {
|
|
4158
|
+
readonly type: "address";
|
|
4159
|
+
readonly name: "recoveryAuthority";
|
|
4160
|
+
}];
|
|
4161
|
+
}, {
|
|
4162
|
+
readonly name: "validateReceivePolicy";
|
|
4163
|
+
readonly type: "function";
|
|
4164
|
+
readonly stateMutability: "view";
|
|
4165
|
+
readonly inputs: readonly [{
|
|
4166
|
+
readonly type: "address";
|
|
4167
|
+
readonly name: "token";
|
|
4168
|
+
}, {
|
|
4169
|
+
readonly type: "address";
|
|
4170
|
+
readonly name: "sender";
|
|
4171
|
+
}, {
|
|
4172
|
+
readonly type: "address";
|
|
4173
|
+
readonly name: "receiver";
|
|
4174
|
+
}];
|
|
4175
|
+
readonly outputs: readonly [{
|
|
4176
|
+
readonly type: "bool";
|
|
4177
|
+
readonly name: "authorized";
|
|
4178
|
+
}, {
|
|
4179
|
+
readonly type: "uint8";
|
|
4180
|
+
readonly name: "blockedReason";
|
|
4181
|
+
}];
|
|
3888
4182
|
}, {
|
|
3889
4183
|
readonly name: "createPolicy";
|
|
3890
4184
|
readonly type: "function";
|
|
@@ -3975,6 +4269,21 @@ export declare const tip403Registry: readonly [{
|
|
|
3975
4269
|
readonly outputs: readonly [{
|
|
3976
4270
|
readonly type: "uint64";
|
|
3977
4271
|
}];
|
|
4272
|
+
}, {
|
|
4273
|
+
readonly name: "setReceivePolicy";
|
|
4274
|
+
readonly type: "function";
|
|
4275
|
+
readonly stateMutability: "nonpayable";
|
|
4276
|
+
readonly inputs: readonly [{
|
|
4277
|
+
readonly type: "uint64";
|
|
4278
|
+
readonly name: "senderPolicyId";
|
|
4279
|
+
}, {
|
|
4280
|
+
readonly type: "uint64";
|
|
4281
|
+
readonly name: "tokenFilterId";
|
|
4282
|
+
}, {
|
|
4283
|
+
readonly type: "address";
|
|
4284
|
+
readonly name: "recoveryAuthority";
|
|
4285
|
+
}];
|
|
4286
|
+
readonly outputs: readonly [];
|
|
3978
4287
|
}, {
|
|
3979
4288
|
readonly name: "PolicyAdminUpdated";
|
|
3980
4289
|
readonly type: "event";
|
|
@@ -4065,6 +4374,23 @@ export declare const tip403Registry: readonly [{
|
|
|
4065
4374
|
readonly type: "uint64";
|
|
4066
4375
|
readonly name: "mintRecipientPolicyId";
|
|
4067
4376
|
}];
|
|
4377
|
+
}, {
|
|
4378
|
+
readonly name: "ReceivePolicyUpdated";
|
|
4379
|
+
readonly type: "event";
|
|
4380
|
+
readonly inputs: readonly [{
|
|
4381
|
+
readonly type: "address";
|
|
4382
|
+
readonly name: "account";
|
|
4383
|
+
readonly indexed: true;
|
|
4384
|
+
}, {
|
|
4385
|
+
readonly type: "uint64";
|
|
4386
|
+
readonly name: "senderPolicyId";
|
|
4387
|
+
}, {
|
|
4388
|
+
readonly type: "uint64";
|
|
4389
|
+
readonly name: "tokenFilterId";
|
|
4390
|
+
}, {
|
|
4391
|
+
readonly type: "address";
|
|
4392
|
+
readonly name: "recoveryAuthority";
|
|
4393
|
+
}];
|
|
4068
4394
|
}, {
|
|
4069
4395
|
readonly name: "Unauthorized";
|
|
4070
4396
|
readonly type: "error";
|
|
@@ -4089,6 +4415,14 @@ export declare const tip403Registry: readonly [{
|
|
|
4089
4415
|
readonly name: "VirtualAddressNotAllowed";
|
|
4090
4416
|
readonly type: "error";
|
|
4091
4417
|
readonly inputs: readonly [];
|
|
4418
|
+
}, {
|
|
4419
|
+
readonly name: "InvalidReceivePolicyType";
|
|
4420
|
+
readonly type: "error";
|
|
4421
|
+
readonly inputs: readonly [];
|
|
4422
|
+
}, {
|
|
4423
|
+
readonly name: "InvalidRecoveryAuthority";
|
|
4424
|
+
readonly type: "error";
|
|
4425
|
+
readonly inputs: readonly [];
|
|
4092
4426
|
}];
|
|
4093
4427
|
export declare const validatorConfig: readonly [{
|
|
4094
4428
|
readonly name: "getValidators";
|
|
@@ -6302,16 +6636,50 @@ export declare const abis: readonly [{
|
|
|
6302
6636
|
readonly name: "signature";
|
|
6303
6637
|
}];
|
|
6304
6638
|
readonly outputs: readonly [{
|
|
6305
|
-
readonly type: "address";
|
|
6306
|
-
readonly name: "signer";
|
|
6639
|
+
readonly type: "address";
|
|
6640
|
+
readonly name: "signer";
|
|
6641
|
+
}];
|
|
6642
|
+
}, {
|
|
6643
|
+
readonly name: "verify";
|
|
6644
|
+
readonly type: "function";
|
|
6645
|
+
readonly stateMutability: "view";
|
|
6646
|
+
readonly inputs: readonly [{
|
|
6647
|
+
readonly type: "address";
|
|
6648
|
+
readonly name: "signer";
|
|
6649
|
+
}, {
|
|
6650
|
+
readonly type: "bytes32";
|
|
6651
|
+
readonly name: "hash";
|
|
6652
|
+
}, {
|
|
6653
|
+
readonly type: "bytes";
|
|
6654
|
+
readonly name: "signature";
|
|
6655
|
+
}];
|
|
6656
|
+
readonly outputs: readonly [{
|
|
6657
|
+
readonly type: "bool";
|
|
6658
|
+
}];
|
|
6659
|
+
}, {
|
|
6660
|
+
readonly name: "verifyKeychain";
|
|
6661
|
+
readonly type: "function";
|
|
6662
|
+
readonly stateMutability: "view";
|
|
6663
|
+
readonly inputs: readonly [{
|
|
6664
|
+
readonly type: "address";
|
|
6665
|
+
readonly name: "account";
|
|
6666
|
+
}, {
|
|
6667
|
+
readonly type: "bytes32";
|
|
6668
|
+
readonly name: "hash";
|
|
6669
|
+
}, {
|
|
6670
|
+
readonly type: "bytes";
|
|
6671
|
+
readonly name: "signature";
|
|
6672
|
+
}];
|
|
6673
|
+
readonly outputs: readonly [{
|
|
6674
|
+
readonly type: "bool";
|
|
6307
6675
|
}];
|
|
6308
6676
|
}, {
|
|
6309
|
-
readonly name: "
|
|
6677
|
+
readonly name: "verifyKeychainAdmin";
|
|
6310
6678
|
readonly type: "function";
|
|
6311
6679
|
readonly stateMutability: "view";
|
|
6312
6680
|
readonly inputs: readonly [{
|
|
6313
6681
|
readonly type: "address";
|
|
6314
|
-
readonly name: "
|
|
6682
|
+
readonly name: "account";
|
|
6315
6683
|
}, {
|
|
6316
6684
|
readonly type: "bytes32";
|
|
6317
6685
|
readonly name: "hash";
|
|
@@ -6801,6 +7169,21 @@ export declare const abis: readonly [{
|
|
|
6801
7169
|
readonly type: "int16";
|
|
6802
7170
|
readonly name: "flipTick";
|
|
6803
7171
|
}];
|
|
7172
|
+
}, {
|
|
7173
|
+
readonly name: "FlipFailed";
|
|
7174
|
+
readonly type: "event";
|
|
7175
|
+
readonly inputs: readonly [{
|
|
7176
|
+
readonly type: "uint128";
|
|
7177
|
+
readonly name: "orderId";
|
|
7178
|
+
readonly indexed: true;
|
|
7179
|
+
}, {
|
|
7180
|
+
readonly type: "address";
|
|
7181
|
+
readonly name: "maker";
|
|
7182
|
+
readonly indexed: true;
|
|
7183
|
+
}, {
|
|
7184
|
+
readonly type: "bytes4";
|
|
7185
|
+
readonly name: "reason";
|
|
7186
|
+
}];
|
|
6804
7187
|
}, {
|
|
6805
7188
|
readonly name: "OrderCancelled";
|
|
6806
7189
|
readonly type: "event";
|
|
@@ -7393,6 +7776,157 @@ export declare const abis: readonly [{
|
|
|
7393
7776
|
readonly name: "InvalidSwapCalculation";
|
|
7394
7777
|
readonly type: "error";
|
|
7395
7778
|
readonly inputs: readonly [];
|
|
7779
|
+
}, {
|
|
7780
|
+
readonly name: "balanceOf";
|
|
7781
|
+
readonly type: "function";
|
|
7782
|
+
readonly stateMutability: "view";
|
|
7783
|
+
readonly inputs: readonly [{
|
|
7784
|
+
readonly type: "bytes";
|
|
7785
|
+
readonly name: "receipt";
|
|
7786
|
+
}];
|
|
7787
|
+
readonly outputs: readonly [{
|
|
7788
|
+
readonly type: "uint256";
|
|
7789
|
+
readonly name: "amount";
|
|
7790
|
+
}];
|
|
7791
|
+
}, {
|
|
7792
|
+
readonly name: "claim";
|
|
7793
|
+
readonly type: "function";
|
|
7794
|
+
readonly stateMutability: "nonpayable";
|
|
7795
|
+
readonly inputs: readonly [{
|
|
7796
|
+
readonly type: "address";
|
|
7797
|
+
readonly name: "to";
|
|
7798
|
+
}, {
|
|
7799
|
+
readonly type: "bytes";
|
|
7800
|
+
readonly name: "receipt";
|
|
7801
|
+
}];
|
|
7802
|
+
readonly outputs: readonly [];
|
|
7803
|
+
}, {
|
|
7804
|
+
readonly name: "burnBlockedReceipt";
|
|
7805
|
+
readonly type: "function";
|
|
7806
|
+
readonly stateMutability: "nonpayable";
|
|
7807
|
+
readonly inputs: readonly [{
|
|
7808
|
+
readonly type: "bytes";
|
|
7809
|
+
readonly name: "receipt";
|
|
7810
|
+
}];
|
|
7811
|
+
readonly outputs: readonly [];
|
|
7812
|
+
}, {
|
|
7813
|
+
readonly name: "TransferBlocked";
|
|
7814
|
+
readonly type: "event";
|
|
7815
|
+
readonly inputs: readonly [{
|
|
7816
|
+
readonly type: "address";
|
|
7817
|
+
readonly name: "token";
|
|
7818
|
+
readonly indexed: true;
|
|
7819
|
+
}, {
|
|
7820
|
+
readonly type: "address";
|
|
7821
|
+
readonly name: "receiver";
|
|
7822
|
+
readonly indexed: true;
|
|
7823
|
+
}, {
|
|
7824
|
+
readonly type: "uint64";
|
|
7825
|
+
readonly name: "blockedNonce";
|
|
7826
|
+
readonly indexed: true;
|
|
7827
|
+
}, {
|
|
7828
|
+
readonly type: "uint256";
|
|
7829
|
+
readonly name: "amount";
|
|
7830
|
+
}, {
|
|
7831
|
+
readonly type: "uint8";
|
|
7832
|
+
readonly name: "receiptVersion";
|
|
7833
|
+
}, {
|
|
7834
|
+
readonly type: "bytes";
|
|
7835
|
+
readonly name: "receipt";
|
|
7836
|
+
}];
|
|
7837
|
+
}, {
|
|
7838
|
+
readonly name: "ReceiptClaimed";
|
|
7839
|
+
readonly type: "event";
|
|
7840
|
+
readonly inputs: readonly [{
|
|
7841
|
+
readonly type: "address";
|
|
7842
|
+
readonly name: "token";
|
|
7843
|
+
readonly indexed: true;
|
|
7844
|
+
}, {
|
|
7845
|
+
readonly type: "address";
|
|
7846
|
+
readonly name: "receiver";
|
|
7847
|
+
readonly indexed: true;
|
|
7848
|
+
}, {
|
|
7849
|
+
readonly type: "uint64";
|
|
7850
|
+
readonly name: "blockedNonce";
|
|
7851
|
+
readonly indexed: true;
|
|
7852
|
+
}, {
|
|
7853
|
+
readonly type: "uint64";
|
|
7854
|
+
readonly name: "blockedAt";
|
|
7855
|
+
}, {
|
|
7856
|
+
readonly type: "uint8";
|
|
7857
|
+
readonly name: "receiptVersion";
|
|
7858
|
+
}, {
|
|
7859
|
+
readonly type: "address";
|
|
7860
|
+
readonly name: "originator";
|
|
7861
|
+
}, {
|
|
7862
|
+
readonly type: "address";
|
|
7863
|
+
readonly name: "recipient";
|
|
7864
|
+
}, {
|
|
7865
|
+
readonly type: "address";
|
|
7866
|
+
readonly name: "recoveryAuthority";
|
|
7867
|
+
}, {
|
|
7868
|
+
readonly type: "address";
|
|
7869
|
+
readonly name: "caller";
|
|
7870
|
+
}, {
|
|
7871
|
+
readonly type: "address";
|
|
7872
|
+
readonly name: "to";
|
|
7873
|
+
}, {
|
|
7874
|
+
readonly type: "uint256";
|
|
7875
|
+
readonly name: "amount";
|
|
7876
|
+
}];
|
|
7877
|
+
}, {
|
|
7878
|
+
readonly name: "ReceiptBurned";
|
|
7879
|
+
readonly type: "event";
|
|
7880
|
+
readonly inputs: readonly [{
|
|
7881
|
+
readonly type: "address";
|
|
7882
|
+
readonly name: "token";
|
|
7883
|
+
readonly indexed: true;
|
|
7884
|
+
}, {
|
|
7885
|
+
readonly type: "address";
|
|
7886
|
+
readonly name: "receiver";
|
|
7887
|
+
readonly indexed: true;
|
|
7888
|
+
}, {
|
|
7889
|
+
readonly type: "uint64";
|
|
7890
|
+
readonly name: "blockedNonce";
|
|
7891
|
+
readonly indexed: true;
|
|
7892
|
+
}, {
|
|
7893
|
+
readonly type: "uint64";
|
|
7894
|
+
readonly name: "blockedAt";
|
|
7895
|
+
}, {
|
|
7896
|
+
readonly type: "uint8";
|
|
7897
|
+
readonly name: "receiptVersion";
|
|
7898
|
+
}, {
|
|
7899
|
+
readonly type: "address";
|
|
7900
|
+
readonly name: "originator";
|
|
7901
|
+
}, {
|
|
7902
|
+
readonly type: "address";
|
|
7903
|
+
readonly name: "recipient";
|
|
7904
|
+
}, {
|
|
7905
|
+
readonly type: "address";
|
|
7906
|
+
readonly name: "recoveryAuthority";
|
|
7907
|
+
}, {
|
|
7908
|
+
readonly type: "address";
|
|
7909
|
+
readonly name: "caller";
|
|
7910
|
+
}, {
|
|
7911
|
+
readonly type: "uint256";
|
|
7912
|
+
readonly name: "amount";
|
|
7913
|
+
}];
|
|
7914
|
+
}, {
|
|
7915
|
+
readonly name: "InvalidReceipt";
|
|
7916
|
+
readonly type: "error";
|
|
7917
|
+
readonly inputs: readonly [];
|
|
7918
|
+
}, {
|
|
7919
|
+
readonly name: "InvalidClaimAddress";
|
|
7920
|
+
readonly type: "error";
|
|
7921
|
+
readonly inputs: readonly [];
|
|
7922
|
+
}, {
|
|
7923
|
+
readonly name: "UnauthorizedClaimer";
|
|
7924
|
+
readonly type: "error";
|
|
7925
|
+
readonly inputs: readonly [];
|
|
7926
|
+
}, {
|
|
7927
|
+
readonly name: "AddressReserved";
|
|
7928
|
+
readonly type: "error";
|
|
7929
|
+
readonly inputs: readonly [];
|
|
7396
7930
|
}, {
|
|
7397
7931
|
readonly name: "authorizeKey";
|
|
7398
7932
|
readonly type: "function";
|
|
@@ -7534,6 +8068,21 @@ export declare const abis: readonly [{
|
|
|
7534
8068
|
readonly name: "witness";
|
|
7535
8069
|
}];
|
|
7536
8070
|
readonly outputs: readonly [];
|
|
8071
|
+
}, {
|
|
8072
|
+
readonly name: "authorizeAdminKey";
|
|
8073
|
+
readonly type: "function";
|
|
8074
|
+
readonly stateMutability: "nonpayable";
|
|
8075
|
+
readonly inputs: readonly [{
|
|
8076
|
+
readonly type: "address";
|
|
8077
|
+
readonly name: "keyId";
|
|
8078
|
+
}, {
|
|
8079
|
+
readonly type: "uint8";
|
|
8080
|
+
readonly name: "signatureType";
|
|
8081
|
+
}, {
|
|
8082
|
+
readonly type: "bytes32";
|
|
8083
|
+
readonly name: "witness";
|
|
8084
|
+
}];
|
|
8085
|
+
readonly outputs: readonly [];
|
|
7537
8086
|
}, {
|
|
7538
8087
|
readonly name: "burnKeyAuthorizationWitness";
|
|
7539
8088
|
readonly type: "function";
|
|
@@ -7720,6 +8269,20 @@ export declare const abis: readonly [{
|
|
|
7720
8269
|
readonly outputs: readonly [{
|
|
7721
8270
|
readonly type: "bool";
|
|
7722
8271
|
}];
|
|
8272
|
+
}, {
|
|
8273
|
+
readonly name: "isAdminKey";
|
|
8274
|
+
readonly type: "function";
|
|
8275
|
+
readonly stateMutability: "view";
|
|
8276
|
+
readonly inputs: readonly [{
|
|
8277
|
+
readonly type: "address";
|
|
8278
|
+
readonly name: "account";
|
|
8279
|
+
}, {
|
|
8280
|
+
readonly type: "address";
|
|
8281
|
+
readonly name: "keyId";
|
|
8282
|
+
}];
|
|
8283
|
+
readonly outputs: readonly [{
|
|
8284
|
+
readonly type: "bool";
|
|
8285
|
+
}];
|
|
7723
8286
|
}, {
|
|
7724
8287
|
readonly name: "getTransactionKey";
|
|
7725
8288
|
readonly type: "function";
|
|
@@ -7746,6 +8309,18 @@ export declare const abis: readonly [{
|
|
|
7746
8309
|
readonly type: "uint64";
|
|
7747
8310
|
readonly name: "expiry";
|
|
7748
8311
|
}];
|
|
8312
|
+
}, {
|
|
8313
|
+
readonly name: "AdminKeyAuthorized";
|
|
8314
|
+
readonly type: "event";
|
|
8315
|
+
readonly inputs: readonly [{
|
|
8316
|
+
readonly type: "address";
|
|
8317
|
+
readonly name: "account";
|
|
8318
|
+
readonly indexed: true;
|
|
8319
|
+
}, {
|
|
8320
|
+
readonly type: "address";
|
|
8321
|
+
readonly name: "publicKey";
|
|
8322
|
+
readonly indexed: true;
|
|
8323
|
+
}];
|
|
7749
8324
|
}, {
|
|
7750
8325
|
readonly name: "KeyRevoked";
|
|
7751
8326
|
readonly type: "event";
|
|
@@ -7881,6 +8456,10 @@ export declare const abis: readonly [{
|
|
|
7881
8456
|
readonly name: "InvalidCallScope";
|
|
7882
8457
|
readonly type: "error";
|
|
7883
8458
|
readonly inputs: readonly [];
|
|
8459
|
+
}, {
|
|
8460
|
+
readonly name: "InvalidKeyId";
|
|
8461
|
+
readonly type: "error";
|
|
8462
|
+
readonly inputs: readonly [];
|
|
7884
8463
|
}, {
|
|
7885
8464
|
readonly name: "InvalidKeyAuthorizationWitness";
|
|
7886
8465
|
readonly type: "error";
|
|
@@ -8183,6 +8762,54 @@ export declare const abis: readonly [{
|
|
|
8183
8762
|
readonly type: "uint64";
|
|
8184
8763
|
readonly name: "mintRecipientPolicyId";
|
|
8185
8764
|
}];
|
|
8765
|
+
}, {
|
|
8766
|
+
readonly name: "receivePolicy";
|
|
8767
|
+
readonly type: "function";
|
|
8768
|
+
readonly stateMutability: "view";
|
|
8769
|
+
readonly inputs: readonly [{
|
|
8770
|
+
readonly type: "address";
|
|
8771
|
+
readonly name: "account";
|
|
8772
|
+
}];
|
|
8773
|
+
readonly outputs: readonly [{
|
|
8774
|
+
readonly type: "bool";
|
|
8775
|
+
readonly name: "hasReceivePolicy";
|
|
8776
|
+
}, {
|
|
8777
|
+
readonly type: "uint64";
|
|
8778
|
+
readonly name: "senderPolicyId";
|
|
8779
|
+
}, {
|
|
8780
|
+
readonly type: "uint8";
|
|
8781
|
+
readonly name: "senderPolicyType";
|
|
8782
|
+
}, {
|
|
8783
|
+
readonly type: "uint64";
|
|
8784
|
+
readonly name: "tokenFilterId";
|
|
8785
|
+
}, {
|
|
8786
|
+
readonly type: "uint8";
|
|
8787
|
+
readonly name: "tokenFilterType";
|
|
8788
|
+
}, {
|
|
8789
|
+
readonly type: "address";
|
|
8790
|
+
readonly name: "recoveryAuthority";
|
|
8791
|
+
}];
|
|
8792
|
+
}, {
|
|
8793
|
+
readonly name: "validateReceivePolicy";
|
|
8794
|
+
readonly type: "function";
|
|
8795
|
+
readonly stateMutability: "view";
|
|
8796
|
+
readonly inputs: readonly [{
|
|
8797
|
+
readonly type: "address";
|
|
8798
|
+
readonly name: "token";
|
|
8799
|
+
}, {
|
|
8800
|
+
readonly type: "address";
|
|
8801
|
+
readonly name: "sender";
|
|
8802
|
+
}, {
|
|
8803
|
+
readonly type: "address";
|
|
8804
|
+
readonly name: "receiver";
|
|
8805
|
+
}];
|
|
8806
|
+
readonly outputs: readonly [{
|
|
8807
|
+
readonly type: "bool";
|
|
8808
|
+
readonly name: "authorized";
|
|
8809
|
+
}, {
|
|
8810
|
+
readonly type: "uint8";
|
|
8811
|
+
readonly name: "blockedReason";
|
|
8812
|
+
}];
|
|
8186
8813
|
}, {
|
|
8187
8814
|
readonly name: "createPolicy";
|
|
8188
8815
|
readonly type: "function";
|
|
@@ -8273,6 +8900,21 @@ export declare const abis: readonly [{
|
|
|
8273
8900
|
readonly outputs: readonly [{
|
|
8274
8901
|
readonly type: "uint64";
|
|
8275
8902
|
}];
|
|
8903
|
+
}, {
|
|
8904
|
+
readonly name: "setReceivePolicy";
|
|
8905
|
+
readonly type: "function";
|
|
8906
|
+
readonly stateMutability: "nonpayable";
|
|
8907
|
+
readonly inputs: readonly [{
|
|
8908
|
+
readonly type: "uint64";
|
|
8909
|
+
readonly name: "senderPolicyId";
|
|
8910
|
+
}, {
|
|
8911
|
+
readonly type: "uint64";
|
|
8912
|
+
readonly name: "tokenFilterId";
|
|
8913
|
+
}, {
|
|
8914
|
+
readonly type: "address";
|
|
8915
|
+
readonly name: "recoveryAuthority";
|
|
8916
|
+
}];
|
|
8917
|
+
readonly outputs: readonly [];
|
|
8276
8918
|
}, {
|
|
8277
8919
|
readonly name: "PolicyAdminUpdated";
|
|
8278
8920
|
readonly type: "event";
|
|
@@ -8363,6 +9005,23 @@ export declare const abis: readonly [{
|
|
|
8363
9005
|
readonly type: "uint64";
|
|
8364
9006
|
readonly name: "mintRecipientPolicyId";
|
|
8365
9007
|
}];
|
|
9008
|
+
}, {
|
|
9009
|
+
readonly name: "ReceivePolicyUpdated";
|
|
9010
|
+
readonly type: "event";
|
|
9011
|
+
readonly inputs: readonly [{
|
|
9012
|
+
readonly type: "address";
|
|
9013
|
+
readonly name: "account";
|
|
9014
|
+
readonly indexed: true;
|
|
9015
|
+
}, {
|
|
9016
|
+
readonly type: "uint64";
|
|
9017
|
+
readonly name: "senderPolicyId";
|
|
9018
|
+
}, {
|
|
9019
|
+
readonly type: "uint64";
|
|
9020
|
+
readonly name: "tokenFilterId";
|
|
9021
|
+
}, {
|
|
9022
|
+
readonly type: "address";
|
|
9023
|
+
readonly name: "recoveryAuthority";
|
|
9024
|
+
}];
|
|
8366
9025
|
}, {
|
|
8367
9026
|
readonly name: "Unauthorized";
|
|
8368
9027
|
readonly type: "error";
|
|
@@ -8387,6 +9046,14 @@ export declare const abis: readonly [{
|
|
|
8387
9046
|
readonly name: "VirtualAddressNotAllowed";
|
|
8388
9047
|
readonly type: "error";
|
|
8389
9048
|
readonly inputs: readonly [];
|
|
9049
|
+
}, {
|
|
9050
|
+
readonly name: "InvalidReceivePolicyType";
|
|
9051
|
+
readonly type: "error";
|
|
9052
|
+
readonly inputs: readonly [];
|
|
9053
|
+
}, {
|
|
9054
|
+
readonly name: "InvalidRecoveryAuthority";
|
|
9055
|
+
readonly type: "error";
|
|
9056
|
+
readonly inputs: readonly [];
|
|
8390
9057
|
}, {
|
|
8391
9058
|
readonly name: "getValidators";
|
|
8392
9059
|
readonly type: "function";
|