Skip to content

Commit 61fa1a8

Browse files
committed
v0.1.20
1 parent 6b684bb commit 61fa1a8

File tree

9 files changed

+229
-5
lines changed

9 files changed

+229
-5
lines changed

coston/abis.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ import IIVPToken from "./artifacts/contracts/token/interface/IIVPToken.sol/IIVPT
6969
import IIVoterRegistrationTrigger from "./artifacts/contracts/protocol/interface/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json";
7070
import IIVoterRegistry from "./artifacts/contracts/protocol/interface/IIVoterRegistry.sol/IIVoterRegistry.json";
7171
import IIncreaseManager from "./artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json";
72+
import IJsonApi from "./artifacts/contracts/IJsonApi.sol/IJsonApi.json";
73+
import IJsonApiVerification from "./artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json";
7274
import IPayment from "./artifacts/contracts/IPayment.sol/IPayment.json";
7375
import IPaymentVerification from "./artifacts/contracts/IPaymentVerification.sol/IPaymentVerification.json";
7476
import IPollingManagementGroup from "./artifacts/contracts/IPollingManagementGroup.sol/IPollingManagementGroup.json";
@@ -171,6 +173,8 @@ export const interfaceAbis: { [key: string]: any; } = {
171173
IIVoterRegistrationTrigger: IIVoterRegistrationTrigger.abi,
172174
IIVoterRegistry: IIVoterRegistry.abi,
173175
IIncreaseManager: IIncreaseManager.abi,
176+
IJsonApi: IJsonApi.abi,
177+
IJsonApiVerification: IJsonApiVerification.abi,
174178
IPayment: IPayment.abi,
175179
IPaymentVerification: IPaymentVerification.abi,
176180
IPollingManagementGroup: IPollingManagementGroup.abi,

coston/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"contractName": "ContractRegistry",
44
"sourceName": "contracts/coston/ContractRegistry.sol",
55
"abi": [],
6-
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209729dc33398a9a0a5b4c3417d4a3529aaccb008526e5164031263ae43e858ca564736f6c63430008140033",
7-
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209729dc33398a9a0a5b4c3417d4a3529aaccb008526e5164031263ae43e858ca564736f6c63430008140033",
6+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220bd602762e85e86e1b5f2269eba9209ed79e4ef11dbc46577201b540f8643c18b64736f6c63430008140033",
7+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220bd602762e85e86e1b5f2269eba9209ed79e4ef11dbc46577201b540f8643c18b64736f6c63430008140033",
88
"linkReferences": {},
99
"deployedLinkReferences": {}
1010
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"_format": "hh-sol-artifact-1",
3+
"contractName": "IJsonApi",
4+
"sourceName": "contracts/coston/IJsonApi.sol",
5+
"abi": [],
6+
"bytecode": "0x",
7+
"deployedBytecode": "0x",
8+
"linkReferences": {},
9+
"deployedLinkReferences": {}
10+
}
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
{
2+
"_format": "hh-sol-artifact-1",
3+
"contractName": "IJsonApiVerification",
4+
"sourceName": "contracts/coston/IJsonApiVerification.sol",
5+
"abi": [
6+
{
7+
"inputs": [
8+
{
9+
"components": [
10+
{
11+
"internalType": "bytes32[]",
12+
"name": "merkleProof",
13+
"type": "bytes32[]"
14+
},
15+
{
16+
"components": [
17+
{
18+
"internalType": "bytes32",
19+
"name": "attestationType",
20+
"type": "bytes32"
21+
},
22+
{
23+
"internalType": "bytes32",
24+
"name": "sourceId",
25+
"type": "bytes32"
26+
},
27+
{
28+
"internalType": "uint64",
29+
"name": "votingRound",
30+
"type": "uint64"
31+
},
32+
{
33+
"internalType": "uint64",
34+
"name": "lowestUsedTimestamp",
35+
"type": "uint64"
36+
},
37+
{
38+
"components": [
39+
{
40+
"internalType": "string",
41+
"name": "url",
42+
"type": "string"
43+
},
44+
{
45+
"internalType": "string",
46+
"name": "postprocessJq",
47+
"type": "string"
48+
},
49+
{
50+
"internalType": "string",
51+
"name": "abi_signature",
52+
"type": "string"
53+
}
54+
],
55+
"internalType": "struct IJsonApi.RequestBody",
56+
"name": "requestBody",
57+
"type": "tuple"
58+
},
59+
{
60+
"components": [
61+
{
62+
"internalType": "bytes",
63+
"name": "abi_encoded_data",
64+
"type": "bytes"
65+
}
66+
],
67+
"internalType": "struct IJsonApi.ResponseBody",
68+
"name": "responseBody",
69+
"type": "tuple"
70+
}
71+
],
72+
"internalType": "struct IJsonApi.Response",
73+
"name": "data",
74+
"type": "tuple"
75+
}
76+
],
77+
"internalType": "struct IJsonApi.Proof",
78+
"name": "_proof",
79+
"type": "tuple"
80+
}
81+
],
82+
"name": "verifyJsonApi",
83+
"outputs": [
84+
{
85+
"internalType": "bool",
86+
"name": "_proved",
87+
"type": "bool"
88+
}
89+
],
90+
"stateMutability": "view",
91+
"type": "function"
92+
}
93+
],
94+
"bytecode": "0x",
95+
"deployedBytecode": "0x",
96+
"linkReferences": {},
97+
"deployedLinkReferences": {}
98+
}

coston2/abis.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ import IIVPToken from "./artifacts/contracts/token/interface/IIVPToken.sol/IIVPT
7171
import IIVoterRegistrationTrigger from "./artifacts/contracts/protocol/interface/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json";
7272
import IIVoterRegistry from "./artifacts/contracts/protocol/interface/IIVoterRegistry.sol/IIVoterRegistry.json";
7373
import IIncreaseManager from "./artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json";
74+
import IJsonApi from "./artifacts/contracts/IJsonApi.sol/IJsonApi.json";
75+
import IJsonApiVerification from "./artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json";
7476
import IPChainStakeMirror from "./artifacts/contracts/IPChainStakeMirror.sol/IPChainStakeMirror.json";
7577
import IPChainStakeMirrorMultiSigVoting from "./artifacts/contracts/IPChainStakeMirrorMultiSigVoting.sol/IPChainStakeMirrorMultiSigVoting.json";
7678
import IPChainStakeMirrorVerifier from "./artifacts/contracts/IPChainStakeMirrorVerifier.sol/IPChainStakeMirrorVerifier.json";
@@ -180,6 +182,8 @@ export const interfaceAbis: { [key: string]: any; } = {
180182
IIVoterRegistrationTrigger: IIVoterRegistrationTrigger.abi,
181183
IIVoterRegistry: IIVoterRegistry.abi,
182184
IIncreaseManager: IIncreaseManager.abi,
185+
IJsonApi: IJsonApi.abi,
186+
IJsonApiVerification: IJsonApiVerification.abi,
183187
IPChainStakeMirror: IPChainStakeMirror.abi,
184188
IPChainStakeMirrorMultiSigVoting: IPChainStakeMirrorMultiSigVoting.abi,
185189
IPChainStakeMirrorVerifier: IPChainStakeMirrorVerifier.abi,

coston2/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"contractName": "ContractRegistry",
44
"sourceName": "contracts/coston2/ContractRegistry.sol",
55
"abi": [],
6-
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ba0656f54427fd4bd9a66107e08e89af2a29d21d4f896f7de248849b35d4fd6264736f6c63430008140033",
7-
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ba0656f54427fd4bd9a66107e08e89af2a29d21d4f896f7de248849b35d4fd6264736f6c63430008140033",
6+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e3f295017f19d187696bc2e472867ce7924cb8927b927da15659dce2c773cd9564736f6c63430008140033",
7+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e3f295017f19d187696bc2e472867ce7924cb8927b927da15659dce2c773cd9564736f6c63430008140033",
88
"linkReferences": {},
99
"deployedLinkReferences": {}
1010
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"_format": "hh-sol-artifact-1",
3+
"contractName": "IJsonApi",
4+
"sourceName": "contracts/coston2/IJsonApi.sol",
5+
"abi": [],
6+
"bytecode": "0x",
7+
"deployedBytecode": "0x",
8+
"linkReferences": {},
9+
"deployedLinkReferences": {}
10+
}
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
{
2+
"_format": "hh-sol-artifact-1",
3+
"contractName": "IJsonApiVerification",
4+
"sourceName": "contracts/coston2/IJsonApiVerification.sol",
5+
"abi": [
6+
{
7+
"inputs": [
8+
{
9+
"components": [
10+
{
11+
"internalType": "bytes32[]",
12+
"name": "merkleProof",
13+
"type": "bytes32[]"
14+
},
15+
{
16+
"components": [
17+
{
18+
"internalType": "bytes32",
19+
"name": "attestationType",
20+
"type": "bytes32"
21+
},
22+
{
23+
"internalType": "bytes32",
24+
"name": "sourceId",
25+
"type": "bytes32"
26+
},
27+
{
28+
"internalType": "uint64",
29+
"name": "votingRound",
30+
"type": "uint64"
31+
},
32+
{
33+
"internalType": "uint64",
34+
"name": "lowestUsedTimestamp",
35+
"type": "uint64"
36+
},
37+
{
38+
"components": [
39+
{
40+
"internalType": "string",
41+
"name": "url",
42+
"type": "string"
43+
},
44+
{
45+
"internalType": "string",
46+
"name": "postprocessJq",
47+
"type": "string"
48+
},
49+
{
50+
"internalType": "string",
51+
"name": "abi_signature",
52+
"type": "string"
53+
}
54+
],
55+
"internalType": "struct IJsonApi.RequestBody",
56+
"name": "requestBody",
57+
"type": "tuple"
58+
},
59+
{
60+
"components": [
61+
{
62+
"internalType": "bytes",
63+
"name": "abi_encoded_data",
64+
"type": "bytes"
65+
}
66+
],
67+
"internalType": "struct IJsonApi.ResponseBody",
68+
"name": "responseBody",
69+
"type": "tuple"
70+
}
71+
],
72+
"internalType": "struct IJsonApi.Response",
73+
"name": "data",
74+
"type": "tuple"
75+
}
76+
],
77+
"internalType": "struct IJsonApi.Proof",
78+
"name": "_proof",
79+
"type": "tuple"
80+
}
81+
],
82+
"name": "verifyJsonApi",
83+
"outputs": [
84+
{
85+
"internalType": "bool",
86+
"name": "_proved",
87+
"type": "bool"
88+
}
89+
],
90+
"stateMutability": "view",
91+
"type": "function"
92+
}
93+
],
94+
"bytecode": "0x",
95+
"deployedBytecode": "0x",
96+
"linkReferences": {},
97+
"deployedLinkReferences": {}
98+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@flarenetwork/flare-periphery-contract-artifacts",
33
"description": "Smart contracts artifacts for all Flare chains",
4-
"version": "0.1.19",
4+
"version": "0.1.20",
55
"author": "Flare Network",
66
"license": "MIT",
77
"main": "./dist/index.js",

0 commit comments

Comments
 (0)