@verify-network/contracts 0.0.0-stage → 0.1.0
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/LICENSE +21 -0
- package/contracts/IDirectVrfReceiver.sol +17 -0
- package/contracts/IVerifyNetworkRouter.sol +40 -0
- package/contracts/IVrfReceiver.sol +14 -0
- package/dist/abi/Balances.d.ts +32 -0
- package/dist/abi/Balances.js +36 -0
- package/dist/abi/BalancesFacet.d.ts +110 -0
- package/dist/abi/BalancesFacet.js +130 -0
- package/dist/abi/Config.d.ts +12 -0
- package/dist/abi/Config.js +12 -0
- package/dist/abi/ConfigFacet.d.ts +360 -0
- package/dist/abi/ConfigFacet.js +412 -0
- package/dist/abi/ECVRFVerifier.d.ts +34 -0
- package/dist/abi/ECVRFVerifier.js +38 -0
- package/dist/abi/IDirectVrfReceiver.d.ts +26 -0
- package/dist/abi/IDirectVrfReceiver.js +31 -0
- package/dist/abi/IECVRFVerifier.d.ts +30 -0
- package/dist/abi/IECVRFVerifier.js +34 -0
- package/dist/abi/IEnclaveAttestationVerifier.d.ts +26 -0
- package/dist/abi/IEnclaveAttestationVerifier.js +30 -0
- package/dist/abi/INitroEnclaveVerifier.d.ts +806 -0
- package/dist/abi/INitroEnclaveVerifier.js +941 -0
- package/dist/abi/INitroProofVerifier.d.ts +81 -0
- package/dist/abi/INitroProofVerifier.js +95 -0
- package/dist/abi/ISP1Verifier.d.ts +22 -0
- package/dist/abi/ISP1Verifier.js +26 -0
- package/dist/abi/ISP1VerifierWithHash.d.ts +32 -0
- package/dist/abi/ISP1VerifierWithHash.js +36 -0
- package/dist/abi/IVerifyNetworkRouter.d.ts +74 -0
- package/dist/abi/IVerifyNetworkRouter.js +80 -0
- package/dist/abi/IVrfReceiver.d.ts +22 -0
- package/dist/abi/IVrfReceiver.js +26 -0
- package/dist/abi/NitroAttestationVerifier.d.ts +252 -0
- package/dist/abi/NitroAttestationVerifier.js +286 -0
- package/dist/abi/NitroEnclaveVerifier.d.ts +985 -0
- package/dist/abi/NitroEnclaveVerifier.js +1146 -0
- package/dist/abi/Nodes.d.ts +60 -0
- package/dist/abi/Nodes.js +74 -0
- package/dist/abi/NodesFacet.d.ts +449 -0
- package/dist/abi/NodesFacet.js +513 -0
- package/dist/abi/Ownable.d.ts +117 -0
- package/dist/abi/Ownable.js +132 -0
- package/dist/abi/Requests.d.ts +16 -0
- package/dist/abi/Requests.js +16 -0
- package/dist/abi/Router.d.ts +343 -0
- package/dist/abi/Router.js +405 -0
- package/dist/abi/RouterInit.d.ts +40 -0
- package/dist/abi/RouterInit.js +45 -0
- package/dist/abi/SP1Verifier.d.ts +140 -0
- package/dist/abi/SP1Verifier.js +159 -0
- package/dist/abi/TrustedNodeEnclaveKeyVerifier.d.ts +130 -0
- package/dist/abi/TrustedNodeEnclaveKeyVerifier.js +146 -0
- package/dist/abi/VRF.d.ts +74 -0
- package/dist/abi/VRF.js +82 -0
- package/dist/abi/Verifier.d.ts +54 -0
- package/dist/abi/Verifier.js +60 -0
- package/dist/abi/VrfFacet.d.ts +906 -0
- package/dist/abi/VrfFacet.js +1090 -0
- package/dist/artifacts.d.ts +2385 -0
- package/dist/artifacts.js +78 -0
- package/dist/diamond.d.ts +51 -0
- package/dist/diamond.js +60 -0
- package/package.json +50 -4
- package/README.md +0 -3
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
//#region abi/INitroProofVerifier.d.ts
|
|
2
|
+
declare const _default: readonly [{
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly internalType: "bytes";
|
|
5
|
+
readonly name: "output";
|
|
6
|
+
readonly type: "bytes";
|
|
7
|
+
}, {
|
|
8
|
+
readonly internalType: "enum ZkCoProcessorType";
|
|
9
|
+
readonly name: "zkCoprocessor";
|
|
10
|
+
readonly type: "uint8";
|
|
11
|
+
}, {
|
|
12
|
+
readonly internalType: "bytes";
|
|
13
|
+
readonly name: "proofBytes";
|
|
14
|
+
readonly type: "bytes";
|
|
15
|
+
}];
|
|
16
|
+
readonly name: "verify";
|
|
17
|
+
readonly outputs: readonly [{
|
|
18
|
+
readonly components: readonly [{
|
|
19
|
+
readonly internalType: "enum VerificationResult";
|
|
20
|
+
readonly name: "result";
|
|
21
|
+
readonly type: "uint8";
|
|
22
|
+
}, {
|
|
23
|
+
readonly internalType: "uint8";
|
|
24
|
+
readonly name: "trustedCertsPrefixLen";
|
|
25
|
+
readonly type: "uint8";
|
|
26
|
+
}, {
|
|
27
|
+
readonly internalType: "uint64";
|
|
28
|
+
readonly name: "timestamp";
|
|
29
|
+
readonly type: "uint64";
|
|
30
|
+
}, {
|
|
31
|
+
readonly internalType: "bytes32[]";
|
|
32
|
+
readonly name: "certs";
|
|
33
|
+
readonly type: "bytes32[]";
|
|
34
|
+
}, {
|
|
35
|
+
readonly internalType: "bytes";
|
|
36
|
+
readonly name: "userData";
|
|
37
|
+
readonly type: "bytes";
|
|
38
|
+
}, {
|
|
39
|
+
readonly internalType: "bytes";
|
|
40
|
+
readonly name: "nonce";
|
|
41
|
+
readonly type: "bytes";
|
|
42
|
+
}, {
|
|
43
|
+
readonly internalType: "bytes";
|
|
44
|
+
readonly name: "publicKey";
|
|
45
|
+
readonly type: "bytes";
|
|
46
|
+
}, {
|
|
47
|
+
readonly components: readonly [{
|
|
48
|
+
readonly internalType: "uint64";
|
|
49
|
+
readonly name: "index";
|
|
50
|
+
readonly type: "uint64";
|
|
51
|
+
}, {
|
|
52
|
+
readonly components: readonly [{
|
|
53
|
+
readonly internalType: "bytes32";
|
|
54
|
+
readonly name: "first";
|
|
55
|
+
readonly type: "bytes32";
|
|
56
|
+
}, {
|
|
57
|
+
readonly internalType: "bytes16";
|
|
58
|
+
readonly name: "second";
|
|
59
|
+
readonly type: "bytes16";
|
|
60
|
+
}];
|
|
61
|
+
readonly internalType: "struct Bytes48";
|
|
62
|
+
readonly name: "value";
|
|
63
|
+
readonly type: "tuple";
|
|
64
|
+
}];
|
|
65
|
+
readonly internalType: "struct Pcr[]";
|
|
66
|
+
readonly name: "pcrs";
|
|
67
|
+
readonly type: "tuple[]";
|
|
68
|
+
}, {
|
|
69
|
+
readonly internalType: "string";
|
|
70
|
+
readonly name: "moduleId";
|
|
71
|
+
readonly type: "string";
|
|
72
|
+
}];
|
|
73
|
+
readonly internalType: "struct VerifierJournal";
|
|
74
|
+
readonly name: "";
|
|
75
|
+
readonly type: "tuple";
|
|
76
|
+
}];
|
|
77
|
+
readonly stateMutability: "nonpayable";
|
|
78
|
+
readonly type: "function";
|
|
79
|
+
}];
|
|
80
|
+
//#endregion
|
|
81
|
+
export { _default as default };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
//#region abi/INitroProofVerifier.ts
|
|
2
|
+
var INitroProofVerifier_default = [{
|
|
3
|
+
"inputs": [
|
|
4
|
+
{
|
|
5
|
+
"internalType": "bytes",
|
|
6
|
+
"name": "output",
|
|
7
|
+
"type": "bytes"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"internalType": "enum ZkCoProcessorType",
|
|
11
|
+
"name": "zkCoprocessor",
|
|
12
|
+
"type": "uint8"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"internalType": "bytes",
|
|
16
|
+
"name": "proofBytes",
|
|
17
|
+
"type": "bytes"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"name": "verify",
|
|
21
|
+
"outputs": [{
|
|
22
|
+
"components": [
|
|
23
|
+
{
|
|
24
|
+
"internalType": "enum VerificationResult",
|
|
25
|
+
"name": "result",
|
|
26
|
+
"type": "uint8"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"internalType": "uint8",
|
|
30
|
+
"name": "trustedCertsPrefixLen",
|
|
31
|
+
"type": "uint8"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"internalType": "uint64",
|
|
35
|
+
"name": "timestamp",
|
|
36
|
+
"type": "uint64"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"internalType": "bytes32[]",
|
|
40
|
+
"name": "certs",
|
|
41
|
+
"type": "bytes32[]"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"internalType": "bytes",
|
|
45
|
+
"name": "userData",
|
|
46
|
+
"type": "bytes"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"internalType": "bytes",
|
|
50
|
+
"name": "nonce",
|
|
51
|
+
"type": "bytes"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"internalType": "bytes",
|
|
55
|
+
"name": "publicKey",
|
|
56
|
+
"type": "bytes"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"components": [{
|
|
60
|
+
"internalType": "uint64",
|
|
61
|
+
"name": "index",
|
|
62
|
+
"type": "uint64"
|
|
63
|
+
}, {
|
|
64
|
+
"components": [{
|
|
65
|
+
"internalType": "bytes32",
|
|
66
|
+
"name": "first",
|
|
67
|
+
"type": "bytes32"
|
|
68
|
+
}, {
|
|
69
|
+
"internalType": "bytes16",
|
|
70
|
+
"name": "second",
|
|
71
|
+
"type": "bytes16"
|
|
72
|
+
}],
|
|
73
|
+
"internalType": "struct Bytes48",
|
|
74
|
+
"name": "value",
|
|
75
|
+
"type": "tuple"
|
|
76
|
+
}],
|
|
77
|
+
"internalType": "struct Pcr[]",
|
|
78
|
+
"name": "pcrs",
|
|
79
|
+
"type": "tuple[]"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"internalType": "string",
|
|
83
|
+
"name": "moduleId",
|
|
84
|
+
"type": "string"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"internalType": "struct VerifierJournal",
|
|
88
|
+
"name": "",
|
|
89
|
+
"type": "tuple"
|
|
90
|
+
}],
|
|
91
|
+
"stateMutability": "nonpayable",
|
|
92
|
+
"type": "function"
|
|
93
|
+
}];
|
|
94
|
+
//#endregion
|
|
95
|
+
export { INitroProofVerifier_default as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region abi/ISP1Verifier.d.ts
|
|
2
|
+
declare const _default: readonly [{
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly internalType: "bytes32";
|
|
5
|
+
readonly name: "programVKey";
|
|
6
|
+
readonly type: "bytes32";
|
|
7
|
+
}, {
|
|
8
|
+
readonly internalType: "bytes";
|
|
9
|
+
readonly name: "publicValues";
|
|
10
|
+
readonly type: "bytes";
|
|
11
|
+
}, {
|
|
12
|
+
readonly internalType: "bytes";
|
|
13
|
+
readonly name: "proofBytes";
|
|
14
|
+
readonly type: "bytes";
|
|
15
|
+
}];
|
|
16
|
+
readonly name: "verifyProof";
|
|
17
|
+
readonly outputs: readonly [];
|
|
18
|
+
readonly stateMutability: "view";
|
|
19
|
+
readonly type: "function";
|
|
20
|
+
}];
|
|
21
|
+
//#endregion
|
|
22
|
+
export { _default as default };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
//#region abi/ISP1Verifier.ts
|
|
2
|
+
var ISP1Verifier_default = [{
|
|
3
|
+
"inputs": [
|
|
4
|
+
{
|
|
5
|
+
"internalType": "bytes32",
|
|
6
|
+
"name": "programVKey",
|
|
7
|
+
"type": "bytes32"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"internalType": "bytes",
|
|
11
|
+
"name": "publicValues",
|
|
12
|
+
"type": "bytes"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"internalType": "bytes",
|
|
16
|
+
"name": "proofBytes",
|
|
17
|
+
"type": "bytes"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"name": "verifyProof",
|
|
21
|
+
"outputs": [],
|
|
22
|
+
"stateMutability": "view",
|
|
23
|
+
"type": "function"
|
|
24
|
+
}];
|
|
25
|
+
//#endregion
|
|
26
|
+
export { ISP1Verifier_default as default };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
//#region abi/ISP1VerifierWithHash.d.ts
|
|
2
|
+
declare const _default: readonly [{
|
|
3
|
+
readonly inputs: readonly [];
|
|
4
|
+
readonly name: "VERIFIER_HASH";
|
|
5
|
+
readonly outputs: readonly [{
|
|
6
|
+
readonly internalType: "bytes32";
|
|
7
|
+
readonly name: "";
|
|
8
|
+
readonly type: "bytes32";
|
|
9
|
+
}];
|
|
10
|
+
readonly stateMutability: "pure";
|
|
11
|
+
readonly type: "function";
|
|
12
|
+
}, {
|
|
13
|
+
readonly inputs: readonly [{
|
|
14
|
+
readonly internalType: "bytes32";
|
|
15
|
+
readonly name: "programVKey";
|
|
16
|
+
readonly type: "bytes32";
|
|
17
|
+
}, {
|
|
18
|
+
readonly internalType: "bytes";
|
|
19
|
+
readonly name: "publicValues";
|
|
20
|
+
readonly type: "bytes";
|
|
21
|
+
}, {
|
|
22
|
+
readonly internalType: "bytes";
|
|
23
|
+
readonly name: "proofBytes";
|
|
24
|
+
readonly type: "bytes";
|
|
25
|
+
}];
|
|
26
|
+
readonly name: "verifyProof";
|
|
27
|
+
readonly outputs: readonly [];
|
|
28
|
+
readonly stateMutability: "view";
|
|
29
|
+
readonly type: "function";
|
|
30
|
+
}];
|
|
31
|
+
//#endregion
|
|
32
|
+
export { _default as default };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region abi/ISP1VerifierWithHash.ts
|
|
2
|
+
var ISP1VerifierWithHash_default = [{
|
|
3
|
+
"inputs": [],
|
|
4
|
+
"name": "VERIFIER_HASH",
|
|
5
|
+
"outputs": [{
|
|
6
|
+
"internalType": "bytes32",
|
|
7
|
+
"name": "",
|
|
8
|
+
"type": "bytes32"
|
|
9
|
+
}],
|
|
10
|
+
"stateMutability": "pure",
|
|
11
|
+
"type": "function"
|
|
12
|
+
}, {
|
|
13
|
+
"inputs": [
|
|
14
|
+
{
|
|
15
|
+
"internalType": "bytes32",
|
|
16
|
+
"name": "programVKey",
|
|
17
|
+
"type": "bytes32"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"internalType": "bytes",
|
|
21
|
+
"name": "publicValues",
|
|
22
|
+
"type": "bytes"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"internalType": "bytes",
|
|
26
|
+
"name": "proofBytes",
|
|
27
|
+
"type": "bytes"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"name": "verifyProof",
|
|
31
|
+
"outputs": [],
|
|
32
|
+
"stateMutability": "view",
|
|
33
|
+
"type": "function"
|
|
34
|
+
}];
|
|
35
|
+
//#endregion
|
|
36
|
+
export { ISP1VerifierWithHash_default as default };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
//#region abi/IVerifyNetworkRouter.d.ts
|
|
2
|
+
declare const _default: readonly [{
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly internalType: "address";
|
|
5
|
+
readonly name: "account";
|
|
6
|
+
readonly type: "address";
|
|
7
|
+
}];
|
|
8
|
+
readonly name: "balanceOf";
|
|
9
|
+
readonly outputs: readonly [{
|
|
10
|
+
readonly internalType: "uint256";
|
|
11
|
+
readonly name: "";
|
|
12
|
+
readonly type: "uint256";
|
|
13
|
+
}];
|
|
14
|
+
readonly stateMutability: "view";
|
|
15
|
+
readonly type: "function";
|
|
16
|
+
}, {
|
|
17
|
+
readonly inputs: readonly [{
|
|
18
|
+
readonly internalType: "address";
|
|
19
|
+
readonly name: "account";
|
|
20
|
+
readonly type: "address";
|
|
21
|
+
}];
|
|
22
|
+
readonly name: "deposit";
|
|
23
|
+
readonly outputs: readonly [];
|
|
24
|
+
readonly stateMutability: "payable";
|
|
25
|
+
readonly type: "function";
|
|
26
|
+
}, {
|
|
27
|
+
readonly inputs: readonly [{
|
|
28
|
+
readonly internalType: "bytes";
|
|
29
|
+
readonly name: "callbackData";
|
|
30
|
+
readonly type: "bytes";
|
|
31
|
+
}, {
|
|
32
|
+
readonly internalType: "uint32";
|
|
33
|
+
readonly name: "callbackGasLimit";
|
|
34
|
+
readonly type: "uint32";
|
|
35
|
+
}];
|
|
36
|
+
readonly name: "requestRandomness";
|
|
37
|
+
readonly outputs: readonly [{
|
|
38
|
+
readonly internalType: "bytes32";
|
|
39
|
+
readonly name: "requestId";
|
|
40
|
+
readonly type: "bytes32";
|
|
41
|
+
}];
|
|
42
|
+
readonly stateMutability: "payable";
|
|
43
|
+
readonly type: "function";
|
|
44
|
+
}, {
|
|
45
|
+
readonly inputs: readonly [{
|
|
46
|
+
readonly internalType: "bytes";
|
|
47
|
+
readonly name: "callbackData";
|
|
48
|
+
readonly type: "bytes";
|
|
49
|
+
}];
|
|
50
|
+
readonly name: "requestRandomness";
|
|
51
|
+
readonly outputs: readonly [{
|
|
52
|
+
readonly internalType: "bytes32";
|
|
53
|
+
readonly name: "requestId";
|
|
54
|
+
readonly type: "bytes32";
|
|
55
|
+
}];
|
|
56
|
+
readonly stateMutability: "payable";
|
|
57
|
+
readonly type: "function";
|
|
58
|
+
}, {
|
|
59
|
+
readonly inputs: readonly [{
|
|
60
|
+
readonly internalType: "address";
|
|
61
|
+
readonly name: "recipient";
|
|
62
|
+
readonly type: "address";
|
|
63
|
+
}, {
|
|
64
|
+
readonly internalType: "uint256";
|
|
65
|
+
readonly name: "amount";
|
|
66
|
+
readonly type: "uint256";
|
|
67
|
+
}];
|
|
68
|
+
readonly name: "withdraw";
|
|
69
|
+
readonly outputs: readonly [];
|
|
70
|
+
readonly stateMutability: "nonpayable";
|
|
71
|
+
readonly type: "function";
|
|
72
|
+
}];
|
|
73
|
+
//#endregion
|
|
74
|
+
export { _default as default };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
//#region abi/IVerifyNetworkRouter.ts
|
|
2
|
+
var IVerifyNetworkRouter_default = [
|
|
3
|
+
{
|
|
4
|
+
"inputs": [{
|
|
5
|
+
"internalType": "address",
|
|
6
|
+
"name": "account",
|
|
7
|
+
"type": "address"
|
|
8
|
+
}],
|
|
9
|
+
"name": "balanceOf",
|
|
10
|
+
"outputs": [{
|
|
11
|
+
"internalType": "uint256",
|
|
12
|
+
"name": "",
|
|
13
|
+
"type": "uint256"
|
|
14
|
+
}],
|
|
15
|
+
"stateMutability": "view",
|
|
16
|
+
"type": "function"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"inputs": [{
|
|
20
|
+
"internalType": "address",
|
|
21
|
+
"name": "account",
|
|
22
|
+
"type": "address"
|
|
23
|
+
}],
|
|
24
|
+
"name": "deposit",
|
|
25
|
+
"outputs": [],
|
|
26
|
+
"stateMutability": "payable",
|
|
27
|
+
"type": "function"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"inputs": [{
|
|
31
|
+
"internalType": "bytes",
|
|
32
|
+
"name": "callbackData",
|
|
33
|
+
"type": "bytes"
|
|
34
|
+
}, {
|
|
35
|
+
"internalType": "uint32",
|
|
36
|
+
"name": "callbackGasLimit",
|
|
37
|
+
"type": "uint32"
|
|
38
|
+
}],
|
|
39
|
+
"name": "requestRandomness",
|
|
40
|
+
"outputs": [{
|
|
41
|
+
"internalType": "bytes32",
|
|
42
|
+
"name": "requestId",
|
|
43
|
+
"type": "bytes32"
|
|
44
|
+
}],
|
|
45
|
+
"stateMutability": "payable",
|
|
46
|
+
"type": "function"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"inputs": [{
|
|
50
|
+
"internalType": "bytes",
|
|
51
|
+
"name": "callbackData",
|
|
52
|
+
"type": "bytes"
|
|
53
|
+
}],
|
|
54
|
+
"name": "requestRandomness",
|
|
55
|
+
"outputs": [{
|
|
56
|
+
"internalType": "bytes32",
|
|
57
|
+
"name": "requestId",
|
|
58
|
+
"type": "bytes32"
|
|
59
|
+
}],
|
|
60
|
+
"stateMutability": "payable",
|
|
61
|
+
"type": "function"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"inputs": [{
|
|
65
|
+
"internalType": "address",
|
|
66
|
+
"name": "recipient",
|
|
67
|
+
"type": "address"
|
|
68
|
+
}, {
|
|
69
|
+
"internalType": "uint256",
|
|
70
|
+
"name": "amount",
|
|
71
|
+
"type": "uint256"
|
|
72
|
+
}],
|
|
73
|
+
"name": "withdraw",
|
|
74
|
+
"outputs": [],
|
|
75
|
+
"stateMutability": "nonpayable",
|
|
76
|
+
"type": "function"
|
|
77
|
+
}
|
|
78
|
+
];
|
|
79
|
+
//#endregion
|
|
80
|
+
export { IVerifyNetworkRouter_default as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region abi/IVrfReceiver.d.ts
|
|
2
|
+
declare const _default: readonly [{
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly internalType: "bytes32";
|
|
5
|
+
readonly name: "requestId";
|
|
6
|
+
readonly type: "bytes32";
|
|
7
|
+
}, {
|
|
8
|
+
readonly internalType: "bytes32";
|
|
9
|
+
readonly name: "randomness";
|
|
10
|
+
readonly type: "bytes32";
|
|
11
|
+
}, {
|
|
12
|
+
readonly internalType: "bytes";
|
|
13
|
+
readonly name: "callbackData";
|
|
14
|
+
readonly type: "bytes";
|
|
15
|
+
}];
|
|
16
|
+
readonly name: "onRandomnessFulfilled";
|
|
17
|
+
readonly outputs: readonly [];
|
|
18
|
+
readonly stateMutability: "nonpayable";
|
|
19
|
+
readonly type: "function";
|
|
20
|
+
}];
|
|
21
|
+
//#endregion
|
|
22
|
+
export { _default as default };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
//#region abi/IVrfReceiver.ts
|
|
2
|
+
var IVrfReceiver_default = [{
|
|
3
|
+
"inputs": [
|
|
4
|
+
{
|
|
5
|
+
"internalType": "bytes32",
|
|
6
|
+
"name": "requestId",
|
|
7
|
+
"type": "bytes32"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"internalType": "bytes32",
|
|
11
|
+
"name": "randomness",
|
|
12
|
+
"type": "bytes32"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"internalType": "bytes",
|
|
16
|
+
"name": "callbackData",
|
|
17
|
+
"type": "bytes"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"name": "onRandomnessFulfilled",
|
|
21
|
+
"outputs": [],
|
|
22
|
+
"stateMutability": "nonpayable",
|
|
23
|
+
"type": "function"
|
|
24
|
+
}];
|
|
25
|
+
//#endregion
|
|
26
|
+
export { IVrfReceiver_default as default };
|