All posts

Who Holds Your Money at Each Step of a SukukFi Deposit

·Shazad Khancustodylp-capitalvaultsecurity

Not investment advice. Capital is at risk.

Custody = who can move the money at a given moment. In a SukukFi deposit it changes five times, and at each step the answer is a contract, an operator role, or a regulated processor, never a SukukFi bank account.

"Is my money safe?" is really five questions. Where is it right now, which contract holds it, which key can move it, what can that key not do, and what happens if that key does nothing. This post walks one deposit into the live PrimeTel vault from start to finish and answers those questions at each step.

Step 1: Your wallet, then the vault contract

Before you deposit, the stablecoins are in your wallet and nobody else can touch them. You approve the vault to pull a specific amount, then call requestDeposit. That is the ERC-7540 request step, and the contract pulls the tokens in the same transaction.

From that moment the stablecoins sit in the vault contract, recorded as a pending deposit against your address. Funds are held in smart contracts, not in any SukukFi bank account or wallet.

Three things are true in this state.

You hold no shares yet and nothing accrues. That is deliberate. Pricing a deposit before it is fulfilled would let someone front-run the share price existing holders rely on.

The money cannot be invested. The vault computes what is available to invest from its balance after setting aside pending deposits and fulfilled redemptions. The function that moves assets out rejects any amount above that figure, so pending money is excluded by the contract, not by a promise.

You can cancel. Cancellation is a request, not an instant refund. You ask to cancel, the Investment Manager role processes the cancellation, and you then claim your stablecoins back. If that role never acts, the contract has no deadline that forces it to. The standard does not provide cancellation at all, so this is a protection SukukFi added, and it still depends on an operator completing the middle step.

Step 2: Fulfilment and your shares

The Investment Manager fulfils your deposit. The vault converts your assets to duPRT shares at the current share price and mints those shares to itself, marked as claimable by you. You then call deposit to claim them, and the vault transfers the shares to your wallet.

Fulfilment timing is at the operator's discretion. There is no on-chain deadline. The contract guarantees what happens when the role acts, and says nothing about when.

Fulfilling also does not move your stablecoins. They stay in the vault, now backing the shares you hold. You own a proportional claim on the pool, and the pool is still sitting in a contract.

No on-chain KYC check applies to a depositing wallet today. The contracts page records the evidence for that, and notes that because the vaults are upgradeable, an upgrade could change it with notice.

Step 3: Deployment into the settlement layer

Idle stablecoins earn nothing, so the Investment Manager moves them into the credit line by calling investAssets. The assets go from the duPRT vault into the matching vault in the settlement layer, the same contracts that back trUST. The position is held by the duPRT share token contract on behalf of all holders. The contract checks this movement in three ways:

Moving money back out is harder than moving it in. The settlement layer requires a permit from its validator role before a withdrawal succeeds. The manager's withdrawal function asks for an amount, and the contract clamps it to what that permit allows. So recalling invested capital needs two roles to cooperate, the manager to ask and the validator to permit.

This is also the step where the money leaves the vault. The settlement layer funds the carrier in trUST against traffic that CommTrade has already metered and rated from call detail records. From here, your exposure is to PrimeTel paying for that traffic. The risk is covered in what happens if a carrier does not pay.

Step 4: Settlement, where a regulated processor briefly holds fiat

PrimeTel pays its invoices into a bank account in the carrier's name. A regulated payment processor, Fuze (Switch Pay Limited), operates that account, converts the fiat into stablecoin and delivers it to the vault's settlement contract. The contract applies it in a fixed order: vault participants' capital and profit first, then the carrier's share.

This is the one point where deposited capital, in its repaid form, is outside a contract. For a short time it is fiat in a processor's segregated account. SukukFi's risk disclosures are specific about the limits:

Then comes a privileged step. Money arriving on-chain does not credit the vault by itself. A revenue admin role records the result, and the Investment Manager brings the capital back from the settlement layer, with the validator's permit. The gate is intentional, because it lets a disputed amount be held while it is resolved. The consequence is that LPs depend on these roles being operated correctly.

Step 5: Redemption

When you call requestRedeem, your duPRT shares are moved out of your wallet into escrow in the vault. They are pending, and nobody else can claim them. You can still cancel a pending request. Once the manager has fulfilled it, you cannot.

Fulfilment is only possible from assets sitting idle in the vault, so capital still deployed must first return from settlement. The price is fixed when the manager fulfils, and the stablecoins become claimable. You call redeem or withdraw, the shares are burned, and the vault pays you. The money moves from the vault contract to your wallet in that transaction.

If capital is deployed, your request queues until liquidity returns from settlements or new deposits. There is currently no secondary exit, since the planned Kodiak market is not live.

The whole path in one table

StepWho holds itWho can move itCan you reverse it
Before depositYouYoun/a
PendingVault contractYou (cancel), Investment Manager (fulfil)Yes, with an operator step
Shares heldVault contract backs your sharesInvestment Manager (invest)Redeem request
InvestedSettlement layerValidator permit, Investment ManagerOnly as settlements return
SettlingProcessor, then settlement contractProcessor, revenue admin, validatorNo
ClaimableVault contractYouClaim

What this does not tell you

This is custody, not credit. Nothing above protects you if the buyer does not pay, and the operator roles that gate several steps are held by a small number of keys. Both points have their own posts: what happens if a carrier does not pay and what an admin can and cannot do.

Contract addresses are on the contracts page. For the numbers behind each state, see the four states of a deposit and how redemptions work.