tempo.ts 0.0.0 → 0.0.1
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 +92 -0
- package/dist/chains.d.ts +1477 -0
- package/dist/chains.d.ts.map +1 -0
- package/dist/chains.js +43 -0
- package/dist/chains.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/types.d.ts +284 -0
- package/dist/internal/types.d.ts.map +1 -0
- package/dist/internal/types.js +2 -0
- package/dist/internal/types.js.map +1 -0
- package/dist/ox/TokenId.d.ts +18 -0
- package/dist/ox/TokenId.d.ts.map +1 -0
- package/dist/ox/TokenId.js +29 -0
- package/dist/ox/TokenId.js.map +1 -0
- package/dist/ox/TokenRole.d.ts +11 -0
- package/dist/ox/TokenRole.d.ts.map +1 -0
- package/dist/ox/TokenRole.js +22 -0
- package/dist/ox/TokenRole.js.map +1 -0
- package/dist/ox/Transaction.d.ts +161 -0
- package/dist/ox/Transaction.d.ts.map +1 -0
- package/dist/ox/Transaction.js +117 -0
- package/dist/ox/Transaction.js.map +1 -0
- package/dist/ox/TransactionEnvelopeFeeToken.d.ts +393 -0
- package/dist/ox/TransactionEnvelopeFeeToken.d.ts.map +1 -0
- package/dist/ox/TransactionEnvelopeFeeToken.js +452 -0
- package/dist/ox/TransactionEnvelopeFeeToken.js.map +1 -0
- package/dist/ox/TransactionRequest.d.ts +62 -0
- package/dist/ox/TransactionRequest.d.ts.map +1 -0
- package/dist/ox/TransactionRequest.js +66 -0
- package/dist/ox/TransactionRequest.js.map +1 -0
- package/dist/ox/index.d.ts +5 -0
- package/dist/ox/index.d.ts.map +1 -0
- package/dist/ox/index.js +5 -0
- package/dist/ox/index.js.map +1 -0
- package/dist/prool/Instance.d.ts +92 -0
- package/dist/prool/Instance.d.ts.map +1 -0
- package/dist/prool/Instance.js +96 -0
- package/dist/prool/Instance.js.map +1 -0
- package/dist/prool/index.d.ts +2 -0
- package/dist/prool/index.d.ts.map +1 -0
- package/dist/prool/index.js +2 -0
- package/dist/prool/index.js.map +1 -0
- package/dist/viem/abis.d.ts +2058 -0
- package/dist/viem/abis.d.ts.map +1 -0
- package/dist/viem/abis.js +1599 -0
- package/dist/viem/abis.js.map +1 -0
- package/dist/viem/actions/amm.d.ts +2091 -0
- package/dist/viem/actions/amm.d.ts.map +1 -0
- package/dist/viem/actions/amm.js +876 -0
- package/dist/viem/actions/amm.js.map +1 -0
- package/dist/viem/actions/fee.d.ts +727 -0
- package/dist/viem/actions/fee.d.ts.map +1 -0
- package/dist/viem/actions/fee.js +230 -0
- package/dist/viem/actions/fee.js.map +1 -0
- package/dist/viem/actions/index.d.ts +5 -0
- package/dist/viem/actions/index.d.ts.map +1 -0
- package/dist/viem/actions/index.js +5 -0
- package/dist/viem/actions/index.js.map +1 -0
- package/dist/viem/actions/policy.d.ts +1900 -0
- package/dist/viem/actions/policy.d.ts.map +1 -0
- package/dist/viem/actions/policy.js +841 -0
- package/dist/viem/actions/policy.js.map +1 -0
- package/dist/viem/actions/token.d.ts +13759 -0
- package/dist/viem/actions/token.d.ts.map +1 -0
- package/dist/viem/actions/token.js +2579 -0
- package/dist/viem/actions/token.js.map +1 -0
- package/dist/viem/addresses.d.ts +8 -0
- package/dist/viem/addresses.d.ts.map +1 -0
- package/dist/viem/addresses.js +8 -0
- package/dist/viem/addresses.js.map +1 -0
- package/dist/viem/chain.d.ts +341 -0
- package/dist/viem/chain.d.ts.map +1 -0
- package/dist/viem/chain.js +22 -0
- package/dist/viem/chain.js.map +1 -0
- package/dist/viem/client.d.ts +27 -0
- package/dist/viem/client.d.ts.map +1 -0
- package/dist/viem/client.js +28 -0
- package/dist/viem/client.js.map +1 -0
- package/dist/viem/decorator.d.ts +1636 -0
- package/dist/viem/decorator.d.ts.map +1 -0
- package/dist/viem/decorator.js +95 -0
- package/dist/viem/decorator.js.map +1 -0
- package/dist/viem/formatters.d.ts +4 -0
- package/dist/viem/formatters.d.ts.map +1 -0
- package/dist/viem/formatters.js +69 -0
- package/dist/viem/formatters.js.map +1 -0
- package/dist/viem/index.d.ts +9 -0
- package/dist/viem/index.d.ts.map +1 -0
- package/dist/viem/index.js +9 -0
- package/dist/viem/index.js.map +1 -0
- package/dist/viem/transaction.d.ts +54 -0
- package/dist/viem/transaction.d.ts.map +1 -0
- package/dist/viem/transaction.js +108 -0
- package/dist/viem/transaction.js.map +1 -0
- package/dist/viem/transport.d.ts +16 -0
- package/dist/viem/transport.d.ts.map +1 -0
- package/dist/viem/transport.js +33 -0
- package/dist/viem/transport.js.map +1 -0
- package/dist/viem/types.d.ts +10 -0
- package/dist/viem/types.d.ts.map +1 -0
- package/dist/viem/types.js +2 -0
- package/dist/viem/types.js.map +1 -0
- package/dist/viem/utils.d.ts +8 -0
- package/dist/viem/utils.d.ts.map +1 -0
- package/dist/viem/utils.js +9 -0
- package/dist/viem/utils.js.map +1 -0
- package/package.json +100 -2
- package/src/chains.ts +46 -0
- package/src/index.ts +1 -0
- package/src/internal/types.ts +414 -0
- package/src/ox/TokenId.test.ts +29 -0
- package/src/ox/TokenId.ts +35 -0
- package/src/ox/TokenRole.test.ts +20 -0
- package/src/ox/TokenRole.ts +27 -0
- package/src/ox/Transaction.test.ts +257 -0
- package/src/ox/Transaction.ts +247 -0
- package/src/ox/TransactionEnvelopeFeeToken.test.ts +1215 -0
- package/src/ox/TransactionEnvelopeFeeToken.ts +717 -0
- package/src/ox/TransactionRequest.ts +100 -0
- package/src/ox/index.ts +4 -0
- package/src/prool/Instance.test.ts +43 -0
- package/src/prool/Instance.ts +190 -0
- package/src/prool/index.ts +1 -0
- package/src/prool/internal/chain.json +106 -0
- package/src/prool/internal/consensus.toml +32 -0
- package/src/viem/abis.ts +1606 -0
- package/src/viem/actions/amm.test.ts +425 -0
- package/src/viem/actions/amm.ts +1308 -0
- package/src/viem/actions/fee.test.ts +281 -0
- package/src/viem/actions/fee.ts +362 -0
- package/src/viem/actions/index.ts +4 -0
- package/src/viem/actions/policy.test.ts +514 -0
- package/src/viem/actions/policy.ts +1284 -0
- package/src/viem/actions/token.test.ts +2172 -0
- package/src/viem/actions/token.ts +3830 -0
- package/src/viem/addresses.ts +10 -0
- package/src/viem/chain.ts +27 -0
- package/src/viem/client.bench-d.ts +8 -0
- package/src/viem/client.test.ts +152 -0
- package/src/viem/client.ts +91 -0
- package/src/viem/decorator.bench-d.ts +11 -0
- package/src/viem/decorator.test.ts +35 -0
- package/src/viem/decorator.ts +1914 -0
- package/src/viem/e2e.test.ts +410 -0
- package/src/viem/formatters.ts +100 -0
- package/src/viem/index.ts +8 -0
- package/src/viem/transaction.ts +253 -0
- package/src/viem/transport.ts +47 -0
- package/src/viem/types.ts +55 -0
- package/src/viem/utils.ts +37 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines a Tempo instance.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```ts
|
|
6
|
+
* const instance = tempo()
|
|
7
|
+
* await instance.start()
|
|
8
|
+
* // ...
|
|
9
|
+
* await instance.stop()
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export declare const tempo: import("prool").DefineInstanceReturnType<{
|
|
13
|
+
args: {
|
|
14
|
+
/**
|
|
15
|
+
* Host the server will listen on.
|
|
16
|
+
*/
|
|
17
|
+
host?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Port the server will listen on.
|
|
20
|
+
*/
|
|
21
|
+
port?: number | undefined;
|
|
22
|
+
};
|
|
23
|
+
readonly process: import("prool/processes").Process_internal;
|
|
24
|
+
}, tempo.Parameters>;
|
|
25
|
+
export declare namespace tempo {
|
|
26
|
+
type Parameters = {
|
|
27
|
+
/**
|
|
28
|
+
* Path or alias to the Tempo binary.
|
|
29
|
+
*/
|
|
30
|
+
binary?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Builder options.
|
|
33
|
+
*/
|
|
34
|
+
builder?: {
|
|
35
|
+
/**
|
|
36
|
+
* The deadline for when the payload builder job should resolve.
|
|
37
|
+
*/
|
|
38
|
+
deadline?: number | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Target gas limit for built blocks.
|
|
41
|
+
*/
|
|
42
|
+
gaslimit?: bigint | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Maximum number of tasks to spawn for building a payload.
|
|
45
|
+
*/
|
|
46
|
+
maxTasks?: number | undefined;
|
|
47
|
+
} | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Chain this node is running.
|
|
50
|
+
*/
|
|
51
|
+
chain?: string | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Consensus configuration for this node.
|
|
54
|
+
*/
|
|
55
|
+
consensusConfig?: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Development options.
|
|
58
|
+
*/
|
|
59
|
+
dev?: {
|
|
60
|
+
/**
|
|
61
|
+
* Interval between blocks.
|
|
62
|
+
*/
|
|
63
|
+
blockTime?: number | undefined;
|
|
64
|
+
} | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Faucet options.
|
|
67
|
+
*/
|
|
68
|
+
faucet?: {
|
|
69
|
+
/**
|
|
70
|
+
* Target token address for the faucet to be funding with
|
|
71
|
+
*/
|
|
72
|
+
address?: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Amount for each faucet funding transaction
|
|
75
|
+
*/
|
|
76
|
+
amount?: bigint | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* Faucet funding mnemonic
|
|
79
|
+
*/
|
|
80
|
+
privateKey?: string | undefined;
|
|
81
|
+
} | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Host the server will listen on.
|
|
84
|
+
*/
|
|
85
|
+
host?: string | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* Port the server will listen on.
|
|
88
|
+
*/
|
|
89
|
+
port?: number | undefined;
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=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B,CAAA;CACF"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import * as fs from 'node:fs';
|
|
2
|
+
import * as path from 'node:path';
|
|
3
|
+
import { toArgs } from 'prool';
|
|
4
|
+
import { defineInstance } from 'prool/instances';
|
|
5
|
+
import { execa } from 'prool/processes';
|
|
6
|
+
/**
|
|
7
|
+
* Defines a Tempo instance.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const instance = tempo()
|
|
12
|
+
* await instance.start()
|
|
13
|
+
* // ...
|
|
14
|
+
* await instance.stop()
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export const tempo = defineInstance((parameters = {}) => {
|
|
18
|
+
const { binary = 'tempo', builder, chain = path.resolve(import.meta.dirname, './internal/chain.json'), consensusConfig = path.resolve(import.meta.dirname, './internal/consensus.toml'), dev, faucet, ...args } = parameters;
|
|
19
|
+
const { deadline = 3, gaslimit = 3000000000, maxTasks = 8 } = builder ?? {};
|
|
20
|
+
const { blockTime = '2ms' } = dev ?? {};
|
|
21
|
+
const { address = '0x20c0000000000000000000000000000000000000', amount = 1000000000000000, privateKey = '0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80', } = faucet ?? {};
|
|
22
|
+
const name = 'tempo';
|
|
23
|
+
const process = execa({ name });
|
|
24
|
+
const tmp = `./tmp/${crypto.randomUUID()}`;
|
|
25
|
+
return {
|
|
26
|
+
_internal: {
|
|
27
|
+
args,
|
|
28
|
+
get process() {
|
|
29
|
+
return process._internal.process;
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
host: args.host ?? 'localhost',
|
|
33
|
+
name,
|
|
34
|
+
port: args.port ?? 8545,
|
|
35
|
+
async start({ port = args.port }, options) {
|
|
36
|
+
try {
|
|
37
|
+
fs.rmSync(tmp, { recursive: true });
|
|
38
|
+
}
|
|
39
|
+
catch { }
|
|
40
|
+
fs.mkdirSync(tmp, { recursive: true });
|
|
41
|
+
return await process.start(($) => $ `${binary} node --http --dev --engine.disable-precompile-cache --faucet.enabled ${toArgs({
|
|
42
|
+
...args,
|
|
43
|
+
builder: {
|
|
44
|
+
deadline,
|
|
45
|
+
gaslimit,
|
|
46
|
+
maxTasks,
|
|
47
|
+
},
|
|
48
|
+
chain,
|
|
49
|
+
consensusConfig,
|
|
50
|
+
datadir: `${tmp}/data`,
|
|
51
|
+
dev: {
|
|
52
|
+
blockTime,
|
|
53
|
+
},
|
|
54
|
+
faucet: {
|
|
55
|
+
address,
|
|
56
|
+
amount,
|
|
57
|
+
privateKey,
|
|
58
|
+
},
|
|
59
|
+
port: port + 1,
|
|
60
|
+
http: {
|
|
61
|
+
addr: '0.0.0.0',
|
|
62
|
+
port: port,
|
|
63
|
+
},
|
|
64
|
+
ws: {
|
|
65
|
+
port: port + 2,
|
|
66
|
+
},
|
|
67
|
+
authrpc: {
|
|
68
|
+
port: port + 3,
|
|
69
|
+
},
|
|
70
|
+
})}`, {
|
|
71
|
+
...options,
|
|
72
|
+
resolver({ process, reject, resolve }) {
|
|
73
|
+
process.stdout.on('data', (data) => {
|
|
74
|
+
const message = data.toString();
|
|
75
|
+
if (message.includes('shutting down'))
|
|
76
|
+
reject(message);
|
|
77
|
+
if (message.includes('RPC HTTP server started'))
|
|
78
|
+
resolve();
|
|
79
|
+
});
|
|
80
|
+
process.stderr.on('data', (data) => {
|
|
81
|
+
const message = data.toString();
|
|
82
|
+
reject(message);
|
|
83
|
+
});
|
|
84
|
+
},
|
|
85
|
+
});
|
|
86
|
+
},
|
|
87
|
+
async stop() {
|
|
88
|
+
try {
|
|
89
|
+
fs.rmSync(tmp, { recursive: true });
|
|
90
|
+
}
|
|
91
|
+
catch { }
|
|
92
|
+
await process.stop();
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
});
|
|
96
|
+
//# sourceMappingURL=Instance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Instance.js","sourceRoot":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AI,EAAE,EAAE;wBACjC,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAA;wBAC/B,IAAI,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC;4BAAE,MAAM,CAAC,OAAO,CAAC,CAAA;wBACtD,IAAI,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC;4BAAE,OAAO,EAAE,CAAA;oBAC5D,CAAC,CAAC,CAAA;oBACF,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;wBACjC,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAA;wBAC/B,MAAM,CAAC,OAAO,CAAC,CAAA;oBACjB,CAAC,CAAC,CAAA;gBACJ,CAAC;aACF,CACF,CAAA;QACH,CAAC;QACD,KAAK,CAAC,IAAI;YACR,IAAI,CAAC;gBACH,EAAE,CAAC,MAAM,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;YACrC,CAAC;YAAC,MAAM,CAAC,CAAA,CAAC;YACV,MAAM,OAAO,CAAC,IAAI,EAAE,CAAA;QACtB,CAAC;KACF,CAAA;AACH,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/prool/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,sBAAqB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/prool/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,sBAAqB"}
|