@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.d.mts +773 -106
- package/dist/index.d.ts +773 -106
- package/dist/index.js +762 -101
- package/dist/index.mjs +762 -101
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9835,6 +9835,22 @@ var PoolDrawResolver = [
|
|
|
9835
9835
|
}
|
|
9836
9836
|
]
|
|
9837
9837
|
},
|
|
9838
|
+
{
|
|
9839
|
+
type: "error",
|
|
9840
|
+
name: "PayloadCommitmentMismatch",
|
|
9841
|
+
inputs: [
|
|
9842
|
+
{
|
|
9843
|
+
name: "expected",
|
|
9844
|
+
type: "bytes32",
|
|
9845
|
+
internalType: "bytes32"
|
|
9846
|
+
},
|
|
9847
|
+
{
|
|
9848
|
+
name: "actual",
|
|
9849
|
+
type: "bytes32",
|
|
9850
|
+
internalType: "bytes32"
|
|
9851
|
+
}
|
|
9852
|
+
]
|
|
9853
|
+
},
|
|
9838
9854
|
{
|
|
9839
9855
|
type: "error",
|
|
9840
9856
|
name: "ReentrancyGuardReentrantCall",
|
|
@@ -10254,6 +10270,22 @@ var PoolResolverBase = [
|
|
|
10254
10270
|
}
|
|
10255
10271
|
]
|
|
10256
10272
|
},
|
|
10273
|
+
{
|
|
10274
|
+
type: "error",
|
|
10275
|
+
name: "PayloadCommitmentMismatch",
|
|
10276
|
+
inputs: [
|
|
10277
|
+
{
|
|
10278
|
+
name: "expected",
|
|
10279
|
+
type: "bytes32",
|
|
10280
|
+
internalType: "bytes32"
|
|
10281
|
+
},
|
|
10282
|
+
{
|
|
10283
|
+
name: "actual",
|
|
10284
|
+
type: "bytes32",
|
|
10285
|
+
internalType: "bytes32"
|
|
10286
|
+
}
|
|
10287
|
+
]
|
|
10288
|
+
},
|
|
10257
10289
|
{
|
|
10258
10290
|
type: "error",
|
|
10259
10291
|
name: "ReentrancyGuardReentrantCall",
|
|
@@ -13717,6 +13749,16 @@ var IRelayFundingPool = [
|
|
|
13717
13749
|
name: "amount",
|
|
13718
13750
|
type: "uint256",
|
|
13719
13751
|
internalType: "uint256"
|
|
13752
|
+
},
|
|
13753
|
+
{
|
|
13754
|
+
name: "requestHash",
|
|
13755
|
+
type: "bytes32",
|
|
13756
|
+
internalType: "bytes32"
|
|
13757
|
+
},
|
|
13758
|
+
{
|
|
13759
|
+
name: "kind",
|
|
13760
|
+
type: "uint8",
|
|
13761
|
+
internalType: "enum DrawLegKind"
|
|
13720
13762
|
}
|
|
13721
13763
|
],
|
|
13722
13764
|
outputs: [
|
|
@@ -13746,6 +13788,16 @@ var IRelayFundingPool = [
|
|
|
13746
13788
|
name: "requestHash",
|
|
13747
13789
|
type: "bytes32",
|
|
13748
13790
|
internalType: "bytes32"
|
|
13791
|
+
},
|
|
13792
|
+
{
|
|
13793
|
+
name: "legIndex",
|
|
13794
|
+
type: "uint256",
|
|
13795
|
+
internalType: "uint256"
|
|
13796
|
+
},
|
|
13797
|
+
{
|
|
13798
|
+
name: "kind",
|
|
13799
|
+
type: "uint8",
|
|
13800
|
+
internalType: "enum DrawLegKind"
|
|
13749
13801
|
}
|
|
13750
13802
|
],
|
|
13751
13803
|
outputs: [
|
|
@@ -13789,6 +13841,11 @@ var IRelayFundingPool = [
|
|
|
13789
13841
|
name: "account",
|
|
13790
13842
|
type: "address",
|
|
13791
13843
|
internalType: "address"
|
|
13844
|
+
},
|
|
13845
|
+
{
|
|
13846
|
+
name: "legIndex",
|
|
13847
|
+
type: "uint256",
|
|
13848
|
+
internalType: "uint256"
|
|
13792
13849
|
}
|
|
13793
13850
|
],
|
|
13794
13851
|
outputs: [
|
|
@@ -13802,12 +13859,12 @@ var IRelayFundingPool = [
|
|
|
13802
13859
|
},
|
|
13803
13860
|
{
|
|
13804
13861
|
type: "function",
|
|
13805
|
-
name: "
|
|
13862
|
+
name: "hashSponsorshipConfigUpdate",
|
|
13806
13863
|
inputs: [
|
|
13807
13864
|
{
|
|
13808
|
-
name: "
|
|
13865
|
+
name: "update",
|
|
13809
13866
|
type: "tuple",
|
|
13810
|
-
internalType: "struct
|
|
13867
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
13811
13868
|
components: [
|
|
13812
13869
|
{
|
|
13813
13870
|
name: "account",
|
|
@@ -13820,14 +13877,19 @@ var IRelayFundingPool = [
|
|
|
13820
13877
|
internalType: "address"
|
|
13821
13878
|
},
|
|
13822
13879
|
{
|
|
13823
|
-
name: "
|
|
13880
|
+
name: "perOrderCap",
|
|
13824
13881
|
type: "uint256",
|
|
13825
13882
|
internalType: "uint256"
|
|
13826
13883
|
},
|
|
13827
13884
|
{
|
|
13828
|
-
name: "
|
|
13829
|
-
type: "
|
|
13830
|
-
internalType: "
|
|
13885
|
+
name: "budget",
|
|
13886
|
+
type: "uint256",
|
|
13887
|
+
internalType: "uint256"
|
|
13888
|
+
},
|
|
13889
|
+
{
|
|
13890
|
+
name: "expiry",
|
|
13891
|
+
type: "uint64",
|
|
13892
|
+
internalType: "uint64"
|
|
13831
13893
|
},
|
|
13832
13894
|
{
|
|
13833
13895
|
name: "nonce",
|
|
@@ -13853,63 +13915,110 @@ var IRelayFundingPool = [
|
|
|
13853
13915
|
},
|
|
13854
13916
|
{
|
|
13855
13917
|
type: "function",
|
|
13856
|
-
name: "
|
|
13918
|
+
name: "hashSponsorshipResolverUpdate",
|
|
13857
13919
|
inputs: [
|
|
13858
13920
|
{
|
|
13859
|
-
name: "
|
|
13860
|
-
type: "address",
|
|
13861
|
-
internalType: "address"
|
|
13862
|
-
},
|
|
13863
|
-
{
|
|
13864
|
-
name: "config",
|
|
13921
|
+
name: "update",
|
|
13865
13922
|
type: "tuple",
|
|
13866
|
-
internalType: "struct
|
|
13923
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
13867
13924
|
components: [
|
|
13868
13925
|
{
|
|
13869
|
-
name: "
|
|
13870
|
-
type: "
|
|
13871
|
-
internalType: "
|
|
13926
|
+
name: "account",
|
|
13927
|
+
type: "address",
|
|
13928
|
+
internalType: "address"
|
|
13872
13929
|
},
|
|
13873
13930
|
{
|
|
13874
|
-
name: "
|
|
13931
|
+
name: "resolver",
|
|
13932
|
+
type: "address",
|
|
13933
|
+
internalType: "address"
|
|
13934
|
+
},
|
|
13935
|
+
{
|
|
13936
|
+
name: "allowed",
|
|
13937
|
+
type: "bool",
|
|
13938
|
+
internalType: "bool"
|
|
13939
|
+
},
|
|
13940
|
+
{
|
|
13941
|
+
name: "nonce",
|
|
13875
13942
|
type: "uint256",
|
|
13876
13943
|
internalType: "uint256"
|
|
13877
13944
|
},
|
|
13878
13945
|
{
|
|
13879
|
-
name: "
|
|
13880
|
-
type: "
|
|
13881
|
-
internalType: "
|
|
13946
|
+
name: "deadline",
|
|
13947
|
+
type: "uint256",
|
|
13948
|
+
internalType: "uint256"
|
|
13882
13949
|
}
|
|
13883
13950
|
]
|
|
13884
13951
|
}
|
|
13885
13952
|
],
|
|
13886
13953
|
outputs: [
|
|
13954
|
+
{
|
|
13955
|
+
name: "digest",
|
|
13956
|
+
type: "bytes32",
|
|
13957
|
+
internalType: "bytes32"
|
|
13958
|
+
}
|
|
13887
13959
|
],
|
|
13888
|
-
stateMutability: "
|
|
13960
|
+
stateMutability: "view"
|
|
13889
13961
|
},
|
|
13890
13962
|
{
|
|
13891
13963
|
type: "function",
|
|
13892
|
-
name: "
|
|
13964
|
+
name: "hashWithdrawal",
|
|
13893
13965
|
inputs: [
|
|
13894
13966
|
{
|
|
13895
|
-
name: "
|
|
13896
|
-
type: "
|
|
13897
|
-
internalType: "
|
|
13898
|
-
|
|
13899
|
-
|
|
13900
|
-
|
|
13901
|
-
|
|
13902
|
-
|
|
13967
|
+
name: "withdrawal",
|
|
13968
|
+
type: "tuple",
|
|
13969
|
+
internalType: "struct PoolWithdrawal",
|
|
13970
|
+
components: [
|
|
13971
|
+
{
|
|
13972
|
+
name: "account",
|
|
13973
|
+
type: "address",
|
|
13974
|
+
internalType: "address"
|
|
13975
|
+
},
|
|
13976
|
+
{
|
|
13977
|
+
name: "token",
|
|
13978
|
+
type: "address",
|
|
13979
|
+
internalType: "address"
|
|
13980
|
+
},
|
|
13981
|
+
{
|
|
13982
|
+
name: "amount",
|
|
13983
|
+
type: "uint256",
|
|
13984
|
+
internalType: "uint256"
|
|
13985
|
+
},
|
|
13986
|
+
{
|
|
13987
|
+
name: "recipient",
|
|
13988
|
+
type: "address",
|
|
13989
|
+
internalType: "address"
|
|
13990
|
+
},
|
|
13991
|
+
{
|
|
13992
|
+
name: "nonce",
|
|
13993
|
+
type: "uint256",
|
|
13994
|
+
internalType: "uint256"
|
|
13995
|
+
},
|
|
13996
|
+
{
|
|
13997
|
+
name: "deadline",
|
|
13998
|
+
type: "uint256",
|
|
13999
|
+
internalType: "uint256"
|
|
14000
|
+
}
|
|
14001
|
+
]
|
|
13903
14002
|
}
|
|
13904
14003
|
],
|
|
13905
14004
|
outputs: [
|
|
14005
|
+
{
|
|
14006
|
+
name: "digest",
|
|
14007
|
+
type: "bytes32",
|
|
14008
|
+
internalType: "bytes32"
|
|
14009
|
+
}
|
|
13906
14010
|
],
|
|
13907
|
-
stateMutability: "
|
|
14011
|
+
stateMutability: "view"
|
|
13908
14012
|
},
|
|
13909
14013
|
{
|
|
13910
14014
|
type: "function",
|
|
13911
|
-
name: "
|
|
14015
|
+
name: "orderDraws",
|
|
13912
14016
|
inputs: [
|
|
14017
|
+
{
|
|
14018
|
+
name: "requestHash",
|
|
14019
|
+
type: "bytes32",
|
|
14020
|
+
internalType: "bytes32"
|
|
14021
|
+
},
|
|
13913
14022
|
{
|
|
13914
14023
|
name: "account",
|
|
13915
14024
|
type: "address",
|
|
@@ -13923,55 +14032,57 @@ var IRelayFundingPool = [
|
|
|
13923
14032
|
],
|
|
13924
14033
|
outputs: [
|
|
13925
14034
|
{
|
|
13926
|
-
name: "
|
|
13927
|
-
type: "uint256",
|
|
13928
|
-
internalType: "uint256"
|
|
13929
|
-
},
|
|
13930
|
-
{
|
|
13931
|
-
name: "budget",
|
|
14035
|
+
name: "drawn",
|
|
13932
14036
|
type: "uint256",
|
|
13933
14037
|
internalType: "uint256"
|
|
13934
|
-
},
|
|
13935
|
-
{
|
|
13936
|
-
name: "expiry",
|
|
13937
|
-
type: "uint64",
|
|
13938
|
-
internalType: "uint64"
|
|
13939
14038
|
}
|
|
13940
14039
|
],
|
|
13941
14040
|
stateMutability: "view"
|
|
13942
14041
|
},
|
|
13943
14042
|
{
|
|
13944
14043
|
type: "function",
|
|
13945
|
-
name: "
|
|
14044
|
+
name: "setSponsorshipConfig",
|
|
13946
14045
|
inputs: [
|
|
13947
14046
|
{
|
|
13948
|
-
name: "
|
|
14047
|
+
name: "token",
|
|
13949
14048
|
type: "address",
|
|
13950
14049
|
internalType: "address"
|
|
13951
14050
|
},
|
|
13952
14051
|
{
|
|
13953
|
-
name: "
|
|
13954
|
-
type: "
|
|
13955
|
-
internalType: "
|
|
14052
|
+
name: "config",
|
|
14053
|
+
type: "tuple",
|
|
14054
|
+
internalType: "struct SponsorshipConfig",
|
|
14055
|
+
components: [
|
|
14056
|
+
{
|
|
14057
|
+
name: "perOrderCap",
|
|
14058
|
+
type: "uint256",
|
|
14059
|
+
internalType: "uint256"
|
|
14060
|
+
},
|
|
14061
|
+
{
|
|
14062
|
+
name: "budget",
|
|
14063
|
+
type: "uint256",
|
|
14064
|
+
internalType: "uint256"
|
|
14065
|
+
},
|
|
14066
|
+
{
|
|
14067
|
+
name: "expiry",
|
|
14068
|
+
type: "uint64",
|
|
14069
|
+
internalType: "uint64"
|
|
14070
|
+
}
|
|
14071
|
+
]
|
|
13956
14072
|
}
|
|
13957
14073
|
],
|
|
13958
14074
|
outputs: [
|
|
13959
|
-
{
|
|
13960
|
-
name: "allowed",
|
|
13961
|
-
type: "bool",
|
|
13962
|
-
internalType: "bool"
|
|
13963
|
-
}
|
|
13964
14075
|
],
|
|
13965
|
-
stateMutability: "
|
|
14076
|
+
stateMutability: "nonpayable"
|
|
13966
14077
|
},
|
|
13967
14078
|
{
|
|
13968
14079
|
type: "function",
|
|
13969
|
-
name: "
|
|
14080
|
+
name: "setSponsorshipConfig",
|
|
13970
14081
|
inputs: [
|
|
13971
14082
|
{
|
|
13972
|
-
name: "
|
|
14083
|
+
name: "update",
|
|
13973
14084
|
type: "tuple",
|
|
13974
|
-
internalType: "struct
|
|
14085
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
13975
14086
|
components: [
|
|
13976
14087
|
{
|
|
13977
14088
|
name: "account",
|
|
@@ -13984,14 +14095,19 @@ var IRelayFundingPool = [
|
|
|
13984
14095
|
internalType: "address"
|
|
13985
14096
|
},
|
|
13986
14097
|
{
|
|
13987
|
-
name: "
|
|
14098
|
+
name: "perOrderCap",
|
|
13988
14099
|
type: "uint256",
|
|
13989
14100
|
internalType: "uint256"
|
|
13990
14101
|
},
|
|
13991
14102
|
{
|
|
13992
|
-
name: "
|
|
13993
|
-
type: "
|
|
13994
|
-
internalType: "
|
|
14103
|
+
name: "budget",
|
|
14104
|
+
type: "uint256",
|
|
14105
|
+
internalType: "uint256"
|
|
14106
|
+
},
|
|
14107
|
+
{
|
|
14108
|
+
name: "expiry",
|
|
14109
|
+
type: "uint64",
|
|
14110
|
+
internalType: "uint64"
|
|
13995
14111
|
},
|
|
13996
14112
|
{
|
|
13997
14113
|
name: "nonce",
|
|
@@ -14014,39 +14130,213 @@ var IRelayFundingPool = [
|
|
|
14014
14130
|
outputs: [
|
|
14015
14131
|
],
|
|
14016
14132
|
stateMutability: "nonpayable"
|
|
14017
|
-
}
|
|
14018
|
-
];
|
|
14019
|
-
|
|
14020
|
-
var RelayFundingPool = [
|
|
14021
|
-
{
|
|
14022
|
-
type: "constructor",
|
|
14023
|
-
inputs: [
|
|
14024
|
-
{
|
|
14025
|
-
name: "admin",
|
|
14026
|
-
type: "address",
|
|
14027
|
-
internalType: "address"
|
|
14028
|
-
},
|
|
14029
|
-
{
|
|
14030
|
-
name: "withdrawer",
|
|
14031
|
-
type: "address",
|
|
14032
|
-
internalType: "address"
|
|
14033
|
-
},
|
|
14034
|
-
{
|
|
14035
|
-
name: "resolver",
|
|
14036
|
-
type: "address",
|
|
14037
|
-
internalType: "address"
|
|
14038
|
-
}
|
|
14039
|
-
],
|
|
14040
|
-
stateMutability: "nonpayable"
|
|
14041
14133
|
},
|
|
14042
14134
|
{
|
|
14043
14135
|
type: "function",
|
|
14044
|
-
name: "
|
|
14136
|
+
name: "setSponsorshipResolver",
|
|
14045
14137
|
inputs: [
|
|
14046
|
-
],
|
|
14047
|
-
outputs: [
|
|
14048
14138
|
{
|
|
14049
|
-
name: "",
|
|
14139
|
+
name: "update",
|
|
14140
|
+
type: "tuple",
|
|
14141
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
14142
|
+
components: [
|
|
14143
|
+
{
|
|
14144
|
+
name: "account",
|
|
14145
|
+
type: "address",
|
|
14146
|
+
internalType: "address"
|
|
14147
|
+
},
|
|
14148
|
+
{
|
|
14149
|
+
name: "resolver",
|
|
14150
|
+
type: "address",
|
|
14151
|
+
internalType: "address"
|
|
14152
|
+
},
|
|
14153
|
+
{
|
|
14154
|
+
name: "allowed",
|
|
14155
|
+
type: "bool",
|
|
14156
|
+
internalType: "bool"
|
|
14157
|
+
},
|
|
14158
|
+
{
|
|
14159
|
+
name: "nonce",
|
|
14160
|
+
type: "uint256",
|
|
14161
|
+
internalType: "uint256"
|
|
14162
|
+
},
|
|
14163
|
+
{
|
|
14164
|
+
name: "deadline",
|
|
14165
|
+
type: "uint256",
|
|
14166
|
+
internalType: "uint256"
|
|
14167
|
+
}
|
|
14168
|
+
]
|
|
14169
|
+
},
|
|
14170
|
+
{
|
|
14171
|
+
name: "signature",
|
|
14172
|
+
type: "bytes",
|
|
14173
|
+
internalType: "bytes"
|
|
14174
|
+
}
|
|
14175
|
+
],
|
|
14176
|
+
outputs: [
|
|
14177
|
+
],
|
|
14178
|
+
stateMutability: "nonpayable"
|
|
14179
|
+
},
|
|
14180
|
+
{
|
|
14181
|
+
type: "function",
|
|
14182
|
+
name: "setSponsorshipResolver",
|
|
14183
|
+
inputs: [
|
|
14184
|
+
{
|
|
14185
|
+
name: "resolver",
|
|
14186
|
+
type: "address",
|
|
14187
|
+
internalType: "address"
|
|
14188
|
+
},
|
|
14189
|
+
{
|
|
14190
|
+
name: "allowed",
|
|
14191
|
+
type: "bool",
|
|
14192
|
+
internalType: "bool"
|
|
14193
|
+
}
|
|
14194
|
+
],
|
|
14195
|
+
outputs: [
|
|
14196
|
+
],
|
|
14197
|
+
stateMutability: "nonpayable"
|
|
14198
|
+
},
|
|
14199
|
+
{
|
|
14200
|
+
type: "function",
|
|
14201
|
+
name: "sponsorshipConfig",
|
|
14202
|
+
inputs: [
|
|
14203
|
+
{
|
|
14204
|
+
name: "account",
|
|
14205
|
+
type: "address",
|
|
14206
|
+
internalType: "address"
|
|
14207
|
+
},
|
|
14208
|
+
{
|
|
14209
|
+
name: "token",
|
|
14210
|
+
type: "address",
|
|
14211
|
+
internalType: "address"
|
|
14212
|
+
}
|
|
14213
|
+
],
|
|
14214
|
+
outputs: [
|
|
14215
|
+
{
|
|
14216
|
+
name: "perOrderCap",
|
|
14217
|
+
type: "uint256",
|
|
14218
|
+
internalType: "uint256"
|
|
14219
|
+
},
|
|
14220
|
+
{
|
|
14221
|
+
name: "budget",
|
|
14222
|
+
type: "uint256",
|
|
14223
|
+
internalType: "uint256"
|
|
14224
|
+
},
|
|
14225
|
+
{
|
|
14226
|
+
name: "expiry",
|
|
14227
|
+
type: "uint64",
|
|
14228
|
+
internalType: "uint64"
|
|
14229
|
+
}
|
|
14230
|
+
],
|
|
14231
|
+
stateMutability: "view"
|
|
14232
|
+
},
|
|
14233
|
+
{
|
|
14234
|
+
type: "function",
|
|
14235
|
+
name: "sponsorshipResolvers",
|
|
14236
|
+
inputs: [
|
|
14237
|
+
{
|
|
14238
|
+
name: "account",
|
|
14239
|
+
type: "address",
|
|
14240
|
+
internalType: "address"
|
|
14241
|
+
},
|
|
14242
|
+
{
|
|
14243
|
+
name: "resolver",
|
|
14244
|
+
type: "address",
|
|
14245
|
+
internalType: "address"
|
|
14246
|
+
}
|
|
14247
|
+
],
|
|
14248
|
+
outputs: [
|
|
14249
|
+
{
|
|
14250
|
+
name: "allowed",
|
|
14251
|
+
type: "bool",
|
|
14252
|
+
internalType: "bool"
|
|
14253
|
+
}
|
|
14254
|
+
],
|
|
14255
|
+
stateMutability: "view"
|
|
14256
|
+
},
|
|
14257
|
+
{
|
|
14258
|
+
type: "function",
|
|
14259
|
+
name: "withdraw",
|
|
14260
|
+
inputs: [
|
|
14261
|
+
{
|
|
14262
|
+
name: "withdrawal",
|
|
14263
|
+
type: "tuple",
|
|
14264
|
+
internalType: "struct PoolWithdrawal",
|
|
14265
|
+
components: [
|
|
14266
|
+
{
|
|
14267
|
+
name: "account",
|
|
14268
|
+
type: "address",
|
|
14269
|
+
internalType: "address"
|
|
14270
|
+
},
|
|
14271
|
+
{
|
|
14272
|
+
name: "token",
|
|
14273
|
+
type: "address",
|
|
14274
|
+
internalType: "address"
|
|
14275
|
+
},
|
|
14276
|
+
{
|
|
14277
|
+
name: "amount",
|
|
14278
|
+
type: "uint256",
|
|
14279
|
+
internalType: "uint256"
|
|
14280
|
+
},
|
|
14281
|
+
{
|
|
14282
|
+
name: "recipient",
|
|
14283
|
+
type: "address",
|
|
14284
|
+
internalType: "address"
|
|
14285
|
+
},
|
|
14286
|
+
{
|
|
14287
|
+
name: "nonce",
|
|
14288
|
+
type: "uint256",
|
|
14289
|
+
internalType: "uint256"
|
|
14290
|
+
},
|
|
14291
|
+
{
|
|
14292
|
+
name: "deadline",
|
|
14293
|
+
type: "uint256",
|
|
14294
|
+
internalType: "uint256"
|
|
14295
|
+
}
|
|
14296
|
+
]
|
|
14297
|
+
},
|
|
14298
|
+
{
|
|
14299
|
+
name: "signature",
|
|
14300
|
+
type: "bytes",
|
|
14301
|
+
internalType: "bytes"
|
|
14302
|
+
}
|
|
14303
|
+
],
|
|
14304
|
+
outputs: [
|
|
14305
|
+
],
|
|
14306
|
+
stateMutability: "nonpayable"
|
|
14307
|
+
}
|
|
14308
|
+
];
|
|
14309
|
+
|
|
14310
|
+
var RelayFundingPool = [
|
|
14311
|
+
{
|
|
14312
|
+
type: "constructor",
|
|
14313
|
+
inputs: [
|
|
14314
|
+
{
|
|
14315
|
+
name: "admin",
|
|
14316
|
+
type: "address",
|
|
14317
|
+
internalType: "address"
|
|
14318
|
+
},
|
|
14319
|
+
{
|
|
14320
|
+
name: "withdrawer",
|
|
14321
|
+
type: "address",
|
|
14322
|
+
internalType: "address"
|
|
14323
|
+
},
|
|
14324
|
+
{
|
|
14325
|
+
name: "resolver",
|
|
14326
|
+
type: "address",
|
|
14327
|
+
internalType: "address"
|
|
14328
|
+
}
|
|
14329
|
+
],
|
|
14330
|
+
stateMutability: "nonpayable"
|
|
14331
|
+
},
|
|
14332
|
+
{
|
|
14333
|
+
type: "function",
|
|
14334
|
+
name: "ADMIN_ROLE",
|
|
14335
|
+
inputs: [
|
|
14336
|
+
],
|
|
14337
|
+
outputs: [
|
|
14338
|
+
{
|
|
14339
|
+
name: "",
|
|
14050
14340
|
type: "bytes32",
|
|
14051
14341
|
internalType: "bytes32"
|
|
14052
14342
|
}
|
|
@@ -14095,6 +14385,34 @@ var RelayFundingPool = [
|
|
|
14095
14385
|
],
|
|
14096
14386
|
stateMutability: "view"
|
|
14097
14387
|
},
|
|
14388
|
+
{
|
|
14389
|
+
type: "function",
|
|
14390
|
+
name: "SPONSORSHIP_CONFIG_UPDATE_TYPEHASH",
|
|
14391
|
+
inputs: [
|
|
14392
|
+
],
|
|
14393
|
+
outputs: [
|
|
14394
|
+
{
|
|
14395
|
+
name: "",
|
|
14396
|
+
type: "bytes32",
|
|
14397
|
+
internalType: "bytes32"
|
|
14398
|
+
}
|
|
14399
|
+
],
|
|
14400
|
+
stateMutability: "view"
|
|
14401
|
+
},
|
|
14402
|
+
{
|
|
14403
|
+
type: "function",
|
|
14404
|
+
name: "SPONSORSHIP_RESOLVER_UPDATE_TYPEHASH",
|
|
14405
|
+
inputs: [
|
|
14406
|
+
],
|
|
14407
|
+
outputs: [
|
|
14408
|
+
{
|
|
14409
|
+
name: "",
|
|
14410
|
+
type: "bytes32",
|
|
14411
|
+
internalType: "bytes32"
|
|
14412
|
+
}
|
|
14413
|
+
],
|
|
14414
|
+
stateMutability: "view"
|
|
14415
|
+
},
|
|
14098
14416
|
{
|
|
14099
14417
|
type: "function",
|
|
14100
14418
|
name: "WITHDRAWER_ROLE",
|
|
@@ -14151,6 +14469,16 @@ var RelayFundingPool = [
|
|
|
14151
14469
|
name: "amount",
|
|
14152
14470
|
type: "uint256",
|
|
14153
14471
|
internalType: "uint256"
|
|
14472
|
+
},
|
|
14473
|
+
{
|
|
14474
|
+
name: "requestHash",
|
|
14475
|
+
type: "bytes32",
|
|
14476
|
+
internalType: "bytes32"
|
|
14477
|
+
},
|
|
14478
|
+
{
|
|
14479
|
+
name: "kind",
|
|
14480
|
+
type: "uint8",
|
|
14481
|
+
internalType: "enum DrawLegKind"
|
|
14154
14482
|
}
|
|
14155
14483
|
],
|
|
14156
14484
|
outputs: [
|
|
@@ -14180,6 +14508,16 @@ var RelayFundingPool = [
|
|
|
14180
14508
|
name: "requestHash",
|
|
14181
14509
|
type: "bytes32",
|
|
14182
14510
|
internalType: "bytes32"
|
|
14511
|
+
},
|
|
14512
|
+
{
|
|
14513
|
+
name: "legIndex",
|
|
14514
|
+
type: "uint256",
|
|
14515
|
+
internalType: "uint256"
|
|
14516
|
+
},
|
|
14517
|
+
{
|
|
14518
|
+
name: "kind",
|
|
14519
|
+
type: "uint8",
|
|
14520
|
+
internalType: "enum DrawLegKind"
|
|
14183
14521
|
}
|
|
14184
14522
|
],
|
|
14185
14523
|
outputs: [
|
|
@@ -14223,6 +14561,11 @@ var RelayFundingPool = [
|
|
|
14223
14561
|
name: "account",
|
|
14224
14562
|
type: "address",
|
|
14225
14563
|
internalType: "address"
|
|
14564
|
+
},
|
|
14565
|
+
{
|
|
14566
|
+
name: "legIndex",
|
|
14567
|
+
type: "uint256",
|
|
14568
|
+
internalType: "uint256"
|
|
14226
14569
|
}
|
|
14227
14570
|
],
|
|
14228
14571
|
outputs: [
|
|
@@ -14314,28 +14657,130 @@ var RelayFundingPool = [
|
|
|
14314
14657
|
],
|
|
14315
14658
|
outputs: [
|
|
14316
14659
|
],
|
|
14317
|
-
stateMutability: "nonpayable"
|
|
14660
|
+
stateMutability: "nonpayable"
|
|
14661
|
+
},
|
|
14662
|
+
{
|
|
14663
|
+
type: "function",
|
|
14664
|
+
name: "hasRole",
|
|
14665
|
+
inputs: [
|
|
14666
|
+
{
|
|
14667
|
+
name: "role",
|
|
14668
|
+
type: "bytes32",
|
|
14669
|
+
internalType: "bytes32"
|
|
14670
|
+
},
|
|
14671
|
+
{
|
|
14672
|
+
name: "account",
|
|
14673
|
+
type: "address",
|
|
14674
|
+
internalType: "address"
|
|
14675
|
+
}
|
|
14676
|
+
],
|
|
14677
|
+
outputs: [
|
|
14678
|
+
{
|
|
14679
|
+
name: "",
|
|
14680
|
+
type: "bool",
|
|
14681
|
+
internalType: "bool"
|
|
14682
|
+
}
|
|
14683
|
+
],
|
|
14684
|
+
stateMutability: "view"
|
|
14685
|
+
},
|
|
14686
|
+
{
|
|
14687
|
+
type: "function",
|
|
14688
|
+
name: "hashSponsorshipConfigUpdate",
|
|
14689
|
+
inputs: [
|
|
14690
|
+
{
|
|
14691
|
+
name: "update",
|
|
14692
|
+
type: "tuple",
|
|
14693
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
14694
|
+
components: [
|
|
14695
|
+
{
|
|
14696
|
+
name: "account",
|
|
14697
|
+
type: "address",
|
|
14698
|
+
internalType: "address"
|
|
14699
|
+
},
|
|
14700
|
+
{
|
|
14701
|
+
name: "token",
|
|
14702
|
+
type: "address",
|
|
14703
|
+
internalType: "address"
|
|
14704
|
+
},
|
|
14705
|
+
{
|
|
14706
|
+
name: "perOrderCap",
|
|
14707
|
+
type: "uint256",
|
|
14708
|
+
internalType: "uint256"
|
|
14709
|
+
},
|
|
14710
|
+
{
|
|
14711
|
+
name: "budget",
|
|
14712
|
+
type: "uint256",
|
|
14713
|
+
internalType: "uint256"
|
|
14714
|
+
},
|
|
14715
|
+
{
|
|
14716
|
+
name: "expiry",
|
|
14717
|
+
type: "uint64",
|
|
14718
|
+
internalType: "uint64"
|
|
14719
|
+
},
|
|
14720
|
+
{
|
|
14721
|
+
name: "nonce",
|
|
14722
|
+
type: "uint256",
|
|
14723
|
+
internalType: "uint256"
|
|
14724
|
+
},
|
|
14725
|
+
{
|
|
14726
|
+
name: "deadline",
|
|
14727
|
+
type: "uint256",
|
|
14728
|
+
internalType: "uint256"
|
|
14729
|
+
}
|
|
14730
|
+
]
|
|
14731
|
+
}
|
|
14732
|
+
],
|
|
14733
|
+
outputs: [
|
|
14734
|
+
{
|
|
14735
|
+
name: "digest",
|
|
14736
|
+
type: "bytes32",
|
|
14737
|
+
internalType: "bytes32"
|
|
14738
|
+
}
|
|
14739
|
+
],
|
|
14740
|
+
stateMutability: "view"
|
|
14318
14741
|
},
|
|
14319
14742
|
{
|
|
14320
14743
|
type: "function",
|
|
14321
|
-
name: "
|
|
14744
|
+
name: "hashSponsorshipResolverUpdate",
|
|
14322
14745
|
inputs: [
|
|
14323
14746
|
{
|
|
14324
|
-
name: "
|
|
14325
|
-
type: "
|
|
14326
|
-
internalType: "
|
|
14327
|
-
|
|
14328
|
-
|
|
14329
|
-
|
|
14330
|
-
|
|
14331
|
-
|
|
14747
|
+
name: "update",
|
|
14748
|
+
type: "tuple",
|
|
14749
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
14750
|
+
components: [
|
|
14751
|
+
{
|
|
14752
|
+
name: "account",
|
|
14753
|
+
type: "address",
|
|
14754
|
+
internalType: "address"
|
|
14755
|
+
},
|
|
14756
|
+
{
|
|
14757
|
+
name: "resolver",
|
|
14758
|
+
type: "address",
|
|
14759
|
+
internalType: "address"
|
|
14760
|
+
},
|
|
14761
|
+
{
|
|
14762
|
+
name: "allowed",
|
|
14763
|
+
type: "bool",
|
|
14764
|
+
internalType: "bool"
|
|
14765
|
+
},
|
|
14766
|
+
{
|
|
14767
|
+
name: "nonce",
|
|
14768
|
+
type: "uint256",
|
|
14769
|
+
internalType: "uint256"
|
|
14770
|
+
},
|
|
14771
|
+
{
|
|
14772
|
+
name: "deadline",
|
|
14773
|
+
type: "uint256",
|
|
14774
|
+
internalType: "uint256"
|
|
14775
|
+
}
|
|
14776
|
+
]
|
|
14332
14777
|
}
|
|
14333
14778
|
],
|
|
14334
14779
|
outputs: [
|
|
14335
14780
|
{
|
|
14336
|
-
name: "",
|
|
14337
|
-
type: "
|
|
14338
|
-
internalType: "
|
|
14781
|
+
name: "digest",
|
|
14782
|
+
type: "bytes32",
|
|
14783
|
+
internalType: "bytes32"
|
|
14339
14784
|
}
|
|
14340
14785
|
],
|
|
14341
14786
|
stateMutability: "view"
|
|
@@ -14391,6 +14836,35 @@ var RelayFundingPool = [
|
|
|
14391
14836
|
],
|
|
14392
14837
|
stateMutability: "view"
|
|
14393
14838
|
},
|
|
14839
|
+
{
|
|
14840
|
+
type: "function",
|
|
14841
|
+
name: "orderDraws",
|
|
14842
|
+
inputs: [
|
|
14843
|
+
{
|
|
14844
|
+
name: "requestHash",
|
|
14845
|
+
type: "bytes32",
|
|
14846
|
+
internalType: "bytes32"
|
|
14847
|
+
},
|
|
14848
|
+
{
|
|
14849
|
+
name: "account",
|
|
14850
|
+
type: "address",
|
|
14851
|
+
internalType: "address"
|
|
14852
|
+
},
|
|
14853
|
+
{
|
|
14854
|
+
name: "token",
|
|
14855
|
+
type: "address",
|
|
14856
|
+
internalType: "address"
|
|
14857
|
+
}
|
|
14858
|
+
],
|
|
14859
|
+
outputs: [
|
|
14860
|
+
{
|
|
14861
|
+
name: "drawn",
|
|
14862
|
+
type: "uint256",
|
|
14863
|
+
internalType: "uint256"
|
|
14864
|
+
}
|
|
14865
|
+
],
|
|
14866
|
+
stateMutability: "view"
|
|
14867
|
+
},
|
|
14394
14868
|
{
|
|
14395
14869
|
type: "function",
|
|
14396
14870
|
name: "pause",
|
|
@@ -14488,6 +14962,108 @@ var RelayFundingPool = [
|
|
|
14488
14962
|
],
|
|
14489
14963
|
stateMutability: "nonpayable"
|
|
14490
14964
|
},
|
|
14965
|
+
{
|
|
14966
|
+
type: "function",
|
|
14967
|
+
name: "setSponsorshipConfig",
|
|
14968
|
+
inputs: [
|
|
14969
|
+
{
|
|
14970
|
+
name: "update",
|
|
14971
|
+
type: "tuple",
|
|
14972
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
14973
|
+
components: [
|
|
14974
|
+
{
|
|
14975
|
+
name: "account",
|
|
14976
|
+
type: "address",
|
|
14977
|
+
internalType: "address"
|
|
14978
|
+
},
|
|
14979
|
+
{
|
|
14980
|
+
name: "token",
|
|
14981
|
+
type: "address",
|
|
14982
|
+
internalType: "address"
|
|
14983
|
+
},
|
|
14984
|
+
{
|
|
14985
|
+
name: "perOrderCap",
|
|
14986
|
+
type: "uint256",
|
|
14987
|
+
internalType: "uint256"
|
|
14988
|
+
},
|
|
14989
|
+
{
|
|
14990
|
+
name: "budget",
|
|
14991
|
+
type: "uint256",
|
|
14992
|
+
internalType: "uint256"
|
|
14993
|
+
},
|
|
14994
|
+
{
|
|
14995
|
+
name: "expiry",
|
|
14996
|
+
type: "uint64",
|
|
14997
|
+
internalType: "uint64"
|
|
14998
|
+
},
|
|
14999
|
+
{
|
|
15000
|
+
name: "nonce",
|
|
15001
|
+
type: "uint256",
|
|
15002
|
+
internalType: "uint256"
|
|
15003
|
+
},
|
|
15004
|
+
{
|
|
15005
|
+
name: "deadline",
|
|
15006
|
+
type: "uint256",
|
|
15007
|
+
internalType: "uint256"
|
|
15008
|
+
}
|
|
15009
|
+
]
|
|
15010
|
+
},
|
|
15011
|
+
{
|
|
15012
|
+
name: "signature",
|
|
15013
|
+
type: "bytes",
|
|
15014
|
+
internalType: "bytes"
|
|
15015
|
+
}
|
|
15016
|
+
],
|
|
15017
|
+
outputs: [
|
|
15018
|
+
],
|
|
15019
|
+
stateMutability: "nonpayable"
|
|
15020
|
+
},
|
|
15021
|
+
{
|
|
15022
|
+
type: "function",
|
|
15023
|
+
name: "setSponsorshipResolver",
|
|
15024
|
+
inputs: [
|
|
15025
|
+
{
|
|
15026
|
+
name: "update",
|
|
15027
|
+
type: "tuple",
|
|
15028
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
15029
|
+
components: [
|
|
15030
|
+
{
|
|
15031
|
+
name: "account",
|
|
15032
|
+
type: "address",
|
|
15033
|
+
internalType: "address"
|
|
15034
|
+
},
|
|
15035
|
+
{
|
|
15036
|
+
name: "resolver",
|
|
15037
|
+
type: "address",
|
|
15038
|
+
internalType: "address"
|
|
15039
|
+
},
|
|
15040
|
+
{
|
|
15041
|
+
name: "allowed",
|
|
15042
|
+
type: "bool",
|
|
15043
|
+
internalType: "bool"
|
|
15044
|
+
},
|
|
15045
|
+
{
|
|
15046
|
+
name: "nonce",
|
|
15047
|
+
type: "uint256",
|
|
15048
|
+
internalType: "uint256"
|
|
15049
|
+
},
|
|
15050
|
+
{
|
|
15051
|
+
name: "deadline",
|
|
15052
|
+
type: "uint256",
|
|
15053
|
+
internalType: "uint256"
|
|
15054
|
+
}
|
|
15055
|
+
]
|
|
15056
|
+
},
|
|
15057
|
+
{
|
|
15058
|
+
name: "signature",
|
|
15059
|
+
type: "bytes",
|
|
15060
|
+
internalType: "bytes"
|
|
15061
|
+
}
|
|
15062
|
+
],
|
|
15063
|
+
outputs: [
|
|
15064
|
+
],
|
|
15065
|
+
stateMutability: "nonpayable"
|
|
15066
|
+
},
|
|
14491
15067
|
{
|
|
14492
15068
|
type: "function",
|
|
14493
15069
|
name: "setSponsorshipResolver",
|
|
@@ -14593,6 +15169,30 @@ var RelayFundingPool = [
|
|
|
14593
15169
|
],
|
|
14594
15170
|
stateMutability: "nonpayable"
|
|
14595
15171
|
},
|
|
15172
|
+
{
|
|
15173
|
+
type: "function",
|
|
15174
|
+
name: "usedSponsorshipNonces",
|
|
15175
|
+
inputs: [
|
|
15176
|
+
{
|
|
15177
|
+
name: "account",
|
|
15178
|
+
type: "address",
|
|
15179
|
+
internalType: "address"
|
|
15180
|
+
},
|
|
15181
|
+
{
|
|
15182
|
+
name: "nonce",
|
|
15183
|
+
type: "uint256",
|
|
15184
|
+
internalType: "uint256"
|
|
15185
|
+
}
|
|
15186
|
+
],
|
|
15187
|
+
outputs: [
|
|
15188
|
+
{
|
|
15189
|
+
name: "used",
|
|
15190
|
+
type: "bool",
|
|
15191
|
+
internalType: "bool"
|
|
15192
|
+
}
|
|
15193
|
+
],
|
|
15194
|
+
stateMutability: "view"
|
|
15195
|
+
},
|
|
14596
15196
|
{
|
|
14597
15197
|
type: "function",
|
|
14598
15198
|
name: "usedWithdrawalNonces",
|
|
@@ -14696,6 +15296,12 @@ var RelayFundingPool = [
|
|
|
14696
15296
|
type: "event",
|
|
14697
15297
|
name: "Credited",
|
|
14698
15298
|
inputs: [
|
|
15299
|
+
{
|
|
15300
|
+
name: "requestHash",
|
|
15301
|
+
type: "bytes32",
|
|
15302
|
+
indexed: true,
|
|
15303
|
+
internalType: "bytes32"
|
|
15304
|
+
},
|
|
14699
15305
|
{
|
|
14700
15306
|
name: "account",
|
|
14701
15307
|
type: "address",
|
|
@@ -14711,9 +15317,15 @@ var RelayFundingPool = [
|
|
|
14711
15317
|
{
|
|
14712
15318
|
name: "resolver",
|
|
14713
15319
|
type: "address",
|
|
14714
|
-
indexed:
|
|
15320
|
+
indexed: false,
|
|
14715
15321
|
internalType: "address"
|
|
14716
15322
|
},
|
|
15323
|
+
{
|
|
15324
|
+
name: "kind",
|
|
15325
|
+
type: "uint8",
|
|
15326
|
+
indexed: false,
|
|
15327
|
+
internalType: "enum DrawLegKind"
|
|
15328
|
+
},
|
|
14717
15329
|
{
|
|
14718
15330
|
name: "amount",
|
|
14719
15331
|
type: "uint256",
|
|
@@ -14782,6 +15394,18 @@ var RelayFundingPool = [
|
|
|
14782
15394
|
indexed: false,
|
|
14783
15395
|
internalType: "address"
|
|
14784
15396
|
},
|
|
15397
|
+
{
|
|
15398
|
+
name: "kind",
|
|
15399
|
+
type: "uint8",
|
|
15400
|
+
indexed: false,
|
|
15401
|
+
internalType: "enum DrawLegKind"
|
|
15402
|
+
},
|
|
15403
|
+
{
|
|
15404
|
+
name: "legIndex",
|
|
15405
|
+
type: "uint256",
|
|
15406
|
+
indexed: false,
|
|
15407
|
+
internalType: "uint256"
|
|
15408
|
+
},
|
|
14785
15409
|
{
|
|
14786
15410
|
name: "amount",
|
|
14787
15411
|
type: "uint256",
|
|
@@ -15027,6 +15651,11 @@ var RelayFundingPool = [
|
|
|
15027
15651
|
name: "account",
|
|
15028
15652
|
type: "address",
|
|
15029
15653
|
internalType: "address"
|
|
15654
|
+
},
|
|
15655
|
+
{
|
|
15656
|
+
name: "legIndex",
|
|
15657
|
+
type: "uint256",
|
|
15658
|
+
internalType: "uint256"
|
|
15030
15659
|
}
|
|
15031
15660
|
]
|
|
15032
15661
|
},
|
|
@@ -15100,6 +15729,17 @@ var RelayFundingPool = [
|
|
|
15100
15729
|
inputs: [
|
|
15101
15730
|
]
|
|
15102
15731
|
},
|
|
15732
|
+
{
|
|
15733
|
+
type: "error",
|
|
15734
|
+
name: "InvalidSponsorshipUpdate",
|
|
15735
|
+
inputs: [
|
|
15736
|
+
{
|
|
15737
|
+
name: "account",
|
|
15738
|
+
type: "address",
|
|
15739
|
+
internalType: "address"
|
|
15740
|
+
}
|
|
15741
|
+
]
|
|
15742
|
+
},
|
|
15103
15743
|
{
|
|
15104
15744
|
type: "error",
|
|
15105
15745
|
name: "InvalidWithdrawal",
|
|
@@ -15126,7 +15766,7 @@ var RelayFundingPool = [
|
|
|
15126
15766
|
internalType: "address"
|
|
15127
15767
|
},
|
|
15128
15768
|
{
|
|
15129
|
-
name: "
|
|
15769
|
+
name: "orderTotal",
|
|
15130
15770
|
type: "uint256",
|
|
15131
15771
|
internalType: "uint256"
|
|
15132
15772
|
},
|
|
@@ -15191,6 +15831,33 @@ var RelayFundingPool = [
|
|
|
15191
15831
|
}
|
|
15192
15832
|
]
|
|
15193
15833
|
},
|
|
15834
|
+
{
|
|
15835
|
+
type: "error",
|
|
15836
|
+
name: "SponsorshipNonceUsed",
|
|
15837
|
+
inputs: [
|
|
15838
|
+
{
|
|
15839
|
+
name: "account",
|
|
15840
|
+
type: "address",
|
|
15841
|
+
internalType: "address"
|
|
15842
|
+
},
|
|
15843
|
+
{
|
|
15844
|
+
name: "nonce",
|
|
15845
|
+
type: "uint256",
|
|
15846
|
+
internalType: "uint256"
|
|
15847
|
+
}
|
|
15848
|
+
]
|
|
15849
|
+
},
|
|
15850
|
+
{
|
|
15851
|
+
type: "error",
|
|
15852
|
+
name: "SponsorshipUpdateExpired",
|
|
15853
|
+
inputs: [
|
|
15854
|
+
{
|
|
15855
|
+
name: "deadline",
|
|
15856
|
+
type: "uint256",
|
|
15857
|
+
internalType: "uint256"
|
|
15858
|
+
}
|
|
15859
|
+
]
|
|
15860
|
+
},
|
|
15194
15861
|
{
|
|
15195
15862
|
type: "error",
|
|
15196
15863
|
name: "StringTooLong",
|