@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.mjs
CHANGED
|
@@ -13469,6 +13469,16 @@ var IRelayFundingPool_default = [
|
|
|
13469
13469
|
name: "amount",
|
|
13470
13470
|
type: "uint256",
|
|
13471
13471
|
internalType: "uint256"
|
|
13472
|
+
},
|
|
13473
|
+
{
|
|
13474
|
+
name: "requestHash",
|
|
13475
|
+
type: "bytes32",
|
|
13476
|
+
internalType: "bytes32"
|
|
13477
|
+
},
|
|
13478
|
+
{
|
|
13479
|
+
name: "kind",
|
|
13480
|
+
type: "uint8",
|
|
13481
|
+
internalType: "enum DrawLegKind"
|
|
13472
13482
|
}
|
|
13473
13483
|
],
|
|
13474
13484
|
outputs: [],
|
|
@@ -13497,6 +13507,16 @@ var IRelayFundingPool_default = [
|
|
|
13497
13507
|
name: "requestHash",
|
|
13498
13508
|
type: "bytes32",
|
|
13499
13509
|
internalType: "bytes32"
|
|
13510
|
+
},
|
|
13511
|
+
{
|
|
13512
|
+
name: "legIndex",
|
|
13513
|
+
type: "uint256",
|
|
13514
|
+
internalType: "uint256"
|
|
13515
|
+
},
|
|
13516
|
+
{
|
|
13517
|
+
name: "kind",
|
|
13518
|
+
type: "uint8",
|
|
13519
|
+
internalType: "enum DrawLegKind"
|
|
13500
13520
|
}
|
|
13501
13521
|
],
|
|
13502
13522
|
outputs: [],
|
|
@@ -13538,6 +13558,11 @@ var IRelayFundingPool_default = [
|
|
|
13538
13558
|
name: "account",
|
|
13539
13559
|
type: "address",
|
|
13540
13560
|
internalType: "address"
|
|
13561
|
+
},
|
|
13562
|
+
{
|
|
13563
|
+
name: "legIndex",
|
|
13564
|
+
type: "uint256",
|
|
13565
|
+
internalType: "uint256"
|
|
13541
13566
|
}
|
|
13542
13567
|
],
|
|
13543
13568
|
outputs: [
|
|
@@ -13549,6 +13574,108 @@ var IRelayFundingPool_default = [
|
|
|
13549
13574
|
],
|
|
13550
13575
|
stateMutability: "view"
|
|
13551
13576
|
},
|
|
13577
|
+
{
|
|
13578
|
+
type: "function",
|
|
13579
|
+
name: "hashSponsorshipConfigUpdate",
|
|
13580
|
+
inputs: [
|
|
13581
|
+
{
|
|
13582
|
+
name: "update",
|
|
13583
|
+
type: "tuple",
|
|
13584
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
13585
|
+
components: [
|
|
13586
|
+
{
|
|
13587
|
+
name: "account",
|
|
13588
|
+
type: "address",
|
|
13589
|
+
internalType: "address"
|
|
13590
|
+
},
|
|
13591
|
+
{
|
|
13592
|
+
name: "token",
|
|
13593
|
+
type: "address",
|
|
13594
|
+
internalType: "address"
|
|
13595
|
+
},
|
|
13596
|
+
{
|
|
13597
|
+
name: "perOrderCap",
|
|
13598
|
+
type: "uint256",
|
|
13599
|
+
internalType: "uint256"
|
|
13600
|
+
},
|
|
13601
|
+
{
|
|
13602
|
+
name: "budget",
|
|
13603
|
+
type: "uint256",
|
|
13604
|
+
internalType: "uint256"
|
|
13605
|
+
},
|
|
13606
|
+
{
|
|
13607
|
+
name: "expiry",
|
|
13608
|
+
type: "uint64",
|
|
13609
|
+
internalType: "uint64"
|
|
13610
|
+
},
|
|
13611
|
+
{
|
|
13612
|
+
name: "nonce",
|
|
13613
|
+
type: "uint256",
|
|
13614
|
+
internalType: "uint256"
|
|
13615
|
+
},
|
|
13616
|
+
{
|
|
13617
|
+
name: "deadline",
|
|
13618
|
+
type: "uint256",
|
|
13619
|
+
internalType: "uint256"
|
|
13620
|
+
}
|
|
13621
|
+
]
|
|
13622
|
+
}
|
|
13623
|
+
],
|
|
13624
|
+
outputs: [
|
|
13625
|
+
{
|
|
13626
|
+
name: "digest",
|
|
13627
|
+
type: "bytes32",
|
|
13628
|
+
internalType: "bytes32"
|
|
13629
|
+
}
|
|
13630
|
+
],
|
|
13631
|
+
stateMutability: "view"
|
|
13632
|
+
},
|
|
13633
|
+
{
|
|
13634
|
+
type: "function",
|
|
13635
|
+
name: "hashSponsorshipResolverUpdate",
|
|
13636
|
+
inputs: [
|
|
13637
|
+
{
|
|
13638
|
+
name: "update",
|
|
13639
|
+
type: "tuple",
|
|
13640
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
13641
|
+
components: [
|
|
13642
|
+
{
|
|
13643
|
+
name: "account",
|
|
13644
|
+
type: "address",
|
|
13645
|
+
internalType: "address"
|
|
13646
|
+
},
|
|
13647
|
+
{
|
|
13648
|
+
name: "resolver",
|
|
13649
|
+
type: "address",
|
|
13650
|
+
internalType: "address"
|
|
13651
|
+
},
|
|
13652
|
+
{
|
|
13653
|
+
name: "allowed",
|
|
13654
|
+
type: "bool",
|
|
13655
|
+
internalType: "bool"
|
|
13656
|
+
},
|
|
13657
|
+
{
|
|
13658
|
+
name: "nonce",
|
|
13659
|
+
type: "uint256",
|
|
13660
|
+
internalType: "uint256"
|
|
13661
|
+
},
|
|
13662
|
+
{
|
|
13663
|
+
name: "deadline",
|
|
13664
|
+
type: "uint256",
|
|
13665
|
+
internalType: "uint256"
|
|
13666
|
+
}
|
|
13667
|
+
]
|
|
13668
|
+
}
|
|
13669
|
+
],
|
|
13670
|
+
outputs: [
|
|
13671
|
+
{
|
|
13672
|
+
name: "digest",
|
|
13673
|
+
type: "bytes32",
|
|
13674
|
+
internalType: "bytes32"
|
|
13675
|
+
}
|
|
13676
|
+
],
|
|
13677
|
+
stateMutability: "view"
|
|
13678
|
+
},
|
|
13552
13679
|
{
|
|
13553
13680
|
type: "function",
|
|
13554
13681
|
name: "hashWithdrawal",
|
|
@@ -13600,6 +13727,35 @@ var IRelayFundingPool_default = [
|
|
|
13600
13727
|
],
|
|
13601
13728
|
stateMutability: "view"
|
|
13602
13729
|
},
|
|
13730
|
+
{
|
|
13731
|
+
type: "function",
|
|
13732
|
+
name: "orderDraws",
|
|
13733
|
+
inputs: [
|
|
13734
|
+
{
|
|
13735
|
+
name: "requestHash",
|
|
13736
|
+
type: "bytes32",
|
|
13737
|
+
internalType: "bytes32"
|
|
13738
|
+
},
|
|
13739
|
+
{
|
|
13740
|
+
name: "account",
|
|
13741
|
+
type: "address",
|
|
13742
|
+
internalType: "address"
|
|
13743
|
+
},
|
|
13744
|
+
{
|
|
13745
|
+
name: "token",
|
|
13746
|
+
type: "address",
|
|
13747
|
+
internalType: "address"
|
|
13748
|
+
}
|
|
13749
|
+
],
|
|
13750
|
+
outputs: [
|
|
13751
|
+
{
|
|
13752
|
+
name: "drawn",
|
|
13753
|
+
type: "uint256",
|
|
13754
|
+
internalType: "uint256"
|
|
13755
|
+
}
|
|
13756
|
+
],
|
|
13757
|
+
stateMutability: "view"
|
|
13758
|
+
},
|
|
13603
13759
|
{
|
|
13604
13760
|
type: "function",
|
|
13605
13761
|
name: "setSponsorshipConfig",
|
|
@@ -13635,6 +13791,106 @@ var IRelayFundingPool_default = [
|
|
|
13635
13791
|
outputs: [],
|
|
13636
13792
|
stateMutability: "nonpayable"
|
|
13637
13793
|
},
|
|
13794
|
+
{
|
|
13795
|
+
type: "function",
|
|
13796
|
+
name: "setSponsorshipConfig",
|
|
13797
|
+
inputs: [
|
|
13798
|
+
{
|
|
13799
|
+
name: "update",
|
|
13800
|
+
type: "tuple",
|
|
13801
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
13802
|
+
components: [
|
|
13803
|
+
{
|
|
13804
|
+
name: "account",
|
|
13805
|
+
type: "address",
|
|
13806
|
+
internalType: "address"
|
|
13807
|
+
},
|
|
13808
|
+
{
|
|
13809
|
+
name: "token",
|
|
13810
|
+
type: "address",
|
|
13811
|
+
internalType: "address"
|
|
13812
|
+
},
|
|
13813
|
+
{
|
|
13814
|
+
name: "perOrderCap",
|
|
13815
|
+
type: "uint256",
|
|
13816
|
+
internalType: "uint256"
|
|
13817
|
+
},
|
|
13818
|
+
{
|
|
13819
|
+
name: "budget",
|
|
13820
|
+
type: "uint256",
|
|
13821
|
+
internalType: "uint256"
|
|
13822
|
+
},
|
|
13823
|
+
{
|
|
13824
|
+
name: "expiry",
|
|
13825
|
+
type: "uint64",
|
|
13826
|
+
internalType: "uint64"
|
|
13827
|
+
},
|
|
13828
|
+
{
|
|
13829
|
+
name: "nonce",
|
|
13830
|
+
type: "uint256",
|
|
13831
|
+
internalType: "uint256"
|
|
13832
|
+
},
|
|
13833
|
+
{
|
|
13834
|
+
name: "deadline",
|
|
13835
|
+
type: "uint256",
|
|
13836
|
+
internalType: "uint256"
|
|
13837
|
+
}
|
|
13838
|
+
]
|
|
13839
|
+
},
|
|
13840
|
+
{
|
|
13841
|
+
name: "signature",
|
|
13842
|
+
type: "bytes",
|
|
13843
|
+
internalType: "bytes"
|
|
13844
|
+
}
|
|
13845
|
+
],
|
|
13846
|
+
outputs: [],
|
|
13847
|
+
stateMutability: "nonpayable"
|
|
13848
|
+
},
|
|
13849
|
+
{
|
|
13850
|
+
type: "function",
|
|
13851
|
+
name: "setSponsorshipResolver",
|
|
13852
|
+
inputs: [
|
|
13853
|
+
{
|
|
13854
|
+
name: "update",
|
|
13855
|
+
type: "tuple",
|
|
13856
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
13857
|
+
components: [
|
|
13858
|
+
{
|
|
13859
|
+
name: "account",
|
|
13860
|
+
type: "address",
|
|
13861
|
+
internalType: "address"
|
|
13862
|
+
},
|
|
13863
|
+
{
|
|
13864
|
+
name: "resolver",
|
|
13865
|
+
type: "address",
|
|
13866
|
+
internalType: "address"
|
|
13867
|
+
},
|
|
13868
|
+
{
|
|
13869
|
+
name: "allowed",
|
|
13870
|
+
type: "bool",
|
|
13871
|
+
internalType: "bool"
|
|
13872
|
+
},
|
|
13873
|
+
{
|
|
13874
|
+
name: "nonce",
|
|
13875
|
+
type: "uint256",
|
|
13876
|
+
internalType: "uint256"
|
|
13877
|
+
},
|
|
13878
|
+
{
|
|
13879
|
+
name: "deadline",
|
|
13880
|
+
type: "uint256",
|
|
13881
|
+
internalType: "uint256"
|
|
13882
|
+
}
|
|
13883
|
+
]
|
|
13884
|
+
},
|
|
13885
|
+
{
|
|
13886
|
+
name: "signature",
|
|
13887
|
+
type: "bytes",
|
|
13888
|
+
internalType: "bytes"
|
|
13889
|
+
}
|
|
13890
|
+
],
|
|
13891
|
+
outputs: [],
|
|
13892
|
+
stateMutability: "nonpayable"
|
|
13893
|
+
},
|
|
13638
13894
|
{
|
|
13639
13895
|
type: "function",
|
|
13640
13896
|
name: "setSponsorshipResolver",
|
|
@@ -13838,6 +14094,32 @@ var RelayFundingPool_default = [
|
|
|
13838
14094
|
],
|
|
13839
14095
|
stateMutability: "view"
|
|
13840
14096
|
},
|
|
14097
|
+
{
|
|
14098
|
+
type: "function",
|
|
14099
|
+
name: "SPONSORSHIP_CONFIG_UPDATE_TYPEHASH",
|
|
14100
|
+
inputs: [],
|
|
14101
|
+
outputs: [
|
|
14102
|
+
{
|
|
14103
|
+
name: "",
|
|
14104
|
+
type: "bytes32",
|
|
14105
|
+
internalType: "bytes32"
|
|
14106
|
+
}
|
|
14107
|
+
],
|
|
14108
|
+
stateMutability: "view"
|
|
14109
|
+
},
|
|
14110
|
+
{
|
|
14111
|
+
type: "function",
|
|
14112
|
+
name: "SPONSORSHIP_RESOLVER_UPDATE_TYPEHASH",
|
|
14113
|
+
inputs: [],
|
|
14114
|
+
outputs: [
|
|
14115
|
+
{
|
|
14116
|
+
name: "",
|
|
14117
|
+
type: "bytes32",
|
|
14118
|
+
internalType: "bytes32"
|
|
14119
|
+
}
|
|
14120
|
+
],
|
|
14121
|
+
stateMutability: "view"
|
|
14122
|
+
},
|
|
13841
14123
|
{
|
|
13842
14124
|
type: "function",
|
|
13843
14125
|
name: "WITHDRAWER_ROLE",
|
|
@@ -13893,6 +14175,16 @@ var RelayFundingPool_default = [
|
|
|
13893
14175
|
name: "amount",
|
|
13894
14176
|
type: "uint256",
|
|
13895
14177
|
internalType: "uint256"
|
|
14178
|
+
},
|
|
14179
|
+
{
|
|
14180
|
+
name: "requestHash",
|
|
14181
|
+
type: "bytes32",
|
|
14182
|
+
internalType: "bytes32"
|
|
14183
|
+
},
|
|
14184
|
+
{
|
|
14185
|
+
name: "kind",
|
|
14186
|
+
type: "uint8",
|
|
14187
|
+
internalType: "enum DrawLegKind"
|
|
13896
14188
|
}
|
|
13897
14189
|
],
|
|
13898
14190
|
outputs: [],
|
|
@@ -13921,6 +14213,16 @@ var RelayFundingPool_default = [
|
|
|
13921
14213
|
name: "requestHash",
|
|
13922
14214
|
type: "bytes32",
|
|
13923
14215
|
internalType: "bytes32"
|
|
14216
|
+
},
|
|
14217
|
+
{
|
|
14218
|
+
name: "legIndex",
|
|
14219
|
+
type: "uint256",
|
|
14220
|
+
internalType: "uint256"
|
|
14221
|
+
},
|
|
14222
|
+
{
|
|
14223
|
+
name: "kind",
|
|
14224
|
+
type: "uint8",
|
|
14225
|
+
internalType: "enum DrawLegKind"
|
|
13924
14226
|
}
|
|
13925
14227
|
],
|
|
13926
14228
|
outputs: [],
|
|
@@ -13962,6 +14264,11 @@ var RelayFundingPool_default = [
|
|
|
13962
14264
|
name: "account",
|
|
13963
14265
|
type: "address",
|
|
13964
14266
|
internalType: "address"
|
|
14267
|
+
},
|
|
14268
|
+
{
|
|
14269
|
+
name: "legIndex",
|
|
14270
|
+
type: "uint256",
|
|
14271
|
+
internalType: "uint256"
|
|
13965
14272
|
}
|
|
13966
14273
|
],
|
|
13967
14274
|
outputs: [
|
|
@@ -14050,29 +14357,131 @@ var RelayFundingPool_default = [
|
|
|
14050
14357
|
internalType: "address"
|
|
14051
14358
|
}
|
|
14052
14359
|
],
|
|
14053
|
-
outputs: [],
|
|
14054
|
-
stateMutability: "nonpayable"
|
|
14360
|
+
outputs: [],
|
|
14361
|
+
stateMutability: "nonpayable"
|
|
14362
|
+
},
|
|
14363
|
+
{
|
|
14364
|
+
type: "function",
|
|
14365
|
+
name: "hasRole",
|
|
14366
|
+
inputs: [
|
|
14367
|
+
{
|
|
14368
|
+
name: "role",
|
|
14369
|
+
type: "bytes32",
|
|
14370
|
+
internalType: "bytes32"
|
|
14371
|
+
},
|
|
14372
|
+
{
|
|
14373
|
+
name: "account",
|
|
14374
|
+
type: "address",
|
|
14375
|
+
internalType: "address"
|
|
14376
|
+
}
|
|
14377
|
+
],
|
|
14378
|
+
outputs: [
|
|
14379
|
+
{
|
|
14380
|
+
name: "",
|
|
14381
|
+
type: "bool",
|
|
14382
|
+
internalType: "bool"
|
|
14383
|
+
}
|
|
14384
|
+
],
|
|
14385
|
+
stateMutability: "view"
|
|
14386
|
+
},
|
|
14387
|
+
{
|
|
14388
|
+
type: "function",
|
|
14389
|
+
name: "hashSponsorshipConfigUpdate",
|
|
14390
|
+
inputs: [
|
|
14391
|
+
{
|
|
14392
|
+
name: "update",
|
|
14393
|
+
type: "tuple",
|
|
14394
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
14395
|
+
components: [
|
|
14396
|
+
{
|
|
14397
|
+
name: "account",
|
|
14398
|
+
type: "address",
|
|
14399
|
+
internalType: "address"
|
|
14400
|
+
},
|
|
14401
|
+
{
|
|
14402
|
+
name: "token",
|
|
14403
|
+
type: "address",
|
|
14404
|
+
internalType: "address"
|
|
14405
|
+
},
|
|
14406
|
+
{
|
|
14407
|
+
name: "perOrderCap",
|
|
14408
|
+
type: "uint256",
|
|
14409
|
+
internalType: "uint256"
|
|
14410
|
+
},
|
|
14411
|
+
{
|
|
14412
|
+
name: "budget",
|
|
14413
|
+
type: "uint256",
|
|
14414
|
+
internalType: "uint256"
|
|
14415
|
+
},
|
|
14416
|
+
{
|
|
14417
|
+
name: "expiry",
|
|
14418
|
+
type: "uint64",
|
|
14419
|
+
internalType: "uint64"
|
|
14420
|
+
},
|
|
14421
|
+
{
|
|
14422
|
+
name: "nonce",
|
|
14423
|
+
type: "uint256",
|
|
14424
|
+
internalType: "uint256"
|
|
14425
|
+
},
|
|
14426
|
+
{
|
|
14427
|
+
name: "deadline",
|
|
14428
|
+
type: "uint256",
|
|
14429
|
+
internalType: "uint256"
|
|
14430
|
+
}
|
|
14431
|
+
]
|
|
14432
|
+
}
|
|
14433
|
+
],
|
|
14434
|
+
outputs: [
|
|
14435
|
+
{
|
|
14436
|
+
name: "digest",
|
|
14437
|
+
type: "bytes32",
|
|
14438
|
+
internalType: "bytes32"
|
|
14439
|
+
}
|
|
14440
|
+
],
|
|
14441
|
+
stateMutability: "view"
|
|
14055
14442
|
},
|
|
14056
14443
|
{
|
|
14057
14444
|
type: "function",
|
|
14058
|
-
name: "
|
|
14445
|
+
name: "hashSponsorshipResolverUpdate",
|
|
14059
14446
|
inputs: [
|
|
14060
14447
|
{
|
|
14061
|
-
name: "
|
|
14062
|
-
type: "
|
|
14063
|
-
internalType: "
|
|
14064
|
-
|
|
14065
|
-
|
|
14066
|
-
|
|
14067
|
-
|
|
14068
|
-
|
|
14448
|
+
name: "update",
|
|
14449
|
+
type: "tuple",
|
|
14450
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
14451
|
+
components: [
|
|
14452
|
+
{
|
|
14453
|
+
name: "account",
|
|
14454
|
+
type: "address",
|
|
14455
|
+
internalType: "address"
|
|
14456
|
+
},
|
|
14457
|
+
{
|
|
14458
|
+
name: "resolver",
|
|
14459
|
+
type: "address",
|
|
14460
|
+
internalType: "address"
|
|
14461
|
+
},
|
|
14462
|
+
{
|
|
14463
|
+
name: "allowed",
|
|
14464
|
+
type: "bool",
|
|
14465
|
+
internalType: "bool"
|
|
14466
|
+
},
|
|
14467
|
+
{
|
|
14468
|
+
name: "nonce",
|
|
14469
|
+
type: "uint256",
|
|
14470
|
+
internalType: "uint256"
|
|
14471
|
+
},
|
|
14472
|
+
{
|
|
14473
|
+
name: "deadline",
|
|
14474
|
+
type: "uint256",
|
|
14475
|
+
internalType: "uint256"
|
|
14476
|
+
}
|
|
14477
|
+
]
|
|
14069
14478
|
}
|
|
14070
14479
|
],
|
|
14071
14480
|
outputs: [
|
|
14072
14481
|
{
|
|
14073
|
-
name: "",
|
|
14074
|
-
type: "
|
|
14075
|
-
internalType: "
|
|
14482
|
+
name: "digest",
|
|
14483
|
+
type: "bytes32",
|
|
14484
|
+
internalType: "bytes32"
|
|
14076
14485
|
}
|
|
14077
14486
|
],
|
|
14078
14487
|
stateMutability: "view"
|
|
@@ -14128,6 +14537,35 @@ var RelayFundingPool_default = [
|
|
|
14128
14537
|
],
|
|
14129
14538
|
stateMutability: "view"
|
|
14130
14539
|
},
|
|
14540
|
+
{
|
|
14541
|
+
type: "function",
|
|
14542
|
+
name: "orderDraws",
|
|
14543
|
+
inputs: [
|
|
14544
|
+
{
|
|
14545
|
+
name: "requestHash",
|
|
14546
|
+
type: "bytes32",
|
|
14547
|
+
internalType: "bytes32"
|
|
14548
|
+
},
|
|
14549
|
+
{
|
|
14550
|
+
name: "account",
|
|
14551
|
+
type: "address",
|
|
14552
|
+
internalType: "address"
|
|
14553
|
+
},
|
|
14554
|
+
{
|
|
14555
|
+
name: "token",
|
|
14556
|
+
type: "address",
|
|
14557
|
+
internalType: "address"
|
|
14558
|
+
}
|
|
14559
|
+
],
|
|
14560
|
+
outputs: [
|
|
14561
|
+
{
|
|
14562
|
+
name: "drawn",
|
|
14563
|
+
type: "uint256",
|
|
14564
|
+
internalType: "uint256"
|
|
14565
|
+
}
|
|
14566
|
+
],
|
|
14567
|
+
stateMutability: "view"
|
|
14568
|
+
},
|
|
14131
14569
|
{
|
|
14132
14570
|
type: "function",
|
|
14133
14571
|
name: "pause",
|
|
@@ -14219,6 +14657,106 @@ var RelayFundingPool_default = [
|
|
|
14219
14657
|
outputs: [],
|
|
14220
14658
|
stateMutability: "nonpayable"
|
|
14221
14659
|
},
|
|
14660
|
+
{
|
|
14661
|
+
type: "function",
|
|
14662
|
+
name: "setSponsorshipConfig",
|
|
14663
|
+
inputs: [
|
|
14664
|
+
{
|
|
14665
|
+
name: "update",
|
|
14666
|
+
type: "tuple",
|
|
14667
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
14668
|
+
components: [
|
|
14669
|
+
{
|
|
14670
|
+
name: "account",
|
|
14671
|
+
type: "address",
|
|
14672
|
+
internalType: "address"
|
|
14673
|
+
},
|
|
14674
|
+
{
|
|
14675
|
+
name: "token",
|
|
14676
|
+
type: "address",
|
|
14677
|
+
internalType: "address"
|
|
14678
|
+
},
|
|
14679
|
+
{
|
|
14680
|
+
name: "perOrderCap",
|
|
14681
|
+
type: "uint256",
|
|
14682
|
+
internalType: "uint256"
|
|
14683
|
+
},
|
|
14684
|
+
{
|
|
14685
|
+
name: "budget",
|
|
14686
|
+
type: "uint256",
|
|
14687
|
+
internalType: "uint256"
|
|
14688
|
+
},
|
|
14689
|
+
{
|
|
14690
|
+
name: "expiry",
|
|
14691
|
+
type: "uint64",
|
|
14692
|
+
internalType: "uint64"
|
|
14693
|
+
},
|
|
14694
|
+
{
|
|
14695
|
+
name: "nonce",
|
|
14696
|
+
type: "uint256",
|
|
14697
|
+
internalType: "uint256"
|
|
14698
|
+
},
|
|
14699
|
+
{
|
|
14700
|
+
name: "deadline",
|
|
14701
|
+
type: "uint256",
|
|
14702
|
+
internalType: "uint256"
|
|
14703
|
+
}
|
|
14704
|
+
]
|
|
14705
|
+
},
|
|
14706
|
+
{
|
|
14707
|
+
name: "signature",
|
|
14708
|
+
type: "bytes",
|
|
14709
|
+
internalType: "bytes"
|
|
14710
|
+
}
|
|
14711
|
+
],
|
|
14712
|
+
outputs: [],
|
|
14713
|
+
stateMutability: "nonpayable"
|
|
14714
|
+
},
|
|
14715
|
+
{
|
|
14716
|
+
type: "function",
|
|
14717
|
+
name: "setSponsorshipResolver",
|
|
14718
|
+
inputs: [
|
|
14719
|
+
{
|
|
14720
|
+
name: "update",
|
|
14721
|
+
type: "tuple",
|
|
14722
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
14723
|
+
components: [
|
|
14724
|
+
{
|
|
14725
|
+
name: "account",
|
|
14726
|
+
type: "address",
|
|
14727
|
+
internalType: "address"
|
|
14728
|
+
},
|
|
14729
|
+
{
|
|
14730
|
+
name: "resolver",
|
|
14731
|
+
type: "address",
|
|
14732
|
+
internalType: "address"
|
|
14733
|
+
},
|
|
14734
|
+
{
|
|
14735
|
+
name: "allowed",
|
|
14736
|
+
type: "bool",
|
|
14737
|
+
internalType: "bool"
|
|
14738
|
+
},
|
|
14739
|
+
{
|
|
14740
|
+
name: "nonce",
|
|
14741
|
+
type: "uint256",
|
|
14742
|
+
internalType: "uint256"
|
|
14743
|
+
},
|
|
14744
|
+
{
|
|
14745
|
+
name: "deadline",
|
|
14746
|
+
type: "uint256",
|
|
14747
|
+
internalType: "uint256"
|
|
14748
|
+
}
|
|
14749
|
+
]
|
|
14750
|
+
},
|
|
14751
|
+
{
|
|
14752
|
+
name: "signature",
|
|
14753
|
+
type: "bytes",
|
|
14754
|
+
internalType: "bytes"
|
|
14755
|
+
}
|
|
14756
|
+
],
|
|
14757
|
+
outputs: [],
|
|
14758
|
+
stateMutability: "nonpayable"
|
|
14759
|
+
},
|
|
14222
14760
|
{
|
|
14223
14761
|
type: "function",
|
|
14224
14762
|
name: "setSponsorshipResolver",
|
|
@@ -14321,6 +14859,30 @@ var RelayFundingPool_default = [
|
|
|
14321
14859
|
outputs: [],
|
|
14322
14860
|
stateMutability: "nonpayable"
|
|
14323
14861
|
},
|
|
14862
|
+
{
|
|
14863
|
+
type: "function",
|
|
14864
|
+
name: "usedSponsorshipNonces",
|
|
14865
|
+
inputs: [
|
|
14866
|
+
{
|
|
14867
|
+
name: "account",
|
|
14868
|
+
type: "address",
|
|
14869
|
+
internalType: "address"
|
|
14870
|
+
},
|
|
14871
|
+
{
|
|
14872
|
+
name: "nonce",
|
|
14873
|
+
type: "uint256",
|
|
14874
|
+
internalType: "uint256"
|
|
14875
|
+
}
|
|
14876
|
+
],
|
|
14877
|
+
outputs: [
|
|
14878
|
+
{
|
|
14879
|
+
name: "used",
|
|
14880
|
+
type: "bool",
|
|
14881
|
+
internalType: "bool"
|
|
14882
|
+
}
|
|
14883
|
+
],
|
|
14884
|
+
stateMutability: "view"
|
|
14885
|
+
},
|
|
14324
14886
|
{
|
|
14325
14887
|
type: "function",
|
|
14326
14888
|
name: "usedWithdrawalNonces",
|
|
@@ -14422,6 +14984,12 @@ var RelayFundingPool_default = [
|
|
|
14422
14984
|
type: "event",
|
|
14423
14985
|
name: "Credited",
|
|
14424
14986
|
inputs: [
|
|
14987
|
+
{
|
|
14988
|
+
name: "requestHash",
|
|
14989
|
+
type: "bytes32",
|
|
14990
|
+
indexed: true,
|
|
14991
|
+
internalType: "bytes32"
|
|
14992
|
+
},
|
|
14425
14993
|
{
|
|
14426
14994
|
name: "account",
|
|
14427
14995
|
type: "address",
|
|
@@ -14437,9 +15005,15 @@ var RelayFundingPool_default = [
|
|
|
14437
15005
|
{
|
|
14438
15006
|
name: "resolver",
|
|
14439
15007
|
type: "address",
|
|
14440
|
-
indexed:
|
|
15008
|
+
indexed: false,
|
|
14441
15009
|
internalType: "address"
|
|
14442
15010
|
},
|
|
15011
|
+
{
|
|
15012
|
+
name: "kind",
|
|
15013
|
+
type: "uint8",
|
|
15014
|
+
indexed: false,
|
|
15015
|
+
internalType: "enum DrawLegKind"
|
|
15016
|
+
},
|
|
14443
15017
|
{
|
|
14444
15018
|
name: "amount",
|
|
14445
15019
|
type: "uint256",
|
|
@@ -14508,6 +15082,18 @@ var RelayFundingPool_default = [
|
|
|
14508
15082
|
indexed: false,
|
|
14509
15083
|
internalType: "address"
|
|
14510
15084
|
},
|
|
15085
|
+
{
|
|
15086
|
+
name: "kind",
|
|
15087
|
+
type: "uint8",
|
|
15088
|
+
indexed: false,
|
|
15089
|
+
internalType: "enum DrawLegKind"
|
|
15090
|
+
},
|
|
15091
|
+
{
|
|
15092
|
+
name: "legIndex",
|
|
15093
|
+
type: "uint256",
|
|
15094
|
+
indexed: false,
|
|
15095
|
+
internalType: "uint256"
|
|
15096
|
+
},
|
|
14511
15097
|
{
|
|
14512
15098
|
name: "amount",
|
|
14513
15099
|
type: "uint256",
|
|
@@ -14751,6 +15337,11 @@ var RelayFundingPool_default = [
|
|
|
14751
15337
|
name: "account",
|
|
14752
15338
|
type: "address",
|
|
14753
15339
|
internalType: "address"
|
|
15340
|
+
},
|
|
15341
|
+
{
|
|
15342
|
+
name: "legIndex",
|
|
15343
|
+
type: "uint256",
|
|
15344
|
+
internalType: "uint256"
|
|
14754
15345
|
}
|
|
14755
15346
|
]
|
|
14756
15347
|
},
|
|
@@ -14821,6 +15412,17 @@ var RelayFundingPool_default = [
|
|
|
14821
15412
|
name: "InvalidShortString",
|
|
14822
15413
|
inputs: []
|
|
14823
15414
|
},
|
|
15415
|
+
{
|
|
15416
|
+
type: "error",
|
|
15417
|
+
name: "InvalidSponsorshipUpdate",
|
|
15418
|
+
inputs: [
|
|
15419
|
+
{
|
|
15420
|
+
name: "account",
|
|
15421
|
+
type: "address",
|
|
15422
|
+
internalType: "address"
|
|
15423
|
+
}
|
|
15424
|
+
]
|
|
15425
|
+
},
|
|
14824
15426
|
{
|
|
14825
15427
|
type: "error",
|
|
14826
15428
|
name: "InvalidWithdrawal",
|
|
@@ -14847,7 +15449,7 @@ var RelayFundingPool_default = [
|
|
|
14847
15449
|
internalType: "address"
|
|
14848
15450
|
},
|
|
14849
15451
|
{
|
|
14850
|
-
name: "
|
|
15452
|
+
name: "orderTotal",
|
|
14851
15453
|
type: "uint256",
|
|
14852
15454
|
internalType: "uint256"
|
|
14853
15455
|
},
|
|
@@ -14911,6 +15513,33 @@ var RelayFundingPool_default = [
|
|
|
14911
15513
|
}
|
|
14912
15514
|
]
|
|
14913
15515
|
},
|
|
15516
|
+
{
|
|
15517
|
+
type: "error",
|
|
15518
|
+
name: "SponsorshipNonceUsed",
|
|
15519
|
+
inputs: [
|
|
15520
|
+
{
|
|
15521
|
+
name: "account",
|
|
15522
|
+
type: "address",
|
|
15523
|
+
internalType: "address"
|
|
15524
|
+
},
|
|
15525
|
+
{
|
|
15526
|
+
name: "nonce",
|
|
15527
|
+
type: "uint256",
|
|
15528
|
+
internalType: "uint256"
|
|
15529
|
+
}
|
|
15530
|
+
]
|
|
15531
|
+
},
|
|
15532
|
+
{
|
|
15533
|
+
type: "error",
|
|
15534
|
+
name: "SponsorshipUpdateExpired",
|
|
15535
|
+
inputs: [
|
|
15536
|
+
{
|
|
15537
|
+
name: "deadline",
|
|
15538
|
+
type: "uint256",
|
|
15539
|
+
internalType: "uint256"
|
|
15540
|
+
}
|
|
15541
|
+
]
|
|
15542
|
+
},
|
|
14914
15543
|
{
|
|
14915
15544
|
type: "error",
|
|
14916
15545
|
name: "StringTooLong",
|