@aifinpay/deployments 2.1.0 → 2.1.3
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 +10 -2
- package/package.json +1 -1
- package/registry/abi/aptos/splitter/splitter-mainnet-0xe03369aa7519038833647bbcf80a448131e68a0101f6be19f292306f3e908164.json +699 -0
- package/registry/abi/aptos/splitter/splitter-testnet-0x75427b810f65688cf0062ac244a4a09d11d583250c1d85c8bf02f0237c7cfe82.json +699 -0
- package/registry/abi/evm/B2BSplitterV14/B2BSplitterV14-linted.json +1318 -0
- package/registry/splitter/INDEX.md +2 -0
- package/registry/splitter/aptos/README.md +23 -0
- package/registry/splitter/aptos/deployments.json +101 -0
- package/registry/splitter/aptos/multisig-deployments.json +79 -0
- package/registry/splitter/evm/v1.4/README.md +7 -1
- package/src/reference/aptos-multisig-deployment.schema.json +212 -0
- package/src/reference/payment-deployments.schema.json +229 -0
- package/registry/idl/aptos/.gitkeep +0 -0
- package/registry/idl/casper/.gitkeep +0 -0
|
@@ -13,6 +13,7 @@ inputs to verification, not evidence of current runtime or backend availability.
|
|
|
13
13
|
| EVM v1.4 | [deployments.json](evm/v1.4/deployments.json) | [Contract suite](evm/v1.4/README.md) |
|
|
14
14
|
| Solana | [deployments.json](solana/deployments.json) | [Program and IDL](solana/README.md) |
|
|
15
15
|
| Casper | [deployments.json](casper/deployments.json) | [Contract schema](casper/README.md) |
|
|
16
|
+
| Aptos | [deployments.json](aptos/deployments.json) · [multisig-deployments.json](aptos/multisig-deployments.json) | [Payment and multisig snapshots](aptos/README.md) |
|
|
16
17
|
|
|
17
18
|
Read the selected record for chain/network identity, addresses or program IDs,
|
|
18
19
|
runtime hashes, governance, assets, policy fields and settlement flags. Read
|
|
@@ -54,6 +55,7 @@ or backend verification.
|
|
|
54
55
|
|
|
55
56
|
- [Payment deployment JSON Schema](../../src/reference/payment-deployments.schema.json)
|
|
56
57
|
- [EVM ABI bundles](../abi/evm/)
|
|
58
|
+
- [Aptos splitter ABI bundles](../abi/aptos/splitter/)
|
|
57
59
|
- [Solana IDL copies](../idl/solana/splitter-v14/)
|
|
58
60
|
- [Casper contract schema](../idl/casper/aifinpay-casper-schema.json)
|
|
59
61
|
- [Artifact loading implementation](../../src/artifacts.ts)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Aptos deployment snapshots
|
|
2
|
+
|
|
3
|
+
This directory packages Aptos payment deployment records, multisig creation
|
|
4
|
+
records, and the artifacts those records reference:
|
|
5
|
+
|
|
6
|
+
- `deployments.json` contains the mainnet and testnet records and uses the shared
|
|
7
|
+
[payment deployment schema](../../../src/reference/payment-deployments.schema.json).
|
|
8
|
+
- `multisig-deployments.json` contains the mainnet and testnet multisig records and uses the
|
|
9
|
+
[multisig deployment schema](../../../src/reference/aptos-multisig-deployment.schema.json).
|
|
10
|
+
- Splitter ABI artifacts live under [`registry/abi/aptos/splitter/`](../../abi/aptos/splitter/).
|
|
11
|
+
|
|
12
|
+
Each deployment record carries its source repository, commit, source path, and
|
|
13
|
+
capture time. Treat them as recorded inputs, not live verification or
|
|
14
|
+
authorization to settle. Check the selected registry entry, backend
|
|
15
|
+
capabilities, merchant quote, and executor runtime checks before relying on any
|
|
16
|
+
route.
|
|
17
|
+
|
|
18
|
+
These are curated snapshots from `AiFinPay/aptos-contract` and are not generated
|
|
19
|
+
by `npm run registry:build`. To refresh them, compare the upstream
|
|
20
|
+
`deployments/*-latest.json` records with the matching timestamped records, copy
|
|
21
|
+
the referenced ABI artifacts into `registry/abi/aptos/splitter/`, preserve source
|
|
22
|
+
provenance, and verify all local schema and artifact paths. A package version
|
|
23
|
+
and root changelog update are required when these shipped files change.
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../../src/reference/payment-deployments.schema.json",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "AiFinPay Aptos payment deployment registry.",
|
|
5
|
+
"schemaVersion": 1,
|
|
6
|
+
"generatedAt": "2026-10-30T22:25:06Z",
|
|
7
|
+
"ecosystem": "aptos",
|
|
8
|
+
"protocolVersion": "1.4.0",
|
|
9
|
+
"source": {
|
|
10
|
+
"repo": "AiFinPay/aptos-contract",
|
|
11
|
+
"commit": "2e0f6992ef9eedc534f9fd91451fba2a00eadd42",
|
|
12
|
+
"path": "sources/splitter.move",
|
|
13
|
+
"url": "https://github.com/AiFinPay/aptos-contract/blob/2e0f6992ef9eedc534f9fd91451fba2a00eadd42/sources/splitter.move",
|
|
14
|
+
"localPath": "sources/splitter.move"
|
|
15
|
+
},
|
|
16
|
+
"deployments": [
|
|
17
|
+
{
|
|
18
|
+
"network": "mainnet",
|
|
19
|
+
"chainId": 1,
|
|
20
|
+
"environment": "prod",
|
|
21
|
+
"testnet": false,
|
|
22
|
+
"settlementEnabled": true,
|
|
23
|
+
"packageAddress": "0xe03369aa7519038833647bbcf80a448131e68a0101f6be19f292306f3e908164",
|
|
24
|
+
"packageName": "@aifinpay/aptos-contract",
|
|
25
|
+
"modules": [
|
|
26
|
+
{
|
|
27
|
+
"name": "splitter",
|
|
28
|
+
"bytecodeHash": "0x8500449e2c78b8d274b76f7f95883894c71d0a7555f8418b723faf003ebccfbf"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"sourceArtifact": "../../abi/aptos/splitter/splitter-mainnet-0xe03369aa7519038833647bbcf80a448131e68a0101f6be19f292306f3e908164.json",
|
|
32
|
+
"timestamp": "2026-10-30T22:25:06Z",
|
|
33
|
+
"splitterVersion": "1.4.0",
|
|
34
|
+
"splitter": {
|
|
35
|
+
"address": "0xe03369aa7519038833647bbcf80a448131e68a0101f6be19f292306f3e908164"
|
|
36
|
+
},
|
|
37
|
+
"publishTx": "0x64148f2d621f93a9b8747bb78f38d53e695deeebe6711ffc191255c88271f382",
|
|
38
|
+
"initializeTx": "none",
|
|
39
|
+
"bytecodeHash": "0x8500449e2c78b8d274b76f7f95883894c71d0a7555f8418b723faf003ebccfbf",
|
|
40
|
+
"abi": "../../abi/aptos/splitter/splitter-mainnet-0xe03369aa7519038833647bbcf80a448131e68a0101f6be19f292306f3e908164.json",
|
|
41
|
+
"source": {
|
|
42
|
+
"repo": "AiFinPay/aptos-contract",
|
|
43
|
+
"commit": "2e0f6992ef9eedc534f9fd91451fba2a00eadd42",
|
|
44
|
+
"path": "sources/splitter.move",
|
|
45
|
+
"url": "https://github.com/AiFinPay/aptos-contract/blob/2e0f6992ef9eedc534f9fd91451fba2a00eadd42/sources/splitter.move",
|
|
46
|
+
"localPath": "sources/splitter.move"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"network": "testnet",
|
|
51
|
+
"chainId": 2,
|
|
52
|
+
"environment": "dev",
|
|
53
|
+
"testnet": true,
|
|
54
|
+
"settlementEnabled": true,
|
|
55
|
+
"packageAddress": "0x75427b810f65688cf0062ac244a4a09d11d583250c1d85c8bf02f0237c7cfe82",
|
|
56
|
+
"packageName": "@aifinpay/aptos-contract",
|
|
57
|
+
"modules": [
|
|
58
|
+
{
|
|
59
|
+
"name": "splitter",
|
|
60
|
+
"bytecodeHash": "0x12fcf4d87e39ad4fb1bf662d6ff67ee2dc1252f4bdc808cc65de7488899ed57d"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"sourceArtifact": "../../abi/aptos/splitter/splitter-testnet-0x75427b810f65688cf0062ac244a4a09d11d583250c1d85c8bf02f0237c7cfe82.json",
|
|
64
|
+
"timestamp": "2026-10-19T22:33:13Z",
|
|
65
|
+
"splitterVersion": "1.4.0",
|
|
66
|
+
"splitter": {
|
|
67
|
+
"address": "0x75427b810f65688cf0062ac244a4a09d11d583250c1d85c8bf02f0237c7cfe82",
|
|
68
|
+
"admin": "0x27c2a07419067492c3ce1f1556ae73b40fe6efae7a064200e831f63ef11af4b4",
|
|
69
|
+
"signer": "fbec7b9956b293ce67dc5582c9335eb2d73364451a00e938f2e26e42685b241e77effb2e352bc4adb8a7c2147a72760787c2e3ac04cb96c1180bb1e21a1f2267",
|
|
70
|
+
"pauser": "0x91be04b834a86c4f34182ff1a77ed463cfaf208d4e2bd3991732fc16e85c741c",
|
|
71
|
+
"treasury": "0xe12274ece6a86e69f5c383c141e013c33f720c7d10e4f7c14df99facf8043dbe",
|
|
72
|
+
"paused": false,
|
|
73
|
+
"stablecoins": [
|
|
74
|
+
"0x69091fbab5f7d635ee7ac5098cf0c1efbe31d68fec0f2cd565e8d168daf52832"
|
|
75
|
+
],
|
|
76
|
+
"routes": [
|
|
77
|
+
"8dc505be335e565d2a5e2c96057c7fb0caff7c5009f61b82ac3ef5e7a9ec0f1e",
|
|
78
|
+
"b9dbf587b0df69870df1e60b22fba0317f53eb19d78a573abf94fc384a339a89"
|
|
79
|
+
],
|
|
80
|
+
"paymentCount": "0",
|
|
81
|
+
"totalSettled": "0"
|
|
82
|
+
},
|
|
83
|
+
"publishTx": "0xa37d78d43465575858de0d057205874a02552c236a9606885c9821930ec34698",
|
|
84
|
+
"initializeTx": "0xeb53c0378a5c38f4338e3a554cb6d3bca6972d4d061a6e7fffc23e109d1bef58",
|
|
85
|
+
"bytecodeHash": "0x12fcf4d87e39ad4fb1bf662d6ff67ee2dc1252f4bdc808cc65de7488899ed57d",
|
|
86
|
+
"abi": "../../abi/aptos/splitter/splitter-testnet-0x75427b810f65688cf0062ac244a4a09d11d583250c1d85c8bf02f0237c7cfe82.json",
|
|
87
|
+
"source": {
|
|
88
|
+
"repo": "AiFinPay/aptos-contract",
|
|
89
|
+
"commit": "1a7d7f1c302ac97fee2c8d13d337e38ca3756124",
|
|
90
|
+
"path": "sources/splitter.move",
|
|
91
|
+
"url": "https://github.com/AiFinPay/aptos-contract/blob/1a7d7f1c302ac97fee2c8d13d337e38ca3756124/sources/splitter.move",
|
|
92
|
+
"localPath": "sources/splitter.move"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"sourceArtifact": {
|
|
97
|
+
"path": null,
|
|
98
|
+
"retrievedAt": "2026-10-30",
|
|
99
|
+
"note": "The ABI artifact for each network is referenced by its deployment record."
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../../src/reference/aptos-multisig-deployment.schema.json",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "AiFinPay Aptos multisig wallet creation registry.",
|
|
5
|
+
"schemaVersion": 1,
|
|
6
|
+
"generatedAt": "2026-10-30T18:08:58Z",
|
|
7
|
+
"ecosystem": "aptos",
|
|
8
|
+
"source": {
|
|
9
|
+
"repo": "AiFinPay/aptos-contract",
|
|
10
|
+
"commit": "ec2ce8c6ad79408ec51c282caa4be66961b18c39",
|
|
11
|
+
"path": "scripts/ts/create-multisig-mainnet.ts",
|
|
12
|
+
"url": "https://github.com/AiFinPay/aptos-contract/blob/ec2ce8c6ad79408ec51c282caa4be66961b18c39/scripts/ts/create-multisig-mainnet.ts",
|
|
13
|
+
"localPath": "scripts/ts/create-multisig-mainnet.ts"
|
|
14
|
+
},
|
|
15
|
+
"deployments": [
|
|
16
|
+
{
|
|
17
|
+
"network": "mainnet",
|
|
18
|
+
"chainId": 1,
|
|
19
|
+
"timestamp": "2026-10-30T18:08:58Z",
|
|
20
|
+
"multisig": {
|
|
21
|
+
"address": "0x751742211e90f70793958c10470da99f8ad01cd31483338d61e723c65e30a380",
|
|
22
|
+
"type": "0x1::multisig_account::MultisigAccount",
|
|
23
|
+
"numSignaturesRequired": 3,
|
|
24
|
+
"owners": [
|
|
25
|
+
"0xbc7834488eeca9b2b18b278b73ca594a991fd56cdd8dc3d39a5de683ad629bc4",
|
|
26
|
+
"0x7860627f1ff4dcfaab7c8adf68ffbd8fe2d68a0a19b67ec59b4f593829656004",
|
|
27
|
+
"0x6e2c91c1983ca16d837f59bc08029eb1fd423e30c2b389ac4d49989577030bb3",
|
|
28
|
+
"0x21b5b723bfd26687456932edcaf0d329cb69d64b8ac4e142caf821e6f8a33702"
|
|
29
|
+
],
|
|
30
|
+
"bootstrapperIsOwner": false,
|
|
31
|
+
"authenticationKeyDisabled": true
|
|
32
|
+
},
|
|
33
|
+
"createTx": "0xc58f66b85435235f731acea4eab0b77ec804631343004b598cb9760d42476e0b",
|
|
34
|
+
"creationFunction": "0x1::multisig_account::create_with_owners_then_remove_bootstrapper",
|
|
35
|
+
"creationVersion": "7834613874",
|
|
36
|
+
"status": "created",
|
|
37
|
+
"contractPublished": false,
|
|
38
|
+
"explorerUrl": "https://explorer.aptoslabs.com/account/0x751742211e90f70793958c10470da99f8ad01cd31483338d61e723c65e30a380?network=mainnet",
|
|
39
|
+
"source": {
|
|
40
|
+
"repo": "AiFinPay/aptos-contract",
|
|
41
|
+
"commit": "ec2ce8c6ad79408ec51c282caa4be66961b18c39",
|
|
42
|
+
"path": "scripts/ts/create-multisig-mainnet.ts",
|
|
43
|
+
"url": "https://github.com/AiFinPay/aptos-contract/blob/ec2ce8c6ad79408ec51c282caa4be66961b18c39/scripts/ts/create-multisig-mainnet.ts",
|
|
44
|
+
"localPath": "scripts/ts/create-multisig-mainnet.ts"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"network": "testnet",
|
|
49
|
+
"chainId": 2,
|
|
50
|
+
"timestamp": "2026-10-30T11:19:21Z",
|
|
51
|
+
"multisig": {
|
|
52
|
+
"address": "0x4170116a68ea3c158091031366f3f60df624c382fece1f69dc962dc1bf051d31",
|
|
53
|
+
"type": "0x1::multisig_account::MultisigAccount",
|
|
54
|
+
"numSignaturesRequired": 3,
|
|
55
|
+
"owners": [
|
|
56
|
+
"0xbc7834488eeca9b2b18b278b73ca594a991fd56cdd8dc3d39a5de683ad629bc4",
|
|
57
|
+
"0x7860627f1ff4dcfaab7c8adf68ffbd8fe2d68a0a19b67ec59b4f593829656004",
|
|
58
|
+
"0x6e2c91c1983ca16d837f59bc08029eb1fd423e30c2b389ac4d49989577030bb3",
|
|
59
|
+
"0x21b5b723bfd26687456932edcaf0d329cb69d64b8ac4e142caf821e6f8a33702"
|
|
60
|
+
],
|
|
61
|
+
"bootstrapperIsOwner": false,
|
|
62
|
+
"authenticationKeyDisabled": true
|
|
63
|
+
},
|
|
64
|
+
"creationFunction": "0x1::multisig_account::create_with_owners_then_remove_bootstrapper",
|
|
65
|
+
"createTx": "0xb45125d7491b0a3a1b9ee4bdcf07394ae4efc285106865514d323b6495cb0e87",
|
|
66
|
+
"creationVersion": "233634798",
|
|
67
|
+
"status": "created",
|
|
68
|
+
"contractPublished": false,
|
|
69
|
+
"explorerUrl": "https://explorer.aptoslabs.com/account/0x4170116a68ea3c158091031366f3f60df624c382fece1f69dc962dc1bf051d31?network=testnet",
|
|
70
|
+
"source": {
|
|
71
|
+
"repo": "AiFinPay/aptos-contract",
|
|
72
|
+
"commit": "57b913566fde511df564822d98f238596490146d",
|
|
73
|
+
"path": "scripts/ts/create-multisig.ts",
|
|
74
|
+
"url": "https://github.com/AiFinPay/aptos-contract/blob/57b913566fde511df564822d98f238596490146d/scripts/ts/create-multisig.ts",
|
|
75
|
+
"localPath": "scripts/ts/create-multisig.ts"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
@@ -40,6 +40,12 @@ activation.
|
|
|
40
40
|
|
|
41
41
|
## Interface
|
|
42
42
|
|
|
43
|
-
- [
|
|
43
|
+
- [Linted splitter ABI](../../../abi/evm/B2BSplitterV14/B2BSplitterV14-linted.json) — use this ABI for Arc and every subsequent EVM chain deployment.
|
|
44
|
+
- [Original splitter ABI](../../../abi/evm/B2BSplitterV14/B2BSplitterV14.json) — retained as a separate artifact; it is not the deployment ABI for Arc or subsequent EVM chains.
|
|
44
45
|
- [Timelock ABI](../../../abi/evm/TimelockWrapper/TimelockWrapper.json)
|
|
45
46
|
- [Registry types](../../../../src/types.ts)
|
|
47
|
+
|
|
48
|
+
Using this ABI defines the contract interface for a deployment; it does not
|
|
49
|
+
verify deployment bytecode or authorize settlement activation. Follow the
|
|
50
|
+
[verification checklist](../../INDEX.md) and runtime/backend checks before
|
|
51
|
+
claiming availability.
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "AiFinPay Aptos multisig wallet registry",
|
|
4
|
+
"description": "Schema for Aptos multisig wallet creation records, separate from payment package deployments.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"$schema",
|
|
8
|
+
"version",
|
|
9
|
+
"description",
|
|
10
|
+
"schemaVersion",
|
|
11
|
+
"generatedAt",
|
|
12
|
+
"ecosystem",
|
|
13
|
+
"source",
|
|
14
|
+
"deployments"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"$schema": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "uri-reference"
|
|
20
|
+
},
|
|
21
|
+
"version": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"description": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"schemaVersion": {
|
|
28
|
+
"type": "integer",
|
|
29
|
+
"minimum": 1
|
|
30
|
+
},
|
|
31
|
+
"generatedAt": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"format": "date-time"
|
|
34
|
+
},
|
|
35
|
+
"ecosystem": {
|
|
36
|
+
"const": "aptos"
|
|
37
|
+
},
|
|
38
|
+
"source": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"required": [
|
|
41
|
+
"repo",
|
|
42
|
+
"commit",
|
|
43
|
+
"path"
|
|
44
|
+
],
|
|
45
|
+
"properties": {
|
|
46
|
+
"repo": {
|
|
47
|
+
"const": "AiFinPay/aptos-contract"
|
|
48
|
+
},
|
|
49
|
+
"commit": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"pattern": "^[0-9a-f]{40}$"
|
|
52
|
+
},
|
|
53
|
+
"path": {
|
|
54
|
+
"enum": [
|
|
55
|
+
"scripts/ts/create-multisig.ts",
|
|
56
|
+
"scripts/ts/create-multisig-mainnet.ts"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"url": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"format": "uri"
|
|
62
|
+
},
|
|
63
|
+
"localPath": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"additionalProperties": true
|
|
68
|
+
},
|
|
69
|
+
"deployments": {
|
|
70
|
+
"type": "array",
|
|
71
|
+
"minItems": 1,
|
|
72
|
+
"items": {
|
|
73
|
+
"$ref": "#/$defs/aptosMultisigDeployment"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"$defs": {
|
|
78
|
+
"aptosMultisigDeployment": {
|
|
79
|
+
"type": "object",
|
|
80
|
+
"required": [
|
|
81
|
+
"network",
|
|
82
|
+
"chainId",
|
|
83
|
+
"timestamp",
|
|
84
|
+
"multisig",
|
|
85
|
+
"createTx",
|
|
86
|
+
"creationFunction",
|
|
87
|
+
"creationVersion",
|
|
88
|
+
"status",
|
|
89
|
+
"contractPublished",
|
|
90
|
+
"explorerUrl"
|
|
91
|
+
],
|
|
92
|
+
"properties": {
|
|
93
|
+
"network": {
|
|
94
|
+
"enum": [
|
|
95
|
+
"mainnet",
|
|
96
|
+
"testnet"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"chainId": {
|
|
100
|
+
"type": "integer",
|
|
101
|
+
"minimum": 0
|
|
102
|
+
},
|
|
103
|
+
"timestamp": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"format": "date-time"
|
|
106
|
+
},
|
|
107
|
+
"multisig": {
|
|
108
|
+
"type": "object",
|
|
109
|
+
"required": [
|
|
110
|
+
"address",
|
|
111
|
+
"type",
|
|
112
|
+
"numSignaturesRequired",
|
|
113
|
+
"owners",
|
|
114
|
+
"bootstrapperIsOwner",
|
|
115
|
+
"authenticationKeyDisabled"
|
|
116
|
+
],
|
|
117
|
+
"properties": {
|
|
118
|
+
"address": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"pattern": "^0x[0-9a-fA-F]{1,64}$"
|
|
121
|
+
},
|
|
122
|
+
"type": {
|
|
123
|
+
"const": "0x1::multisig_account::MultisigAccount"
|
|
124
|
+
},
|
|
125
|
+
"numSignaturesRequired": {
|
|
126
|
+
"type": "integer",
|
|
127
|
+
"minimum": 1
|
|
128
|
+
},
|
|
129
|
+
"owners": {
|
|
130
|
+
"type": "array",
|
|
131
|
+
"minItems": 1,
|
|
132
|
+
"uniqueItems": true,
|
|
133
|
+
"items": {
|
|
134
|
+
"type": "string",
|
|
135
|
+
"pattern": "^0x[0-9a-fA-F]{1,64}$"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"bootstrapperIsOwner": {
|
|
139
|
+
"type": "boolean"
|
|
140
|
+
},
|
|
141
|
+
"authenticationKeyDisabled": {
|
|
142
|
+
"type": "boolean"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"additionalProperties": true
|
|
146
|
+
},
|
|
147
|
+
"createTx": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
150
|
+
},
|
|
151
|
+
"creationFunction": {
|
|
152
|
+
"const": "0x1::multisig_account::create_with_owners_then_remove_bootstrapper"
|
|
153
|
+
},
|
|
154
|
+
"creationVersion": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"pattern": "^[0-9]+$"
|
|
157
|
+
},
|
|
158
|
+
"status": {
|
|
159
|
+
"const": "created"
|
|
160
|
+
},
|
|
161
|
+
"contractPublished": {
|
|
162
|
+
"const": false
|
|
163
|
+
},
|
|
164
|
+
"explorerUrl": {
|
|
165
|
+
"type": "string",
|
|
166
|
+
"format": "uri"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"allOf": [
|
|
170
|
+
{
|
|
171
|
+
"if": {
|
|
172
|
+
"properties": {
|
|
173
|
+
"network": {
|
|
174
|
+
"const": "mainnet"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"required": [
|
|
178
|
+
"network"
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
"then": {
|
|
182
|
+
"properties": {
|
|
183
|
+
"chainId": {
|
|
184
|
+
"const": 1
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"if": {
|
|
191
|
+
"properties": {
|
|
192
|
+
"network": {
|
|
193
|
+
"const": "testnet"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"required": [
|
|
197
|
+
"network"
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
"then": {
|
|
201
|
+
"properties": {
|
|
202
|
+
"chainId": {
|
|
203
|
+
"const": 2
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"additionalProperties": true
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
@@ -154,6 +154,50 @@
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"if": {
|
|
160
|
+
"properties": {
|
|
161
|
+
"ecosystem": {
|
|
162
|
+
"const": "aptos"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"required": ["ecosystem"]
|
|
166
|
+
},
|
|
167
|
+
"then": {
|
|
168
|
+
"properties": {
|
|
169
|
+
"source": {
|
|
170
|
+
"required": ["commit", "path"]
|
|
171
|
+
},
|
|
172
|
+
"deployments": {
|
|
173
|
+
"items": {
|
|
174
|
+
"$ref": "#/$defs/aptosDeployment"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"if": {
|
|
182
|
+
"properties": {
|
|
183
|
+
"ecosystem": {
|
|
184
|
+
"const": "near"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"required": ["ecosystem"]
|
|
188
|
+
},
|
|
189
|
+
"then": {
|
|
190
|
+
"properties": {
|
|
191
|
+
"source": {
|
|
192
|
+
"required": ["commit", "path"]
|
|
193
|
+
},
|
|
194
|
+
"deployments": {
|
|
195
|
+
"items": {
|
|
196
|
+
"$ref": "#/$defs/nearDeployment"
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
157
201
|
}
|
|
158
202
|
],
|
|
159
203
|
"$defs": {
|
|
@@ -386,6 +430,191 @@
|
|
|
386
430
|
}
|
|
387
431
|
},
|
|
388
432
|
"additionalProperties": true
|
|
433
|
+
},
|
|
434
|
+
"aptosDeployment": {
|
|
435
|
+
"type": "object",
|
|
436
|
+
"required": [
|
|
437
|
+
"network",
|
|
438
|
+
"chainId",
|
|
439
|
+
"environment",
|
|
440
|
+
"testnet",
|
|
441
|
+
"settlementEnabled",
|
|
442
|
+
"packageAddress",
|
|
443
|
+
"packageName",
|
|
444
|
+
"modules",
|
|
445
|
+
"sourceArtifact"
|
|
446
|
+
],
|
|
447
|
+
"properties": {
|
|
448
|
+
"network": {
|
|
449
|
+
"enum": ["mainnet", "testnet", "devnet", "local"]
|
|
450
|
+
},
|
|
451
|
+
"chainId": {
|
|
452
|
+
"type": "integer",
|
|
453
|
+
"minimum": 0
|
|
454
|
+
},
|
|
455
|
+
"environment": {
|
|
456
|
+
"enum": ["dev", "prod"]
|
|
457
|
+
},
|
|
458
|
+
"testnet": {
|
|
459
|
+
"type": "boolean"
|
|
460
|
+
},
|
|
461
|
+
"settlementEnabled": {
|
|
462
|
+
"type": "boolean"
|
|
463
|
+
},
|
|
464
|
+
"packageAddress": {
|
|
465
|
+
"type": "string",
|
|
466
|
+
"pattern": "^0x[0-9a-fA-F]{1,64}$"
|
|
467
|
+
},
|
|
468
|
+
"packageName": {
|
|
469
|
+
"type": "string",
|
|
470
|
+
"minLength": 1
|
|
471
|
+
},
|
|
472
|
+
"upgradePolicy": {
|
|
473
|
+
"enum": ["immutable", "compatible", "arbitrary"]
|
|
474
|
+
},
|
|
475
|
+
"modules": {
|
|
476
|
+
"type": "array",
|
|
477
|
+
"minItems": 1,
|
|
478
|
+
"items": {
|
|
479
|
+
"type": "object",
|
|
480
|
+
"required": ["name"],
|
|
481
|
+
"properties": {
|
|
482
|
+
"name": {
|
|
483
|
+
"type": "string",
|
|
484
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
485
|
+
},
|
|
486
|
+
"bytecodeHash": {
|
|
487
|
+
"type": "string",
|
|
488
|
+
"minLength": 1
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
"additionalProperties": true
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
"sourceArtifact": {
|
|
495
|
+
"type": "string",
|
|
496
|
+
"minLength": 1
|
|
497
|
+
},
|
|
498
|
+
"assets": {
|
|
499
|
+
"type": "array",
|
|
500
|
+
"items": {
|
|
501
|
+
"$ref": "#/$defs/aptosAsset"
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
"authorities": {
|
|
505
|
+
"type": "object",
|
|
506
|
+
"properties": {
|
|
507
|
+
"upgradeAuthorityAddress": {
|
|
508
|
+
"type": "string",
|
|
509
|
+
"pattern": "^0x[0-9a-fA-F]{1,64}$"
|
|
510
|
+
},
|
|
511
|
+
"adminAddress": {
|
|
512
|
+
"type": "string",
|
|
513
|
+
"pattern": "^0x[0-9a-fA-F]{1,64}$"
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
"additionalProperties": true
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
"additionalProperties": true
|
|
520
|
+
},
|
|
521
|
+
"aptosAsset": {
|
|
522
|
+
"type": "object",
|
|
523
|
+
"required": ["symbol", "name"],
|
|
524
|
+
"properties": {
|
|
525
|
+
"symbol": {
|
|
526
|
+
"type": "string"
|
|
527
|
+
},
|
|
528
|
+
"name": {
|
|
529
|
+
"type": "string"
|
|
530
|
+
},
|
|
531
|
+
"metadataAddress": {
|
|
532
|
+
"type": "string",
|
|
533
|
+
"pattern": "^0x[0-9a-fA-F]{1,64}$"
|
|
534
|
+
},
|
|
535
|
+
"coinType": {
|
|
536
|
+
"type": "string",
|
|
537
|
+
"minLength": 1
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"anyOf": [
|
|
541
|
+
{
|
|
542
|
+
"required": ["metadataAddress"]
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"required": ["coinType"]
|
|
546
|
+
}
|
|
547
|
+
],
|
|
548
|
+
"additionalProperties": true
|
|
549
|
+
},
|
|
550
|
+
"nearDeployment": {
|
|
551
|
+
"type": "object",
|
|
552
|
+
"required": [
|
|
553
|
+
"network",
|
|
554
|
+
"environment",
|
|
555
|
+
"testnet",
|
|
556
|
+
"settlementEnabled",
|
|
557
|
+
"contractAccountId",
|
|
558
|
+
"wasmCodeHash",
|
|
559
|
+
"sourceArtifact"
|
|
560
|
+
],
|
|
561
|
+
"properties": {
|
|
562
|
+
"network": {
|
|
563
|
+
"enum": ["mainnet", "testnet", "localnet"]
|
|
564
|
+
},
|
|
565
|
+
"environment": {
|
|
566
|
+
"enum": ["dev", "prod"]
|
|
567
|
+
},
|
|
568
|
+
"testnet": {
|
|
569
|
+
"type": "boolean"
|
|
570
|
+
},
|
|
571
|
+
"settlementEnabled": {
|
|
572
|
+
"type": "boolean"
|
|
573
|
+
},
|
|
574
|
+
"contractAccountId": {
|
|
575
|
+
"type": "string",
|
|
576
|
+
"minLength": 2,
|
|
577
|
+
"maxLength": 64,
|
|
578
|
+
"pattern": "^[a-z0-9._-]+$"
|
|
579
|
+
},
|
|
580
|
+
"wasmCodeHash": {
|
|
581
|
+
"type": "string",
|
|
582
|
+
"minLength": 1
|
|
583
|
+
},
|
|
584
|
+
"sourceArtifact": {
|
|
585
|
+
"type": "string",
|
|
586
|
+
"minLength": 1
|
|
587
|
+
},
|
|
588
|
+
"treasuryAccountId": {
|
|
589
|
+
"type": "string",
|
|
590
|
+
"minLength": 2,
|
|
591
|
+
"maxLength": 64,
|
|
592
|
+
"pattern": "^[a-z0-9._-]+$"
|
|
593
|
+
},
|
|
594
|
+
"assets": {
|
|
595
|
+
"type": "array",
|
|
596
|
+
"items": {
|
|
597
|
+
"type": "object",
|
|
598
|
+
"required": ["symbol", "name", "contractAccountId"],
|
|
599
|
+
"properties": {
|
|
600
|
+
"symbol": {
|
|
601
|
+
"type": "string"
|
|
602
|
+
},
|
|
603
|
+
"name": {
|
|
604
|
+
"type": "string"
|
|
605
|
+
},
|
|
606
|
+
"contractAccountId": {
|
|
607
|
+
"type": "string",
|
|
608
|
+
"minLength": 2,
|
|
609
|
+
"maxLength": 64,
|
|
610
|
+
"pattern": "^[a-z0-9._-]+$"
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"additionalProperties": true
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
"additionalProperties": true
|
|
389
618
|
}
|
|
390
619
|
},
|
|
391
620
|
"additionalProperties": true
|