@flarenetwork/flare-periphery-contract-artifacts 0.1.23 → 0.1.25
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/coston/artifacts/contracts/IAgentAlwaysAllowedMinters.sol/IAgentAlwaysAllowedMinters.json +57 -0
- package/coston/artifacts/contracts/IAssetManager.sol/IAssetManager.json +976 -6
- package/coston/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +25 -0
- package/coston/artifacts/contracts/ICoreVault.sol/ICoreVault.json +469 -0
- package/coston/artifacts/contracts/ICoreVaultSettings.sol/ICoreVaultSettings.json +184 -0
- package/coston/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +133 -0
- package/coston/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
- package/coston/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
- package/coston2/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +133 -0
- package/coston2/artifacts/contracts/IGovernor.sol/IGovernor.json +7 -47
- package/coston2/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
- package/coston2/artifacts/contracts/IPollingFtso.sol/IPollingFtso.json +630 -0
- package/coston2/artifacts/contracts/IWNat.sol/IWNat.json +9 -737
- package/coston2/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
- package/coston2/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +8 -48
- package/flare/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +133 -0
- package/flare/artifacts/contracts/IGovernor.sol/IGovernor.json +7 -47
- package/flare/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
- package/flare/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
- package/flare/artifacts/contracts/IPollingFtso.sol/IPollingFtso.json +630 -0
- package/flare/artifacts/contracts/IWNat.sol/IWNat.json +9 -737
- package/flare/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
- package/flare/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
- package/flare/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +8 -48
- package/package.json +28 -3
- package/songbird/artifacts/contracts/IAgentAlwaysAllowedMinters.sol/IAgentAlwaysAllowedMinters.json +57 -0
- package/songbird/artifacts/contracts/IAssetManager.sol/IAssetManager.json +976 -6
- package/songbird/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +25 -0
- package/songbird/artifacts/contracts/ICoreVault.sol/ICoreVault.json +469 -0
- package/songbird/artifacts/contracts/ICoreVaultSettings.sol/ICoreVaultSettings.json +184 -0
- package/songbird/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +133 -0
- package/songbird/artifacts/contracts/IGovernor.sol/IGovernor.json +7 -47
- package/songbird/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
- package/songbird/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
- package/songbird/artifacts/contracts/IPollingFtso.sol/IPollingFtso.json +630 -0
- package/songbird/artifacts/contracts/IWNat.sol/IWNat.json +4 -703
- package/songbird/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
- package/songbird/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
- package/songbird/artifacts/contracts/data/AgentInfo.sol/AgentInfo.json +1 -0
- package/songbird/artifacts/contracts/data/AgentSettings.sol/AgentSettings.json +1 -0
- package/songbird/artifacts/contracts/data/AssetManagerSettings.sol/AssetManagerSettings.json +1 -0
- package/songbird/artifacts/contracts/data/AvailableAgentInfo.sol/AvailableAgentInfo.json +1 -0
- package/songbird/artifacts/contracts/data/CollateralReservationInfo.sol/CollateralReservationInfo.json +1 -0
- package/songbird/artifacts/contracts/data/CollateralType.sol/CollateralType.json +1 -0
- package/songbird/artifacts/contracts/data/RedemptionRequestInfo.sol/RedemptionRequestInfo.json +1 -0
- package/songbird/artifacts/contracts/data/RedemptionTicketInfo.sol/RedemptionTicketInfo.json +1 -0
- package/songbird/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +8 -48
- package/coston/README.md +0 -7
- package/coston/StateConnector/configs/AddressValidity.json +0 -326
- package/coston/StateConnector/configs/BalanceDecreasingTransaction.json +0 -379
- package/coston/StateConnector/configs/ConfirmedBlockHeightExists.json +0 -363
- package/coston/StateConnector/configs/EVMTransaction.json +0 -600
- package/coston/StateConnector/configs/Payment.json +0 -512
- package/coston/StateConnector/configs/ReferencedPaymentNonexistence.json +0 -431
- package/coston/StateConnector/configs/TypeTemplate.json +0 -555
- package/coston2/README.md +0 -7
- package/flare/README.md +0 -7
- package/songbird/README.md +0 -7
- /package/{README.md → README.root.md} +0 -0
- /package/coston/artifacts/contracts/{userInterfaces/data/AgentInfo.sol/AgentInfo.json → IJsonApi.sol/IJsonApi.json} +0 -0
- /package/coston/artifacts/contracts/{userInterfaces/data/AgentSettings.sol/AgentSettings.json → IWeb2Json.sol/IWeb2Json.json} +0 -0
- /package/{songbird/artifacts/contracts/userInterfaces → coston/artifacts/contracts}/data/AgentInfo.sol/AgentInfo.json +0 -0
- /package/{songbird/artifacts/contracts/userInterfaces → coston/artifacts/contracts}/data/AgentSettings.sol/AgentSettings.json +0 -0
- /package/coston/artifacts/contracts/{userInterfaces/data → data}/AssetManagerSettings.sol/AssetManagerSettings.json +0 -0
- /package/coston/artifacts/contracts/{userInterfaces/data → data}/AvailableAgentInfo.sol/AvailableAgentInfo.json +0 -0
- /package/coston/artifacts/contracts/{userInterfaces/data/CollateralType.sol/CollateralType.json → data/CollateralReservationInfo.sol/CollateralReservationInfo.json} +0 -0
- /package/{songbird/artifacts/contracts/userInterfaces → coston/artifacts/contracts}/data/CollateralType.sol/CollateralType.json +0 -0
- /package/coston/artifacts/contracts/{userInterfaces/data/RedemptionTicketInfo.sol/RedemptionTicketInfo.json → data/RedemptionRequestInfo.sol/RedemptionRequestInfo.json} +0 -0
- /package/{songbird/artifacts/contracts/userInterfaces → coston/artifacts/contracts}/data/RedemptionTicketInfo.sol/RedemptionTicketInfo.json +0 -0
- /package/{songbird/artifacts/contracts/userInterfaces/data/AssetManagerSettings.sol/AssetManagerSettings.json → coston2/artifacts/contracts/IJsonApi.sol/IJsonApi.json} +0 -0
- /package/{songbird/artifacts/contracts/userInterfaces/data/AvailableAgentInfo.sol/AvailableAgentInfo.json → coston2/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json} +0 -0
|
@@ -1,4 +1,30 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"inputs": [],
|
|
4
|
+
"name": "fdcProtocolId",
|
|
5
|
+
"outputs": [
|
|
6
|
+
{
|
|
7
|
+
"internalType": "uint8",
|
|
8
|
+
"name": "_fdcProtocolId",
|
|
9
|
+
"type": "uint8"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"stateMutability": "view",
|
|
13
|
+
"type": "function"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"inputs": [],
|
|
17
|
+
"name": "relay",
|
|
18
|
+
"outputs": [
|
|
19
|
+
{
|
|
20
|
+
"internalType": "contract IRelay",
|
|
21
|
+
"name": "",
|
|
22
|
+
"type": "address"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"stateMutability": "view",
|
|
26
|
+
"type": "function"
|
|
27
|
+
},
|
|
2
28
|
{
|
|
3
29
|
"inputs": [
|
|
4
30
|
{
|
|
@@ -449,6 +475,113 @@
|
|
|
449
475
|
"stateMutability": "view",
|
|
450
476
|
"type": "function"
|
|
451
477
|
},
|
|
478
|
+
{
|
|
479
|
+
"inputs": [
|
|
480
|
+
{
|
|
481
|
+
"components": [
|
|
482
|
+
{
|
|
483
|
+
"internalType": "bytes32[]",
|
|
484
|
+
"name": "merkleProof",
|
|
485
|
+
"type": "bytes32[]"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"components": [
|
|
489
|
+
{
|
|
490
|
+
"internalType": "bytes32",
|
|
491
|
+
"name": "attestationType",
|
|
492
|
+
"type": "bytes32"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"internalType": "bytes32",
|
|
496
|
+
"name": "sourceId",
|
|
497
|
+
"type": "bytes32"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"internalType": "uint64",
|
|
501
|
+
"name": "votingRound",
|
|
502
|
+
"type": "uint64"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"internalType": "uint64",
|
|
506
|
+
"name": "lowestUsedTimestamp",
|
|
507
|
+
"type": "uint64"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"components": [
|
|
511
|
+
{
|
|
512
|
+
"internalType": "string",
|
|
513
|
+
"name": "url",
|
|
514
|
+
"type": "string"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"internalType": "string",
|
|
518
|
+
"name": "httpMethod",
|
|
519
|
+
"type": "string"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"internalType": "string",
|
|
523
|
+
"name": "headers",
|
|
524
|
+
"type": "string"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"internalType": "string",
|
|
528
|
+
"name": "queryParams",
|
|
529
|
+
"type": "string"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"internalType": "string",
|
|
533
|
+
"name": "body",
|
|
534
|
+
"type": "string"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"internalType": "string",
|
|
538
|
+
"name": "postProcessJq",
|
|
539
|
+
"type": "string"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"internalType": "string",
|
|
543
|
+
"name": "abiSignature",
|
|
544
|
+
"type": "string"
|
|
545
|
+
}
|
|
546
|
+
],
|
|
547
|
+
"internalType": "struct IWeb2Json.RequestBody",
|
|
548
|
+
"name": "requestBody",
|
|
549
|
+
"type": "tuple"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"components": [
|
|
553
|
+
{
|
|
554
|
+
"internalType": "bytes",
|
|
555
|
+
"name": "abiEncodedData",
|
|
556
|
+
"type": "bytes"
|
|
557
|
+
}
|
|
558
|
+
],
|
|
559
|
+
"internalType": "struct IWeb2Json.ResponseBody",
|
|
560
|
+
"name": "responseBody",
|
|
561
|
+
"type": "tuple"
|
|
562
|
+
}
|
|
563
|
+
],
|
|
564
|
+
"internalType": "struct IWeb2Json.Response",
|
|
565
|
+
"name": "data",
|
|
566
|
+
"type": "tuple"
|
|
567
|
+
}
|
|
568
|
+
],
|
|
569
|
+
"internalType": "struct IWeb2Json.Proof",
|
|
570
|
+
"name": "_proof",
|
|
571
|
+
"type": "tuple"
|
|
572
|
+
}
|
|
573
|
+
],
|
|
574
|
+
"name": "verifyJsonApi",
|
|
575
|
+
"outputs": [
|
|
576
|
+
{
|
|
577
|
+
"internalType": "bool",
|
|
578
|
+
"name": "_proved",
|
|
579
|
+
"type": "bool"
|
|
580
|
+
}
|
|
581
|
+
],
|
|
582
|
+
"stateMutability": "view",
|
|
583
|
+
"type": "function"
|
|
584
|
+
},
|
|
452
585
|
{
|
|
453
586
|
"inputs": [
|
|
454
587
|
{
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"inputs": [
|
|
4
|
+
{
|
|
5
|
+
"components": [
|
|
6
|
+
{
|
|
7
|
+
"internalType": "bytes32[]",
|
|
8
|
+
"name": "merkleProof",
|
|
9
|
+
"type": "bytes32[]"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"components": [
|
|
13
|
+
{
|
|
14
|
+
"internalType": "bytes32",
|
|
15
|
+
"name": "attestationType",
|
|
16
|
+
"type": "bytes32"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"internalType": "bytes32",
|
|
20
|
+
"name": "sourceId",
|
|
21
|
+
"type": "bytes32"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"internalType": "uint64",
|
|
25
|
+
"name": "votingRound",
|
|
26
|
+
"type": "uint64"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"internalType": "uint64",
|
|
30
|
+
"name": "lowestUsedTimestamp",
|
|
31
|
+
"type": "uint64"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"components": [
|
|
35
|
+
{
|
|
36
|
+
"internalType": "string",
|
|
37
|
+
"name": "url",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"internalType": "string",
|
|
42
|
+
"name": "postprocessJq",
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"internalType": "string",
|
|
47
|
+
"name": "abi_signature",
|
|
48
|
+
"type": "string"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"internalType": "struct IJsonApi.RequestBody",
|
|
52
|
+
"name": "requestBody",
|
|
53
|
+
"type": "tuple"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"components": [
|
|
57
|
+
{
|
|
58
|
+
"internalType": "bytes",
|
|
59
|
+
"name": "abi_encoded_data",
|
|
60
|
+
"type": "bytes"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"internalType": "struct IJsonApi.ResponseBody",
|
|
64
|
+
"name": "responseBody",
|
|
65
|
+
"type": "tuple"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"internalType": "struct IJsonApi.Response",
|
|
69
|
+
"name": "data",
|
|
70
|
+
"type": "tuple"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"internalType": "struct IJsonApi.Proof",
|
|
74
|
+
"name": "_proof",
|
|
75
|
+
"type": "tuple"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"name": "verifyJsonApi",
|
|
79
|
+
"outputs": [
|
|
80
|
+
{
|
|
81
|
+
"internalType": "bool",
|
|
82
|
+
"name": "_proved",
|
|
83
|
+
"type": "bool"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"stateMutability": "view",
|
|
87
|
+
"type": "function"
|
|
88
|
+
}
|
|
89
|
+
]
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"inputs": [
|
|
4
|
+
{
|
|
5
|
+
"components": [
|
|
6
|
+
{
|
|
7
|
+
"internalType": "bytes32[]",
|
|
8
|
+
"name": "merkleProof",
|
|
9
|
+
"type": "bytes32[]"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"components": [
|
|
13
|
+
{
|
|
14
|
+
"internalType": "bytes32",
|
|
15
|
+
"name": "attestationType",
|
|
16
|
+
"type": "bytes32"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"internalType": "bytes32",
|
|
20
|
+
"name": "sourceId",
|
|
21
|
+
"type": "bytes32"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"internalType": "uint64",
|
|
25
|
+
"name": "votingRound",
|
|
26
|
+
"type": "uint64"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"internalType": "uint64",
|
|
30
|
+
"name": "lowestUsedTimestamp",
|
|
31
|
+
"type": "uint64"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"components": [
|
|
35
|
+
{
|
|
36
|
+
"internalType": "string",
|
|
37
|
+
"name": "url",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"internalType": "string",
|
|
42
|
+
"name": "httpMethod",
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"internalType": "string",
|
|
47
|
+
"name": "headers",
|
|
48
|
+
"type": "string"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"internalType": "string",
|
|
52
|
+
"name": "queryParams",
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"internalType": "string",
|
|
57
|
+
"name": "body",
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"internalType": "string",
|
|
62
|
+
"name": "postProcessJq",
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"internalType": "string",
|
|
67
|
+
"name": "abiSignature",
|
|
68
|
+
"type": "string"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"internalType": "struct IWeb2Json.RequestBody",
|
|
72
|
+
"name": "requestBody",
|
|
73
|
+
"type": "tuple"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"components": [
|
|
77
|
+
{
|
|
78
|
+
"internalType": "bytes",
|
|
79
|
+
"name": "abiEncodedData",
|
|
80
|
+
"type": "bytes"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"internalType": "struct IWeb2Json.ResponseBody",
|
|
84
|
+
"name": "responseBody",
|
|
85
|
+
"type": "tuple"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"internalType": "struct IWeb2Json.Response",
|
|
89
|
+
"name": "data",
|
|
90
|
+
"type": "tuple"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"internalType": "struct IWeb2Json.Proof",
|
|
94
|
+
"name": "_proof",
|
|
95
|
+
"type": "tuple"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"name": "verifyJsonApi",
|
|
99
|
+
"outputs": [
|
|
100
|
+
{
|
|
101
|
+
"internalType": "bool",
|
|
102
|
+
"name": "_proved",
|
|
103
|
+
"type": "bool"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"stateMutability": "view",
|
|
107
|
+
"type": "function"
|
|
108
|
+
}
|
|
109
|
+
]
|
|
@@ -1,4 +1,30 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"inputs": [],
|
|
4
|
+
"name": "fdcProtocolId",
|
|
5
|
+
"outputs": [
|
|
6
|
+
{
|
|
7
|
+
"internalType": "uint8",
|
|
8
|
+
"name": "_fdcProtocolId",
|
|
9
|
+
"type": "uint8"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"stateMutability": "view",
|
|
13
|
+
"type": "function"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"inputs": [],
|
|
17
|
+
"name": "relay",
|
|
18
|
+
"outputs": [
|
|
19
|
+
{
|
|
20
|
+
"internalType": "contract IRelay",
|
|
21
|
+
"name": "",
|
|
22
|
+
"type": "address"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"stateMutability": "view",
|
|
26
|
+
"type": "function"
|
|
27
|
+
},
|
|
2
28
|
{
|
|
3
29
|
"inputs": [
|
|
4
30
|
{
|
|
@@ -449,6 +475,113 @@
|
|
|
449
475
|
"stateMutability": "view",
|
|
450
476
|
"type": "function"
|
|
451
477
|
},
|
|
478
|
+
{
|
|
479
|
+
"inputs": [
|
|
480
|
+
{
|
|
481
|
+
"components": [
|
|
482
|
+
{
|
|
483
|
+
"internalType": "bytes32[]",
|
|
484
|
+
"name": "merkleProof",
|
|
485
|
+
"type": "bytes32[]"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"components": [
|
|
489
|
+
{
|
|
490
|
+
"internalType": "bytes32",
|
|
491
|
+
"name": "attestationType",
|
|
492
|
+
"type": "bytes32"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"internalType": "bytes32",
|
|
496
|
+
"name": "sourceId",
|
|
497
|
+
"type": "bytes32"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"internalType": "uint64",
|
|
501
|
+
"name": "votingRound",
|
|
502
|
+
"type": "uint64"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"internalType": "uint64",
|
|
506
|
+
"name": "lowestUsedTimestamp",
|
|
507
|
+
"type": "uint64"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"components": [
|
|
511
|
+
{
|
|
512
|
+
"internalType": "string",
|
|
513
|
+
"name": "url",
|
|
514
|
+
"type": "string"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"internalType": "string",
|
|
518
|
+
"name": "httpMethod",
|
|
519
|
+
"type": "string"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"internalType": "string",
|
|
523
|
+
"name": "headers",
|
|
524
|
+
"type": "string"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"internalType": "string",
|
|
528
|
+
"name": "queryParams",
|
|
529
|
+
"type": "string"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"internalType": "string",
|
|
533
|
+
"name": "body",
|
|
534
|
+
"type": "string"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"internalType": "string",
|
|
538
|
+
"name": "postProcessJq",
|
|
539
|
+
"type": "string"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"internalType": "string",
|
|
543
|
+
"name": "abiSignature",
|
|
544
|
+
"type": "string"
|
|
545
|
+
}
|
|
546
|
+
],
|
|
547
|
+
"internalType": "struct IWeb2Json.RequestBody",
|
|
548
|
+
"name": "requestBody",
|
|
549
|
+
"type": "tuple"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"components": [
|
|
553
|
+
{
|
|
554
|
+
"internalType": "bytes",
|
|
555
|
+
"name": "abiEncodedData",
|
|
556
|
+
"type": "bytes"
|
|
557
|
+
}
|
|
558
|
+
],
|
|
559
|
+
"internalType": "struct IWeb2Json.ResponseBody",
|
|
560
|
+
"name": "responseBody",
|
|
561
|
+
"type": "tuple"
|
|
562
|
+
}
|
|
563
|
+
],
|
|
564
|
+
"internalType": "struct IWeb2Json.Response",
|
|
565
|
+
"name": "data",
|
|
566
|
+
"type": "tuple"
|
|
567
|
+
}
|
|
568
|
+
],
|
|
569
|
+
"internalType": "struct IWeb2Json.Proof",
|
|
570
|
+
"name": "_proof",
|
|
571
|
+
"type": "tuple"
|
|
572
|
+
}
|
|
573
|
+
],
|
|
574
|
+
"name": "verifyJsonApi",
|
|
575
|
+
"outputs": [
|
|
576
|
+
{
|
|
577
|
+
"internalType": "bool",
|
|
578
|
+
"name": "_proved",
|
|
579
|
+
"type": "bool"
|
|
580
|
+
}
|
|
581
|
+
],
|
|
582
|
+
"stateMutability": "view",
|
|
583
|
+
"type": "function"
|
|
584
|
+
},
|
|
452
585
|
{
|
|
453
586
|
"inputs": [
|
|
454
587
|
{
|
|
@@ -267,41 +267,19 @@
|
|
|
267
267
|
{
|
|
268
268
|
"inputs": [
|
|
269
269
|
{
|
|
270
|
-
"internalType": "
|
|
271
|
-
"name": "
|
|
272
|
-
"type": "
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
"internalType": "address[]",
|
|
276
|
-
"name": "_targets",
|
|
277
|
-
"type": "address[]"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"internalType": "uint256[]",
|
|
281
|
-
"name": "_values",
|
|
282
|
-
"type": "uint256[]"
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
"internalType": "bytes[]",
|
|
286
|
-
"name": "_calldatas",
|
|
287
|
-
"type": "bytes[]"
|
|
270
|
+
"internalType": "string",
|
|
271
|
+
"name": "_description",
|
|
272
|
+
"type": "string"
|
|
288
273
|
}
|
|
289
274
|
],
|
|
290
275
|
"name": "execute",
|
|
291
|
-
"outputs": [
|
|
292
|
-
"stateMutability": "payable",
|
|
293
|
-
"type": "function"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"inputs": [
|
|
276
|
+
"outputs": [
|
|
297
277
|
{
|
|
298
278
|
"internalType": "uint256",
|
|
299
|
-
"name": "
|
|
279
|
+
"name": "",
|
|
300
280
|
"type": "uint256"
|
|
301
281
|
}
|
|
302
282
|
],
|
|
303
|
-
"name": "execute",
|
|
304
|
-
"outputs": [],
|
|
305
283
|
"stateMutability": "nonpayable",
|
|
306
284
|
"type": "function"
|
|
307
285
|
},
|
|
@@ -328,7 +306,7 @@
|
|
|
328
306
|
"type": "string"
|
|
329
307
|
}
|
|
330
308
|
],
|
|
331
|
-
"name": "
|
|
309
|
+
"name": "execute",
|
|
332
310
|
"outputs": [
|
|
333
311
|
{
|
|
334
312
|
"internalType": "uint256",
|
|
@@ -336,20 +314,7 @@
|
|
|
336
314
|
"type": "uint256"
|
|
337
315
|
}
|
|
338
316
|
],
|
|
339
|
-
"stateMutability": "
|
|
340
|
-
"type": "function"
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"inputs": [],
|
|
344
|
-
"name": "getProposalIds",
|
|
345
|
-
"outputs": [
|
|
346
|
-
{
|
|
347
|
-
"internalType": "uint256[]",
|
|
348
|
-
"name": "",
|
|
349
|
-
"type": "uint256[]"
|
|
350
|
-
}
|
|
351
|
-
],
|
|
352
|
-
"stateMutability": "view",
|
|
317
|
+
"stateMutability": "payable",
|
|
353
318
|
"type": "function"
|
|
354
319
|
},
|
|
355
320
|
{
|
|
@@ -411,11 +376,6 @@
|
|
|
411
376
|
"internalType": "uint256",
|
|
412
377
|
"name": "_circulatingSupply",
|
|
413
378
|
"type": "uint256"
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
"internalType": "string",
|
|
417
|
-
"name": "_description",
|
|
418
|
-
"type": "string"
|
|
419
379
|
}
|
|
420
380
|
],
|
|
421
381
|
"stateMutability": "view",
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"inputs": [
|
|
4
|
+
{
|
|
5
|
+
"components": [
|
|
6
|
+
{
|
|
7
|
+
"internalType": "bytes32[]",
|
|
8
|
+
"name": "merkleProof",
|
|
9
|
+
"type": "bytes32[]"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"components": [
|
|
13
|
+
{
|
|
14
|
+
"internalType": "bytes32",
|
|
15
|
+
"name": "attestationType",
|
|
16
|
+
"type": "bytes32"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"internalType": "bytes32",
|
|
20
|
+
"name": "sourceId",
|
|
21
|
+
"type": "bytes32"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"internalType": "uint64",
|
|
25
|
+
"name": "votingRound",
|
|
26
|
+
"type": "uint64"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"internalType": "uint64",
|
|
30
|
+
"name": "lowestUsedTimestamp",
|
|
31
|
+
"type": "uint64"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"components": [
|
|
35
|
+
{
|
|
36
|
+
"internalType": "string",
|
|
37
|
+
"name": "url",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"internalType": "string",
|
|
42
|
+
"name": "postprocessJq",
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"internalType": "string",
|
|
47
|
+
"name": "abi_signature",
|
|
48
|
+
"type": "string"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"internalType": "struct IJsonApi.RequestBody",
|
|
52
|
+
"name": "requestBody",
|
|
53
|
+
"type": "tuple"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"components": [
|
|
57
|
+
{
|
|
58
|
+
"internalType": "bytes",
|
|
59
|
+
"name": "abi_encoded_data",
|
|
60
|
+
"type": "bytes"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"internalType": "struct IJsonApi.ResponseBody",
|
|
64
|
+
"name": "responseBody",
|
|
65
|
+
"type": "tuple"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"internalType": "struct IJsonApi.Response",
|
|
69
|
+
"name": "data",
|
|
70
|
+
"type": "tuple"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"internalType": "struct IJsonApi.Proof",
|
|
74
|
+
"name": "_proof",
|
|
75
|
+
"type": "tuple"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"name": "verifyJsonApi",
|
|
79
|
+
"outputs": [
|
|
80
|
+
{
|
|
81
|
+
"internalType": "bool",
|
|
82
|
+
"name": "_proved",
|
|
83
|
+
"type": "bool"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"stateMutability": "view",
|
|
87
|
+
"type": "function"
|
|
88
|
+
}
|
|
89
|
+
]
|