@flarenetwork/flare-periphery-contract-artifacts 0.1.2 → 0.1.4
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/StateConnector/configs/AddressValidity.json +326 -0
- package/coston/StateConnector/configs/BalanceDecreasingTransaction.json +379 -0
- package/coston/StateConnector/configs/ConfirmedBlockHeightExists.json +363 -0
- package/coston/StateConnector/configs/EVMTransaction.json +600 -0
- package/coston/StateConnector/configs/Payment.json +512 -0
- package/coston/StateConnector/configs/ReferencedPaymentNonexistence.json +431 -0
- package/coston/StateConnector/configs/TypeTemplate.json +555 -0
- package/coston/artifacts/contracts/StateConnector/interface/AddressValidity.sol/AddressValidity.json +10 -0
- package/coston/artifacts/contracts/StateConnector/interface/BalanceDecreasingTransaction.sol/BalanceDecreasingTransaction.json +10 -0
- package/coston/artifacts/contracts/StateConnector/interface/ConfirmedBlockHeightExists.sol/ConfirmedBlockHeightExists.json +10 -0
- package/coston/artifacts/contracts/StateConnector/interface/EVMTransaction.sol/EVMTransaction.json +10 -0
- package/coston/artifacts/contracts/StateConnector/interface/IAddressValidityVerification.sol/IAddressValidityVerification.json +98 -0
- package/coston/artifacts/contracts/StateConnector/interface/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +113 -0
- package/coston/artifacts/contracts/StateConnector/interface/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +108 -0
- package/coston/artifacts/contracts/StateConnector/interface/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +175 -0
- package/coston/artifacts/contracts/StateConnector/interface/IPaymentVerification.sol/IPaymentVerification.json +153 -0
- package/coston/artifacts/contracts/StateConnector/interface/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +123 -0
- package/coston/artifacts/contracts/StateConnector/interface/IStateConnector.sol/IStateConnector.json +126 -0
- package/coston/artifacts/contracts/StateConnector/interface/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +149 -0
- package/coston/artifacts/contracts/StateConnector/interface/Payment.sol/Payment.json +10 -0
- package/coston/artifacts/contracts/StateConnector/interface/ReferencedPaymentNonexistence.sol/ReferencedPaymentNonexistence.json +10 -0
- package/coston/artifacts/contracts/StateConnector/interface/TypeTemplate.sol/TypeTemplate.json +10 -0
- package/coston/deploys/contracts.json +31 -1
- package/dist/coston/StateConnector/typescript/AddressValidity.d.ts +9 -5
- package/dist/coston/StateConnector/typescript/AddressValidity.d.ts.map +1 -1
- package/dist/coston/StateConnector/typescript/AddressValidity.js.map +1 -1
- package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts +6 -6
- package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts +6 -6
- package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts +9 -9
- package/dist/coston/StateConnector/typescript/Payment.d.ts +14 -14
- package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts +4 -4
- package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts +4 -4
- package/dist/coston/abis.d.ts.map +1 -1
- package/dist/coston/abis.js +30 -0
- package/dist/coston/abis.js.map +1 -1
- package/dist/coston/artifacts/contracts/StateConnector/interface/AddressValidity.sol/AddressValidity.json +10 -0
- package/dist/coston/artifacts/contracts/StateConnector/interface/BalanceDecreasingTransaction.sol/BalanceDecreasingTransaction.json +10 -0
- package/dist/coston/artifacts/contracts/StateConnector/interface/ConfirmedBlockHeightExists.sol/ConfirmedBlockHeightExists.json +10 -0
- package/dist/coston/artifacts/contracts/StateConnector/interface/EVMTransaction.sol/EVMTransaction.json +10 -0
- package/dist/coston/artifacts/contracts/StateConnector/interface/IAddressValidityVerification.sol/IAddressValidityVerification.json +98 -0
- package/dist/coston/artifacts/contracts/StateConnector/interface/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +113 -0
- package/dist/coston/artifacts/contracts/StateConnector/interface/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +108 -0
- package/dist/coston/artifacts/contracts/StateConnector/interface/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +175 -0
- package/dist/coston/artifacts/contracts/StateConnector/interface/IPaymentVerification.sol/IPaymentVerification.json +153 -0
- package/dist/coston/artifacts/contracts/StateConnector/interface/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +123 -0
- package/dist/coston/artifacts/contracts/StateConnector/interface/IStateConnector.sol/IStateConnector.json +126 -0
- package/dist/coston/artifacts/contracts/StateConnector/interface/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +149 -0
- package/dist/coston/artifacts/contracts/StateConnector/interface/Payment.sol/Payment.json +10 -0
- package/dist/coston/artifacts/contracts/StateConnector/interface/ReferencedPaymentNonexistence.sol/ReferencedPaymentNonexistence.json +10 -0
- package/dist/coston/artifacts/contracts/StateConnector/interface/TypeTemplate.sol/TypeTemplate.json +10 -0
- package/dist/coston/deploys/contracts.json +31 -1
- package/package.json +2 -1
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IAddressValidityVerification",
|
|
4
|
+
"sourceName": "contracts/StateConnector/interface/IAddressValidityVerification.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": "addressStr",
|
|
42
|
+
"type": "string"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"internalType": "struct AddressValidity.RequestBody",
|
|
46
|
+
"name": "requestBody",
|
|
47
|
+
"type": "tuple"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"components": [
|
|
51
|
+
{
|
|
52
|
+
"internalType": "bool",
|
|
53
|
+
"name": "isValid",
|
|
54
|
+
"type": "bool"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"internalType": "string",
|
|
58
|
+
"name": "standardAddress",
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"internalType": "bytes32",
|
|
63
|
+
"name": "standardAddressHash",
|
|
64
|
+
"type": "bytes32"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"internalType": "struct AddressValidity.ResponseBody",
|
|
68
|
+
"name": "responseBody",
|
|
69
|
+
"type": "tuple"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"internalType": "struct AddressValidity.Response",
|
|
73
|
+
"name": "data",
|
|
74
|
+
"type": "tuple"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"internalType": "struct AddressValidity.Proof",
|
|
78
|
+
"name": "_proof",
|
|
79
|
+
"type": "tuple"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"name": "verifyAddressValidity",
|
|
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
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IBalanceDecreasingTransactionVerification",
|
|
4
|
+
"sourceName": "contracts/StateConnector/interface/IBalanceDecreasingTransactionVerification.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": "bytes32",
|
|
41
|
+
"name": "transactionId",
|
|
42
|
+
"type": "bytes32"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"internalType": "bytes32",
|
|
46
|
+
"name": "sourceAddressIndicator",
|
|
47
|
+
"type": "bytes32"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"internalType": "struct BalanceDecreasingTransaction.RequestBody",
|
|
51
|
+
"name": "requestBody",
|
|
52
|
+
"type": "tuple"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"components": [
|
|
56
|
+
{
|
|
57
|
+
"internalType": "uint64",
|
|
58
|
+
"name": "blockNumber",
|
|
59
|
+
"type": "uint64"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"internalType": "uint64",
|
|
63
|
+
"name": "blockTimestamp",
|
|
64
|
+
"type": "uint64"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"internalType": "bytes32",
|
|
68
|
+
"name": "sourceAddressHash",
|
|
69
|
+
"type": "bytes32"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"internalType": "int256",
|
|
73
|
+
"name": "spentAmount",
|
|
74
|
+
"type": "int256"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"internalType": "bytes32",
|
|
78
|
+
"name": "standardPaymentReference",
|
|
79
|
+
"type": "bytes32"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"internalType": "struct BalanceDecreasingTransaction.ResponseBody",
|
|
83
|
+
"name": "responseBody",
|
|
84
|
+
"type": "tuple"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"internalType": "struct BalanceDecreasingTransaction.Response",
|
|
88
|
+
"name": "data",
|
|
89
|
+
"type": "tuple"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"internalType": "struct BalanceDecreasingTransaction.Proof",
|
|
93
|
+
"name": "_proof",
|
|
94
|
+
"type": "tuple"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"name": "verifyBalanceDecreasingTransaction",
|
|
98
|
+
"outputs": [
|
|
99
|
+
{
|
|
100
|
+
"internalType": "bool",
|
|
101
|
+
"name": "_proved",
|
|
102
|
+
"type": "bool"
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"stateMutability": "view",
|
|
106
|
+
"type": "function"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"bytecode": "0x",
|
|
110
|
+
"deployedBytecode": "0x",
|
|
111
|
+
"linkReferences": {},
|
|
112
|
+
"deployedLinkReferences": {}
|
|
113
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IConfirmedBlockHeightExistsVerification",
|
|
4
|
+
"sourceName": "contracts/StateConnector/interface/IConfirmedBlockHeightExistsVerification.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": "uint64",
|
|
41
|
+
"name": "blockNumber",
|
|
42
|
+
"type": "uint64"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"internalType": "uint64",
|
|
46
|
+
"name": "queryWindow",
|
|
47
|
+
"type": "uint64"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"internalType": "struct ConfirmedBlockHeightExists.RequestBody",
|
|
51
|
+
"name": "requestBody",
|
|
52
|
+
"type": "tuple"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"components": [
|
|
56
|
+
{
|
|
57
|
+
"internalType": "uint64",
|
|
58
|
+
"name": "blockTimestamp",
|
|
59
|
+
"type": "uint64"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"internalType": "uint64",
|
|
63
|
+
"name": "numberOfConfirmations",
|
|
64
|
+
"type": "uint64"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"internalType": "uint64",
|
|
68
|
+
"name": "lowestQueryWindowBlockNumber",
|
|
69
|
+
"type": "uint64"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"internalType": "uint64",
|
|
73
|
+
"name": "lowestQueryWindowBlockTimestamp",
|
|
74
|
+
"type": "uint64"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"internalType": "struct ConfirmedBlockHeightExists.ResponseBody",
|
|
78
|
+
"name": "responseBody",
|
|
79
|
+
"type": "tuple"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"internalType": "struct ConfirmedBlockHeightExists.Response",
|
|
83
|
+
"name": "data",
|
|
84
|
+
"type": "tuple"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"internalType": "struct ConfirmedBlockHeightExists.Proof",
|
|
88
|
+
"name": "_proof",
|
|
89
|
+
"type": "tuple"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"name": "verifyConfirmedBlockHeightExists",
|
|
93
|
+
"outputs": [
|
|
94
|
+
{
|
|
95
|
+
"internalType": "bool",
|
|
96
|
+
"name": "_proved",
|
|
97
|
+
"type": "bool"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"stateMutability": "view",
|
|
101
|
+
"type": "function"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"bytecode": "0x",
|
|
105
|
+
"deployedBytecode": "0x",
|
|
106
|
+
"linkReferences": {},
|
|
107
|
+
"deployedLinkReferences": {}
|
|
108
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IEVMTransactionVerification",
|
|
4
|
+
"sourceName": "contracts/StateConnector/interface/IEVMTransactionVerification.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": "bytes32",
|
|
41
|
+
"name": "transactionHash",
|
|
42
|
+
"type": "bytes32"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"internalType": "uint16",
|
|
46
|
+
"name": "requiredConfirmations",
|
|
47
|
+
"type": "uint16"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"internalType": "bool",
|
|
51
|
+
"name": "provideInput",
|
|
52
|
+
"type": "bool"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"internalType": "bool",
|
|
56
|
+
"name": "listEvents",
|
|
57
|
+
"type": "bool"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"internalType": "uint32[]",
|
|
61
|
+
"name": "logIndices",
|
|
62
|
+
"type": "uint32[]"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"internalType": "struct EVMTransaction.RequestBody",
|
|
66
|
+
"name": "requestBody",
|
|
67
|
+
"type": "tuple"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"components": [
|
|
71
|
+
{
|
|
72
|
+
"internalType": "uint64",
|
|
73
|
+
"name": "blockNumber",
|
|
74
|
+
"type": "uint64"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"internalType": "uint64",
|
|
78
|
+
"name": "timestamp",
|
|
79
|
+
"type": "uint64"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"internalType": "address",
|
|
83
|
+
"name": "sourceAddress",
|
|
84
|
+
"type": "address"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"internalType": "bool",
|
|
88
|
+
"name": "isDeployment",
|
|
89
|
+
"type": "bool"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"internalType": "address",
|
|
93
|
+
"name": "receivingAddress",
|
|
94
|
+
"type": "address"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"internalType": "uint256",
|
|
98
|
+
"name": "value",
|
|
99
|
+
"type": "uint256"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"internalType": "bytes",
|
|
103
|
+
"name": "input",
|
|
104
|
+
"type": "bytes"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"internalType": "uint8",
|
|
108
|
+
"name": "status",
|
|
109
|
+
"type": "uint8"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"components": [
|
|
113
|
+
{
|
|
114
|
+
"internalType": "uint32",
|
|
115
|
+
"name": "logIndex",
|
|
116
|
+
"type": "uint32"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"internalType": "address",
|
|
120
|
+
"name": "emitterAddress",
|
|
121
|
+
"type": "address"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"internalType": "bytes32[]",
|
|
125
|
+
"name": "topics",
|
|
126
|
+
"type": "bytes32[]"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"internalType": "bytes",
|
|
130
|
+
"name": "data",
|
|
131
|
+
"type": "bytes"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"internalType": "bool",
|
|
135
|
+
"name": "removed",
|
|
136
|
+
"type": "bool"
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"internalType": "struct EVMTransaction.Event[]",
|
|
140
|
+
"name": "events",
|
|
141
|
+
"type": "tuple[]"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"internalType": "struct EVMTransaction.ResponseBody",
|
|
145
|
+
"name": "responseBody",
|
|
146
|
+
"type": "tuple"
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"internalType": "struct EVMTransaction.Response",
|
|
150
|
+
"name": "data",
|
|
151
|
+
"type": "tuple"
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"internalType": "struct EVMTransaction.Proof",
|
|
155
|
+
"name": "_proof",
|
|
156
|
+
"type": "tuple"
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
"name": "verifyEVMTransaction",
|
|
160
|
+
"outputs": [
|
|
161
|
+
{
|
|
162
|
+
"internalType": "bool",
|
|
163
|
+
"name": "_proved",
|
|
164
|
+
"type": "bool"
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"stateMutability": "view",
|
|
168
|
+
"type": "function"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"bytecode": "0x",
|
|
172
|
+
"deployedBytecode": "0x",
|
|
173
|
+
"linkReferences": {},
|
|
174
|
+
"deployedLinkReferences": {}
|
|
175
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IPaymentVerification",
|
|
4
|
+
"sourceName": "contracts/StateConnector/interface/IPaymentVerification.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": "bytes32",
|
|
41
|
+
"name": "transactionId",
|
|
42
|
+
"type": "bytes32"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"internalType": "uint256",
|
|
46
|
+
"name": "inUtxo",
|
|
47
|
+
"type": "uint256"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"internalType": "uint256",
|
|
51
|
+
"name": "utxo",
|
|
52
|
+
"type": "uint256"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"internalType": "struct Payment.RequestBody",
|
|
56
|
+
"name": "requestBody",
|
|
57
|
+
"type": "tuple"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"components": [
|
|
61
|
+
{
|
|
62
|
+
"internalType": "uint64",
|
|
63
|
+
"name": "blockNumber",
|
|
64
|
+
"type": "uint64"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"internalType": "uint64",
|
|
68
|
+
"name": "blockTimestamp",
|
|
69
|
+
"type": "uint64"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"internalType": "bytes32",
|
|
73
|
+
"name": "sourceAddressHash",
|
|
74
|
+
"type": "bytes32"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"internalType": "bytes32",
|
|
78
|
+
"name": "receivingAddressHash",
|
|
79
|
+
"type": "bytes32"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"internalType": "bytes32",
|
|
83
|
+
"name": "intendedReceivingAddressHash",
|
|
84
|
+
"type": "bytes32"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"internalType": "int256",
|
|
88
|
+
"name": "spentAmount",
|
|
89
|
+
"type": "int256"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"internalType": "int256",
|
|
93
|
+
"name": "intendedSpentAmount",
|
|
94
|
+
"type": "int256"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"internalType": "int256",
|
|
98
|
+
"name": "receivedAmount",
|
|
99
|
+
"type": "int256"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"internalType": "int256",
|
|
103
|
+
"name": "intendedReceivedAmount",
|
|
104
|
+
"type": "int256"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"internalType": "bytes32",
|
|
108
|
+
"name": "standardPaymentReference",
|
|
109
|
+
"type": "bytes32"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"internalType": "bool",
|
|
113
|
+
"name": "oneToOne",
|
|
114
|
+
"type": "bool"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"internalType": "uint8",
|
|
118
|
+
"name": "status",
|
|
119
|
+
"type": "uint8"
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"internalType": "struct Payment.ResponseBody",
|
|
123
|
+
"name": "responseBody",
|
|
124
|
+
"type": "tuple"
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
"internalType": "struct Payment.Response",
|
|
128
|
+
"name": "data",
|
|
129
|
+
"type": "tuple"
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
"internalType": "struct Payment.Proof",
|
|
133
|
+
"name": "_proof",
|
|
134
|
+
"type": "tuple"
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"name": "verifyPayment",
|
|
138
|
+
"outputs": [
|
|
139
|
+
{
|
|
140
|
+
"internalType": "bool",
|
|
141
|
+
"name": "_proved",
|
|
142
|
+
"type": "bool"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"stateMutability": "view",
|
|
146
|
+
"type": "function"
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"bytecode": "0x",
|
|
150
|
+
"deployedBytecode": "0x",
|
|
151
|
+
"linkReferences": {},
|
|
152
|
+
"deployedLinkReferences": {}
|
|
153
|
+
}
|