viem 2.55.5 → 2.55.8

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.
Files changed (107) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/_cjs/errors/version.js +1 -1
  3. package/_cjs/tempo/Abis.js +1809 -1
  4. package/_cjs/tempo/Abis.js.map +1 -1
  5. package/_cjs/tempo/Decorator.js +25 -2
  6. package/_cjs/tempo/Decorator.js.map +1 -1
  7. package/_cjs/tempo/actions/earn.js +1368 -0
  8. package/_cjs/tempo/actions/earn.js.map +1 -0
  9. package/_cjs/tempo/actions/index.js +2 -1
  10. package/_cjs/tempo/actions/index.js.map +1 -1
  11. package/_cjs/tempo/actions/zone.js +47 -61
  12. package/_cjs/tempo/actions/zone.js.map +1 -1
  13. package/_cjs/tempo/chainConfig.js +3 -1
  14. package/_cjs/tempo/chainConfig.js.map +1 -1
  15. package/_cjs/tempo/errors.js +28 -4
  16. package/_cjs/tempo/errors.js.map +1 -1
  17. package/_cjs/tempo/index.js +2 -1
  18. package/_cjs/tempo/index.js.map +1 -1
  19. package/_cjs/tempo/internal/WithdrawalSenderTag.js +9 -0
  20. package/_cjs/tempo/internal/WithdrawalSenderTag.js.map +1 -0
  21. package/_cjs/tempo/zones/Abis.js +46 -0
  22. package/_cjs/tempo/zones/Abis.js.map +1 -1
  23. package/_cjs/tempo/zones/Addresses.js +17 -0
  24. package/_cjs/tempo/zones/Addresses.js.map +1 -0
  25. package/_cjs/tempo/zones/index.js +2 -2
  26. package/_cjs/tempo/zones/index.js.map +1 -1
  27. package/_cjs/tempo/zones/zone.js +30 -16
  28. package/_cjs/tempo/zones/zone.js.map +1 -1
  29. package/_cjs/utils/blob/fromBlobs.js +5 -2
  30. package/_cjs/utils/blob/fromBlobs.js.map +1 -1
  31. package/_cjs/utils/encoding/fromBytes.js +2 -2
  32. package/_cjs/utils/encoding/fromBytes.js.map +1 -1
  33. package/_esm/errors/version.js +1 -1
  34. package/_esm/tempo/Abis.js +1810 -0
  35. package/_esm/tempo/Abis.js.map +1 -1
  36. package/_esm/tempo/Decorator.js +25 -2
  37. package/_esm/tempo/Decorator.js.map +1 -1
  38. package/_esm/tempo/actions/earn.js +2100 -0
  39. package/_esm/tempo/actions/earn.js.map +1 -0
  40. package/_esm/tempo/actions/index.js +1 -0
  41. package/_esm/tempo/actions/index.js.map +1 -1
  42. package/_esm/tempo/actions/zone.js +104 -119
  43. package/_esm/tempo/actions/zone.js.map +1 -1
  44. package/_esm/tempo/chainConfig.js +4 -1
  45. package/_esm/tempo/chainConfig.js.map +1 -1
  46. package/_esm/tempo/errors.js +25 -2
  47. package/_esm/tempo/errors.js.map +1 -1
  48. package/_esm/tempo/index.js +1 -1
  49. package/_esm/tempo/index.js.map +1 -1
  50. package/_esm/tempo/internal/WithdrawalSenderTag.js +7 -0
  51. package/_esm/tempo/internal/WithdrawalSenderTag.js.map +1 -0
  52. package/_esm/tempo/zones/Abis.js +46 -0
  53. package/_esm/tempo/zones/Abis.js.map +1 -1
  54. package/_esm/tempo/zones/Addresses.js +14 -0
  55. package/_esm/tempo/zones/Addresses.js.map +1 -0
  56. package/_esm/tempo/zones/index.js +2 -1
  57. package/_esm/tempo/zones/index.js.map +1 -1
  58. package/_esm/tempo/zones/zone.js +29 -15
  59. package/_esm/tempo/zones/zone.js.map +1 -1
  60. package/_esm/utils/blob/fromBlobs.js +6 -2
  61. package/_esm/utils/blob/fromBlobs.js.map +1 -1
  62. package/_esm/utils/encoding/fromBytes.js +2 -2
  63. package/_esm/utils/encoding/fromBytes.js.map +1 -1
  64. package/_types/errors/version.d.ts +1 -1
  65. package/_types/tempo/Abis.d.ts +2880 -0
  66. package/_types/tempo/Abis.d.ts.map +1 -1
  67. package/_types/tempo/Decorator.d.ts +499 -41
  68. package/_types/tempo/Decorator.d.ts.map +1 -1
  69. package/_types/tempo/actions/earn.d.ts +7549 -0
  70. package/_types/tempo/actions/earn.d.ts.map +1 -0
  71. package/_types/tempo/actions/index.d.ts +1 -0
  72. package/_types/tempo/actions/index.d.ts.map +1 -1
  73. package/_types/tempo/actions/zone.d.ts +86 -109
  74. package/_types/tempo/actions/zone.d.ts.map +1 -1
  75. package/_types/tempo/chainConfig.d.ts.map +1 -1
  76. package/_types/tempo/errors.d.ts +33 -3
  77. package/_types/tempo/errors.d.ts.map +1 -1
  78. package/_types/tempo/index.d.ts +1 -1
  79. package/_types/tempo/index.d.ts.map +1 -1
  80. package/_types/tempo/internal/WithdrawalSenderTag.d.ts +11 -0
  81. package/_types/tempo/internal/WithdrawalSenderTag.d.ts.map +1 -0
  82. package/_types/tempo/zones/Abis.d.ts +87 -0
  83. package/_types/tempo/zones/Abis.d.ts.map +1 -1
  84. package/_types/tempo/zones/Addresses.d.ts +13 -0
  85. package/_types/tempo/zones/Addresses.d.ts.map +1 -0
  86. package/_types/tempo/zones/index.d.ts +2 -1
  87. package/_types/tempo/zones/index.d.ts.map +1 -1
  88. package/_types/tempo/zones/zone.d.ts +14 -33
  89. package/_types/tempo/zones/zone.d.ts.map +1 -1
  90. package/_types/utils/blob/fromBlobs.d.ts.map +1 -1
  91. package/errors/version.ts +1 -1
  92. package/package.json +2 -2
  93. package/tempo/Abis.ts +1822 -0
  94. package/tempo/Decorator.ts +572 -47
  95. package/tempo/actions/earn.ts +3319 -0
  96. package/tempo/actions/index.ts +1 -0
  97. package/tempo/actions/zone.ts +183 -230
  98. package/tempo/chainConfig.ts +7 -1
  99. package/tempo/errors.ts +54 -6
  100. package/tempo/index.ts +1 -0
  101. package/tempo/internal/WithdrawalSenderTag.ts +20 -0
  102. package/tempo/zones/Abis.ts +46 -0
  103. package/tempo/zones/Addresses.ts +15 -0
  104. package/tempo/zones/index.ts +1 -1
  105. package/tempo/zones/zone.ts +38 -17
  106. package/utils/blob/fromBlobs.ts +6 -2
  107. package/utils/encoding/fromBytes.ts +2 -2
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.abis = exports.validatorConfigV2 = exports.storageCredits = exports.validatorConfig = exports.feeAmm = exports.feeManager = exports.tip403Registry = exports.tip20Factory = exports.tip20ChannelReserve = exports.tip20 = exports.stablecoinDex = exports.signatureVerifier = exports.receivePolicyGuard = exports.nonce = exports.addressRegistry = exports.accountKeychain = void 0;
3
+ exports.zoneGatewayCallbackData = exports.zoneGatewayBase = exports.zoneGateway = exports.vedaEngine = exports.vaultRewards = exports.vaultEngineShares = exports.vaultEngineAsync = exports.vaultEngine = exports.vaultAdapter = exports.erc4626Engine = exports.earnFactory = exports.abis = exports.validatorConfigV2 = exports.storageCredits = exports.validatorConfig = exports.feeAmm = exports.feeManager = exports.tip403Registry = exports.tip20Factory = exports.tip20ChannelReserve = exports.tip20 = exports.stablecoinDex = exports.signatureVerifier = exports.receivePolicyGuard = exports.nonce = exports.addressRegistry = exports.accountKeychain = void 0;
4
4
  exports.accountKeychain = [
5
5
  {
6
6
  name: 'authorizeKey',
@@ -2975,4 +2975,1812 @@ exports.abis = [
2975
2975
  ...exports.validatorConfig,
2976
2976
  ...exports.validatorConfigV2,
2977
2977
  ];
2978
+ exports.earnFactory = [
2979
+ {
2980
+ type: 'function',
2981
+ name: 'computeShareSalt',
2982
+ inputs: [
2983
+ {
2984
+ name: 'params',
2985
+ type: 'tuple',
2986
+ components: [
2987
+ { name: 'deploymentId', type: 'bytes32' },
2988
+ { name: 'engine', type: 'address' },
2989
+ { name: 'owner', type: 'address' },
2990
+ {
2991
+ name: 'controls',
2992
+ type: 'tuple',
2993
+ components: [
2994
+ { name: 'emergencyGuardian', type: 'address' },
2995
+ { name: 'asyncJanitor', type: 'address' },
2996
+ { name: 'migrationMode', type: 'uint8' },
2997
+ ],
2998
+ },
2999
+ {
3000
+ name: 'fees',
3001
+ type: 'tuple',
3002
+ components: [
3003
+ { name: 'administrator', type: 'address' },
3004
+ { name: 'guardian', type: 'address' },
3005
+ { name: 'fixedFeeCap', type: 'uint96' },
3006
+ { name: 'excessFeeCap', type: 'uint96' },
3007
+ {
3008
+ name: 'initialConfig',
3009
+ type: 'tuple',
3010
+ components: [
3011
+ { name: 'fixedFeeCount', type: 'uint8' },
3012
+ {
3013
+ name: 'fixedFees',
3014
+ type: 'tuple[4]',
3015
+ components: [
3016
+ { name: 'account', type: 'address' },
3017
+ { name: 'rate', type: 'uint96' },
3018
+ ],
3019
+ },
3020
+ {
3021
+ name: 'excess',
3022
+ type: 'tuple',
3023
+ components: [
3024
+ { name: 'enabled', type: 'bool' },
3025
+ { name: 'account', type: 'address' },
3026
+ { name: 'annualTargetRate', type: 'uint96' },
3027
+ { name: 'excessFeeRate', type: 'uint96' },
3028
+ ],
3029
+ },
3030
+ ],
3031
+ },
3032
+ ],
3033
+ },
3034
+ ],
3035
+ },
3036
+ ],
3037
+ outputs: [{ name: '', type: 'bytes32' }],
3038
+ stateMutability: 'pure',
3039
+ },
3040
+ {
3041
+ type: 'function',
3042
+ name: 'deploy',
3043
+ inputs: [
3044
+ {
3045
+ name: 'params',
3046
+ type: 'tuple',
3047
+ components: [
3048
+ { name: 'deploymentId', type: 'bytes32' },
3049
+ { name: 'engine', type: 'address' },
3050
+ { name: 'owner', type: 'address' },
3051
+ {
3052
+ name: 'controls',
3053
+ type: 'tuple',
3054
+ components: [
3055
+ { name: 'emergencyGuardian', type: 'address' },
3056
+ { name: 'asyncJanitor', type: 'address' },
3057
+ { name: 'migrationMode', type: 'uint8' },
3058
+ ],
3059
+ },
3060
+ {
3061
+ name: 'fees',
3062
+ type: 'tuple',
3063
+ components: [
3064
+ { name: 'administrator', type: 'address' },
3065
+ { name: 'guardian', type: 'address' },
3066
+ { name: 'fixedFeeCap', type: 'uint96' },
3067
+ { name: 'excessFeeCap', type: 'uint96' },
3068
+ {
3069
+ name: 'initialConfig',
3070
+ type: 'tuple',
3071
+ components: [
3072
+ { name: 'fixedFeeCount', type: 'uint8' },
3073
+ {
3074
+ name: 'fixedFees',
3075
+ type: 'tuple[4]',
3076
+ components: [
3077
+ { name: 'account', type: 'address' },
3078
+ { name: 'rate', type: 'uint96' },
3079
+ ],
3080
+ },
3081
+ {
3082
+ name: 'excess',
3083
+ type: 'tuple',
3084
+ components: [
3085
+ { name: 'enabled', type: 'bool' },
3086
+ { name: 'account', type: 'address' },
3087
+ { name: 'annualTargetRate', type: 'uint96' },
3088
+ { name: 'excessFeeRate', type: 'uint96' },
3089
+ ],
3090
+ },
3091
+ ],
3092
+ },
3093
+ ],
3094
+ },
3095
+ ],
3096
+ },
3097
+ ],
3098
+ outputs: [
3099
+ { name: 'shareToken', type: 'address' },
3100
+ { name: 'vaultAdapter', type: 'address' },
3101
+ ],
3102
+ stateMutability: 'nonpayable',
3103
+ },
3104
+ {
3105
+ type: 'function',
3106
+ name: 'predictShareToken',
3107
+ inputs: [
3108
+ {
3109
+ name: 'params',
3110
+ type: 'tuple',
3111
+ components: [
3112
+ { name: 'deploymentId', type: 'bytes32' },
3113
+ { name: 'engine', type: 'address' },
3114
+ { name: 'owner', type: 'address' },
3115
+ {
3116
+ name: 'controls',
3117
+ type: 'tuple',
3118
+ components: [
3119
+ { name: 'emergencyGuardian', type: 'address' },
3120
+ { name: 'asyncJanitor', type: 'address' },
3121
+ { name: 'migrationMode', type: 'uint8' },
3122
+ ],
3123
+ },
3124
+ {
3125
+ name: 'fees',
3126
+ type: 'tuple',
3127
+ components: [
3128
+ { name: 'administrator', type: 'address' },
3129
+ { name: 'guardian', type: 'address' },
3130
+ { name: 'fixedFeeCap', type: 'uint96' },
3131
+ { name: 'excessFeeCap', type: 'uint96' },
3132
+ {
3133
+ name: 'initialConfig',
3134
+ type: 'tuple',
3135
+ components: [
3136
+ { name: 'fixedFeeCount', type: 'uint8' },
3137
+ {
3138
+ name: 'fixedFees',
3139
+ type: 'tuple[4]',
3140
+ components: [
3141
+ { name: 'account', type: 'address' },
3142
+ { name: 'rate', type: 'uint96' },
3143
+ ],
3144
+ },
3145
+ {
3146
+ name: 'excess',
3147
+ type: 'tuple',
3148
+ components: [
3149
+ { name: 'enabled', type: 'bool' },
3150
+ { name: 'account', type: 'address' },
3151
+ { name: 'annualTargetRate', type: 'uint96' },
3152
+ { name: 'excessFeeRate', type: 'uint96' },
3153
+ ],
3154
+ },
3155
+ ],
3156
+ },
3157
+ ],
3158
+ },
3159
+ ],
3160
+ },
3161
+ ],
3162
+ outputs: [{ name: '', type: 'address' }],
3163
+ stateMutability: 'view',
3164
+ },
3165
+ {
3166
+ type: 'event',
3167
+ name: 'EarnStackDeployed',
3168
+ inputs: [
3169
+ { name: 'vaultAdapter', type: 'address', indexed: true },
3170
+ { name: 'shareToken', type: 'address', indexed: true },
3171
+ { name: 'engine', type: 'address', indexed: true },
3172
+ { name: 'asset', type: 'address', indexed: false },
3173
+ { name: 'owner', type: 'address', indexed: false },
3174
+ { name: 'deploymentId', type: 'bytes32', indexed: false },
3175
+ { name: 'emergencyGuardian', type: 'address', indexed: false },
3176
+ { name: 'asyncJanitor', type: 'address', indexed: false },
3177
+ { name: 'migrationMode', type: 'uint8', indexed: false },
3178
+ { name: 'shareSalt', type: 'bytes32', indexed: false },
3179
+ { name: 'controlConfigHash', type: 'bytes32', indexed: false },
3180
+ { name: 'feeConfigHash', type: 'bytes32', indexed: false },
3181
+ ],
3182
+ anonymous: false,
3183
+ },
3184
+ { type: 'error', name: 'AdminHandoffFailed', inputs: [] },
3185
+ { type: 'error', name: 'EmptyDeploymentId', inputs: [] },
3186
+ { type: 'error', name: 'EmptyShareMetadata', inputs: [] },
3187
+ { type: 'error', name: 'FactoryCannotBeFinalOwner', inputs: [] },
3188
+ { type: 'error', name: 'InvalidAdapterImplementation', inputs: [] },
3189
+ { type: 'error', name: 'IssuerGrantFailed', inputs: [] },
3190
+ {
3191
+ type: 'error',
3192
+ name: 'ShareTokenAlreadyExists',
3193
+ inputs: [{ name: 'shareToken', type: 'address' }],
3194
+ },
3195
+ { type: 'error', name: 'ShareTokenSupplyNotZero', inputs: [] },
3196
+ { type: 'error', name: 'ZeroAddress', inputs: [] },
3197
+ ];
3198
+ exports.erc4626Engine = [
3199
+ {
3200
+ type: 'function',
3201
+ name: 'acceptOwnership',
3202
+ inputs: [],
3203
+ outputs: [],
3204
+ stateMutability: 'nonpayable',
3205
+ },
3206
+ {
3207
+ type: 'function',
3208
+ name: 'initializeCore',
3209
+ inputs: [{ name: 'core_', type: 'address' }],
3210
+ outputs: [],
3211
+ stateMutability: 'nonpayable',
3212
+ },
3213
+ {
3214
+ type: 'function',
3215
+ name: 'owner',
3216
+ inputs: [],
3217
+ outputs: [{ name: '', type: 'address' }],
3218
+ stateMutability: 'view',
3219
+ },
3220
+ {
3221
+ type: 'function',
3222
+ name: 'pendingOwner',
3223
+ inputs: [],
3224
+ outputs: [{ name: '', type: 'address' }],
3225
+ stateMutability: 'view',
3226
+ },
3227
+ {
3228
+ type: 'function',
3229
+ name: 'renounceOwnership',
3230
+ inputs: [],
3231
+ outputs: [],
3232
+ stateMutability: 'nonpayable',
3233
+ },
3234
+ {
3235
+ type: 'function',
3236
+ name: 'transferOwnership',
3237
+ inputs: [{ name: 'newOwner', type: 'address' }],
3238
+ outputs: [],
3239
+ stateMutability: 'nonpayable',
3240
+ },
3241
+ {
3242
+ type: 'event',
3243
+ name: 'CoreInitialized',
3244
+ inputs: [{ name: 'core', type: 'address', indexed: true }],
3245
+ anonymous: false,
3246
+ },
3247
+ {
3248
+ type: 'event',
3249
+ name: 'Deposited',
3250
+ inputs: [
3251
+ { name: 'receiver', type: 'address', indexed: true },
3252
+ { name: 'assets', type: 'uint256', indexed: false },
3253
+ { name: 'shares', type: 'uint256', indexed: false },
3254
+ ],
3255
+ anonymous: false,
3256
+ },
3257
+ {
3258
+ type: 'event',
3259
+ name: 'OwnershipTransferStarted',
3260
+ inputs: [
3261
+ { name: 'previousOwner', type: 'address', indexed: true },
3262
+ { name: 'newOwner', type: 'address', indexed: true },
3263
+ ],
3264
+ anonymous: false,
3265
+ },
3266
+ {
3267
+ type: 'event',
3268
+ name: 'OwnershipTransferred',
3269
+ inputs: [
3270
+ { name: 'previousOwner', type: 'address', indexed: true },
3271
+ { name: 'newOwner', type: 'address', indexed: true },
3272
+ ],
3273
+ anonymous: false,
3274
+ },
3275
+ {
3276
+ type: 'event',
3277
+ name: 'Redeemed',
3278
+ inputs: [
3279
+ { name: 'receiver', type: 'address', indexed: true },
3280
+ { name: 'shares', type: 'uint256', indexed: false },
3281
+ { name: 'assets', type: 'uint256', indexed: false },
3282
+ ],
3283
+ anonymous: false,
3284
+ },
3285
+ {
3286
+ type: 'event',
3287
+ name: 'VenueSharesDeposited',
3288
+ inputs: [
3289
+ { name: 'from', type: 'address', indexed: true },
3290
+ { name: 'requestedShares', type: 'uint256', indexed: false },
3291
+ { name: 'receivedShares', type: 'uint256', indexed: false },
3292
+ ],
3293
+ anonymous: false,
3294
+ },
3295
+ {
3296
+ type: 'event',
3297
+ name: 'WithdrewExact',
3298
+ inputs: [
3299
+ { name: 'receiver', type: 'address', indexed: true },
3300
+ { name: 'assets', type: 'uint256', indexed: false },
3301
+ { name: 'sharesBurned', type: 'uint256', indexed: false },
3302
+ ],
3303
+ anonymous: false,
3304
+ },
3305
+ { type: 'error', name: 'AlreadyInitialized', inputs: [] },
3306
+ { type: 'error', name: 'CoreNotSet', inputs: [] },
3307
+ { type: 'error', name: 'EmptyMetadata', inputs: [] },
3308
+ { type: 'error', name: 'NoSharesReceived', inputs: [] },
3309
+ {
3310
+ type: 'error',
3311
+ name: 'NotCore',
3312
+ inputs: [{ name: 'caller', type: 'address' }],
3313
+ },
3314
+ {
3315
+ type: 'error',
3316
+ name: 'OwnableInvalidOwner',
3317
+ inputs: [{ name: 'owner', type: 'address' }],
3318
+ },
3319
+ {
3320
+ type: 'error',
3321
+ name: 'OwnableUnauthorizedAccount',
3322
+ inputs: [{ name: 'account', type: 'address' }],
3323
+ },
3324
+ { type: 'error', name: 'ReentrantCall', inputs: [] },
3325
+ { type: 'error', name: 'TransferFailed', inputs: [] },
3326
+ { type: 'error', name: 'ZeroAddress', inputs: [] },
3327
+ ];
3328
+ exports.vaultAdapter = [
3329
+ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' },
3330
+ {
3331
+ type: 'function',
3332
+ name: 'accrueFees',
3333
+ inputs: [],
3334
+ outputs: [
3335
+ { name: 'feeAssets', type: 'uint256' },
3336
+ { name: 'feeShares', type: 'uint256' },
3337
+ ],
3338
+ stateMutability: 'nonpayable',
3339
+ },
3340
+ {
3341
+ type: 'function',
3342
+ name: 'anchorEngineShares',
3343
+ inputs: [],
3344
+ outputs: [{ name: '', type: 'uint256' }],
3345
+ stateMutability: 'view',
3346
+ },
3347
+ {
3348
+ type: 'function',
3349
+ name: 'anchorSupply',
3350
+ inputs: [],
3351
+ outputs: [{ name: '', type: 'uint256' }],
3352
+ stateMutability: 'view',
3353
+ },
3354
+ {
3355
+ type: 'function',
3356
+ name: 'asset',
3357
+ inputs: [],
3358
+ outputs: [{ name: '', type: 'address' }],
3359
+ stateMutability: 'view',
3360
+ },
3361
+ {
3362
+ type: 'function',
3363
+ name: 'asyncJanitor',
3364
+ inputs: [],
3365
+ outputs: [{ name: '', type: 'address' }],
3366
+ stateMutability: 'view',
3367
+ },
3368
+ {
3369
+ type: 'function',
3370
+ name: 'cancelRedeemAsync',
3371
+ inputs: [{ name: 'requestId', type: 'bytes32' }],
3372
+ outputs: [],
3373
+ stateMutability: 'nonpayable',
3374
+ },
3375
+ {
3376
+ type: 'function',
3377
+ name: 'claimFeeShares',
3378
+ inputs: [
3379
+ { name: 'to', type: 'address' },
3380
+ { name: 'shares', type: 'uint256' },
3381
+ ],
3382
+ outputs: [],
3383
+ stateMutability: 'nonpayable',
3384
+ },
3385
+ {
3386
+ type: 'function',
3387
+ name: 'claimableFeeShares',
3388
+ inputs: [{ name: 'recipient', type: 'address' }],
3389
+ outputs: [{ name: 'shares', type: 'uint256' }],
3390
+ stateMutability: 'view',
3391
+ },
3392
+ {
3393
+ type: 'function',
3394
+ name: 'contribute',
3395
+ inputs: [{ name: 'assets', type: 'uint256' }],
3396
+ outputs: [{ name: 'venueShares', type: 'uint256' }],
3397
+ stateMutability: 'nonpayable',
3398
+ },
3399
+ {
3400
+ type: 'function',
3401
+ name: 'currentFeeConfigId',
3402
+ inputs: [],
3403
+ outputs: [{ name: '', type: 'uint64' }],
3404
+ stateMutability: 'view',
3405
+ },
3406
+ {
3407
+ type: 'function',
3408
+ name: 'deposit',
3409
+ inputs: [
3410
+ { name: 'assets', type: 'uint256' },
3411
+ { name: 'receiver', type: 'address' },
3412
+ { name: 'minShares', type: 'uint256' },
3413
+ ],
3414
+ outputs: [{ name: 'shares', type: 'uint256' }],
3415
+ stateMutability: 'nonpayable',
3416
+ },
3417
+ {
3418
+ type: 'function',
3419
+ name: 'depositShares',
3420
+ inputs: [
3421
+ { name: 'venueShares', type: 'uint256' },
3422
+ { name: 'receiver', type: 'address' },
3423
+ { name: 'minEarnShares', type: 'uint256' },
3424
+ ],
3425
+ outputs: [{ name: 'earnShares', type: 'uint256' }],
3426
+ stateMutability: 'nonpayable',
3427
+ },
3428
+ {
3429
+ type: 'function',
3430
+ name: 'depositsPaused',
3431
+ inputs: [],
3432
+ outputs: [{ name: '', type: 'bool' }],
3433
+ stateMutability: 'view',
3434
+ },
3435
+ {
3436
+ type: 'function',
3437
+ name: 'disableFees',
3438
+ inputs: [],
3439
+ outputs: [],
3440
+ stateMutability: 'nonpayable',
3441
+ },
3442
+ {
3443
+ type: 'function',
3444
+ name: 'emergencyFeesDisabled',
3445
+ inputs: [],
3446
+ outputs: [{ name: '', type: 'bool' }],
3447
+ stateMutability: 'view',
3448
+ },
3449
+ {
3450
+ type: 'function',
3451
+ name: 'emergencyGuardian',
3452
+ inputs: [],
3453
+ outputs: [{ name: '', type: 'address' }],
3454
+ stateMutability: 'view',
3455
+ },
3456
+ {
3457
+ type: 'function',
3458
+ name: 'engine',
3459
+ inputs: [],
3460
+ outputs: [{ name: '', type: 'address' }],
3461
+ stateMutability: 'view',
3462
+ },
3463
+ {
3464
+ type: 'function',
3465
+ name: 'engineMigrationMode',
3466
+ inputs: [],
3467
+ outputs: [{ name: '', type: 'uint8' }],
3468
+ stateMutability: 'view',
3469
+ },
3470
+ {
3471
+ type: 'function',
3472
+ name: 'engineShares',
3473
+ inputs: [],
3474
+ outputs: [{ name: '', type: 'uint256' }],
3475
+ stateMutability: 'view',
3476
+ },
3477
+ {
3478
+ type: 'function',
3479
+ name: 'excessFeeCap',
3480
+ inputs: [],
3481
+ outputs: [{ name: '', type: 'uint96' }],
3482
+ stateMutability: 'view',
3483
+ },
3484
+ {
3485
+ type: 'function',
3486
+ name: 'feeAdministrator',
3487
+ inputs: [],
3488
+ outputs: [{ name: '', type: 'address' }],
3489
+ stateMutability: 'view',
3490
+ },
3491
+ {
3492
+ type: 'function',
3493
+ name: 'feeConfig',
3494
+ inputs: [{ name: 'configId', type: 'uint64' }],
3495
+ outputs: [
3496
+ {
3497
+ name: '',
3498
+ type: 'tuple',
3499
+ components: [
3500
+ { name: 'fixedFeeCount', type: 'uint8' },
3501
+ {
3502
+ name: 'fixedFees',
3503
+ type: 'tuple[4]',
3504
+ components: [
3505
+ { name: 'account', type: 'address' },
3506
+ { name: 'rate', type: 'uint96' },
3507
+ ],
3508
+ },
3509
+ {
3510
+ name: 'excess',
3511
+ type: 'tuple',
3512
+ components: [
3513
+ { name: 'enabled', type: 'bool' },
3514
+ { name: 'account', type: 'address' },
3515
+ { name: 'annualTargetRate', type: 'uint96' },
3516
+ { name: 'excessFeeRate', type: 'uint96' },
3517
+ ],
3518
+ },
3519
+ ],
3520
+ },
3521
+ ],
3522
+ stateMutability: 'view',
3523
+ },
3524
+ {
3525
+ type: 'function',
3526
+ name: 'feeGuardian',
3527
+ inputs: [],
3528
+ outputs: [{ name: '', type: 'address' }],
3529
+ stateMutability: 'view',
3530
+ },
3531
+ {
3532
+ type: 'function',
3533
+ name: 'feeRemainder',
3534
+ inputs: [
3535
+ { name: 'configId', type: 'uint64' },
3536
+ { name: 'slot', type: 'uint8' },
3537
+ ],
3538
+ outputs: [{ name: '', type: 'uint256' }],
3539
+ stateMutability: 'view',
3540
+ },
3541
+ {
3542
+ type: 'function',
3543
+ name: 'feesActive',
3544
+ inputs: [],
3545
+ outputs: [{ name: '', type: 'bool' }],
3546
+ stateMutability: 'view',
3547
+ },
3548
+ {
3549
+ type: 'function',
3550
+ name: 'finalizeRedeem',
3551
+ inputs: [
3552
+ { name: 'requestId', type: 'bytes32' },
3553
+ { name: 'asset_', type: 'address' },
3554
+ { name: 'amount', type: 'uint256' },
3555
+ ],
3556
+ outputs: [],
3557
+ stateMutability: 'nonpayable',
3558
+ },
3559
+ {
3560
+ type: 'function',
3561
+ name: 'fixedFeeCap',
3562
+ inputs: [],
3563
+ outputs: [{ name: '', type: 'uint96' }],
3564
+ stateMutability: 'view',
3565
+ },
3566
+ {
3567
+ type: 'function',
3568
+ name: 'highWaterMark',
3569
+ inputs: [],
3570
+ outputs: [{ name: '', type: 'uint256' }],
3571
+ stateMutability: 'view',
3572
+ },
3573
+ {
3574
+ type: 'function',
3575
+ name: 'initialize',
3576
+ inputs: [
3577
+ { name: 'engine_', type: 'address' },
3578
+ { name: 'shareToken_', type: 'address' },
3579
+ { name: 'operator_', type: 'address' },
3580
+ {
3581
+ name: 'controlInit_',
3582
+ type: 'tuple',
3583
+ components: [
3584
+ { name: 'emergencyGuardian', type: 'address' },
3585
+ { name: 'asyncJanitor', type: 'address' },
3586
+ { name: 'migrationMode', type: 'uint8' },
3587
+ ],
3588
+ },
3589
+ {
3590
+ name: 'feeInit_',
3591
+ type: 'tuple',
3592
+ components: [
3593
+ { name: 'administrator', type: 'address' },
3594
+ { name: 'guardian', type: 'address' },
3595
+ { name: 'fixedFeeCap', type: 'uint96' },
3596
+ { name: 'excessFeeCap', type: 'uint96' },
3597
+ {
3598
+ name: 'initialConfig',
3599
+ type: 'tuple',
3600
+ components: [
3601
+ { name: 'fixedFeeCount', type: 'uint8' },
3602
+ {
3603
+ name: 'fixedFees',
3604
+ type: 'tuple[4]',
3605
+ components: [
3606
+ { name: 'account', type: 'address' },
3607
+ { name: 'rate', type: 'uint96' },
3608
+ ],
3609
+ },
3610
+ {
3611
+ name: 'excess',
3612
+ type: 'tuple',
3613
+ components: [
3614
+ { name: 'enabled', type: 'bool' },
3615
+ { name: 'account', type: 'address' },
3616
+ { name: 'annualTargetRate', type: 'uint96' },
3617
+ { name: 'excessFeeRate', type: 'uint96' },
3618
+ ],
3619
+ },
3620
+ ],
3621
+ },
3622
+ ],
3623
+ },
3624
+ ],
3625
+ outputs: [],
3626
+ stateMutability: 'nonpayable',
3627
+ },
3628
+ {
3629
+ type: 'function',
3630
+ name: 'isSynced',
3631
+ inputs: [],
3632
+ outputs: [{ name: '', type: 'bool' }],
3633
+ stateMutability: 'view',
3634
+ },
3635
+ {
3636
+ type: 'function',
3637
+ name: 'migrateEngine',
3638
+ inputs: [
3639
+ { name: 'newEngine', type: 'address' },
3640
+ { name: 'minNewShares', type: 'uint256' },
3641
+ { name: 'minAssetsRetained', type: 'uint256' },
3642
+ ],
3643
+ outputs: [{ name: 'newShares', type: 'uint256' }],
3644
+ stateMutability: 'nonpayable',
3645
+ },
3646
+ {
3647
+ type: 'function',
3648
+ name: 'operator',
3649
+ inputs: [],
3650
+ outputs: [{ name: '', type: 'address' }],
3651
+ stateMutability: 'view',
3652
+ },
3653
+ {
3654
+ type: 'function',
3655
+ name: 'pendingRedeem',
3656
+ inputs: [{ name: 'requestId', type: 'bytes32' }],
3657
+ outputs: [
3658
+ {
3659
+ name: '',
3660
+ type: 'tuple',
3661
+ components: [
3662
+ { name: 'receiver', type: 'address' },
3663
+ { name: 'requester', type: 'address' },
3664
+ { name: 'burnedEarnToken', type: 'uint256' },
3665
+ { name: 'venueShares', type: 'uint256' },
3666
+ { name: 'requestValue', type: 'uint256' },
3667
+ { name: 'highWaterValue', type: 'uint256' },
3668
+ { name: 'targetValue', type: 'uint256' },
3669
+ { name: 'feeConfigId', type: 'uint64' },
3670
+ { name: 'requestedAt', type: 'uint40' },
3671
+ { name: 'open', type: 'bool' },
3672
+ ],
3673
+ },
3674
+ ],
3675
+ stateMutability: 'view',
3676
+ },
3677
+ {
3678
+ type: 'function',
3679
+ name: 'pendingRedeemCount',
3680
+ inputs: [],
3681
+ outputs: [{ name: '', type: 'uint256' }],
3682
+ stateMutability: 'view',
3683
+ },
3684
+ {
3685
+ type: 'function',
3686
+ name: 'previewAccruedFees',
3687
+ inputs: [],
3688
+ outputs: [
3689
+ {
3690
+ name: 'result',
3691
+ type: 'tuple',
3692
+ components: [
3693
+ { name: 'activeAssets', type: 'uint256' },
3694
+ { name: 'positiveAccrualAssets', type: 'uint256' },
3695
+ { name: 'fixedFeeAssets', type: 'uint256' },
3696
+ { name: 'excessFeeAssets', type: 'uint256' },
3697
+ { name: 'totalFeeAssets', type: 'uint256' },
3698
+ { name: 'totalFeeShares', type: 'uint256' },
3699
+ { name: 'preFeeValuePerShare', type: 'uint256' },
3700
+ { name: 'postFeeValuePerShare', type: 'uint256' },
3701
+ { name: 'targetValuePerShare', type: 'uint256' },
3702
+ { name: 'allocationCount', type: 'uint8' },
3703
+ {
3704
+ name: 'allocations',
3705
+ type: 'tuple[5]',
3706
+ components: [
3707
+ { name: 'account', type: 'address' },
3708
+ { name: 'feeAssets', type: 'uint256' },
3709
+ { name: 'feeShares', type: 'uint256' },
3710
+ ],
3711
+ },
3712
+ ],
3713
+ },
3714
+ ],
3715
+ stateMutability: 'view',
3716
+ },
3717
+ {
3718
+ type: 'function',
3719
+ name: 'previewRedeem',
3720
+ inputs: [{ name: 'shares', type: 'uint256' }],
3721
+ outputs: [{ name: 'assets', type: 'uint256' }],
3722
+ stateMutability: 'view',
3723
+ },
3724
+ {
3725
+ type: 'function',
3726
+ name: 'previewWithdraw',
3727
+ inputs: [{ name: 'assets', type: 'uint256' }],
3728
+ outputs: [{ name: 'shares', type: 'uint256' }],
3729
+ stateMutability: 'view',
3730
+ },
3731
+ {
3732
+ type: 'function',
3733
+ name: 'redeem',
3734
+ inputs: [
3735
+ { name: 'shares', type: 'uint256' },
3736
+ { name: 'receiver', type: 'address' },
3737
+ { name: 'minAssets', type: 'uint256' },
3738
+ ],
3739
+ outputs: [{ name: 'assets', type: 'uint256' }],
3740
+ stateMutability: 'nonpayable',
3741
+ },
3742
+ {
3743
+ type: 'function',
3744
+ name: 'requestRedeemAsync',
3745
+ inputs: [
3746
+ { name: 'shares', type: 'uint256' },
3747
+ { name: 'engineData', type: 'bytes' },
3748
+ { name: 'receiver', type: 'address' },
3749
+ ],
3750
+ outputs: [{ name: 'requestId', type: 'bytes32' }],
3751
+ stateMutability: 'nonpayable',
3752
+ },
3753
+ {
3754
+ type: 'function',
3755
+ name: 'setDepositsPaused',
3756
+ inputs: [{ name: 'paused', type: 'bool' }],
3757
+ outputs: [],
3758
+ stateMutability: 'nonpayable',
3759
+ },
3760
+ {
3761
+ type: 'function',
3762
+ name: 'setEmergencyRoles',
3763
+ inputs: [
3764
+ { name: 'newGuardian', type: 'address' },
3765
+ { name: 'newJanitor', type: 'address' },
3766
+ ],
3767
+ outputs: [],
3768
+ stateMutability: 'nonpayable',
3769
+ },
3770
+ {
3771
+ type: 'function',
3772
+ name: 'setFeeConfig',
3773
+ inputs: [
3774
+ {
3775
+ name: 'config',
3776
+ type: 'tuple',
3777
+ components: [
3778
+ { name: 'fixedFeeCount', type: 'uint8' },
3779
+ {
3780
+ name: 'fixedFees',
3781
+ type: 'tuple[4]',
3782
+ components: [
3783
+ { name: 'account', type: 'address' },
3784
+ { name: 'rate', type: 'uint96' },
3785
+ ],
3786
+ },
3787
+ {
3788
+ name: 'excess',
3789
+ type: 'tuple',
3790
+ components: [
3791
+ { name: 'enabled', type: 'bool' },
3792
+ { name: 'account', type: 'address' },
3793
+ { name: 'annualTargetRate', type: 'uint96' },
3794
+ { name: 'excessFeeRate', type: 'uint96' },
3795
+ ],
3796
+ },
3797
+ ],
3798
+ },
3799
+ ],
3800
+ outputs: [{ name: 'configId', type: 'uint64' }],
3801
+ stateMutability: 'nonpayable',
3802
+ },
3803
+ {
3804
+ type: 'function',
3805
+ name: 'shareSupply',
3806
+ inputs: [],
3807
+ outputs: [{ name: '', type: 'uint256' }],
3808
+ stateMutability: 'view',
3809
+ },
3810
+ {
3811
+ type: 'function',
3812
+ name: 'shareToken',
3813
+ inputs: [],
3814
+ outputs: [{ name: '', type: 'address' }],
3815
+ stateMutability: 'view',
3816
+ },
3817
+ {
3818
+ type: 'function',
3819
+ name: 'sharesToTokens',
3820
+ inputs: [{ name: 'shares', type: 'uint256' }],
3821
+ outputs: [{ name: '', type: 'uint256' }],
3822
+ stateMutability: 'view',
3823
+ },
3824
+ {
3825
+ type: 'function',
3826
+ name: 'targetBase',
3827
+ inputs: [],
3828
+ outputs: [{ name: '', type: 'uint256' }],
3829
+ stateMutability: 'view',
3830
+ },
3831
+ {
3832
+ type: 'function',
3833
+ name: 'targetStartedAt',
3834
+ inputs: [],
3835
+ outputs: [{ name: '', type: 'uint40' }],
3836
+ stateMutability: 'view',
3837
+ },
3838
+ {
3839
+ type: 'function',
3840
+ name: 'tokensToShares',
3841
+ inputs: [{ name: 'tokens', type: 'uint256' }],
3842
+ outputs: [{ name: '', type: 'uint256' }],
3843
+ stateMutability: 'view',
3844
+ },
3845
+ {
3846
+ type: 'function',
3847
+ name: 'totalClaimableFeeShares',
3848
+ inputs: [],
3849
+ outputs: [{ name: '', type: 'uint256' }],
3850
+ stateMutability: 'view',
3851
+ },
3852
+ {
3853
+ type: 'function',
3854
+ name: 'withdrawExact',
3855
+ inputs: [
3856
+ { name: 'assets', type: 'uint256' },
3857
+ { name: 'receiver', type: 'address' },
3858
+ { name: 'maxShares', type: 'uint256' },
3859
+ ],
3860
+ outputs: [{ name: 'sharesBurned', type: 'uint256' }],
3861
+ stateMutability: 'nonpayable',
3862
+ },
3863
+ {
3864
+ type: 'event',
3865
+ name: 'Contributed',
3866
+ inputs: [
3867
+ { name: 'caller', type: 'address', indexed: true },
3868
+ { name: 'assets', type: 'uint256', indexed: false },
3869
+ { name: 'venueShares', type: 'uint256', indexed: false },
3870
+ { name: 'anchorEngineShares', type: 'uint256', indexed: false },
3871
+ { name: 'anchorSupply', type: 'uint256', indexed: false },
3872
+ ],
3873
+ anonymous: false,
3874
+ },
3875
+ {
3876
+ type: 'event',
3877
+ name: 'DepositPauseChanged',
3878
+ inputs: [
3879
+ { name: 'caller', type: 'address', indexed: true },
3880
+ { name: 'paused', type: 'bool', indexed: false },
3881
+ ],
3882
+ anonymous: false,
3883
+ },
3884
+ {
3885
+ type: 'event',
3886
+ name: 'Deposited',
3887
+ inputs: [
3888
+ { name: 'caller', type: 'address', indexed: true },
3889
+ { name: 'receiver', type: 'address', indexed: true },
3890
+ { name: 'assets', type: 'uint256', indexed: false },
3891
+ { name: 'shares', type: 'uint256', indexed: false },
3892
+ ],
3893
+ anonymous: false,
3894
+ },
3895
+ {
3896
+ type: 'event',
3897
+ name: 'EmergencyRolesChanged',
3898
+ inputs: [
3899
+ { name: 'emergencyGuardian', type: 'address', indexed: true },
3900
+ { name: 'asyncJanitor', type: 'address', indexed: true },
3901
+ ],
3902
+ anonymous: false,
3903
+ },
3904
+ {
3905
+ type: 'event',
3906
+ name: 'EngineMigrated',
3907
+ inputs: [
3908
+ { name: 'oldEngine', type: 'address', indexed: true },
3909
+ { name: 'newEngine', type: 'address', indexed: true },
3910
+ { name: 'oldShares', type: 'uint256', indexed: false },
3911
+ { name: 'assetsMoved', type: 'uint256', indexed: false },
3912
+ { name: 'newShares', type: 'uint256', indexed: false },
3913
+ { name: 'shareSupply', type: 'uint256', indexed: false },
3914
+ { name: 'anchorEngineShares', type: 'uint256', indexed: false },
3915
+ { name: 'anchorSupply', type: 'uint256', indexed: false },
3916
+ ],
3917
+ anonymous: false,
3918
+ },
3919
+ {
3920
+ type: 'event',
3921
+ name: 'FeeBaselinesInitialized',
3922
+ inputs: [
3923
+ { name: 'highWaterMark', type: 'uint256', indexed: false },
3924
+ { name: 'targetBase', type: 'uint256', indexed: false },
3925
+ { name: 'targetStartedAt', type: 'uint40', indexed: false },
3926
+ ],
3927
+ anonymous: false,
3928
+ },
3929
+ {
3930
+ type: 'event',
3931
+ name: 'FeeConfigurationSet',
3932
+ inputs: [
3933
+ { name: 'configId', type: 'uint64', indexed: true },
3934
+ { name: 'configHash', type: 'bytes32', indexed: true },
3935
+ { name: 'reactivated', type: 'bool', indexed: false },
3936
+ ],
3937
+ anonymous: false,
3938
+ },
3939
+ {
3940
+ type: 'event',
3941
+ name: 'FeeDustWaived',
3942
+ inputs: [
3943
+ { name: 'configId', type: 'uint64', indexed: true },
3944
+ { name: 'slot', type: 'uint8', indexed: true },
3945
+ { name: 'remainder', type: 'uint256', indexed: false },
3946
+ ],
3947
+ anonymous: false,
3948
+ },
3949
+ {
3950
+ type: 'event',
3951
+ name: 'FeeSharesAllocated',
3952
+ inputs: [
3953
+ { name: 'configId', type: 'uint64', indexed: true },
3954
+ { name: 'recipient', type: 'address', indexed: true },
3955
+ { name: 'feeAssets', type: 'uint256', indexed: false },
3956
+ { name: 'feeShares', type: 'uint256', indexed: false },
3957
+ ],
3958
+ anonymous: false,
3959
+ },
3960
+ {
3961
+ type: 'event',
3962
+ name: 'FeeSharesClaimed',
3963
+ inputs: [
3964
+ { name: 'recipient', type: 'address', indexed: true },
3965
+ { name: 'to', type: 'address', indexed: true },
3966
+ { name: 'shares', type: 'uint256', indexed: false },
3967
+ ],
3968
+ anonymous: false,
3969
+ },
3970
+ {
3971
+ type: 'event',
3972
+ name: 'FeesAccrued',
3973
+ inputs: [
3974
+ { name: 'configId', type: 'uint64', indexed: true },
3975
+ { name: 'activeAssets', type: 'uint256', indexed: false },
3976
+ { name: 'positiveAccrualAssets', type: 'uint256', indexed: false },
3977
+ { name: 'feeAssets', type: 'uint256', indexed: false },
3978
+ { name: 'feeShares', type: 'uint256', indexed: false },
3979
+ { name: 'highWaterMark', type: 'uint256', indexed: false },
3980
+ { name: 'targetValuePerShare', type: 'uint256', indexed: false },
3981
+ ],
3982
+ anonymous: false,
3983
+ },
3984
+ {
3985
+ type: 'event',
3986
+ name: 'FeesDisabled',
3987
+ inputs: [{ name: 'guardian', type: 'address', indexed: true }],
3988
+ anonymous: false,
3989
+ },
3990
+ {
3991
+ type: 'event',
3992
+ name: 'RedeemCancelled',
3993
+ inputs: [
3994
+ { name: 'requestId', type: 'bytes32', indexed: true },
3995
+ { name: 'receiver', type: 'address', indexed: true },
3996
+ { name: 'shares', type: 'uint256', indexed: false },
3997
+ ],
3998
+ anonymous: false,
3999
+ },
4000
+ {
4001
+ type: 'event',
4002
+ name: 'RedeemFinalized',
4003
+ inputs: [
4004
+ { name: 'requestId', type: 'bytes32', indexed: true },
4005
+ { name: 'receiver', type: 'address', indexed: true },
4006
+ { name: 'shares', type: 'uint256', indexed: false },
4007
+ { name: 'asset', type: 'address', indexed: false },
4008
+ { name: 'amount', type: 'uint256', indexed: false },
4009
+ ],
4010
+ anonymous: false,
4011
+ },
4012
+ {
4013
+ type: 'event',
4014
+ name: 'RedeemRequested',
4015
+ inputs: [
4016
+ { name: 'requestId', type: 'bytes32', indexed: true },
4017
+ { name: 'requester', type: 'address', indexed: true },
4018
+ { name: 'receiver', type: 'address', indexed: true },
4019
+ { name: 'shares', type: 'uint256', indexed: false },
4020
+ ],
4021
+ anonymous: false,
4022
+ },
4023
+ {
4024
+ type: 'event',
4025
+ name: 'Redeemed',
4026
+ inputs: [
4027
+ { name: 'caller', type: 'address', indexed: true },
4028
+ { name: 'receiver', type: 'address', indexed: true },
4029
+ { name: 'shares', type: 'uint256', indexed: false },
4030
+ { name: 'assets', type: 'uint256', indexed: false },
4031
+ ],
4032
+ anonymous: false,
4033
+ },
4034
+ {
4035
+ type: 'event',
4036
+ name: 'VenueSharesDeposited',
4037
+ inputs: [
4038
+ { name: 'caller', type: 'address', indexed: true },
4039
+ { name: 'receiver', type: 'address', indexed: true },
4040
+ { name: 'requestedVenueShares', type: 'uint256', indexed: false },
4041
+ { name: 'receivedVenueShares', type: 'uint256', indexed: false },
4042
+ { name: 'earnShares', type: 'uint256', indexed: false },
4043
+ ],
4044
+ anonymous: false,
4045
+ },
4046
+ {
4047
+ type: 'event',
4048
+ name: 'WithdrewExact',
4049
+ inputs: [
4050
+ { name: 'caller', type: 'address', indexed: true },
4051
+ { name: 'receiver', type: 'address', indexed: true },
4052
+ { name: 'assets', type: 'uint256', indexed: false },
4053
+ { name: 'sharesBurned', type: 'uint256', indexed: false },
4054
+ ],
4055
+ anonymous: false,
4056
+ },
4057
+ { type: 'error', name: 'AlreadyInitialized', inputs: [] },
4058
+ { type: 'error', name: 'DepositsPaused', inputs: [] },
4059
+ {
4060
+ type: 'error',
4061
+ name: 'DuplicateRequest',
4062
+ inputs: [{ name: 'requestId', type: 'bytes32' }],
4063
+ },
4064
+ { type: 'error', name: 'EngineAssetMismatch', inputs: [] },
4065
+ {
4066
+ type: 'error',
4067
+ name: 'EngineCapabilityUnsupported',
4068
+ inputs: [{ name: 'interfaceId', type: 'bytes4' }],
4069
+ },
4070
+ { type: 'error', name: 'ExceedsMaxShares', inputs: [] },
4071
+ {
4072
+ type: 'error',
4073
+ name: 'ExcessiveConversionLoss',
4074
+ inputs: [
4075
+ { name: 'inputShares', type: 'uint256' },
4076
+ { name: 'representedShares', type: 'uint256' },
4077
+ ],
4078
+ },
4079
+ { type: 'error', name: 'FeeCapTooHigh', inputs: [] },
4080
+ { type: 'error', name: 'FeesPermanentlyDisabled', inputs: [] },
4081
+ { type: 'error', name: 'InitialShareSupplyNotZero', inputs: [] },
4082
+ { type: 'error', name: 'InsufficientClaimableFeeShares', inputs: [] },
4083
+ { type: 'error', name: 'InsufficientOutput', inputs: [] },
4084
+ { type: 'error', name: 'InvalidFeeClaimReceiver', inputs: [] },
4085
+ { type: 'error', name: 'InvalidFeeConfiguration', inputs: [] },
4086
+ { type: 'error', name: 'InvalidShareDecimals', inputs: [] },
4087
+ {
4088
+ type: 'error',
4089
+ name: 'MinimumAssetsNotMet',
4090
+ inputs: [
4091
+ { name: 'minimumAssets', type: 'uint256' },
4092
+ { name: 'actualAssets', type: 'uint256' },
4093
+ ],
4094
+ },
4095
+ {
4096
+ type: 'error',
4097
+ name: 'MinimumSharesNotMet',
4098
+ inputs: [
4099
+ { name: 'minimumShares', type: 'uint256' },
4100
+ { name: 'actualShares', type: 'uint256' },
4101
+ ],
4102
+ },
4103
+ { type: 'error', name: 'NoShareSupply', inputs: [] },
4104
+ { type: 'error', name: 'NotEmergencyGuardianOrOperator', inputs: [] },
4105
+ { type: 'error', name: 'NotEngine', inputs: [] },
4106
+ { type: 'error', name: 'NotFeeAdministrator', inputs: [] },
4107
+ { type: 'error', name: 'NotFeeGuardian', inputs: [] },
4108
+ { type: 'error', name: 'NotOperator', inputs: [] },
4109
+ { type: 'error', name: 'NotRequesterOrJanitor', inputs: [] },
4110
+ { type: 'error', name: 'OperatorMigrationDisabled', inputs: [] },
4111
+ { type: 'error', name: 'PendingRedeemsOpen', inputs: [] },
4112
+ { type: 'error', name: 'ReentrantCall', inputs: [] },
4113
+ {
4114
+ type: 'error',
4115
+ name: 'RequestNotOpen',
4116
+ inputs: [{ name: 'requestId', type: 'bytes32' }],
4117
+ },
4118
+ { type: 'error', name: 'ResidualBacking', inputs: [] },
4119
+ { type: 'error', name: 'SameEngine', inputs: [] },
4120
+ { type: 'error', name: 'TokenCallFailed', inputs: [] },
4121
+ { type: 'error', name: 'TokenCallFalse', inputs: [] },
4122
+ { type: 'error', name: 'ZeroAddress', inputs: [] },
4123
+ { type: 'error', name: 'ZeroAmount', inputs: [] },
4124
+ { type: 'error', name: 'ZeroMinimumAssets', inputs: [] },
4125
+ { type: 'error', name: 'ZeroMinimumShares', inputs: [] },
4126
+ ];
4127
+ exports.vaultEngine = [
4128
+ {
4129
+ type: 'function',
4130
+ name: 'asset',
4131
+ inputs: [],
4132
+ outputs: [{ name: '', type: 'address' }],
4133
+ stateMutability: 'view',
4134
+ },
4135
+ {
4136
+ type: 'function',
4137
+ name: 'deposit',
4138
+ inputs: [{ name: 'assets', type: 'uint256' }],
4139
+ outputs: [{ name: 'shares', type: 'uint256' }],
4140
+ stateMutability: 'nonpayable',
4141
+ },
4142
+ {
4143
+ type: 'function',
4144
+ name: 'name',
4145
+ inputs: [],
4146
+ outputs: [{ name: '', type: 'string' }],
4147
+ stateMutability: 'view',
4148
+ },
4149
+ {
4150
+ type: 'function',
4151
+ name: 'supportsInterface',
4152
+ inputs: [{ name: 'interfaceId', type: 'bytes4' }],
4153
+ outputs: [{ name: '', type: 'bool' }],
4154
+ stateMutability: 'view',
4155
+ },
4156
+ {
4157
+ type: 'function',
4158
+ name: 'symbol',
4159
+ inputs: [],
4160
+ outputs: [{ name: '', type: 'string' }],
4161
+ stateMutability: 'view',
4162
+ },
4163
+ {
4164
+ type: 'function',
4165
+ name: 'totalAssets',
4166
+ inputs: [],
4167
+ outputs: [{ name: 'assets', type: 'uint256' }],
4168
+ stateMutability: 'view',
4169
+ },
4170
+ {
4171
+ type: 'function',
4172
+ name: 'totalShares',
4173
+ inputs: [],
4174
+ outputs: [{ name: 'shares', type: 'uint256' }],
4175
+ stateMutability: 'view',
4176
+ },
4177
+ {
4178
+ type: 'function',
4179
+ name: 'valueOf',
4180
+ inputs: [{ name: 'shares', type: 'uint256' }],
4181
+ outputs: [{ name: 'assets', type: 'uint256' }],
4182
+ stateMutability: 'view',
4183
+ },
4184
+ {
4185
+ type: 'function',
4186
+ name: 'previewRedeem',
4187
+ inputs: [{ name: 'shares', type: 'uint256' }],
4188
+ outputs: [{ name: 'assets', type: 'uint256' }],
4189
+ stateMutability: 'view',
4190
+ },
4191
+ {
4192
+ type: 'function',
4193
+ name: 'redeem',
4194
+ inputs: [
4195
+ { name: 'shares', type: 'uint256' },
4196
+ { name: 'receiver', type: 'address' },
4197
+ ],
4198
+ outputs: [{ name: 'assets', type: 'uint256' }],
4199
+ stateMutability: 'nonpayable',
4200
+ },
4201
+ {
4202
+ type: 'function',
4203
+ name: 'previewWithdraw',
4204
+ inputs: [{ name: 'assets', type: 'uint256' }],
4205
+ outputs: [{ name: 'shares', type: 'uint256' }],
4206
+ stateMutability: 'view',
4207
+ },
4208
+ {
4209
+ type: 'function',
4210
+ name: 'withdraw',
4211
+ inputs: [
4212
+ { name: 'assets', type: 'uint256' },
4213
+ { name: 'receiver', type: 'address' },
4214
+ ],
4215
+ outputs: [{ name: 'shares', type: 'uint256' }],
4216
+ stateMutability: 'nonpayable',
4217
+ },
4218
+ ];
4219
+ exports.vaultEngineAsync = [
4220
+ {
4221
+ type: 'function',
4222
+ name: 'cancelRedeem',
4223
+ inputs: [{ name: 'requestId', type: 'bytes32' }],
4224
+ outputs: [{ name: 'shares', type: 'uint256' }],
4225
+ stateMutability: 'nonpayable',
4226
+ },
4227
+ {
4228
+ type: 'function',
4229
+ name: 'requestRedeem',
4230
+ inputs: [
4231
+ { name: 'shares', type: 'uint256' },
4232
+ { name: 'requestData', type: 'bytes' },
4233
+ ],
4234
+ outputs: [{ name: 'requestId', type: 'bytes32' }],
4235
+ stateMutability: 'nonpayable',
4236
+ },
4237
+ ];
4238
+ exports.vaultEngineShares = [
4239
+ {
4240
+ type: 'function',
4241
+ name: 'depositShares',
4242
+ inputs: [
4243
+ { name: 'shares', type: 'uint256' },
4244
+ { name: 'from', type: 'address' },
4245
+ ],
4246
+ outputs: [{ name: 'sharesReceived', type: 'uint256' }],
4247
+ stateMutability: 'nonpayable',
4248
+ },
4249
+ ];
4250
+ exports.vaultRewards = [
4251
+ {
4252
+ type: 'function',
4253
+ name: 'active',
4254
+ inputs: [],
4255
+ outputs: [{ name: '', type: 'bool' }],
4256
+ stateMutability: 'view',
4257
+ },
4258
+ {
4259
+ type: 'function',
4260
+ name: 'fund',
4261
+ inputs: [
4262
+ { name: 'funder', type: 'address' },
4263
+ { name: 'requested', type: 'uint256' },
4264
+ ],
4265
+ outputs: [{ name: 'funded', type: 'uint256' }],
4266
+ stateMutability: 'nonpayable',
4267
+ },
4268
+ {
4269
+ type: 'function',
4270
+ name: 'setActive',
4271
+ inputs: [{ name: 'active_', type: 'bool' }],
4272
+ outputs: [],
4273
+ stateMutability: 'nonpayable',
4274
+ },
4275
+ {
4276
+ type: 'event',
4277
+ name: 'Funded',
4278
+ inputs: [
4279
+ { name: 'funder', type: 'address', indexed: true },
4280
+ { name: 'requested', type: 'uint256', indexed: false },
4281
+ { name: 'funded', type: 'uint256', indexed: false },
4282
+ ],
4283
+ anonymous: false,
4284
+ },
4285
+ { type: 'error', name: 'Inactive', inputs: [] },
4286
+ { type: 'error', name: 'NotSelf', inputs: [] },
4287
+ {
4288
+ type: 'error',
4289
+ name: 'OwnableInvalidOwner',
4290
+ inputs: [{ name: 'owner', type: 'address' }],
4291
+ },
4292
+ {
4293
+ type: 'error',
4294
+ name: 'OwnableUnauthorizedAccount',
4295
+ inputs: [{ name: 'account', type: 'address' }],
4296
+ },
4297
+ { type: 'error', name: 'ReentrantCall', inputs: [] },
4298
+ { type: 'error', name: 'TokenCallFailed', inputs: [] },
4299
+ { type: 'error', name: 'TokenCallFalse', inputs: [] },
4300
+ { type: 'error', name: 'ZeroAddress', inputs: [] },
4301
+ ];
4302
+ exports.vedaEngine = [
4303
+ {
4304
+ type: 'function',
4305
+ name: 'claimRedeem',
4306
+ inputs: [{ name: 'requestId', type: 'bytes32' }],
4307
+ outputs: [{ name: 'amount', type: 'uint256' }],
4308
+ stateMutability: 'nonpayable',
4309
+ },
4310
+ {
4311
+ type: 'function',
4312
+ name: 'getClaim',
4313
+ inputs: [{ name: 'requestId', type: 'bytes32' }],
4314
+ outputs: [
4315
+ { name: 'open', type: 'bool' },
4316
+ { name: 'paid', type: 'bool' },
4317
+ { name: 'recorded', type: 'bool' },
4318
+ {
4319
+ name: 'request',
4320
+ type: 'tuple',
4321
+ components: [
4322
+ { name: 'nonce', type: 'uint96' },
4323
+ { name: 'user', type: 'address' },
4324
+ { name: 'assetOut', type: 'address' },
4325
+ { name: 'amountOfShares', type: 'uint128' },
4326
+ { name: 'amountOfAssets', type: 'uint128' },
4327
+ { name: 'creationTime', type: 'uint40' },
4328
+ { name: 'secondsToMaturity', type: 'uint24' },
4329
+ { name: 'secondsToDeadline', type: 'uint24' },
4330
+ ],
4331
+ },
4332
+ ],
4333
+ stateMutability: 'view',
4334
+ },
4335
+ {
4336
+ type: 'function',
4337
+ name: 'rate',
4338
+ inputs: [],
4339
+ outputs: [{ name: '', type: 'uint256' }],
4340
+ stateMutability: 'view',
4341
+ },
4342
+ {
4343
+ type: 'function',
4344
+ name: 'settled',
4345
+ inputs: [{ name: 'asset', type: 'address' }],
4346
+ outputs: [{ name: 'amount', type: 'uint256' }],
4347
+ stateMutability: 'view',
4348
+ },
4349
+ {
4350
+ type: 'event',
4351
+ name: 'AuthorizedForwarderChanged',
4352
+ inputs: [
4353
+ { name: 'account', type: 'address', indexed: true },
4354
+ { name: 'authorized', type: 'bool', indexed: false },
4355
+ ],
4356
+ anonymous: false,
4357
+ },
4358
+ {
4359
+ type: 'event',
4360
+ name: 'CoreInitialized',
4361
+ inputs: [{ name: 'core', type: 'address', indexed: true }],
4362
+ anonymous: false,
4363
+ },
4364
+ {
4365
+ type: 'event',
4366
+ name: 'Deposited',
4367
+ inputs: [
4368
+ { name: 'receiver', type: 'address', indexed: true },
4369
+ { name: 'assets', type: 'uint256', indexed: false },
4370
+ { name: 'shares', type: 'uint256', indexed: false },
4371
+ ],
4372
+ anonymous: false,
4373
+ },
4374
+ {
4375
+ type: 'event',
4376
+ name: 'DustSwept',
4377
+ inputs: [
4378
+ { name: 'token', type: 'address', indexed: true },
4379
+ { name: 'to', type: 'address', indexed: true },
4380
+ { name: 'amount', type: 'uint256', indexed: false },
4381
+ ],
4382
+ anonymous: false,
4383
+ },
4384
+ {
4385
+ type: 'event',
4386
+ name: 'FinalizeFailed',
4387
+ inputs: [
4388
+ { name: 'requestId', type: 'bytes32', indexed: true },
4389
+ { name: 'asset', type: 'address', indexed: true },
4390
+ { name: 'amount', type: 'uint256', indexed: false },
4391
+ ],
4392
+ anonymous: false,
4393
+ },
4394
+ {
4395
+ type: 'event',
4396
+ name: 'Finalized',
4397
+ inputs: [
4398
+ { name: 'requestId', type: 'bytes32', indexed: true },
4399
+ { name: 'asset', type: 'address', indexed: true },
4400
+ { name: 'amount', type: 'uint256', indexed: false },
4401
+ ],
4402
+ anonymous: false,
4403
+ },
4404
+ {
4405
+ type: 'event',
4406
+ name: 'OwnershipTransferStarted',
4407
+ inputs: [
4408
+ { name: 'previousOwner', type: 'address', indexed: true },
4409
+ { name: 'newOwner', type: 'address', indexed: true },
4410
+ ],
4411
+ anonymous: false,
4412
+ },
4413
+ {
4414
+ type: 'event',
4415
+ name: 'OwnershipTransferred',
4416
+ inputs: [
4417
+ { name: 'previousOwner', type: 'address', indexed: true },
4418
+ { name: 'newOwner', type: 'address', indexed: true },
4419
+ ],
4420
+ anonymous: false,
4421
+ },
4422
+ {
4423
+ type: 'event',
4424
+ name: 'RedeemCancelledOnQueue',
4425
+ inputs: [
4426
+ { name: 'requestId', type: 'bytes32', indexed: true },
4427
+ { name: 'shares', type: 'uint128', indexed: false },
4428
+ ],
4429
+ anonymous: false,
4430
+ },
4431
+ {
4432
+ type: 'event',
4433
+ name: 'RedeemClaimed',
4434
+ inputs: [
4435
+ { name: 'requestId', type: 'bytes32', indexed: true },
4436
+ { name: 'asset', type: 'address', indexed: true },
4437
+ { name: 'amount', type: 'uint256', indexed: false },
4438
+ ],
4439
+ anonymous: false,
4440
+ },
4441
+ {
4442
+ type: 'event',
4443
+ name: 'RedeemRequested',
4444
+ inputs: [
4445
+ { name: 'requestId', type: 'bytes32', indexed: true },
4446
+ { name: 'assetOut', type: 'address', indexed: true },
4447
+ { name: 'shares', type: 'uint128', indexed: false },
4448
+ ],
4449
+ anonymous: false,
4450
+ },
4451
+ {
4452
+ type: 'event',
4453
+ name: 'Redeemed',
4454
+ inputs: [
4455
+ { name: 'receiver', type: 'address', indexed: true },
4456
+ { name: 'shares', type: 'uint256', indexed: false },
4457
+ { name: 'assets', type: 'uint256', indexed: false },
4458
+ ],
4459
+ anonymous: false,
4460
+ },
4461
+ {
4462
+ type: 'event',
4463
+ name: 'RequestRecorded',
4464
+ inputs: [
4465
+ { name: 'requestId', type: 'bytes32', indexed: true },
4466
+ { name: 'amountOfAssets', type: 'uint128', indexed: false },
4467
+ ],
4468
+ anonymous: false,
4469
+ },
4470
+ {
4471
+ type: 'event',
4472
+ name: 'Settled',
4473
+ inputs: [
4474
+ { name: 'asset', type: 'address', indexed: true },
4475
+ { name: 'amount', type: 'uint256', indexed: false },
4476
+ { name: 'newTotal', type: 'uint256', indexed: false },
4477
+ ],
4478
+ anonymous: false,
4479
+ },
4480
+ {
4481
+ type: 'event',
4482
+ name: 'Unearmarked',
4483
+ inputs: [
4484
+ { name: 'asset', type: 'address', indexed: true },
4485
+ { name: 'amount', type: 'uint256', indexed: false },
4486
+ { name: 'newTotal', type: 'uint256', indexed: false },
4487
+ ],
4488
+ anonymous: false,
4489
+ },
4490
+ {
4491
+ type: 'event',
4492
+ name: 'WithdrewExact',
4493
+ inputs: [
4494
+ { name: 'receiver', type: 'address', indexed: true },
4495
+ { name: 'assets', type: 'uint256', indexed: false },
4496
+ { name: 'sharesBurned', type: 'uint256', indexed: false },
4497
+ ],
4498
+ anonymous: false,
4499
+ },
4500
+ { type: 'error', name: 'AlreadyInitialized', inputs: [] },
4501
+ {
4502
+ type: 'error',
4503
+ name: 'AssetsNotArrived',
4504
+ inputs: [{ name: 'requestId', type: 'bytes32' }],
4505
+ },
4506
+ { type: 'error', name: 'CannotSweepBackingShares', inputs: [] },
4507
+ {
4508
+ type: 'error',
4509
+ name: 'ClaimNotOpen',
4510
+ inputs: [{ name: 'requestId', type: 'bytes32' }],
4511
+ },
4512
+ { type: 'error', name: 'CoreNotSet', inputs: [] },
4513
+ {
4514
+ type: 'error',
4515
+ name: 'CreditExceedsBalance',
4516
+ inputs: [
4517
+ { name: 'asset', type: 'address' },
4518
+ { name: 'have', type: 'uint256' },
4519
+ { name: 'wantTotal', type: 'uint256' },
4520
+ ],
4521
+ },
4522
+ { type: 'error', name: 'NoSharesReceived', inputs: [] },
4523
+ {
4524
+ type: 'error',
4525
+ name: 'NotAuthorizedForwarder',
4526
+ inputs: [{ name: 'caller', type: 'address' }],
4527
+ },
4528
+ {
4529
+ type: 'error',
4530
+ name: 'NotCore',
4531
+ inputs: [{ name: 'caller', type: 'address' }],
4532
+ },
4533
+ { type: 'error', name: 'NotSelf', inputs: [] },
4534
+ {
4535
+ type: 'error',
4536
+ name: 'OwnableInvalidOwner',
4537
+ inputs: [{ name: 'owner', type: 'address' }],
4538
+ },
4539
+ {
4540
+ type: 'error',
4541
+ name: 'OwnableUnauthorizedAccount',
4542
+ inputs: [{ name: 'account', type: 'address' }],
4543
+ },
4544
+ { type: 'error', name: 'ReentrantCall', inputs: [] },
4545
+ {
4546
+ type: 'error',
4547
+ name: 'RequestDetailsNotRecorded',
4548
+ inputs: [{ name: 'requestId', type: 'bytes32' }],
4549
+ },
4550
+ {
4551
+ type: 'error',
4552
+ name: 'SharesTooLarge',
4553
+ inputs: [{ name: 'shares', type: 'uint256' }],
4554
+ },
4555
+ { type: 'error', name: 'TransferFailed', inputs: [] },
4556
+ { type: 'error', name: 'ZeroAddress', inputs: [] },
4557
+ ];
4558
+ exports.zoneGateway = [
4559
+ {
4560
+ type: 'function',
4561
+ name: 'defaultSwapper',
4562
+ inputs: [],
4563
+ outputs: [{ name: '', type: 'address' }],
4564
+ stateMutability: 'view',
4565
+ },
4566
+ {
4567
+ type: 'function',
4568
+ name: 'shareToken',
4569
+ inputs: [],
4570
+ outputs: [{ name: '', type: 'address' }],
4571
+ stateMutability: 'view',
4572
+ },
4573
+ {
4574
+ type: 'function',
4575
+ name: 'supportsFlow',
4576
+ inputs: [{ name: 'flow', type: 'uint8' }],
4577
+ outputs: [{ name: '', type: 'bool' }],
4578
+ stateMutability: 'pure',
4579
+ },
4580
+ {
4581
+ type: 'function',
4582
+ name: 'vaultAdapter',
4583
+ inputs: [],
4584
+ outputs: [{ name: '', type: 'address' }],
4585
+ stateMutability: 'view',
4586
+ },
4587
+ {
4588
+ type: 'function',
4589
+ name: 'vaultAsset',
4590
+ inputs: [],
4591
+ outputs: [{ name: '', type: 'address' }],
4592
+ stateMutability: 'view',
4593
+ },
4594
+ {
4595
+ type: 'function',
4596
+ name: 'zoneId',
4597
+ inputs: [],
4598
+ outputs: [{ name: '', type: 'uint32' }],
4599
+ stateMutability: 'view',
4600
+ },
4601
+ {
4602
+ type: 'function',
4603
+ name: 'zoneMessenger',
4604
+ inputs: [],
4605
+ outputs: [{ name: '', type: 'address' }],
4606
+ stateMutability: 'view',
4607
+ },
4608
+ {
4609
+ type: 'function',
4610
+ name: 'zonePortal',
4611
+ inputs: [],
4612
+ outputs: [{ name: '', type: 'address' }],
4613
+ stateMutability: 'view',
4614
+ },
4615
+ {
4616
+ type: 'event',
4617
+ name: 'EarnDeposit',
4618
+ inputs: [
4619
+ { name: 'actionId', type: 'bytes32', indexed: true },
4620
+ { name: 'inputToken', type: 'address', indexed: true },
4621
+ { name: 'inputAmount', type: 'uint256', indexed: false },
4622
+ { name: 'vaultAssets', type: 'uint256', indexed: false },
4623
+ { name: 'shares', type: 'uint256', indexed: false },
4624
+ { name: 'zoneDepositHash', type: 'bytes32', indexed: false },
4625
+ ],
4626
+ anonymous: false,
4627
+ },
4628
+ {
4629
+ type: 'event',
4630
+ name: 'EarnRedeem',
4631
+ inputs: [
4632
+ { name: 'actionId', type: 'bytes32', indexed: true },
4633
+ { name: 'outputToken', type: 'address', indexed: true },
4634
+ { name: 'shares', type: 'uint256', indexed: false },
4635
+ { name: 'vaultAssets', type: 'uint256', indexed: false },
4636
+ { name: 'outputAmount', type: 'uint256', indexed: false },
4637
+ { name: 'zoneDepositHash', type: 'bytes32', indexed: false },
4638
+ ],
4639
+ anonymous: false,
4640
+ },
4641
+ ];
4642
+ exports.zoneGatewayBase = [
4643
+ {
4644
+ type: 'function',
4645
+ name: 'acceptOwnership',
4646
+ inputs: [],
4647
+ outputs: [],
4648
+ stateMutability: 'nonpayable',
4649
+ },
4650
+ {
4651
+ type: 'function',
4652
+ name: 'depositSwapperFor',
4653
+ inputs: [{ name: 'token', type: 'address' }],
4654
+ outputs: [{ name: 'swapper', type: 'address' }],
4655
+ stateMutability: 'view',
4656
+ },
4657
+ {
4658
+ type: 'function',
4659
+ name: 'owner',
4660
+ inputs: [],
4661
+ outputs: [{ name: '', type: 'address' }],
4662
+ stateMutability: 'view',
4663
+ },
4664
+ {
4665
+ type: 'function',
4666
+ name: 'pendingOwner',
4667
+ inputs: [],
4668
+ outputs: [{ name: '', type: 'address' }],
4669
+ stateMutability: 'view',
4670
+ },
4671
+ {
4672
+ type: 'function',
4673
+ name: 'redeemSwapperFor',
4674
+ inputs: [{ name: 'token', type: 'address' }],
4675
+ outputs: [{ name: 'swapper', type: 'address' }],
4676
+ stateMutability: 'view',
4677
+ },
4678
+ {
4679
+ type: 'function',
4680
+ name: 'renounceOwnership',
4681
+ inputs: [],
4682
+ outputs: [],
4683
+ stateMutability: 'nonpayable',
4684
+ },
4685
+ {
4686
+ type: 'function',
4687
+ name: 'setDepositRoute',
4688
+ inputs: [
4689
+ { name: 'inputToken', type: 'address' },
4690
+ { name: 'swapper', type: 'address' },
4691
+ ],
4692
+ outputs: [],
4693
+ stateMutability: 'nonpayable',
4694
+ },
4695
+ {
4696
+ type: 'function',
4697
+ name: 'setRedeemRoute',
4698
+ inputs: [
4699
+ { name: 'outputToken', type: 'address' },
4700
+ { name: 'swapper', type: 'address' },
4701
+ ],
4702
+ outputs: [],
4703
+ stateMutability: 'nonpayable',
4704
+ },
4705
+ {
4706
+ type: 'function',
4707
+ name: 'transferOwnership',
4708
+ inputs: [{ name: 'newOwner', type: 'address' }],
4709
+ outputs: [],
4710
+ stateMutability: 'nonpayable',
4711
+ },
4712
+ {
4713
+ type: 'event',
4714
+ name: 'DepositRouteUpdated',
4715
+ inputs: [
4716
+ { name: 'inputToken', type: 'address', indexed: true },
4717
+ { name: 'swapper', type: 'address', indexed: true },
4718
+ ],
4719
+ anonymous: false,
4720
+ },
4721
+ {
4722
+ type: 'event',
4723
+ name: 'OwnershipTransferStarted',
4724
+ inputs: [
4725
+ { name: 'previousOwner', type: 'address', indexed: true },
4726
+ { name: 'newOwner', type: 'address', indexed: true },
4727
+ ],
4728
+ anonymous: false,
4729
+ },
4730
+ {
4731
+ type: 'event',
4732
+ name: 'OwnershipTransferred',
4733
+ inputs: [
4734
+ { name: 'previousOwner', type: 'address', indexed: true },
4735
+ { name: 'newOwner', type: 'address', indexed: true },
4736
+ ],
4737
+ anonymous: false,
4738
+ },
4739
+ {
4740
+ type: 'event',
4741
+ name: 'RedeemRouteUpdated',
4742
+ inputs: [
4743
+ { name: 'outputToken', type: 'address', indexed: true },
4744
+ { name: 'swapper', type: 'address', indexed: true },
4745
+ ],
4746
+ anonymous: false,
4747
+ },
4748
+ {
4749
+ type: 'event',
4750
+ name: 'TokenRescued',
4751
+ inputs: [
4752
+ { name: 'token', type: 'address', indexed: true },
4753
+ { name: 'receiver', type: 'address', indexed: true },
4754
+ { name: 'amount', type: 'uint256', indexed: false },
4755
+ ],
4756
+ anonymous: false,
4757
+ },
4758
+ ];
4759
+ exports.zoneGatewayCallbackData = [
4760
+ {
4761
+ components: [
4762
+ { name: 'flow', type: 'uint8' },
4763
+ { name: 'outputToken', type: 'address' },
4764
+ { name: 'keyIndex', type: 'uint256' },
4765
+ {
4766
+ components: [
4767
+ { name: 'ephemeralPubkeyX', type: 'bytes32' },
4768
+ { name: 'ephemeralPubkeyYParity', type: 'uint8' },
4769
+ { name: 'ciphertext', type: 'bytes' },
4770
+ { name: 'nonce', type: 'bytes12' },
4771
+ { name: 'tag', type: 'bytes16' },
4772
+ ],
4773
+ name: 'encrypted',
4774
+ type: 'tuple',
4775
+ },
4776
+ { name: 'minVaultAssets', type: 'uint128' },
4777
+ { name: 'minVaultShares', type: 'uint128' },
4778
+ { name: 'minOutputAmount', type: 'uint128' },
4779
+ { name: 'actionId', type: 'bytes32' },
4780
+ { name: 'refundRecipient', type: 'address' },
4781
+ ],
4782
+ name: 'callbackData',
4783
+ type: 'tuple',
4784
+ },
4785
+ ];
2978
4786
  //# sourceMappingURL=Abis.js.map