@bitgen/sdk 1.0.3 → 1.0.5
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 +8 -0
- package/README.md +2 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
- package/readme/concepts.md +24 -0
- package/readme/configuration.md +1 -1
- 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/resource/apikeys.md +4 -4
- package/readme/resource/asset.md +4 -4
- package/readme/resource/bank.md +16 -11
- package/readme/resource/core.md +2 -2
- package/readme/resource/custody.md +4 -4
- package/readme/resource/customer.md +6 -4
- package/readme/resource/staking.md +20 -16
- package/readme/resource/trading.md +10 -5
- package/readme/resource/transaction.md +8 -4
- package/readme/resource/webhooks.md +13 -11
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [1.0.4] - 2026-09-18
|
|
2
|
+
|
|
3
|
+
### Changed
|
|
4
|
+
- Documentation only, no code change. Ten diagrams in `readme/media/` (shipped with the package): the states of a purchase and of a sale, the activation and identity of a customer, the receiving of a webhook delivery, the movement and the position of a staking, the lifecycle of a transaction, the path of a purchase, of a sale, of an EUR deposit and of an EUR withdrawal
|
|
5
|
+
- `readme/concepts.md`: two new sections, `Following a purchase and a sale` and `Following a deposit and a withdrawal` — where the money goes, resource by resource, and what your organization reads afterwards
|
|
6
|
+
- Resource pages aligned with the platform's behaviour: `trading` — from which states an order reaches `FAILED` or `PARKED`, and what happens to the money; `staking` — one movement per position, rewritten `UNSTAKE` on a full exit, the cycle of the position, what `rewards` and `unstake` change, the events of the operations journal (`validated`, `failed`, `canceled`, `reward`, `claim`, `closed`) and their `movement`; `transaction` — the lifecycle of a transaction and `credited` for incoming transactions; `bank` — the bank provider holds the funds and BITGEN keeps the ledger, a declared deposit is credited after processing and compliance analysis, a withdrawal is reserved then debited at the confirmation of the wire, `pending.in` and `pending.out`
|
|
7
|
+
- Section titles of the resource pages start with a capital letter (`## Get`, `## Wallets`, `## UpdateEndpoint`…); anchors are unchanged
|
|
8
|
+
|
|
1
9
|
## [1.0.2] - 2026-09-17
|
|
2
10
|
|
|
3
11
|
### Added
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @bitgen/sdk — v1.0.
|
|
1
|
+
# @bitgen/sdk — v1.0.5
|
|
2
2
|
|
|
3
3
|
Official Node.js SDK for the BITGEN API v4 — server-side, TypeScript, ESM and CommonJS, no runtime dependency.
|
|
4
4
|
Install it with `npm install @bitgen/sdk` (Node.js 20 or later).
|
|
@@ -19,7 +19,7 @@ console.log(account.balance) // EUR balance of the customer
|
|
|
19
19
|
- [Installation](readme/installation.md) — Node.js 20+, ESM, CommonJS, TypeScript
|
|
20
20
|
- [Quick start](readme/quick-start.md) — a customer, their EUR account, a wallet, a purchase
|
|
21
21
|
- [Configuration](readme/configuration.md) — credentials, environments, custom host, timeout
|
|
22
|
-
- [Concepts](readme/concepts.md) — user references, amounts, pagination, assets, activation, constants
|
|
22
|
+
- [Concepts](readme/concepts.md) — user references, amounts, pagination, assets, activation, constants, the flows of a purchase, a sale, a deposit and a withdrawal
|
|
23
23
|
- [Errors](readme/errors.md) — `BitgenError`, error codes, rejected promises
|
|
24
24
|
|
|
25
25
|
Resources, in the order of an integration:
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.0.
|
|
1
|
+
export declare const VERSION = "1.0.5";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.0.
|
|
1
|
+
export declare const VERSION = "1.0.5";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/esm/version.js
CHANGED
package/package.json
CHANGED
package/readme/concepts.md
CHANGED
|
@@ -102,3 +102,27 @@ Each key is a list of `[epoch seconds, value]` points: `d` covers the last 24 ho
|
|
|
102
102
|
By default `client.customer.create` sends the customer an activation email. Until they click it, the account stays `CustomerState.CREATED` (`setup.needActivation` is `true`) and the **financial resources do not see it**: `client.bank` answers `404 unknown_bank`, `client.custody` and `client.staking` `403 org_forbidden`, `client.trading` `403 user_not_in_scope`. Only `client.customer.list` (where the customer appears as `CREATED`) and `client.customer.get` see it. An organization that handles onboarding itself creates its customers with `needActivation: false` — usable right away, no BITGEN email — and `notify: false` for no BITGEN emails at all ([Customers › create](resource/customer.md#create)).
|
|
103
103
|
|
|
104
104
|
If your organization uses BITGEN's identity verification, the customer's identity (KYC for a person, KYB for a business) must be validated first — `412 owner_identity_not_validated` when reading the EUR account, `403 kyc_not_validated` on custody, trading and staking otherwise. An organization that verifies the identity of its customers by its own means has no such requirement. The verification itself is not part of the SDK; its state is `identity.state` ([Customers › Identity](resource/customer.md#identity)).
|
|
105
|
+
|
|
106
|
+

|
|
107
|
+
|
|
108
|
+
## Following a purchase and a sale
|
|
109
|
+
|
|
110
|
+
A purchase moves money across four resources. Placing the order reserves the EUR on the customer's bank account — an operation `PURCHASE` ([Bank accounts](resource/bank.md)); the exchange of the platform executes it — `EXECUTING`, then `FILLED` with the price, the fee and the quantity received ([Trading](resource/trading.md)); the quantity is delivered to the customer's custody wallet — `DELIVERING`, then `DONE` ([Custody wallets](resource/custody.md)) — where it appears as a custody transaction `IN` ([Transactions](resource/transaction.md)). Afterwards, the order carries the result, the operations of the bank account show the debit, the journal the delivery, the wallet its new balance, and the event `trading.buy` is sent ([Webhooks](resource/webhooks.md)).
|
|
111
|
+
|
|
112
|
+

|
|
113
|
+
|
|
114
|
+
A sale goes the other way. The quantity leaves the customer's custody wallet through an internal transfer to the exchange — a `silent` custody transaction `OUT` in the journal ([Custody wallets](resource/custody.md), [Transactions](resource/transaction.md)); the exchange executes it — `EXECUTING`, then `FILLED` at `executedPrice`, minus `fee` ([Trading](resource/trading.md)); the EUR received are credited on the customer's EUR account — `DONE`, an operation `SELL` and the event `bank.credited` ([Bank accounts](resource/bank.md)); the event `trading.sell` is sent ([Webhooks](resource/webhooks.md)).
|
|
115
|
+
|
|
116
|
+

|
|
117
|
+
|
|
118
|
+
## Following a deposit and a withdrawal
|
|
119
|
+
|
|
120
|
+
The EUR of a customer are held by the bank provider of your organization, on the organization's account — one IBAN, the same for all your customers, that you give them yourself. BITGEN holds no funds: it keeps the **ledger** of each customer — `balance`, `pending`, `history`, operations ([Bank accounts](resource/bank.md)). The provider receives the wires and pays the withdrawals; you read the ledger and receive the events ([Webhooks](resource/webhooks.md)).
|
|
121
|
+
|
|
122
|
+

|
|
123
|
+
|
|
124
|
+
A deposit: the customer wires EUR to the organization's account with the reference `BTGN` followed by the code of their account (`message`) → the provider reports the wire to BITGEN — with a manual bank, you declare it ([credit](resource/bank.md#credit)) — on the sandbox test bank, that declaration is taken and reported back within seconds → BITGEN matches the reference and the amount enters `pending.in` → compliance analysis: a `BANK` `IN` transaction, `bank.transaction` (`PENDING` if an alert holds it — [Transactions](resource/transaction.md)) → `balance` credited, operation `DEPOSIT`, `bank.credited`. The credit is never immediate; without a valid reference the wire is never credited, and the compliance of your organization is notified.
|
|
125
|
+
|
|
126
|
+

|
|
127
|
+
|
|
128
|
+
A withdrawal: you request it ([Withdraw](resource/bank.md#withdraw)) — the amount is reserved in `pending.out`, `balance` untouched, `transaction` identifies the withdrawal → compliance analysis, `bank.transaction` → the provider wires from the organization's account to the customer's IBAN → at confirmation, `balance` debited, operation `WITHDRAWAL`, `bank.debited` with `amount`, `fee` and `net`. If it fails, the reserve is released.
|
package/readme/configuration.md
CHANGED
|
@@ -18,7 +18,7 @@ const client = new BitgenClient({
|
|
|
18
18
|
| Option | Description |
|
|
19
19
|
|---|---|
|
|
20
20
|
| `scope` | uuid of the organization that owns the key. Sent as the `BITGEN-Scope` header. It is also the organization the SDK uses wherever the API expects yours (webhooks, API keys, the organization of a new customer). |
|
|
21
|
-
| `apiKey` | The raw key, shown once when it is created. Sent as the `Api-key` header. |
|
|
21
|
+
| `apiKey` | The raw key, shown once when it is created by an administrator of the organization, in the BITGEN interface — never through the API. Sent as the `Api-key` header. |
|
|
22
22
|
|
|
23
23
|
A missing key, an unknown, revoked or expired key, or a `scope` that is not the key's organization, is refused with a `401` ([Common errors](errors.md#common-errors)).
|
|
24
24
|
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 560" role="img" aria-labelledby="title">
|
|
2
|
+
<title id="title">Activation and identity: from the creation of a customer to the financial resources</title>
|
|
3
|
+
<defs>
|
|
4
|
+
<marker id="m94a3b8" 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="#94a3b8"/></marker>
|
|
5
|
+
<pattern id="grid" width="16" height="16" patternUnits="userSpaceOnUse"><circle cx="8" cy="8" r="1" fill="#e2e8f0"/></pattern>
|
|
6
|
+
<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>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect width="1000" height="560" fill="#ffffff"/>
|
|
9
|
+
<rect width="1000" height="560" fill="url(#grid)"/>
|
|
10
|
+
<text x="520.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">Activation and identity</text>
|
|
11
|
+
<rect x="420" y="54" width="200" height="40" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
12
|
+
<text x="520.0" y="78.7" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="500" fill="#0f172a" text-anchor="middle">Create a customer</text>
|
|
13
|
+
<path d="M520,95 V116" fill="none" stroke="#94a3b8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m94a3b8)"/>
|
|
14
|
+
<rect x="455" y="118" width="130" height="24" rx="12.0" fill="#0f172a"/>
|
|
15
|
+
<text x="520.0" y="134.1" font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="11.5" font-weight="500" fill="#ffffff" text-anchor="middle">needActivation?</text>
|
|
16
|
+
<path d="M520,143 V178" fill="none" stroke="#94a3b8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m94a3b8)"/>
|
|
17
|
+
<rect x="533" y="148" width="66" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
18
|
+
<text x="566.0" y="164.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">default</text>
|
|
19
|
+
<rect x="360" y="180" width="320" height="56" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
20
|
+
<text x="520.0" y="204.2" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="400" fill="#0f172a" text-anchor="middle">Activation email sent, account <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600" fill="#4338ca">CREATED</tspan></text>
|
|
21
|
+
<text x="520.0" y="221.2" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="400" fill="#0f172a" text-anchor="middle">until the customer clicks it</text>
|
|
22
|
+
<path d="M520,237 V282" fill="none" stroke="#94a3b8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m94a3b8)"/>
|
|
23
|
+
<rect x="529" y="247" width="54" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
24
|
+
<text x="556.0" y="263.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">click</text>
|
|
25
|
+
<path d="M590,130 H790 Q800,130 800,140 V306 Q800,316 790,316 H612" fill="none" stroke="#94a3b8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m94a3b8)"/>
|
|
26
|
+
<rect x="713" y="118" width="54" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
27
|
+
<text x="740.0" y="134.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">false</text>
|
|
28
|
+
<rect x="430" y="296" width="180" height="40" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
29
|
+
<text x="520.0" y="320.7" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="400" fill="#0f172a" text-anchor="middle">Account <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600" fill="#4338ca">ENABLED</tspan></text>
|
|
30
|
+
<rect x="40" y="176" width="340" height="106" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
31
|
+
<path d="M50,188 V270" stroke="#dc2626" stroke-width="3" stroke-linecap="round"/>
|
|
32
|
+
<text x="64.0" y="200.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">Meanwhile, only the customer resource sees it</text>
|
|
33
|
+
<text x="64.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="start">bank: <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600" fill="#dc2626">404 unknown_bank</tspan></text>
|
|
34
|
+
<text x="64.0" y="237.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">custody, staking: <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600" fill="#dc2626">403 org_forbidden</tspan></text>
|
|
35
|
+
<text x="64.0" y="254.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">trading: <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600" fill="#dc2626">403 user_not_in_scope</tspan></text>
|
|
36
|
+
<path d="M380,229 H358" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4"/>
|
|
37
|
+
<path d="M520,337 V358" fill="none" stroke="#94a3b8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m94a3b8)"/>
|
|
38
|
+
<rect x="418" y="360" width="205" height="24" rx="12.0" fill="#0f172a"/>
|
|
39
|
+
<text x="520.0" y="376.1" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="11.5" font-weight="500" fill="#ffffff" text-anchor="middle">BITGEN identity verification?</text>
|
|
40
|
+
<path d="M520,385 V420" fill="none" stroke="#94a3b8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m94a3b8)"/>
|
|
41
|
+
<rect x="530" y="390" width="41" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
42
|
+
<text x="550.0" y="406.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">yes</text>
|
|
43
|
+
<rect x="360" y="422" width="320" height="56" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
44
|
+
<text x="520.0" y="446.2" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="400" fill="#0f172a" text-anchor="middle">Identity verification, KYC or KYB,</text>
|
|
45
|
+
<text x="520.0" y="463.2" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="400" fill="#0f172a" text-anchor="middle">until the identity is <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600" fill="#4338ca">VALIDATED</tspan></text>
|
|
46
|
+
<path d="M520,479 V510" fill="none" stroke="#94a3b8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m94a3b8)"/>
|
|
47
|
+
<path d="M620,372 H790 Q800,372 800,382 V520 Q800,530 790,530 H672" fill="none" stroke="#94a3b8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" marker-end="url(#m94a3b8)"/>
|
|
48
|
+
<rect x="733" y="360" width="35" height="24" rx="12.0" fill="#f1f5f9"/>
|
|
49
|
+
<text x="750.0" y="376.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">no</text>
|
|
50
|
+
<rect x="40" y="412" width="340" height="88" rx="10" fill="#ffffff" stroke="#e2e8f0" filter="url(#shadow)"/>
|
|
51
|
+
<path d="M50,424 V488" stroke="#dc2626" stroke-width="3" stroke-linecap="round"/>
|
|
52
|
+
<text x="64.0" y="436.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">Before that</text>
|
|
53
|
+
<text x="64.0" y="456.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">EUR account: <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600" fill="#dc2626">412 owner_identity_not_validated</tspan></text>
|
|
54
|
+
<text x="64.0" y="473.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">custody, trading, staking: <tspan font-family="'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="0.92em" font-weight="600" fill="#dc2626">403 kyc_not_validated</tspan></text>
|
|
55
|
+
<path d="M380,456 H358" fill="none" stroke="#cbd5e1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4"/>
|
|
56
|
+
<rect x="370" y="510" width="300" height="40" rx="10" fill="#dcfce7" stroke="#bbf7d0" filter="url(#shadow)"/>
|
|
57
|
+
<text x="520.0" y="534.7" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" font-weight="600" fill="#15803d" text-anchor="middle">Bank account, custody, trading and staking</text>
|
|
58
|
+
</svg>
|
|
@@ -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>
|