@argonprotocol/mainchain 1.4.3 → 1.4.4-dev.abb08dac
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/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +671 -0
- package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +671 -0
- package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +1688 -0
- package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +135 -0
- package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +131 -0
- package/browser/index.d.ts +2875 -1792
- package/browser/index.js +6827 -200
- package/browser/index.js.map +1 -1
- package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +671 -0
- package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +671 -0
- package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +1688 -0
- package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +135 -0
- package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +131 -0
- package/lib/index.cjs +6915 -266
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +2875 -1792
- package/lib/index.d.ts +2875 -1792
- package/lib/index.js +6855 -206
- package/lib/index.js.map +1 -1
- package/package.json +29 -26
- package/src/interfaces/augment-api-consts.ts +656 -0
- package/src/interfaces/augment-api-errors.ts +1376 -0
- package/src/interfaces/augment-api-events.ts +2098 -0
- package/src/interfaces/augment-api-query.ts +1809 -0
- package/src/interfaces/augment-api-rpc.ts +1133 -0
- package/src/interfaces/augment-api-runtime.ts +306 -0
- package/src/interfaces/augment-api-tx.ts +2298 -0
- package/src/interfaces/augment-api.ts +10 -0
- package/src/interfaces/augment-types.ts +2692 -0
- package/src/interfaces/definitions.ts +42 -0
- package/src/interfaces/ethereum/index.ts +4 -0
- package/src/interfaces/ethereum/types.ts +66 -0
- package/src/interfaces/lookup.ts +4167 -0
- package/src/interfaces/registry.ts +598 -0
- package/src/interfaces/types-lookup.ts +4868 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argonprotocol/mainchain",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4-dev.abb08dac",
|
|
4
4
|
"description": "A client for accessing the Argon mainchain apis.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,15 +14,17 @@
|
|
|
14
14
|
"homepage": "https://github.com/argonprotocol/mainchain#readme",
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "yarn generate:defs && yarn generate:meta && node clean-build.js && yarn tsc",
|
|
17
|
-
"generate:defs": "
|
|
18
|
-
"generate:meta": "
|
|
19
|
-
"
|
|
17
|
+
"generate:defs": "polkadot-types-from-defs --endpoint metadata.json --input ./src/interfaces --package @argonprotocol/mainchain/interfaces",
|
|
18
|
+
"generate:meta": "polkadot-types-from-chain --endpoint metadata.json --output ./src/interfaces --package @argonprotocol/mainchain/interfaces --strict",
|
|
19
|
+
"test": "vitest --run --config vitest.config.ts",
|
|
20
|
+
"tsc": "yarn workspace @argonprotocol/ethereum-contracts build && tsup",
|
|
20
21
|
"watch": "tsup --watch",
|
|
21
|
-
"typecheck": "tsc --noEmit"
|
|
22
|
+
"typecheck": "tsc --noEmit -p tsconfig.test.json"
|
|
22
23
|
},
|
|
23
24
|
"files": [
|
|
24
25
|
"lib/",
|
|
25
|
-
"browser/"
|
|
26
|
+
"browser/",
|
|
27
|
+
"src/interfaces/"
|
|
26
28
|
],
|
|
27
29
|
"type": "module",
|
|
28
30
|
"module": "./lib/index.js",
|
|
@@ -40,37 +42,38 @@
|
|
|
40
42
|
"default": "./lib/index.cjs"
|
|
41
43
|
}
|
|
42
44
|
},
|
|
43
|
-
"./
|
|
44
|
-
"types": "./
|
|
45
|
-
"import": "./lib/clis/index.js",
|
|
46
|
-
"require": {
|
|
47
|
-
"types": "./lib/clis/index.d.cts",
|
|
48
|
-
"default": "./lib/clis/index.cjs"
|
|
49
|
-
}
|
|
45
|
+
"./interfaces/*": {
|
|
46
|
+
"types": "./src/interfaces/*/index.ts"
|
|
50
47
|
}
|
|
51
48
|
},
|
|
52
49
|
"dependencies": {
|
|
53
|
-
"@
|
|
54
|
-
"@
|
|
55
|
-
"@polkadot/
|
|
56
|
-
"@polkadot/
|
|
57
|
-
"@polkadot/
|
|
58
|
-
"@polkadot/
|
|
59
|
-
"@polkadot/
|
|
60
|
-
"@polkadot/
|
|
61
|
-
"@polkadot/
|
|
50
|
+
"@ethereumjs/block": "^10.1.1",
|
|
51
|
+
"@ethereumjs/mpt": "^10.1.1",
|
|
52
|
+
"@polkadot/api": "^16.5.6",
|
|
53
|
+
"@polkadot/api-base": "^16.5.6",
|
|
54
|
+
"@polkadot/keyring": "^14.0.3",
|
|
55
|
+
"@polkadot/rpc-core": "^16.5.6",
|
|
56
|
+
"@polkadot/rpc-provider": "^16.5.6",
|
|
57
|
+
"@polkadot/types": "^16.5.6",
|
|
58
|
+
"@polkadot/types-codec": "^16.5.6",
|
|
59
|
+
"@polkadot/util": "^14.0.3",
|
|
60
|
+
"@polkadot/util-crypto": "^14.0.3",
|
|
62
61
|
"bignumber.js": "^9.3.1",
|
|
63
|
-
"bs58check": "^4.0.0"
|
|
62
|
+
"bs58check": "^4.0.0",
|
|
63
|
+
"camelcase-keys": "^9.1.3",
|
|
64
|
+
"viem": "^2.38.5"
|
|
64
65
|
},
|
|
65
66
|
"devDependencies": {
|
|
66
|
-
"@argonprotocol/
|
|
67
|
-
"@
|
|
67
|
+
"@argonprotocol/ethereum-contracts": "workspace:*",
|
|
68
|
+
"@argonprotocol/testing": "1.4.4-dev.abb08dac",
|
|
69
|
+
"@polkadot/typegen": "^16.5.6",
|
|
68
70
|
"@substrate/ss58-registry": "^1.51.0",
|
|
69
71
|
"@types/node": "^20",
|
|
70
72
|
"shx": "^0.4.0",
|
|
71
73
|
"tsup": "^8.5.0",
|
|
72
74
|
"tsx": "^4.20.4",
|
|
73
|
-
"typescript": "^5.9.2"
|
|
75
|
+
"typescript": "^5.9.2",
|
|
76
|
+
"vitest": "^4.0.5"
|
|
74
77
|
},
|
|
75
78
|
"packageManager": "yarn@4.1.0"
|
|
76
79
|
}
|