@aifinpay/deployments 2.1.1 → 2.1.4

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.
@@ -13,6 +13,8 @@ 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) |
17
+ | NEAR | [deployments.json](near/deployments.json) | [Account/WASM and council snapshots](near/README.md) |
16
18
 
17
19
  Read the selected record for chain/network identity, addresses or program IDs,
18
20
  runtime hashes, governance, assets, policy fields and settlement flags. Read
@@ -54,6 +56,7 @@ or backend verification.
54
56
 
55
57
  - [Payment deployment JSON Schema](../../src/reference/payment-deployments.schema.json)
56
58
  - [EVM ABI bundles](../abi/evm/)
59
+ - [Aptos splitter ABI bundles](../abi/aptos/splitter/)
57
60
  - [Solana IDL copies](../idl/solana/splitter-v14/)
58
61
  - [Casper contract schema](../idl/casper/aifinpay-casper-schema.json)
59
62
  - [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
- - [Splitter ABI](../../../abi/evm/B2BSplitterV14/B2BSplitterV14.json)
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,31 @@
1
+ # NEAR deployment snapshots
2
+
3
+ [deployments.json](deployments.json) packages mainnet and testnet splitter
4
+ records using the shared
5
+ [payment deployment schema](../../../src/reference/payment-deployments.schema.json).
6
+ It also preserves the upstream council membership input with a separate
7
+ provenance link; membership does not establish DAO policy or approval thresholds.
8
+
9
+ The curated-snapshot approach follows the Aptos registry: no new fetcher,
10
+ programmatic lookup API, or SDK payment route is introduced. These records are
11
+ not regenerated by `npm run registry:build`.
12
+
13
+ Each record links a timestamped upstream artifact at the commit in `source`.
14
+ `wasmCodeHash` maps the upstream `runtimeCodeHash`, environments use `prod`/`dev`,
15
+ and upstream `status` labels are omitted. Settlement flags, transaction evidence,
16
+ roles, route economics, and captured splitter state are otherwise preserved.
17
+ No WASM binary or ABI is bundled; `sourceArtifact` links the deployment JSON,
18
+ not a downloadable executable.
19
+
20
+ To refresh, compare upstream `deployments/*-latest.json` with the corresponding
21
+ timestamped files, pin the commit containing those files, and preserve per-network
22
+ capture times. Compare council membership against its own source artifact rather
23
+ than inferring policy from member count. Validate the records against the shared
24
+ schema and update the package version and root changelog.
25
+
26
+ These are historical inputs, not live verification or payment authorization.
27
+ Before relying on a route, verify deployed code, contract access keys, DAO policy,
28
+ roles and pause state, backend capabilities, the merchant quote, and executor
29
+ runtime checks. DAO role assignments alone do not prove exclusive upgrade
30
+ control. Consult the upstream deployment guide at the recorded source commit for
31
+ its access-key and DAO-policy caveats.
@@ -0,0 +1,112 @@
1
+ {
2
+ "$schema": "../../../src/reference/payment-deployments.schema.json",
3
+ "version": "1.4",
4
+ "description": "AiFinPay NEAR splitter deployment snapshots.",
5
+ "schemaVersion": 1,
6
+ "generatedAt": "2026-10-31T20:31:32.209Z",
7
+ "ecosystem": "near",
8
+ "protocolVersion": "v1.4",
9
+ "source": {
10
+ "repo": "AiFinPay/near-contract",
11
+ "commit": "479a8bfa28fff0f1971a5f082f3b3b48713487b6",
12
+ "path": "deployments/",
13
+ "url": "https://github.com/AiFinPay/near-contract/tree/479a8bfa28fff0f1971a5f082f3b3b48713487b6/deployments"
14
+ },
15
+ "deployments": [
16
+ {
17
+ "network": "mainnet",
18
+ "environment": "prod",
19
+ "testnet": false,
20
+ "version": "1.4.0",
21
+ "contractAccountId": "aifp-splitter.near",
22
+ "settlementEnabled": true,
23
+ "wasmCodeHash": "691777e085c7f3d27ede99cb3a27de4196e00e0f2018a4cd76bcfaf271fdc92c",
24
+ "runtimeCodeHash": "691777e085c7f3d27ede99cb3a27de4196e00e0f2018a4cd76bcfaf271fdc92c",
25
+ "treasuryAccountId": "aifinpay.sputnik-dao.near",
26
+ "timestamp": "2026-10-31T20:31:32.209Z",
27
+ "sourceArtifact": "https://github.com/AiFinPay/near-contract/blob/479a8bfa28fff0f1971a5f082f3b3b48713487b6/deployments/mainnet-2026-10-31T20-31-32-209Z.json",
28
+ "splitter": {
29
+ "admin": "aifinpay.sputnik-dao.near",
30
+ "signer": "0x06b551ebd05d427840330bc30d272f9f752af73fb1d9a8b07aab0970558c37a7656af5cd5684808e4593b89f3a885d96fcbf3ec60f4fb593469d48ef8f6ce467",
31
+ "pauser": "aifinpay.sputnik-dao.near",
32
+ "treasury": "aifinpay.sputnik-dao.near",
33
+ "paused": false,
34
+ "routes": [
35
+ {
36
+ "route_id": "ROUTE_AGENT_X402",
37
+ "treasury_bps": 0,
38
+ "ip_creator_bps": 0
39
+ },
40
+ {
41
+ "route_id": "ROUTE_MERCHANT_AIFP1",
42
+ "treasury_bps": 100,
43
+ "ip_creator_bps": 0
44
+ }
45
+ ],
46
+ "paymentCount": "0",
47
+ "totalSettled": "0"
48
+ },
49
+ "transactions": {
50
+ "deploy": {
51
+ "txHash": "2wbdGjhctnbE1mCTuPqu3mL1z3pKM2MRYqX96D4faoqB",
52
+ "explorerUrl": "https://nearblocks.io/txns/2wbdGjhctnbE1mCTuPqu3mL1z3pKM2MRYqX96D4faoqB"
53
+ },
54
+ "unpause": {
55
+ "txHash": "CiNu9n85QDgb1QWewowC1xpGm6NV33CDmAgS5S72zAjb",
56
+ "explorerUrl": "https://nearblocks.io/txns/CiNu9n85QDgb1QWewowC1xpGm6NV33CDmAgS5S72zAjb"
57
+ }
58
+ }
59
+ },
60
+ {
61
+ "network": "testnet",
62
+ "environment": "dev",
63
+ "testnet": true,
64
+ "version": "1.4.0",
65
+ "contractAccountId": "aifp-splitter.testnet",
66
+ "settlementEnabled": false,
67
+ "wasmCodeHash": "d18b181f17cd597e96c1703af3e1d6b38576492d19e035ee06bc3aab56531b46",
68
+ "runtimeCodeHash": "d18b181f17cd597e96c1703af3e1d6b38576492d19e035ee06bc3aab56531b46",
69
+ "treasuryAccountId": "aifp-treasury-e7abd866cd527146.testnet",
70
+ "timestamp": "2026-10-20T23:30:27.866Z",
71
+ "sourceArtifact": "https://github.com/AiFinPay/near-contract/blob/479a8bfa28fff0f1971a5f082f3b3b48713487b6/deployments/testnet-2026-10-20T23-30-27-866Z.json",
72
+ "splitter": {
73
+ "admin": "aifp-admin-28250297dc920295.testnet",
74
+ "signer": "0x06b551ebd05d427840330bc30d272f9f752af73fb1d9a8b07aab0970558c37a7656af5cd5684808e4593b89f3a885d96fcbf3ec60f4fb593469d48ef8f6ce467",
75
+ "pauser": "aifp-pauser-8c2e441982c1834c.testnet",
76
+ "treasury": "aifp-treasury-e7abd866cd527146.testnet",
77
+ "paused": true,
78
+ "routes": [
79
+ {
80
+ "route_id": "ROUTE_AGENT_X402",
81
+ "treasury_bps": 0,
82
+ "ip_creator_bps": 0
83
+ },
84
+ {
85
+ "route_id": "ROUTE_MERCHANT_AIFP1",
86
+ "treasury_bps": 100,
87
+ "ip_creator_bps": 0
88
+ }
89
+ ],
90
+ "paymentCount": "0",
91
+ "totalSettled": "0"
92
+ },
93
+ "transactions": {}
94
+ }
95
+ ],
96
+ "sourceArtifact": {
97
+ "path": null,
98
+ "retrievedAt": "2026-10-31",
99
+ "note": "Each deployment links its immutable upstream JSON snapshot. wasmCodeHash is mapped from runtimeCodeHash; environment is normalized to prod/dev. Settlement flags and splitter state are preserved from upstream, not independently verified."
100
+ },
101
+ "governanceMembership": {
102
+ "network": "mainnet",
103
+ "sourceArtifact": "https://github.com/AiFinPay/near-contract/blob/479a8bfa28fff0f1971a5f082f3b3b48713487b6/deployments/multisig-members.mainnet.json",
104
+ "members": [
105
+ "965b61a914dccbf357eebce29d14f138fdf0e0fd2f518352a93d0075083e11b5",
106
+ "29998d26617f5ed678903790f423a1bd438e71111cc3dbdd9c00112a0c6ee716",
107
+ "iryna0707.near",
108
+ "09642e6c9901a28258ae1765abc46d6a124eb0ce70d88c145b1a756c92528b37"
109
+ ],
110
+ "note": "Council membership input only; this does not establish on-chain DAO policy, approval thresholds, or contract upgrade authority."
111
+ }
112
+ }
@@ -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
+ }
File without changes
File without changes