-
Notifications
You must be signed in to change notification settings - Fork 197
/
Copy pathconfig.ts
38 lines (36 loc) · 1.22 KB
/
config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
export const ETH_LOCAL_URL = 'http://localhost:9944'
export const SUB_LOCAL_URL = 'ws://localhost:9944'
export const SS58_PREFIX = 42;
// set the tx timeout as 2 second when eable the fast-blocks feature.
export const TX_TIMEOUT = 2000;
export const IED25519VERIFY_ADDRESS = "0x0000000000000000000000000000000000000402";
export const IEd25519VerifyABI = [
{
inputs: [
{ internalType: "bytes32", name: "message", type: "bytes32" },
{ internalType: "bytes32", name: "publicKey", type: "bytes32" },
{ internalType: "bytes32", name: "r", type: "bytes32" },
{ internalType: "bytes32", name: "s", type: "bytes32" },
],
name: "verify",
outputs: [{ internalType: "bool", name: "", type: "bool" }],
stateMutability: "pure",
type: "function",
},
];
export const IBALANCETRANSFER_ADDRESS = "0x0000000000000000000000000000000000000800";
export const IBalanceTransferABI = [
{
inputs: [
{
internalType: "bytes32",
name: "data",
type: "bytes32",
},
],
name: "transfer",
outputs: [],
stateMutability: "payable",
type: "function",
},
];