@relay-protocol/settlement-abis 2.0.7 → 2.0.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.
- package/dist/index.d.mts +650 -15
- package/dist/index.d.ts +650 -15
- package/dist/index.js +645 -16
- package/dist/index.mjs +645 -16
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13590,6 +13590,16 @@ var IRelayFundingPool_default = [
|
|
|
13590
13590
|
name: "amount",
|
|
13591
13591
|
type: "uint256",
|
|
13592
13592
|
internalType: "uint256"
|
|
13593
|
+
},
|
|
13594
|
+
{
|
|
13595
|
+
name: "requestHash",
|
|
13596
|
+
type: "bytes32",
|
|
13597
|
+
internalType: "bytes32"
|
|
13598
|
+
},
|
|
13599
|
+
{
|
|
13600
|
+
name: "kind",
|
|
13601
|
+
type: "uint8",
|
|
13602
|
+
internalType: "enum DrawLegKind"
|
|
13593
13603
|
}
|
|
13594
13604
|
],
|
|
13595
13605
|
outputs: [],
|
|
@@ -13618,6 +13628,16 @@ var IRelayFundingPool_default = [
|
|
|
13618
13628
|
name: "requestHash",
|
|
13619
13629
|
type: "bytes32",
|
|
13620
13630
|
internalType: "bytes32"
|
|
13631
|
+
},
|
|
13632
|
+
{
|
|
13633
|
+
name: "legIndex",
|
|
13634
|
+
type: "uint256",
|
|
13635
|
+
internalType: "uint256"
|
|
13636
|
+
},
|
|
13637
|
+
{
|
|
13638
|
+
name: "kind",
|
|
13639
|
+
type: "uint8",
|
|
13640
|
+
internalType: "enum DrawLegKind"
|
|
13621
13641
|
}
|
|
13622
13642
|
],
|
|
13623
13643
|
outputs: [],
|
|
@@ -13659,6 +13679,11 @@ var IRelayFundingPool_default = [
|
|
|
13659
13679
|
name: "account",
|
|
13660
13680
|
type: "address",
|
|
13661
13681
|
internalType: "address"
|
|
13682
|
+
},
|
|
13683
|
+
{
|
|
13684
|
+
name: "legIndex",
|
|
13685
|
+
type: "uint256",
|
|
13686
|
+
internalType: "uint256"
|
|
13662
13687
|
}
|
|
13663
13688
|
],
|
|
13664
13689
|
outputs: [
|
|
@@ -13670,6 +13695,108 @@ var IRelayFundingPool_default = [
|
|
|
13670
13695
|
],
|
|
13671
13696
|
stateMutability: "view"
|
|
13672
13697
|
},
|
|
13698
|
+
{
|
|
13699
|
+
type: "function",
|
|
13700
|
+
name: "hashSponsorshipConfigUpdate",
|
|
13701
|
+
inputs: [
|
|
13702
|
+
{
|
|
13703
|
+
name: "update",
|
|
13704
|
+
type: "tuple",
|
|
13705
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
13706
|
+
components: [
|
|
13707
|
+
{
|
|
13708
|
+
name: "account",
|
|
13709
|
+
type: "address",
|
|
13710
|
+
internalType: "address"
|
|
13711
|
+
},
|
|
13712
|
+
{
|
|
13713
|
+
name: "token",
|
|
13714
|
+
type: "address",
|
|
13715
|
+
internalType: "address"
|
|
13716
|
+
},
|
|
13717
|
+
{
|
|
13718
|
+
name: "perOrderCap",
|
|
13719
|
+
type: "uint256",
|
|
13720
|
+
internalType: "uint256"
|
|
13721
|
+
},
|
|
13722
|
+
{
|
|
13723
|
+
name: "budget",
|
|
13724
|
+
type: "uint256",
|
|
13725
|
+
internalType: "uint256"
|
|
13726
|
+
},
|
|
13727
|
+
{
|
|
13728
|
+
name: "expiry",
|
|
13729
|
+
type: "uint64",
|
|
13730
|
+
internalType: "uint64"
|
|
13731
|
+
},
|
|
13732
|
+
{
|
|
13733
|
+
name: "nonce",
|
|
13734
|
+
type: "uint256",
|
|
13735
|
+
internalType: "uint256"
|
|
13736
|
+
},
|
|
13737
|
+
{
|
|
13738
|
+
name: "deadline",
|
|
13739
|
+
type: "uint256",
|
|
13740
|
+
internalType: "uint256"
|
|
13741
|
+
}
|
|
13742
|
+
]
|
|
13743
|
+
}
|
|
13744
|
+
],
|
|
13745
|
+
outputs: [
|
|
13746
|
+
{
|
|
13747
|
+
name: "digest",
|
|
13748
|
+
type: "bytes32",
|
|
13749
|
+
internalType: "bytes32"
|
|
13750
|
+
}
|
|
13751
|
+
],
|
|
13752
|
+
stateMutability: "view"
|
|
13753
|
+
},
|
|
13754
|
+
{
|
|
13755
|
+
type: "function",
|
|
13756
|
+
name: "hashSponsorshipResolverUpdate",
|
|
13757
|
+
inputs: [
|
|
13758
|
+
{
|
|
13759
|
+
name: "update",
|
|
13760
|
+
type: "tuple",
|
|
13761
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
13762
|
+
components: [
|
|
13763
|
+
{
|
|
13764
|
+
name: "account",
|
|
13765
|
+
type: "address",
|
|
13766
|
+
internalType: "address"
|
|
13767
|
+
},
|
|
13768
|
+
{
|
|
13769
|
+
name: "resolver",
|
|
13770
|
+
type: "address",
|
|
13771
|
+
internalType: "address"
|
|
13772
|
+
},
|
|
13773
|
+
{
|
|
13774
|
+
name: "allowed",
|
|
13775
|
+
type: "bool",
|
|
13776
|
+
internalType: "bool"
|
|
13777
|
+
},
|
|
13778
|
+
{
|
|
13779
|
+
name: "nonce",
|
|
13780
|
+
type: "uint256",
|
|
13781
|
+
internalType: "uint256"
|
|
13782
|
+
},
|
|
13783
|
+
{
|
|
13784
|
+
name: "deadline",
|
|
13785
|
+
type: "uint256",
|
|
13786
|
+
internalType: "uint256"
|
|
13787
|
+
}
|
|
13788
|
+
]
|
|
13789
|
+
}
|
|
13790
|
+
],
|
|
13791
|
+
outputs: [
|
|
13792
|
+
{
|
|
13793
|
+
name: "digest",
|
|
13794
|
+
type: "bytes32",
|
|
13795
|
+
internalType: "bytes32"
|
|
13796
|
+
}
|
|
13797
|
+
],
|
|
13798
|
+
stateMutability: "view"
|
|
13799
|
+
},
|
|
13673
13800
|
{
|
|
13674
13801
|
type: "function",
|
|
13675
13802
|
name: "hashWithdrawal",
|
|
@@ -13721,6 +13848,35 @@ var IRelayFundingPool_default = [
|
|
|
13721
13848
|
],
|
|
13722
13849
|
stateMutability: "view"
|
|
13723
13850
|
},
|
|
13851
|
+
{
|
|
13852
|
+
type: "function",
|
|
13853
|
+
name: "orderDraws",
|
|
13854
|
+
inputs: [
|
|
13855
|
+
{
|
|
13856
|
+
name: "requestHash",
|
|
13857
|
+
type: "bytes32",
|
|
13858
|
+
internalType: "bytes32"
|
|
13859
|
+
},
|
|
13860
|
+
{
|
|
13861
|
+
name: "account",
|
|
13862
|
+
type: "address",
|
|
13863
|
+
internalType: "address"
|
|
13864
|
+
},
|
|
13865
|
+
{
|
|
13866
|
+
name: "token",
|
|
13867
|
+
type: "address",
|
|
13868
|
+
internalType: "address"
|
|
13869
|
+
}
|
|
13870
|
+
],
|
|
13871
|
+
outputs: [
|
|
13872
|
+
{
|
|
13873
|
+
name: "drawn",
|
|
13874
|
+
type: "uint256",
|
|
13875
|
+
internalType: "uint256"
|
|
13876
|
+
}
|
|
13877
|
+
],
|
|
13878
|
+
stateMutability: "view"
|
|
13879
|
+
},
|
|
13724
13880
|
{
|
|
13725
13881
|
type: "function",
|
|
13726
13882
|
name: "setSponsorshipConfig",
|
|
@@ -13756,6 +13912,106 @@ var IRelayFundingPool_default = [
|
|
|
13756
13912
|
outputs: [],
|
|
13757
13913
|
stateMutability: "nonpayable"
|
|
13758
13914
|
},
|
|
13915
|
+
{
|
|
13916
|
+
type: "function",
|
|
13917
|
+
name: "setSponsorshipConfig",
|
|
13918
|
+
inputs: [
|
|
13919
|
+
{
|
|
13920
|
+
name: "update",
|
|
13921
|
+
type: "tuple",
|
|
13922
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
13923
|
+
components: [
|
|
13924
|
+
{
|
|
13925
|
+
name: "account",
|
|
13926
|
+
type: "address",
|
|
13927
|
+
internalType: "address"
|
|
13928
|
+
},
|
|
13929
|
+
{
|
|
13930
|
+
name: "token",
|
|
13931
|
+
type: "address",
|
|
13932
|
+
internalType: "address"
|
|
13933
|
+
},
|
|
13934
|
+
{
|
|
13935
|
+
name: "perOrderCap",
|
|
13936
|
+
type: "uint256",
|
|
13937
|
+
internalType: "uint256"
|
|
13938
|
+
},
|
|
13939
|
+
{
|
|
13940
|
+
name: "budget",
|
|
13941
|
+
type: "uint256",
|
|
13942
|
+
internalType: "uint256"
|
|
13943
|
+
},
|
|
13944
|
+
{
|
|
13945
|
+
name: "expiry",
|
|
13946
|
+
type: "uint64",
|
|
13947
|
+
internalType: "uint64"
|
|
13948
|
+
},
|
|
13949
|
+
{
|
|
13950
|
+
name: "nonce",
|
|
13951
|
+
type: "uint256",
|
|
13952
|
+
internalType: "uint256"
|
|
13953
|
+
},
|
|
13954
|
+
{
|
|
13955
|
+
name: "deadline",
|
|
13956
|
+
type: "uint256",
|
|
13957
|
+
internalType: "uint256"
|
|
13958
|
+
}
|
|
13959
|
+
]
|
|
13960
|
+
},
|
|
13961
|
+
{
|
|
13962
|
+
name: "signature",
|
|
13963
|
+
type: "bytes",
|
|
13964
|
+
internalType: "bytes"
|
|
13965
|
+
}
|
|
13966
|
+
],
|
|
13967
|
+
outputs: [],
|
|
13968
|
+
stateMutability: "nonpayable"
|
|
13969
|
+
},
|
|
13970
|
+
{
|
|
13971
|
+
type: "function",
|
|
13972
|
+
name: "setSponsorshipResolver",
|
|
13973
|
+
inputs: [
|
|
13974
|
+
{
|
|
13975
|
+
name: "update",
|
|
13976
|
+
type: "tuple",
|
|
13977
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
13978
|
+
components: [
|
|
13979
|
+
{
|
|
13980
|
+
name: "account",
|
|
13981
|
+
type: "address",
|
|
13982
|
+
internalType: "address"
|
|
13983
|
+
},
|
|
13984
|
+
{
|
|
13985
|
+
name: "resolver",
|
|
13986
|
+
type: "address",
|
|
13987
|
+
internalType: "address"
|
|
13988
|
+
},
|
|
13989
|
+
{
|
|
13990
|
+
name: "allowed",
|
|
13991
|
+
type: "bool",
|
|
13992
|
+
internalType: "bool"
|
|
13993
|
+
},
|
|
13994
|
+
{
|
|
13995
|
+
name: "nonce",
|
|
13996
|
+
type: "uint256",
|
|
13997
|
+
internalType: "uint256"
|
|
13998
|
+
},
|
|
13999
|
+
{
|
|
14000
|
+
name: "deadline",
|
|
14001
|
+
type: "uint256",
|
|
14002
|
+
internalType: "uint256"
|
|
14003
|
+
}
|
|
14004
|
+
]
|
|
14005
|
+
},
|
|
14006
|
+
{
|
|
14007
|
+
name: "signature",
|
|
14008
|
+
type: "bytes",
|
|
14009
|
+
internalType: "bytes"
|
|
14010
|
+
}
|
|
14011
|
+
],
|
|
14012
|
+
outputs: [],
|
|
14013
|
+
stateMutability: "nonpayable"
|
|
14014
|
+
},
|
|
13759
14015
|
{
|
|
13760
14016
|
type: "function",
|
|
13761
14017
|
name: "setSponsorshipResolver",
|
|
@@ -13959,6 +14215,32 @@ var RelayFundingPool_default = [
|
|
|
13959
14215
|
],
|
|
13960
14216
|
stateMutability: "view"
|
|
13961
14217
|
},
|
|
14218
|
+
{
|
|
14219
|
+
type: "function",
|
|
14220
|
+
name: "SPONSORSHIP_CONFIG_UPDATE_TYPEHASH",
|
|
14221
|
+
inputs: [],
|
|
14222
|
+
outputs: [
|
|
14223
|
+
{
|
|
14224
|
+
name: "",
|
|
14225
|
+
type: "bytes32",
|
|
14226
|
+
internalType: "bytes32"
|
|
14227
|
+
}
|
|
14228
|
+
],
|
|
14229
|
+
stateMutability: "view"
|
|
14230
|
+
},
|
|
14231
|
+
{
|
|
14232
|
+
type: "function",
|
|
14233
|
+
name: "SPONSORSHIP_RESOLVER_UPDATE_TYPEHASH",
|
|
14234
|
+
inputs: [],
|
|
14235
|
+
outputs: [
|
|
14236
|
+
{
|
|
14237
|
+
name: "",
|
|
14238
|
+
type: "bytes32",
|
|
14239
|
+
internalType: "bytes32"
|
|
14240
|
+
}
|
|
14241
|
+
],
|
|
14242
|
+
stateMutability: "view"
|
|
14243
|
+
},
|
|
13962
14244
|
{
|
|
13963
14245
|
type: "function",
|
|
13964
14246
|
name: "WITHDRAWER_ROLE",
|
|
@@ -14014,6 +14296,16 @@ var RelayFundingPool_default = [
|
|
|
14014
14296
|
name: "amount",
|
|
14015
14297
|
type: "uint256",
|
|
14016
14298
|
internalType: "uint256"
|
|
14299
|
+
},
|
|
14300
|
+
{
|
|
14301
|
+
name: "requestHash",
|
|
14302
|
+
type: "bytes32",
|
|
14303
|
+
internalType: "bytes32"
|
|
14304
|
+
},
|
|
14305
|
+
{
|
|
14306
|
+
name: "kind",
|
|
14307
|
+
type: "uint8",
|
|
14308
|
+
internalType: "enum DrawLegKind"
|
|
14017
14309
|
}
|
|
14018
14310
|
],
|
|
14019
14311
|
outputs: [],
|
|
@@ -14042,6 +14334,16 @@ var RelayFundingPool_default = [
|
|
|
14042
14334
|
name: "requestHash",
|
|
14043
14335
|
type: "bytes32",
|
|
14044
14336
|
internalType: "bytes32"
|
|
14337
|
+
},
|
|
14338
|
+
{
|
|
14339
|
+
name: "legIndex",
|
|
14340
|
+
type: "uint256",
|
|
14341
|
+
internalType: "uint256"
|
|
14342
|
+
},
|
|
14343
|
+
{
|
|
14344
|
+
name: "kind",
|
|
14345
|
+
type: "uint8",
|
|
14346
|
+
internalType: "enum DrawLegKind"
|
|
14045
14347
|
}
|
|
14046
14348
|
],
|
|
14047
14349
|
outputs: [],
|
|
@@ -14083,6 +14385,11 @@ var RelayFundingPool_default = [
|
|
|
14083
14385
|
name: "account",
|
|
14084
14386
|
type: "address",
|
|
14085
14387
|
internalType: "address"
|
|
14388
|
+
},
|
|
14389
|
+
{
|
|
14390
|
+
name: "legIndex",
|
|
14391
|
+
type: "uint256",
|
|
14392
|
+
internalType: "uint256"
|
|
14086
14393
|
}
|
|
14087
14394
|
],
|
|
14088
14395
|
outputs: [
|
|
@@ -14171,29 +14478,131 @@ var RelayFundingPool_default = [
|
|
|
14171
14478
|
internalType: "address"
|
|
14172
14479
|
}
|
|
14173
14480
|
],
|
|
14174
|
-
outputs: [],
|
|
14175
|
-
stateMutability: "nonpayable"
|
|
14481
|
+
outputs: [],
|
|
14482
|
+
stateMutability: "nonpayable"
|
|
14483
|
+
},
|
|
14484
|
+
{
|
|
14485
|
+
type: "function",
|
|
14486
|
+
name: "hasRole",
|
|
14487
|
+
inputs: [
|
|
14488
|
+
{
|
|
14489
|
+
name: "role",
|
|
14490
|
+
type: "bytes32",
|
|
14491
|
+
internalType: "bytes32"
|
|
14492
|
+
},
|
|
14493
|
+
{
|
|
14494
|
+
name: "account",
|
|
14495
|
+
type: "address",
|
|
14496
|
+
internalType: "address"
|
|
14497
|
+
}
|
|
14498
|
+
],
|
|
14499
|
+
outputs: [
|
|
14500
|
+
{
|
|
14501
|
+
name: "",
|
|
14502
|
+
type: "bool",
|
|
14503
|
+
internalType: "bool"
|
|
14504
|
+
}
|
|
14505
|
+
],
|
|
14506
|
+
stateMutability: "view"
|
|
14507
|
+
},
|
|
14508
|
+
{
|
|
14509
|
+
type: "function",
|
|
14510
|
+
name: "hashSponsorshipConfigUpdate",
|
|
14511
|
+
inputs: [
|
|
14512
|
+
{
|
|
14513
|
+
name: "update",
|
|
14514
|
+
type: "tuple",
|
|
14515
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
14516
|
+
components: [
|
|
14517
|
+
{
|
|
14518
|
+
name: "account",
|
|
14519
|
+
type: "address",
|
|
14520
|
+
internalType: "address"
|
|
14521
|
+
},
|
|
14522
|
+
{
|
|
14523
|
+
name: "token",
|
|
14524
|
+
type: "address",
|
|
14525
|
+
internalType: "address"
|
|
14526
|
+
},
|
|
14527
|
+
{
|
|
14528
|
+
name: "perOrderCap",
|
|
14529
|
+
type: "uint256",
|
|
14530
|
+
internalType: "uint256"
|
|
14531
|
+
},
|
|
14532
|
+
{
|
|
14533
|
+
name: "budget",
|
|
14534
|
+
type: "uint256",
|
|
14535
|
+
internalType: "uint256"
|
|
14536
|
+
},
|
|
14537
|
+
{
|
|
14538
|
+
name: "expiry",
|
|
14539
|
+
type: "uint64",
|
|
14540
|
+
internalType: "uint64"
|
|
14541
|
+
},
|
|
14542
|
+
{
|
|
14543
|
+
name: "nonce",
|
|
14544
|
+
type: "uint256",
|
|
14545
|
+
internalType: "uint256"
|
|
14546
|
+
},
|
|
14547
|
+
{
|
|
14548
|
+
name: "deadline",
|
|
14549
|
+
type: "uint256",
|
|
14550
|
+
internalType: "uint256"
|
|
14551
|
+
}
|
|
14552
|
+
]
|
|
14553
|
+
}
|
|
14554
|
+
],
|
|
14555
|
+
outputs: [
|
|
14556
|
+
{
|
|
14557
|
+
name: "digest",
|
|
14558
|
+
type: "bytes32",
|
|
14559
|
+
internalType: "bytes32"
|
|
14560
|
+
}
|
|
14561
|
+
],
|
|
14562
|
+
stateMutability: "view"
|
|
14176
14563
|
},
|
|
14177
14564
|
{
|
|
14178
14565
|
type: "function",
|
|
14179
|
-
name: "
|
|
14566
|
+
name: "hashSponsorshipResolverUpdate",
|
|
14180
14567
|
inputs: [
|
|
14181
14568
|
{
|
|
14182
|
-
name: "
|
|
14183
|
-
type: "
|
|
14184
|
-
internalType: "
|
|
14185
|
-
|
|
14186
|
-
|
|
14187
|
-
|
|
14188
|
-
|
|
14189
|
-
|
|
14569
|
+
name: "update",
|
|
14570
|
+
type: "tuple",
|
|
14571
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
14572
|
+
components: [
|
|
14573
|
+
{
|
|
14574
|
+
name: "account",
|
|
14575
|
+
type: "address",
|
|
14576
|
+
internalType: "address"
|
|
14577
|
+
},
|
|
14578
|
+
{
|
|
14579
|
+
name: "resolver",
|
|
14580
|
+
type: "address",
|
|
14581
|
+
internalType: "address"
|
|
14582
|
+
},
|
|
14583
|
+
{
|
|
14584
|
+
name: "allowed",
|
|
14585
|
+
type: "bool",
|
|
14586
|
+
internalType: "bool"
|
|
14587
|
+
},
|
|
14588
|
+
{
|
|
14589
|
+
name: "nonce",
|
|
14590
|
+
type: "uint256",
|
|
14591
|
+
internalType: "uint256"
|
|
14592
|
+
},
|
|
14593
|
+
{
|
|
14594
|
+
name: "deadline",
|
|
14595
|
+
type: "uint256",
|
|
14596
|
+
internalType: "uint256"
|
|
14597
|
+
}
|
|
14598
|
+
]
|
|
14190
14599
|
}
|
|
14191
14600
|
],
|
|
14192
14601
|
outputs: [
|
|
14193
14602
|
{
|
|
14194
|
-
name: "",
|
|
14195
|
-
type: "
|
|
14196
|
-
internalType: "
|
|
14603
|
+
name: "digest",
|
|
14604
|
+
type: "bytes32",
|
|
14605
|
+
internalType: "bytes32"
|
|
14197
14606
|
}
|
|
14198
14607
|
],
|
|
14199
14608
|
stateMutability: "view"
|
|
@@ -14249,6 +14658,35 @@ var RelayFundingPool_default = [
|
|
|
14249
14658
|
],
|
|
14250
14659
|
stateMutability: "view"
|
|
14251
14660
|
},
|
|
14661
|
+
{
|
|
14662
|
+
type: "function",
|
|
14663
|
+
name: "orderDraws",
|
|
14664
|
+
inputs: [
|
|
14665
|
+
{
|
|
14666
|
+
name: "requestHash",
|
|
14667
|
+
type: "bytes32",
|
|
14668
|
+
internalType: "bytes32"
|
|
14669
|
+
},
|
|
14670
|
+
{
|
|
14671
|
+
name: "account",
|
|
14672
|
+
type: "address",
|
|
14673
|
+
internalType: "address"
|
|
14674
|
+
},
|
|
14675
|
+
{
|
|
14676
|
+
name: "token",
|
|
14677
|
+
type: "address",
|
|
14678
|
+
internalType: "address"
|
|
14679
|
+
}
|
|
14680
|
+
],
|
|
14681
|
+
outputs: [
|
|
14682
|
+
{
|
|
14683
|
+
name: "drawn",
|
|
14684
|
+
type: "uint256",
|
|
14685
|
+
internalType: "uint256"
|
|
14686
|
+
}
|
|
14687
|
+
],
|
|
14688
|
+
stateMutability: "view"
|
|
14689
|
+
},
|
|
14252
14690
|
{
|
|
14253
14691
|
type: "function",
|
|
14254
14692
|
name: "pause",
|
|
@@ -14340,6 +14778,106 @@ var RelayFundingPool_default = [
|
|
|
14340
14778
|
outputs: [],
|
|
14341
14779
|
stateMutability: "nonpayable"
|
|
14342
14780
|
},
|
|
14781
|
+
{
|
|
14782
|
+
type: "function",
|
|
14783
|
+
name: "setSponsorshipConfig",
|
|
14784
|
+
inputs: [
|
|
14785
|
+
{
|
|
14786
|
+
name: "update",
|
|
14787
|
+
type: "tuple",
|
|
14788
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
14789
|
+
components: [
|
|
14790
|
+
{
|
|
14791
|
+
name: "account",
|
|
14792
|
+
type: "address",
|
|
14793
|
+
internalType: "address"
|
|
14794
|
+
},
|
|
14795
|
+
{
|
|
14796
|
+
name: "token",
|
|
14797
|
+
type: "address",
|
|
14798
|
+
internalType: "address"
|
|
14799
|
+
},
|
|
14800
|
+
{
|
|
14801
|
+
name: "perOrderCap",
|
|
14802
|
+
type: "uint256",
|
|
14803
|
+
internalType: "uint256"
|
|
14804
|
+
},
|
|
14805
|
+
{
|
|
14806
|
+
name: "budget",
|
|
14807
|
+
type: "uint256",
|
|
14808
|
+
internalType: "uint256"
|
|
14809
|
+
},
|
|
14810
|
+
{
|
|
14811
|
+
name: "expiry",
|
|
14812
|
+
type: "uint64",
|
|
14813
|
+
internalType: "uint64"
|
|
14814
|
+
},
|
|
14815
|
+
{
|
|
14816
|
+
name: "nonce",
|
|
14817
|
+
type: "uint256",
|
|
14818
|
+
internalType: "uint256"
|
|
14819
|
+
},
|
|
14820
|
+
{
|
|
14821
|
+
name: "deadline",
|
|
14822
|
+
type: "uint256",
|
|
14823
|
+
internalType: "uint256"
|
|
14824
|
+
}
|
|
14825
|
+
]
|
|
14826
|
+
},
|
|
14827
|
+
{
|
|
14828
|
+
name: "signature",
|
|
14829
|
+
type: "bytes",
|
|
14830
|
+
internalType: "bytes"
|
|
14831
|
+
}
|
|
14832
|
+
],
|
|
14833
|
+
outputs: [],
|
|
14834
|
+
stateMutability: "nonpayable"
|
|
14835
|
+
},
|
|
14836
|
+
{
|
|
14837
|
+
type: "function",
|
|
14838
|
+
name: "setSponsorshipResolver",
|
|
14839
|
+
inputs: [
|
|
14840
|
+
{
|
|
14841
|
+
name: "update",
|
|
14842
|
+
type: "tuple",
|
|
14843
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
14844
|
+
components: [
|
|
14845
|
+
{
|
|
14846
|
+
name: "account",
|
|
14847
|
+
type: "address",
|
|
14848
|
+
internalType: "address"
|
|
14849
|
+
},
|
|
14850
|
+
{
|
|
14851
|
+
name: "resolver",
|
|
14852
|
+
type: "address",
|
|
14853
|
+
internalType: "address"
|
|
14854
|
+
},
|
|
14855
|
+
{
|
|
14856
|
+
name: "allowed",
|
|
14857
|
+
type: "bool",
|
|
14858
|
+
internalType: "bool"
|
|
14859
|
+
},
|
|
14860
|
+
{
|
|
14861
|
+
name: "nonce",
|
|
14862
|
+
type: "uint256",
|
|
14863
|
+
internalType: "uint256"
|
|
14864
|
+
},
|
|
14865
|
+
{
|
|
14866
|
+
name: "deadline",
|
|
14867
|
+
type: "uint256",
|
|
14868
|
+
internalType: "uint256"
|
|
14869
|
+
}
|
|
14870
|
+
]
|
|
14871
|
+
},
|
|
14872
|
+
{
|
|
14873
|
+
name: "signature",
|
|
14874
|
+
type: "bytes",
|
|
14875
|
+
internalType: "bytes"
|
|
14876
|
+
}
|
|
14877
|
+
],
|
|
14878
|
+
outputs: [],
|
|
14879
|
+
stateMutability: "nonpayable"
|
|
14880
|
+
},
|
|
14343
14881
|
{
|
|
14344
14882
|
type: "function",
|
|
14345
14883
|
name: "setSponsorshipResolver",
|
|
@@ -14442,6 +14980,30 @@ var RelayFundingPool_default = [
|
|
|
14442
14980
|
outputs: [],
|
|
14443
14981
|
stateMutability: "nonpayable"
|
|
14444
14982
|
},
|
|
14983
|
+
{
|
|
14984
|
+
type: "function",
|
|
14985
|
+
name: "usedSponsorshipNonces",
|
|
14986
|
+
inputs: [
|
|
14987
|
+
{
|
|
14988
|
+
name: "account",
|
|
14989
|
+
type: "address",
|
|
14990
|
+
internalType: "address"
|
|
14991
|
+
},
|
|
14992
|
+
{
|
|
14993
|
+
name: "nonce",
|
|
14994
|
+
type: "uint256",
|
|
14995
|
+
internalType: "uint256"
|
|
14996
|
+
}
|
|
14997
|
+
],
|
|
14998
|
+
outputs: [
|
|
14999
|
+
{
|
|
15000
|
+
name: "used",
|
|
15001
|
+
type: "bool",
|
|
15002
|
+
internalType: "bool"
|
|
15003
|
+
}
|
|
15004
|
+
],
|
|
15005
|
+
stateMutability: "view"
|
|
15006
|
+
},
|
|
14445
15007
|
{
|
|
14446
15008
|
type: "function",
|
|
14447
15009
|
name: "usedWithdrawalNonces",
|
|
@@ -14543,6 +15105,12 @@ var RelayFundingPool_default = [
|
|
|
14543
15105
|
type: "event",
|
|
14544
15106
|
name: "Credited",
|
|
14545
15107
|
inputs: [
|
|
15108
|
+
{
|
|
15109
|
+
name: "requestHash",
|
|
15110
|
+
type: "bytes32",
|
|
15111
|
+
indexed: true,
|
|
15112
|
+
internalType: "bytes32"
|
|
15113
|
+
},
|
|
14546
15114
|
{
|
|
14547
15115
|
name: "account",
|
|
14548
15116
|
type: "address",
|
|
@@ -14558,9 +15126,15 @@ var RelayFundingPool_default = [
|
|
|
14558
15126
|
{
|
|
14559
15127
|
name: "resolver",
|
|
14560
15128
|
type: "address",
|
|
14561
|
-
indexed:
|
|
15129
|
+
indexed: false,
|
|
14562
15130
|
internalType: "address"
|
|
14563
15131
|
},
|
|
15132
|
+
{
|
|
15133
|
+
name: "kind",
|
|
15134
|
+
type: "uint8",
|
|
15135
|
+
indexed: false,
|
|
15136
|
+
internalType: "enum DrawLegKind"
|
|
15137
|
+
},
|
|
14564
15138
|
{
|
|
14565
15139
|
name: "amount",
|
|
14566
15140
|
type: "uint256",
|
|
@@ -14629,6 +15203,18 @@ var RelayFundingPool_default = [
|
|
|
14629
15203
|
indexed: false,
|
|
14630
15204
|
internalType: "address"
|
|
14631
15205
|
},
|
|
15206
|
+
{
|
|
15207
|
+
name: "kind",
|
|
15208
|
+
type: "uint8",
|
|
15209
|
+
indexed: false,
|
|
15210
|
+
internalType: "enum DrawLegKind"
|
|
15211
|
+
},
|
|
15212
|
+
{
|
|
15213
|
+
name: "legIndex",
|
|
15214
|
+
type: "uint256",
|
|
15215
|
+
indexed: false,
|
|
15216
|
+
internalType: "uint256"
|
|
15217
|
+
},
|
|
14632
15218
|
{
|
|
14633
15219
|
name: "amount",
|
|
14634
15220
|
type: "uint256",
|
|
@@ -14872,6 +15458,11 @@ var RelayFundingPool_default = [
|
|
|
14872
15458
|
name: "account",
|
|
14873
15459
|
type: "address",
|
|
14874
15460
|
internalType: "address"
|
|
15461
|
+
},
|
|
15462
|
+
{
|
|
15463
|
+
name: "legIndex",
|
|
15464
|
+
type: "uint256",
|
|
15465
|
+
internalType: "uint256"
|
|
14875
15466
|
}
|
|
14876
15467
|
]
|
|
14877
15468
|
},
|
|
@@ -14942,6 +15533,17 @@ var RelayFundingPool_default = [
|
|
|
14942
15533
|
name: "InvalidShortString",
|
|
14943
15534
|
inputs: []
|
|
14944
15535
|
},
|
|
15536
|
+
{
|
|
15537
|
+
type: "error",
|
|
15538
|
+
name: "InvalidSponsorshipUpdate",
|
|
15539
|
+
inputs: [
|
|
15540
|
+
{
|
|
15541
|
+
name: "account",
|
|
15542
|
+
type: "address",
|
|
15543
|
+
internalType: "address"
|
|
15544
|
+
}
|
|
15545
|
+
]
|
|
15546
|
+
},
|
|
14945
15547
|
{
|
|
14946
15548
|
type: "error",
|
|
14947
15549
|
name: "InvalidWithdrawal",
|
|
@@ -14968,7 +15570,7 @@ var RelayFundingPool_default = [
|
|
|
14968
15570
|
internalType: "address"
|
|
14969
15571
|
},
|
|
14970
15572
|
{
|
|
14971
|
-
name: "
|
|
15573
|
+
name: "orderTotal",
|
|
14972
15574
|
type: "uint256",
|
|
14973
15575
|
internalType: "uint256"
|
|
14974
15576
|
},
|
|
@@ -15032,6 +15634,33 @@ var RelayFundingPool_default = [
|
|
|
15032
15634
|
}
|
|
15033
15635
|
]
|
|
15034
15636
|
},
|
|
15637
|
+
{
|
|
15638
|
+
type: "error",
|
|
15639
|
+
name: "SponsorshipNonceUsed",
|
|
15640
|
+
inputs: [
|
|
15641
|
+
{
|
|
15642
|
+
name: "account",
|
|
15643
|
+
type: "address",
|
|
15644
|
+
internalType: "address"
|
|
15645
|
+
},
|
|
15646
|
+
{
|
|
15647
|
+
name: "nonce",
|
|
15648
|
+
type: "uint256",
|
|
15649
|
+
internalType: "uint256"
|
|
15650
|
+
}
|
|
15651
|
+
]
|
|
15652
|
+
},
|
|
15653
|
+
{
|
|
15654
|
+
type: "error",
|
|
15655
|
+
name: "SponsorshipUpdateExpired",
|
|
15656
|
+
inputs: [
|
|
15657
|
+
{
|
|
15658
|
+
name: "deadline",
|
|
15659
|
+
type: "uint256",
|
|
15660
|
+
internalType: "uint256"
|
|
15661
|
+
}
|
|
15662
|
+
]
|
|
15663
|
+
},
|
|
15035
15664
|
{
|
|
15036
15665
|
type: "error",
|
|
15037
15666
|
name: "StringTooLong",
|