@relay-protocol/settlement-abis 2.0.5 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -22220,30 +22220,6 @@ var RelayUsdRateLimiter = [
22220
22220
  ],
22221
22221
  stateMutability: "view"
22222
22222
  },
22223
- {
22224
- type: "function",
22225
- name: "canConsume",
22226
- inputs: [
22227
- {
22228
- name: "chainId",
22229
- type: "string",
22230
- internalType: "string"
22231
- },
22232
- {
22233
- name: "usdValue",
22234
- type: "uint256",
22235
- internalType: "uint256"
22236
- }
22237
- ],
22238
- outputs: [
22239
- {
22240
- name: "ok",
22241
- type: "bool",
22242
- internalType: "bool"
22243
- }
22244
- ],
22245
- stateMutability: "view"
22246
- },
22247
22223
  {
22248
22224
  type: "function",
22249
22225
  name: "consume",
@@ -22400,6 +22376,64 @@ var RelayUsdRateLimiter = [
22400
22376
  ],
22401
22377
  stateMutability: "nonpayable"
22402
22378
  },
22379
+ {
22380
+ type: "function",
22381
+ name: "resolveCanConsume",
22382
+ inputs: [
22383
+ {
22384
+ name: "tokenId",
22385
+ type: "uint256",
22386
+ internalType: "uint256"
22387
+ },
22388
+ {
22389
+ name: "amount",
22390
+ type: "uint256",
22391
+ internalType: "uint256"
22392
+ },
22393
+ {
22394
+ name: "data",
22395
+ type: "bytes",
22396
+ internalType: "bytes"
22397
+ }
22398
+ ],
22399
+ outputs: [
22400
+ {
22401
+ name: "ok",
22402
+ type: "bool",
22403
+ internalType: "bool"
22404
+ }
22405
+ ],
22406
+ stateMutability: "nonpayable"
22407
+ },
22408
+ {
22409
+ type: "function",
22410
+ name: "resolveCanConsumeBatch",
22411
+ inputs: [
22412
+ {
22413
+ name: "tokenIds",
22414
+ type: "uint256[]",
22415
+ internalType: "uint256[]"
22416
+ },
22417
+ {
22418
+ name: "amounts",
22419
+ type: "uint256[]",
22420
+ internalType: "uint256[]"
22421
+ },
22422
+ {
22423
+ name: "data",
22424
+ type: "bytes",
22425
+ internalType: "bytes"
22426
+ }
22427
+ ],
22428
+ outputs: [
22429
+ {
22430
+ name: "ok",
22431
+ type: "bool",
22432
+ internalType: "bool"
22433
+ }
22434
+ ],
22435
+ stateMutability: "nonpayable"
22436
+ },
22403
22437
  {
22404
22438
  type: "function",
22405
22439
  name: "revokeRole",
@@ -22663,6 +22697,22 @@ var RelayUsdRateLimiter = [
22663
22697
  }
22664
22698
  ]
22665
22699
  },
22700
+ {
22701
+ type: "error",
22702
+ name: "ArrayLengthMismatch",
22703
+ inputs: [
22704
+ {
22705
+ name: "tokenIdsLength",
22706
+ type: "uint256",
22707
+ internalType: "uint256"
22708
+ },
22709
+ {
22710
+ name: "amountsLength",
22711
+ type: "uint256",
22712
+ internalType: "uint256"
22713
+ }
22714
+ ]
22715
+ },
22666
22716
  {
22667
22717
  type: "error",
22668
22718
  name: "ZeroAddress",
package/dist/index.d.ts CHANGED
@@ -22220,30 +22220,6 @@ var RelayUsdRateLimiter = [
22220
22220
  ],
22221
22221
  stateMutability: "view"
22222
22222
  },
22223
- {
22224
- type: "function",
22225
- name: "canConsume",
22226
- inputs: [
22227
- {
22228
- name: "chainId",
22229
- type: "string",
22230
- internalType: "string"
22231
- },
22232
- {
22233
- name: "usdValue",
22234
- type: "uint256",
22235
- internalType: "uint256"
22236
- }
22237
- ],
22238
- outputs: [
22239
- {
22240
- name: "ok",
22241
- type: "bool",
22242
- internalType: "bool"
22243
- }
22244
- ],
22245
- stateMutability: "view"
22246
- },
22247
22223
  {
22248
22224
  type: "function",
22249
22225
  name: "consume",
@@ -22400,6 +22376,64 @@ var RelayUsdRateLimiter = [
22400
22376
  ],
22401
22377
  stateMutability: "nonpayable"
22402
22378
  },
22379
+ {
22380
+ type: "function",
22381
+ name: "resolveCanConsume",
22382
+ inputs: [
22383
+ {
22384
+ name: "tokenId",
22385
+ type: "uint256",
22386
+ internalType: "uint256"
22387
+ },
22388
+ {
22389
+ name: "amount",
22390
+ type: "uint256",
22391
+ internalType: "uint256"
22392
+ },
22393
+ {
22394
+ name: "data",
22395
+ type: "bytes",
22396
+ internalType: "bytes"
22397
+ }
22398
+ ],
22399
+ outputs: [
22400
+ {
22401
+ name: "ok",
22402
+ type: "bool",
22403
+ internalType: "bool"
22404
+ }
22405
+ ],
22406
+ stateMutability: "nonpayable"
22407
+ },
22408
+ {
22409
+ type: "function",
22410
+ name: "resolveCanConsumeBatch",
22411
+ inputs: [
22412
+ {
22413
+ name: "tokenIds",
22414
+ type: "uint256[]",
22415
+ internalType: "uint256[]"
22416
+ },
22417
+ {
22418
+ name: "amounts",
22419
+ type: "uint256[]",
22420
+ internalType: "uint256[]"
22421
+ },
22422
+ {
22423
+ name: "data",
22424
+ type: "bytes",
22425
+ internalType: "bytes"
22426
+ }
22427
+ ],
22428
+ outputs: [
22429
+ {
22430
+ name: "ok",
22431
+ type: "bool",
22432
+ internalType: "bool"
22433
+ }
22434
+ ],
22435
+ stateMutability: "nonpayable"
22436
+ },
22403
22437
  {
22404
22438
  type: "function",
22405
22439
  name: "revokeRole",
@@ -22663,6 +22697,22 @@ var RelayUsdRateLimiter = [
22663
22697
  }
22664
22698
  ]
22665
22699
  },
22700
+ {
22701
+ type: "error",
22702
+ name: "ArrayLengthMismatch",
22703
+ inputs: [
22704
+ {
22705
+ name: "tokenIdsLength",
22706
+ type: "uint256",
22707
+ internalType: "uint256"
22708
+ },
22709
+ {
22710
+ name: "amountsLength",
22711
+ type: "uint256",
22712
+ internalType: "uint256"
22713
+ }
22714
+ ]
22715
+ },
22666
22716
  {
22667
22717
  type: "error",
22668
22718
  name: "ZeroAddress",
package/dist/index.js CHANGED
@@ -21935,30 +21935,6 @@ var RelayUsdRateLimiter_default = [
21935
21935
  ],
21936
21936
  stateMutability: "view"
21937
21937
  },
21938
- {
21939
- type: "function",
21940
- name: "canConsume",
21941
- inputs: [
21942
- {
21943
- name: "chainId",
21944
- type: "string",
21945
- internalType: "string"
21946
- },
21947
- {
21948
- name: "usdValue",
21949
- type: "uint256",
21950
- internalType: "uint256"
21951
- }
21952
- ],
21953
- outputs: [
21954
- {
21955
- name: "ok",
21956
- type: "bool",
21957
- internalType: "bool"
21958
- }
21959
- ],
21960
- stateMutability: "view"
21961
- },
21962
21938
  {
21963
21939
  type: "function",
21964
21940
  name: "consume",
@@ -22113,6 +22089,64 @@ var RelayUsdRateLimiter_default = [
22113
22089
  outputs: [],
22114
22090
  stateMutability: "nonpayable"
22115
22091
  },
22092
+ {
22093
+ type: "function",
22094
+ name: "resolveCanConsume",
22095
+ inputs: [
22096
+ {
22097
+ name: "tokenId",
22098
+ type: "uint256",
22099
+ internalType: "uint256"
22100
+ },
22101
+ {
22102
+ name: "amount",
22103
+ type: "uint256",
22104
+ internalType: "uint256"
22105
+ },
22106
+ {
22107
+ name: "data",
22108
+ type: "bytes",
22109
+ internalType: "bytes"
22110
+ }
22111
+ ],
22112
+ outputs: [
22113
+ {
22114
+ name: "ok",
22115
+ type: "bool",
22116
+ internalType: "bool"
22117
+ }
22118
+ ],
22119
+ stateMutability: "nonpayable"
22120
+ },
22121
+ {
22122
+ type: "function",
22123
+ name: "resolveCanConsumeBatch",
22124
+ inputs: [
22125
+ {
22126
+ name: "tokenIds",
22127
+ type: "uint256[]",
22128
+ internalType: "uint256[]"
22129
+ },
22130
+ {
22131
+ name: "amounts",
22132
+ type: "uint256[]",
22133
+ internalType: "uint256[]"
22134
+ },
22135
+ {
22136
+ name: "data",
22137
+ type: "bytes",
22138
+ internalType: "bytes"
22139
+ }
22140
+ ],
22141
+ outputs: [
22142
+ {
22143
+ name: "ok",
22144
+ type: "bool",
22145
+ internalType: "bool"
22146
+ }
22147
+ ],
22148
+ stateMutability: "nonpayable"
22149
+ },
22116
22150
  {
22117
22151
  type: "function",
22118
22152
  name: "revokeRole",
@@ -22372,6 +22406,22 @@ var RelayUsdRateLimiter_default = [
22372
22406
  }
22373
22407
  ]
22374
22408
  },
22409
+ {
22410
+ type: "error",
22411
+ name: "ArrayLengthMismatch",
22412
+ inputs: [
22413
+ {
22414
+ name: "tokenIdsLength",
22415
+ type: "uint256",
22416
+ internalType: "uint256"
22417
+ },
22418
+ {
22419
+ name: "amountsLength",
22420
+ type: "uint256",
22421
+ internalType: "uint256"
22422
+ }
22423
+ ]
22424
+ },
22375
22425
  {
22376
22426
  type: "error",
22377
22427
  name: "ZeroAddress",
package/dist/index.mjs CHANGED
@@ -21813,30 +21813,6 @@ var RelayUsdRateLimiter_default = [
21813
21813
  ],
21814
21814
  stateMutability: "view"
21815
21815
  },
21816
- {
21817
- type: "function",
21818
- name: "canConsume",
21819
- inputs: [
21820
- {
21821
- name: "chainId",
21822
- type: "string",
21823
- internalType: "string"
21824
- },
21825
- {
21826
- name: "usdValue",
21827
- type: "uint256",
21828
- internalType: "uint256"
21829
- }
21830
- ],
21831
- outputs: [
21832
- {
21833
- name: "ok",
21834
- type: "bool",
21835
- internalType: "bool"
21836
- }
21837
- ],
21838
- stateMutability: "view"
21839
- },
21840
21816
  {
21841
21817
  type: "function",
21842
21818
  name: "consume",
@@ -21991,6 +21967,64 @@ var RelayUsdRateLimiter_default = [
21991
21967
  outputs: [],
21992
21968
  stateMutability: "nonpayable"
21993
21969
  },
21970
+ {
21971
+ type: "function",
21972
+ name: "resolveCanConsume",
21973
+ inputs: [
21974
+ {
21975
+ name: "tokenId",
21976
+ type: "uint256",
21977
+ internalType: "uint256"
21978
+ },
21979
+ {
21980
+ name: "amount",
21981
+ type: "uint256",
21982
+ internalType: "uint256"
21983
+ },
21984
+ {
21985
+ name: "data",
21986
+ type: "bytes",
21987
+ internalType: "bytes"
21988
+ }
21989
+ ],
21990
+ outputs: [
21991
+ {
21992
+ name: "ok",
21993
+ type: "bool",
21994
+ internalType: "bool"
21995
+ }
21996
+ ],
21997
+ stateMutability: "nonpayable"
21998
+ },
21999
+ {
22000
+ type: "function",
22001
+ name: "resolveCanConsumeBatch",
22002
+ inputs: [
22003
+ {
22004
+ name: "tokenIds",
22005
+ type: "uint256[]",
22006
+ internalType: "uint256[]"
22007
+ },
22008
+ {
22009
+ name: "amounts",
22010
+ type: "uint256[]",
22011
+ internalType: "uint256[]"
22012
+ },
22013
+ {
22014
+ name: "data",
22015
+ type: "bytes",
22016
+ internalType: "bytes"
22017
+ }
22018
+ ],
22019
+ outputs: [
22020
+ {
22021
+ name: "ok",
22022
+ type: "bool",
22023
+ internalType: "bool"
22024
+ }
22025
+ ],
22026
+ stateMutability: "nonpayable"
22027
+ },
21994
22028
  {
21995
22029
  type: "function",
21996
22030
  name: "revokeRole",
@@ -22250,6 +22284,22 @@ var RelayUsdRateLimiter_default = [
22250
22284
  }
22251
22285
  ]
22252
22286
  },
22287
+ {
22288
+ type: "error",
22289
+ name: "ArrayLengthMismatch",
22290
+ inputs: [
22291
+ {
22292
+ name: "tokenIdsLength",
22293
+ type: "uint256",
22294
+ internalType: "uint256"
22295
+ },
22296
+ {
22297
+ name: "amountsLength",
22298
+ type: "uint256",
22299
+ internalType: "uint256"
22300
+ }
22301
+ ]
22302
+ },
22253
22303
  {
22254
22304
  type: "error",
22255
22305
  name: "ZeroAddress",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relay-protocol/settlement-abis",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "Relay protocol contract ABIs",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",