@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.d.mts
CHANGED
|
@@ -13717,6 +13717,16 @@ var IRelayFundingPool = [
|
|
|
13717
13717
|
name: "amount",
|
|
13718
13718
|
type: "uint256",
|
|
13719
13719
|
internalType: "uint256"
|
|
13720
|
+
},
|
|
13721
|
+
{
|
|
13722
|
+
name: "requestHash",
|
|
13723
|
+
type: "bytes32",
|
|
13724
|
+
internalType: "bytes32"
|
|
13725
|
+
},
|
|
13726
|
+
{
|
|
13727
|
+
name: "kind",
|
|
13728
|
+
type: "uint8",
|
|
13729
|
+
internalType: "enum DrawLegKind"
|
|
13720
13730
|
}
|
|
13721
13731
|
],
|
|
13722
13732
|
outputs: [
|
|
@@ -13746,6 +13756,16 @@ var IRelayFundingPool = [
|
|
|
13746
13756
|
name: "requestHash",
|
|
13747
13757
|
type: "bytes32",
|
|
13748
13758
|
internalType: "bytes32"
|
|
13759
|
+
},
|
|
13760
|
+
{
|
|
13761
|
+
name: "legIndex",
|
|
13762
|
+
type: "uint256",
|
|
13763
|
+
internalType: "uint256"
|
|
13764
|
+
},
|
|
13765
|
+
{
|
|
13766
|
+
name: "kind",
|
|
13767
|
+
type: "uint8",
|
|
13768
|
+
internalType: "enum DrawLegKind"
|
|
13749
13769
|
}
|
|
13750
13770
|
],
|
|
13751
13771
|
outputs: [
|
|
@@ -13789,6 +13809,11 @@ var IRelayFundingPool = [
|
|
|
13789
13809
|
name: "account",
|
|
13790
13810
|
type: "address",
|
|
13791
13811
|
internalType: "address"
|
|
13812
|
+
},
|
|
13813
|
+
{
|
|
13814
|
+
name: "legIndex",
|
|
13815
|
+
type: "uint256",
|
|
13816
|
+
internalType: "uint256"
|
|
13792
13817
|
}
|
|
13793
13818
|
],
|
|
13794
13819
|
outputs: [
|
|
@@ -13800,6 +13825,108 @@ var IRelayFundingPool = [
|
|
|
13800
13825
|
],
|
|
13801
13826
|
stateMutability: "view"
|
|
13802
13827
|
},
|
|
13828
|
+
{
|
|
13829
|
+
type: "function",
|
|
13830
|
+
name: "hashSponsorshipConfigUpdate",
|
|
13831
|
+
inputs: [
|
|
13832
|
+
{
|
|
13833
|
+
name: "update",
|
|
13834
|
+
type: "tuple",
|
|
13835
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
13836
|
+
components: [
|
|
13837
|
+
{
|
|
13838
|
+
name: "account",
|
|
13839
|
+
type: "address",
|
|
13840
|
+
internalType: "address"
|
|
13841
|
+
},
|
|
13842
|
+
{
|
|
13843
|
+
name: "token",
|
|
13844
|
+
type: "address",
|
|
13845
|
+
internalType: "address"
|
|
13846
|
+
},
|
|
13847
|
+
{
|
|
13848
|
+
name: "perOrderCap",
|
|
13849
|
+
type: "uint256",
|
|
13850
|
+
internalType: "uint256"
|
|
13851
|
+
},
|
|
13852
|
+
{
|
|
13853
|
+
name: "budget",
|
|
13854
|
+
type: "uint256",
|
|
13855
|
+
internalType: "uint256"
|
|
13856
|
+
},
|
|
13857
|
+
{
|
|
13858
|
+
name: "expiry",
|
|
13859
|
+
type: "uint64",
|
|
13860
|
+
internalType: "uint64"
|
|
13861
|
+
},
|
|
13862
|
+
{
|
|
13863
|
+
name: "nonce",
|
|
13864
|
+
type: "uint256",
|
|
13865
|
+
internalType: "uint256"
|
|
13866
|
+
},
|
|
13867
|
+
{
|
|
13868
|
+
name: "deadline",
|
|
13869
|
+
type: "uint256",
|
|
13870
|
+
internalType: "uint256"
|
|
13871
|
+
}
|
|
13872
|
+
]
|
|
13873
|
+
}
|
|
13874
|
+
],
|
|
13875
|
+
outputs: [
|
|
13876
|
+
{
|
|
13877
|
+
name: "digest",
|
|
13878
|
+
type: "bytes32",
|
|
13879
|
+
internalType: "bytes32"
|
|
13880
|
+
}
|
|
13881
|
+
],
|
|
13882
|
+
stateMutability: "view"
|
|
13883
|
+
},
|
|
13884
|
+
{
|
|
13885
|
+
type: "function",
|
|
13886
|
+
name: "hashSponsorshipResolverUpdate",
|
|
13887
|
+
inputs: [
|
|
13888
|
+
{
|
|
13889
|
+
name: "update",
|
|
13890
|
+
type: "tuple",
|
|
13891
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
13892
|
+
components: [
|
|
13893
|
+
{
|
|
13894
|
+
name: "account",
|
|
13895
|
+
type: "address",
|
|
13896
|
+
internalType: "address"
|
|
13897
|
+
},
|
|
13898
|
+
{
|
|
13899
|
+
name: "resolver",
|
|
13900
|
+
type: "address",
|
|
13901
|
+
internalType: "address"
|
|
13902
|
+
},
|
|
13903
|
+
{
|
|
13904
|
+
name: "allowed",
|
|
13905
|
+
type: "bool",
|
|
13906
|
+
internalType: "bool"
|
|
13907
|
+
},
|
|
13908
|
+
{
|
|
13909
|
+
name: "nonce",
|
|
13910
|
+
type: "uint256",
|
|
13911
|
+
internalType: "uint256"
|
|
13912
|
+
},
|
|
13913
|
+
{
|
|
13914
|
+
name: "deadline",
|
|
13915
|
+
type: "uint256",
|
|
13916
|
+
internalType: "uint256"
|
|
13917
|
+
}
|
|
13918
|
+
]
|
|
13919
|
+
}
|
|
13920
|
+
],
|
|
13921
|
+
outputs: [
|
|
13922
|
+
{
|
|
13923
|
+
name: "digest",
|
|
13924
|
+
type: "bytes32",
|
|
13925
|
+
internalType: "bytes32"
|
|
13926
|
+
}
|
|
13927
|
+
],
|
|
13928
|
+
stateMutability: "view"
|
|
13929
|
+
},
|
|
13803
13930
|
{
|
|
13804
13931
|
type: "function",
|
|
13805
13932
|
name: "hashWithdrawal",
|
|
@@ -13851,6 +13978,35 @@ var IRelayFundingPool = [
|
|
|
13851
13978
|
],
|
|
13852
13979
|
stateMutability: "view"
|
|
13853
13980
|
},
|
|
13981
|
+
{
|
|
13982
|
+
type: "function",
|
|
13983
|
+
name: "orderDraws",
|
|
13984
|
+
inputs: [
|
|
13985
|
+
{
|
|
13986
|
+
name: "requestHash",
|
|
13987
|
+
type: "bytes32",
|
|
13988
|
+
internalType: "bytes32"
|
|
13989
|
+
},
|
|
13990
|
+
{
|
|
13991
|
+
name: "account",
|
|
13992
|
+
type: "address",
|
|
13993
|
+
internalType: "address"
|
|
13994
|
+
},
|
|
13995
|
+
{
|
|
13996
|
+
name: "token",
|
|
13997
|
+
type: "address",
|
|
13998
|
+
internalType: "address"
|
|
13999
|
+
}
|
|
14000
|
+
],
|
|
14001
|
+
outputs: [
|
|
14002
|
+
{
|
|
14003
|
+
name: "drawn",
|
|
14004
|
+
type: "uint256",
|
|
14005
|
+
internalType: "uint256"
|
|
14006
|
+
}
|
|
14007
|
+
],
|
|
14008
|
+
stateMutability: "view"
|
|
14009
|
+
},
|
|
13854
14010
|
{
|
|
13855
14011
|
type: "function",
|
|
13856
14012
|
name: "setSponsorshipConfig",
|
|
@@ -13887,6 +14043,108 @@ var IRelayFundingPool = [
|
|
|
13887
14043
|
],
|
|
13888
14044
|
stateMutability: "nonpayable"
|
|
13889
14045
|
},
|
|
14046
|
+
{
|
|
14047
|
+
type: "function",
|
|
14048
|
+
name: "setSponsorshipConfig",
|
|
14049
|
+
inputs: [
|
|
14050
|
+
{
|
|
14051
|
+
name: "update",
|
|
14052
|
+
type: "tuple",
|
|
14053
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
14054
|
+
components: [
|
|
14055
|
+
{
|
|
14056
|
+
name: "account",
|
|
14057
|
+
type: "address",
|
|
14058
|
+
internalType: "address"
|
|
14059
|
+
},
|
|
14060
|
+
{
|
|
14061
|
+
name: "token",
|
|
14062
|
+
type: "address",
|
|
14063
|
+
internalType: "address"
|
|
14064
|
+
},
|
|
14065
|
+
{
|
|
14066
|
+
name: "perOrderCap",
|
|
14067
|
+
type: "uint256",
|
|
14068
|
+
internalType: "uint256"
|
|
14069
|
+
},
|
|
14070
|
+
{
|
|
14071
|
+
name: "budget",
|
|
14072
|
+
type: "uint256",
|
|
14073
|
+
internalType: "uint256"
|
|
14074
|
+
},
|
|
14075
|
+
{
|
|
14076
|
+
name: "expiry",
|
|
14077
|
+
type: "uint64",
|
|
14078
|
+
internalType: "uint64"
|
|
14079
|
+
},
|
|
14080
|
+
{
|
|
14081
|
+
name: "nonce",
|
|
14082
|
+
type: "uint256",
|
|
14083
|
+
internalType: "uint256"
|
|
14084
|
+
},
|
|
14085
|
+
{
|
|
14086
|
+
name: "deadline",
|
|
14087
|
+
type: "uint256",
|
|
14088
|
+
internalType: "uint256"
|
|
14089
|
+
}
|
|
14090
|
+
]
|
|
14091
|
+
},
|
|
14092
|
+
{
|
|
14093
|
+
name: "signature",
|
|
14094
|
+
type: "bytes",
|
|
14095
|
+
internalType: "bytes"
|
|
14096
|
+
}
|
|
14097
|
+
],
|
|
14098
|
+
outputs: [
|
|
14099
|
+
],
|
|
14100
|
+
stateMutability: "nonpayable"
|
|
14101
|
+
},
|
|
14102
|
+
{
|
|
14103
|
+
type: "function",
|
|
14104
|
+
name: "setSponsorshipResolver",
|
|
14105
|
+
inputs: [
|
|
14106
|
+
{
|
|
14107
|
+
name: "update",
|
|
14108
|
+
type: "tuple",
|
|
14109
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
14110
|
+
components: [
|
|
14111
|
+
{
|
|
14112
|
+
name: "account",
|
|
14113
|
+
type: "address",
|
|
14114
|
+
internalType: "address"
|
|
14115
|
+
},
|
|
14116
|
+
{
|
|
14117
|
+
name: "resolver",
|
|
14118
|
+
type: "address",
|
|
14119
|
+
internalType: "address"
|
|
14120
|
+
},
|
|
14121
|
+
{
|
|
14122
|
+
name: "allowed",
|
|
14123
|
+
type: "bool",
|
|
14124
|
+
internalType: "bool"
|
|
14125
|
+
},
|
|
14126
|
+
{
|
|
14127
|
+
name: "nonce",
|
|
14128
|
+
type: "uint256",
|
|
14129
|
+
internalType: "uint256"
|
|
14130
|
+
},
|
|
14131
|
+
{
|
|
14132
|
+
name: "deadline",
|
|
14133
|
+
type: "uint256",
|
|
14134
|
+
internalType: "uint256"
|
|
14135
|
+
}
|
|
14136
|
+
]
|
|
14137
|
+
},
|
|
14138
|
+
{
|
|
14139
|
+
name: "signature",
|
|
14140
|
+
type: "bytes",
|
|
14141
|
+
internalType: "bytes"
|
|
14142
|
+
}
|
|
14143
|
+
],
|
|
14144
|
+
outputs: [
|
|
14145
|
+
],
|
|
14146
|
+
stateMutability: "nonpayable"
|
|
14147
|
+
},
|
|
13890
14148
|
{
|
|
13891
14149
|
type: "function",
|
|
13892
14150
|
name: "setSponsorshipResolver",
|
|
@@ -14095,6 +14353,34 @@ var RelayFundingPool = [
|
|
|
14095
14353
|
],
|
|
14096
14354
|
stateMutability: "view"
|
|
14097
14355
|
},
|
|
14356
|
+
{
|
|
14357
|
+
type: "function",
|
|
14358
|
+
name: "SPONSORSHIP_CONFIG_UPDATE_TYPEHASH",
|
|
14359
|
+
inputs: [
|
|
14360
|
+
],
|
|
14361
|
+
outputs: [
|
|
14362
|
+
{
|
|
14363
|
+
name: "",
|
|
14364
|
+
type: "bytes32",
|
|
14365
|
+
internalType: "bytes32"
|
|
14366
|
+
}
|
|
14367
|
+
],
|
|
14368
|
+
stateMutability: "view"
|
|
14369
|
+
},
|
|
14370
|
+
{
|
|
14371
|
+
type: "function",
|
|
14372
|
+
name: "SPONSORSHIP_RESOLVER_UPDATE_TYPEHASH",
|
|
14373
|
+
inputs: [
|
|
14374
|
+
],
|
|
14375
|
+
outputs: [
|
|
14376
|
+
{
|
|
14377
|
+
name: "",
|
|
14378
|
+
type: "bytes32",
|
|
14379
|
+
internalType: "bytes32"
|
|
14380
|
+
}
|
|
14381
|
+
],
|
|
14382
|
+
stateMutability: "view"
|
|
14383
|
+
},
|
|
14098
14384
|
{
|
|
14099
14385
|
type: "function",
|
|
14100
14386
|
name: "WITHDRAWER_ROLE",
|
|
@@ -14151,6 +14437,16 @@ var RelayFundingPool = [
|
|
|
14151
14437
|
name: "amount",
|
|
14152
14438
|
type: "uint256",
|
|
14153
14439
|
internalType: "uint256"
|
|
14440
|
+
},
|
|
14441
|
+
{
|
|
14442
|
+
name: "requestHash",
|
|
14443
|
+
type: "bytes32",
|
|
14444
|
+
internalType: "bytes32"
|
|
14445
|
+
},
|
|
14446
|
+
{
|
|
14447
|
+
name: "kind",
|
|
14448
|
+
type: "uint8",
|
|
14449
|
+
internalType: "enum DrawLegKind"
|
|
14154
14450
|
}
|
|
14155
14451
|
],
|
|
14156
14452
|
outputs: [
|
|
@@ -14180,6 +14476,16 @@ var RelayFundingPool = [
|
|
|
14180
14476
|
name: "requestHash",
|
|
14181
14477
|
type: "bytes32",
|
|
14182
14478
|
internalType: "bytes32"
|
|
14479
|
+
},
|
|
14480
|
+
{
|
|
14481
|
+
name: "legIndex",
|
|
14482
|
+
type: "uint256",
|
|
14483
|
+
internalType: "uint256"
|
|
14484
|
+
},
|
|
14485
|
+
{
|
|
14486
|
+
name: "kind",
|
|
14487
|
+
type: "uint8",
|
|
14488
|
+
internalType: "enum DrawLegKind"
|
|
14183
14489
|
}
|
|
14184
14490
|
],
|
|
14185
14491
|
outputs: [
|
|
@@ -14223,6 +14529,11 @@ var RelayFundingPool = [
|
|
|
14223
14529
|
name: "account",
|
|
14224
14530
|
type: "address",
|
|
14225
14531
|
internalType: "address"
|
|
14532
|
+
},
|
|
14533
|
+
{
|
|
14534
|
+
name: "legIndex",
|
|
14535
|
+
type: "uint256",
|
|
14536
|
+
internalType: "uint256"
|
|
14226
14537
|
}
|
|
14227
14538
|
],
|
|
14228
14539
|
outputs: [
|
|
@@ -14314,28 +14625,130 @@ var RelayFundingPool = [
|
|
|
14314
14625
|
],
|
|
14315
14626
|
outputs: [
|
|
14316
14627
|
],
|
|
14317
|
-
stateMutability: "nonpayable"
|
|
14628
|
+
stateMutability: "nonpayable"
|
|
14629
|
+
},
|
|
14630
|
+
{
|
|
14631
|
+
type: "function",
|
|
14632
|
+
name: "hasRole",
|
|
14633
|
+
inputs: [
|
|
14634
|
+
{
|
|
14635
|
+
name: "role",
|
|
14636
|
+
type: "bytes32",
|
|
14637
|
+
internalType: "bytes32"
|
|
14638
|
+
},
|
|
14639
|
+
{
|
|
14640
|
+
name: "account",
|
|
14641
|
+
type: "address",
|
|
14642
|
+
internalType: "address"
|
|
14643
|
+
}
|
|
14644
|
+
],
|
|
14645
|
+
outputs: [
|
|
14646
|
+
{
|
|
14647
|
+
name: "",
|
|
14648
|
+
type: "bool",
|
|
14649
|
+
internalType: "bool"
|
|
14650
|
+
}
|
|
14651
|
+
],
|
|
14652
|
+
stateMutability: "view"
|
|
14653
|
+
},
|
|
14654
|
+
{
|
|
14655
|
+
type: "function",
|
|
14656
|
+
name: "hashSponsorshipConfigUpdate",
|
|
14657
|
+
inputs: [
|
|
14658
|
+
{
|
|
14659
|
+
name: "update",
|
|
14660
|
+
type: "tuple",
|
|
14661
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
14662
|
+
components: [
|
|
14663
|
+
{
|
|
14664
|
+
name: "account",
|
|
14665
|
+
type: "address",
|
|
14666
|
+
internalType: "address"
|
|
14667
|
+
},
|
|
14668
|
+
{
|
|
14669
|
+
name: "token",
|
|
14670
|
+
type: "address",
|
|
14671
|
+
internalType: "address"
|
|
14672
|
+
},
|
|
14673
|
+
{
|
|
14674
|
+
name: "perOrderCap",
|
|
14675
|
+
type: "uint256",
|
|
14676
|
+
internalType: "uint256"
|
|
14677
|
+
},
|
|
14678
|
+
{
|
|
14679
|
+
name: "budget",
|
|
14680
|
+
type: "uint256",
|
|
14681
|
+
internalType: "uint256"
|
|
14682
|
+
},
|
|
14683
|
+
{
|
|
14684
|
+
name: "expiry",
|
|
14685
|
+
type: "uint64",
|
|
14686
|
+
internalType: "uint64"
|
|
14687
|
+
},
|
|
14688
|
+
{
|
|
14689
|
+
name: "nonce",
|
|
14690
|
+
type: "uint256",
|
|
14691
|
+
internalType: "uint256"
|
|
14692
|
+
},
|
|
14693
|
+
{
|
|
14694
|
+
name: "deadline",
|
|
14695
|
+
type: "uint256",
|
|
14696
|
+
internalType: "uint256"
|
|
14697
|
+
}
|
|
14698
|
+
]
|
|
14699
|
+
}
|
|
14700
|
+
],
|
|
14701
|
+
outputs: [
|
|
14702
|
+
{
|
|
14703
|
+
name: "digest",
|
|
14704
|
+
type: "bytes32",
|
|
14705
|
+
internalType: "bytes32"
|
|
14706
|
+
}
|
|
14707
|
+
],
|
|
14708
|
+
stateMutability: "view"
|
|
14318
14709
|
},
|
|
14319
14710
|
{
|
|
14320
14711
|
type: "function",
|
|
14321
|
-
name: "
|
|
14712
|
+
name: "hashSponsorshipResolverUpdate",
|
|
14322
14713
|
inputs: [
|
|
14323
14714
|
{
|
|
14324
|
-
name: "
|
|
14325
|
-
type: "
|
|
14326
|
-
internalType: "
|
|
14327
|
-
|
|
14328
|
-
|
|
14329
|
-
|
|
14330
|
-
|
|
14331
|
-
|
|
14715
|
+
name: "update",
|
|
14716
|
+
type: "tuple",
|
|
14717
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
14718
|
+
components: [
|
|
14719
|
+
{
|
|
14720
|
+
name: "account",
|
|
14721
|
+
type: "address",
|
|
14722
|
+
internalType: "address"
|
|
14723
|
+
},
|
|
14724
|
+
{
|
|
14725
|
+
name: "resolver",
|
|
14726
|
+
type: "address",
|
|
14727
|
+
internalType: "address"
|
|
14728
|
+
},
|
|
14729
|
+
{
|
|
14730
|
+
name: "allowed",
|
|
14731
|
+
type: "bool",
|
|
14732
|
+
internalType: "bool"
|
|
14733
|
+
},
|
|
14734
|
+
{
|
|
14735
|
+
name: "nonce",
|
|
14736
|
+
type: "uint256",
|
|
14737
|
+
internalType: "uint256"
|
|
14738
|
+
},
|
|
14739
|
+
{
|
|
14740
|
+
name: "deadline",
|
|
14741
|
+
type: "uint256",
|
|
14742
|
+
internalType: "uint256"
|
|
14743
|
+
}
|
|
14744
|
+
]
|
|
14332
14745
|
}
|
|
14333
14746
|
],
|
|
14334
14747
|
outputs: [
|
|
14335
14748
|
{
|
|
14336
|
-
name: "",
|
|
14337
|
-
type: "
|
|
14338
|
-
internalType: "
|
|
14749
|
+
name: "digest",
|
|
14750
|
+
type: "bytes32",
|
|
14751
|
+
internalType: "bytes32"
|
|
14339
14752
|
}
|
|
14340
14753
|
],
|
|
14341
14754
|
stateMutability: "view"
|
|
@@ -14391,6 +14804,35 @@ var RelayFundingPool = [
|
|
|
14391
14804
|
],
|
|
14392
14805
|
stateMutability: "view"
|
|
14393
14806
|
},
|
|
14807
|
+
{
|
|
14808
|
+
type: "function",
|
|
14809
|
+
name: "orderDraws",
|
|
14810
|
+
inputs: [
|
|
14811
|
+
{
|
|
14812
|
+
name: "requestHash",
|
|
14813
|
+
type: "bytes32",
|
|
14814
|
+
internalType: "bytes32"
|
|
14815
|
+
},
|
|
14816
|
+
{
|
|
14817
|
+
name: "account",
|
|
14818
|
+
type: "address",
|
|
14819
|
+
internalType: "address"
|
|
14820
|
+
},
|
|
14821
|
+
{
|
|
14822
|
+
name: "token",
|
|
14823
|
+
type: "address",
|
|
14824
|
+
internalType: "address"
|
|
14825
|
+
}
|
|
14826
|
+
],
|
|
14827
|
+
outputs: [
|
|
14828
|
+
{
|
|
14829
|
+
name: "drawn",
|
|
14830
|
+
type: "uint256",
|
|
14831
|
+
internalType: "uint256"
|
|
14832
|
+
}
|
|
14833
|
+
],
|
|
14834
|
+
stateMutability: "view"
|
|
14835
|
+
},
|
|
14394
14836
|
{
|
|
14395
14837
|
type: "function",
|
|
14396
14838
|
name: "pause",
|
|
@@ -14488,6 +14930,108 @@ var RelayFundingPool = [
|
|
|
14488
14930
|
],
|
|
14489
14931
|
stateMutability: "nonpayable"
|
|
14490
14932
|
},
|
|
14933
|
+
{
|
|
14934
|
+
type: "function",
|
|
14935
|
+
name: "setSponsorshipConfig",
|
|
14936
|
+
inputs: [
|
|
14937
|
+
{
|
|
14938
|
+
name: "update",
|
|
14939
|
+
type: "tuple",
|
|
14940
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
14941
|
+
components: [
|
|
14942
|
+
{
|
|
14943
|
+
name: "account",
|
|
14944
|
+
type: "address",
|
|
14945
|
+
internalType: "address"
|
|
14946
|
+
},
|
|
14947
|
+
{
|
|
14948
|
+
name: "token",
|
|
14949
|
+
type: "address",
|
|
14950
|
+
internalType: "address"
|
|
14951
|
+
},
|
|
14952
|
+
{
|
|
14953
|
+
name: "perOrderCap",
|
|
14954
|
+
type: "uint256",
|
|
14955
|
+
internalType: "uint256"
|
|
14956
|
+
},
|
|
14957
|
+
{
|
|
14958
|
+
name: "budget",
|
|
14959
|
+
type: "uint256",
|
|
14960
|
+
internalType: "uint256"
|
|
14961
|
+
},
|
|
14962
|
+
{
|
|
14963
|
+
name: "expiry",
|
|
14964
|
+
type: "uint64",
|
|
14965
|
+
internalType: "uint64"
|
|
14966
|
+
},
|
|
14967
|
+
{
|
|
14968
|
+
name: "nonce",
|
|
14969
|
+
type: "uint256",
|
|
14970
|
+
internalType: "uint256"
|
|
14971
|
+
},
|
|
14972
|
+
{
|
|
14973
|
+
name: "deadline",
|
|
14974
|
+
type: "uint256",
|
|
14975
|
+
internalType: "uint256"
|
|
14976
|
+
}
|
|
14977
|
+
]
|
|
14978
|
+
},
|
|
14979
|
+
{
|
|
14980
|
+
name: "signature",
|
|
14981
|
+
type: "bytes",
|
|
14982
|
+
internalType: "bytes"
|
|
14983
|
+
}
|
|
14984
|
+
],
|
|
14985
|
+
outputs: [
|
|
14986
|
+
],
|
|
14987
|
+
stateMutability: "nonpayable"
|
|
14988
|
+
},
|
|
14989
|
+
{
|
|
14990
|
+
type: "function",
|
|
14991
|
+
name: "setSponsorshipResolver",
|
|
14992
|
+
inputs: [
|
|
14993
|
+
{
|
|
14994
|
+
name: "update",
|
|
14995
|
+
type: "tuple",
|
|
14996
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
14997
|
+
components: [
|
|
14998
|
+
{
|
|
14999
|
+
name: "account",
|
|
15000
|
+
type: "address",
|
|
15001
|
+
internalType: "address"
|
|
15002
|
+
},
|
|
15003
|
+
{
|
|
15004
|
+
name: "resolver",
|
|
15005
|
+
type: "address",
|
|
15006
|
+
internalType: "address"
|
|
15007
|
+
},
|
|
15008
|
+
{
|
|
15009
|
+
name: "allowed",
|
|
15010
|
+
type: "bool",
|
|
15011
|
+
internalType: "bool"
|
|
15012
|
+
},
|
|
15013
|
+
{
|
|
15014
|
+
name: "nonce",
|
|
15015
|
+
type: "uint256",
|
|
15016
|
+
internalType: "uint256"
|
|
15017
|
+
},
|
|
15018
|
+
{
|
|
15019
|
+
name: "deadline",
|
|
15020
|
+
type: "uint256",
|
|
15021
|
+
internalType: "uint256"
|
|
15022
|
+
}
|
|
15023
|
+
]
|
|
15024
|
+
},
|
|
15025
|
+
{
|
|
15026
|
+
name: "signature",
|
|
15027
|
+
type: "bytes",
|
|
15028
|
+
internalType: "bytes"
|
|
15029
|
+
}
|
|
15030
|
+
],
|
|
15031
|
+
outputs: [
|
|
15032
|
+
],
|
|
15033
|
+
stateMutability: "nonpayable"
|
|
15034
|
+
},
|
|
14491
15035
|
{
|
|
14492
15036
|
type: "function",
|
|
14493
15037
|
name: "setSponsorshipResolver",
|
|
@@ -14593,6 +15137,30 @@ var RelayFundingPool = [
|
|
|
14593
15137
|
],
|
|
14594
15138
|
stateMutability: "nonpayable"
|
|
14595
15139
|
},
|
|
15140
|
+
{
|
|
15141
|
+
type: "function",
|
|
15142
|
+
name: "usedSponsorshipNonces",
|
|
15143
|
+
inputs: [
|
|
15144
|
+
{
|
|
15145
|
+
name: "account",
|
|
15146
|
+
type: "address",
|
|
15147
|
+
internalType: "address"
|
|
15148
|
+
},
|
|
15149
|
+
{
|
|
15150
|
+
name: "nonce",
|
|
15151
|
+
type: "uint256",
|
|
15152
|
+
internalType: "uint256"
|
|
15153
|
+
}
|
|
15154
|
+
],
|
|
15155
|
+
outputs: [
|
|
15156
|
+
{
|
|
15157
|
+
name: "used",
|
|
15158
|
+
type: "bool",
|
|
15159
|
+
internalType: "bool"
|
|
15160
|
+
}
|
|
15161
|
+
],
|
|
15162
|
+
stateMutability: "view"
|
|
15163
|
+
},
|
|
14596
15164
|
{
|
|
14597
15165
|
type: "function",
|
|
14598
15166
|
name: "usedWithdrawalNonces",
|
|
@@ -14696,6 +15264,12 @@ var RelayFundingPool = [
|
|
|
14696
15264
|
type: "event",
|
|
14697
15265
|
name: "Credited",
|
|
14698
15266
|
inputs: [
|
|
15267
|
+
{
|
|
15268
|
+
name: "requestHash",
|
|
15269
|
+
type: "bytes32",
|
|
15270
|
+
indexed: true,
|
|
15271
|
+
internalType: "bytes32"
|
|
15272
|
+
},
|
|
14699
15273
|
{
|
|
14700
15274
|
name: "account",
|
|
14701
15275
|
type: "address",
|
|
@@ -14711,9 +15285,15 @@ var RelayFundingPool = [
|
|
|
14711
15285
|
{
|
|
14712
15286
|
name: "resolver",
|
|
14713
15287
|
type: "address",
|
|
14714
|
-
indexed:
|
|
15288
|
+
indexed: false,
|
|
14715
15289
|
internalType: "address"
|
|
14716
15290
|
},
|
|
15291
|
+
{
|
|
15292
|
+
name: "kind",
|
|
15293
|
+
type: "uint8",
|
|
15294
|
+
indexed: false,
|
|
15295
|
+
internalType: "enum DrawLegKind"
|
|
15296
|
+
},
|
|
14717
15297
|
{
|
|
14718
15298
|
name: "amount",
|
|
14719
15299
|
type: "uint256",
|
|
@@ -14782,6 +15362,18 @@ var RelayFundingPool = [
|
|
|
14782
15362
|
indexed: false,
|
|
14783
15363
|
internalType: "address"
|
|
14784
15364
|
},
|
|
15365
|
+
{
|
|
15366
|
+
name: "kind",
|
|
15367
|
+
type: "uint8",
|
|
15368
|
+
indexed: false,
|
|
15369
|
+
internalType: "enum DrawLegKind"
|
|
15370
|
+
},
|
|
15371
|
+
{
|
|
15372
|
+
name: "legIndex",
|
|
15373
|
+
type: "uint256",
|
|
15374
|
+
indexed: false,
|
|
15375
|
+
internalType: "uint256"
|
|
15376
|
+
},
|
|
14785
15377
|
{
|
|
14786
15378
|
name: "amount",
|
|
14787
15379
|
type: "uint256",
|
|
@@ -15027,6 +15619,11 @@ var RelayFundingPool = [
|
|
|
15027
15619
|
name: "account",
|
|
15028
15620
|
type: "address",
|
|
15029
15621
|
internalType: "address"
|
|
15622
|
+
},
|
|
15623
|
+
{
|
|
15624
|
+
name: "legIndex",
|
|
15625
|
+
type: "uint256",
|
|
15626
|
+
internalType: "uint256"
|
|
15030
15627
|
}
|
|
15031
15628
|
]
|
|
15032
15629
|
},
|
|
@@ -15100,6 +15697,17 @@ var RelayFundingPool = [
|
|
|
15100
15697
|
inputs: [
|
|
15101
15698
|
]
|
|
15102
15699
|
},
|
|
15700
|
+
{
|
|
15701
|
+
type: "error",
|
|
15702
|
+
name: "InvalidSponsorshipUpdate",
|
|
15703
|
+
inputs: [
|
|
15704
|
+
{
|
|
15705
|
+
name: "account",
|
|
15706
|
+
type: "address",
|
|
15707
|
+
internalType: "address"
|
|
15708
|
+
}
|
|
15709
|
+
]
|
|
15710
|
+
},
|
|
15103
15711
|
{
|
|
15104
15712
|
type: "error",
|
|
15105
15713
|
name: "InvalidWithdrawal",
|
|
@@ -15126,7 +15734,7 @@ var RelayFundingPool = [
|
|
|
15126
15734
|
internalType: "address"
|
|
15127
15735
|
},
|
|
15128
15736
|
{
|
|
15129
|
-
name: "
|
|
15737
|
+
name: "orderTotal",
|
|
15130
15738
|
type: "uint256",
|
|
15131
15739
|
internalType: "uint256"
|
|
15132
15740
|
},
|
|
@@ -15191,6 +15799,33 @@ var RelayFundingPool = [
|
|
|
15191
15799
|
}
|
|
15192
15800
|
]
|
|
15193
15801
|
},
|
|
15802
|
+
{
|
|
15803
|
+
type: "error",
|
|
15804
|
+
name: "SponsorshipNonceUsed",
|
|
15805
|
+
inputs: [
|
|
15806
|
+
{
|
|
15807
|
+
name: "account",
|
|
15808
|
+
type: "address",
|
|
15809
|
+
internalType: "address"
|
|
15810
|
+
},
|
|
15811
|
+
{
|
|
15812
|
+
name: "nonce",
|
|
15813
|
+
type: "uint256",
|
|
15814
|
+
internalType: "uint256"
|
|
15815
|
+
}
|
|
15816
|
+
]
|
|
15817
|
+
},
|
|
15818
|
+
{
|
|
15819
|
+
type: "error",
|
|
15820
|
+
name: "SponsorshipUpdateExpired",
|
|
15821
|
+
inputs: [
|
|
15822
|
+
{
|
|
15823
|
+
name: "deadline",
|
|
15824
|
+
type: "uint256",
|
|
15825
|
+
internalType: "uint256"
|
|
15826
|
+
}
|
|
15827
|
+
]
|
|
15828
|
+
},
|
|
15194
15829
|
{
|
|
15195
15830
|
type: "error",
|
|
15196
15831
|
name: "StringTooLong",
|