@relay-protocol/settlement-abis 2.0.7 → 2.0.9

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.mjs CHANGED
@@ -9677,6 +9677,22 @@ var PoolDrawResolver_default = [
9677
9677
  }
9678
9678
  ]
9679
9679
  },
9680
+ {
9681
+ type: "error",
9682
+ name: "PayloadCommitmentMismatch",
9683
+ inputs: [
9684
+ {
9685
+ name: "expected",
9686
+ type: "bytes32",
9687
+ internalType: "bytes32"
9688
+ },
9689
+ {
9690
+ name: "actual",
9691
+ type: "bytes32",
9692
+ internalType: "bytes32"
9693
+ }
9694
+ ]
9695
+ },
9680
9696
  {
9681
9697
  type: "error",
9682
9698
  name: "ReentrancyGuardReentrantCall",
@@ -10093,6 +10109,22 @@ var PoolResolverBase_default = [
10093
10109
  }
10094
10110
  ]
10095
10111
  },
10112
+ {
10113
+ type: "error",
10114
+ name: "PayloadCommitmentMismatch",
10115
+ inputs: [
10116
+ {
10117
+ name: "expected",
10118
+ type: "bytes32",
10119
+ internalType: "bytes32"
10120
+ },
10121
+ {
10122
+ name: "actual",
10123
+ type: "bytes32",
10124
+ internalType: "bytes32"
10125
+ }
10126
+ ]
10127
+ },
10096
10128
  {
10097
10129
  type: "error",
10098
10130
  name: "ReentrancyGuardReentrantCall",
@@ -13469,6 +13501,16 @@ var IRelayFundingPool_default = [
13469
13501
  name: "amount",
13470
13502
  type: "uint256",
13471
13503
  internalType: "uint256"
13504
+ },
13505
+ {
13506
+ name: "requestHash",
13507
+ type: "bytes32",
13508
+ internalType: "bytes32"
13509
+ },
13510
+ {
13511
+ name: "kind",
13512
+ type: "uint8",
13513
+ internalType: "enum DrawLegKind"
13472
13514
  }
13473
13515
  ],
13474
13516
  outputs: [],
@@ -13497,6 +13539,16 @@ var IRelayFundingPool_default = [
13497
13539
  name: "requestHash",
13498
13540
  type: "bytes32",
13499
13541
  internalType: "bytes32"
13542
+ },
13543
+ {
13544
+ name: "legIndex",
13545
+ type: "uint256",
13546
+ internalType: "uint256"
13547
+ },
13548
+ {
13549
+ name: "kind",
13550
+ type: "uint8",
13551
+ internalType: "enum DrawLegKind"
13500
13552
  }
13501
13553
  ],
13502
13554
  outputs: [],
@@ -13538,6 +13590,11 @@ var IRelayFundingPool_default = [
13538
13590
  name: "account",
13539
13591
  type: "address",
13540
13592
  internalType: "address"
13593
+ },
13594
+ {
13595
+ name: "legIndex",
13596
+ type: "uint256",
13597
+ internalType: "uint256"
13541
13598
  }
13542
13599
  ],
13543
13600
  outputs: [
@@ -13551,12 +13608,12 @@ var IRelayFundingPool_default = [
13551
13608
  },
13552
13609
  {
13553
13610
  type: "function",
13554
- name: "hashWithdrawal",
13611
+ name: "hashSponsorshipConfigUpdate",
13555
13612
  inputs: [
13556
13613
  {
13557
- name: "withdrawal",
13614
+ name: "update",
13558
13615
  type: "tuple",
13559
- internalType: "struct PoolWithdrawal",
13616
+ internalType: "struct SponsorshipConfigUpdate",
13560
13617
  components: [
13561
13618
  {
13562
13619
  name: "account",
@@ -13569,14 +13626,19 @@ var IRelayFundingPool_default = [
13569
13626
  internalType: "address"
13570
13627
  },
13571
13628
  {
13572
- name: "amount",
13629
+ name: "perOrderCap",
13573
13630
  type: "uint256",
13574
13631
  internalType: "uint256"
13575
13632
  },
13576
13633
  {
13577
- name: "recipient",
13578
- type: "address",
13579
- internalType: "address"
13634
+ name: "budget",
13635
+ type: "uint256",
13636
+ internalType: "uint256"
13637
+ },
13638
+ {
13639
+ name: "expiry",
13640
+ type: "uint64",
13641
+ internalType: "uint64"
13580
13642
  },
13581
13643
  {
13582
13644
  name: "nonce",
@@ -13602,61 +13664,110 @@ var IRelayFundingPool_default = [
13602
13664
  },
13603
13665
  {
13604
13666
  type: "function",
13605
- name: "setSponsorshipConfig",
13667
+ name: "hashSponsorshipResolverUpdate",
13606
13668
  inputs: [
13607
13669
  {
13608
- name: "token",
13609
- type: "address",
13610
- internalType: "address"
13611
- },
13612
- {
13613
- name: "config",
13670
+ name: "update",
13614
13671
  type: "tuple",
13615
- internalType: "struct SponsorshipConfig",
13672
+ internalType: "struct SponsorshipResolverUpdate",
13616
13673
  components: [
13617
13674
  {
13618
- name: "perOrderCap",
13619
- type: "uint256",
13620
- internalType: "uint256"
13675
+ name: "account",
13676
+ type: "address",
13677
+ internalType: "address"
13621
13678
  },
13622
13679
  {
13623
- name: "budget",
13680
+ name: "resolver",
13681
+ type: "address",
13682
+ internalType: "address"
13683
+ },
13684
+ {
13685
+ name: "allowed",
13686
+ type: "bool",
13687
+ internalType: "bool"
13688
+ },
13689
+ {
13690
+ name: "nonce",
13624
13691
  type: "uint256",
13625
13692
  internalType: "uint256"
13626
13693
  },
13627
13694
  {
13628
- name: "expiry",
13629
- type: "uint64",
13630
- internalType: "uint64"
13695
+ name: "deadline",
13696
+ type: "uint256",
13697
+ internalType: "uint256"
13631
13698
  }
13632
13699
  ]
13633
13700
  }
13634
13701
  ],
13635
- outputs: [],
13636
- stateMutability: "nonpayable"
13702
+ outputs: [
13703
+ {
13704
+ name: "digest",
13705
+ type: "bytes32",
13706
+ internalType: "bytes32"
13707
+ }
13708
+ ],
13709
+ stateMutability: "view"
13637
13710
  },
13638
13711
  {
13639
13712
  type: "function",
13640
- name: "setSponsorshipResolver",
13713
+ name: "hashWithdrawal",
13641
13714
  inputs: [
13642
13715
  {
13643
- name: "resolver",
13644
- type: "address",
13645
- internalType: "address"
13646
- },
13716
+ name: "withdrawal",
13717
+ type: "tuple",
13718
+ internalType: "struct PoolWithdrawal",
13719
+ components: [
13720
+ {
13721
+ name: "account",
13722
+ type: "address",
13723
+ internalType: "address"
13724
+ },
13725
+ {
13726
+ name: "token",
13727
+ type: "address",
13728
+ internalType: "address"
13729
+ },
13730
+ {
13731
+ name: "amount",
13732
+ type: "uint256",
13733
+ internalType: "uint256"
13734
+ },
13735
+ {
13736
+ name: "recipient",
13737
+ type: "address",
13738
+ internalType: "address"
13739
+ },
13740
+ {
13741
+ name: "nonce",
13742
+ type: "uint256",
13743
+ internalType: "uint256"
13744
+ },
13745
+ {
13746
+ name: "deadline",
13747
+ type: "uint256",
13748
+ internalType: "uint256"
13749
+ }
13750
+ ]
13751
+ }
13752
+ ],
13753
+ outputs: [
13647
13754
  {
13648
- name: "allowed",
13649
- type: "bool",
13650
- internalType: "bool"
13755
+ name: "digest",
13756
+ type: "bytes32",
13757
+ internalType: "bytes32"
13651
13758
  }
13652
13759
  ],
13653
- outputs: [],
13654
- stateMutability: "nonpayable"
13760
+ stateMutability: "view"
13655
13761
  },
13656
13762
  {
13657
13763
  type: "function",
13658
- name: "sponsorshipConfig",
13764
+ name: "orderDraws",
13659
13765
  inputs: [
13766
+ {
13767
+ name: "requestHash",
13768
+ type: "bytes32",
13769
+ internalType: "bytes32"
13770
+ },
13660
13771
  {
13661
13772
  name: "account",
13662
13773
  type: "address",
@@ -13670,55 +13781,56 @@ var IRelayFundingPool_default = [
13670
13781
  ],
13671
13782
  outputs: [
13672
13783
  {
13673
- name: "perOrderCap",
13674
- type: "uint256",
13675
- internalType: "uint256"
13676
- },
13677
- {
13678
- name: "budget",
13784
+ name: "drawn",
13679
13785
  type: "uint256",
13680
13786
  internalType: "uint256"
13681
- },
13682
- {
13683
- name: "expiry",
13684
- type: "uint64",
13685
- internalType: "uint64"
13686
13787
  }
13687
13788
  ],
13688
13789
  stateMutability: "view"
13689
13790
  },
13690
13791
  {
13691
13792
  type: "function",
13692
- name: "sponsorshipResolvers",
13793
+ name: "setSponsorshipConfig",
13693
13794
  inputs: [
13694
13795
  {
13695
- name: "account",
13796
+ name: "token",
13696
13797
  type: "address",
13697
13798
  internalType: "address"
13698
13799
  },
13699
13800
  {
13700
- name: "resolver",
13701
- type: "address",
13702
- internalType: "address"
13703
- }
13704
- ],
13705
- outputs: [
13706
- {
13707
- name: "allowed",
13708
- type: "bool",
13709
- internalType: "bool"
13801
+ name: "config",
13802
+ type: "tuple",
13803
+ internalType: "struct SponsorshipConfig",
13804
+ components: [
13805
+ {
13806
+ name: "perOrderCap",
13807
+ type: "uint256",
13808
+ internalType: "uint256"
13809
+ },
13810
+ {
13811
+ name: "budget",
13812
+ type: "uint256",
13813
+ internalType: "uint256"
13814
+ },
13815
+ {
13816
+ name: "expiry",
13817
+ type: "uint64",
13818
+ internalType: "uint64"
13819
+ }
13820
+ ]
13710
13821
  }
13711
13822
  ],
13712
- stateMutability: "view"
13823
+ outputs: [],
13824
+ stateMutability: "nonpayable"
13713
13825
  },
13714
13826
  {
13715
13827
  type: "function",
13716
- name: "withdraw",
13828
+ name: "setSponsorshipConfig",
13717
13829
  inputs: [
13718
13830
  {
13719
- name: "withdrawal",
13831
+ name: "update",
13720
13832
  type: "tuple",
13721
- internalType: "struct PoolWithdrawal",
13833
+ internalType: "struct SponsorshipConfigUpdate",
13722
13834
  components: [
13723
13835
  {
13724
13836
  name: "account",
@@ -13731,14 +13843,19 @@ var IRelayFundingPool_default = [
13731
13843
  internalType: "address"
13732
13844
  },
13733
13845
  {
13734
- name: "amount",
13846
+ name: "perOrderCap",
13735
13847
  type: "uint256",
13736
13848
  internalType: "uint256"
13737
13849
  },
13738
13850
  {
13739
- name: "recipient",
13740
- type: "address",
13741
- internalType: "address"
13851
+ name: "budget",
13852
+ type: "uint256",
13853
+ internalType: "uint256"
13854
+ },
13855
+ {
13856
+ name: "expiry",
13857
+ type: "uint64",
13858
+ internalType: "uint64"
13742
13859
  },
13743
13860
  {
13744
13861
  name: "nonce",
@@ -13760,28 +13877,199 @@ var IRelayFundingPool_default = [
13760
13877
  ],
13761
13878
  outputs: [],
13762
13879
  stateMutability: "nonpayable"
13763
- }
13764
- ];
13765
-
13766
- // src/abis/funding-pools/RelayFundingPool.sol/RelayFundingPool.json
13767
- var RelayFundingPool_default = [
13880
+ },
13768
13881
  {
13769
- type: "constructor",
13882
+ type: "function",
13883
+ name: "setSponsorshipResolver",
13770
13884
  inputs: [
13771
13885
  {
13772
- name: "admin",
13773
- type: "address",
13774
- internalType: "address"
13775
- },
13776
- {
13777
- name: "withdrawer",
13778
- type: "address",
13779
- internalType: "address"
13780
- },
13781
- {
13782
- name: "resolver",
13783
- type: "address",
13784
- internalType: "address"
13886
+ name: "update",
13887
+ type: "tuple",
13888
+ internalType: "struct SponsorshipResolverUpdate",
13889
+ components: [
13890
+ {
13891
+ name: "account",
13892
+ type: "address",
13893
+ internalType: "address"
13894
+ },
13895
+ {
13896
+ name: "resolver",
13897
+ type: "address",
13898
+ internalType: "address"
13899
+ },
13900
+ {
13901
+ name: "allowed",
13902
+ type: "bool",
13903
+ internalType: "bool"
13904
+ },
13905
+ {
13906
+ name: "nonce",
13907
+ type: "uint256",
13908
+ internalType: "uint256"
13909
+ },
13910
+ {
13911
+ name: "deadline",
13912
+ type: "uint256",
13913
+ internalType: "uint256"
13914
+ }
13915
+ ]
13916
+ },
13917
+ {
13918
+ name: "signature",
13919
+ type: "bytes",
13920
+ internalType: "bytes"
13921
+ }
13922
+ ],
13923
+ outputs: [],
13924
+ stateMutability: "nonpayable"
13925
+ },
13926
+ {
13927
+ type: "function",
13928
+ name: "setSponsorshipResolver",
13929
+ inputs: [
13930
+ {
13931
+ name: "resolver",
13932
+ type: "address",
13933
+ internalType: "address"
13934
+ },
13935
+ {
13936
+ name: "allowed",
13937
+ type: "bool",
13938
+ internalType: "bool"
13939
+ }
13940
+ ],
13941
+ outputs: [],
13942
+ stateMutability: "nonpayable"
13943
+ },
13944
+ {
13945
+ type: "function",
13946
+ name: "sponsorshipConfig",
13947
+ inputs: [
13948
+ {
13949
+ name: "account",
13950
+ type: "address",
13951
+ internalType: "address"
13952
+ },
13953
+ {
13954
+ name: "token",
13955
+ type: "address",
13956
+ internalType: "address"
13957
+ }
13958
+ ],
13959
+ outputs: [
13960
+ {
13961
+ name: "perOrderCap",
13962
+ type: "uint256",
13963
+ internalType: "uint256"
13964
+ },
13965
+ {
13966
+ name: "budget",
13967
+ type: "uint256",
13968
+ internalType: "uint256"
13969
+ },
13970
+ {
13971
+ name: "expiry",
13972
+ type: "uint64",
13973
+ internalType: "uint64"
13974
+ }
13975
+ ],
13976
+ stateMutability: "view"
13977
+ },
13978
+ {
13979
+ type: "function",
13980
+ name: "sponsorshipResolvers",
13981
+ inputs: [
13982
+ {
13983
+ name: "account",
13984
+ type: "address",
13985
+ internalType: "address"
13986
+ },
13987
+ {
13988
+ name: "resolver",
13989
+ type: "address",
13990
+ internalType: "address"
13991
+ }
13992
+ ],
13993
+ outputs: [
13994
+ {
13995
+ name: "allowed",
13996
+ type: "bool",
13997
+ internalType: "bool"
13998
+ }
13999
+ ],
14000
+ stateMutability: "view"
14001
+ },
14002
+ {
14003
+ type: "function",
14004
+ name: "withdraw",
14005
+ inputs: [
14006
+ {
14007
+ name: "withdrawal",
14008
+ type: "tuple",
14009
+ internalType: "struct PoolWithdrawal",
14010
+ components: [
14011
+ {
14012
+ name: "account",
14013
+ type: "address",
14014
+ internalType: "address"
14015
+ },
14016
+ {
14017
+ name: "token",
14018
+ type: "address",
14019
+ internalType: "address"
14020
+ },
14021
+ {
14022
+ name: "amount",
14023
+ type: "uint256",
14024
+ internalType: "uint256"
14025
+ },
14026
+ {
14027
+ name: "recipient",
14028
+ type: "address",
14029
+ internalType: "address"
14030
+ },
14031
+ {
14032
+ name: "nonce",
14033
+ type: "uint256",
14034
+ internalType: "uint256"
14035
+ },
14036
+ {
14037
+ name: "deadline",
14038
+ type: "uint256",
14039
+ internalType: "uint256"
14040
+ }
14041
+ ]
14042
+ },
14043
+ {
14044
+ name: "signature",
14045
+ type: "bytes",
14046
+ internalType: "bytes"
14047
+ }
14048
+ ],
14049
+ outputs: [],
14050
+ stateMutability: "nonpayable"
14051
+ }
14052
+ ];
14053
+
14054
+ // src/abis/funding-pools/RelayFundingPool.sol/RelayFundingPool.json
14055
+ var RelayFundingPool_default = [
14056
+ {
14057
+ type: "constructor",
14058
+ inputs: [
14059
+ {
14060
+ name: "admin",
14061
+ type: "address",
14062
+ internalType: "address"
14063
+ },
14064
+ {
14065
+ name: "withdrawer",
14066
+ type: "address",
14067
+ internalType: "address"
14068
+ },
14069
+ {
14070
+ name: "resolver",
14071
+ type: "address",
14072
+ internalType: "address"
13785
14073
  }
13786
14074
  ],
13787
14075
  stateMutability: "nonpayable"
@@ -13838,6 +14126,32 @@ var RelayFundingPool_default = [
13838
14126
  ],
13839
14127
  stateMutability: "view"
13840
14128
  },
14129
+ {
14130
+ type: "function",
14131
+ name: "SPONSORSHIP_CONFIG_UPDATE_TYPEHASH",
14132
+ inputs: [],
14133
+ outputs: [
14134
+ {
14135
+ name: "",
14136
+ type: "bytes32",
14137
+ internalType: "bytes32"
14138
+ }
14139
+ ],
14140
+ stateMutability: "view"
14141
+ },
14142
+ {
14143
+ type: "function",
14144
+ name: "SPONSORSHIP_RESOLVER_UPDATE_TYPEHASH",
14145
+ inputs: [],
14146
+ outputs: [
14147
+ {
14148
+ name: "",
14149
+ type: "bytes32",
14150
+ internalType: "bytes32"
14151
+ }
14152
+ ],
14153
+ stateMutability: "view"
14154
+ },
13841
14155
  {
13842
14156
  type: "function",
13843
14157
  name: "WITHDRAWER_ROLE",
@@ -13893,6 +14207,16 @@ var RelayFundingPool_default = [
13893
14207
  name: "amount",
13894
14208
  type: "uint256",
13895
14209
  internalType: "uint256"
14210
+ },
14211
+ {
14212
+ name: "requestHash",
14213
+ type: "bytes32",
14214
+ internalType: "bytes32"
14215
+ },
14216
+ {
14217
+ name: "kind",
14218
+ type: "uint8",
14219
+ internalType: "enum DrawLegKind"
13896
14220
  }
13897
14221
  ],
13898
14222
  outputs: [],
@@ -13921,6 +14245,16 @@ var RelayFundingPool_default = [
13921
14245
  name: "requestHash",
13922
14246
  type: "bytes32",
13923
14247
  internalType: "bytes32"
14248
+ },
14249
+ {
14250
+ name: "legIndex",
14251
+ type: "uint256",
14252
+ internalType: "uint256"
14253
+ },
14254
+ {
14255
+ name: "kind",
14256
+ type: "uint8",
14257
+ internalType: "enum DrawLegKind"
13924
14258
  }
13925
14259
  ],
13926
14260
  outputs: [],
@@ -13962,6 +14296,11 @@ var RelayFundingPool_default = [
13962
14296
  name: "account",
13963
14297
  type: "address",
13964
14298
  internalType: "address"
14299
+ },
14300
+ {
14301
+ name: "legIndex",
14302
+ type: "uint256",
14303
+ internalType: "uint256"
13965
14304
  }
13966
14305
  ],
13967
14306
  outputs: [
@@ -14050,29 +14389,131 @@ var RelayFundingPool_default = [
14050
14389
  internalType: "address"
14051
14390
  }
14052
14391
  ],
14053
- outputs: [],
14054
- stateMutability: "nonpayable"
14392
+ outputs: [],
14393
+ stateMutability: "nonpayable"
14394
+ },
14395
+ {
14396
+ type: "function",
14397
+ name: "hasRole",
14398
+ inputs: [
14399
+ {
14400
+ name: "role",
14401
+ type: "bytes32",
14402
+ internalType: "bytes32"
14403
+ },
14404
+ {
14405
+ name: "account",
14406
+ type: "address",
14407
+ internalType: "address"
14408
+ }
14409
+ ],
14410
+ outputs: [
14411
+ {
14412
+ name: "",
14413
+ type: "bool",
14414
+ internalType: "bool"
14415
+ }
14416
+ ],
14417
+ stateMutability: "view"
14418
+ },
14419
+ {
14420
+ type: "function",
14421
+ name: "hashSponsorshipConfigUpdate",
14422
+ inputs: [
14423
+ {
14424
+ name: "update",
14425
+ type: "tuple",
14426
+ internalType: "struct SponsorshipConfigUpdate",
14427
+ components: [
14428
+ {
14429
+ name: "account",
14430
+ type: "address",
14431
+ internalType: "address"
14432
+ },
14433
+ {
14434
+ name: "token",
14435
+ type: "address",
14436
+ internalType: "address"
14437
+ },
14438
+ {
14439
+ name: "perOrderCap",
14440
+ type: "uint256",
14441
+ internalType: "uint256"
14442
+ },
14443
+ {
14444
+ name: "budget",
14445
+ type: "uint256",
14446
+ internalType: "uint256"
14447
+ },
14448
+ {
14449
+ name: "expiry",
14450
+ type: "uint64",
14451
+ internalType: "uint64"
14452
+ },
14453
+ {
14454
+ name: "nonce",
14455
+ type: "uint256",
14456
+ internalType: "uint256"
14457
+ },
14458
+ {
14459
+ name: "deadline",
14460
+ type: "uint256",
14461
+ internalType: "uint256"
14462
+ }
14463
+ ]
14464
+ }
14465
+ ],
14466
+ outputs: [
14467
+ {
14468
+ name: "digest",
14469
+ type: "bytes32",
14470
+ internalType: "bytes32"
14471
+ }
14472
+ ],
14473
+ stateMutability: "view"
14055
14474
  },
14056
14475
  {
14057
14476
  type: "function",
14058
- name: "hasRole",
14477
+ name: "hashSponsorshipResolverUpdate",
14059
14478
  inputs: [
14060
14479
  {
14061
- name: "role",
14062
- type: "bytes32",
14063
- internalType: "bytes32"
14064
- },
14065
- {
14066
- name: "account",
14067
- type: "address",
14068
- internalType: "address"
14480
+ name: "update",
14481
+ type: "tuple",
14482
+ internalType: "struct SponsorshipResolverUpdate",
14483
+ components: [
14484
+ {
14485
+ name: "account",
14486
+ type: "address",
14487
+ internalType: "address"
14488
+ },
14489
+ {
14490
+ name: "resolver",
14491
+ type: "address",
14492
+ internalType: "address"
14493
+ },
14494
+ {
14495
+ name: "allowed",
14496
+ type: "bool",
14497
+ internalType: "bool"
14498
+ },
14499
+ {
14500
+ name: "nonce",
14501
+ type: "uint256",
14502
+ internalType: "uint256"
14503
+ },
14504
+ {
14505
+ name: "deadline",
14506
+ type: "uint256",
14507
+ internalType: "uint256"
14508
+ }
14509
+ ]
14069
14510
  }
14070
14511
  ],
14071
14512
  outputs: [
14072
14513
  {
14073
- name: "",
14074
- type: "bool",
14075
- internalType: "bool"
14514
+ name: "digest",
14515
+ type: "bytes32",
14516
+ internalType: "bytes32"
14076
14517
  }
14077
14518
  ],
14078
14519
  stateMutability: "view"
@@ -14128,6 +14569,35 @@ var RelayFundingPool_default = [
14128
14569
  ],
14129
14570
  stateMutability: "view"
14130
14571
  },
14572
+ {
14573
+ type: "function",
14574
+ name: "orderDraws",
14575
+ inputs: [
14576
+ {
14577
+ name: "requestHash",
14578
+ type: "bytes32",
14579
+ internalType: "bytes32"
14580
+ },
14581
+ {
14582
+ name: "account",
14583
+ type: "address",
14584
+ internalType: "address"
14585
+ },
14586
+ {
14587
+ name: "token",
14588
+ type: "address",
14589
+ internalType: "address"
14590
+ }
14591
+ ],
14592
+ outputs: [
14593
+ {
14594
+ name: "drawn",
14595
+ type: "uint256",
14596
+ internalType: "uint256"
14597
+ }
14598
+ ],
14599
+ stateMutability: "view"
14600
+ },
14131
14601
  {
14132
14602
  type: "function",
14133
14603
  name: "pause",
@@ -14219,6 +14689,106 @@ var RelayFundingPool_default = [
14219
14689
  outputs: [],
14220
14690
  stateMutability: "nonpayable"
14221
14691
  },
14692
+ {
14693
+ type: "function",
14694
+ name: "setSponsorshipConfig",
14695
+ inputs: [
14696
+ {
14697
+ name: "update",
14698
+ type: "tuple",
14699
+ internalType: "struct SponsorshipConfigUpdate",
14700
+ components: [
14701
+ {
14702
+ name: "account",
14703
+ type: "address",
14704
+ internalType: "address"
14705
+ },
14706
+ {
14707
+ name: "token",
14708
+ type: "address",
14709
+ internalType: "address"
14710
+ },
14711
+ {
14712
+ name: "perOrderCap",
14713
+ type: "uint256",
14714
+ internalType: "uint256"
14715
+ },
14716
+ {
14717
+ name: "budget",
14718
+ type: "uint256",
14719
+ internalType: "uint256"
14720
+ },
14721
+ {
14722
+ name: "expiry",
14723
+ type: "uint64",
14724
+ internalType: "uint64"
14725
+ },
14726
+ {
14727
+ name: "nonce",
14728
+ type: "uint256",
14729
+ internalType: "uint256"
14730
+ },
14731
+ {
14732
+ name: "deadline",
14733
+ type: "uint256",
14734
+ internalType: "uint256"
14735
+ }
14736
+ ]
14737
+ },
14738
+ {
14739
+ name: "signature",
14740
+ type: "bytes",
14741
+ internalType: "bytes"
14742
+ }
14743
+ ],
14744
+ outputs: [],
14745
+ stateMutability: "nonpayable"
14746
+ },
14747
+ {
14748
+ type: "function",
14749
+ name: "setSponsorshipResolver",
14750
+ inputs: [
14751
+ {
14752
+ name: "update",
14753
+ type: "tuple",
14754
+ internalType: "struct SponsorshipResolverUpdate",
14755
+ components: [
14756
+ {
14757
+ name: "account",
14758
+ type: "address",
14759
+ internalType: "address"
14760
+ },
14761
+ {
14762
+ name: "resolver",
14763
+ type: "address",
14764
+ internalType: "address"
14765
+ },
14766
+ {
14767
+ name: "allowed",
14768
+ type: "bool",
14769
+ internalType: "bool"
14770
+ },
14771
+ {
14772
+ name: "nonce",
14773
+ type: "uint256",
14774
+ internalType: "uint256"
14775
+ },
14776
+ {
14777
+ name: "deadline",
14778
+ type: "uint256",
14779
+ internalType: "uint256"
14780
+ }
14781
+ ]
14782
+ },
14783
+ {
14784
+ name: "signature",
14785
+ type: "bytes",
14786
+ internalType: "bytes"
14787
+ }
14788
+ ],
14789
+ outputs: [],
14790
+ stateMutability: "nonpayable"
14791
+ },
14222
14792
  {
14223
14793
  type: "function",
14224
14794
  name: "setSponsorshipResolver",
@@ -14321,6 +14891,30 @@ var RelayFundingPool_default = [
14321
14891
  outputs: [],
14322
14892
  stateMutability: "nonpayable"
14323
14893
  },
14894
+ {
14895
+ type: "function",
14896
+ name: "usedSponsorshipNonces",
14897
+ inputs: [
14898
+ {
14899
+ name: "account",
14900
+ type: "address",
14901
+ internalType: "address"
14902
+ },
14903
+ {
14904
+ name: "nonce",
14905
+ type: "uint256",
14906
+ internalType: "uint256"
14907
+ }
14908
+ ],
14909
+ outputs: [
14910
+ {
14911
+ name: "used",
14912
+ type: "bool",
14913
+ internalType: "bool"
14914
+ }
14915
+ ],
14916
+ stateMutability: "view"
14917
+ },
14324
14918
  {
14325
14919
  type: "function",
14326
14920
  name: "usedWithdrawalNonces",
@@ -14422,6 +15016,12 @@ var RelayFundingPool_default = [
14422
15016
  type: "event",
14423
15017
  name: "Credited",
14424
15018
  inputs: [
15019
+ {
15020
+ name: "requestHash",
15021
+ type: "bytes32",
15022
+ indexed: true,
15023
+ internalType: "bytes32"
15024
+ },
14425
15025
  {
14426
15026
  name: "account",
14427
15027
  type: "address",
@@ -14437,9 +15037,15 @@ var RelayFundingPool_default = [
14437
15037
  {
14438
15038
  name: "resolver",
14439
15039
  type: "address",
14440
- indexed: true,
15040
+ indexed: false,
14441
15041
  internalType: "address"
14442
15042
  },
15043
+ {
15044
+ name: "kind",
15045
+ type: "uint8",
15046
+ indexed: false,
15047
+ internalType: "enum DrawLegKind"
15048
+ },
14443
15049
  {
14444
15050
  name: "amount",
14445
15051
  type: "uint256",
@@ -14508,6 +15114,18 @@ var RelayFundingPool_default = [
14508
15114
  indexed: false,
14509
15115
  internalType: "address"
14510
15116
  },
15117
+ {
15118
+ name: "kind",
15119
+ type: "uint8",
15120
+ indexed: false,
15121
+ internalType: "enum DrawLegKind"
15122
+ },
15123
+ {
15124
+ name: "legIndex",
15125
+ type: "uint256",
15126
+ indexed: false,
15127
+ internalType: "uint256"
15128
+ },
14511
15129
  {
14512
15130
  name: "amount",
14513
15131
  type: "uint256",
@@ -14751,6 +15369,11 @@ var RelayFundingPool_default = [
14751
15369
  name: "account",
14752
15370
  type: "address",
14753
15371
  internalType: "address"
15372
+ },
15373
+ {
15374
+ name: "legIndex",
15375
+ type: "uint256",
15376
+ internalType: "uint256"
14754
15377
  }
14755
15378
  ]
14756
15379
  },
@@ -14821,6 +15444,17 @@ var RelayFundingPool_default = [
14821
15444
  name: "InvalidShortString",
14822
15445
  inputs: []
14823
15446
  },
15447
+ {
15448
+ type: "error",
15449
+ name: "InvalidSponsorshipUpdate",
15450
+ inputs: [
15451
+ {
15452
+ name: "account",
15453
+ type: "address",
15454
+ internalType: "address"
15455
+ }
15456
+ ]
15457
+ },
14824
15458
  {
14825
15459
  type: "error",
14826
15460
  name: "InvalidWithdrawal",
@@ -14847,7 +15481,7 @@ var RelayFundingPool_default = [
14847
15481
  internalType: "address"
14848
15482
  },
14849
15483
  {
14850
- name: "amount",
15484
+ name: "orderTotal",
14851
15485
  type: "uint256",
14852
15486
  internalType: "uint256"
14853
15487
  },
@@ -14911,6 +15545,33 @@ var RelayFundingPool_default = [
14911
15545
  }
14912
15546
  ]
14913
15547
  },
15548
+ {
15549
+ type: "error",
15550
+ name: "SponsorshipNonceUsed",
15551
+ inputs: [
15552
+ {
15553
+ name: "account",
15554
+ type: "address",
15555
+ internalType: "address"
15556
+ },
15557
+ {
15558
+ name: "nonce",
15559
+ type: "uint256",
15560
+ internalType: "uint256"
15561
+ }
15562
+ ]
15563
+ },
15564
+ {
15565
+ type: "error",
15566
+ name: "SponsorshipUpdateExpired",
15567
+ inputs: [
15568
+ {
15569
+ name: "deadline",
15570
+ type: "uint256",
15571
+ internalType: "uint256"
15572
+ }
15573
+ ]
15574
+ },
14914
15575
  {
14915
15576
  type: "error",
14916
15577
  name: "StringTooLong",