@bitgen/sdk 0.1.6 → 1.0.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.
- package/CHANGELOG.md +63 -2
- package/README.md +27 -106
- package/dist/cjs/client.d.ts +20 -8
- package/dist/cjs/client.d.ts.map +1 -1
- package/dist/cjs/client.js +33 -12
- package/dist/cjs/client.js.map +1 -1
- package/dist/cjs/constants.d.ts +256 -0
- package/dist/cjs/constants.d.ts.map +1 -0
- package/dist/cjs/constants.js +214 -0
- package/dist/cjs/constants.js.map +1 -0
- package/dist/cjs/error.d.ts +17 -10
- package/dist/cjs/error.d.ts.map +1 -1
- package/dist/cjs/error.js +25 -7
- package/dist/cjs/error.js.map +1 -1
- package/dist/cjs/http.d.ts +13 -8
- package/dist/cjs/http.d.ts.map +1 -1
- package/dist/cjs/http.js +135 -44
- package/dist/cjs/http.js.map +1 -1
- package/dist/cjs/index.d.ts +14 -1
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +30 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/resources/apikeys.d.ts +18 -0
- package/dist/cjs/resources/apikeys.d.ts.map +1 -0
- package/dist/cjs/resources/apikeys.js +31 -0
- package/dist/cjs/resources/apikeys.js.map +1 -0
- package/dist/cjs/resources/asset.d.ts +17 -5
- package/dist/cjs/resources/asset.d.ts.map +1 -1
- package/dist/cjs/resources/asset.js +17 -6
- package/dist/cjs/resources/asset.js.map +1 -1
- package/dist/cjs/resources/bank.d.ts +11 -6
- package/dist/cjs/resources/bank.d.ts.map +1 -1
- package/dist/cjs/resources/bank.js +17 -9
- package/dist/cjs/resources/bank.js.map +1 -1
- package/dist/cjs/resources/core.d.ts +12 -0
- package/dist/cjs/resources/core.d.ts.map +1 -0
- package/dist/cjs/resources/core.js +22 -0
- package/dist/cjs/resources/core.js.map +1 -0
- package/dist/cjs/resources/custody.d.ts +27 -0
- package/dist/cjs/resources/custody.d.ts.map +1 -0
- package/dist/cjs/resources/custody.js +38 -0
- package/dist/cjs/resources/custody.js.map +1 -0
- package/dist/cjs/resources/customer.d.ts +20 -0
- package/dist/cjs/resources/customer.d.ts.map +1 -0
- package/dist/cjs/resources/customer.js +38 -0
- package/dist/cjs/resources/customer.js.map +1 -0
- package/dist/cjs/resources/staking.d.ts +32 -0
- package/dist/cjs/resources/staking.d.ts.map +1 -0
- package/dist/cjs/resources/staking.js +69 -0
- package/dist/cjs/resources/staking.js.map +1 -0
- package/dist/cjs/resources/trading.d.ts +24 -0
- package/dist/cjs/resources/trading.d.ts.map +1 -0
- package/dist/cjs/resources/trading.js +41 -0
- package/dist/cjs/resources/trading.js.map +1 -0
- package/dist/cjs/resources/transaction.d.ts +6 -9
- package/dist/cjs/resources/transaction.d.ts.map +1 -1
- package/dist/cjs/resources/transaction.js +10 -15
- package/dist/cjs/resources/transaction.js.map +1 -1
- package/dist/cjs/resources/webhooks.d.ts +46 -0
- package/dist/cjs/resources/webhooks.d.ts.map +1 -0
- package/dist/cjs/resources/webhooks.js +142 -0
- package/dist/cjs/resources/webhooks.js.map +1 -0
- package/dist/cjs/types/apikeys.d.ts +43 -0
- package/dist/cjs/types/apikeys.d.ts.map +1 -0
- package/dist/cjs/types/apikeys.js +3 -0
- package/dist/cjs/types/apikeys.js.map +1 -0
- package/dist/cjs/types/asset.d.ts +57 -0
- package/dist/cjs/types/asset.d.ts.map +1 -0
- package/dist/cjs/types/asset.js +3 -0
- package/dist/cjs/types/asset.js.map +1 -0
- package/dist/cjs/types/bank.d.ts +58 -0
- package/dist/cjs/types/bank.d.ts.map +1 -0
- package/dist/cjs/types/bank.js +3 -0
- package/dist/cjs/types/bank.js.map +1 -0
- package/dist/cjs/types/core.d.ts +32 -0
- package/dist/cjs/types/core.d.ts.map +1 -0
- package/dist/cjs/types/core.js +3 -0
- package/dist/cjs/types/core.js.map +1 -0
- package/dist/cjs/types/custody.d.ts +50 -0
- package/dist/cjs/types/custody.d.ts.map +1 -0
- package/dist/cjs/types/custody.js +3 -0
- package/dist/cjs/types/custody.js.map +1 -0
- package/dist/cjs/types/customer.d.ts +190 -0
- package/dist/cjs/types/customer.d.ts.map +1 -0
- package/dist/cjs/types/customer.js +3 -0
- package/dist/cjs/types/customer.js.map +1 -0
- package/dist/cjs/types/index.d.ts +78 -194
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +0 -1
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/types/staking.d.ts +88 -0
- package/dist/cjs/types/staking.d.ts.map +1 -0
- package/dist/cjs/types/staking.js +3 -0
- package/dist/cjs/types/staking.js.map +1 -0
- package/dist/cjs/types/trading.d.ts +51 -0
- package/dist/cjs/types/trading.d.ts.map +1 -0
- package/dist/cjs/types/trading.js +3 -0
- package/dist/cjs/types/trading.js.map +1 -0
- package/dist/cjs/types/transaction.d.ts +61 -0
- package/dist/cjs/types/transaction.d.ts.map +1 -0
- package/dist/cjs/types/transaction.js +3 -0
- package/dist/cjs/types/transaction.js.map +1 -0
- package/dist/cjs/types/webhooks.d.ts +55 -0
- package/dist/cjs/types/webhooks.d.ts.map +1 -0
- package/dist/cjs/types/webhooks.js +3 -0
- package/dist/cjs/types/webhooks.js.map +1 -0
- package/dist/cjs/utils.d.ts +21 -2
- package/dist/cjs/utils.d.ts.map +1 -1
- package/dist/cjs/utils.js +67 -4
- package/dist/cjs/utils.js.map +1 -1
- package/dist/cjs/version.d.ts +2 -0
- package/dist/cjs/version.d.ts.map +1 -0
- package/dist/cjs/version.js +6 -0
- package/dist/cjs/version.js.map +1 -0
- package/dist/esm/client.d.ts +20 -8
- package/dist/esm/client.d.ts.map +1 -1
- package/dist/esm/client.js +33 -12
- package/dist/esm/client.js.map +1 -1
- package/dist/esm/constants.d.ts +256 -0
- package/dist/esm/constants.d.ts.map +1 -0
- package/dist/esm/constants.js +211 -0
- package/dist/esm/constants.js.map +1 -0
- package/dist/esm/error.d.ts +17 -10
- package/dist/esm/error.d.ts.map +1 -1
- package/dist/esm/error.js +24 -6
- package/dist/esm/error.js.map +1 -1
- package/dist/esm/http.d.ts +13 -8
- package/dist/esm/http.d.ts.map +1 -1
- package/dist/esm/http.js +136 -45
- package/dist/esm/http.js.map +1 -1
- package/dist/esm/index.d.ts +14 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/resources/apikeys.d.ts +18 -0
- package/dist/esm/resources/apikeys.d.ts.map +1 -0
- package/dist/esm/resources/apikeys.js +27 -0
- package/dist/esm/resources/apikeys.js.map +1 -0
- package/dist/esm/resources/asset.d.ts +17 -5
- package/dist/esm/resources/asset.d.ts.map +1 -1
- package/dist/esm/resources/asset.js +17 -6
- package/dist/esm/resources/asset.js.map +1 -1
- package/dist/esm/resources/bank.d.ts +11 -6
- package/dist/esm/resources/bank.d.ts.map +1 -1
- package/dist/esm/resources/bank.js +18 -10
- package/dist/esm/resources/bank.js.map +1 -1
- package/dist/esm/resources/core.d.ts +12 -0
- package/dist/esm/resources/core.d.ts.map +1 -0
- package/dist/esm/resources/core.js +18 -0
- package/dist/esm/resources/core.js.map +1 -0
- package/dist/esm/resources/custody.d.ts +27 -0
- package/dist/esm/resources/custody.d.ts.map +1 -0
- package/dist/esm/resources/custody.js +34 -0
- package/dist/esm/resources/custody.js.map +1 -0
- package/dist/esm/resources/customer.d.ts +20 -0
- package/dist/esm/resources/customer.d.ts.map +1 -0
- package/dist/esm/resources/customer.js +34 -0
- package/dist/esm/resources/customer.js.map +1 -0
- package/dist/esm/resources/staking.d.ts +32 -0
- package/dist/esm/resources/staking.d.ts.map +1 -0
- package/dist/esm/resources/staking.js +65 -0
- package/dist/esm/resources/staking.js.map +1 -0
- package/dist/esm/resources/trading.d.ts +24 -0
- package/dist/esm/resources/trading.d.ts.map +1 -0
- package/dist/esm/resources/trading.js +37 -0
- package/dist/esm/resources/trading.js.map +1 -0
- package/dist/esm/resources/transaction.d.ts +6 -9
- package/dist/esm/resources/transaction.d.ts.map +1 -1
- package/dist/esm/resources/transaction.js +11 -16
- package/dist/esm/resources/transaction.js.map +1 -1
- package/dist/esm/resources/webhooks.d.ts +46 -0
- package/dist/esm/resources/webhooks.d.ts.map +1 -0
- package/dist/esm/resources/webhooks.js +138 -0
- package/dist/esm/resources/webhooks.js.map +1 -0
- package/dist/esm/types/apikeys.d.ts +43 -0
- package/dist/esm/types/apikeys.d.ts.map +1 -0
- package/dist/esm/types/apikeys.js +2 -0
- package/dist/esm/types/apikeys.js.map +1 -0
- package/dist/esm/types/asset.d.ts +57 -0
- package/dist/esm/types/asset.d.ts.map +1 -0
- package/dist/esm/types/asset.js +2 -0
- package/dist/esm/types/asset.js.map +1 -0
- package/dist/esm/types/bank.d.ts +58 -0
- package/dist/esm/types/bank.d.ts.map +1 -0
- package/dist/esm/types/bank.js +2 -0
- package/dist/esm/types/bank.js.map +1 -0
- package/dist/esm/types/core.d.ts +32 -0
- package/dist/esm/types/core.d.ts.map +1 -0
- package/dist/esm/types/core.js +2 -0
- package/dist/esm/types/core.js.map +1 -0
- package/dist/esm/types/custody.d.ts +50 -0
- package/dist/esm/types/custody.d.ts.map +1 -0
- package/dist/esm/types/custody.js +2 -0
- package/dist/esm/types/custody.js.map +1 -0
- package/dist/esm/types/customer.d.ts +190 -0
- package/dist/esm/types/customer.d.ts.map +1 -0
- package/dist/esm/types/customer.js +2 -0
- package/dist/esm/types/customer.js.map +1 -0
- package/dist/esm/types/index.d.ts +78 -194
- package/dist/esm/types/index.d.ts.map +1 -1
- package/dist/esm/types/index.js +0 -1
- package/dist/esm/types/index.js.map +1 -1
- package/dist/esm/types/staking.d.ts +88 -0
- package/dist/esm/types/staking.d.ts.map +1 -0
- package/dist/esm/types/staking.js +2 -0
- package/dist/esm/types/staking.js.map +1 -0
- package/dist/esm/types/trading.d.ts +51 -0
- package/dist/esm/types/trading.d.ts.map +1 -0
- package/dist/esm/types/trading.js +2 -0
- package/dist/esm/types/trading.js.map +1 -0
- package/dist/esm/types/transaction.d.ts +61 -0
- package/dist/esm/types/transaction.d.ts.map +1 -0
- package/dist/esm/types/transaction.js +2 -0
- package/dist/esm/types/transaction.js.map +1 -0
- package/dist/esm/types/webhooks.d.ts +55 -0
- package/dist/esm/types/webhooks.d.ts.map +1 -0
- package/dist/esm/types/webhooks.js +2 -0
- package/dist/esm/types/webhooks.js.map +1 -0
- package/dist/esm/utils.d.ts +21 -2
- package/dist/esm/utils.d.ts.map +1 -1
- package/dist/esm/utils.js +62 -4
- package/dist/esm/utils.js.map +1 -1
- package/dist/esm/version.d.ts +2 -0
- package/dist/esm/version.d.ts.map +1 -0
- package/dist/esm/version.js +3 -0
- package/dist/esm/version.js.map +1 -0
- package/package.json +29 -12
- package/readme/concepts.md +128 -0
- package/readme/configuration.md +72 -0
- package/readme/errors.md +67 -0
- package/readme/installation.md +43 -0
- package/readme/media/activation.svg +58 -0
- package/readme/media/deposit-flow.svg +70 -0
- package/readme/media/order-buy.svg +43 -0
- package/readme/media/order-sell.svg +47 -0
- package/readme/media/purchase-flow.svg +61 -0
- package/readme/media/sale-flow.svg +61 -0
- package/readme/media/staking-position.svg +75 -0
- package/readme/media/transaction-lifecycle.svg +61 -0
- package/readme/media/webhook-delivery.svg +53 -0
- package/readme/media/withdrawal-flow.svg +64 -0
- package/readme/quick-start.md +87 -0
- package/readme/resource/apikeys.md +103 -0
- package/readme/resource/asset.md +121 -0
- package/readme/resource/bank.md +161 -0
- package/readme/resource/core.md +91 -0
- package/readme/resource/custody.md +166 -0
- package/readme/resource/customer.md +210 -0
- package/readme/resource/staking.md +281 -0
- package/readme/resource/trading.md +171 -0
- package/readme/resource/transaction.md +110 -0
- package/readme/resource/webhooks.md +309 -0
- package/src/client.ts +46 -0
- package/src/constants.ts +281 -0
- package/src/error.ts +36 -0
- package/src/http.ts +201 -0
- package/src/index.ts +111 -0
- package/src/resources/apikeys.ts +30 -0
- package/src/resources/asset.ts +28 -0
- package/src/resources/bank.ts +39 -0
- package/src/resources/core.ts +19 -0
- package/src/resources/custody.ts +37 -0
- package/src/resources/customer.ts +46 -0
- package/src/resources/staking.ts +88 -0
- package/src/resources/trading.ts +41 -0
- package/src/resources/transaction.ts +20 -0
- package/src/resources/webhooks.ts +169 -0
- package/src/types/apikeys.ts +35 -0
- package/src/types/asset.ts +59 -0
- package/src/types/bank.ts +60 -0
- package/src/types/core.ts +32 -0
- package/src/types/custody.ts +40 -0
- package/src/types/customer.ts +189 -0
- package/src/types/index.ts +215 -0
- package/src/types/staking.ts +87 -0
- package/src/types/trading.ts +56 -0
- package/src/types/transaction.ts +62 -0
- package/src/types/webhooks.ts +60 -0
- package/src/utils.ts +74 -0
- package/src/version.ts +2 -0
- package/dist/cjs/resources/order.d.ts +0 -17
- package/dist/cjs/resources/order.d.ts.map +0 -1
- package/dist/cjs/resources/order.js +0 -30
- package/dist/cjs/resources/order.js.map +0 -1
- package/dist/cjs/resources/stats.d.ts +0 -11
- package/dist/cjs/resources/stats.d.ts.map +0 -1
- package/dist/cjs/resources/stats.js +0 -18
- package/dist/cjs/resources/stats.js.map +0 -1
- package/dist/cjs/resources/user.d.ts +0 -22
- package/dist/cjs/resources/user.d.ts.map +0 -1
- package/dist/cjs/resources/user.js +0 -37
- package/dist/cjs/resources/user.js.map +0 -1
- package/dist/cjs/resources/wallet.d.ts +0 -11
- package/dist/cjs/resources/wallet.d.ts.map +0 -1
- package/dist/cjs/resources/wallet.js +0 -19
- package/dist/cjs/resources/wallet.js.map +0 -1
- package/dist/esm/resources/order.d.ts +0 -17
- package/dist/esm/resources/order.d.ts.map +0 -1
- package/dist/esm/resources/order.js +0 -26
- package/dist/esm/resources/order.js.map +0 -1
- package/dist/esm/resources/stats.d.ts +0 -11
- package/dist/esm/resources/stats.d.ts.map +0 -1
- package/dist/esm/resources/stats.js +0 -14
- package/dist/esm/resources/stats.js.map +0 -1
- package/dist/esm/resources/user.d.ts +0 -22
- package/dist/esm/resources/user.d.ts.map +0 -1
- package/dist/esm/resources/user.js +0 -33
- package/dist/esm/resources/user.js.map +0 -1
- package/dist/esm/resources/wallet.d.ts +0 -11
- package/dist/esm/resources/wallet.d.ts.map +0 -1
- package/dist/esm/resources/wallet.js +0 -15
- package/dist/esm/resources/wallet.js.map +0 -1
- package/dist/types/client.d.ts +0 -19
- package/dist/types/client.d.ts.map +0 -1
- package/dist/types/error.d.ts +0 -15
- package/dist/types/error.d.ts.map +0 -1
- package/dist/types/http.d.ts +0 -21
- package/dist/types/http.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -4
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/resources/asset.d.ts +0 -11
- package/dist/types/resources/asset.d.ts.map +0 -1
- package/dist/types/resources/bank.d.ts +0 -13
- package/dist/types/resources/bank.d.ts.map +0 -1
- package/dist/types/resources/order.d.ts +0 -17
- package/dist/types/resources/order.d.ts.map +0 -1
- package/dist/types/resources/stats.d.ts +0 -11
- package/dist/types/resources/stats.d.ts.map +0 -1
- package/dist/types/resources/transaction.d.ts +0 -15
- package/dist/types/resources/transaction.d.ts.map +0 -1
- package/dist/types/resources/user.d.ts +0 -22
- package/dist/types/resources/user.d.ts.map +0 -1
- package/dist/types/resources/wallet.d.ts +0 -11
- package/dist/types/resources/wallet.d.ts.map +0 -1
- package/dist/types/types/index.d.ts +0 -213
- package/dist/types/types/index.d.ts.map +0 -1
- package/dist/types/utils.d.ts +0 -7
- package/dist/types/utils.d.ts.map +0 -1
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 640" role="img" aria-labelledby="title">
|
|
2
|
+
<title id="title">An EUR deposit: the wire to the organization account at the bank provider, its report, the matching by reference, the compliance analysis, the credit of the ledger</title>
|
|
3
|
+
<defs>
|
|
4
|
+
<marker id="m7c3aed" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#7c3aed"/></marker>
|
|
5
|
+
<marker id="m0d9488" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#0d9488"/></marker>
|
|
6
|
+
<marker id="md97706" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#d97706"/></marker>
|
|
7
|
+
<marker id="m0f172a" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#0f172a"/></marker>
|
|
8
|
+
<pattern id="grid" width="16" height="16" patternUnits="userSpaceOnUse"><circle cx="8" cy="8" r="1" fill="#e2e8f0"/></pattern>
|
|
9
|
+
<filter id="shadow" x="-10%" y="-20%" width="120%" height="160%"><feDropShadow dx="0" dy="1" stdDeviation="2" flood-color="#0f172a" flood-opacity="0.10"/></filter>
|
|
10
|
+
</defs>
|
|
11
|
+
<rect width="1000" height="640" fill="#ffffff"/>
|
|
12
|
+
<rect width="1000" height="640" fill="url(#grid)"/>
|
|
13
|
+
<line x1="110" y1="48" x2="110" y2="560" stroke="#e2e8f0" stroke-width="2"/>
|
|
14
|
+
<rect x="108" y="21" width="4" height="18" rx="2" fill="#0f172a"/>
|
|
15
|
+
<text x="120.0" y="34.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="600" fill="#0f172a" text-anchor="start">Customer</text>
|
|
16
|
+
<line x1="370" y1="48" x2="370" y2="560" stroke="#e2e8f0" stroke-width="2"/>
|
|
17
|
+
<rect x="368" y="21" width="4" height="18" rx="2" fill="#d97706"/>
|
|
18
|
+
<text x="380.0" y="34.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="600" fill="#0f172a" text-anchor="start">Bank provider (holds the funds)</text>
|
|
19
|
+
<line x1="630" y1="48" x2="630" y2="560" stroke="#e2e8f0" stroke-width="2"/>
|
|
20
|
+
<rect x="628" y="21" width="4" height="18" rx="2" fill="#7c3aed"/>
|
|
21
|
+
<text x="640.0" y="34.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="600" fill="#0f172a" text-anchor="start">BITGEN ledger</text>
|
|
22
|
+
<line x1="870" y1="48" x2="870" y2="560" stroke="#e2e8f0" stroke-width="2"/>
|
|
23
|
+
<rect x="868" y="21" width="4" height="18" rx="2" fill="#0d9488"/>
|
|
24
|
+
<text x="880.0" y="34.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="600" fill="#0f172a" text-anchor="start">Your organization</text>
|
|
25
|
+
<rect x="107" y="70" width="6" height="92" rx="3" fill="#0f172a"/>
|
|
26
|
+
<rect x="367" y="70" width="6" height="92" rx="3" fill="#d97706"/>
|
|
27
|
+
<path d="M114,116 H365" fill="none" stroke="#0f172a" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m0f172a)"/>
|
|
28
|
+
<rect x="140" y="70" width="200" height="92" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
29
|
+
<text x="156.0" y="94.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="12" font-weight="600" fill="#0f172a" text-anchor="start">Wire transfer</text>
|
|
30
|
+
<text x="156.0" y="114.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">to the organization's account</text>
|
|
31
|
+
<text x="156.0" y="131.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">reference <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">BTGN</tspan> + code (<tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">message</tspan>)</text>
|
|
32
|
+
<text x="156.0" y="148.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">150.75 EUR</text>
|
|
33
|
+
<rect x="367" y="177" width="6" height="74" rx="3" fill="#d97706"/>
|
|
34
|
+
<rect x="627" y="177" width="6" height="74" rx="3" fill="#7c3aed"/>
|
|
35
|
+
<path d="M374,214 H625" fill="none" stroke="#d97706" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#md97706)"/>
|
|
36
|
+
<rect x="400" y="177" width="200" height="74" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
37
|
+
<text x="416.0" y="201.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="12" font-weight="600" fill="#0f172a" text-anchor="start">Reported to BITGEN</text>
|
|
38
|
+
<text x="416.0" y="221.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">by the provider</text>
|
|
39
|
+
<text x="416.0" y="238.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">(automated bank)</text>
|
|
40
|
+
<path d="M866,214 H635" fill="none" stroke="#0d9488" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#m0d9488)"/>
|
|
41
|
+
<rect x="867" y="177" width="6" height="74" rx="3" fill="#0d9488"/>
|
|
42
|
+
<rect x="650" y="177" width="200" height="74" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
43
|
+
<text x="666.0" y="201.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="12" font-weight="600" fill="#0f172a" text-anchor="start">Manual bank: you declare it</text>
|
|
44
|
+
<text x="666.0" y="221.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">Declare a deposit → <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">201 { uuid }</tspan></text>
|
|
45
|
+
<text x="666.0" y="238.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">then the same path</text>
|
|
46
|
+
<rect x="627" y="270" width="6" height="72" rx="3" fill="#7c3aed"/>
|
|
47
|
+
<rect x="530" y="276" width="200" height="60" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
48
|
+
<text x="546.0" y="300.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="12" font-weight="600" fill="#0f172a" text-anchor="start">Matched by the reference</text>
|
|
49
|
+
<text x="546.0" y="320.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">the code identifies the account</text>
|
|
50
|
+
<text x="546.0" y="337.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">pending.in</tspan> 150.75</text>
|
|
51
|
+
<rect x="627" y="346" width="6" height="92" rx="3" fill="#7c3aed"/>
|
|
52
|
+
<rect x="867" y="346" width="6" height="92" rx="3" fill="#0d9488"/>
|
|
53
|
+
<path d="M634,392 H865" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
54
|
+
<rect x="650" y="346" width="200" height="92" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
55
|
+
<text x="666.0" y="370.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="12" font-weight="600" fill="#0f172a" text-anchor="start">Compliance analysis</text>
|
|
56
|
+
<text x="666.0" y="390.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">transaction <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">BANK</tspan> <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">IN</tspan></text>
|
|
57
|
+
<text x="666.0" y="407.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">event <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">bank.transaction</tspan>,</text>
|
|
58
|
+
<text x="666.0" y="424.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">PENDING</tspan> if an alert holds it</text>
|
|
59
|
+
<rect x="627" y="440" width="6" height="108" rx="3" fill="#7c3aed"/>
|
|
60
|
+
<rect x="867" y="440" width="6" height="108" rx="3" fill="#0d9488"/>
|
|
61
|
+
<path d="M634,494 H865" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
62
|
+
<rect x="650" y="440" width="200" height="108" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
63
|
+
<text x="666.0" y="464.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="12" font-weight="600" fill="#0f172a" text-anchor="start">Credited</text>
|
|
64
|
+
<text x="666.0" y="484.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">balance</tspan> 25.4 → 176.15</text>
|
|
65
|
+
<text x="666.0" y="501.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">operation <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">DEPOSIT</tspan> 150.75</text>
|
|
66
|
+
<text x="666.0" y="518.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">events <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">bank.credited</tspan>,</text>
|
|
67
|
+
<text x="666.0" y="535.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">bank.transaction</tspan> <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">COMPLETED</tspan></text>
|
|
68
|
+
<text x="500.0" y="588.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle" font-style="italic">The credit is never immediate: <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">pending.in</tspan> holds the amount meanwhile.</text>
|
|
69
|
+
<text x="500.0" y="604.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle" font-style="italic">Without a valid reference the wire is never credited: the organization's compliance is notified.</text>
|
|
70
|
+
</svg>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 290" role="img" aria-labelledby="title">
|
|
2
|
+
<title id="title">Purchase (BUY): the states of an order, FAILED and PARKED</title>
|
|
3
|
+
<defs>
|
|
4
|
+
<marker id="mcbd5e1" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#cbd5e1"/></marker>
|
|
5
|
+
<marker id="m7c3aed" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#7c3aed"/></marker>
|
|
6
|
+
<pattern id="grid" width="16" height="16" patternUnits="userSpaceOnUse"><circle cx="8" cy="8" r="1" fill="#e2e8f0"/></pattern>
|
|
7
|
+
<filter id="shadow" x="-10%" y="-20%" width="120%" height="160%"><feDropShadow dx="0" dy="1" stdDeviation="2" flood-color="#0f172a" flood-opacity="0.10"/></filter>
|
|
8
|
+
</defs>
|
|
9
|
+
<rect width="1000" height="290" fill="#ffffff"/>
|
|
10
|
+
<rect width="1000" height="290" fill="url(#grid)"/>
|
|
11
|
+
<circle cx="450" cy="30" r="5" fill="#7c3aed"/>
|
|
12
|
+
<text x="460.8" y="34.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="14" font-weight="600" fill="#0f172a" text-anchor="start">Purchase</text>
|
|
13
|
+
<rect x="528" y="18" width="44" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
14
|
+
<text x="549.4" y="34.1" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">BUY</text>
|
|
15
|
+
<path d="M304,96 H344" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
16
|
+
<path d="M440,96 H480" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
17
|
+
<path d="M556,96 H596" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
18
|
+
<path d="M700,96 H740" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
19
|
+
<rect x="202" y="81" width="100" height="30" rx="15.0" fill="#eef2ff"/>
|
|
20
|
+
<text x="251.6" y="100.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">REGISTERED</text>
|
|
21
|
+
<rect x="346" y="81" width="93" height="30" rx="15.0" fill="#eef2ff"/>
|
|
22
|
+
<text x="392.0" y="100.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">EXECUTING</text>
|
|
23
|
+
<rect x="482" y="81" width="71" height="30" rx="15.0" fill="#eef2ff"/>
|
|
24
|
+
<text x="518.0" y="100.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">FILLED</text>
|
|
25
|
+
<rect x="598" y="81" width="100" height="30" rx="15.0" fill="#eef2ff"/>
|
|
26
|
+
<text x="647.6" y="100.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">DELIVERING</text>
|
|
27
|
+
<rect x="742" y="81" width="57" height="30" rx="15.0" fill="#dcfce7"/>
|
|
28
|
+
<text x="770.0" y="100.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#15803d" text-anchor="middle">DONE</text>
|
|
29
|
+
<path d="M252,113 V134 Q252,140 258,140 H316 Q322,140 322,146 V171" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#mcbd5e1)"/>
|
|
30
|
+
<path d="M380,113 V134 Q380,140 374,140 H328 Q322,140 322,146 V171" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#mcbd5e1)"/>
|
|
31
|
+
<path d="M404,113 V148 Q404,154 410,154 H586 Q592,154 592,160 V171" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#mcbd5e1)"/>
|
|
32
|
+
<rect x="286" y="173" width="71" height="30" rx="15.0" fill="#fee2e2"/>
|
|
33
|
+
<text x="321.8" y="192.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#b91c1c" text-anchor="middle">FAILED</text>
|
|
34
|
+
<rect x="556" y="173" width="71" height="30" rx="15.0" fill="#fef3c7"/>
|
|
35
|
+
<text x="592.0" y="192.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#b45309" text-anchor="middle">PARKED</text>
|
|
36
|
+
<text x="321.8" y="220.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">Failed before anything was received:</text>
|
|
37
|
+
<text x="321.8" y="235.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">never launched, or refused or failed</text>
|
|
38
|
+
<text x="321.8" y="250.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">by the exchange.</text>
|
|
39
|
+
<text x="321.8" y="265.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">The EUR reserve is released.</text>
|
|
40
|
+
<text x="592.0" y="220.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">Executed, but nothing of the target</text>
|
|
41
|
+
<text x="592.0" y="235.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">asset was received;</text>
|
|
42
|
+
<text x="592.0" y="250.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">the BITGEN team takes over.</text>
|
|
43
|
+
</svg>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 290" role="img" aria-labelledby="title">
|
|
2
|
+
<title id="title">Sale (SELL): the states of an order, FAILED and PARKED</title>
|
|
3
|
+
<defs>
|
|
4
|
+
<marker id="mcbd5e1" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#cbd5e1"/></marker>
|
|
5
|
+
<marker id="m0d9488" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#0d9488"/></marker>
|
|
6
|
+
<pattern id="grid" width="16" height="16" patternUnits="userSpaceOnUse"><circle cx="8" cy="8" r="1" fill="#e2e8f0"/></pattern>
|
|
7
|
+
<filter id="shadow" x="-10%" y="-20%" width="120%" height="160%"><feDropShadow dx="0" dy="1" stdDeviation="2" flood-color="#0f172a" flood-opacity="0.10"/></filter>
|
|
8
|
+
</defs>
|
|
9
|
+
<rect width="1000" height="290" fill="#ffffff"/>
|
|
10
|
+
<rect width="1000" height="290" fill="url(#grid)"/>
|
|
11
|
+
<circle cx="461" cy="30" r="5" fill="#0d9488"/>
|
|
12
|
+
<text x="471.9" y="34.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="14" font-weight="600" fill="#0f172a" text-anchor="start">Sale</text>
|
|
13
|
+
<rect x="509" y="18" width="51" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
14
|
+
<text x="534.7" y="34.1" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">SELL</text>
|
|
15
|
+
<path d="M238,96 H274" fill="none" stroke="#0d9488" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m0d9488)"/>
|
|
16
|
+
<path d="M392,96 H428" fill="none" stroke="#0d9488" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m0d9488)"/>
|
|
17
|
+
<path d="M525,96 H561" fill="none" stroke="#0d9488" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m0d9488)"/>
|
|
18
|
+
<path d="M658,96 H694" fill="none" stroke="#0d9488" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m0d9488)"/>
|
|
19
|
+
<path d="M769,96 H805" fill="none" stroke="#0d9488" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m0d9488)"/>
|
|
20
|
+
<rect x="136" y="81" width="100" height="30" rx="15.0" fill="#eef2ff"/>
|
|
21
|
+
<text x="186.0" y="100.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">REGISTERED</text>
|
|
22
|
+
<rect x="276" y="81" width="114" height="30" rx="15.0" fill="#eef2ff"/>
|
|
23
|
+
<text x="333.2" y="100.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">TRANSFERRING</text>
|
|
24
|
+
<rect x="430" y="81" width="93" height="30" rx="15.0" fill="#eef2ff"/>
|
|
25
|
+
<text x="476.8" y="100.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">DEPOSITED</text>
|
|
26
|
+
<rect x="563" y="81" width="93" height="30" rx="15.0" fill="#eef2ff"/>
|
|
27
|
+
<text x="609.6" y="100.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">EXECUTING</text>
|
|
28
|
+
<rect x="696" y="81" width="71" height="30" rx="15.0" fill="#eef2ff"/>
|
|
29
|
+
<text x="731.6" y="100.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">FILLED</text>
|
|
30
|
+
<rect x="807" y="81" width="57" height="30" rx="15.0" fill="#dcfce7"/>
|
|
31
|
+
<text x="835.6" y="100.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#15803d" text-anchor="middle">DONE</text>
|
|
32
|
+
<path d="M186,113 V134 Q186,140 192,140 H370 Q376,140 376,146 V171" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#mcbd5e1)"/>
|
|
33
|
+
<path d="M333,113 V134 Q333,140 339,140 H370 Q376,140 376,146 V171" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#mcbd5e1)"/>
|
|
34
|
+
<path d="M598,113 V134 Q598,140 592,140 H382 Q376,140 376,146 V171" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#mcbd5e1)"/>
|
|
35
|
+
<path d="M622,113 V148 Q622,154 628,154 H804 Q810,154 810,160 V171" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#mcbd5e1)"/>
|
|
36
|
+
<rect x="341" y="173" width="71" height="30" rx="15.0" fill="#fee2e2"/>
|
|
37
|
+
<text x="376.3" y="192.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#b91c1c" text-anchor="middle">FAILED</text>
|
|
38
|
+
<rect x="774" y="173" width="71" height="30" rx="15.0" fill="#fef3c7"/>
|
|
39
|
+
<text x="809.6" y="192.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#b45309" text-anchor="middle">PARKED</text>
|
|
40
|
+
<text x="376.3" y="220.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">Failed before anything was received:</text>
|
|
41
|
+
<text x="376.3" y="235.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">never launched, custody transfer failed,</text>
|
|
42
|
+
<text x="376.3" y="250.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">or refused or failed by the exchange.</text>
|
|
43
|
+
<text x="376.3" y="265.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">The crypto goes back to the wallet.</text>
|
|
44
|
+
<text x="809.6" y="220.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">Executed, but nothing of the target</text>
|
|
45
|
+
<text x="809.6" y="235.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">asset was received;</text>
|
|
46
|
+
<text x="809.6" y="250.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">the BITGEN team takes over.</text>
|
|
47
|
+
</svg>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 640" role="img" aria-labelledby="title">
|
|
2
|
+
<title id="title">A purchase: the EUR reserved, the execution at the exchange, the delivery to the custody wallet, and what you read afterwards</title>
|
|
3
|
+
<defs>
|
|
4
|
+
<marker id="md97706" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#d97706"/></marker>
|
|
5
|
+
<marker id="m7c3aed" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#7c3aed"/></marker>
|
|
6
|
+
<marker id="m0f172a" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#0f172a"/></marker>
|
|
7
|
+
<pattern id="grid" width="16" height="16" patternUnits="userSpaceOnUse"><circle cx="8" cy="8" r="1" fill="#e2e8f0"/></pattern>
|
|
8
|
+
<filter id="shadow" x="-10%" y="-20%" width="120%" height="160%"><feDropShadow dx="0" dy="1" stdDeviation="2" flood-color="#0f172a" flood-opacity="0.10"/></filter>
|
|
9
|
+
</defs>
|
|
10
|
+
<rect width="1000" height="640" fill="#ffffff"/>
|
|
11
|
+
<rect width="1000" height="640" fill="url(#grid)"/>
|
|
12
|
+
<line x1="100" y1="48" x2="100" y2="520" stroke="#e2e8f0" stroke-width="2"/>
|
|
13
|
+
<rect x="98" y="21" width="4" height="18" rx="2" fill="#0f172a"/>
|
|
14
|
+
<text x="110.0" y="34.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="600" fill="#0f172a" text-anchor="start">Your organization</text>
|
|
15
|
+
<line x1="360" y1="48" x2="360" y2="520" stroke="#e2e8f0" stroke-width="2"/>
|
|
16
|
+
<rect x="358" y="21" width="4" height="18" rx="2" fill="#7c3aed"/>
|
|
17
|
+
<text x="370.0" y="34.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="600" fill="#0f172a" text-anchor="start">EUR account</text>
|
|
18
|
+
<line x1="620" y1="48" x2="620" y2="520" stroke="#e2e8f0" stroke-width="2"/>
|
|
19
|
+
<rect x="618" y="21" width="4" height="18" rx="2" fill="#d97706"/>
|
|
20
|
+
<text x="630.0" y="34.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="600" fill="#0f172a" text-anchor="start">Exchange</text>
|
|
21
|
+
<line x1="880" y1="48" x2="880" y2="520" stroke="#e2e8f0" stroke-width="2"/>
|
|
22
|
+
<rect x="878" y="21" width="4" height="18" rx="2" fill="#0d9488"/>
|
|
23
|
+
<text x="890.0" y="34.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="600" fill="#0f172a" text-anchor="start">Custody wallet</text>
|
|
24
|
+
<rect x="97" y="66.0" width="6" height="92.0" rx="3" fill="#0f172a"/>
|
|
25
|
+
<rect x="357" y="66.0" width="6" height="92.0" rx="3" fill="#7c3aed"/>
|
|
26
|
+
<path d="M104,112 H355" fill="none" stroke="#0f172a" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m0f172a)"/>
|
|
27
|
+
<rect x="130" y="66" width="200" height="92" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
28
|
+
<text x="146.0" y="90.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="12" font-weight="600" fill="#0f172a" text-anchor="start">Place an order</text>
|
|
29
|
+
<text x="146.0" y="110.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">BUY</tspan>, 50.00 EUR of ETH</text>
|
|
30
|
+
<text x="146.0" y="127.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">reference</tspan> order-42</text>
|
|
31
|
+
<text x="146.0" y="144.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">→ <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">201</tspan>, state <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">REGISTERED</tspan></text>
|
|
32
|
+
<rect x="357" y="163.0" width="6" height="86.0" rx="3" fill="#7c3aed"/>
|
|
33
|
+
<rect x="260" y="169" width="200" height="74" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
34
|
+
<text x="276.0" y="193.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="12" font-weight="600" fill="#0f172a" text-anchor="start">EUR reserved</text>
|
|
35
|
+
<text x="276.0" y="213.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">operation <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">PURCHASE</tspan> 50</text>
|
|
36
|
+
<text x="276.0" y="230.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">balance 176.15 → 126.15</text>
|
|
37
|
+
<rect x="357" y="254.0" width="6" height="92.0" rx="3" fill="#7c3aed"/>
|
|
38
|
+
<rect x="617" y="254.0" width="6" height="92.0" rx="3" fill="#d97706"/>
|
|
39
|
+
<path d="M364,300 H615" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
40
|
+
<rect x="390" y="254" width="200" height="92" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
41
|
+
<text x="406.0" y="278.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="12" font-weight="600" fill="#0f172a" text-anchor="start">Executed</text>
|
|
42
|
+
<text x="406.0" y="298.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">EXECUTING</tspan> → <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">FILLED</tspan></text>
|
|
43
|
+
<text x="406.0" y="315.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">price 2031.5 EUR, fee 0.5 EUR</text>
|
|
44
|
+
<text x="406.0" y="332.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">received 0.02437 ETH</text>
|
|
45
|
+
<rect x="617" y="357.0" width="6" height="74.0" rx="3" fill="#d97706"/>
|
|
46
|
+
<rect x="877" y="357.0" width="6" height="74.0" rx="3" fill="#0d9488"/>
|
|
47
|
+
<path d="M624,394 H875" fill="none" stroke="#d97706" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#md97706)"/>
|
|
48
|
+
<rect x="650" y="357" width="200" height="74" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
49
|
+
<text x="666.0" y="381.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="12" font-weight="600" fill="#0f172a" text-anchor="start">Delivered</text>
|
|
50
|
+
<text x="666.0" y="401.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">DELIVERING</tspan> → <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">DONE</tspan></text>
|
|
51
|
+
<text x="666.0" y="418.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">0.02437 ETH to the wallet</text>
|
|
52
|
+
<rect x="877" y="435.0" width="6" height="86.0" rx="3" fill="#0d9488"/>
|
|
53
|
+
<rect x="780" y="441" width="200" height="74" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
54
|
+
<text x="796.0" y="465.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="12" font-weight="600" fill="#0f172a" text-anchor="start">Custody transaction</text>
|
|
55
|
+
<text x="796.0" y="485.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">IN</tspan>, <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">COMPLETED</tspan>, 49.51 EUR</text>
|
|
56
|
+
<text x="796.0" y="502.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">on-chain reference</text>
|
|
57
|
+
<rect x="60" y="544" width="880" height="76" rx="12" fill="#f8fafc" stroke="#e2e8f0"/>
|
|
58
|
+
<text x="74.0" y="562.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="10" font-weight="600" fill="#94a3b8" text-anchor="start" letter-spacing="1">AFTERWARDS, YOUR ORGANIZATION READS</text>
|
|
59
|
+
<text x="500.0" y="584.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">Read an order: <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">DONE</tspan>, <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">received</tspan> 0.02437, <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">executedPrice</tspan> 2031.5, <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">fee</tspan> 0.5 · List operations of the EUR account: <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">PURCHASE</tspan> 50</text>
|
|
60
|
+
<text x="500.0" y="604.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">List transactions: custody <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">IN</tspan> 0.02437 ETH · Read a wallet: +0.02437 ETH · event <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">trading.buy</tspan></text>
|
|
61
|
+
</svg>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 640" role="img" aria-labelledby="title">
|
|
2
|
+
<title id="title">A sale: the crypto moved from the custody wallet to the exchange, the execution, the EUR credited on the ledger, and what your organization reads afterwards</title>
|
|
3
|
+
<defs>
|
|
4
|
+
<marker id="md97706" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#d97706"/></marker>
|
|
5
|
+
<marker id="m0d9488" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#0d9488"/></marker>
|
|
6
|
+
<marker id="m0f172a" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#0f172a"/></marker>
|
|
7
|
+
<pattern id="grid" width="16" height="16" patternUnits="userSpaceOnUse"><circle cx="8" cy="8" r="1" fill="#e2e8f0"/></pattern>
|
|
8
|
+
<filter id="shadow" x="-10%" y="-20%" width="120%" height="160%"><feDropShadow dx="0" dy="1" stdDeviation="2" flood-color="#0f172a" flood-opacity="0.10"/></filter>
|
|
9
|
+
</defs>
|
|
10
|
+
<rect width="1000" height="640" fill="#ffffff"/>
|
|
11
|
+
<rect width="1000" height="640" fill="url(#grid)"/>
|
|
12
|
+
<line x1="100" y1="48" x2="100" y2="520" stroke="#e2e8f0" stroke-width="2"/>
|
|
13
|
+
<rect x="98" y="21" width="4" height="18" rx="2" fill="#0f172a"/>
|
|
14
|
+
<text x="110.0" y="34.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="600" fill="#0f172a" text-anchor="start">Your organization</text>
|
|
15
|
+
<line x1="360" y1="48" x2="360" y2="520" stroke="#e2e8f0" stroke-width="2"/>
|
|
16
|
+
<rect x="358" y="21" width="4" height="18" rx="2" fill="#0d9488"/>
|
|
17
|
+
<text x="370.0" y="34.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="600" fill="#0f172a" text-anchor="start">Custody wallet</text>
|
|
18
|
+
<line x1="620" y1="48" x2="620" y2="520" stroke="#e2e8f0" stroke-width="2"/>
|
|
19
|
+
<rect x="618" y="21" width="4" height="18" rx="2" fill="#d97706"/>
|
|
20
|
+
<text x="630.0" y="34.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="600" fill="#0f172a" text-anchor="start">Exchange</text>
|
|
21
|
+
<line x1="880" y1="48" x2="880" y2="520" stroke="#e2e8f0" stroke-width="2"/>
|
|
22
|
+
<rect x="878" y="21" width="4" height="18" rx="2" fill="#7c3aed"/>
|
|
23
|
+
<text x="890.0" y="34.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="600" fill="#0f172a" text-anchor="start">EUR account</text>
|
|
24
|
+
<rect x="97" y="75" width="6" height="74" rx="3" fill="#0f172a"/>
|
|
25
|
+
<rect x="357" y="75" width="6" height="74" rx="3" fill="#0d9488"/>
|
|
26
|
+
<path d="M104,112 H355" fill="none" stroke="#0f172a" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m0f172a)"/>
|
|
27
|
+
<rect x="130" y="75" width="200" height="74" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
28
|
+
<text x="146.0" y="99.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="12" font-weight="600" fill="#0f172a" text-anchor="start">Place an order</text>
|
|
29
|
+
<text x="146.0" y="119.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">SELL</tspan>, 0.05 ETH</text>
|
|
30
|
+
<text x="146.0" y="136.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">→ <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">201</tspan>, state <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">REGISTERED</tspan></text>
|
|
31
|
+
<rect x="357" y="144" width="6" height="104" rx="3" fill="#0d9488"/>
|
|
32
|
+
<rect x="260" y="150" width="200" height="92" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
33
|
+
<text x="276.0" y="174.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="12" font-weight="600" fill="#0f172a" text-anchor="start">Internal transfer</text>
|
|
34
|
+
<text x="276.0" y="194.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">TRANSFERRING</tspan> → <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">DEPOSITED</tspan></text>
|
|
35
|
+
<text x="276.0" y="211.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">a custody transaction <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">OUT</tspan>,</text>
|
|
36
|
+
<text x="276.0" y="228.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">silent</tspan>, in the journal</text>
|
|
37
|
+
<rect x="357" y="254" width="6" height="92" rx="3" fill="#0d9488"/>
|
|
38
|
+
<rect x="617" y="254" width="6" height="92" rx="3" fill="#d97706"/>
|
|
39
|
+
<path d="M364,300 H615" fill="none" stroke="#0d9488" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m0d9488)"/>
|
|
40
|
+
<rect x="390" y="254" width="200" height="92" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
41
|
+
<text x="406.0" y="278.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="12" font-weight="600" fill="#0f172a" text-anchor="start">Executed</text>
|
|
42
|
+
<text x="406.0" y="298.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">EXECUTING</tspan> → <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">FILLED</tspan></text>
|
|
43
|
+
<text x="406.0" y="315.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">at <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">executedPrice</tspan>, minus <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">fee</tspan></text>
|
|
44
|
+
<text x="406.0" y="332.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">received</tspan>: the EUR</text>
|
|
45
|
+
<rect x="617" y="357" width="6" height="74" rx="3" fill="#d97706"/>
|
|
46
|
+
<rect x="877" y="357" width="6" height="74" rx="3" fill="#7c3aed"/>
|
|
47
|
+
<path d="M624,394 H875" fill="none" stroke="#d97706" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#md97706)"/>
|
|
48
|
+
<rect x="650" y="357" width="200" height="74" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
49
|
+
<text x="666.0" y="381.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="12" font-weight="600" fill="#0f172a" text-anchor="start">Credited</text>
|
|
50
|
+
<text x="666.0" y="401.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">FILLED</tspan> → <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">DONE</tspan></text>
|
|
51
|
+
<text x="666.0" y="418.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">received</tspan> EUR to the account</text>
|
|
52
|
+
<rect x="877" y="435" width="6" height="86" rx="3" fill="#7c3aed"/>
|
|
53
|
+
<rect x="780" y="441" width="200" height="74" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
54
|
+
<text x="796.0" y="465.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="12" font-weight="600" fill="#0f172a" text-anchor="start">Ledger</text>
|
|
55
|
+
<text x="796.0" y="485.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">operation <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">SELL</tspan></text>
|
|
56
|
+
<text x="796.0" y="502.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="start">event <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">bank.credited</tspan></text>
|
|
57
|
+
<rect x="60" y="544" width="880" height="76" rx="12" fill="#f8fafc" stroke="#e2e8f0"/>
|
|
58
|
+
<text x="74.0" y="562.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="10" font-weight="600" fill="#94a3b8" text-anchor="start" letter-spacing="1">AFTERWARDS, YOUR ORGANIZATION READS</text>
|
|
59
|
+
<text x="500.0" y="584.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">Read an order: <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">DONE</tspan>, <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">received</tspan>, <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">executedPrice</tspan>, <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">fee</tspan> · List operations of the EUR account: <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">SELL</tspan></text>
|
|
60
|
+
<text x="500.0" y="604.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">List transactions: custody <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">OUT</tspan> 0.05 ETH, <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">silent</tspan> · Read a wallet: −0.05 ETH · event <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">trading.sell</tspan></text>
|
|
61
|
+
</svg>
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 540" role="img" aria-labelledby="title">
|
|
2
|
+
<title id="title">Staking: the single movement of a position — STAKE, rewritten UNSTAKE on a full exit — and the states of the position</title>
|
|
3
|
+
<defs>
|
|
4
|
+
<marker id="mcbd5e1" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#cbd5e1"/></marker>
|
|
5
|
+
<marker id="m7c3aed" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#7c3aed"/></marker>
|
|
6
|
+
<pattern id="grid" width="16" height="16" patternUnits="userSpaceOnUse"><circle cx="8" cy="8" r="1" fill="#e2e8f0"/></pattern>
|
|
7
|
+
<filter id="shadow" x="-10%" y="-20%" width="120%" height="160%"><feDropShadow dx="0" dy="1" stdDeviation="2" flood-color="#0f172a" flood-opacity="0.10"/></filter>
|
|
8
|
+
</defs>
|
|
9
|
+
<rect width="1000" height="540" fill="#ffffff"/>
|
|
10
|
+
<rect width="1000" height="540" fill="url(#grid)"/>
|
|
11
|
+
<text x="500.0" y="34.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="14" font-weight="600" fill="#0f172a" text-anchor="middle">Movement and position</text>
|
|
12
|
+
<rect x="40" y="60" width="920" height="190" rx="12" fill="#f8fafc" stroke="#e2e8f0"/>
|
|
13
|
+
<text x="54.0" y="78.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="10" font-weight="600" fill="#94a3b8" text-anchor="start" letter-spacing="1">MOVEMENT — ONE PER POSITION, THE UUID RETURNED BY STAKE NEVER CHANGES</text>
|
|
14
|
+
<rect x="59" y="111" width="58" height="22" rx="11.0" fill="#f1f5f9"/>
|
|
15
|
+
<text x="88.0" y="126.0" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="11" font-weight="500" fill="#475569" text-anchor="middle">STAKE</text>
|
|
16
|
+
<path d="M223,122 H245" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
17
|
+
<path d="M327,122 H349" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
18
|
+
<rect x="128" y="107" width="93" height="30" rx="15.0" fill="#eef2ff"/>
|
|
19
|
+
<text x="174.4" y="126.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">REQUESTED</text>
|
|
20
|
+
<rect x="247" y="107" width="78" height="30" rx="15.0" fill="#eef2ff"/>
|
|
21
|
+
<text x="286.0" y="126.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">PENDING</text>
|
|
22
|
+
<rect x="351" y="107" width="93" height="30" rx="15.0" fill="#dcfce7"/>
|
|
23
|
+
<text x="397.6" y="126.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#15803d" text-anchor="middle">COMPLETED</text>
|
|
24
|
+
<path d="M174,139 V166" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#mcbd5e1)"/>
|
|
25
|
+
<rect x="139" y="171" width="71" height="26" rx="13.0" fill="#fee2e2"/>
|
|
26
|
+
<text x="174.4" y="188.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#b91c1c" text-anchor="middle">FAILED</text>
|
|
27
|
+
<path d="M286,139 V166" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#mcbd5e1)"/>
|
|
28
|
+
<rect x="243" y="171" width="86" height="26" rx="13.0" fill="#f1f5f9"/>
|
|
29
|
+
<text x="286.0" y="188.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#475569" text-anchor="middle">CANCELED</text>
|
|
30
|
+
<path d="M446,122 H576.0" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
31
|
+
<rect x="452" y="110" width="98" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
32
|
+
<text x="501.0" y="126.1" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">full unstake</text>
|
|
33
|
+
<rect x="580" y="111" width="72" height="22" rx="11.0" fill="#f1f5f9"/>
|
|
34
|
+
<text x="616.0" y="126.0" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="11" font-weight="500" fill="#475569" text-anchor="middle">UNSTAKE</text>
|
|
35
|
+
<path d="M756,122 H828" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
36
|
+
<rect x="759" y="110" width="66" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
37
|
+
<text x="791.8" y="126.1" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">closing</text>
|
|
38
|
+
<rect x="661" y="107" width="93" height="30" rx="15.0" fill="#eef2ff"/>
|
|
39
|
+
<text x="707.4" y="126.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">REQUESTED</text>
|
|
40
|
+
<rect x="830" y="107" width="93" height="30" rx="15.0" fill="#dcfce7"/>
|
|
41
|
+
<text x="876.2" y="126.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#15803d" text-anchor="middle">COMPLETED</text>
|
|
42
|
+
<text x="791.8" y="162.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11" font-weight="400" fill="#475569" text-anchor="middle" font-style="italic">the same movement, same uuid, rewritten</text>
|
|
43
|
+
<text x="791.8" y="178.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11" font-weight="400" fill="#475569" text-anchor="middle">kind <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">UNSTAKE</tspan>, state <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">REQUESTED</tspan> then <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">COMPLETED</tspan></text>
|
|
44
|
+
<text x="500.0" y="226.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">Read a movement · List movements (<tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">direction</tspan> <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">STAKE</tspan> or <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">UNSTAKE</tspan>) · List pending movements: <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">REQUESTED</tspan>, <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">PENDING</tspan>, <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">FAILED</tspan></text>
|
|
45
|
+
<rect x="40" y="280" width="920" height="236" rx="12" fill="#f8fafc" stroke="#e2e8f0"/>
|
|
46
|
+
<text x="54.0" y="298.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="10" font-weight="600" fill="#94a3b8" text-anchor="start" letter-spacing="1">POSITION — STAKING.UUID OF THE MOVEMENT, THE CAPITAL PLACED WITH THE PROVIDER</text>
|
|
47
|
+
<path d="M232,380 H356" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
48
|
+
<rect x="252" y="368" width="85" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
49
|
+
<text x="294.0" y="384.1" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">validation</text>
|
|
50
|
+
<path d="M438,380 H574" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
51
|
+
<rect x="458" y="368" width="98" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
52
|
+
<text x="506.4" y="384.1" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">full unstake</text>
|
|
53
|
+
<path d="M671,380 H775" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
54
|
+
<rect x="690" y="368" width="66" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
55
|
+
<text x="723.2" y="384.1" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">closing</text>
|
|
56
|
+
<rect x="152" y="365" width="78" height="30" rx="15.0" fill="#eef2ff"/>
|
|
57
|
+
<text x="190.8" y="384.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">CREATED</text>
|
|
58
|
+
<rect x="358" y="365" width="78" height="30" rx="15.0" fill="#eef2ff"/>
|
|
59
|
+
<text x="397.2" y="384.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">ENABLED</text>
|
|
60
|
+
<rect x="576" y="365" width="93" height="30" rx="15.0" fill="#eef2ff"/>
|
|
61
|
+
<text x="622.8" y="384.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">UNSTAKING</text>
|
|
62
|
+
<rect x="777" y="365" width="71" height="30" rx="15.0" fill="#dcfce7"/>
|
|
63
|
+
<text x="812.8" y="384.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#15803d" text-anchor="middle">CLOSED</text>
|
|
64
|
+
<path d="M191,397 V424" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#mcbd5e1)"/>
|
|
65
|
+
<rect x="155" y="429" width="71" height="26" rx="13.0" fill="#fee2e2"/>
|
|
66
|
+
<text x="190.8" y="446.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#b91c1c" text-anchor="middle">FAILED</text>
|
|
67
|
+
<text x="190.8" y="472.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11" font-weight="400" fill="#475569" text-anchor="middle">transfer failed, or canceled by the platform</text>
|
|
68
|
+
<path d="M379,364 V350 Q379,342 387,342 H407 Q415,342 415,350 V362" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
69
|
+
<rect x="241" y="312" width="312" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
70
|
+
<text x="397.2" y="328.1" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">partial unstake · claim rewards: stays ENABLED</text>
|
|
71
|
+
<text x="397.2" y="424.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11" font-weight="400" fill="#475569" text-anchor="middle"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">amount</tspan> / <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">data.rewards</tspan> decrease</text>
|
|
72
|
+
<text x="622.8" y="424.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11" font-weight="400" fill="#475569" text-anchor="middle">requested by Unstake</text>
|
|
73
|
+
<text x="812.8" y="424.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11" font-weight="400" fill="#475569" text-anchor="middle">closed by the platform</text>
|
|
74
|
+
<text x="500.0" y="500.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle">Claim rewards and Unstake take the position · <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">amount</tspan> becomes the net quantity received when the movement turns <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">PENDING</tspan></text>
|
|
75
|
+
</svg>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 520" role="img" aria-labelledby="title">
|
|
2
|
+
<title id="title">The lifecycle of a transaction: the compliance analysis, the nominal path of an incoming and of an outgoing transaction, the hold, the freeze, the refusal and the seizure</title>
|
|
3
|
+
<defs>
|
|
4
|
+
<marker id="mcbd5e1" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#cbd5e1"/></marker>
|
|
5
|
+
<marker id="m7c3aed" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0.5 L7,4 L0,7.5 z" fill="#7c3aed"/></marker>
|
|
6
|
+
<pattern id="grid" width="16" height="16" patternUnits="userSpaceOnUse"><circle cx="8" cy="8" r="1" fill="#e2e8f0"/></pattern>
|
|
7
|
+
<filter id="shadow" x="-10%" y="-20%" width="120%" height="160%"><feDropShadow dx="0" dy="1" stdDeviation="2" flood-color="#0f172a" flood-opacity="0.10"/></filter>
|
|
8
|
+
</defs>
|
|
9
|
+
<rect width="1000" height="520" fill="#ffffff"/>
|
|
10
|
+
<rect width="1000" height="520" fill="url(#grid)"/>
|
|
11
|
+
<text x="500.0" y="34.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="14" font-weight="600" fill="#0f172a" text-anchor="middle">The lifecycle of a transaction</text>
|
|
12
|
+
<path d="M178,118 H464" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
13
|
+
<circle cx="300" cy="118" r="4" fill="#7c3aed"/>
|
|
14
|
+
<rect x="338" y="106" width="91" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
15
|
+
<text x="383.2" y="122.1" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">clean · OUT</text>
|
|
16
|
+
<path d="M576,118 H812" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
17
|
+
<rect x="654" y="106" width="79" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
18
|
+
<text x="693.6" y="122.1" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">confirmed</text>
|
|
19
|
+
<path d="M300,114 V78 Q300,70 308,70 H852 Q860,70 860,78 V101" fill="none" stroke="#7c3aed" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m7c3aed)"/>
|
|
20
|
+
<rect x="538" y="58" width="85" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
21
|
+
<text x="580.0" y="74.1" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">clean · IN</text>
|
|
22
|
+
<path d="M130,135 V262 Q130,268 136,268 H259" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#mcbd5e1)"/>
|
|
23
|
+
<rect x="169" y="256" width="54" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
24
|
+
<text x="195.4" y="272.1" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">alert</text>
|
|
25
|
+
<path d="M341,268 H482" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#mcbd5e1)"/>
|
|
26
|
+
<rect x="382" y="256" width="60" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
27
|
+
<text x="411.8" y="272.1" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">frozen</text>
|
|
28
|
+
<path d="M558,268 H702" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#mcbd5e1)"/>
|
|
29
|
+
<rect x="600" y="256" width="60" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
30
|
+
<text x="630.0" y="272.1" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">seized</text>
|
|
31
|
+
<path d="M300,251 V123" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#mcbd5e1)"/>
|
|
32
|
+
<path d="M505,251 V198 Q505,192 499,192 H304" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4"/>
|
|
33
|
+
<rect x="261" y="180" width="79" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
34
|
+
<text x="300.0" y="196.1" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">validated</text>
|
|
35
|
+
<path d="M300,285 V402 Q300,408 306,408 H482" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#mcbd5e1)"/>
|
|
36
|
+
<rect x="359" y="396" width="66" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
37
|
+
<text x="392.2" y="412.1" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">refused</text>
|
|
38
|
+
<path d="M520,285 V391" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#mcbd5e1)"/>
|
|
39
|
+
<rect x="487" y="330" width="66" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
40
|
+
<text x="520.0" y="346.1" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">refused</text>
|
|
41
|
+
<path d="M545,133 V152 Q545,158 551,158 H814 Q820,158 820,164 V402 Q820,408 814,408 H558" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4" marker-end="url(#mcbd5e1)"/>
|
|
42
|
+
<rect x="759" y="330" width="123" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
43
|
+
<text x="820.0" y="346.1" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="500" fill="#475569" text-anchor="middle">execution failed</text>
|
|
44
|
+
<rect x="84" y="103" width="93" height="30" rx="15.0" fill="#eef2ff"/>
|
|
45
|
+
<text x="130.0" y="122.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">ANALYZING</text>
|
|
46
|
+
<rect x="466" y="103" width="107" height="30" rx="15.0" fill="#eef2ff"/>
|
|
47
|
+
<text x="520.0" y="122.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">TRANSFERING</text>
|
|
48
|
+
<rect x="814" y="103" width="93" height="30" rx="15.0" fill="#dcfce7"/>
|
|
49
|
+
<text x="860.0" y="122.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#15803d" text-anchor="middle">COMPLETED</text>
|
|
50
|
+
<rect x="261" y="253" width="78" height="30" rx="15.0" fill="#eef2ff"/>
|
|
51
|
+
<text x="300.0" y="272.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">PENDING</text>
|
|
52
|
+
<rect x="484" y="253" width="71" height="30" rx="15.0" fill="#eef2ff"/>
|
|
53
|
+
<text x="520.0" y="272.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#4338ca" text-anchor="middle">FROZEN</text>
|
|
54
|
+
<rect x="704" y="253" width="71" height="30" rx="15.0" fill="#fef3c7"/>
|
|
55
|
+
<text x="740.0" y="272.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#b45309" text-anchor="middle">SEIZED</text>
|
|
56
|
+
<rect x="484" y="393" width="71" height="30" rx="15.0" fill="#fee2e2"/>
|
|
57
|
+
<text x="520.0" y="412.3" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="12" font-weight="600" fill="#b91c1c" text-anchor="middle">FAILED</text>
|
|
58
|
+
<text x="500.0" y="466.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle" font-style="italic"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">credited</tspan> turns <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">true</tspan> right after <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">COMPLETED</tspan> on an incoming transaction.</text>
|
|
59
|
+
<text x="500.0" y="484.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle" font-style="italic">A <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">FAILED</tspan> or <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">SEIZED</tspan> deposit is returned or seized by a separate outgoing transaction.</text>
|
|
60
|
+
<text x="500.0" y="502.0" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="400" fill="#475569" text-anchor="middle" font-style="italic"><tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">COMPLETED</tspan>, <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">FAILED</tspan> and <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600">SEIZED</tspan> are terminal.</text>
|
|
61
|
+
</svg>
|