@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.js
CHANGED
|
@@ -9798,6 +9798,22 @@ var PoolDrawResolver_default = [
|
|
|
9798
9798
|
}
|
|
9799
9799
|
]
|
|
9800
9800
|
},
|
|
9801
|
+
{
|
|
9802
|
+
type: "error",
|
|
9803
|
+
name: "PayloadCommitmentMismatch",
|
|
9804
|
+
inputs: [
|
|
9805
|
+
{
|
|
9806
|
+
name: "expected",
|
|
9807
|
+
type: "bytes32",
|
|
9808
|
+
internalType: "bytes32"
|
|
9809
|
+
},
|
|
9810
|
+
{
|
|
9811
|
+
name: "actual",
|
|
9812
|
+
type: "bytes32",
|
|
9813
|
+
internalType: "bytes32"
|
|
9814
|
+
}
|
|
9815
|
+
]
|
|
9816
|
+
},
|
|
9801
9817
|
{
|
|
9802
9818
|
type: "error",
|
|
9803
9819
|
name: "ReentrancyGuardReentrantCall",
|
|
@@ -10214,6 +10230,22 @@ var PoolResolverBase_default = [
|
|
|
10214
10230
|
}
|
|
10215
10231
|
]
|
|
10216
10232
|
},
|
|
10233
|
+
{
|
|
10234
|
+
type: "error",
|
|
10235
|
+
name: "PayloadCommitmentMismatch",
|
|
10236
|
+
inputs: [
|
|
10237
|
+
{
|
|
10238
|
+
name: "expected",
|
|
10239
|
+
type: "bytes32",
|
|
10240
|
+
internalType: "bytes32"
|
|
10241
|
+
},
|
|
10242
|
+
{
|
|
10243
|
+
name: "actual",
|
|
10244
|
+
type: "bytes32",
|
|
10245
|
+
internalType: "bytes32"
|
|
10246
|
+
}
|
|
10247
|
+
]
|
|
10248
|
+
},
|
|
10217
10249
|
{
|
|
10218
10250
|
type: "error",
|
|
10219
10251
|
name: "ReentrancyGuardReentrantCall",
|
|
@@ -13590,6 +13622,16 @@ var IRelayFundingPool_default = [
|
|
|
13590
13622
|
name: "amount",
|
|
13591
13623
|
type: "uint256",
|
|
13592
13624
|
internalType: "uint256"
|
|
13625
|
+
},
|
|
13626
|
+
{
|
|
13627
|
+
name: "requestHash",
|
|
13628
|
+
type: "bytes32",
|
|
13629
|
+
internalType: "bytes32"
|
|
13630
|
+
},
|
|
13631
|
+
{
|
|
13632
|
+
name: "kind",
|
|
13633
|
+
type: "uint8",
|
|
13634
|
+
internalType: "enum DrawLegKind"
|
|
13593
13635
|
}
|
|
13594
13636
|
],
|
|
13595
13637
|
outputs: [],
|
|
@@ -13618,6 +13660,16 @@ var IRelayFundingPool_default = [
|
|
|
13618
13660
|
name: "requestHash",
|
|
13619
13661
|
type: "bytes32",
|
|
13620
13662
|
internalType: "bytes32"
|
|
13663
|
+
},
|
|
13664
|
+
{
|
|
13665
|
+
name: "legIndex",
|
|
13666
|
+
type: "uint256",
|
|
13667
|
+
internalType: "uint256"
|
|
13668
|
+
},
|
|
13669
|
+
{
|
|
13670
|
+
name: "kind",
|
|
13671
|
+
type: "uint8",
|
|
13672
|
+
internalType: "enum DrawLegKind"
|
|
13621
13673
|
}
|
|
13622
13674
|
],
|
|
13623
13675
|
outputs: [],
|
|
@@ -13659,6 +13711,11 @@ var IRelayFundingPool_default = [
|
|
|
13659
13711
|
name: "account",
|
|
13660
13712
|
type: "address",
|
|
13661
13713
|
internalType: "address"
|
|
13714
|
+
},
|
|
13715
|
+
{
|
|
13716
|
+
name: "legIndex",
|
|
13717
|
+
type: "uint256",
|
|
13718
|
+
internalType: "uint256"
|
|
13662
13719
|
}
|
|
13663
13720
|
],
|
|
13664
13721
|
outputs: [
|
|
@@ -13672,12 +13729,12 @@ var IRelayFundingPool_default = [
|
|
|
13672
13729
|
},
|
|
13673
13730
|
{
|
|
13674
13731
|
type: "function",
|
|
13675
|
-
name: "
|
|
13732
|
+
name: "hashSponsorshipConfigUpdate",
|
|
13676
13733
|
inputs: [
|
|
13677
13734
|
{
|
|
13678
|
-
name: "
|
|
13735
|
+
name: "update",
|
|
13679
13736
|
type: "tuple",
|
|
13680
|
-
internalType: "struct
|
|
13737
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
13681
13738
|
components: [
|
|
13682
13739
|
{
|
|
13683
13740
|
name: "account",
|
|
@@ -13690,14 +13747,19 @@ var IRelayFundingPool_default = [
|
|
|
13690
13747
|
internalType: "address"
|
|
13691
13748
|
},
|
|
13692
13749
|
{
|
|
13693
|
-
name: "
|
|
13750
|
+
name: "perOrderCap",
|
|
13694
13751
|
type: "uint256",
|
|
13695
13752
|
internalType: "uint256"
|
|
13696
13753
|
},
|
|
13697
13754
|
{
|
|
13698
|
-
name: "
|
|
13699
|
-
type: "
|
|
13700
|
-
internalType: "
|
|
13755
|
+
name: "budget",
|
|
13756
|
+
type: "uint256",
|
|
13757
|
+
internalType: "uint256"
|
|
13758
|
+
},
|
|
13759
|
+
{
|
|
13760
|
+
name: "expiry",
|
|
13761
|
+
type: "uint64",
|
|
13762
|
+
internalType: "uint64"
|
|
13701
13763
|
},
|
|
13702
13764
|
{
|
|
13703
13765
|
name: "nonce",
|
|
@@ -13723,61 +13785,110 @@ var IRelayFundingPool_default = [
|
|
|
13723
13785
|
},
|
|
13724
13786
|
{
|
|
13725
13787
|
type: "function",
|
|
13726
|
-
name: "
|
|
13788
|
+
name: "hashSponsorshipResolverUpdate",
|
|
13727
13789
|
inputs: [
|
|
13728
13790
|
{
|
|
13729
|
-
name: "
|
|
13730
|
-
type: "address",
|
|
13731
|
-
internalType: "address"
|
|
13732
|
-
},
|
|
13733
|
-
{
|
|
13734
|
-
name: "config",
|
|
13791
|
+
name: "update",
|
|
13735
13792
|
type: "tuple",
|
|
13736
|
-
internalType: "struct
|
|
13793
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
13737
13794
|
components: [
|
|
13738
13795
|
{
|
|
13739
|
-
name: "
|
|
13740
|
-
type: "
|
|
13741
|
-
internalType: "
|
|
13796
|
+
name: "account",
|
|
13797
|
+
type: "address",
|
|
13798
|
+
internalType: "address"
|
|
13742
13799
|
},
|
|
13743
13800
|
{
|
|
13744
|
-
name: "
|
|
13801
|
+
name: "resolver",
|
|
13802
|
+
type: "address",
|
|
13803
|
+
internalType: "address"
|
|
13804
|
+
},
|
|
13805
|
+
{
|
|
13806
|
+
name: "allowed",
|
|
13807
|
+
type: "bool",
|
|
13808
|
+
internalType: "bool"
|
|
13809
|
+
},
|
|
13810
|
+
{
|
|
13811
|
+
name: "nonce",
|
|
13745
13812
|
type: "uint256",
|
|
13746
13813
|
internalType: "uint256"
|
|
13747
13814
|
},
|
|
13748
13815
|
{
|
|
13749
|
-
name: "
|
|
13750
|
-
type: "
|
|
13751
|
-
internalType: "
|
|
13816
|
+
name: "deadline",
|
|
13817
|
+
type: "uint256",
|
|
13818
|
+
internalType: "uint256"
|
|
13752
13819
|
}
|
|
13753
13820
|
]
|
|
13754
13821
|
}
|
|
13755
13822
|
],
|
|
13756
|
-
outputs: [
|
|
13757
|
-
|
|
13823
|
+
outputs: [
|
|
13824
|
+
{
|
|
13825
|
+
name: "digest",
|
|
13826
|
+
type: "bytes32",
|
|
13827
|
+
internalType: "bytes32"
|
|
13828
|
+
}
|
|
13829
|
+
],
|
|
13830
|
+
stateMutability: "view"
|
|
13758
13831
|
},
|
|
13759
13832
|
{
|
|
13760
13833
|
type: "function",
|
|
13761
|
-
name: "
|
|
13834
|
+
name: "hashWithdrawal",
|
|
13762
13835
|
inputs: [
|
|
13763
13836
|
{
|
|
13764
|
-
name: "
|
|
13765
|
-
type: "
|
|
13766
|
-
internalType: "
|
|
13767
|
-
|
|
13837
|
+
name: "withdrawal",
|
|
13838
|
+
type: "tuple",
|
|
13839
|
+
internalType: "struct PoolWithdrawal",
|
|
13840
|
+
components: [
|
|
13841
|
+
{
|
|
13842
|
+
name: "account",
|
|
13843
|
+
type: "address",
|
|
13844
|
+
internalType: "address"
|
|
13845
|
+
},
|
|
13846
|
+
{
|
|
13847
|
+
name: "token",
|
|
13848
|
+
type: "address",
|
|
13849
|
+
internalType: "address"
|
|
13850
|
+
},
|
|
13851
|
+
{
|
|
13852
|
+
name: "amount",
|
|
13853
|
+
type: "uint256",
|
|
13854
|
+
internalType: "uint256"
|
|
13855
|
+
},
|
|
13856
|
+
{
|
|
13857
|
+
name: "recipient",
|
|
13858
|
+
type: "address",
|
|
13859
|
+
internalType: "address"
|
|
13860
|
+
},
|
|
13861
|
+
{
|
|
13862
|
+
name: "nonce",
|
|
13863
|
+
type: "uint256",
|
|
13864
|
+
internalType: "uint256"
|
|
13865
|
+
},
|
|
13866
|
+
{
|
|
13867
|
+
name: "deadline",
|
|
13868
|
+
type: "uint256",
|
|
13869
|
+
internalType: "uint256"
|
|
13870
|
+
}
|
|
13871
|
+
]
|
|
13872
|
+
}
|
|
13873
|
+
],
|
|
13874
|
+
outputs: [
|
|
13768
13875
|
{
|
|
13769
|
-
name: "
|
|
13770
|
-
type: "
|
|
13771
|
-
internalType: "
|
|
13876
|
+
name: "digest",
|
|
13877
|
+
type: "bytes32",
|
|
13878
|
+
internalType: "bytes32"
|
|
13772
13879
|
}
|
|
13773
13880
|
],
|
|
13774
|
-
|
|
13775
|
-
stateMutability: "nonpayable"
|
|
13881
|
+
stateMutability: "view"
|
|
13776
13882
|
},
|
|
13777
13883
|
{
|
|
13778
13884
|
type: "function",
|
|
13779
|
-
name: "
|
|
13885
|
+
name: "orderDraws",
|
|
13780
13886
|
inputs: [
|
|
13887
|
+
{
|
|
13888
|
+
name: "requestHash",
|
|
13889
|
+
type: "bytes32",
|
|
13890
|
+
internalType: "bytes32"
|
|
13891
|
+
},
|
|
13781
13892
|
{
|
|
13782
13893
|
name: "account",
|
|
13783
13894
|
type: "address",
|
|
@@ -13791,55 +13902,56 @@ var IRelayFundingPool_default = [
|
|
|
13791
13902
|
],
|
|
13792
13903
|
outputs: [
|
|
13793
13904
|
{
|
|
13794
|
-
name: "
|
|
13795
|
-
type: "uint256",
|
|
13796
|
-
internalType: "uint256"
|
|
13797
|
-
},
|
|
13798
|
-
{
|
|
13799
|
-
name: "budget",
|
|
13905
|
+
name: "drawn",
|
|
13800
13906
|
type: "uint256",
|
|
13801
13907
|
internalType: "uint256"
|
|
13802
|
-
},
|
|
13803
|
-
{
|
|
13804
|
-
name: "expiry",
|
|
13805
|
-
type: "uint64",
|
|
13806
|
-
internalType: "uint64"
|
|
13807
13908
|
}
|
|
13808
13909
|
],
|
|
13809
13910
|
stateMutability: "view"
|
|
13810
13911
|
},
|
|
13811
13912
|
{
|
|
13812
13913
|
type: "function",
|
|
13813
|
-
name: "
|
|
13914
|
+
name: "setSponsorshipConfig",
|
|
13814
13915
|
inputs: [
|
|
13815
13916
|
{
|
|
13816
|
-
name: "
|
|
13917
|
+
name: "token",
|
|
13817
13918
|
type: "address",
|
|
13818
13919
|
internalType: "address"
|
|
13819
13920
|
},
|
|
13820
13921
|
{
|
|
13821
|
-
name: "
|
|
13822
|
-
type: "
|
|
13823
|
-
internalType: "
|
|
13824
|
-
|
|
13825
|
-
|
|
13826
|
-
|
|
13827
|
-
|
|
13828
|
-
|
|
13829
|
-
|
|
13830
|
-
|
|
13922
|
+
name: "config",
|
|
13923
|
+
type: "tuple",
|
|
13924
|
+
internalType: "struct SponsorshipConfig",
|
|
13925
|
+
components: [
|
|
13926
|
+
{
|
|
13927
|
+
name: "perOrderCap",
|
|
13928
|
+
type: "uint256",
|
|
13929
|
+
internalType: "uint256"
|
|
13930
|
+
},
|
|
13931
|
+
{
|
|
13932
|
+
name: "budget",
|
|
13933
|
+
type: "uint256",
|
|
13934
|
+
internalType: "uint256"
|
|
13935
|
+
},
|
|
13936
|
+
{
|
|
13937
|
+
name: "expiry",
|
|
13938
|
+
type: "uint64",
|
|
13939
|
+
internalType: "uint64"
|
|
13940
|
+
}
|
|
13941
|
+
]
|
|
13831
13942
|
}
|
|
13832
13943
|
],
|
|
13833
|
-
|
|
13944
|
+
outputs: [],
|
|
13945
|
+
stateMutability: "nonpayable"
|
|
13834
13946
|
},
|
|
13835
13947
|
{
|
|
13836
13948
|
type: "function",
|
|
13837
|
-
name: "
|
|
13949
|
+
name: "setSponsorshipConfig",
|
|
13838
13950
|
inputs: [
|
|
13839
13951
|
{
|
|
13840
|
-
name: "
|
|
13952
|
+
name: "update",
|
|
13841
13953
|
type: "tuple",
|
|
13842
|
-
internalType: "struct
|
|
13954
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
13843
13955
|
components: [
|
|
13844
13956
|
{
|
|
13845
13957
|
name: "account",
|
|
@@ -13852,14 +13964,19 @@ var IRelayFundingPool_default = [
|
|
|
13852
13964
|
internalType: "address"
|
|
13853
13965
|
},
|
|
13854
13966
|
{
|
|
13855
|
-
name: "
|
|
13967
|
+
name: "perOrderCap",
|
|
13856
13968
|
type: "uint256",
|
|
13857
13969
|
internalType: "uint256"
|
|
13858
13970
|
},
|
|
13859
13971
|
{
|
|
13860
|
-
name: "
|
|
13861
|
-
type: "
|
|
13862
|
-
internalType: "
|
|
13972
|
+
name: "budget",
|
|
13973
|
+
type: "uint256",
|
|
13974
|
+
internalType: "uint256"
|
|
13975
|
+
},
|
|
13976
|
+
{
|
|
13977
|
+
name: "expiry",
|
|
13978
|
+
type: "uint64",
|
|
13979
|
+
internalType: "uint64"
|
|
13863
13980
|
},
|
|
13864
13981
|
{
|
|
13865
13982
|
name: "nonce",
|
|
@@ -13881,28 +13998,199 @@ var IRelayFundingPool_default = [
|
|
|
13881
13998
|
],
|
|
13882
13999
|
outputs: [],
|
|
13883
14000
|
stateMutability: "nonpayable"
|
|
13884
|
-
}
|
|
13885
|
-
];
|
|
13886
|
-
|
|
13887
|
-
// src/abis/funding-pools/RelayFundingPool.sol/RelayFundingPool.json
|
|
13888
|
-
var RelayFundingPool_default = [
|
|
14001
|
+
},
|
|
13889
14002
|
{
|
|
13890
|
-
type: "
|
|
14003
|
+
type: "function",
|
|
14004
|
+
name: "setSponsorshipResolver",
|
|
13891
14005
|
inputs: [
|
|
13892
14006
|
{
|
|
13893
|
-
name: "
|
|
13894
|
-
type: "
|
|
13895
|
-
internalType: "
|
|
13896
|
-
|
|
13897
|
-
|
|
13898
|
-
|
|
13899
|
-
|
|
13900
|
-
|
|
13901
|
-
|
|
13902
|
-
|
|
13903
|
-
|
|
13904
|
-
|
|
13905
|
-
|
|
14007
|
+
name: "update",
|
|
14008
|
+
type: "tuple",
|
|
14009
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
14010
|
+
components: [
|
|
14011
|
+
{
|
|
14012
|
+
name: "account",
|
|
14013
|
+
type: "address",
|
|
14014
|
+
internalType: "address"
|
|
14015
|
+
},
|
|
14016
|
+
{
|
|
14017
|
+
name: "resolver",
|
|
14018
|
+
type: "address",
|
|
14019
|
+
internalType: "address"
|
|
14020
|
+
},
|
|
14021
|
+
{
|
|
14022
|
+
name: "allowed",
|
|
14023
|
+
type: "bool",
|
|
14024
|
+
internalType: "bool"
|
|
14025
|
+
},
|
|
14026
|
+
{
|
|
14027
|
+
name: "nonce",
|
|
14028
|
+
type: "uint256",
|
|
14029
|
+
internalType: "uint256"
|
|
14030
|
+
},
|
|
14031
|
+
{
|
|
14032
|
+
name: "deadline",
|
|
14033
|
+
type: "uint256",
|
|
14034
|
+
internalType: "uint256"
|
|
14035
|
+
}
|
|
14036
|
+
]
|
|
14037
|
+
},
|
|
14038
|
+
{
|
|
14039
|
+
name: "signature",
|
|
14040
|
+
type: "bytes",
|
|
14041
|
+
internalType: "bytes"
|
|
14042
|
+
}
|
|
14043
|
+
],
|
|
14044
|
+
outputs: [],
|
|
14045
|
+
stateMutability: "nonpayable"
|
|
14046
|
+
},
|
|
14047
|
+
{
|
|
14048
|
+
type: "function",
|
|
14049
|
+
name: "setSponsorshipResolver",
|
|
14050
|
+
inputs: [
|
|
14051
|
+
{
|
|
14052
|
+
name: "resolver",
|
|
14053
|
+
type: "address",
|
|
14054
|
+
internalType: "address"
|
|
14055
|
+
},
|
|
14056
|
+
{
|
|
14057
|
+
name: "allowed",
|
|
14058
|
+
type: "bool",
|
|
14059
|
+
internalType: "bool"
|
|
14060
|
+
}
|
|
14061
|
+
],
|
|
14062
|
+
outputs: [],
|
|
14063
|
+
stateMutability: "nonpayable"
|
|
14064
|
+
},
|
|
14065
|
+
{
|
|
14066
|
+
type: "function",
|
|
14067
|
+
name: "sponsorshipConfig",
|
|
14068
|
+
inputs: [
|
|
14069
|
+
{
|
|
14070
|
+
name: "account",
|
|
14071
|
+
type: "address",
|
|
14072
|
+
internalType: "address"
|
|
14073
|
+
},
|
|
14074
|
+
{
|
|
14075
|
+
name: "token",
|
|
14076
|
+
type: "address",
|
|
14077
|
+
internalType: "address"
|
|
14078
|
+
}
|
|
14079
|
+
],
|
|
14080
|
+
outputs: [
|
|
14081
|
+
{
|
|
14082
|
+
name: "perOrderCap",
|
|
14083
|
+
type: "uint256",
|
|
14084
|
+
internalType: "uint256"
|
|
14085
|
+
},
|
|
14086
|
+
{
|
|
14087
|
+
name: "budget",
|
|
14088
|
+
type: "uint256",
|
|
14089
|
+
internalType: "uint256"
|
|
14090
|
+
},
|
|
14091
|
+
{
|
|
14092
|
+
name: "expiry",
|
|
14093
|
+
type: "uint64",
|
|
14094
|
+
internalType: "uint64"
|
|
14095
|
+
}
|
|
14096
|
+
],
|
|
14097
|
+
stateMutability: "view"
|
|
14098
|
+
},
|
|
14099
|
+
{
|
|
14100
|
+
type: "function",
|
|
14101
|
+
name: "sponsorshipResolvers",
|
|
14102
|
+
inputs: [
|
|
14103
|
+
{
|
|
14104
|
+
name: "account",
|
|
14105
|
+
type: "address",
|
|
14106
|
+
internalType: "address"
|
|
14107
|
+
},
|
|
14108
|
+
{
|
|
14109
|
+
name: "resolver",
|
|
14110
|
+
type: "address",
|
|
14111
|
+
internalType: "address"
|
|
14112
|
+
}
|
|
14113
|
+
],
|
|
14114
|
+
outputs: [
|
|
14115
|
+
{
|
|
14116
|
+
name: "allowed",
|
|
14117
|
+
type: "bool",
|
|
14118
|
+
internalType: "bool"
|
|
14119
|
+
}
|
|
14120
|
+
],
|
|
14121
|
+
stateMutability: "view"
|
|
14122
|
+
},
|
|
14123
|
+
{
|
|
14124
|
+
type: "function",
|
|
14125
|
+
name: "withdraw",
|
|
14126
|
+
inputs: [
|
|
14127
|
+
{
|
|
14128
|
+
name: "withdrawal",
|
|
14129
|
+
type: "tuple",
|
|
14130
|
+
internalType: "struct PoolWithdrawal",
|
|
14131
|
+
components: [
|
|
14132
|
+
{
|
|
14133
|
+
name: "account",
|
|
14134
|
+
type: "address",
|
|
14135
|
+
internalType: "address"
|
|
14136
|
+
},
|
|
14137
|
+
{
|
|
14138
|
+
name: "token",
|
|
14139
|
+
type: "address",
|
|
14140
|
+
internalType: "address"
|
|
14141
|
+
},
|
|
14142
|
+
{
|
|
14143
|
+
name: "amount",
|
|
14144
|
+
type: "uint256",
|
|
14145
|
+
internalType: "uint256"
|
|
14146
|
+
},
|
|
14147
|
+
{
|
|
14148
|
+
name: "recipient",
|
|
14149
|
+
type: "address",
|
|
14150
|
+
internalType: "address"
|
|
14151
|
+
},
|
|
14152
|
+
{
|
|
14153
|
+
name: "nonce",
|
|
14154
|
+
type: "uint256",
|
|
14155
|
+
internalType: "uint256"
|
|
14156
|
+
},
|
|
14157
|
+
{
|
|
14158
|
+
name: "deadline",
|
|
14159
|
+
type: "uint256",
|
|
14160
|
+
internalType: "uint256"
|
|
14161
|
+
}
|
|
14162
|
+
]
|
|
14163
|
+
},
|
|
14164
|
+
{
|
|
14165
|
+
name: "signature",
|
|
14166
|
+
type: "bytes",
|
|
14167
|
+
internalType: "bytes"
|
|
14168
|
+
}
|
|
14169
|
+
],
|
|
14170
|
+
outputs: [],
|
|
14171
|
+
stateMutability: "nonpayable"
|
|
14172
|
+
}
|
|
14173
|
+
];
|
|
14174
|
+
|
|
14175
|
+
// src/abis/funding-pools/RelayFundingPool.sol/RelayFundingPool.json
|
|
14176
|
+
var RelayFundingPool_default = [
|
|
14177
|
+
{
|
|
14178
|
+
type: "constructor",
|
|
14179
|
+
inputs: [
|
|
14180
|
+
{
|
|
14181
|
+
name: "admin",
|
|
14182
|
+
type: "address",
|
|
14183
|
+
internalType: "address"
|
|
14184
|
+
},
|
|
14185
|
+
{
|
|
14186
|
+
name: "withdrawer",
|
|
14187
|
+
type: "address",
|
|
14188
|
+
internalType: "address"
|
|
14189
|
+
},
|
|
14190
|
+
{
|
|
14191
|
+
name: "resolver",
|
|
14192
|
+
type: "address",
|
|
14193
|
+
internalType: "address"
|
|
13906
14194
|
}
|
|
13907
14195
|
],
|
|
13908
14196
|
stateMutability: "nonpayable"
|
|
@@ -13959,6 +14247,32 @@ var RelayFundingPool_default = [
|
|
|
13959
14247
|
],
|
|
13960
14248
|
stateMutability: "view"
|
|
13961
14249
|
},
|
|
14250
|
+
{
|
|
14251
|
+
type: "function",
|
|
14252
|
+
name: "SPONSORSHIP_CONFIG_UPDATE_TYPEHASH",
|
|
14253
|
+
inputs: [],
|
|
14254
|
+
outputs: [
|
|
14255
|
+
{
|
|
14256
|
+
name: "",
|
|
14257
|
+
type: "bytes32",
|
|
14258
|
+
internalType: "bytes32"
|
|
14259
|
+
}
|
|
14260
|
+
],
|
|
14261
|
+
stateMutability: "view"
|
|
14262
|
+
},
|
|
14263
|
+
{
|
|
14264
|
+
type: "function",
|
|
14265
|
+
name: "SPONSORSHIP_RESOLVER_UPDATE_TYPEHASH",
|
|
14266
|
+
inputs: [],
|
|
14267
|
+
outputs: [
|
|
14268
|
+
{
|
|
14269
|
+
name: "",
|
|
14270
|
+
type: "bytes32",
|
|
14271
|
+
internalType: "bytes32"
|
|
14272
|
+
}
|
|
14273
|
+
],
|
|
14274
|
+
stateMutability: "view"
|
|
14275
|
+
},
|
|
13962
14276
|
{
|
|
13963
14277
|
type: "function",
|
|
13964
14278
|
name: "WITHDRAWER_ROLE",
|
|
@@ -14014,6 +14328,16 @@ var RelayFundingPool_default = [
|
|
|
14014
14328
|
name: "amount",
|
|
14015
14329
|
type: "uint256",
|
|
14016
14330
|
internalType: "uint256"
|
|
14331
|
+
},
|
|
14332
|
+
{
|
|
14333
|
+
name: "requestHash",
|
|
14334
|
+
type: "bytes32",
|
|
14335
|
+
internalType: "bytes32"
|
|
14336
|
+
},
|
|
14337
|
+
{
|
|
14338
|
+
name: "kind",
|
|
14339
|
+
type: "uint8",
|
|
14340
|
+
internalType: "enum DrawLegKind"
|
|
14017
14341
|
}
|
|
14018
14342
|
],
|
|
14019
14343
|
outputs: [],
|
|
@@ -14042,6 +14366,16 @@ var RelayFundingPool_default = [
|
|
|
14042
14366
|
name: "requestHash",
|
|
14043
14367
|
type: "bytes32",
|
|
14044
14368
|
internalType: "bytes32"
|
|
14369
|
+
},
|
|
14370
|
+
{
|
|
14371
|
+
name: "legIndex",
|
|
14372
|
+
type: "uint256",
|
|
14373
|
+
internalType: "uint256"
|
|
14374
|
+
},
|
|
14375
|
+
{
|
|
14376
|
+
name: "kind",
|
|
14377
|
+
type: "uint8",
|
|
14378
|
+
internalType: "enum DrawLegKind"
|
|
14045
14379
|
}
|
|
14046
14380
|
],
|
|
14047
14381
|
outputs: [],
|
|
@@ -14083,6 +14417,11 @@ var RelayFundingPool_default = [
|
|
|
14083
14417
|
name: "account",
|
|
14084
14418
|
type: "address",
|
|
14085
14419
|
internalType: "address"
|
|
14420
|
+
},
|
|
14421
|
+
{
|
|
14422
|
+
name: "legIndex",
|
|
14423
|
+
type: "uint256",
|
|
14424
|
+
internalType: "uint256"
|
|
14086
14425
|
}
|
|
14087
14426
|
],
|
|
14088
14427
|
outputs: [
|
|
@@ -14171,29 +14510,131 @@ var RelayFundingPool_default = [
|
|
|
14171
14510
|
internalType: "address"
|
|
14172
14511
|
}
|
|
14173
14512
|
],
|
|
14174
|
-
outputs: [],
|
|
14175
|
-
stateMutability: "nonpayable"
|
|
14513
|
+
outputs: [],
|
|
14514
|
+
stateMutability: "nonpayable"
|
|
14515
|
+
},
|
|
14516
|
+
{
|
|
14517
|
+
type: "function",
|
|
14518
|
+
name: "hasRole",
|
|
14519
|
+
inputs: [
|
|
14520
|
+
{
|
|
14521
|
+
name: "role",
|
|
14522
|
+
type: "bytes32",
|
|
14523
|
+
internalType: "bytes32"
|
|
14524
|
+
},
|
|
14525
|
+
{
|
|
14526
|
+
name: "account",
|
|
14527
|
+
type: "address",
|
|
14528
|
+
internalType: "address"
|
|
14529
|
+
}
|
|
14530
|
+
],
|
|
14531
|
+
outputs: [
|
|
14532
|
+
{
|
|
14533
|
+
name: "",
|
|
14534
|
+
type: "bool",
|
|
14535
|
+
internalType: "bool"
|
|
14536
|
+
}
|
|
14537
|
+
],
|
|
14538
|
+
stateMutability: "view"
|
|
14539
|
+
},
|
|
14540
|
+
{
|
|
14541
|
+
type: "function",
|
|
14542
|
+
name: "hashSponsorshipConfigUpdate",
|
|
14543
|
+
inputs: [
|
|
14544
|
+
{
|
|
14545
|
+
name: "update",
|
|
14546
|
+
type: "tuple",
|
|
14547
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
14548
|
+
components: [
|
|
14549
|
+
{
|
|
14550
|
+
name: "account",
|
|
14551
|
+
type: "address",
|
|
14552
|
+
internalType: "address"
|
|
14553
|
+
},
|
|
14554
|
+
{
|
|
14555
|
+
name: "token",
|
|
14556
|
+
type: "address",
|
|
14557
|
+
internalType: "address"
|
|
14558
|
+
},
|
|
14559
|
+
{
|
|
14560
|
+
name: "perOrderCap",
|
|
14561
|
+
type: "uint256",
|
|
14562
|
+
internalType: "uint256"
|
|
14563
|
+
},
|
|
14564
|
+
{
|
|
14565
|
+
name: "budget",
|
|
14566
|
+
type: "uint256",
|
|
14567
|
+
internalType: "uint256"
|
|
14568
|
+
},
|
|
14569
|
+
{
|
|
14570
|
+
name: "expiry",
|
|
14571
|
+
type: "uint64",
|
|
14572
|
+
internalType: "uint64"
|
|
14573
|
+
},
|
|
14574
|
+
{
|
|
14575
|
+
name: "nonce",
|
|
14576
|
+
type: "uint256",
|
|
14577
|
+
internalType: "uint256"
|
|
14578
|
+
},
|
|
14579
|
+
{
|
|
14580
|
+
name: "deadline",
|
|
14581
|
+
type: "uint256",
|
|
14582
|
+
internalType: "uint256"
|
|
14583
|
+
}
|
|
14584
|
+
]
|
|
14585
|
+
}
|
|
14586
|
+
],
|
|
14587
|
+
outputs: [
|
|
14588
|
+
{
|
|
14589
|
+
name: "digest",
|
|
14590
|
+
type: "bytes32",
|
|
14591
|
+
internalType: "bytes32"
|
|
14592
|
+
}
|
|
14593
|
+
],
|
|
14594
|
+
stateMutability: "view"
|
|
14176
14595
|
},
|
|
14177
14596
|
{
|
|
14178
14597
|
type: "function",
|
|
14179
|
-
name: "
|
|
14598
|
+
name: "hashSponsorshipResolverUpdate",
|
|
14180
14599
|
inputs: [
|
|
14181
14600
|
{
|
|
14182
|
-
name: "
|
|
14183
|
-
type: "
|
|
14184
|
-
internalType: "
|
|
14185
|
-
|
|
14186
|
-
|
|
14187
|
-
|
|
14188
|
-
|
|
14189
|
-
|
|
14601
|
+
name: "update",
|
|
14602
|
+
type: "tuple",
|
|
14603
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
14604
|
+
components: [
|
|
14605
|
+
{
|
|
14606
|
+
name: "account",
|
|
14607
|
+
type: "address",
|
|
14608
|
+
internalType: "address"
|
|
14609
|
+
},
|
|
14610
|
+
{
|
|
14611
|
+
name: "resolver",
|
|
14612
|
+
type: "address",
|
|
14613
|
+
internalType: "address"
|
|
14614
|
+
},
|
|
14615
|
+
{
|
|
14616
|
+
name: "allowed",
|
|
14617
|
+
type: "bool",
|
|
14618
|
+
internalType: "bool"
|
|
14619
|
+
},
|
|
14620
|
+
{
|
|
14621
|
+
name: "nonce",
|
|
14622
|
+
type: "uint256",
|
|
14623
|
+
internalType: "uint256"
|
|
14624
|
+
},
|
|
14625
|
+
{
|
|
14626
|
+
name: "deadline",
|
|
14627
|
+
type: "uint256",
|
|
14628
|
+
internalType: "uint256"
|
|
14629
|
+
}
|
|
14630
|
+
]
|
|
14190
14631
|
}
|
|
14191
14632
|
],
|
|
14192
14633
|
outputs: [
|
|
14193
14634
|
{
|
|
14194
|
-
name: "",
|
|
14195
|
-
type: "
|
|
14196
|
-
internalType: "
|
|
14635
|
+
name: "digest",
|
|
14636
|
+
type: "bytes32",
|
|
14637
|
+
internalType: "bytes32"
|
|
14197
14638
|
}
|
|
14198
14639
|
],
|
|
14199
14640
|
stateMutability: "view"
|
|
@@ -14249,6 +14690,35 @@ var RelayFundingPool_default = [
|
|
|
14249
14690
|
],
|
|
14250
14691
|
stateMutability: "view"
|
|
14251
14692
|
},
|
|
14693
|
+
{
|
|
14694
|
+
type: "function",
|
|
14695
|
+
name: "orderDraws",
|
|
14696
|
+
inputs: [
|
|
14697
|
+
{
|
|
14698
|
+
name: "requestHash",
|
|
14699
|
+
type: "bytes32",
|
|
14700
|
+
internalType: "bytes32"
|
|
14701
|
+
},
|
|
14702
|
+
{
|
|
14703
|
+
name: "account",
|
|
14704
|
+
type: "address",
|
|
14705
|
+
internalType: "address"
|
|
14706
|
+
},
|
|
14707
|
+
{
|
|
14708
|
+
name: "token",
|
|
14709
|
+
type: "address",
|
|
14710
|
+
internalType: "address"
|
|
14711
|
+
}
|
|
14712
|
+
],
|
|
14713
|
+
outputs: [
|
|
14714
|
+
{
|
|
14715
|
+
name: "drawn",
|
|
14716
|
+
type: "uint256",
|
|
14717
|
+
internalType: "uint256"
|
|
14718
|
+
}
|
|
14719
|
+
],
|
|
14720
|
+
stateMutability: "view"
|
|
14721
|
+
},
|
|
14252
14722
|
{
|
|
14253
14723
|
type: "function",
|
|
14254
14724
|
name: "pause",
|
|
@@ -14340,6 +14810,106 @@ var RelayFundingPool_default = [
|
|
|
14340
14810
|
outputs: [],
|
|
14341
14811
|
stateMutability: "nonpayable"
|
|
14342
14812
|
},
|
|
14813
|
+
{
|
|
14814
|
+
type: "function",
|
|
14815
|
+
name: "setSponsorshipConfig",
|
|
14816
|
+
inputs: [
|
|
14817
|
+
{
|
|
14818
|
+
name: "update",
|
|
14819
|
+
type: "tuple",
|
|
14820
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
14821
|
+
components: [
|
|
14822
|
+
{
|
|
14823
|
+
name: "account",
|
|
14824
|
+
type: "address",
|
|
14825
|
+
internalType: "address"
|
|
14826
|
+
},
|
|
14827
|
+
{
|
|
14828
|
+
name: "token",
|
|
14829
|
+
type: "address",
|
|
14830
|
+
internalType: "address"
|
|
14831
|
+
},
|
|
14832
|
+
{
|
|
14833
|
+
name: "perOrderCap",
|
|
14834
|
+
type: "uint256",
|
|
14835
|
+
internalType: "uint256"
|
|
14836
|
+
},
|
|
14837
|
+
{
|
|
14838
|
+
name: "budget",
|
|
14839
|
+
type: "uint256",
|
|
14840
|
+
internalType: "uint256"
|
|
14841
|
+
},
|
|
14842
|
+
{
|
|
14843
|
+
name: "expiry",
|
|
14844
|
+
type: "uint64",
|
|
14845
|
+
internalType: "uint64"
|
|
14846
|
+
},
|
|
14847
|
+
{
|
|
14848
|
+
name: "nonce",
|
|
14849
|
+
type: "uint256",
|
|
14850
|
+
internalType: "uint256"
|
|
14851
|
+
},
|
|
14852
|
+
{
|
|
14853
|
+
name: "deadline",
|
|
14854
|
+
type: "uint256",
|
|
14855
|
+
internalType: "uint256"
|
|
14856
|
+
}
|
|
14857
|
+
]
|
|
14858
|
+
},
|
|
14859
|
+
{
|
|
14860
|
+
name: "signature",
|
|
14861
|
+
type: "bytes",
|
|
14862
|
+
internalType: "bytes"
|
|
14863
|
+
}
|
|
14864
|
+
],
|
|
14865
|
+
outputs: [],
|
|
14866
|
+
stateMutability: "nonpayable"
|
|
14867
|
+
},
|
|
14868
|
+
{
|
|
14869
|
+
type: "function",
|
|
14870
|
+
name: "setSponsorshipResolver",
|
|
14871
|
+
inputs: [
|
|
14872
|
+
{
|
|
14873
|
+
name: "update",
|
|
14874
|
+
type: "tuple",
|
|
14875
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
14876
|
+
components: [
|
|
14877
|
+
{
|
|
14878
|
+
name: "account",
|
|
14879
|
+
type: "address",
|
|
14880
|
+
internalType: "address"
|
|
14881
|
+
},
|
|
14882
|
+
{
|
|
14883
|
+
name: "resolver",
|
|
14884
|
+
type: "address",
|
|
14885
|
+
internalType: "address"
|
|
14886
|
+
},
|
|
14887
|
+
{
|
|
14888
|
+
name: "allowed",
|
|
14889
|
+
type: "bool",
|
|
14890
|
+
internalType: "bool"
|
|
14891
|
+
},
|
|
14892
|
+
{
|
|
14893
|
+
name: "nonce",
|
|
14894
|
+
type: "uint256",
|
|
14895
|
+
internalType: "uint256"
|
|
14896
|
+
},
|
|
14897
|
+
{
|
|
14898
|
+
name: "deadline",
|
|
14899
|
+
type: "uint256",
|
|
14900
|
+
internalType: "uint256"
|
|
14901
|
+
}
|
|
14902
|
+
]
|
|
14903
|
+
},
|
|
14904
|
+
{
|
|
14905
|
+
name: "signature",
|
|
14906
|
+
type: "bytes",
|
|
14907
|
+
internalType: "bytes"
|
|
14908
|
+
}
|
|
14909
|
+
],
|
|
14910
|
+
outputs: [],
|
|
14911
|
+
stateMutability: "nonpayable"
|
|
14912
|
+
},
|
|
14343
14913
|
{
|
|
14344
14914
|
type: "function",
|
|
14345
14915
|
name: "setSponsorshipResolver",
|
|
@@ -14442,6 +15012,30 @@ var RelayFundingPool_default = [
|
|
|
14442
15012
|
outputs: [],
|
|
14443
15013
|
stateMutability: "nonpayable"
|
|
14444
15014
|
},
|
|
15015
|
+
{
|
|
15016
|
+
type: "function",
|
|
15017
|
+
name: "usedSponsorshipNonces",
|
|
15018
|
+
inputs: [
|
|
15019
|
+
{
|
|
15020
|
+
name: "account",
|
|
15021
|
+
type: "address",
|
|
15022
|
+
internalType: "address"
|
|
15023
|
+
},
|
|
15024
|
+
{
|
|
15025
|
+
name: "nonce",
|
|
15026
|
+
type: "uint256",
|
|
15027
|
+
internalType: "uint256"
|
|
15028
|
+
}
|
|
15029
|
+
],
|
|
15030
|
+
outputs: [
|
|
15031
|
+
{
|
|
15032
|
+
name: "used",
|
|
15033
|
+
type: "bool",
|
|
15034
|
+
internalType: "bool"
|
|
15035
|
+
}
|
|
15036
|
+
],
|
|
15037
|
+
stateMutability: "view"
|
|
15038
|
+
},
|
|
14445
15039
|
{
|
|
14446
15040
|
type: "function",
|
|
14447
15041
|
name: "usedWithdrawalNonces",
|
|
@@ -14543,6 +15137,12 @@ var RelayFundingPool_default = [
|
|
|
14543
15137
|
type: "event",
|
|
14544
15138
|
name: "Credited",
|
|
14545
15139
|
inputs: [
|
|
15140
|
+
{
|
|
15141
|
+
name: "requestHash",
|
|
15142
|
+
type: "bytes32",
|
|
15143
|
+
indexed: true,
|
|
15144
|
+
internalType: "bytes32"
|
|
15145
|
+
},
|
|
14546
15146
|
{
|
|
14547
15147
|
name: "account",
|
|
14548
15148
|
type: "address",
|
|
@@ -14558,9 +15158,15 @@ var RelayFundingPool_default = [
|
|
|
14558
15158
|
{
|
|
14559
15159
|
name: "resolver",
|
|
14560
15160
|
type: "address",
|
|
14561
|
-
indexed:
|
|
15161
|
+
indexed: false,
|
|
14562
15162
|
internalType: "address"
|
|
14563
15163
|
},
|
|
15164
|
+
{
|
|
15165
|
+
name: "kind",
|
|
15166
|
+
type: "uint8",
|
|
15167
|
+
indexed: false,
|
|
15168
|
+
internalType: "enum DrawLegKind"
|
|
15169
|
+
},
|
|
14564
15170
|
{
|
|
14565
15171
|
name: "amount",
|
|
14566
15172
|
type: "uint256",
|
|
@@ -14629,6 +15235,18 @@ var RelayFundingPool_default = [
|
|
|
14629
15235
|
indexed: false,
|
|
14630
15236
|
internalType: "address"
|
|
14631
15237
|
},
|
|
15238
|
+
{
|
|
15239
|
+
name: "kind",
|
|
15240
|
+
type: "uint8",
|
|
15241
|
+
indexed: false,
|
|
15242
|
+
internalType: "enum DrawLegKind"
|
|
15243
|
+
},
|
|
15244
|
+
{
|
|
15245
|
+
name: "legIndex",
|
|
15246
|
+
type: "uint256",
|
|
15247
|
+
indexed: false,
|
|
15248
|
+
internalType: "uint256"
|
|
15249
|
+
},
|
|
14632
15250
|
{
|
|
14633
15251
|
name: "amount",
|
|
14634
15252
|
type: "uint256",
|
|
@@ -14872,6 +15490,11 @@ var RelayFundingPool_default = [
|
|
|
14872
15490
|
name: "account",
|
|
14873
15491
|
type: "address",
|
|
14874
15492
|
internalType: "address"
|
|
15493
|
+
},
|
|
15494
|
+
{
|
|
15495
|
+
name: "legIndex",
|
|
15496
|
+
type: "uint256",
|
|
15497
|
+
internalType: "uint256"
|
|
14875
15498
|
}
|
|
14876
15499
|
]
|
|
14877
15500
|
},
|
|
@@ -14942,6 +15565,17 @@ var RelayFundingPool_default = [
|
|
|
14942
15565
|
name: "InvalidShortString",
|
|
14943
15566
|
inputs: []
|
|
14944
15567
|
},
|
|
15568
|
+
{
|
|
15569
|
+
type: "error",
|
|
15570
|
+
name: "InvalidSponsorshipUpdate",
|
|
15571
|
+
inputs: [
|
|
15572
|
+
{
|
|
15573
|
+
name: "account",
|
|
15574
|
+
type: "address",
|
|
15575
|
+
internalType: "address"
|
|
15576
|
+
}
|
|
15577
|
+
]
|
|
15578
|
+
},
|
|
14945
15579
|
{
|
|
14946
15580
|
type: "error",
|
|
14947
15581
|
name: "InvalidWithdrawal",
|
|
@@ -14968,7 +15602,7 @@ var RelayFundingPool_default = [
|
|
|
14968
15602
|
internalType: "address"
|
|
14969
15603
|
},
|
|
14970
15604
|
{
|
|
14971
|
-
name: "
|
|
15605
|
+
name: "orderTotal",
|
|
14972
15606
|
type: "uint256",
|
|
14973
15607
|
internalType: "uint256"
|
|
14974
15608
|
},
|
|
@@ -15032,6 +15666,33 @@ var RelayFundingPool_default = [
|
|
|
15032
15666
|
}
|
|
15033
15667
|
]
|
|
15034
15668
|
},
|
|
15669
|
+
{
|
|
15670
|
+
type: "error",
|
|
15671
|
+
name: "SponsorshipNonceUsed",
|
|
15672
|
+
inputs: [
|
|
15673
|
+
{
|
|
15674
|
+
name: "account",
|
|
15675
|
+
type: "address",
|
|
15676
|
+
internalType: "address"
|
|
15677
|
+
},
|
|
15678
|
+
{
|
|
15679
|
+
name: "nonce",
|
|
15680
|
+
type: "uint256",
|
|
15681
|
+
internalType: "uint256"
|
|
15682
|
+
}
|
|
15683
|
+
]
|
|
15684
|
+
},
|
|
15685
|
+
{
|
|
15686
|
+
type: "error",
|
|
15687
|
+
name: "SponsorshipUpdateExpired",
|
|
15688
|
+
inputs: [
|
|
15689
|
+
{
|
|
15690
|
+
name: "deadline",
|
|
15691
|
+
type: "uint256",
|
|
15692
|
+
internalType: "uint256"
|
|
15693
|
+
}
|
|
15694
|
+
]
|
|
15695
|
+
},
|
|
15035
15696
|
{
|
|
15036
15697
|
type: "error",
|
|
15037
15698
|
name: "StringTooLong",
|