@dcentralab/d402-client 0.2.1 → 0.2.2
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/README.md +128 -68
- package/dist/index.d.mts +92 -94
- package/dist/index.d.ts +92 -94
- package/dist/index.js +23 -4149
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -4150
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { http, createPublicClient, createWalletClient, decodeEventLog, isAddress } from 'viem';
|
|
2
|
-
import { sepolia
|
|
3
|
-
import { privateKeyToAccount } from 'viem/accounts';
|
|
2
|
+
import { sepolia } from 'viem/chains';
|
|
4
3
|
|
|
5
4
|
var __defProp = Object.defineProperty;
|
|
6
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -198,38 +197,17 @@ var CHAIN_IDS, NETWORKS, TOKEN_ADDRESSES, DEFAULT_VALIDITY_WINDOW_SECONDS, EIP71
|
|
|
198
197
|
var init_constants = __esm({
|
|
199
198
|
"src/constants.ts"() {
|
|
200
199
|
CHAIN_IDS = {
|
|
201
|
-
|
|
202
|
-
sepolia: 11155111,
|
|
203
|
-
base: 8453,
|
|
204
|
-
polygon: 137
|
|
200
|
+
sepolia: 11155111
|
|
205
201
|
};
|
|
206
202
|
NETWORKS = {
|
|
207
|
-
mainnet: {
|
|
208
|
-
chainId: 1,
|
|
209
|
-
name: "Ethereum Mainnet",
|
|
210
|
-
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 }
|
|
211
|
-
},
|
|
212
203
|
sepolia: {
|
|
213
204
|
chainId: 11155111,
|
|
214
205
|
name: "Sepolia Testnet",
|
|
215
206
|
nativeCurrency: { name: "Sepolia Ether", symbol: "SEP", decimals: 18 }
|
|
216
|
-
},
|
|
217
|
-
base: {
|
|
218
|
-
chainId: 8453,
|
|
219
|
-
name: "Base",
|
|
220
|
-
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 }
|
|
221
|
-
},
|
|
222
|
-
polygon: {
|
|
223
|
-
chainId: 137,
|
|
224
|
-
name: "Polygon",
|
|
225
|
-
nativeCurrency: { name: "MATIC", symbol: "MATIC", decimals: 18 }
|
|
226
207
|
}
|
|
227
208
|
};
|
|
228
209
|
TOKEN_ADDRESSES = {
|
|
229
|
-
|
|
230
|
-
sepolia: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
231
|
-
base: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
|
|
232
|
-
polygon: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"
|
|
210
|
+
sepolia: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238"
|
|
233
211
|
};
|
|
234
212
|
DEFAULT_VALIDITY_WINDOW_SECONDS = 300;
|
|
235
213
|
EIP712_TYPES = {
|
|
@@ -290,8 +268,7 @@ function getChainId(network) {
|
|
|
290
268
|
"arbitrum-sepolia": 421614,
|
|
291
269
|
"arbitrum-mainnet": 42161,
|
|
292
270
|
"avalanche-fuji": 43113,
|
|
293
|
-
"avalanche": 43114
|
|
294
|
-
"localhost": 31337
|
|
271
|
+
"avalanche": 43114
|
|
295
272
|
};
|
|
296
273
|
const chainId = networkMap[network];
|
|
297
274
|
if (!chainId) {
|
|
@@ -537,9 +514,16 @@ var D402Client = class {
|
|
|
537
514
|
/**
|
|
538
515
|
* Create a new D402 Client.
|
|
539
516
|
*
|
|
540
|
-
* Matches Python: d402Client.__init__ (base.py lines 66-95)
|
|
541
|
-
*
|
|
542
517
|
* @param config - Client configuration
|
|
518
|
+
*
|
|
519
|
+
* @example
|
|
520
|
+
* ```ts
|
|
521
|
+
* const client = new D402Client({
|
|
522
|
+
* operatorAccount: walletClient.account, // User's wallet from wagmi
|
|
523
|
+
* iatpWalletAddress: userWallet, // From createIATPWallet() or getWalletsByOwner()
|
|
524
|
+
* maxValue: 1000000n // Safety limit: 1 USDC max
|
|
525
|
+
* })
|
|
526
|
+
* ```
|
|
543
527
|
*/
|
|
544
528
|
constructor(config) {
|
|
545
529
|
this.operatorAccount = config.operatorAccount;
|
|
@@ -552,7 +536,8 @@ var D402Client = class {
|
|
|
552
536
|
/**
|
|
553
537
|
* Select payment requirement from list of options.
|
|
554
538
|
*
|
|
555
|
-
*
|
|
539
|
+
* Applies configured filters (network, scheme, maxValue) to choose
|
|
540
|
+
* the appropriate payment option from the server's requirements list.
|
|
556
541
|
*
|
|
557
542
|
* @param requirements - List of payment requirements from 402 response
|
|
558
543
|
* @returns Selected payment requirement
|
|
@@ -567,15 +552,15 @@ var D402Client = class {
|
|
|
567
552
|
/**
|
|
568
553
|
* Get the IATP wallet address used for payments.
|
|
569
554
|
*
|
|
570
|
-
* @returns IATPWallet contract address or
|
|
555
|
+
* @returns IATPWallet contract address, or user's EOA address if no wallet configured
|
|
571
556
|
*/
|
|
572
557
|
getIATPWalletAddress() {
|
|
573
558
|
return this.iatpWalletAddress;
|
|
574
559
|
}
|
|
575
560
|
/**
|
|
576
|
-
* Get the
|
|
561
|
+
* Get the user's account used for signing payments.
|
|
577
562
|
*
|
|
578
|
-
* @returns
|
|
563
|
+
* @returns User's wallet account
|
|
579
564
|
*/
|
|
580
565
|
getOperatorAccount() {
|
|
581
566
|
return this.operatorAccount;
|
|
@@ -591,7 +576,6 @@ var D402Client = class {
|
|
|
591
576
|
/**
|
|
592
577
|
* Fetch with automatic 402 payment handling.
|
|
593
578
|
*
|
|
594
|
-
* Matches Python: HttpxHooks.on_response() (httpx.py lines 33-117)
|
|
595
579
|
*
|
|
596
580
|
* Flow:
|
|
597
581
|
* 1. Make request without payment
|
|
@@ -4751,4106 +4735,8 @@ var sepolia_default = {
|
|
|
4751
4735
|
}
|
|
4752
4736
|
};
|
|
4753
4737
|
|
|
4754
|
-
// src/contracts/abis/localhost.json
|
|
4755
|
-
var localhost_default = {
|
|
4756
|
-
localhost: {
|
|
4757
|
-
IATPWallet: [
|
|
4758
|
-
{
|
|
4759
|
-
inputs: [],
|
|
4760
|
-
stateMutability: "nonpayable",
|
|
4761
|
-
type: "constructor"
|
|
4762
|
-
},
|
|
4763
|
-
{
|
|
4764
|
-
inputs: [
|
|
4765
|
-
{
|
|
4766
|
-
internalType: "address",
|
|
4767
|
-
name: "target",
|
|
4768
|
-
type: "address"
|
|
4769
|
-
}
|
|
4770
|
-
],
|
|
4771
|
-
name: "AddressEmptyCode",
|
|
4772
|
-
type: "error"
|
|
4773
|
-
},
|
|
4774
|
-
{
|
|
4775
|
-
inputs: [],
|
|
4776
|
-
name: "ECDSAInvalidSignature",
|
|
4777
|
-
type: "error"
|
|
4778
|
-
},
|
|
4779
|
-
{
|
|
4780
|
-
inputs: [
|
|
4781
|
-
{
|
|
4782
|
-
internalType: "uint256",
|
|
4783
|
-
name: "length",
|
|
4784
|
-
type: "uint256"
|
|
4785
|
-
}
|
|
4786
|
-
],
|
|
4787
|
-
name: "ECDSAInvalidSignatureLength",
|
|
4788
|
-
type: "error"
|
|
4789
|
-
},
|
|
4790
|
-
{
|
|
4791
|
-
inputs: [
|
|
4792
|
-
{
|
|
4793
|
-
internalType: "bytes32",
|
|
4794
|
-
name: "s",
|
|
4795
|
-
type: "bytes32"
|
|
4796
|
-
}
|
|
4797
|
-
],
|
|
4798
|
-
name: "ECDSAInvalidSignatureS",
|
|
4799
|
-
type: "error"
|
|
4800
|
-
},
|
|
4801
|
-
{
|
|
4802
|
-
inputs: [
|
|
4803
|
-
{
|
|
4804
|
-
internalType: "address",
|
|
4805
|
-
name: "implementation",
|
|
4806
|
-
type: "address"
|
|
4807
|
-
}
|
|
4808
|
-
],
|
|
4809
|
-
name: "ERC1967InvalidImplementation",
|
|
4810
|
-
type: "error"
|
|
4811
|
-
},
|
|
4812
|
-
{
|
|
4813
|
-
inputs: [],
|
|
4814
|
-
name: "ERC1967NonPayable",
|
|
4815
|
-
type: "error"
|
|
4816
|
-
},
|
|
4817
|
-
{
|
|
4818
|
-
inputs: [],
|
|
4819
|
-
name: "FailedCall",
|
|
4820
|
-
type: "error"
|
|
4821
|
-
},
|
|
4822
|
-
{
|
|
4823
|
-
inputs: [],
|
|
4824
|
-
name: "InsufficientBalance",
|
|
4825
|
-
type: "error"
|
|
4826
|
-
},
|
|
4827
|
-
{
|
|
4828
|
-
inputs: [],
|
|
4829
|
-
name: "InvalidAmount",
|
|
4830
|
-
type: "error"
|
|
4831
|
-
},
|
|
4832
|
-
{
|
|
4833
|
-
inputs: [],
|
|
4834
|
-
name: "InvalidInitialization",
|
|
4835
|
-
type: "error"
|
|
4836
|
-
},
|
|
4837
|
-
{
|
|
4838
|
-
inputs: [],
|
|
4839
|
-
name: "InvalidOperatorAddress",
|
|
4840
|
-
type: "error"
|
|
4841
|
-
},
|
|
4842
|
-
{
|
|
4843
|
-
inputs: [],
|
|
4844
|
-
name: "InvalidOwnerAddress",
|
|
4845
|
-
type: "error"
|
|
4846
|
-
},
|
|
4847
|
-
{
|
|
4848
|
-
inputs: [],
|
|
4849
|
-
name: "InvalidProvider",
|
|
4850
|
-
type: "error"
|
|
4851
|
-
},
|
|
4852
|
-
{
|
|
4853
|
-
inputs: [],
|
|
4854
|
-
name: "InvalidSettlementLayerAddress",
|
|
4855
|
-
type: "error"
|
|
4856
|
-
},
|
|
4857
|
-
{
|
|
4858
|
-
inputs: [],
|
|
4859
|
-
name: "InvalidSignature",
|
|
4860
|
-
type: "error"
|
|
4861
|
-
},
|
|
4862
|
-
{
|
|
4863
|
-
inputs: [],
|
|
4864
|
-
name: "InvalidTokenAddress",
|
|
4865
|
-
type: "error"
|
|
4866
|
-
},
|
|
4867
|
-
{
|
|
4868
|
-
inputs: [],
|
|
4869
|
-
name: "NotAuthorized",
|
|
4870
|
-
type: "error"
|
|
4871
|
-
},
|
|
4872
|
-
{
|
|
4873
|
-
inputs: [],
|
|
4874
|
-
name: "NotInitializing",
|
|
4875
|
-
type: "error"
|
|
4876
|
-
},
|
|
4877
|
-
{
|
|
4878
|
-
inputs: [],
|
|
4879
|
-
name: "NotSettlementLayer",
|
|
4880
|
-
type: "error"
|
|
4881
|
-
},
|
|
4882
|
-
{
|
|
4883
|
-
inputs: [],
|
|
4884
|
-
name: "OnlyOwner",
|
|
4885
|
-
type: "error"
|
|
4886
|
-
},
|
|
4887
|
-
{
|
|
4888
|
-
inputs: [],
|
|
4889
|
-
name: "PendingWithdrawalExists",
|
|
4890
|
-
type: "error"
|
|
4891
|
-
},
|
|
4892
|
-
{
|
|
4893
|
-
inputs: [
|
|
4894
|
-
{
|
|
4895
|
-
internalType: "address",
|
|
4896
|
-
name: "token",
|
|
4897
|
-
type: "address"
|
|
4898
|
-
}
|
|
4899
|
-
],
|
|
4900
|
-
name: "SafeERC20FailedOperation",
|
|
4901
|
-
type: "error"
|
|
4902
|
-
},
|
|
4903
|
-
{
|
|
4904
|
-
inputs: [],
|
|
4905
|
-
name: "SignatureExpired",
|
|
4906
|
-
type: "error"
|
|
4907
|
-
},
|
|
4908
|
-
{
|
|
4909
|
-
inputs: [],
|
|
4910
|
-
name: "TransferFailed",
|
|
4911
|
-
type: "error"
|
|
4912
|
-
},
|
|
4913
|
-
{
|
|
4914
|
-
inputs: [],
|
|
4915
|
-
name: "UUPSUnauthorizedCallContext",
|
|
4916
|
-
type: "error"
|
|
4917
|
-
},
|
|
4918
|
-
{
|
|
4919
|
-
inputs: [
|
|
4920
|
-
{
|
|
4921
|
-
internalType: "bytes32",
|
|
4922
|
-
name: "slot",
|
|
4923
|
-
type: "bytes32"
|
|
4924
|
-
}
|
|
4925
|
-
],
|
|
4926
|
-
name: "UUPSUnsupportedProxiableUUID",
|
|
4927
|
-
type: "error"
|
|
4928
|
-
},
|
|
4929
|
-
{
|
|
4930
|
-
inputs: [],
|
|
4931
|
-
name: "WithdrawalAlreadyExecuted",
|
|
4932
|
-
type: "error"
|
|
4933
|
-
},
|
|
4934
|
-
{
|
|
4935
|
-
inputs: [],
|
|
4936
|
-
name: "WithdrawalLockupNotExpired",
|
|
4937
|
-
type: "error"
|
|
4938
|
-
},
|
|
4939
|
-
{
|
|
4940
|
-
inputs: [],
|
|
4941
|
-
name: "WithdrawalRequestNotFound",
|
|
4942
|
-
type: "error"
|
|
4943
|
-
},
|
|
4944
|
-
{
|
|
4945
|
-
anonymous: false,
|
|
4946
|
-
inputs: [
|
|
4947
|
-
{
|
|
4948
|
-
indexed: true,
|
|
4949
|
-
internalType: "address",
|
|
4950
|
-
name: "owner",
|
|
4951
|
-
type: "address"
|
|
4952
|
-
},
|
|
4953
|
-
{
|
|
4954
|
-
indexed: true,
|
|
4955
|
-
internalType: "address",
|
|
4956
|
-
name: "operatorAddress",
|
|
4957
|
-
type: "address"
|
|
4958
|
-
},
|
|
4959
|
-
{
|
|
4960
|
-
indexed: false,
|
|
4961
|
-
internalType: "address",
|
|
4962
|
-
name: "settlementLayer",
|
|
4963
|
-
type: "address"
|
|
4964
|
-
}
|
|
4965
|
-
],
|
|
4966
|
-
name: "ClientInitialized",
|
|
4967
|
-
type: "event"
|
|
4968
|
-
},
|
|
4969
|
-
{
|
|
4970
|
-
anonymous: false,
|
|
4971
|
-
inputs: [],
|
|
4972
|
-
name: "EIP712DomainChanged",
|
|
4973
|
-
type: "event"
|
|
4974
|
-
},
|
|
4975
|
-
{
|
|
4976
|
-
anonymous: false,
|
|
4977
|
-
inputs: [
|
|
4978
|
-
{
|
|
4979
|
-
indexed: true,
|
|
4980
|
-
internalType: "address",
|
|
4981
|
-
name: "token",
|
|
4982
|
-
type: "address"
|
|
4983
|
-
},
|
|
4984
|
-
{
|
|
4985
|
-
indexed: false,
|
|
4986
|
-
internalType: "uint256",
|
|
4987
|
-
name: "amount",
|
|
4988
|
-
type: "uint256"
|
|
4989
|
-
}
|
|
4990
|
-
],
|
|
4991
|
-
name: "FundsDeposited",
|
|
4992
|
-
type: "event"
|
|
4993
|
-
},
|
|
4994
|
-
{
|
|
4995
|
-
anonymous: false,
|
|
4996
|
-
inputs: [
|
|
4997
|
-
{
|
|
4998
|
-
indexed: true,
|
|
4999
|
-
internalType: "address",
|
|
5000
|
-
name: "token",
|
|
5001
|
-
type: "address"
|
|
5002
|
-
},
|
|
5003
|
-
{
|
|
5004
|
-
indexed: false,
|
|
5005
|
-
internalType: "uint256",
|
|
5006
|
-
name: "amount",
|
|
5007
|
-
type: "uint256"
|
|
5008
|
-
},
|
|
5009
|
-
{
|
|
5010
|
-
indexed: true,
|
|
5011
|
-
internalType: "address",
|
|
5012
|
-
name: "provider",
|
|
5013
|
-
type: "address"
|
|
5014
|
-
},
|
|
5015
|
-
{
|
|
5016
|
-
indexed: true,
|
|
5017
|
-
internalType: "address",
|
|
5018
|
-
name: "signer",
|
|
5019
|
-
type: "address"
|
|
5020
|
-
}
|
|
5021
|
-
],
|
|
5022
|
-
name: "FundsTransferredToSettlement",
|
|
5023
|
-
type: "event"
|
|
5024
|
-
},
|
|
5025
|
-
{
|
|
5026
|
-
anonymous: false,
|
|
5027
|
-
inputs: [
|
|
5028
|
-
{
|
|
5029
|
-
indexed: false,
|
|
5030
|
-
internalType: "uint64",
|
|
5031
|
-
name: "version",
|
|
5032
|
-
type: "uint64"
|
|
5033
|
-
}
|
|
5034
|
-
],
|
|
5035
|
-
name: "Initialized",
|
|
5036
|
-
type: "event"
|
|
5037
|
-
},
|
|
5038
|
-
{
|
|
5039
|
-
anonymous: false,
|
|
5040
|
-
inputs: [
|
|
5041
|
-
{
|
|
5042
|
-
indexed: true,
|
|
5043
|
-
internalType: "address",
|
|
5044
|
-
name: "oldOperator",
|
|
5045
|
-
type: "address"
|
|
5046
|
-
},
|
|
5047
|
-
{
|
|
5048
|
-
indexed: true,
|
|
5049
|
-
internalType: "address",
|
|
5050
|
-
name: "newOperator",
|
|
5051
|
-
type: "address"
|
|
5052
|
-
}
|
|
5053
|
-
],
|
|
5054
|
-
name: "OperatorAddressUpdated",
|
|
5055
|
-
type: "event"
|
|
5056
|
-
},
|
|
5057
|
-
{
|
|
5058
|
-
anonymous: false,
|
|
5059
|
-
inputs: [
|
|
5060
|
-
{
|
|
5061
|
-
indexed: true,
|
|
5062
|
-
internalType: "address",
|
|
5063
|
-
name: "newRoleManager",
|
|
5064
|
-
type: "address"
|
|
5065
|
-
}
|
|
5066
|
-
],
|
|
5067
|
-
name: "RoleManagerUpdated",
|
|
5068
|
-
type: "event"
|
|
5069
|
-
},
|
|
5070
|
-
{
|
|
5071
|
-
anonymous: false,
|
|
5072
|
-
inputs: [
|
|
5073
|
-
{
|
|
5074
|
-
indexed: true,
|
|
5075
|
-
internalType: "address",
|
|
5076
|
-
name: "implementation",
|
|
5077
|
-
type: "address"
|
|
5078
|
-
}
|
|
5079
|
-
],
|
|
5080
|
-
name: "Upgraded",
|
|
5081
|
-
type: "event"
|
|
5082
|
-
},
|
|
5083
|
-
{
|
|
5084
|
-
anonymous: false,
|
|
5085
|
-
inputs: [
|
|
5086
|
-
{
|
|
5087
|
-
indexed: true,
|
|
5088
|
-
internalType: "address",
|
|
5089
|
-
name: "token",
|
|
5090
|
-
type: "address"
|
|
5091
|
-
},
|
|
5092
|
-
{
|
|
5093
|
-
indexed: false,
|
|
5094
|
-
internalType: "uint256",
|
|
5095
|
-
name: "amount",
|
|
5096
|
-
type: "uint256"
|
|
5097
|
-
}
|
|
5098
|
-
],
|
|
5099
|
-
name: "WithdrawalCancelled",
|
|
5100
|
-
type: "event"
|
|
5101
|
-
},
|
|
5102
|
-
{
|
|
5103
|
-
anonymous: false,
|
|
5104
|
-
inputs: [
|
|
5105
|
-
{
|
|
5106
|
-
indexed: true,
|
|
5107
|
-
internalType: "address",
|
|
5108
|
-
name: "token",
|
|
5109
|
-
type: "address"
|
|
5110
|
-
},
|
|
5111
|
-
{
|
|
5112
|
-
indexed: false,
|
|
5113
|
-
internalType: "uint256",
|
|
5114
|
-
name: "amount",
|
|
5115
|
-
type: "uint256"
|
|
5116
|
-
},
|
|
5117
|
-
{
|
|
5118
|
-
indexed: true,
|
|
5119
|
-
internalType: "address",
|
|
5120
|
-
name: "recipient",
|
|
5121
|
-
type: "address"
|
|
5122
|
-
}
|
|
5123
|
-
],
|
|
5124
|
-
name: "WithdrawalExecuted",
|
|
5125
|
-
type: "event"
|
|
5126
|
-
},
|
|
5127
|
-
{
|
|
5128
|
-
anonymous: false,
|
|
5129
|
-
inputs: [
|
|
5130
|
-
{
|
|
5131
|
-
indexed: true,
|
|
5132
|
-
internalType: "address",
|
|
5133
|
-
name: "token",
|
|
5134
|
-
type: "address"
|
|
5135
|
-
},
|
|
5136
|
-
{
|
|
5137
|
-
indexed: false,
|
|
5138
|
-
internalType: "uint256",
|
|
5139
|
-
name: "amount",
|
|
5140
|
-
type: "uint256"
|
|
5141
|
-
},
|
|
5142
|
-
{
|
|
5143
|
-
indexed: false,
|
|
5144
|
-
internalType: "uint256",
|
|
5145
|
-
name: "requestedAt",
|
|
5146
|
-
type: "uint256"
|
|
5147
|
-
},
|
|
5148
|
-
{
|
|
5149
|
-
indexed: false,
|
|
5150
|
-
internalType: "uint256",
|
|
5151
|
-
name: "unlockTime",
|
|
5152
|
-
type: "uint256"
|
|
5153
|
-
}
|
|
5154
|
-
],
|
|
5155
|
-
name: "WithdrawalRequested",
|
|
5156
|
-
type: "event"
|
|
5157
|
-
},
|
|
5158
|
-
{
|
|
5159
|
-
inputs: [],
|
|
5160
|
-
name: "BONDING_ROLE",
|
|
5161
|
-
outputs: [
|
|
5162
|
-
{
|
|
5163
|
-
internalType: "bytes32",
|
|
5164
|
-
name: "",
|
|
5165
|
-
type: "bytes32"
|
|
5166
|
-
}
|
|
5167
|
-
],
|
|
5168
|
-
stateMutability: "view",
|
|
5169
|
-
type: "function"
|
|
5170
|
-
},
|
|
5171
|
-
{
|
|
5172
|
-
inputs: [],
|
|
5173
|
-
name: "DEFAULT_ADMIN_ROLE",
|
|
5174
|
-
outputs: [
|
|
5175
|
-
{
|
|
5176
|
-
internalType: "bytes32",
|
|
5177
|
-
name: "",
|
|
5178
|
-
type: "bytes32"
|
|
5179
|
-
}
|
|
5180
|
-
],
|
|
5181
|
-
stateMutability: "view",
|
|
5182
|
-
type: "function"
|
|
5183
|
-
},
|
|
5184
|
-
{
|
|
5185
|
-
inputs: [],
|
|
5186
|
-
name: "PROVIDER_ATTESTATION_TYPEHASH",
|
|
5187
|
-
outputs: [
|
|
5188
|
-
{
|
|
5189
|
-
internalType: "bytes32",
|
|
5190
|
-
name: "",
|
|
5191
|
-
type: "bytes32"
|
|
5192
|
-
}
|
|
5193
|
-
],
|
|
5194
|
-
stateMutability: "view",
|
|
5195
|
-
type: "function"
|
|
5196
|
-
},
|
|
5197
|
-
{
|
|
5198
|
-
inputs: [],
|
|
5199
|
-
name: "PULL_FUNDS_FOR_SETTLEMENT_TYPEHASH",
|
|
5200
|
-
outputs: [
|
|
5201
|
-
{
|
|
5202
|
-
internalType: "bytes32",
|
|
5203
|
-
name: "",
|
|
5204
|
-
type: "bytes32"
|
|
5205
|
-
}
|
|
5206
|
-
],
|
|
5207
|
-
stateMutability: "view",
|
|
5208
|
-
type: "function"
|
|
5209
|
-
},
|
|
5210
|
-
{
|
|
5211
|
-
inputs: [],
|
|
5212
|
-
name: "UPGRADE_INTERFACE_VERSION",
|
|
5213
|
-
outputs: [
|
|
5214
|
-
{
|
|
5215
|
-
internalType: "string",
|
|
5216
|
-
name: "",
|
|
5217
|
-
type: "string"
|
|
5218
|
-
}
|
|
5219
|
-
],
|
|
5220
|
-
stateMutability: "view",
|
|
5221
|
-
type: "function"
|
|
5222
|
-
},
|
|
5223
|
-
{
|
|
5224
|
-
inputs: [],
|
|
5225
|
-
name: "WITHDRAWAL_LOCKUP_PERIOD",
|
|
5226
|
-
outputs: [
|
|
5227
|
-
{
|
|
5228
|
-
internalType: "uint256",
|
|
5229
|
-
name: "",
|
|
5230
|
-
type: "uint256"
|
|
5231
|
-
}
|
|
5232
|
-
],
|
|
5233
|
-
stateMutability: "view",
|
|
5234
|
-
type: "function"
|
|
5235
|
-
},
|
|
5236
|
-
{
|
|
5237
|
-
inputs: [
|
|
5238
|
-
{
|
|
5239
|
-
internalType: "address",
|
|
5240
|
-
name: "token",
|
|
5241
|
-
type: "address"
|
|
5242
|
-
}
|
|
5243
|
-
],
|
|
5244
|
-
name: "cancelWithdrawal",
|
|
5245
|
-
outputs: [],
|
|
5246
|
-
stateMutability: "nonpayable",
|
|
5247
|
-
type: "function"
|
|
5248
|
-
},
|
|
5249
|
-
{
|
|
5250
|
-
inputs: [
|
|
5251
|
-
{
|
|
5252
|
-
internalType: "address",
|
|
5253
|
-
name: "token",
|
|
5254
|
-
type: "address"
|
|
5255
|
-
},
|
|
5256
|
-
{
|
|
5257
|
-
internalType: "uint256",
|
|
5258
|
-
name: "amount",
|
|
5259
|
-
type: "uint256"
|
|
5260
|
-
}
|
|
5261
|
-
],
|
|
5262
|
-
name: "deposit",
|
|
5263
|
-
outputs: [],
|
|
5264
|
-
stateMutability: "nonpayable",
|
|
5265
|
-
type: "function"
|
|
5266
|
-
},
|
|
5267
|
-
{
|
|
5268
|
-
inputs: [],
|
|
5269
|
-
name: "eip712Domain",
|
|
5270
|
-
outputs: [
|
|
5271
|
-
{
|
|
5272
|
-
internalType: "bytes1",
|
|
5273
|
-
name: "fields",
|
|
5274
|
-
type: "bytes1"
|
|
5275
|
-
},
|
|
5276
|
-
{
|
|
5277
|
-
internalType: "string",
|
|
5278
|
-
name: "name",
|
|
5279
|
-
type: "string"
|
|
5280
|
-
},
|
|
5281
|
-
{
|
|
5282
|
-
internalType: "string",
|
|
5283
|
-
name: "version",
|
|
5284
|
-
type: "string"
|
|
5285
|
-
},
|
|
5286
|
-
{
|
|
5287
|
-
internalType: "uint256",
|
|
5288
|
-
name: "chainId",
|
|
5289
|
-
type: "uint256"
|
|
5290
|
-
},
|
|
5291
|
-
{
|
|
5292
|
-
internalType: "address",
|
|
5293
|
-
name: "verifyingContract",
|
|
5294
|
-
type: "address"
|
|
5295
|
-
},
|
|
5296
|
-
{
|
|
5297
|
-
internalType: "bytes32",
|
|
5298
|
-
name: "salt",
|
|
5299
|
-
type: "bytes32"
|
|
5300
|
-
},
|
|
5301
|
-
{
|
|
5302
|
-
internalType: "uint256[]",
|
|
5303
|
-
name: "extensions",
|
|
5304
|
-
type: "uint256[]"
|
|
5305
|
-
}
|
|
5306
|
-
],
|
|
5307
|
-
stateMutability: "view",
|
|
5308
|
-
type: "function"
|
|
5309
|
-
},
|
|
5310
|
-
{
|
|
5311
|
-
inputs: [
|
|
5312
|
-
{
|
|
5313
|
-
internalType: "address",
|
|
5314
|
-
name: "token",
|
|
5315
|
-
type: "address"
|
|
5316
|
-
}
|
|
5317
|
-
],
|
|
5318
|
-
name: "executeWithdrawal",
|
|
5319
|
-
outputs: [],
|
|
5320
|
-
stateMutability: "nonpayable",
|
|
5321
|
-
type: "function"
|
|
5322
|
-
},
|
|
5323
|
-
{
|
|
5324
|
-
inputs: [
|
|
5325
|
-
{
|
|
5326
|
-
internalType: "address",
|
|
5327
|
-
name: "token",
|
|
5328
|
-
type: "address"
|
|
5329
|
-
}
|
|
5330
|
-
],
|
|
5331
|
-
name: "getBalance",
|
|
5332
|
-
outputs: [
|
|
5333
|
-
{
|
|
5334
|
-
internalType: "uint256",
|
|
5335
|
-
name: "",
|
|
5336
|
-
type: "uint256"
|
|
5337
|
-
}
|
|
5338
|
-
],
|
|
5339
|
-
stateMutability: "view",
|
|
5340
|
-
type: "function"
|
|
5341
|
-
},
|
|
5342
|
-
{
|
|
5343
|
-
inputs: [
|
|
5344
|
-
{
|
|
5345
|
-
internalType: "address",
|
|
5346
|
-
name: "token",
|
|
5347
|
-
type: "address"
|
|
5348
|
-
}
|
|
5349
|
-
],
|
|
5350
|
-
name: "getWithdrawalRequest",
|
|
5351
|
-
outputs: [
|
|
5352
|
-
{
|
|
5353
|
-
components: [
|
|
5354
|
-
{
|
|
5355
|
-
internalType: "address",
|
|
5356
|
-
name: "token",
|
|
5357
|
-
type: "address"
|
|
5358
|
-
},
|
|
5359
|
-
{
|
|
5360
|
-
internalType: "uint256",
|
|
5361
|
-
name: "amount",
|
|
5362
|
-
type: "uint256"
|
|
5363
|
-
},
|
|
5364
|
-
{
|
|
5365
|
-
internalType: "uint256",
|
|
5366
|
-
name: "requestedAt",
|
|
5367
|
-
type: "uint256"
|
|
5368
|
-
},
|
|
5369
|
-
{
|
|
5370
|
-
internalType: "bool",
|
|
5371
|
-
name: "executed",
|
|
5372
|
-
type: "bool"
|
|
5373
|
-
}
|
|
5374
|
-
],
|
|
5375
|
-
internalType: "struct IIATPWallet.WithdrawalRequest",
|
|
5376
|
-
name: "request",
|
|
5377
|
-
type: "tuple"
|
|
5378
|
-
},
|
|
5379
|
-
{
|
|
5380
|
-
internalType: "uint256",
|
|
5381
|
-
name: "unlockTime",
|
|
5382
|
-
type: "uint256"
|
|
5383
|
-
}
|
|
5384
|
-
],
|
|
5385
|
-
stateMutability: "view",
|
|
5386
|
-
type: "function"
|
|
5387
|
-
},
|
|
5388
|
-
{
|
|
5389
|
-
inputs: [
|
|
5390
|
-
{
|
|
5391
|
-
internalType: "address",
|
|
5392
|
-
name: "_roleManager",
|
|
5393
|
-
type: "address"
|
|
5394
|
-
},
|
|
5395
|
-
{
|
|
5396
|
-
internalType: "address",
|
|
5397
|
-
name: "_owner",
|
|
5398
|
-
type: "address"
|
|
5399
|
-
},
|
|
5400
|
-
{
|
|
5401
|
-
internalType: "address",
|
|
5402
|
-
name: "_operatorAddress",
|
|
5403
|
-
type: "address"
|
|
5404
|
-
},
|
|
5405
|
-
{
|
|
5406
|
-
internalType: "address",
|
|
5407
|
-
name: "_settlementLayer",
|
|
5408
|
-
type: "address"
|
|
5409
|
-
}
|
|
5410
|
-
],
|
|
5411
|
-
name: "initialize",
|
|
5412
|
-
outputs: [],
|
|
5413
|
-
stateMutability: "nonpayable",
|
|
5414
|
-
type: "function"
|
|
5415
|
-
},
|
|
5416
|
-
{
|
|
5417
|
-
inputs: [
|
|
5418
|
-
{
|
|
5419
|
-
internalType: "address",
|
|
5420
|
-
name: "account",
|
|
5421
|
-
type: "address"
|
|
5422
|
-
}
|
|
5423
|
-
],
|
|
5424
|
-
name: "isMaintainer",
|
|
5425
|
-
outputs: [
|
|
5426
|
-
{
|
|
5427
|
-
internalType: "bool",
|
|
5428
|
-
name: "",
|
|
5429
|
-
type: "bool"
|
|
5430
|
-
}
|
|
5431
|
-
],
|
|
5432
|
-
stateMutability: "view",
|
|
5433
|
-
type: "function"
|
|
5434
|
-
},
|
|
5435
|
-
{
|
|
5436
|
-
inputs: [],
|
|
5437
|
-
name: "operatorAddress",
|
|
5438
|
-
outputs: [
|
|
5439
|
-
{
|
|
5440
|
-
internalType: "address",
|
|
5441
|
-
name: "",
|
|
5442
|
-
type: "address"
|
|
5443
|
-
}
|
|
5444
|
-
],
|
|
5445
|
-
stateMutability: "view",
|
|
5446
|
-
type: "function"
|
|
5447
|
-
},
|
|
5448
|
-
{
|
|
5449
|
-
inputs: [],
|
|
5450
|
-
name: "owner",
|
|
5451
|
-
outputs: [
|
|
5452
|
-
{
|
|
5453
|
-
internalType: "address",
|
|
5454
|
-
name: "",
|
|
5455
|
-
type: "address"
|
|
5456
|
-
}
|
|
5457
|
-
],
|
|
5458
|
-
stateMutability: "view",
|
|
5459
|
-
type: "function"
|
|
5460
|
-
},
|
|
5461
|
-
{
|
|
5462
|
-
inputs: [],
|
|
5463
|
-
name: "proxiableUUID",
|
|
5464
|
-
outputs: [
|
|
5465
|
-
{
|
|
5466
|
-
internalType: "bytes32",
|
|
5467
|
-
name: "",
|
|
5468
|
-
type: "bytes32"
|
|
5469
|
-
}
|
|
5470
|
-
],
|
|
5471
|
-
stateMutability: "view",
|
|
5472
|
-
type: "function"
|
|
5473
|
-
},
|
|
5474
|
-
{
|
|
5475
|
-
inputs: [
|
|
5476
|
-
{
|
|
5477
|
-
internalType: "address",
|
|
5478
|
-
name: "token",
|
|
5479
|
-
type: "address"
|
|
5480
|
-
},
|
|
5481
|
-
{
|
|
5482
|
-
internalType: "uint256",
|
|
5483
|
-
name: "amount",
|
|
5484
|
-
type: "uint256"
|
|
5485
|
-
},
|
|
5486
|
-
{
|
|
5487
|
-
internalType: "address",
|
|
5488
|
-
name: "provider",
|
|
5489
|
-
type: "address"
|
|
5490
|
-
},
|
|
5491
|
-
{
|
|
5492
|
-
internalType: "uint256",
|
|
5493
|
-
name: "deadline",
|
|
5494
|
-
type: "uint256"
|
|
5495
|
-
},
|
|
5496
|
-
{
|
|
5497
|
-
internalType: "string",
|
|
5498
|
-
name: "requestPath",
|
|
5499
|
-
type: "string"
|
|
5500
|
-
},
|
|
5501
|
-
{
|
|
5502
|
-
internalType: "bytes",
|
|
5503
|
-
name: "signature",
|
|
5504
|
-
type: "bytes"
|
|
5505
|
-
}
|
|
5506
|
-
],
|
|
5507
|
-
name: "pullFundsForSettlement",
|
|
5508
|
-
outputs: [],
|
|
5509
|
-
stateMutability: "nonpayable",
|
|
5510
|
-
type: "function"
|
|
5511
|
-
},
|
|
5512
|
-
{
|
|
5513
|
-
inputs: [
|
|
5514
|
-
{
|
|
5515
|
-
internalType: "address",
|
|
5516
|
-
name: "token",
|
|
5517
|
-
type: "address"
|
|
5518
|
-
},
|
|
5519
|
-
{
|
|
5520
|
-
internalType: "uint256",
|
|
5521
|
-
name: "amount",
|
|
5522
|
-
type: "uint256"
|
|
5523
|
-
}
|
|
5524
|
-
],
|
|
5525
|
-
name: "requestWithdrawal",
|
|
5526
|
-
outputs: [],
|
|
5527
|
-
stateMutability: "nonpayable",
|
|
5528
|
-
type: "function"
|
|
5529
|
-
},
|
|
5530
|
-
{
|
|
5531
|
-
inputs: [],
|
|
5532
|
-
name: "roleManager",
|
|
5533
|
-
outputs: [
|
|
5534
|
-
{
|
|
5535
|
-
internalType: "contract IRoleManager",
|
|
5536
|
-
name: "",
|
|
5537
|
-
type: "address"
|
|
5538
|
-
}
|
|
5539
|
-
],
|
|
5540
|
-
stateMutability: "view",
|
|
5541
|
-
type: "function"
|
|
5542
|
-
},
|
|
5543
|
-
{
|
|
5544
|
-
inputs: [],
|
|
5545
|
-
name: "settlementLayer",
|
|
5546
|
-
outputs: [
|
|
5547
|
-
{
|
|
5548
|
-
internalType: "contract IIATPSettlementLayer",
|
|
5549
|
-
name: "",
|
|
5550
|
-
type: "address"
|
|
5551
|
-
}
|
|
5552
|
-
],
|
|
5553
|
-
stateMutability: "view",
|
|
5554
|
-
type: "function"
|
|
5555
|
-
},
|
|
5556
|
-
{
|
|
5557
|
-
inputs: [
|
|
5558
|
-
{
|
|
5559
|
-
internalType: "address",
|
|
5560
|
-
name: "_newOperatorAddress",
|
|
5561
|
-
type: "address"
|
|
5562
|
-
}
|
|
5563
|
-
],
|
|
5564
|
-
name: "updateOperatorAddress",
|
|
5565
|
-
outputs: [],
|
|
5566
|
-
stateMutability: "nonpayable",
|
|
5567
|
-
type: "function"
|
|
5568
|
-
},
|
|
5569
|
-
{
|
|
5570
|
-
inputs: [
|
|
5571
|
-
{
|
|
5572
|
-
internalType: "address",
|
|
5573
|
-
name: "newImplementation",
|
|
5574
|
-
type: "address"
|
|
5575
|
-
},
|
|
5576
|
-
{
|
|
5577
|
-
internalType: "bytes",
|
|
5578
|
-
name: "data",
|
|
5579
|
-
type: "bytes"
|
|
5580
|
-
}
|
|
5581
|
-
],
|
|
5582
|
-
name: "upgradeToAndCall",
|
|
5583
|
-
outputs: [],
|
|
5584
|
-
stateMutability: "payable",
|
|
5585
|
-
type: "function"
|
|
5586
|
-
},
|
|
5587
|
-
{
|
|
5588
|
-
inputs: [
|
|
5589
|
-
{
|
|
5590
|
-
internalType: "address",
|
|
5591
|
-
name: "token",
|
|
5592
|
-
type: "address"
|
|
5593
|
-
},
|
|
5594
|
-
{
|
|
5595
|
-
internalType: "uint256",
|
|
5596
|
-
name: "amount",
|
|
5597
|
-
type: "uint256"
|
|
5598
|
-
},
|
|
5599
|
-
{
|
|
5600
|
-
internalType: "address",
|
|
5601
|
-
name: "provider",
|
|
5602
|
-
type: "address"
|
|
5603
|
-
},
|
|
5604
|
-
{
|
|
5605
|
-
internalType: "uint256",
|
|
5606
|
-
name: "deadline",
|
|
5607
|
-
type: "uint256"
|
|
5608
|
-
},
|
|
5609
|
-
{
|
|
5610
|
-
internalType: "string",
|
|
5611
|
-
name: "requestPath",
|
|
5612
|
-
type: "string"
|
|
5613
|
-
},
|
|
5614
|
-
{
|
|
5615
|
-
internalType: "bytes",
|
|
5616
|
-
name: "signature",
|
|
5617
|
-
type: "bytes"
|
|
5618
|
-
}
|
|
5619
|
-
],
|
|
5620
|
-
name: "validateConsumerSignature",
|
|
5621
|
-
outputs: [
|
|
5622
|
-
{
|
|
5623
|
-
internalType: "bool",
|
|
5624
|
-
name: "",
|
|
5625
|
-
type: "bool"
|
|
5626
|
-
}
|
|
5627
|
-
],
|
|
5628
|
-
stateMutability: "view",
|
|
5629
|
-
type: "function"
|
|
5630
|
-
},
|
|
5631
|
-
{
|
|
5632
|
-
inputs: [
|
|
5633
|
-
{
|
|
5634
|
-
internalType: "bytes",
|
|
5635
|
-
name: "consumerSignature",
|
|
5636
|
-
type: "bytes"
|
|
5637
|
-
},
|
|
5638
|
-
{
|
|
5639
|
-
internalType: "bytes",
|
|
5640
|
-
name: "outputHash",
|
|
5641
|
-
type: "bytes"
|
|
5642
|
-
},
|
|
5643
|
-
{
|
|
5644
|
-
internalType: "uint256",
|
|
5645
|
-
name: "timestamp",
|
|
5646
|
-
type: "uint256"
|
|
5647
|
-
},
|
|
5648
|
-
{
|
|
5649
|
-
internalType: "bytes32",
|
|
5650
|
-
name: "serviceDescription",
|
|
5651
|
-
type: "bytes32"
|
|
5652
|
-
},
|
|
5653
|
-
{
|
|
5654
|
-
internalType: "uint256",
|
|
5655
|
-
name: "facilitatorFeePercent",
|
|
5656
|
-
type: "uint256"
|
|
5657
|
-
},
|
|
5658
|
-
{
|
|
5659
|
-
internalType: "bytes",
|
|
5660
|
-
name: "signature",
|
|
5661
|
-
type: "bytes"
|
|
5662
|
-
}
|
|
5663
|
-
],
|
|
5664
|
-
name: "validateProviderAttestation",
|
|
5665
|
-
outputs: [],
|
|
5666
|
-
stateMutability: "view",
|
|
5667
|
-
type: "function"
|
|
5668
|
-
},
|
|
5669
|
-
{
|
|
5670
|
-
inputs: [
|
|
5671
|
-
{
|
|
5672
|
-
internalType: "address",
|
|
5673
|
-
name: "token",
|
|
5674
|
-
type: "address"
|
|
5675
|
-
}
|
|
5676
|
-
],
|
|
5677
|
-
name: "withdrawAllFromSettlement",
|
|
5678
|
-
outputs: [],
|
|
5679
|
-
stateMutability: "nonpayable",
|
|
5680
|
-
type: "function"
|
|
5681
|
-
},
|
|
5682
|
-
{
|
|
5683
|
-
inputs: [
|
|
5684
|
-
{
|
|
5685
|
-
internalType: "uint256",
|
|
5686
|
-
name: "epoch",
|
|
5687
|
-
type: "uint256"
|
|
5688
|
-
},
|
|
5689
|
-
{
|
|
5690
|
-
internalType: "address",
|
|
5691
|
-
name: "token",
|
|
5692
|
-
type: "address"
|
|
5693
|
-
}
|
|
5694
|
-
],
|
|
5695
|
-
name: "withdrawEpochFromSettlement",
|
|
5696
|
-
outputs: [],
|
|
5697
|
-
stateMutability: "nonpayable",
|
|
5698
|
-
type: "function"
|
|
5699
|
-
},
|
|
5700
|
-
{
|
|
5701
|
-
inputs: [
|
|
5702
|
-
{
|
|
5703
|
-
internalType: "address",
|
|
5704
|
-
name: "",
|
|
5705
|
-
type: "address"
|
|
5706
|
-
}
|
|
5707
|
-
],
|
|
5708
|
-
name: "withdrawalRequests",
|
|
5709
|
-
outputs: [
|
|
5710
|
-
{
|
|
5711
|
-
internalType: "address",
|
|
5712
|
-
name: "token",
|
|
5713
|
-
type: "address"
|
|
5714
|
-
},
|
|
5715
|
-
{
|
|
5716
|
-
internalType: "uint256",
|
|
5717
|
-
name: "amount",
|
|
5718
|
-
type: "uint256"
|
|
5719
|
-
},
|
|
5720
|
-
{
|
|
5721
|
-
internalType: "uint256",
|
|
5722
|
-
name: "requestedAt",
|
|
5723
|
-
type: "uint256"
|
|
5724
|
-
},
|
|
5725
|
-
{
|
|
5726
|
-
internalType: "bool",
|
|
5727
|
-
name: "executed",
|
|
5728
|
-
type: "bool"
|
|
5729
|
-
}
|
|
5730
|
-
],
|
|
5731
|
-
stateMutability: "view",
|
|
5732
|
-
type: "function"
|
|
5733
|
-
},
|
|
5734
|
-
{
|
|
5735
|
-
stateMutability: "payable",
|
|
5736
|
-
type: "receive"
|
|
5737
|
-
}
|
|
5738
|
-
],
|
|
5739
|
-
RoleManager: [
|
|
5740
|
-
{
|
|
5741
|
-
inputs: [],
|
|
5742
|
-
name: "AccessControlBadConfirmation",
|
|
5743
|
-
type: "error"
|
|
5744
|
-
},
|
|
5745
|
-
{
|
|
5746
|
-
inputs: [
|
|
5747
|
-
{
|
|
5748
|
-
internalType: "address",
|
|
5749
|
-
name: "account",
|
|
5750
|
-
type: "address"
|
|
5751
|
-
},
|
|
5752
|
-
{
|
|
5753
|
-
internalType: "bytes32",
|
|
5754
|
-
name: "neededRole",
|
|
5755
|
-
type: "bytes32"
|
|
5756
|
-
}
|
|
5757
|
-
],
|
|
5758
|
-
name: "AccessControlUnauthorizedAccount",
|
|
5759
|
-
type: "error"
|
|
5760
|
-
},
|
|
5761
|
-
{
|
|
5762
|
-
inputs: [
|
|
5763
|
-
{
|
|
5764
|
-
internalType: "address",
|
|
5765
|
-
name: "target",
|
|
5766
|
-
type: "address"
|
|
5767
|
-
}
|
|
5768
|
-
],
|
|
5769
|
-
name: "AddressEmptyCode",
|
|
5770
|
-
type: "error"
|
|
5771
|
-
},
|
|
5772
|
-
{
|
|
5773
|
-
inputs: [
|
|
5774
|
-
{
|
|
5775
|
-
internalType: "address",
|
|
5776
|
-
name: "implementation",
|
|
5777
|
-
type: "address"
|
|
5778
|
-
}
|
|
5779
|
-
],
|
|
5780
|
-
name: "ERC1967InvalidImplementation",
|
|
5781
|
-
type: "error"
|
|
5782
|
-
},
|
|
5783
|
-
{
|
|
5784
|
-
inputs: [],
|
|
5785
|
-
name: "ERC1967NonPayable",
|
|
5786
|
-
type: "error"
|
|
5787
|
-
},
|
|
5788
|
-
{
|
|
5789
|
-
inputs: [],
|
|
5790
|
-
name: "FailedCall",
|
|
5791
|
-
type: "error"
|
|
5792
|
-
},
|
|
5793
|
-
{
|
|
5794
|
-
inputs: [],
|
|
5795
|
-
name: "InvalidInitialization",
|
|
5796
|
-
type: "error"
|
|
5797
|
-
},
|
|
5798
|
-
{
|
|
5799
|
-
inputs: [],
|
|
5800
|
-
name: "NotInitializing",
|
|
5801
|
-
type: "error"
|
|
5802
|
-
},
|
|
5803
|
-
{
|
|
5804
|
-
inputs: [],
|
|
5805
|
-
name: "UUPSUnauthorizedCallContext",
|
|
5806
|
-
type: "error"
|
|
5807
|
-
},
|
|
5808
|
-
{
|
|
5809
|
-
inputs: [
|
|
5810
|
-
{
|
|
5811
|
-
internalType: "bytes32",
|
|
5812
|
-
name: "slot",
|
|
5813
|
-
type: "bytes32"
|
|
5814
|
-
}
|
|
5815
|
-
],
|
|
5816
|
-
name: "UUPSUnsupportedProxiableUUID",
|
|
5817
|
-
type: "error"
|
|
5818
|
-
},
|
|
5819
|
-
{
|
|
5820
|
-
anonymous: false,
|
|
5821
|
-
inputs: [
|
|
5822
|
-
{
|
|
5823
|
-
indexed: false,
|
|
5824
|
-
internalType: "uint64",
|
|
5825
|
-
name: "version",
|
|
5826
|
-
type: "uint64"
|
|
5827
|
-
}
|
|
5828
|
-
],
|
|
5829
|
-
name: "Initialized",
|
|
5830
|
-
type: "event"
|
|
5831
|
-
},
|
|
5832
|
-
{
|
|
5833
|
-
anonymous: false,
|
|
5834
|
-
inputs: [
|
|
5835
|
-
{
|
|
5836
|
-
indexed: true,
|
|
5837
|
-
internalType: "bytes32",
|
|
5838
|
-
name: "role",
|
|
5839
|
-
type: "bytes32"
|
|
5840
|
-
},
|
|
5841
|
-
{
|
|
5842
|
-
indexed: true,
|
|
5843
|
-
internalType: "bytes32",
|
|
5844
|
-
name: "previousAdminRole",
|
|
5845
|
-
type: "bytes32"
|
|
5846
|
-
},
|
|
5847
|
-
{
|
|
5848
|
-
indexed: true,
|
|
5849
|
-
internalType: "bytes32",
|
|
5850
|
-
name: "newAdminRole",
|
|
5851
|
-
type: "bytes32"
|
|
5852
|
-
}
|
|
5853
|
-
],
|
|
5854
|
-
name: "RoleAdminChanged",
|
|
5855
|
-
type: "event"
|
|
5856
|
-
},
|
|
5857
|
-
{
|
|
5858
|
-
anonymous: false,
|
|
5859
|
-
inputs: [
|
|
5860
|
-
{
|
|
5861
|
-
indexed: true,
|
|
5862
|
-
internalType: "bytes32",
|
|
5863
|
-
name: "role",
|
|
5864
|
-
type: "bytes32"
|
|
5865
|
-
},
|
|
5866
|
-
{
|
|
5867
|
-
indexed: true,
|
|
5868
|
-
internalType: "address",
|
|
5869
|
-
name: "account",
|
|
5870
|
-
type: "address"
|
|
5871
|
-
},
|
|
5872
|
-
{
|
|
5873
|
-
indexed: true,
|
|
5874
|
-
internalType: "address",
|
|
5875
|
-
name: "sender",
|
|
5876
|
-
type: "address"
|
|
5877
|
-
}
|
|
5878
|
-
],
|
|
5879
|
-
name: "RoleGranted",
|
|
5880
|
-
type: "event"
|
|
5881
|
-
},
|
|
5882
|
-
{
|
|
5883
|
-
anonymous: false,
|
|
5884
|
-
inputs: [
|
|
5885
|
-
{
|
|
5886
|
-
indexed: true,
|
|
5887
|
-
internalType: "bytes32",
|
|
5888
|
-
name: "role",
|
|
5889
|
-
type: "bytes32"
|
|
5890
|
-
},
|
|
5891
|
-
{
|
|
5892
|
-
indexed: true,
|
|
5893
|
-
internalType: "address",
|
|
5894
|
-
name: "account",
|
|
5895
|
-
type: "address"
|
|
5896
|
-
},
|
|
5897
|
-
{
|
|
5898
|
-
indexed: true,
|
|
5899
|
-
internalType: "address",
|
|
5900
|
-
name: "sender",
|
|
5901
|
-
type: "address"
|
|
5902
|
-
}
|
|
5903
|
-
],
|
|
5904
|
-
name: "RoleRevoked",
|
|
5905
|
-
type: "event"
|
|
5906
|
-
},
|
|
5907
|
-
{
|
|
5908
|
-
anonymous: false,
|
|
5909
|
-
inputs: [
|
|
5910
|
-
{
|
|
5911
|
-
indexed: true,
|
|
5912
|
-
internalType: "address",
|
|
5913
|
-
name: "implementation",
|
|
5914
|
-
type: "address"
|
|
5915
|
-
}
|
|
5916
|
-
],
|
|
5917
|
-
name: "Upgraded",
|
|
5918
|
-
type: "event"
|
|
5919
|
-
},
|
|
5920
|
-
{
|
|
5921
|
-
inputs: [],
|
|
5922
|
-
name: "DEFAULT_ADMIN_ROLE",
|
|
5923
|
-
outputs: [
|
|
5924
|
-
{
|
|
5925
|
-
internalType: "bytes32",
|
|
5926
|
-
name: "",
|
|
5927
|
-
type: "bytes32"
|
|
5928
|
-
}
|
|
5929
|
-
],
|
|
5930
|
-
stateMutability: "view",
|
|
5931
|
-
type: "function"
|
|
5932
|
-
},
|
|
5933
|
-
{
|
|
5934
|
-
inputs: [],
|
|
5935
|
-
name: "MAINTAINER_ROLE",
|
|
5936
|
-
outputs: [
|
|
5937
|
-
{
|
|
5938
|
-
internalType: "bytes32",
|
|
5939
|
-
name: "",
|
|
5940
|
-
type: "bytes32"
|
|
5941
|
-
}
|
|
5942
|
-
],
|
|
5943
|
-
stateMutability: "view",
|
|
5944
|
-
type: "function"
|
|
5945
|
-
},
|
|
5946
|
-
{
|
|
5947
|
-
inputs: [],
|
|
5948
|
-
name: "UPGRADE_INTERFACE_VERSION",
|
|
5949
|
-
outputs: [
|
|
5950
|
-
{
|
|
5951
|
-
internalType: "string",
|
|
5952
|
-
name: "",
|
|
5953
|
-
type: "string"
|
|
5954
|
-
}
|
|
5955
|
-
],
|
|
5956
|
-
stateMutability: "view",
|
|
5957
|
-
type: "function"
|
|
5958
|
-
},
|
|
5959
|
-
{
|
|
5960
|
-
inputs: [
|
|
5961
|
-
{
|
|
5962
|
-
internalType: "address",
|
|
5963
|
-
name: "maintainer",
|
|
5964
|
-
type: "address"
|
|
5965
|
-
}
|
|
5966
|
-
],
|
|
5967
|
-
name: "addMaintainer",
|
|
5968
|
-
outputs: [],
|
|
5969
|
-
stateMutability: "nonpayable",
|
|
5970
|
-
type: "function"
|
|
5971
|
-
},
|
|
5972
|
-
{
|
|
5973
|
-
inputs: [],
|
|
5974
|
-
name: "getDefaultAdmin",
|
|
5975
|
-
outputs: [
|
|
5976
|
-
{
|
|
5977
|
-
internalType: "address",
|
|
5978
|
-
name: "",
|
|
5979
|
-
type: "address"
|
|
5980
|
-
}
|
|
5981
|
-
],
|
|
5982
|
-
stateMutability: "view",
|
|
5983
|
-
type: "function"
|
|
5984
|
-
},
|
|
5985
|
-
{
|
|
5986
|
-
inputs: [
|
|
5987
|
-
{
|
|
5988
|
-
internalType: "bytes32",
|
|
5989
|
-
name: "role",
|
|
5990
|
-
type: "bytes32"
|
|
5991
|
-
}
|
|
5992
|
-
],
|
|
5993
|
-
name: "getRoleAdmin",
|
|
5994
|
-
outputs: [
|
|
5995
|
-
{
|
|
5996
|
-
internalType: "bytes32",
|
|
5997
|
-
name: "",
|
|
5998
|
-
type: "bytes32"
|
|
5999
|
-
}
|
|
6000
|
-
],
|
|
6001
|
-
stateMutability: "view",
|
|
6002
|
-
type: "function"
|
|
6003
|
-
},
|
|
6004
|
-
{
|
|
6005
|
-
inputs: [
|
|
6006
|
-
{
|
|
6007
|
-
internalType: "bytes32",
|
|
6008
|
-
name: "role",
|
|
6009
|
-
type: "bytes32"
|
|
6010
|
-
},
|
|
6011
|
-
{
|
|
6012
|
-
internalType: "uint256",
|
|
6013
|
-
name: "index",
|
|
6014
|
-
type: "uint256"
|
|
6015
|
-
}
|
|
6016
|
-
],
|
|
6017
|
-
name: "getRoleMember",
|
|
6018
|
-
outputs: [
|
|
6019
|
-
{
|
|
6020
|
-
internalType: "address",
|
|
6021
|
-
name: "",
|
|
6022
|
-
type: "address"
|
|
6023
|
-
}
|
|
6024
|
-
],
|
|
6025
|
-
stateMutability: "view",
|
|
6026
|
-
type: "function"
|
|
6027
|
-
},
|
|
6028
|
-
{
|
|
6029
|
-
inputs: [
|
|
6030
|
-
{
|
|
6031
|
-
internalType: "bytes32",
|
|
6032
|
-
name: "role",
|
|
6033
|
-
type: "bytes32"
|
|
6034
|
-
}
|
|
6035
|
-
],
|
|
6036
|
-
name: "getRoleMemberCount",
|
|
6037
|
-
outputs: [
|
|
6038
|
-
{
|
|
6039
|
-
internalType: "uint256",
|
|
6040
|
-
name: "",
|
|
6041
|
-
type: "uint256"
|
|
6042
|
-
}
|
|
6043
|
-
],
|
|
6044
|
-
stateMutability: "view",
|
|
6045
|
-
type: "function"
|
|
6046
|
-
},
|
|
6047
|
-
{
|
|
6048
|
-
inputs: [
|
|
6049
|
-
{
|
|
6050
|
-
internalType: "bytes32",
|
|
6051
|
-
name: "role",
|
|
6052
|
-
type: "bytes32"
|
|
6053
|
-
}
|
|
6054
|
-
],
|
|
6055
|
-
name: "getRoleMembers",
|
|
6056
|
-
outputs: [
|
|
6057
|
-
{
|
|
6058
|
-
internalType: "address[]",
|
|
6059
|
-
name: "",
|
|
6060
|
-
type: "address[]"
|
|
6061
|
-
}
|
|
6062
|
-
],
|
|
6063
|
-
stateMutability: "view",
|
|
6064
|
-
type: "function"
|
|
6065
|
-
},
|
|
6066
|
-
{
|
|
6067
|
-
inputs: [
|
|
6068
|
-
{
|
|
6069
|
-
internalType: "bytes32",
|
|
6070
|
-
name: "role",
|
|
6071
|
-
type: "bytes32"
|
|
6072
|
-
},
|
|
6073
|
-
{
|
|
6074
|
-
internalType: "address",
|
|
6075
|
-
name: "account",
|
|
6076
|
-
type: "address"
|
|
6077
|
-
}
|
|
6078
|
-
],
|
|
6079
|
-
name: "grantRole",
|
|
6080
|
-
outputs: [],
|
|
6081
|
-
stateMutability: "nonpayable",
|
|
6082
|
-
type: "function"
|
|
6083
|
-
},
|
|
6084
|
-
{
|
|
6085
|
-
inputs: [
|
|
6086
|
-
{
|
|
6087
|
-
internalType: "bytes32",
|
|
6088
|
-
name: "role",
|
|
6089
|
-
type: "bytes32"
|
|
6090
|
-
},
|
|
6091
|
-
{
|
|
6092
|
-
internalType: "address",
|
|
6093
|
-
name: "account",
|
|
6094
|
-
type: "address"
|
|
6095
|
-
}
|
|
6096
|
-
],
|
|
6097
|
-
name: "hasRole",
|
|
6098
|
-
outputs: [
|
|
6099
|
-
{
|
|
6100
|
-
internalType: "bool",
|
|
6101
|
-
name: "",
|
|
6102
|
-
type: "bool"
|
|
6103
|
-
}
|
|
6104
|
-
],
|
|
6105
|
-
stateMutability: "view",
|
|
6106
|
-
type: "function"
|
|
6107
|
-
},
|
|
6108
|
-
{
|
|
6109
|
-
inputs: [
|
|
6110
|
-
{
|
|
6111
|
-
internalType: "address",
|
|
6112
|
-
name: "congress",
|
|
6113
|
-
type: "address"
|
|
6114
|
-
},
|
|
6115
|
-
{
|
|
6116
|
-
internalType: "address[]",
|
|
6117
|
-
name: "maintainers",
|
|
6118
|
-
type: "address[]"
|
|
6119
|
-
}
|
|
6120
|
-
],
|
|
6121
|
-
name: "initialize",
|
|
6122
|
-
outputs: [],
|
|
6123
|
-
stateMutability: "nonpayable",
|
|
6124
|
-
type: "function"
|
|
6125
|
-
},
|
|
6126
|
-
{
|
|
6127
|
-
inputs: [],
|
|
6128
|
-
name: "proxiableUUID",
|
|
6129
|
-
outputs: [
|
|
6130
|
-
{
|
|
6131
|
-
internalType: "bytes32",
|
|
6132
|
-
name: "",
|
|
6133
|
-
type: "bytes32"
|
|
6134
|
-
}
|
|
6135
|
-
],
|
|
6136
|
-
stateMutability: "view",
|
|
6137
|
-
type: "function"
|
|
6138
|
-
},
|
|
6139
|
-
{
|
|
6140
|
-
inputs: [
|
|
6141
|
-
{
|
|
6142
|
-
internalType: "address",
|
|
6143
|
-
name: "maintainer",
|
|
6144
|
-
type: "address"
|
|
6145
|
-
}
|
|
6146
|
-
],
|
|
6147
|
-
name: "removeMaintainer",
|
|
6148
|
-
outputs: [],
|
|
6149
|
-
stateMutability: "nonpayable",
|
|
6150
|
-
type: "function"
|
|
6151
|
-
},
|
|
6152
|
-
{
|
|
6153
|
-
inputs: [
|
|
6154
|
-
{
|
|
6155
|
-
internalType: "bytes32",
|
|
6156
|
-
name: "role",
|
|
6157
|
-
type: "bytes32"
|
|
6158
|
-
},
|
|
6159
|
-
{
|
|
6160
|
-
internalType: "address",
|
|
6161
|
-
name: "callerConfirmation",
|
|
6162
|
-
type: "address"
|
|
6163
|
-
}
|
|
6164
|
-
],
|
|
6165
|
-
name: "renounceRole",
|
|
6166
|
-
outputs: [],
|
|
6167
|
-
stateMutability: "nonpayable",
|
|
6168
|
-
type: "function"
|
|
6169
|
-
},
|
|
6170
|
-
{
|
|
6171
|
-
inputs: [
|
|
6172
|
-
{
|
|
6173
|
-
internalType: "bytes32",
|
|
6174
|
-
name: "role",
|
|
6175
|
-
type: "bytes32"
|
|
6176
|
-
},
|
|
6177
|
-
{
|
|
6178
|
-
internalType: "address",
|
|
6179
|
-
name: "account",
|
|
6180
|
-
type: "address"
|
|
6181
|
-
}
|
|
6182
|
-
],
|
|
6183
|
-
name: "revokeRole",
|
|
6184
|
-
outputs: [],
|
|
6185
|
-
stateMutability: "nonpayable",
|
|
6186
|
-
type: "function"
|
|
6187
|
-
},
|
|
6188
|
-
{
|
|
6189
|
-
inputs: [
|
|
6190
|
-
{
|
|
6191
|
-
internalType: "bytes4",
|
|
6192
|
-
name: "interfaceId",
|
|
6193
|
-
type: "bytes4"
|
|
6194
|
-
}
|
|
6195
|
-
],
|
|
6196
|
-
name: "supportsInterface",
|
|
6197
|
-
outputs: [
|
|
6198
|
-
{
|
|
6199
|
-
internalType: "bool",
|
|
6200
|
-
name: "",
|
|
6201
|
-
type: "bool"
|
|
6202
|
-
}
|
|
6203
|
-
],
|
|
6204
|
-
stateMutability: "view",
|
|
6205
|
-
type: "function"
|
|
6206
|
-
},
|
|
6207
|
-
{
|
|
6208
|
-
inputs: [
|
|
6209
|
-
{
|
|
6210
|
-
internalType: "address",
|
|
6211
|
-
name: "newAdmin",
|
|
6212
|
-
type: "address"
|
|
6213
|
-
}
|
|
6214
|
-
],
|
|
6215
|
-
name: "transferDefaultAdmin",
|
|
6216
|
-
outputs: [],
|
|
6217
|
-
stateMutability: "nonpayable",
|
|
6218
|
-
type: "function"
|
|
6219
|
-
},
|
|
6220
|
-
{
|
|
6221
|
-
inputs: [
|
|
6222
|
-
{
|
|
6223
|
-
internalType: "address",
|
|
6224
|
-
name: "newImplementation",
|
|
6225
|
-
type: "address"
|
|
6226
|
-
},
|
|
6227
|
-
{
|
|
6228
|
-
internalType: "bytes",
|
|
6229
|
-
name: "data",
|
|
6230
|
-
type: "bytes"
|
|
6231
|
-
}
|
|
6232
|
-
],
|
|
6233
|
-
name: "upgradeToAndCall",
|
|
6234
|
-
outputs: [],
|
|
6235
|
-
stateMutability: "payable",
|
|
6236
|
-
type: "function"
|
|
6237
|
-
}
|
|
6238
|
-
],
|
|
6239
|
-
IATPSettlementLayer: [
|
|
6240
|
-
{
|
|
6241
|
-
inputs: [],
|
|
6242
|
-
stateMutability: "nonpayable",
|
|
6243
|
-
type: "constructor"
|
|
6244
|
-
},
|
|
6245
|
-
{
|
|
6246
|
-
inputs: [
|
|
6247
|
-
{
|
|
6248
|
-
internalType: "address",
|
|
6249
|
-
name: "target",
|
|
6250
|
-
type: "address"
|
|
6251
|
-
}
|
|
6252
|
-
],
|
|
6253
|
-
name: "AddressEmptyCode",
|
|
6254
|
-
type: "error"
|
|
6255
|
-
},
|
|
6256
|
-
{
|
|
6257
|
-
inputs: [],
|
|
6258
|
-
name: "AmountMustBePositive",
|
|
6259
|
-
type: "error"
|
|
6260
|
-
},
|
|
6261
|
-
{
|
|
6262
|
-
inputs: [],
|
|
6263
|
-
name: "ArrayLengthMismatch",
|
|
6264
|
-
type: "error"
|
|
6265
|
-
},
|
|
6266
|
-
{
|
|
6267
|
-
inputs: [],
|
|
6268
|
-
name: "CannotReleaseEpochYet",
|
|
6269
|
-
type: "error"
|
|
6270
|
-
},
|
|
6271
|
-
{
|
|
6272
|
-
inputs: [],
|
|
6273
|
-
name: "ConsumerProviderSame",
|
|
6274
|
-
type: "error"
|
|
6275
|
-
},
|
|
6276
|
-
{
|
|
6277
|
-
inputs: [],
|
|
6278
|
-
name: "DisputeAlreadyFiled",
|
|
6279
|
-
type: "error"
|
|
6280
|
-
},
|
|
6281
|
-
{
|
|
6282
|
-
inputs: [],
|
|
6283
|
-
name: "DisputeAlreadyResolved",
|
|
6284
|
-
type: "error"
|
|
6285
|
-
},
|
|
6286
|
-
{
|
|
6287
|
-
inputs: [],
|
|
6288
|
-
name: "DisputeNotFound",
|
|
6289
|
-
type: "error"
|
|
6290
|
-
},
|
|
6291
|
-
{
|
|
6292
|
-
inputs: [],
|
|
6293
|
-
name: "DisputePeriodExpired",
|
|
6294
|
-
type: "error"
|
|
6295
|
-
},
|
|
6296
|
-
{
|
|
6297
|
-
inputs: [
|
|
6298
|
-
{
|
|
6299
|
-
internalType: "address",
|
|
6300
|
-
name: "implementation",
|
|
6301
|
-
type: "address"
|
|
6302
|
-
}
|
|
6303
|
-
],
|
|
6304
|
-
name: "ERC1967InvalidImplementation",
|
|
6305
|
-
type: "error"
|
|
6306
|
-
},
|
|
6307
|
-
{
|
|
6308
|
-
inputs: [],
|
|
6309
|
-
name: "ERC1967NonPayable",
|
|
6310
|
-
type: "error"
|
|
6311
|
-
},
|
|
6312
|
-
{
|
|
6313
|
-
inputs: [],
|
|
6314
|
-
name: "EmptyArray",
|
|
6315
|
-
type: "error"
|
|
6316
|
-
},
|
|
6317
|
-
{
|
|
6318
|
-
inputs: [],
|
|
6319
|
-
name: "EpochMustBeNextOne",
|
|
6320
|
-
type: "error"
|
|
6321
|
-
},
|
|
6322
|
-
{
|
|
6323
|
-
inputs: [],
|
|
6324
|
-
name: "EpochMustBeOne",
|
|
6325
|
-
type: "error"
|
|
6326
|
-
},
|
|
6327
|
-
{
|
|
6328
|
-
inputs: [],
|
|
6329
|
-
name: "FailedCall",
|
|
6330
|
-
type: "error"
|
|
6331
|
-
},
|
|
6332
|
-
{
|
|
6333
|
-
inputs: [],
|
|
6334
|
-
name: "InsufficientBalance",
|
|
6335
|
-
type: "error"
|
|
6336
|
-
},
|
|
6337
|
-
{
|
|
6338
|
-
inputs: [],
|
|
6339
|
-
name: "InvalidAddress",
|
|
6340
|
-
type: "error"
|
|
6341
|
-
},
|
|
6342
|
-
{
|
|
6343
|
-
inputs: [],
|
|
6344
|
-
name: "InvalidConsumer",
|
|
6345
|
-
type: "error"
|
|
6346
|
-
},
|
|
6347
|
-
{
|
|
6348
|
-
inputs: [],
|
|
6349
|
-
name: "InvalidConsumerSignature",
|
|
6350
|
-
type: "error"
|
|
6351
|
-
},
|
|
6352
|
-
{
|
|
6353
|
-
inputs: [],
|
|
6354
|
-
name: "InvalidEpoch",
|
|
6355
|
-
type: "error"
|
|
6356
|
-
},
|
|
6357
|
-
{
|
|
6358
|
-
inputs: [],
|
|
6359
|
-
name: "InvalidInitialization",
|
|
6360
|
-
type: "error"
|
|
6361
|
-
},
|
|
6362
|
-
{
|
|
6363
|
-
inputs: [],
|
|
6364
|
-
name: "InvalidInput",
|
|
6365
|
-
type: "error"
|
|
6366
|
-
},
|
|
6367
|
-
{
|
|
6368
|
-
inputs: [],
|
|
6369
|
-
name: "InvalidProvider",
|
|
6370
|
-
type: "error"
|
|
6371
|
-
},
|
|
6372
|
-
{
|
|
6373
|
-
inputs: [],
|
|
6374
|
-
name: "InvalidProviderSignature",
|
|
6375
|
-
type: "error"
|
|
6376
|
-
},
|
|
6377
|
-
{
|
|
6378
|
-
inputs: [],
|
|
6379
|
-
name: "InvalidTraiaToken",
|
|
6380
|
-
type: "error"
|
|
6381
|
-
},
|
|
6382
|
-
{
|
|
6383
|
-
inputs: [],
|
|
6384
|
-
name: "InvalidUtilityAgentFactory",
|
|
6385
|
-
type: "error"
|
|
6386
|
-
},
|
|
6387
|
-
{
|
|
6388
|
-
inputs: [],
|
|
6389
|
-
name: "NoFundsToRelease",
|
|
6390
|
-
type: "error"
|
|
6391
|
-
},
|
|
6392
|
-
{
|
|
6393
|
-
inputs: [],
|
|
6394
|
-
name: "NoLockedFunds",
|
|
6395
|
-
type: "error"
|
|
6396
|
-
},
|
|
6397
|
-
{
|
|
6398
|
-
inputs: [],
|
|
6399
|
-
name: "NotAuthorized",
|
|
6400
|
-
type: "error"
|
|
6401
|
-
},
|
|
6402
|
-
{
|
|
6403
|
-
inputs: [],
|
|
6404
|
-
name: "NotInitializing",
|
|
6405
|
-
type: "error"
|
|
6406
|
-
},
|
|
6407
|
-
{
|
|
6408
|
-
inputs: [],
|
|
6409
|
-
name: "ProviderNotRegistered",
|
|
6410
|
-
type: "error"
|
|
6411
|
-
},
|
|
6412
|
-
{
|
|
6413
|
-
inputs: [],
|
|
6414
|
-
name: "ReentrancyGuardReentrantCall",
|
|
6415
|
-
type: "error"
|
|
6416
|
-
},
|
|
6417
|
-
{
|
|
6418
|
-
inputs: [],
|
|
6419
|
-
name: "RequestAlreadyProcessed",
|
|
6420
|
-
type: "error"
|
|
6421
|
-
},
|
|
6422
|
-
{
|
|
6423
|
-
inputs: [],
|
|
6424
|
-
name: "RequestExpired",
|
|
6425
|
-
type: "error"
|
|
6426
|
-
},
|
|
6427
|
-
{
|
|
6428
|
-
inputs: [],
|
|
6429
|
-
name: "RequestNotSettled",
|
|
6430
|
-
type: "error"
|
|
6431
|
-
},
|
|
6432
|
-
{
|
|
6433
|
-
inputs: [
|
|
6434
|
-
{
|
|
6435
|
-
internalType: "address",
|
|
6436
|
-
name: "token",
|
|
6437
|
-
type: "address"
|
|
6438
|
-
}
|
|
6439
|
-
],
|
|
6440
|
-
name: "SafeERC20FailedOperation",
|
|
6441
|
-
type: "error"
|
|
6442
|
-
},
|
|
6443
|
-
{
|
|
6444
|
-
inputs: [],
|
|
6445
|
-
name: "SignatureAlreadyUsed",
|
|
6446
|
-
type: "error"
|
|
6447
|
-
},
|
|
6448
|
-
{
|
|
6449
|
-
inputs: [],
|
|
6450
|
-
name: "UUPSUnauthorizedCallContext",
|
|
6451
|
-
type: "error"
|
|
6452
|
-
},
|
|
6453
|
-
{
|
|
6454
|
-
inputs: [
|
|
6455
|
-
{
|
|
6456
|
-
internalType: "bytes32",
|
|
6457
|
-
name: "slot",
|
|
6458
|
-
type: "bytes32"
|
|
6459
|
-
}
|
|
6460
|
-
],
|
|
6461
|
-
name: "UUPSUnsupportedProxiableUUID",
|
|
6462
|
-
type: "error"
|
|
6463
|
-
},
|
|
6464
|
-
{
|
|
6465
|
-
anonymous: false,
|
|
6466
|
-
inputs: [
|
|
6467
|
-
{
|
|
6468
|
-
indexed: true,
|
|
6469
|
-
internalType: "address",
|
|
6470
|
-
name: "consumer",
|
|
6471
|
-
type: "address"
|
|
6472
|
-
},
|
|
6473
|
-
{
|
|
6474
|
-
indexed: false,
|
|
6475
|
-
internalType: "uint256",
|
|
6476
|
-
name: "refillAmount",
|
|
6477
|
-
type: "uint256"
|
|
6478
|
-
},
|
|
6479
|
-
{
|
|
6480
|
-
indexed: false,
|
|
6481
|
-
internalType: "uint256",
|
|
6482
|
-
name: "previousBalance",
|
|
6483
|
-
type: "uint256"
|
|
6484
|
-
},
|
|
6485
|
-
{
|
|
6486
|
-
indexed: false,
|
|
6487
|
-
internalType: "uint256",
|
|
6488
|
-
name: "newBalance",
|
|
6489
|
-
type: "uint256"
|
|
6490
|
-
}
|
|
6491
|
-
],
|
|
6492
|
-
name: "AutoRefillExecuted",
|
|
6493
|
-
type: "event"
|
|
6494
|
-
},
|
|
6495
|
-
{
|
|
6496
|
-
anonymous: false,
|
|
6497
|
-
inputs: [
|
|
6498
|
-
{
|
|
6499
|
-
indexed: false,
|
|
6500
|
-
internalType: "uint256",
|
|
6501
|
-
name: "newMaxAutoRefillAmount",
|
|
6502
|
-
type: "uint256"
|
|
6503
|
-
},
|
|
6504
|
-
{
|
|
6505
|
-
indexed: false,
|
|
6506
|
-
internalType: "uint256",
|
|
6507
|
-
name: "newBalanceThresholdMultiplier",
|
|
6508
|
-
type: "uint256"
|
|
6509
|
-
},
|
|
6510
|
-
{
|
|
6511
|
-
indexed: false,
|
|
6512
|
-
internalType: "uint256",
|
|
6513
|
-
name: "newAutoRefillMultiplier",
|
|
6514
|
-
type: "uint256"
|
|
6515
|
-
}
|
|
6516
|
-
],
|
|
6517
|
-
name: "AutoRefillParametersUpdated",
|
|
6518
|
-
type: "event"
|
|
6519
|
-
},
|
|
6520
|
-
{
|
|
6521
|
-
anonymous: false,
|
|
6522
|
-
inputs: [
|
|
6523
|
-
{
|
|
6524
|
-
indexed: true,
|
|
6525
|
-
internalType: "address",
|
|
6526
|
-
name: "consumer",
|
|
6527
|
-
type: "address"
|
|
6528
|
-
},
|
|
6529
|
-
{
|
|
6530
|
-
indexed: false,
|
|
6531
|
-
internalType: "uint256",
|
|
6532
|
-
name: "amount",
|
|
6533
|
-
type: "uint256"
|
|
6534
|
-
}
|
|
6535
|
-
],
|
|
6536
|
-
name: "ConsumerDeposit",
|
|
6537
|
-
type: "event"
|
|
6538
|
-
},
|
|
6539
|
-
{
|
|
6540
|
-
anonymous: false,
|
|
6541
|
-
inputs: [
|
|
6542
|
-
{
|
|
6543
|
-
indexed: true,
|
|
6544
|
-
internalType: "address",
|
|
6545
|
-
name: "consumer",
|
|
6546
|
-
type: "address"
|
|
6547
|
-
},
|
|
6548
|
-
{
|
|
6549
|
-
indexed: false,
|
|
6550
|
-
internalType: "uint256",
|
|
6551
|
-
name: "amount",
|
|
6552
|
-
type: "uint256"
|
|
6553
|
-
}
|
|
6554
|
-
],
|
|
6555
|
-
name: "ConsumerWithdraw",
|
|
6556
|
-
type: "event"
|
|
6557
|
-
},
|
|
6558
|
-
{
|
|
6559
|
-
anonymous: false,
|
|
6560
|
-
inputs: [
|
|
6561
|
-
{
|
|
6562
|
-
indexed: true,
|
|
6563
|
-
internalType: "bytes32",
|
|
6564
|
-
name: "requestId",
|
|
6565
|
-
type: "bytes32"
|
|
6566
|
-
},
|
|
6567
|
-
{
|
|
6568
|
-
indexed: true,
|
|
6569
|
-
internalType: "address",
|
|
6570
|
-
name: "consumer",
|
|
6571
|
-
type: "address"
|
|
6572
|
-
},
|
|
6573
|
-
{
|
|
6574
|
-
indexed: true,
|
|
6575
|
-
internalType: "address",
|
|
6576
|
-
name: "provider",
|
|
6577
|
-
type: "address"
|
|
6578
|
-
},
|
|
6579
|
-
{
|
|
6580
|
-
indexed: false,
|
|
6581
|
-
internalType: "string",
|
|
6582
|
-
name: "reason",
|
|
6583
|
-
type: "string"
|
|
6584
|
-
}
|
|
6585
|
-
],
|
|
6586
|
-
name: "DisputeFiled",
|
|
6587
|
-
type: "event"
|
|
6588
|
-
},
|
|
6589
|
-
{
|
|
6590
|
-
anonymous: false,
|
|
6591
|
-
inputs: [
|
|
6592
|
-
{
|
|
6593
|
-
indexed: true,
|
|
6594
|
-
internalType: "bytes32",
|
|
6595
|
-
name: "requestId",
|
|
6596
|
-
type: "bytes32"
|
|
6597
|
-
},
|
|
6598
|
-
{
|
|
6599
|
-
indexed: false,
|
|
6600
|
-
internalType: "bool",
|
|
6601
|
-
name: "consumerWon",
|
|
6602
|
-
type: "bool"
|
|
6603
|
-
},
|
|
6604
|
-
{
|
|
6605
|
-
indexed: false,
|
|
6606
|
-
internalType: "address",
|
|
6607
|
-
name: "resolvedBy",
|
|
6608
|
-
type: "address"
|
|
6609
|
-
}
|
|
6610
|
-
],
|
|
6611
|
-
name: "DisputeResolved",
|
|
6612
|
-
type: "event"
|
|
6613
|
-
},
|
|
6614
|
-
{
|
|
6615
|
-
anonymous: false,
|
|
6616
|
-
inputs: [],
|
|
6617
|
-
name: "EIP712DomainChanged",
|
|
6618
|
-
type: "event"
|
|
6619
|
-
},
|
|
6620
|
-
{
|
|
6621
|
-
anonymous: false,
|
|
6622
|
-
inputs: [
|
|
6623
|
-
{
|
|
6624
|
-
indexed: false,
|
|
6625
|
-
internalType: "uint256",
|
|
6626
|
-
name: "epochDurationSeconds",
|
|
6627
|
-
type: "uint256"
|
|
6628
|
-
},
|
|
6629
|
-
{
|
|
6630
|
-
indexed: false,
|
|
6631
|
-
internalType: "uint256",
|
|
6632
|
-
name: "maxEpochsToRelease",
|
|
6633
|
-
type: "uint256"
|
|
6634
|
-
}
|
|
6635
|
-
],
|
|
6636
|
-
name: "EpochParametersSet",
|
|
6637
|
-
type: "event"
|
|
6638
|
-
},
|
|
6639
|
-
{
|
|
6640
|
-
anonymous: false,
|
|
6641
|
-
inputs: [
|
|
6642
|
-
{
|
|
6643
|
-
indexed: true,
|
|
6644
|
-
internalType: "address",
|
|
6645
|
-
name: "provider",
|
|
6646
|
-
type: "address"
|
|
6647
|
-
},
|
|
6648
|
-
{
|
|
6649
|
-
indexed: false,
|
|
6650
|
-
internalType: "uint256",
|
|
6651
|
-
name: "epoch",
|
|
6652
|
-
type: "uint256"
|
|
6653
|
-
},
|
|
6654
|
-
{
|
|
6655
|
-
indexed: false,
|
|
6656
|
-
internalType: "uint256",
|
|
6657
|
-
name: "amount",
|
|
6658
|
-
type: "uint256"
|
|
6659
|
-
}
|
|
6660
|
-
],
|
|
6661
|
-
name: "EpochReleased",
|
|
6662
|
-
type: "event"
|
|
6663
|
-
},
|
|
6664
|
-
{
|
|
6665
|
-
anonymous: false,
|
|
6666
|
-
inputs: [
|
|
6667
|
-
{
|
|
6668
|
-
indexed: false,
|
|
6669
|
-
internalType: "uint256",
|
|
6670
|
-
name: "newFeePercent",
|
|
6671
|
-
type: "uint256"
|
|
6672
|
-
},
|
|
6673
|
-
{
|
|
6674
|
-
indexed: true,
|
|
6675
|
-
internalType: "address",
|
|
6676
|
-
name: "newFeeCollector",
|
|
6677
|
-
type: "address"
|
|
6678
|
-
}
|
|
6679
|
-
],
|
|
6680
|
-
name: "FeeConfigUpdated",
|
|
6681
|
-
type: "event"
|
|
6682
|
-
},
|
|
6683
|
-
{
|
|
6684
|
-
anonymous: false,
|
|
6685
|
-
inputs: [
|
|
6686
|
-
{
|
|
6687
|
-
indexed: true,
|
|
6688
|
-
internalType: "address",
|
|
6689
|
-
name: "provider",
|
|
6690
|
-
type: "address"
|
|
6691
|
-
},
|
|
6692
|
-
{
|
|
6693
|
-
indexed: true,
|
|
6694
|
-
internalType: "address",
|
|
6695
|
-
name: "feeCollector",
|
|
6696
|
-
type: "address"
|
|
6697
|
-
},
|
|
6698
|
-
{
|
|
6699
|
-
indexed: false,
|
|
6700
|
-
internalType: "uint256",
|
|
6701
|
-
name: "feeAmount",
|
|
6702
|
-
type: "uint256"
|
|
6703
|
-
},
|
|
6704
|
-
{
|
|
6705
|
-
indexed: false,
|
|
6706
|
-
internalType: "uint256",
|
|
6707
|
-
name: "providerAmount",
|
|
6708
|
-
type: "uint256"
|
|
6709
|
-
}
|
|
6710
|
-
],
|
|
6711
|
-
name: "FeesCollected",
|
|
6712
|
-
type: "event"
|
|
6713
|
-
},
|
|
6714
|
-
{
|
|
6715
|
-
anonymous: false,
|
|
6716
|
-
inputs: [
|
|
6717
|
-
{
|
|
6718
|
-
indexed: false,
|
|
6719
|
-
internalType: "uint64",
|
|
6720
|
-
name: "version",
|
|
6721
|
-
type: "uint64"
|
|
6722
|
-
}
|
|
6723
|
-
],
|
|
6724
|
-
name: "Initialized",
|
|
6725
|
-
type: "event"
|
|
6726
|
-
},
|
|
6727
|
-
{
|
|
6728
|
-
anonymous: false,
|
|
6729
|
-
inputs: [
|
|
6730
|
-
{
|
|
6731
|
-
indexed: false,
|
|
6732
|
-
internalType: "uint256",
|
|
6733
|
-
name: "newMaxFacilitatorFee",
|
|
6734
|
-
type: "uint256"
|
|
6735
|
-
}
|
|
6736
|
-
],
|
|
6737
|
-
name: "MaxFacilitatorFeeUpdated",
|
|
6738
|
-
type: "event"
|
|
6739
|
-
},
|
|
6740
|
-
{
|
|
6741
|
-
anonymous: false,
|
|
6742
|
-
inputs: [
|
|
6743
|
-
{
|
|
6744
|
-
indexed: true,
|
|
6745
|
-
internalType: "address",
|
|
6746
|
-
name: "provider",
|
|
6747
|
-
type: "address"
|
|
6748
|
-
},
|
|
6749
|
-
{
|
|
6750
|
-
indexed: false,
|
|
6751
|
-
internalType: "uint256",
|
|
6752
|
-
name: "amount",
|
|
6753
|
-
type: "uint256"
|
|
6754
|
-
}
|
|
6755
|
-
],
|
|
6756
|
-
name: "ProviderWithdrawn",
|
|
6757
|
-
type: "event"
|
|
6758
|
-
},
|
|
6759
|
-
{
|
|
6760
|
-
anonymous: false,
|
|
6761
|
-
inputs: [
|
|
6762
|
-
{
|
|
6763
|
-
indexed: true,
|
|
6764
|
-
internalType: "bytes32",
|
|
6765
|
-
name: "requestId",
|
|
6766
|
-
type: "bytes32"
|
|
6767
|
-
},
|
|
6768
|
-
{
|
|
6769
|
-
indexed: true,
|
|
6770
|
-
internalType: "address",
|
|
6771
|
-
name: "consumer",
|
|
6772
|
-
type: "address"
|
|
6773
|
-
},
|
|
6774
|
-
{
|
|
6775
|
-
indexed: true,
|
|
6776
|
-
internalType: "address",
|
|
6777
|
-
name: "provider",
|
|
6778
|
-
type: "address"
|
|
6779
|
-
},
|
|
6780
|
-
{
|
|
6781
|
-
indexed: false,
|
|
6782
|
-
internalType: "uint256",
|
|
6783
|
-
name: "amount",
|
|
6784
|
-
type: "uint256"
|
|
6785
|
-
},
|
|
6786
|
-
{
|
|
6787
|
-
indexed: false,
|
|
6788
|
-
internalType: "uint256",
|
|
6789
|
-
name: "consumerRequestCount",
|
|
6790
|
-
type: "uint256"
|
|
6791
|
-
},
|
|
6792
|
-
{
|
|
6793
|
-
indexed: false,
|
|
6794
|
-
internalType: "uint256",
|
|
6795
|
-
name: "epoch",
|
|
6796
|
-
type: "uint256"
|
|
6797
|
-
},
|
|
6798
|
-
{
|
|
6799
|
-
indexed: false,
|
|
6800
|
-
internalType: "address",
|
|
6801
|
-
name: "tokenAddress",
|
|
6802
|
-
type: "address"
|
|
6803
|
-
}
|
|
6804
|
-
],
|
|
6805
|
-
name: "RequestSettled",
|
|
6806
|
-
type: "event"
|
|
6807
|
-
},
|
|
6808
|
-
{
|
|
6809
|
-
anonymous: false,
|
|
6810
|
-
inputs: [
|
|
6811
|
-
{
|
|
6812
|
-
indexed: true,
|
|
6813
|
-
internalType: "uint256",
|
|
6814
|
-
name: "index",
|
|
6815
|
-
type: "uint256"
|
|
6816
|
-
},
|
|
6817
|
-
{
|
|
6818
|
-
indexed: true,
|
|
6819
|
-
internalType: "address",
|
|
6820
|
-
name: "consumer",
|
|
6821
|
-
type: "address"
|
|
6822
|
-
},
|
|
6823
|
-
{
|
|
6824
|
-
indexed: true,
|
|
6825
|
-
internalType: "address",
|
|
6826
|
-
name: "provider",
|
|
6827
|
-
type: "address"
|
|
6828
|
-
},
|
|
6829
|
-
{
|
|
6830
|
-
indexed: false,
|
|
6831
|
-
internalType: "bytes32",
|
|
6832
|
-
name: "requestId",
|
|
6833
|
-
type: "bytes32"
|
|
6834
|
-
},
|
|
6835
|
-
{
|
|
6836
|
-
indexed: false,
|
|
6837
|
-
internalType: "bytes",
|
|
6838
|
-
name: "reason",
|
|
6839
|
-
type: "bytes"
|
|
6840
|
-
}
|
|
6841
|
-
],
|
|
6842
|
-
name: "RequestSettlementFailed",
|
|
6843
|
-
type: "event"
|
|
6844
|
-
},
|
|
6845
|
-
{
|
|
6846
|
-
anonymous: false,
|
|
6847
|
-
inputs: [
|
|
6848
|
-
{
|
|
6849
|
-
indexed: true,
|
|
6850
|
-
internalType: "address",
|
|
6851
|
-
name: "newRoleManager",
|
|
6852
|
-
type: "address"
|
|
6853
|
-
}
|
|
6854
|
-
],
|
|
6855
|
-
name: "RoleManagerUpdated",
|
|
6856
|
-
type: "event"
|
|
6857
|
-
},
|
|
6858
|
-
{
|
|
6859
|
-
anonymous: false,
|
|
6860
|
-
inputs: [
|
|
6861
|
-
{
|
|
6862
|
-
indexed: true,
|
|
6863
|
-
internalType: "address",
|
|
6864
|
-
name: "implementation",
|
|
6865
|
-
type: "address"
|
|
6866
|
-
}
|
|
6867
|
-
],
|
|
6868
|
-
name: "Upgraded",
|
|
6869
|
-
type: "event"
|
|
6870
|
-
},
|
|
6871
|
-
{
|
|
6872
|
-
anonymous: false,
|
|
6873
|
-
inputs: [
|
|
6874
|
-
{
|
|
6875
|
-
indexed: true,
|
|
6876
|
-
internalType: "address",
|
|
6877
|
-
name: "oldFactory",
|
|
6878
|
-
type: "address"
|
|
6879
|
-
},
|
|
6880
|
-
{
|
|
6881
|
-
indexed: true,
|
|
6882
|
-
internalType: "address",
|
|
6883
|
-
name: "newFactory",
|
|
6884
|
-
type: "address"
|
|
6885
|
-
}
|
|
6886
|
-
],
|
|
6887
|
-
name: "UtilityAgentFactoryUpdated",
|
|
6888
|
-
type: "event"
|
|
6889
|
-
},
|
|
6890
|
-
{
|
|
6891
|
-
inputs: [],
|
|
6892
|
-
name: "BASIS_POINTS",
|
|
6893
|
-
outputs: [
|
|
6894
|
-
{
|
|
6895
|
-
internalType: "uint256",
|
|
6896
|
-
name: "",
|
|
6897
|
-
type: "uint256"
|
|
6898
|
-
}
|
|
6899
|
-
],
|
|
6900
|
-
stateMutability: "view",
|
|
6901
|
-
type: "function"
|
|
6902
|
-
},
|
|
6903
|
-
{
|
|
6904
|
-
inputs: [],
|
|
6905
|
-
name: "BONDING_ROLE",
|
|
6906
|
-
outputs: [
|
|
6907
|
-
{
|
|
6908
|
-
internalType: "bytes32",
|
|
6909
|
-
name: "",
|
|
6910
|
-
type: "bytes32"
|
|
6911
|
-
}
|
|
6912
|
-
],
|
|
6913
|
-
stateMutability: "view",
|
|
6914
|
-
type: "function"
|
|
6915
|
-
},
|
|
6916
|
-
{
|
|
6917
|
-
inputs: [],
|
|
6918
|
-
name: "DEFAULT_ADMIN_ROLE",
|
|
6919
|
-
outputs: [
|
|
6920
|
-
{
|
|
6921
|
-
internalType: "bytes32",
|
|
6922
|
-
name: "",
|
|
6923
|
-
type: "bytes32"
|
|
6924
|
-
}
|
|
6925
|
-
],
|
|
6926
|
-
stateMutability: "view",
|
|
6927
|
-
type: "function"
|
|
6928
|
-
},
|
|
6929
|
-
{
|
|
6930
|
-
inputs: [],
|
|
6931
|
-
name: "EpochDuration",
|
|
6932
|
-
outputs: [
|
|
6933
|
-
{
|
|
6934
|
-
internalType: "uint256",
|
|
6935
|
-
name: "",
|
|
6936
|
-
type: "uint256"
|
|
6937
|
-
}
|
|
6938
|
-
],
|
|
6939
|
-
stateMutability: "view",
|
|
6940
|
-
type: "function"
|
|
6941
|
-
},
|
|
6942
|
-
{
|
|
6943
|
-
inputs: [],
|
|
6944
|
-
name: "EpochReleaseDelay",
|
|
6945
|
-
outputs: [
|
|
6946
|
-
{
|
|
6947
|
-
internalType: "uint256",
|
|
6948
|
-
name: "",
|
|
6949
|
-
type: "uint256"
|
|
6950
|
-
}
|
|
6951
|
-
],
|
|
6952
|
-
stateMutability: "view",
|
|
6953
|
-
type: "function"
|
|
6954
|
-
},
|
|
6955
|
-
{
|
|
6956
|
-
inputs: [],
|
|
6957
|
-
name: "MAX_FEE_PERCENT",
|
|
6958
|
-
outputs: [
|
|
6959
|
-
{
|
|
6960
|
-
internalType: "uint256",
|
|
6961
|
-
name: "",
|
|
6962
|
-
type: "uint256"
|
|
6963
|
-
}
|
|
6964
|
-
],
|
|
6965
|
-
stateMutability: "view",
|
|
6966
|
-
type: "function"
|
|
6967
|
-
},
|
|
6968
|
-
{
|
|
6969
|
-
inputs: [],
|
|
6970
|
-
name: "RequestExpirationTime",
|
|
6971
|
-
outputs: [
|
|
6972
|
-
{
|
|
6973
|
-
internalType: "uint256",
|
|
6974
|
-
name: "",
|
|
6975
|
-
type: "uint256"
|
|
6976
|
-
}
|
|
6977
|
-
],
|
|
6978
|
-
stateMutability: "view",
|
|
6979
|
-
type: "function"
|
|
6980
|
-
},
|
|
6981
|
-
{
|
|
6982
|
-
inputs: [],
|
|
6983
|
-
name: "SETTLEMENT_POINTS",
|
|
6984
|
-
outputs: [
|
|
6985
|
-
{
|
|
6986
|
-
internalType: "uint256",
|
|
6987
|
-
name: "",
|
|
6988
|
-
type: "uint256"
|
|
6989
|
-
}
|
|
6990
|
-
],
|
|
6991
|
-
stateMutability: "view",
|
|
6992
|
-
type: "function"
|
|
6993
|
-
},
|
|
6994
|
-
{
|
|
6995
|
-
inputs: [],
|
|
6996
|
-
name: "UPGRADE_INTERFACE_VERSION",
|
|
6997
|
-
outputs: [
|
|
6998
|
-
{
|
|
6999
|
-
internalType: "string",
|
|
7000
|
-
name: "",
|
|
7001
|
-
type: "string"
|
|
7002
|
-
}
|
|
7003
|
-
],
|
|
7004
|
-
stateMutability: "view",
|
|
7005
|
-
type: "function"
|
|
7006
|
-
},
|
|
7007
|
-
{
|
|
7008
|
-
inputs: [
|
|
7009
|
-
{
|
|
7010
|
-
components: [
|
|
7011
|
-
{
|
|
7012
|
-
components: [
|
|
7013
|
-
{
|
|
7014
|
-
internalType: "contract IIATPWallet",
|
|
7015
|
-
name: "consumer",
|
|
7016
|
-
type: "address"
|
|
7017
|
-
},
|
|
7018
|
-
{
|
|
7019
|
-
internalType: "contract IIATPWallet",
|
|
7020
|
-
name: "provider",
|
|
7021
|
-
type: "address"
|
|
7022
|
-
},
|
|
7023
|
-
{
|
|
7024
|
-
internalType: "address",
|
|
7025
|
-
name: "tokenAddress",
|
|
7026
|
-
type: "address"
|
|
7027
|
-
},
|
|
7028
|
-
{
|
|
7029
|
-
internalType: "uint256",
|
|
7030
|
-
name: "amount",
|
|
7031
|
-
type: "uint256"
|
|
7032
|
-
},
|
|
7033
|
-
{
|
|
7034
|
-
internalType: "string",
|
|
7035
|
-
name: "requestPath",
|
|
7036
|
-
type: "string"
|
|
7037
|
-
},
|
|
7038
|
-
{
|
|
7039
|
-
internalType: "uint256",
|
|
7040
|
-
name: "consumerDeadline",
|
|
7041
|
-
type: "uint256"
|
|
7042
|
-
},
|
|
7043
|
-
{
|
|
7044
|
-
internalType: "uint256",
|
|
7045
|
-
name: "timestamp",
|
|
7046
|
-
type: "uint256"
|
|
7047
|
-
},
|
|
7048
|
-
{
|
|
7049
|
-
internalType: "bytes32",
|
|
7050
|
-
name: "serviceDescription",
|
|
7051
|
-
type: "bytes32"
|
|
7052
|
-
},
|
|
7053
|
-
{
|
|
7054
|
-
internalType: "bytes",
|
|
7055
|
-
name: "outputHash",
|
|
7056
|
-
type: "bytes"
|
|
7057
|
-
},
|
|
7058
|
-
{
|
|
7059
|
-
internalType: "uint256",
|
|
7060
|
-
name: "facilitatorFeePercent",
|
|
7061
|
-
type: "uint256"
|
|
7062
|
-
}
|
|
7063
|
-
],
|
|
7064
|
-
internalType: "struct IIATPSettlementLayer.SettlementRequestData",
|
|
7065
|
-
name: "requestData",
|
|
7066
|
-
type: "tuple"
|
|
7067
|
-
},
|
|
7068
|
-
{
|
|
7069
|
-
internalType: "bytes",
|
|
7070
|
-
name: "consumerSignature",
|
|
7071
|
-
type: "bytes"
|
|
7072
|
-
},
|
|
7073
|
-
{
|
|
7074
|
-
internalType: "bytes",
|
|
7075
|
-
name: "providerSignature",
|
|
7076
|
-
type: "bytes"
|
|
7077
|
-
}
|
|
7078
|
-
],
|
|
7079
|
-
internalType: "struct IIATPSettlementLayer.SettlementRequest",
|
|
7080
|
-
name: "req",
|
|
7081
|
-
type: "tuple"
|
|
7082
|
-
}
|
|
7083
|
-
],
|
|
7084
|
-
name: "_settleRequest",
|
|
7085
|
-
outputs: [],
|
|
7086
|
-
stateMutability: "nonpayable",
|
|
7087
|
-
type: "function"
|
|
7088
|
-
},
|
|
7089
|
-
{
|
|
7090
|
-
inputs: [
|
|
7091
|
-
{
|
|
7092
|
-
internalType: "uint256",
|
|
7093
|
-
name: "epoch",
|
|
7094
|
-
type: "uint256"
|
|
7095
|
-
}
|
|
7096
|
-
],
|
|
7097
|
-
name: "canReleaseEpoch",
|
|
7098
|
-
outputs: [
|
|
7099
|
-
{
|
|
7100
|
-
internalType: "bool",
|
|
7101
|
-
name: "",
|
|
7102
|
-
type: "bool"
|
|
7103
|
-
}
|
|
7104
|
-
],
|
|
7105
|
-
stateMutability: "view",
|
|
7106
|
-
type: "function"
|
|
7107
|
-
},
|
|
7108
|
-
{
|
|
7109
|
-
inputs: [
|
|
7110
|
-
{
|
|
7111
|
-
internalType: "address",
|
|
7112
|
-
name: "token",
|
|
7113
|
-
type: "address"
|
|
7114
|
-
}
|
|
7115
|
-
],
|
|
7116
|
-
name: "collectFees",
|
|
7117
|
-
outputs: [],
|
|
7118
|
-
stateMutability: "nonpayable",
|
|
7119
|
-
type: "function"
|
|
7120
|
-
},
|
|
7121
|
-
{
|
|
7122
|
-
inputs: [
|
|
7123
|
-
{
|
|
7124
|
-
internalType: "address",
|
|
7125
|
-
name: "",
|
|
7126
|
-
type: "address"
|
|
7127
|
-
}
|
|
7128
|
-
],
|
|
7129
|
-
name: "consumerReputations",
|
|
7130
|
-
outputs: [
|
|
7131
|
-
{
|
|
7132
|
-
internalType: "uint256",
|
|
7133
|
-
name: "completed",
|
|
7134
|
-
type: "uint256"
|
|
7135
|
-
},
|
|
7136
|
-
{
|
|
7137
|
-
internalType: "uint256",
|
|
7138
|
-
name: "failed",
|
|
7139
|
-
type: "uint256"
|
|
7140
|
-
},
|
|
7141
|
-
{
|
|
7142
|
-
internalType: "uint256",
|
|
7143
|
-
name: "faults",
|
|
7144
|
-
type: "uint256"
|
|
7145
|
-
},
|
|
7146
|
-
{
|
|
7147
|
-
internalType: "int256",
|
|
7148
|
-
name: "score",
|
|
7149
|
-
type: "int256"
|
|
7150
|
-
},
|
|
7151
|
-
{
|
|
7152
|
-
internalType: "uint256",
|
|
7153
|
-
name: "firstSettlementAt",
|
|
7154
|
-
type: "uint256"
|
|
7155
|
-
}
|
|
7156
|
-
],
|
|
7157
|
-
stateMutability: "view",
|
|
7158
|
-
type: "function"
|
|
7159
|
-
},
|
|
7160
|
-
{
|
|
7161
|
-
inputs: [
|
|
7162
|
-
{
|
|
7163
|
-
internalType: "address",
|
|
7164
|
-
name: "",
|
|
7165
|
-
type: "address"
|
|
7166
|
-
}
|
|
7167
|
-
],
|
|
7168
|
-
name: "consumerRequestCounts",
|
|
7169
|
-
outputs: [
|
|
7170
|
-
{
|
|
7171
|
-
internalType: "uint256",
|
|
7172
|
-
name: "",
|
|
7173
|
-
type: "uint256"
|
|
7174
|
-
}
|
|
7175
|
-
],
|
|
7176
|
-
stateMutability: "view",
|
|
7177
|
-
type: "function"
|
|
7178
|
-
},
|
|
7179
|
-
{
|
|
7180
|
-
inputs: [
|
|
7181
|
-
{
|
|
7182
|
-
internalType: "bytes32",
|
|
7183
|
-
name: "requestId",
|
|
7184
|
-
type: "bytes32"
|
|
7185
|
-
},
|
|
7186
|
-
{
|
|
7187
|
-
internalType: "string",
|
|
7188
|
-
name: "reason",
|
|
7189
|
-
type: "string"
|
|
7190
|
-
}
|
|
7191
|
-
],
|
|
7192
|
-
name: "disputeRequest",
|
|
7193
|
-
outputs: [],
|
|
7194
|
-
stateMutability: "nonpayable",
|
|
7195
|
-
type: "function"
|
|
7196
|
-
},
|
|
7197
|
-
{
|
|
7198
|
-
inputs: [
|
|
7199
|
-
{
|
|
7200
|
-
internalType: "bytes32",
|
|
7201
|
-
name: "",
|
|
7202
|
-
type: "bytes32"
|
|
7203
|
-
}
|
|
7204
|
-
],
|
|
7205
|
-
name: "disputes",
|
|
7206
|
-
outputs: [
|
|
7207
|
-
{
|
|
7208
|
-
internalType: "bytes32",
|
|
7209
|
-
name: "requestId",
|
|
7210
|
-
type: "bytes32"
|
|
7211
|
-
},
|
|
7212
|
-
{
|
|
7213
|
-
internalType: "address",
|
|
7214
|
-
name: "consumer",
|
|
7215
|
-
type: "address"
|
|
7216
|
-
},
|
|
7217
|
-
{
|
|
7218
|
-
internalType: "address",
|
|
7219
|
-
name: "provider",
|
|
7220
|
-
type: "address"
|
|
7221
|
-
},
|
|
7222
|
-
{
|
|
7223
|
-
internalType: "uint256",
|
|
7224
|
-
name: "amount",
|
|
7225
|
-
type: "uint256"
|
|
7226
|
-
},
|
|
7227
|
-
{
|
|
7228
|
-
internalType: "uint256",
|
|
7229
|
-
name: "epoch",
|
|
7230
|
-
type: "uint256"
|
|
7231
|
-
},
|
|
7232
|
-
{
|
|
7233
|
-
internalType: "string",
|
|
7234
|
-
name: "reason",
|
|
7235
|
-
type: "string"
|
|
7236
|
-
},
|
|
7237
|
-
{
|
|
7238
|
-
internalType: "uint256",
|
|
7239
|
-
name: "filedAt",
|
|
7240
|
-
type: "uint256"
|
|
7241
|
-
},
|
|
7242
|
-
{
|
|
7243
|
-
internalType: "bool",
|
|
7244
|
-
name: "resolved",
|
|
7245
|
-
type: "bool"
|
|
7246
|
-
}
|
|
7247
|
-
],
|
|
7248
|
-
stateMutability: "view",
|
|
7249
|
-
type: "function"
|
|
7250
|
-
},
|
|
7251
|
-
{
|
|
7252
|
-
inputs: [],
|
|
7253
|
-
name: "eip712Domain",
|
|
7254
|
-
outputs: [
|
|
7255
|
-
{
|
|
7256
|
-
internalType: "bytes1",
|
|
7257
|
-
name: "fields",
|
|
7258
|
-
type: "bytes1"
|
|
7259
|
-
},
|
|
7260
|
-
{
|
|
7261
|
-
internalType: "string",
|
|
7262
|
-
name: "name",
|
|
7263
|
-
type: "string"
|
|
7264
|
-
},
|
|
7265
|
-
{
|
|
7266
|
-
internalType: "string",
|
|
7267
|
-
name: "version",
|
|
7268
|
-
type: "string"
|
|
7269
|
-
},
|
|
7270
|
-
{
|
|
7271
|
-
internalType: "uint256",
|
|
7272
|
-
name: "chainId",
|
|
7273
|
-
type: "uint256"
|
|
7274
|
-
},
|
|
7275
|
-
{
|
|
7276
|
-
internalType: "address",
|
|
7277
|
-
name: "verifyingContract",
|
|
7278
|
-
type: "address"
|
|
7279
|
-
},
|
|
7280
|
-
{
|
|
7281
|
-
internalType: "bytes32",
|
|
7282
|
-
name: "salt",
|
|
7283
|
-
type: "bytes32"
|
|
7284
|
-
},
|
|
7285
|
-
{
|
|
7286
|
-
internalType: "uint256[]",
|
|
7287
|
-
name: "extensions",
|
|
7288
|
-
type: "uint256[]"
|
|
7289
|
-
}
|
|
7290
|
-
],
|
|
7291
|
-
stateMutability: "view",
|
|
7292
|
-
type: "function"
|
|
7293
|
-
},
|
|
7294
|
-
{
|
|
7295
|
-
inputs: [
|
|
7296
|
-
{
|
|
7297
|
-
internalType: "address",
|
|
7298
|
-
name: "",
|
|
7299
|
-
type: "address"
|
|
7300
|
-
}
|
|
7301
|
-
],
|
|
7302
|
-
name: "feeBalances",
|
|
7303
|
-
outputs: [
|
|
7304
|
-
{
|
|
7305
|
-
internalType: "uint256",
|
|
7306
|
-
name: "",
|
|
7307
|
-
type: "uint256"
|
|
7308
|
-
}
|
|
7309
|
-
],
|
|
7310
|
-
stateMutability: "view",
|
|
7311
|
-
type: "function"
|
|
7312
|
-
},
|
|
7313
|
-
{
|
|
7314
|
-
inputs: [],
|
|
7315
|
-
name: "feeCollector",
|
|
7316
|
-
outputs: [
|
|
7317
|
-
{
|
|
7318
|
-
internalType: "address",
|
|
7319
|
-
name: "",
|
|
7320
|
-
type: "address"
|
|
7321
|
-
}
|
|
7322
|
-
],
|
|
7323
|
-
stateMutability: "view",
|
|
7324
|
-
type: "function"
|
|
7325
|
-
},
|
|
7326
|
-
{
|
|
7327
|
-
inputs: [],
|
|
7328
|
-
name: "getCurrentEpoch",
|
|
7329
|
-
outputs: [
|
|
7330
|
-
{
|
|
7331
|
-
internalType: "uint256",
|
|
7332
|
-
name: "",
|
|
7333
|
-
type: "uint256"
|
|
7334
|
-
}
|
|
7335
|
-
],
|
|
7336
|
-
stateMutability: "view",
|
|
7337
|
-
type: "function"
|
|
7338
|
-
},
|
|
7339
|
-
{
|
|
7340
|
-
inputs: [
|
|
7341
|
-
{
|
|
7342
|
-
internalType: "address",
|
|
7343
|
-
name: "provider",
|
|
7344
|
-
type: "address"
|
|
7345
|
-
},
|
|
7346
|
-
{
|
|
7347
|
-
internalType: "uint256",
|
|
7348
|
-
name: "epoch",
|
|
7349
|
-
type: "uint256"
|
|
7350
|
-
},
|
|
7351
|
-
{
|
|
7352
|
-
internalType: "address",
|
|
7353
|
-
name: "token",
|
|
7354
|
-
type: "address"
|
|
7355
|
-
}
|
|
7356
|
-
],
|
|
7357
|
-
name: "getDisputeInProgressAmount",
|
|
7358
|
-
outputs: [
|
|
7359
|
-
{
|
|
7360
|
-
internalType: "uint256",
|
|
7361
|
-
name: "",
|
|
7362
|
-
type: "uint256"
|
|
7363
|
-
}
|
|
7364
|
-
],
|
|
7365
|
-
stateMutability: "view",
|
|
7366
|
-
type: "function"
|
|
7367
|
-
},
|
|
7368
|
-
{
|
|
7369
|
-
inputs: [
|
|
7370
|
-
{
|
|
7371
|
-
internalType: "address",
|
|
7372
|
-
name: "provider",
|
|
7373
|
-
type: "address"
|
|
7374
|
-
},
|
|
7375
|
-
{
|
|
7376
|
-
internalType: "uint256",
|
|
7377
|
-
name: "epoch",
|
|
7378
|
-
type: "uint256"
|
|
7379
|
-
},
|
|
7380
|
-
{
|
|
7381
|
-
internalType: "address",
|
|
7382
|
-
name: "token",
|
|
7383
|
-
type: "address"
|
|
7384
|
-
}
|
|
7385
|
-
],
|
|
7386
|
-
name: "getEpochBalance",
|
|
7387
|
-
outputs: [
|
|
7388
|
-
{
|
|
7389
|
-
components: [
|
|
7390
|
-
{
|
|
7391
|
-
internalType: "uint256",
|
|
7392
|
-
name: "balance",
|
|
7393
|
-
type: "uint256"
|
|
7394
|
-
},
|
|
7395
|
-
{
|
|
7396
|
-
internalType: "uint256",
|
|
7397
|
-
name: "disputeInProgressBalance",
|
|
7398
|
-
type: "uint256"
|
|
7399
|
-
},
|
|
7400
|
-
{
|
|
7401
|
-
internalType: "bool",
|
|
7402
|
-
name: "isWithdrawn",
|
|
7403
|
-
type: "bool"
|
|
7404
|
-
}
|
|
7405
|
-
],
|
|
7406
|
-
internalType: "struct IIATPSettlementLayer.EpochBalance",
|
|
7407
|
-
name: "",
|
|
7408
|
-
type: "tuple"
|
|
7409
|
-
}
|
|
7410
|
-
],
|
|
7411
|
-
stateMutability: "view",
|
|
7412
|
-
type: "function"
|
|
7413
|
-
},
|
|
7414
|
-
{
|
|
7415
|
-
inputs: [
|
|
7416
|
-
{
|
|
7417
|
-
internalType: "address",
|
|
7418
|
-
name: "token",
|
|
7419
|
-
type: "address"
|
|
7420
|
-
}
|
|
7421
|
-
],
|
|
7422
|
-
name: "getFeeBalance",
|
|
7423
|
-
outputs: [
|
|
7424
|
-
{
|
|
7425
|
-
internalType: "uint256",
|
|
7426
|
-
name: "",
|
|
7427
|
-
type: "uint256"
|
|
7428
|
-
}
|
|
7429
|
-
],
|
|
7430
|
-
stateMutability: "view",
|
|
7431
|
-
type: "function"
|
|
7432
|
-
},
|
|
7433
|
-
{
|
|
7434
|
-
inputs: [
|
|
7435
|
-
{
|
|
7436
|
-
internalType: "address",
|
|
7437
|
-
name: "provider",
|
|
7438
|
-
type: "address"
|
|
7439
|
-
},
|
|
7440
|
-
{
|
|
7441
|
-
internalType: "address",
|
|
7442
|
-
name: "token",
|
|
7443
|
-
type: "address"
|
|
7444
|
-
}
|
|
7445
|
-
],
|
|
7446
|
-
name: "getLockedBalanceForProvider",
|
|
7447
|
-
outputs: [
|
|
7448
|
-
{
|
|
7449
|
-
internalType: "uint256",
|
|
7450
|
-
name: "",
|
|
7451
|
-
type: "uint256"
|
|
7452
|
-
}
|
|
7453
|
-
],
|
|
7454
|
-
stateMutability: "view",
|
|
7455
|
-
type: "function"
|
|
7456
|
-
},
|
|
7457
|
-
{
|
|
7458
|
-
inputs: [
|
|
7459
|
-
{
|
|
7460
|
-
internalType: "address",
|
|
7461
|
-
name: "provider",
|
|
7462
|
-
type: "address"
|
|
7463
|
-
}
|
|
7464
|
-
],
|
|
7465
|
-
name: "getProviderReputation",
|
|
7466
|
-
outputs: [
|
|
7467
|
-
{
|
|
7468
|
-
components: [
|
|
7469
|
-
{
|
|
7470
|
-
internalType: "uint256",
|
|
7471
|
-
name: "completed",
|
|
7472
|
-
type: "uint256"
|
|
7473
|
-
},
|
|
7474
|
-
{
|
|
7475
|
-
internalType: "uint256",
|
|
7476
|
-
name: "failed",
|
|
7477
|
-
type: "uint256"
|
|
7478
|
-
},
|
|
7479
|
-
{
|
|
7480
|
-
internalType: "uint256",
|
|
7481
|
-
name: "faults",
|
|
7482
|
-
type: "uint256"
|
|
7483
|
-
},
|
|
7484
|
-
{
|
|
7485
|
-
internalType: "int256",
|
|
7486
|
-
name: "score",
|
|
7487
|
-
type: "int256"
|
|
7488
|
-
},
|
|
7489
|
-
{
|
|
7490
|
-
internalType: "uint256",
|
|
7491
|
-
name: "firstSettlementAt",
|
|
7492
|
-
type: "uint256"
|
|
7493
|
-
}
|
|
7494
|
-
],
|
|
7495
|
-
internalType: "struct IIATPSettlementLayer.Reputation",
|
|
7496
|
-
name: "",
|
|
7497
|
-
type: "tuple"
|
|
7498
|
-
}
|
|
7499
|
-
],
|
|
7500
|
-
stateMutability: "view",
|
|
7501
|
-
type: "function"
|
|
7502
|
-
},
|
|
7503
|
-
{
|
|
7504
|
-
inputs: [
|
|
7505
|
-
{
|
|
7506
|
-
internalType: "address",
|
|
7507
|
-
name: "provider",
|
|
7508
|
-
type: "address"
|
|
7509
|
-
}
|
|
7510
|
-
],
|
|
7511
|
-
name: "getProviderReputationScore",
|
|
7512
|
-
outputs: [
|
|
7513
|
-
{
|
|
7514
|
-
internalType: "int256",
|
|
7515
|
-
name: "",
|
|
7516
|
-
type: "int256"
|
|
7517
|
-
}
|
|
7518
|
-
],
|
|
7519
|
-
stateMutability: "view",
|
|
7520
|
-
type: "function"
|
|
7521
|
-
},
|
|
7522
|
-
{
|
|
7523
|
-
inputs: [
|
|
7524
|
-
{
|
|
7525
|
-
internalType: "address",
|
|
7526
|
-
name: "provider",
|
|
7527
|
-
type: "address"
|
|
7528
|
-
},
|
|
7529
|
-
{
|
|
7530
|
-
internalType: "address",
|
|
7531
|
-
name: "token",
|
|
7532
|
-
type: "address"
|
|
7533
|
-
}
|
|
7534
|
-
],
|
|
7535
|
-
name: "getUnlockedBalanceForProvider",
|
|
7536
|
-
outputs: [
|
|
7537
|
-
{
|
|
7538
|
-
internalType: "uint256",
|
|
7539
|
-
name: "",
|
|
7540
|
-
type: "uint256"
|
|
7541
|
-
}
|
|
7542
|
-
],
|
|
7543
|
-
stateMutability: "view",
|
|
7544
|
-
type: "function"
|
|
7545
|
-
},
|
|
7546
|
-
{
|
|
7547
|
-
inputs: [
|
|
7548
|
-
{
|
|
7549
|
-
internalType: "address",
|
|
7550
|
-
name: "_roleManager",
|
|
7551
|
-
type: "address"
|
|
7552
|
-
},
|
|
7553
|
-
{
|
|
7554
|
-
internalType: "address",
|
|
7555
|
-
name: "_feeCollector",
|
|
7556
|
-
type: "address"
|
|
7557
|
-
}
|
|
7558
|
-
],
|
|
7559
|
-
name: "initialize",
|
|
7560
|
-
outputs: [],
|
|
7561
|
-
stateMutability: "nonpayable",
|
|
7562
|
-
type: "function"
|
|
7563
|
-
},
|
|
7564
|
-
{
|
|
7565
|
-
inputs: [
|
|
7566
|
-
{
|
|
7567
|
-
internalType: "address",
|
|
7568
|
-
name: "account",
|
|
7569
|
-
type: "address"
|
|
7570
|
-
}
|
|
7571
|
-
],
|
|
7572
|
-
name: "isMaintainer",
|
|
7573
|
-
outputs: [
|
|
7574
|
-
{
|
|
7575
|
-
internalType: "bool",
|
|
7576
|
-
name: "",
|
|
7577
|
-
type: "bool"
|
|
7578
|
-
}
|
|
7579
|
-
],
|
|
7580
|
-
stateMutability: "view",
|
|
7581
|
-
type: "function"
|
|
7582
|
-
},
|
|
7583
|
-
{
|
|
7584
|
-
inputs: [
|
|
7585
|
-
{
|
|
7586
|
-
internalType: "address",
|
|
7587
|
-
name: "",
|
|
7588
|
-
type: "address"
|
|
7589
|
-
},
|
|
7590
|
-
{
|
|
7591
|
-
internalType: "address",
|
|
7592
|
-
name: "",
|
|
7593
|
-
type: "address"
|
|
7594
|
-
}
|
|
7595
|
-
],
|
|
7596
|
-
name: "lastWithdrawnEpoch",
|
|
7597
|
-
outputs: [
|
|
7598
|
-
{
|
|
7599
|
-
internalType: "uint256",
|
|
7600
|
-
name: "",
|
|
7601
|
-
type: "uint256"
|
|
7602
|
-
}
|
|
7603
|
-
],
|
|
7604
|
-
stateMutability: "view",
|
|
7605
|
-
type: "function"
|
|
7606
|
-
},
|
|
7607
|
-
{
|
|
7608
|
-
inputs: [],
|
|
7609
|
-
name: "maxFacilitatorFee",
|
|
7610
|
-
outputs: [
|
|
7611
|
-
{
|
|
7612
|
-
internalType: "uint256",
|
|
7613
|
-
name: "",
|
|
7614
|
-
type: "uint256"
|
|
7615
|
-
}
|
|
7616
|
-
],
|
|
7617
|
-
stateMutability: "view",
|
|
7618
|
-
type: "function"
|
|
7619
|
-
},
|
|
7620
|
-
{
|
|
7621
|
-
inputs: [],
|
|
7622
|
-
name: "protocolFee",
|
|
7623
|
-
outputs: [
|
|
7624
|
-
{
|
|
7625
|
-
internalType: "uint256",
|
|
7626
|
-
name: "",
|
|
7627
|
-
type: "uint256"
|
|
7628
|
-
}
|
|
7629
|
-
],
|
|
7630
|
-
stateMutability: "view",
|
|
7631
|
-
type: "function"
|
|
7632
|
-
},
|
|
7633
|
-
{
|
|
7634
|
-
inputs: [
|
|
7635
|
-
{
|
|
7636
|
-
internalType: "address",
|
|
7637
|
-
name: "",
|
|
7638
|
-
type: "address"
|
|
7639
|
-
},
|
|
7640
|
-
{
|
|
7641
|
-
internalType: "uint256",
|
|
7642
|
-
name: "",
|
|
7643
|
-
type: "uint256"
|
|
7644
|
-
},
|
|
7645
|
-
{
|
|
7646
|
-
internalType: "address",
|
|
7647
|
-
name: "",
|
|
7648
|
-
type: "address"
|
|
7649
|
-
}
|
|
7650
|
-
],
|
|
7651
|
-
name: "providerEpochBalances",
|
|
7652
|
-
outputs: [
|
|
7653
|
-
{
|
|
7654
|
-
internalType: "uint256",
|
|
7655
|
-
name: "balance",
|
|
7656
|
-
type: "uint256"
|
|
7657
|
-
},
|
|
7658
|
-
{
|
|
7659
|
-
internalType: "uint256",
|
|
7660
|
-
name: "disputeInProgressBalance",
|
|
7661
|
-
type: "uint256"
|
|
7662
|
-
},
|
|
7663
|
-
{
|
|
7664
|
-
internalType: "bool",
|
|
7665
|
-
name: "isWithdrawn",
|
|
7666
|
-
type: "bool"
|
|
7667
|
-
}
|
|
7668
|
-
],
|
|
7669
|
-
stateMutability: "view",
|
|
7670
|
-
type: "function"
|
|
7671
|
-
},
|
|
7672
|
-
{
|
|
7673
|
-
inputs: [
|
|
7674
|
-
{
|
|
7675
|
-
internalType: "address",
|
|
7676
|
-
name: "",
|
|
7677
|
-
type: "address"
|
|
7678
|
-
}
|
|
7679
|
-
],
|
|
7680
|
-
name: "providerReputations",
|
|
7681
|
-
outputs: [
|
|
7682
|
-
{
|
|
7683
|
-
internalType: "uint256",
|
|
7684
|
-
name: "completed",
|
|
7685
|
-
type: "uint256"
|
|
7686
|
-
},
|
|
7687
|
-
{
|
|
7688
|
-
internalType: "uint256",
|
|
7689
|
-
name: "failed",
|
|
7690
|
-
type: "uint256"
|
|
7691
|
-
},
|
|
7692
|
-
{
|
|
7693
|
-
internalType: "uint256",
|
|
7694
|
-
name: "faults",
|
|
7695
|
-
type: "uint256"
|
|
7696
|
-
},
|
|
7697
|
-
{
|
|
7698
|
-
internalType: "int256",
|
|
7699
|
-
name: "score",
|
|
7700
|
-
type: "int256"
|
|
7701
|
-
},
|
|
7702
|
-
{
|
|
7703
|
-
internalType: "uint256",
|
|
7704
|
-
name: "firstSettlementAt",
|
|
7705
|
-
type: "uint256"
|
|
7706
|
-
}
|
|
7707
|
-
],
|
|
7708
|
-
stateMutability: "view",
|
|
7709
|
-
type: "function"
|
|
7710
|
-
},
|
|
7711
|
-
{
|
|
7712
|
-
inputs: [],
|
|
7713
|
-
name: "proxiableUUID",
|
|
7714
|
-
outputs: [
|
|
7715
|
-
{
|
|
7716
|
-
internalType: "bytes32",
|
|
7717
|
-
name: "",
|
|
7718
|
-
type: "bytes32"
|
|
7719
|
-
}
|
|
7720
|
-
],
|
|
7721
|
-
stateMutability: "view",
|
|
7722
|
-
type: "function"
|
|
7723
|
-
},
|
|
7724
|
-
{
|
|
7725
|
-
inputs: [
|
|
7726
|
-
{
|
|
7727
|
-
internalType: "bytes32",
|
|
7728
|
-
name: "requestId",
|
|
7729
|
-
type: "bytes32"
|
|
7730
|
-
},
|
|
7731
|
-
{
|
|
7732
|
-
internalType: "bool",
|
|
7733
|
-
name: "consumerWon",
|
|
7734
|
-
type: "bool"
|
|
7735
|
-
}
|
|
7736
|
-
],
|
|
7737
|
-
name: "resolveDispute",
|
|
7738
|
-
outputs: [],
|
|
7739
|
-
stateMutability: "nonpayable",
|
|
7740
|
-
type: "function"
|
|
7741
|
-
},
|
|
7742
|
-
{
|
|
7743
|
-
inputs: [],
|
|
7744
|
-
name: "roleManager",
|
|
7745
|
-
outputs: [
|
|
7746
|
-
{
|
|
7747
|
-
internalType: "contract IRoleManager",
|
|
7748
|
-
name: "",
|
|
7749
|
-
type: "address"
|
|
7750
|
-
}
|
|
7751
|
-
],
|
|
7752
|
-
stateMutability: "view",
|
|
7753
|
-
type: "function"
|
|
7754
|
-
},
|
|
7755
|
-
{
|
|
7756
|
-
inputs: [
|
|
7757
|
-
{
|
|
7758
|
-
internalType: "uint256",
|
|
7759
|
-
name: "_epochDuration",
|
|
7760
|
-
type: "uint256"
|
|
7761
|
-
},
|
|
7762
|
-
{
|
|
7763
|
-
internalType: "uint256",
|
|
7764
|
-
name: "_epochReleaseDelay",
|
|
7765
|
-
type: "uint256"
|
|
7766
|
-
}
|
|
7767
|
-
],
|
|
7768
|
-
name: "setEpochParameters",
|
|
7769
|
-
outputs: [],
|
|
7770
|
-
stateMutability: "nonpayable",
|
|
7771
|
-
type: "function"
|
|
7772
|
-
},
|
|
7773
|
-
{
|
|
7774
|
-
inputs: [
|
|
7775
|
-
{
|
|
7776
|
-
internalType: "uint256",
|
|
7777
|
-
name: "_protocolFee",
|
|
7778
|
-
type: "uint256"
|
|
7779
|
-
},
|
|
7780
|
-
{
|
|
7781
|
-
internalType: "address",
|
|
7782
|
-
name: "_feeCollector",
|
|
7783
|
-
type: "address"
|
|
7784
|
-
}
|
|
7785
|
-
],
|
|
7786
|
-
name: "setFeeConfig",
|
|
7787
|
-
outputs: [],
|
|
7788
|
-
stateMutability: "nonpayable",
|
|
7789
|
-
type: "function"
|
|
7790
|
-
},
|
|
7791
|
-
{
|
|
7792
|
-
inputs: [
|
|
7793
|
-
{
|
|
7794
|
-
internalType: "uint256",
|
|
7795
|
-
name: "_maxFacilitatorFee",
|
|
7796
|
-
type: "uint256"
|
|
7797
|
-
}
|
|
7798
|
-
],
|
|
7799
|
-
name: "setMaxFacilitatorFee",
|
|
7800
|
-
outputs: [],
|
|
7801
|
-
stateMutability: "nonpayable",
|
|
7802
|
-
type: "function"
|
|
7803
|
-
},
|
|
7804
|
-
{
|
|
7805
|
-
inputs: [
|
|
7806
|
-
{
|
|
7807
|
-
internalType: "uint256",
|
|
7808
|
-
name: "_requestExpirationTime",
|
|
7809
|
-
type: "uint256"
|
|
7810
|
-
}
|
|
7811
|
-
],
|
|
7812
|
-
name: "setRequestExpirationTime",
|
|
7813
|
-
outputs: [],
|
|
7814
|
-
stateMutability: "nonpayable",
|
|
7815
|
-
type: "function"
|
|
7816
|
-
},
|
|
7817
|
-
{
|
|
7818
|
-
inputs: [
|
|
7819
|
-
{
|
|
7820
|
-
components: [
|
|
7821
|
-
{
|
|
7822
|
-
components: [
|
|
7823
|
-
{
|
|
7824
|
-
internalType: "contract IIATPWallet",
|
|
7825
|
-
name: "consumer",
|
|
7826
|
-
type: "address"
|
|
7827
|
-
},
|
|
7828
|
-
{
|
|
7829
|
-
internalType: "contract IIATPWallet",
|
|
7830
|
-
name: "provider",
|
|
7831
|
-
type: "address"
|
|
7832
|
-
},
|
|
7833
|
-
{
|
|
7834
|
-
internalType: "address",
|
|
7835
|
-
name: "tokenAddress",
|
|
7836
|
-
type: "address"
|
|
7837
|
-
},
|
|
7838
|
-
{
|
|
7839
|
-
internalType: "uint256",
|
|
7840
|
-
name: "amount",
|
|
7841
|
-
type: "uint256"
|
|
7842
|
-
},
|
|
7843
|
-
{
|
|
7844
|
-
internalType: "string",
|
|
7845
|
-
name: "requestPath",
|
|
7846
|
-
type: "string"
|
|
7847
|
-
},
|
|
7848
|
-
{
|
|
7849
|
-
internalType: "uint256",
|
|
7850
|
-
name: "consumerDeadline",
|
|
7851
|
-
type: "uint256"
|
|
7852
|
-
},
|
|
7853
|
-
{
|
|
7854
|
-
internalType: "uint256",
|
|
7855
|
-
name: "timestamp",
|
|
7856
|
-
type: "uint256"
|
|
7857
|
-
},
|
|
7858
|
-
{
|
|
7859
|
-
internalType: "bytes32",
|
|
7860
|
-
name: "serviceDescription",
|
|
7861
|
-
type: "bytes32"
|
|
7862
|
-
},
|
|
7863
|
-
{
|
|
7864
|
-
internalType: "bytes",
|
|
7865
|
-
name: "outputHash",
|
|
7866
|
-
type: "bytes"
|
|
7867
|
-
},
|
|
7868
|
-
{
|
|
7869
|
-
internalType: "uint256",
|
|
7870
|
-
name: "facilitatorFeePercent",
|
|
7871
|
-
type: "uint256"
|
|
7872
|
-
}
|
|
7873
|
-
],
|
|
7874
|
-
internalType: "struct IIATPSettlementLayer.SettlementRequestData",
|
|
7875
|
-
name: "requestData",
|
|
7876
|
-
type: "tuple"
|
|
7877
|
-
},
|
|
7878
|
-
{
|
|
7879
|
-
internalType: "bytes",
|
|
7880
|
-
name: "consumerSignature",
|
|
7881
|
-
type: "bytes"
|
|
7882
|
-
},
|
|
7883
|
-
{
|
|
7884
|
-
internalType: "bytes",
|
|
7885
|
-
name: "providerSignature",
|
|
7886
|
-
type: "bytes"
|
|
7887
|
-
}
|
|
7888
|
-
],
|
|
7889
|
-
internalType: "struct IIATPSettlementLayer.SettlementRequest",
|
|
7890
|
-
name: "req",
|
|
7891
|
-
type: "tuple"
|
|
7892
|
-
}
|
|
7893
|
-
],
|
|
7894
|
-
name: "settleRequest",
|
|
7895
|
-
outputs: [],
|
|
7896
|
-
stateMutability: "nonpayable",
|
|
7897
|
-
type: "function"
|
|
7898
|
-
},
|
|
7899
|
-
{
|
|
7900
|
-
inputs: [
|
|
7901
|
-
{
|
|
7902
|
-
components: [
|
|
7903
|
-
{
|
|
7904
|
-
components: [
|
|
7905
|
-
{
|
|
7906
|
-
internalType: "contract IIATPWallet",
|
|
7907
|
-
name: "consumer",
|
|
7908
|
-
type: "address"
|
|
7909
|
-
},
|
|
7910
|
-
{
|
|
7911
|
-
internalType: "contract IIATPWallet",
|
|
7912
|
-
name: "provider",
|
|
7913
|
-
type: "address"
|
|
7914
|
-
},
|
|
7915
|
-
{
|
|
7916
|
-
internalType: "address",
|
|
7917
|
-
name: "tokenAddress",
|
|
7918
|
-
type: "address"
|
|
7919
|
-
},
|
|
7920
|
-
{
|
|
7921
|
-
internalType: "uint256",
|
|
7922
|
-
name: "amount",
|
|
7923
|
-
type: "uint256"
|
|
7924
|
-
},
|
|
7925
|
-
{
|
|
7926
|
-
internalType: "string",
|
|
7927
|
-
name: "requestPath",
|
|
7928
|
-
type: "string"
|
|
7929
|
-
},
|
|
7930
|
-
{
|
|
7931
|
-
internalType: "uint256",
|
|
7932
|
-
name: "consumerDeadline",
|
|
7933
|
-
type: "uint256"
|
|
7934
|
-
},
|
|
7935
|
-
{
|
|
7936
|
-
internalType: "uint256",
|
|
7937
|
-
name: "timestamp",
|
|
7938
|
-
type: "uint256"
|
|
7939
|
-
},
|
|
7940
|
-
{
|
|
7941
|
-
internalType: "bytes32",
|
|
7942
|
-
name: "serviceDescription",
|
|
7943
|
-
type: "bytes32"
|
|
7944
|
-
},
|
|
7945
|
-
{
|
|
7946
|
-
internalType: "bytes",
|
|
7947
|
-
name: "outputHash",
|
|
7948
|
-
type: "bytes"
|
|
7949
|
-
},
|
|
7950
|
-
{
|
|
7951
|
-
internalType: "uint256",
|
|
7952
|
-
name: "facilitatorFeePercent",
|
|
7953
|
-
type: "uint256"
|
|
7954
|
-
}
|
|
7955
|
-
],
|
|
7956
|
-
internalType: "struct IIATPSettlementLayer.SettlementRequestData",
|
|
7957
|
-
name: "requestData",
|
|
7958
|
-
type: "tuple"
|
|
7959
|
-
},
|
|
7960
|
-
{
|
|
7961
|
-
internalType: "bytes",
|
|
7962
|
-
name: "consumerSignature",
|
|
7963
|
-
type: "bytes"
|
|
7964
|
-
},
|
|
7965
|
-
{
|
|
7966
|
-
internalType: "bytes",
|
|
7967
|
-
name: "providerSignature",
|
|
7968
|
-
type: "bytes"
|
|
7969
|
-
}
|
|
7970
|
-
],
|
|
7971
|
-
internalType: "struct IIATPSettlementLayer.SettlementRequest[]",
|
|
7972
|
-
name: "serviceRequests",
|
|
7973
|
-
type: "tuple[]"
|
|
7974
|
-
}
|
|
7975
|
-
],
|
|
7976
|
-
name: "settleRequests",
|
|
7977
|
-
outputs: [
|
|
7978
|
-
{
|
|
7979
|
-
internalType: "uint256[]",
|
|
7980
|
-
name: "failedIndices",
|
|
7981
|
-
type: "uint256[]"
|
|
7982
|
-
}
|
|
7983
|
-
],
|
|
7984
|
-
stateMutability: "nonpayable",
|
|
7985
|
-
type: "function"
|
|
7986
|
-
},
|
|
7987
|
-
{
|
|
7988
|
-
inputs: [
|
|
7989
|
-
{
|
|
7990
|
-
internalType: "bytes32",
|
|
7991
|
-
name: "",
|
|
7992
|
-
type: "bytes32"
|
|
7993
|
-
}
|
|
7994
|
-
],
|
|
7995
|
-
name: "settlements",
|
|
7996
|
-
outputs: [
|
|
7997
|
-
{
|
|
7998
|
-
components: [
|
|
7999
|
-
{
|
|
8000
|
-
components: [
|
|
8001
|
-
{
|
|
8002
|
-
internalType: "contract IIATPWallet",
|
|
8003
|
-
name: "consumer",
|
|
8004
|
-
type: "address"
|
|
8005
|
-
},
|
|
8006
|
-
{
|
|
8007
|
-
internalType: "contract IIATPWallet",
|
|
8008
|
-
name: "provider",
|
|
8009
|
-
type: "address"
|
|
8010
|
-
},
|
|
8011
|
-
{
|
|
8012
|
-
internalType: "address",
|
|
8013
|
-
name: "tokenAddress",
|
|
8014
|
-
type: "address"
|
|
8015
|
-
},
|
|
8016
|
-
{
|
|
8017
|
-
internalType: "uint256",
|
|
8018
|
-
name: "amount",
|
|
8019
|
-
type: "uint256"
|
|
8020
|
-
},
|
|
8021
|
-
{
|
|
8022
|
-
internalType: "string",
|
|
8023
|
-
name: "requestPath",
|
|
8024
|
-
type: "string"
|
|
8025
|
-
},
|
|
8026
|
-
{
|
|
8027
|
-
internalType: "uint256",
|
|
8028
|
-
name: "consumerDeadline",
|
|
8029
|
-
type: "uint256"
|
|
8030
|
-
},
|
|
8031
|
-
{
|
|
8032
|
-
internalType: "uint256",
|
|
8033
|
-
name: "timestamp",
|
|
8034
|
-
type: "uint256"
|
|
8035
|
-
},
|
|
8036
|
-
{
|
|
8037
|
-
internalType: "bytes32",
|
|
8038
|
-
name: "serviceDescription",
|
|
8039
|
-
type: "bytes32"
|
|
8040
|
-
},
|
|
8041
|
-
{
|
|
8042
|
-
internalType: "bytes",
|
|
8043
|
-
name: "outputHash",
|
|
8044
|
-
type: "bytes"
|
|
8045
|
-
},
|
|
8046
|
-
{
|
|
8047
|
-
internalType: "uint256",
|
|
8048
|
-
name: "facilitatorFeePercent",
|
|
8049
|
-
type: "uint256"
|
|
8050
|
-
}
|
|
8051
|
-
],
|
|
8052
|
-
internalType: "struct IIATPSettlementLayer.SettlementRequestData",
|
|
8053
|
-
name: "requestData",
|
|
8054
|
-
type: "tuple"
|
|
8055
|
-
},
|
|
8056
|
-
{
|
|
8057
|
-
internalType: "bytes",
|
|
8058
|
-
name: "consumerSignature",
|
|
8059
|
-
type: "bytes"
|
|
8060
|
-
},
|
|
8061
|
-
{
|
|
8062
|
-
internalType: "bytes",
|
|
8063
|
-
name: "providerSignature",
|
|
8064
|
-
type: "bytes"
|
|
8065
|
-
}
|
|
8066
|
-
],
|
|
8067
|
-
internalType: "struct IIATPSettlementLayer.SettlementRequest",
|
|
8068
|
-
name: "settlementRequest",
|
|
8069
|
-
type: "tuple"
|
|
8070
|
-
},
|
|
8071
|
-
{
|
|
8072
|
-
internalType: "uint256",
|
|
8073
|
-
name: "epoch",
|
|
8074
|
-
type: "uint256"
|
|
8075
|
-
},
|
|
8076
|
-
{
|
|
8077
|
-
internalType: "enum IIATPSettlementLayer.RequestStatus",
|
|
8078
|
-
name: "status",
|
|
8079
|
-
type: "uint8"
|
|
8080
|
-
}
|
|
8081
|
-
],
|
|
8082
|
-
stateMutability: "view",
|
|
8083
|
-
type: "function"
|
|
8084
|
-
},
|
|
8085
|
-
{
|
|
8086
|
-
inputs: [
|
|
8087
|
-
{
|
|
8088
|
-
internalType: "address",
|
|
8089
|
-
name: "newImplementation",
|
|
8090
|
-
type: "address"
|
|
8091
|
-
},
|
|
8092
|
-
{
|
|
8093
|
-
internalType: "bytes",
|
|
8094
|
-
name: "data",
|
|
8095
|
-
type: "bytes"
|
|
8096
|
-
}
|
|
8097
|
-
],
|
|
8098
|
-
name: "upgradeToAndCall",
|
|
8099
|
-
outputs: [],
|
|
8100
|
-
stateMutability: "payable",
|
|
8101
|
-
type: "function"
|
|
8102
|
-
},
|
|
8103
|
-
{
|
|
8104
|
-
inputs: [
|
|
8105
|
-
{
|
|
8106
|
-
internalType: "bytes32",
|
|
8107
|
-
name: "",
|
|
8108
|
-
type: "bytes32"
|
|
8109
|
-
}
|
|
8110
|
-
],
|
|
8111
|
-
name: "usedSignatures",
|
|
8112
|
-
outputs: [
|
|
8113
|
-
{
|
|
8114
|
-
internalType: "bool",
|
|
8115
|
-
name: "",
|
|
8116
|
-
type: "bool"
|
|
8117
|
-
}
|
|
8118
|
-
],
|
|
8119
|
-
stateMutability: "view",
|
|
8120
|
-
type: "function"
|
|
8121
|
-
},
|
|
8122
|
-
{
|
|
8123
|
-
inputs: [
|
|
8124
|
-
{
|
|
8125
|
-
internalType: "address",
|
|
8126
|
-
name: "token",
|
|
8127
|
-
type: "address"
|
|
8128
|
-
}
|
|
8129
|
-
],
|
|
8130
|
-
name: "withdrawAllAvailableEpochs",
|
|
8131
|
-
outputs: [],
|
|
8132
|
-
stateMutability: "nonpayable",
|
|
8133
|
-
type: "function"
|
|
8134
|
-
},
|
|
8135
|
-
{
|
|
8136
|
-
inputs: [
|
|
8137
|
-
{
|
|
8138
|
-
internalType: "uint256",
|
|
8139
|
-
name: "epoch",
|
|
8140
|
-
type: "uint256"
|
|
8141
|
-
},
|
|
8142
|
-
{
|
|
8143
|
-
internalType: "address",
|
|
8144
|
-
name: "token",
|
|
8145
|
-
type: "address"
|
|
8146
|
-
}
|
|
8147
|
-
],
|
|
8148
|
-
name: "withdrawEpochToken",
|
|
8149
|
-
outputs: [],
|
|
8150
|
-
stateMutability: "nonpayable",
|
|
8151
|
-
type: "function"
|
|
8152
|
-
}
|
|
8153
|
-
],
|
|
8154
|
-
IATPWalletFactory: [
|
|
8155
|
-
{
|
|
8156
|
-
inputs: [],
|
|
8157
|
-
stateMutability: "nonpayable",
|
|
8158
|
-
type: "constructor"
|
|
8159
|
-
},
|
|
8160
|
-
{
|
|
8161
|
-
inputs: [
|
|
8162
|
-
{
|
|
8163
|
-
internalType: "address",
|
|
8164
|
-
name: "target",
|
|
8165
|
-
type: "address"
|
|
8166
|
-
}
|
|
8167
|
-
],
|
|
8168
|
-
name: "AddressEmptyCode",
|
|
8169
|
-
type: "error"
|
|
8170
|
-
},
|
|
8171
|
-
{
|
|
8172
|
-
inputs: [
|
|
8173
|
-
{
|
|
8174
|
-
internalType: "address",
|
|
8175
|
-
name: "implementation",
|
|
8176
|
-
type: "address"
|
|
8177
|
-
}
|
|
8178
|
-
],
|
|
8179
|
-
name: "ERC1967InvalidImplementation",
|
|
8180
|
-
type: "error"
|
|
8181
|
-
},
|
|
8182
|
-
{
|
|
8183
|
-
inputs: [],
|
|
8184
|
-
name: "ERC1967NonPayable",
|
|
8185
|
-
type: "error"
|
|
8186
|
-
},
|
|
8187
|
-
{
|
|
8188
|
-
inputs: [],
|
|
8189
|
-
name: "FailedCall",
|
|
8190
|
-
type: "error"
|
|
8191
|
-
},
|
|
8192
|
-
{
|
|
8193
|
-
inputs: [],
|
|
8194
|
-
name: "InvalidInitialization",
|
|
8195
|
-
type: "error"
|
|
8196
|
-
},
|
|
8197
|
-
{
|
|
8198
|
-
inputs: [],
|
|
8199
|
-
name: "InvalidParameters",
|
|
8200
|
-
type: "error"
|
|
8201
|
-
},
|
|
8202
|
-
{
|
|
8203
|
-
inputs: [],
|
|
8204
|
-
name: "NotInitializing",
|
|
8205
|
-
type: "error"
|
|
8206
|
-
},
|
|
8207
|
-
{
|
|
8208
|
-
inputs: [],
|
|
8209
|
-
name: "UUPSUnauthorizedCallContext",
|
|
8210
|
-
type: "error"
|
|
8211
|
-
},
|
|
8212
|
-
{
|
|
8213
|
-
inputs: [
|
|
8214
|
-
{
|
|
8215
|
-
internalType: "bytes32",
|
|
8216
|
-
name: "slot",
|
|
8217
|
-
type: "bytes32"
|
|
8218
|
-
}
|
|
8219
|
-
],
|
|
8220
|
-
name: "UUPSUnsupportedProxiableUUID",
|
|
8221
|
-
type: "error"
|
|
8222
|
-
},
|
|
8223
|
-
{
|
|
8224
|
-
inputs: [],
|
|
8225
|
-
name: "ZeroAddress",
|
|
8226
|
-
type: "error"
|
|
8227
|
-
},
|
|
8228
|
-
{
|
|
8229
|
-
anonymous: false,
|
|
8230
|
-
inputs: [
|
|
8231
|
-
{
|
|
8232
|
-
indexed: false,
|
|
8233
|
-
internalType: "uint64",
|
|
8234
|
-
name: "version",
|
|
8235
|
-
type: "uint64"
|
|
8236
|
-
}
|
|
8237
|
-
],
|
|
8238
|
-
name: "Initialized",
|
|
8239
|
-
type: "event"
|
|
8240
|
-
},
|
|
8241
|
-
{
|
|
8242
|
-
anonymous: false,
|
|
8243
|
-
inputs: [
|
|
8244
|
-
{
|
|
8245
|
-
indexed: true,
|
|
8246
|
-
internalType: "address",
|
|
8247
|
-
name: "newRoleManager",
|
|
8248
|
-
type: "address"
|
|
8249
|
-
}
|
|
8250
|
-
],
|
|
8251
|
-
name: "RoleManagerUpdated",
|
|
8252
|
-
type: "event"
|
|
8253
|
-
},
|
|
8254
|
-
{
|
|
8255
|
-
anonymous: false,
|
|
8256
|
-
inputs: [
|
|
8257
|
-
{
|
|
8258
|
-
indexed: true,
|
|
8259
|
-
internalType: "address",
|
|
8260
|
-
name: "newSettlementLayer",
|
|
8261
|
-
type: "address"
|
|
8262
|
-
}
|
|
8263
|
-
],
|
|
8264
|
-
name: "SettlementLayerUpdated",
|
|
8265
|
-
type: "event"
|
|
8266
|
-
},
|
|
8267
|
-
{
|
|
8268
|
-
anonymous: false,
|
|
8269
|
-
inputs: [
|
|
8270
|
-
{
|
|
8271
|
-
indexed: true,
|
|
8272
|
-
internalType: "address",
|
|
8273
|
-
name: "implementation",
|
|
8274
|
-
type: "address"
|
|
8275
|
-
}
|
|
8276
|
-
],
|
|
8277
|
-
name: "Upgraded",
|
|
8278
|
-
type: "event"
|
|
8279
|
-
},
|
|
8280
|
-
{
|
|
8281
|
-
anonymous: false,
|
|
8282
|
-
inputs: [
|
|
8283
|
-
{
|
|
8284
|
-
indexed: true,
|
|
8285
|
-
internalType: "address",
|
|
8286
|
-
name: "wallet",
|
|
8287
|
-
type: "address"
|
|
8288
|
-
},
|
|
8289
|
-
{
|
|
8290
|
-
indexed: true,
|
|
8291
|
-
internalType: "address",
|
|
8292
|
-
name: "owner",
|
|
8293
|
-
type: "address"
|
|
8294
|
-
},
|
|
8295
|
-
{
|
|
8296
|
-
indexed: true,
|
|
8297
|
-
internalType: "address",
|
|
8298
|
-
name: "operatorAddress",
|
|
8299
|
-
type: "address"
|
|
8300
|
-
},
|
|
8301
|
-
{
|
|
8302
|
-
indexed: false,
|
|
8303
|
-
internalType: "address",
|
|
8304
|
-
name: "settlementLayer",
|
|
8305
|
-
type: "address"
|
|
8306
|
-
}
|
|
8307
|
-
],
|
|
8308
|
-
name: "WalletCreated",
|
|
8309
|
-
type: "event"
|
|
8310
|
-
},
|
|
8311
|
-
{
|
|
8312
|
-
anonymous: false,
|
|
8313
|
-
inputs: [
|
|
8314
|
-
{
|
|
8315
|
-
indexed: true,
|
|
8316
|
-
internalType: "address",
|
|
8317
|
-
name: "newImplementation",
|
|
8318
|
-
type: "address"
|
|
8319
|
-
}
|
|
8320
|
-
],
|
|
8321
|
-
name: "WalletImplementationUpdated",
|
|
8322
|
-
type: "event"
|
|
8323
|
-
},
|
|
8324
|
-
{
|
|
8325
|
-
anonymous: false,
|
|
8326
|
-
inputs: [
|
|
8327
|
-
{
|
|
8328
|
-
indexed: true,
|
|
8329
|
-
internalType: "address",
|
|
8330
|
-
name: "newRoleManager",
|
|
8331
|
-
type: "address"
|
|
8332
|
-
}
|
|
8333
|
-
],
|
|
8334
|
-
name: "WalletRoleManagerUpdated",
|
|
8335
|
-
type: "event"
|
|
8336
|
-
},
|
|
8337
|
-
{
|
|
8338
|
-
inputs: [],
|
|
8339
|
-
name: "BONDING_ROLE",
|
|
8340
|
-
outputs: [
|
|
8341
|
-
{
|
|
8342
|
-
internalType: "bytes32",
|
|
8343
|
-
name: "",
|
|
8344
|
-
type: "bytes32"
|
|
8345
|
-
}
|
|
8346
|
-
],
|
|
8347
|
-
stateMutability: "view",
|
|
8348
|
-
type: "function"
|
|
8349
|
-
},
|
|
8350
|
-
{
|
|
8351
|
-
inputs: [],
|
|
8352
|
-
name: "DEFAULT_ADMIN_ROLE",
|
|
8353
|
-
outputs: [
|
|
8354
|
-
{
|
|
8355
|
-
internalType: "bytes32",
|
|
8356
|
-
name: "",
|
|
8357
|
-
type: "bytes32"
|
|
8358
|
-
}
|
|
8359
|
-
],
|
|
8360
|
-
stateMutability: "view",
|
|
8361
|
-
type: "function"
|
|
8362
|
-
},
|
|
8363
|
-
{
|
|
8364
|
-
inputs: [],
|
|
8365
|
-
name: "UPGRADE_INTERFACE_VERSION",
|
|
8366
|
-
outputs: [
|
|
8367
|
-
{
|
|
8368
|
-
internalType: "string",
|
|
8369
|
-
name: "",
|
|
8370
|
-
type: "string"
|
|
8371
|
-
}
|
|
8372
|
-
],
|
|
8373
|
-
stateMutability: "view",
|
|
8374
|
-
type: "function"
|
|
8375
|
-
},
|
|
8376
|
-
{
|
|
8377
|
-
inputs: [
|
|
8378
|
-
{
|
|
8379
|
-
internalType: "uint256",
|
|
8380
|
-
name: "",
|
|
8381
|
-
type: "uint256"
|
|
8382
|
-
}
|
|
8383
|
-
],
|
|
8384
|
-
name: "allWallets",
|
|
8385
|
-
outputs: [
|
|
8386
|
-
{
|
|
8387
|
-
internalType: "address",
|
|
8388
|
-
name: "",
|
|
8389
|
-
type: "address"
|
|
8390
|
-
}
|
|
8391
|
-
],
|
|
8392
|
-
stateMutability: "view",
|
|
8393
|
-
type: "function"
|
|
8394
|
-
},
|
|
8395
|
-
{
|
|
8396
|
-
inputs: [
|
|
8397
|
-
{
|
|
8398
|
-
internalType: "address",
|
|
8399
|
-
name: "_operatorAddress",
|
|
8400
|
-
type: "address"
|
|
8401
|
-
}
|
|
8402
|
-
],
|
|
8403
|
-
name: "createWallet",
|
|
8404
|
-
outputs: [
|
|
8405
|
-
{
|
|
8406
|
-
internalType: "address",
|
|
8407
|
-
name: "wallet",
|
|
8408
|
-
type: "address"
|
|
8409
|
-
}
|
|
8410
|
-
],
|
|
8411
|
-
stateMutability: "nonpayable",
|
|
8412
|
-
type: "function"
|
|
8413
|
-
},
|
|
8414
|
-
{
|
|
8415
|
-
inputs: [
|
|
8416
|
-
{
|
|
8417
|
-
internalType: "address",
|
|
8418
|
-
name: "_owner",
|
|
8419
|
-
type: "address"
|
|
8420
|
-
},
|
|
8421
|
-
{
|
|
8422
|
-
internalType: "address",
|
|
8423
|
-
name: "_operatorAddress",
|
|
8424
|
-
type: "address"
|
|
8425
|
-
}
|
|
8426
|
-
],
|
|
8427
|
-
name: "createWalletFor",
|
|
8428
|
-
outputs: [
|
|
8429
|
-
{
|
|
8430
|
-
internalType: "address",
|
|
8431
|
-
name: "wallet",
|
|
8432
|
-
type: "address"
|
|
8433
|
-
}
|
|
8434
|
-
],
|
|
8435
|
-
stateMutability: "nonpayable",
|
|
8436
|
-
type: "function"
|
|
8437
|
-
},
|
|
8438
|
-
{
|
|
8439
|
-
inputs: [
|
|
8440
|
-
{
|
|
8441
|
-
internalType: "address",
|
|
8442
|
-
name: "_operator",
|
|
8443
|
-
type: "address"
|
|
8444
|
-
}
|
|
8445
|
-
],
|
|
8446
|
-
name: "getOperatorWalletCount",
|
|
8447
|
-
outputs: [
|
|
8448
|
-
{
|
|
8449
|
-
internalType: "uint256",
|
|
8450
|
-
name: "",
|
|
8451
|
-
type: "uint256"
|
|
8452
|
-
}
|
|
8453
|
-
],
|
|
8454
|
-
stateMutability: "view",
|
|
8455
|
-
type: "function"
|
|
8456
|
-
},
|
|
8457
|
-
{
|
|
8458
|
-
inputs: [
|
|
8459
|
-
{
|
|
8460
|
-
internalType: "address",
|
|
8461
|
-
name: "_owner",
|
|
8462
|
-
type: "address"
|
|
8463
|
-
}
|
|
8464
|
-
],
|
|
8465
|
-
name: "getOwnerWalletCount",
|
|
8466
|
-
outputs: [
|
|
8467
|
-
{
|
|
8468
|
-
internalType: "uint256",
|
|
8469
|
-
name: "",
|
|
8470
|
-
type: "uint256"
|
|
8471
|
-
}
|
|
8472
|
-
],
|
|
8473
|
-
stateMutability: "view",
|
|
8474
|
-
type: "function"
|
|
8475
|
-
},
|
|
8476
|
-
{
|
|
8477
|
-
inputs: [],
|
|
8478
|
-
name: "getTotalWallets",
|
|
8479
|
-
outputs: [
|
|
8480
|
-
{
|
|
8481
|
-
internalType: "uint256",
|
|
8482
|
-
name: "",
|
|
8483
|
-
type: "uint256"
|
|
8484
|
-
}
|
|
8485
|
-
],
|
|
8486
|
-
stateMutability: "view",
|
|
8487
|
-
type: "function"
|
|
8488
|
-
},
|
|
8489
|
-
{
|
|
8490
|
-
inputs: [
|
|
8491
|
-
{
|
|
8492
|
-
internalType: "address",
|
|
8493
|
-
name: "_owner",
|
|
8494
|
-
type: "address"
|
|
8495
|
-
}
|
|
8496
|
-
],
|
|
8497
|
-
name: "getWallet",
|
|
8498
|
-
outputs: [
|
|
8499
|
-
{
|
|
8500
|
-
internalType: "address",
|
|
8501
|
-
name: "",
|
|
8502
|
-
type: "address"
|
|
8503
|
-
}
|
|
8504
|
-
],
|
|
8505
|
-
stateMutability: "view",
|
|
8506
|
-
type: "function"
|
|
8507
|
-
},
|
|
8508
|
-
{
|
|
8509
|
-
inputs: [
|
|
8510
|
-
{
|
|
8511
|
-
internalType: "uint256",
|
|
8512
|
-
name: "_offset",
|
|
8513
|
-
type: "uint256"
|
|
8514
|
-
},
|
|
8515
|
-
{
|
|
8516
|
-
internalType: "uint256",
|
|
8517
|
-
name: "_limit",
|
|
8518
|
-
type: "uint256"
|
|
8519
|
-
}
|
|
8520
|
-
],
|
|
8521
|
-
name: "getWallets",
|
|
8522
|
-
outputs: [
|
|
8523
|
-
{
|
|
8524
|
-
internalType: "address[]",
|
|
8525
|
-
name: "wallets",
|
|
8526
|
-
type: "address[]"
|
|
8527
|
-
},
|
|
8528
|
-
{
|
|
8529
|
-
internalType: "uint256",
|
|
8530
|
-
name: "total",
|
|
8531
|
-
type: "uint256"
|
|
8532
|
-
}
|
|
8533
|
-
],
|
|
8534
|
-
stateMutability: "view",
|
|
8535
|
-
type: "function"
|
|
8536
|
-
},
|
|
8537
|
-
{
|
|
8538
|
-
inputs: [
|
|
8539
|
-
{
|
|
8540
|
-
internalType: "address",
|
|
8541
|
-
name: "_operator",
|
|
8542
|
-
type: "address"
|
|
8543
|
-
}
|
|
8544
|
-
],
|
|
8545
|
-
name: "getWalletsByOperator",
|
|
8546
|
-
outputs: [
|
|
8547
|
-
{
|
|
8548
|
-
internalType: "address[]",
|
|
8549
|
-
name: "",
|
|
8550
|
-
type: "address[]"
|
|
8551
|
-
}
|
|
8552
|
-
],
|
|
8553
|
-
stateMutability: "view",
|
|
8554
|
-
type: "function"
|
|
8555
|
-
},
|
|
8556
|
-
{
|
|
8557
|
-
inputs: [
|
|
8558
|
-
{
|
|
8559
|
-
internalType: "address",
|
|
8560
|
-
name: "_owner",
|
|
8561
|
-
type: "address"
|
|
8562
|
-
}
|
|
8563
|
-
],
|
|
8564
|
-
name: "getWalletsByOwner",
|
|
8565
|
-
outputs: [
|
|
8566
|
-
{
|
|
8567
|
-
internalType: "address[]",
|
|
8568
|
-
name: "",
|
|
8569
|
-
type: "address[]"
|
|
8570
|
-
}
|
|
8571
|
-
],
|
|
8572
|
-
stateMutability: "view",
|
|
8573
|
-
type: "function"
|
|
8574
|
-
},
|
|
8575
|
-
{
|
|
8576
|
-
inputs: [
|
|
8577
|
-
{
|
|
8578
|
-
internalType: "address",
|
|
8579
|
-
name: "_owner",
|
|
8580
|
-
type: "address"
|
|
8581
|
-
}
|
|
8582
|
-
],
|
|
8583
|
-
name: "hasWallet",
|
|
8584
|
-
outputs: [
|
|
8585
|
-
{
|
|
8586
|
-
internalType: "bool",
|
|
8587
|
-
name: "",
|
|
8588
|
-
type: "bool"
|
|
8589
|
-
}
|
|
8590
|
-
],
|
|
8591
|
-
stateMutability: "view",
|
|
8592
|
-
type: "function"
|
|
8593
|
-
},
|
|
8594
|
-
{
|
|
8595
|
-
inputs: [
|
|
8596
|
-
{
|
|
8597
|
-
internalType: "address",
|
|
8598
|
-
name: "_roleManager",
|
|
8599
|
-
type: "address"
|
|
8600
|
-
},
|
|
8601
|
-
{
|
|
8602
|
-
internalType: "address",
|
|
8603
|
-
name: "_walletRoleManager",
|
|
8604
|
-
type: "address"
|
|
8605
|
-
},
|
|
8606
|
-
{
|
|
8607
|
-
internalType: "address",
|
|
8608
|
-
name: "_settlementLayer",
|
|
8609
|
-
type: "address"
|
|
8610
|
-
},
|
|
8611
|
-
{
|
|
8612
|
-
internalType: "address",
|
|
8613
|
-
name: "_walletImplementation",
|
|
8614
|
-
type: "address"
|
|
8615
|
-
}
|
|
8616
|
-
],
|
|
8617
|
-
name: "initialize",
|
|
8618
|
-
outputs: [],
|
|
8619
|
-
stateMutability: "nonpayable",
|
|
8620
|
-
type: "function"
|
|
8621
|
-
},
|
|
8622
|
-
{
|
|
8623
|
-
inputs: [
|
|
8624
|
-
{
|
|
8625
|
-
internalType: "address",
|
|
8626
|
-
name: "account",
|
|
8627
|
-
type: "address"
|
|
8628
|
-
}
|
|
8629
|
-
],
|
|
8630
|
-
name: "isMaintainer",
|
|
8631
|
-
outputs: [
|
|
8632
|
-
{
|
|
8633
|
-
internalType: "bool",
|
|
8634
|
-
name: "",
|
|
8635
|
-
type: "bool"
|
|
8636
|
-
}
|
|
8637
|
-
],
|
|
8638
|
-
stateMutability: "view",
|
|
8639
|
-
type: "function"
|
|
8640
|
-
},
|
|
8641
|
-
{
|
|
8642
|
-
inputs: [
|
|
8643
|
-
{
|
|
8644
|
-
internalType: "address",
|
|
8645
|
-
name: "",
|
|
8646
|
-
type: "address"
|
|
8647
|
-
}
|
|
8648
|
-
],
|
|
8649
|
-
name: "ownerByWallet",
|
|
8650
|
-
outputs: [
|
|
8651
|
-
{
|
|
8652
|
-
internalType: "address",
|
|
8653
|
-
name: "",
|
|
8654
|
-
type: "address"
|
|
8655
|
-
}
|
|
8656
|
-
],
|
|
8657
|
-
stateMutability: "view",
|
|
8658
|
-
type: "function"
|
|
8659
|
-
},
|
|
8660
|
-
{
|
|
8661
|
-
inputs: [],
|
|
8662
|
-
name: "proxiableUUID",
|
|
8663
|
-
outputs: [
|
|
8664
|
-
{
|
|
8665
|
-
internalType: "bytes32",
|
|
8666
|
-
name: "",
|
|
8667
|
-
type: "bytes32"
|
|
8668
|
-
}
|
|
8669
|
-
],
|
|
8670
|
-
stateMutability: "view",
|
|
8671
|
-
type: "function"
|
|
8672
|
-
},
|
|
8673
|
-
{
|
|
8674
|
-
inputs: [],
|
|
8675
|
-
name: "roleManager",
|
|
8676
|
-
outputs: [
|
|
8677
|
-
{
|
|
8678
|
-
internalType: "contract IRoleManager",
|
|
8679
|
-
name: "",
|
|
8680
|
-
type: "address"
|
|
8681
|
-
}
|
|
8682
|
-
],
|
|
8683
|
-
stateMutability: "view",
|
|
8684
|
-
type: "function"
|
|
8685
|
-
},
|
|
8686
|
-
{
|
|
8687
|
-
inputs: [
|
|
8688
|
-
{
|
|
8689
|
-
internalType: "address",
|
|
8690
|
-
name: "_newSettlementLayer",
|
|
8691
|
-
type: "address"
|
|
8692
|
-
}
|
|
8693
|
-
],
|
|
8694
|
-
name: "setSettlementLayer",
|
|
8695
|
-
outputs: [],
|
|
8696
|
-
stateMutability: "nonpayable",
|
|
8697
|
-
type: "function"
|
|
8698
|
-
},
|
|
8699
|
-
{
|
|
8700
|
-
inputs: [
|
|
8701
|
-
{
|
|
8702
|
-
internalType: "address",
|
|
8703
|
-
name: "_newWalletImplementation",
|
|
8704
|
-
type: "address"
|
|
8705
|
-
}
|
|
8706
|
-
],
|
|
8707
|
-
name: "setWalletImplementation",
|
|
8708
|
-
outputs: [],
|
|
8709
|
-
stateMutability: "nonpayable",
|
|
8710
|
-
type: "function"
|
|
8711
|
-
},
|
|
8712
|
-
{
|
|
8713
|
-
inputs: [
|
|
8714
|
-
{
|
|
8715
|
-
internalType: "address",
|
|
8716
|
-
name: "_newWalletRoleManager",
|
|
8717
|
-
type: "address"
|
|
8718
|
-
}
|
|
8719
|
-
],
|
|
8720
|
-
name: "setWalletRoleManager",
|
|
8721
|
-
outputs: [],
|
|
8722
|
-
stateMutability: "nonpayable",
|
|
8723
|
-
type: "function"
|
|
8724
|
-
},
|
|
8725
|
-
{
|
|
8726
|
-
inputs: [],
|
|
8727
|
-
name: "settlementLayer",
|
|
8728
|
-
outputs: [
|
|
8729
|
-
{
|
|
8730
|
-
internalType: "address",
|
|
8731
|
-
name: "",
|
|
8732
|
-
type: "address"
|
|
8733
|
-
}
|
|
8734
|
-
],
|
|
8735
|
-
stateMutability: "view",
|
|
8736
|
-
type: "function"
|
|
8737
|
-
},
|
|
8738
|
-
{
|
|
8739
|
-
inputs: [],
|
|
8740
|
-
name: "totalWallets",
|
|
8741
|
-
outputs: [
|
|
8742
|
-
{
|
|
8743
|
-
internalType: "uint256",
|
|
8744
|
-
name: "",
|
|
8745
|
-
type: "uint256"
|
|
8746
|
-
}
|
|
8747
|
-
],
|
|
8748
|
-
stateMutability: "view",
|
|
8749
|
-
type: "function"
|
|
8750
|
-
},
|
|
8751
|
-
{
|
|
8752
|
-
inputs: [
|
|
8753
|
-
{
|
|
8754
|
-
internalType: "address",
|
|
8755
|
-
name: "newImplementation",
|
|
8756
|
-
type: "address"
|
|
8757
|
-
},
|
|
8758
|
-
{
|
|
8759
|
-
internalType: "bytes",
|
|
8760
|
-
name: "data",
|
|
8761
|
-
type: "bytes"
|
|
8762
|
-
}
|
|
8763
|
-
],
|
|
8764
|
-
name: "upgradeToAndCall",
|
|
8765
|
-
outputs: [],
|
|
8766
|
-
stateMutability: "payable",
|
|
8767
|
-
type: "function"
|
|
8768
|
-
},
|
|
8769
|
-
{
|
|
8770
|
-
inputs: [],
|
|
8771
|
-
name: "walletImplementation",
|
|
8772
|
-
outputs: [
|
|
8773
|
-
{
|
|
8774
|
-
internalType: "address",
|
|
8775
|
-
name: "",
|
|
8776
|
-
type: "address"
|
|
8777
|
-
}
|
|
8778
|
-
],
|
|
8779
|
-
stateMutability: "view",
|
|
8780
|
-
type: "function"
|
|
8781
|
-
},
|
|
8782
|
-
{
|
|
8783
|
-
inputs: [],
|
|
8784
|
-
name: "walletRoleManager",
|
|
8785
|
-
outputs: [
|
|
8786
|
-
{
|
|
8787
|
-
internalType: "address",
|
|
8788
|
-
name: "",
|
|
8789
|
-
type: "address"
|
|
8790
|
-
}
|
|
8791
|
-
],
|
|
8792
|
-
stateMutability: "view",
|
|
8793
|
-
type: "function"
|
|
8794
|
-
},
|
|
8795
|
-
{
|
|
8796
|
-
inputs: [
|
|
8797
|
-
{
|
|
8798
|
-
internalType: "address",
|
|
8799
|
-
name: "",
|
|
8800
|
-
type: "address"
|
|
8801
|
-
},
|
|
8802
|
-
{
|
|
8803
|
-
internalType: "uint256",
|
|
8804
|
-
name: "",
|
|
8805
|
-
type: "uint256"
|
|
8806
|
-
}
|
|
8807
|
-
],
|
|
8808
|
-
name: "walletsByOperator",
|
|
8809
|
-
outputs: [
|
|
8810
|
-
{
|
|
8811
|
-
internalType: "address",
|
|
8812
|
-
name: "",
|
|
8813
|
-
type: "address"
|
|
8814
|
-
}
|
|
8815
|
-
],
|
|
8816
|
-
stateMutability: "view",
|
|
8817
|
-
type: "function"
|
|
8818
|
-
},
|
|
8819
|
-
{
|
|
8820
|
-
inputs: [
|
|
8821
|
-
{
|
|
8822
|
-
internalType: "address",
|
|
8823
|
-
name: "",
|
|
8824
|
-
type: "address"
|
|
8825
|
-
},
|
|
8826
|
-
{
|
|
8827
|
-
internalType: "uint256",
|
|
8828
|
-
name: "",
|
|
8829
|
-
type: "uint256"
|
|
8830
|
-
}
|
|
8831
|
-
],
|
|
8832
|
-
name: "walletsByOwner",
|
|
8833
|
-
outputs: [
|
|
8834
|
-
{
|
|
8835
|
-
internalType: "address",
|
|
8836
|
-
name: "",
|
|
8837
|
-
type: "address"
|
|
8838
|
-
}
|
|
8839
|
-
],
|
|
8840
|
-
stateMutability: "view",
|
|
8841
|
-
type: "function"
|
|
8842
|
-
}
|
|
8843
|
-
]
|
|
8844
|
-
}
|
|
8845
|
-
};
|
|
8846
|
-
|
|
8847
4738
|
// src/contracts/addresses/proxies.json
|
|
8848
4739
|
var proxies_default = {
|
|
8849
|
-
localhost: {
|
|
8850
|
-
RoleManager: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
|
|
8851
|
-
IATPSettlementLayer: "0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9",
|
|
8852
|
-
IATPWalletFactory: "0xa513E6E4b8f2a923D98304ec87F64353C4D5C853"
|
|
8853
|
-
},
|
|
8854
4740
|
sepolia: {
|
|
8855
4741
|
RoleManager: "0x71d388142EA9194e5b51Eee3FEfe3B87D494dd38",
|
|
8856
4742
|
IATPSettlementLayer: "0xAa91081571404d7E2f2B8F12FB2Be092EBe6d2B8",
|
|
@@ -8860,13 +4746,6 @@ var proxies_default = {
|
|
|
8860
4746
|
|
|
8861
4747
|
// src/contracts/addresses/implementations.json
|
|
8862
4748
|
var implementations_default = {
|
|
8863
|
-
localhost: {
|
|
8864
|
-
IATPWalletImplementation: "0x5FC8d32690cc91D4c39d9d3abcBD16989F875707",
|
|
8865
|
-
RoleManagerImplementation: "0x5FbDB2315678afecb367f032d93F642f64180aa3",
|
|
8866
|
-
Congress: "0x94Fc9eddBd1779542b78eb92F0569762603876e2",
|
|
8867
|
-
IATPSettlementLayerImplementation: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
|
|
8868
|
-
IATPWalletFactoryImplementation: "0x0165878A594ca255338adfa4d48449f69242Eb8F"
|
|
8869
|
-
},
|
|
8870
4749
|
sepolia: {
|
|
8871
4750
|
Congress: "0x94Fc9eddBd1779542b78eb92F0569762603876e2",
|
|
8872
4751
|
TraiaCongressMembersRegistry: "0x3B685403b195f16D103b42FCf56F848A278d6049",
|
|
@@ -8886,8 +4765,7 @@ var ContractName = /* @__PURE__ */ ((ContractName2) => {
|
|
|
8886
4765
|
return ContractName2;
|
|
8887
4766
|
})(ContractName || {});
|
|
8888
4767
|
var ABIS = {
|
|
8889
|
-
sepolia: sepolia_default.sepolia || {}
|
|
8890
|
-
localhost: localhost_default.localhost || {}
|
|
4768
|
+
sepolia: sepolia_default.sepolia || {}
|
|
8891
4769
|
};
|
|
8892
4770
|
var PROXY_ADDRESSES = proxies_default;
|
|
8893
4771
|
var IMPL_ADDRESSES = implementations_default;
|
|
@@ -8922,16 +4800,14 @@ function isContractDeployed(contractName, network) {
|
|
|
8922
4800
|
const abi = getContractAbi(contractName, network);
|
|
8923
4801
|
return address !== null && abi !== null;
|
|
8924
4802
|
}
|
|
8925
|
-
init_utils();
|
|
8926
4803
|
async function createIATPWallet(params) {
|
|
8927
|
-
const { ownerAccount, network = "sepolia", rpcUrl
|
|
4804
|
+
const { ownerAccount, network = "sepolia", rpcUrl } = params;
|
|
8928
4805
|
const factoryConfig = getContractConfig("IATPWalletFactory" /* IATP_WALLET_FACTORY */, network);
|
|
8929
4806
|
if (!factoryConfig) {
|
|
8930
4807
|
throw new Error(`IATPWalletFactory not found for network: ${network}`);
|
|
8931
4808
|
}
|
|
8932
|
-
const
|
|
8933
|
-
const
|
|
8934
|
-
const chain = network === "sepolia" ? sepolia : localhost;
|
|
4809
|
+
const operatorAddress = ownerAccount.address;
|
|
4810
|
+
const chain = sepolia;
|
|
8935
4811
|
const transport = http(rpcUrl);
|
|
8936
4812
|
const publicClient = createPublicClient({
|
|
8937
4813
|
chain,
|
|
@@ -8951,7 +4827,7 @@ async function createIATPWallet(params) {
|
|
|
8951
4827
|
address: factoryConfig.address,
|
|
8952
4828
|
abi: factoryConfig.abi,
|
|
8953
4829
|
functionName: "createWallet",
|
|
8954
|
-
args: [
|
|
4830
|
+
args: [operatorAddress]
|
|
8955
4831
|
});
|
|
8956
4832
|
const hash = await walletClient.writeContract(request);
|
|
8957
4833
|
const receipt = await publicClient.waitForTransactionReceipt({
|
|
@@ -8985,8 +4861,6 @@ async function createIATPWallet(params) {
|
|
|
8985
4861
|
return {
|
|
8986
4862
|
walletAddress,
|
|
8987
4863
|
ownerAddress: ownerAccount.address,
|
|
8988
|
-
operatorAddress: operatorAccount.address,
|
|
8989
|
-
operatorPrivateKey: operatorKey,
|
|
8990
4864
|
transactionHash: hash,
|
|
8991
4865
|
blockNumber: receipt.blockNumber,
|
|
8992
4866
|
network,
|
|
@@ -8999,7 +4873,7 @@ async function getWalletsByOwner(params) {
|
|
|
8999
4873
|
if (!factoryConfig) {
|
|
9000
4874
|
throw new Error(`IATPWalletFactory not found for network: ${network}`);
|
|
9001
4875
|
}
|
|
9002
|
-
const chain =
|
|
4876
|
+
const chain = sepolia;
|
|
9003
4877
|
const transport = http(rpcUrl);
|
|
9004
4878
|
const publicClient = createPublicClient({
|
|
9005
4879
|
chain,
|