Skip to content

Fund Locking (Deposit)

The deposit step is how campaign funds enter the escrow. The operator transfers money from their own wallet directly into the escrow contract. Once deposited, the funds are locked and can only be moved according to the contract's rules.

OperatorApprove escrow to transfer tokensLock ERC-20 (e.g. USDC)Escrow ContractUnique Deposit ID issuedDeposit RecordOperator wallet addressERC-20 token address (e.g. USDC)Total amount depositedAmount committed to streamers (starts at zero)ERC-20generates

What Happens During a Deposit

  1. The operator initiates a transfer from their own wallet to the escrow contract
  2. The contract receives the funds and records the depositor's identity, the amount, and the token
  3. A unique Deposit ID is generated — this is the permanent reference for this pool of campaign funds
  4. The funds are now locked in the contract and publicly visible on the blockchain

Custody Implications

QuestionAnswer
Who transfers the funds?The operator, from their own wallet
Where do the funds go?Into the escrow contract (an autonomous program)
Does Verifluence handle the transfer?No. It is a direct wallet-to-contract transaction on the blockchain
Can the deposit be reversed?Not as a reversal. The operator can withdraw unallocated balance at any time through the refund mechanism
Is the deposit publicly verifiable?Yes. The deposit transaction and balance are visible to anyone on the blockchain

Supported Currencies

The escrow contract is ERC-20 only — it holds no native-currency (ETH) entry points. Campaigns are funded in stablecoins such as USDC:

  • The operator first approves the escrow contract to transfer tokens on their behalf, then triggers the deposit. This is the standard two-step process for token transfers on the blockchain.
  • Transfers use OpenZeppelin's SafeERC20, so both standard bool-returning tokens and non-standard tokens that return no value (e.g. USDT) are handled correctly.

Keeping the contract to a single asset type (ERC-20) deliberately shrinks its attack surface — there are no native-value transfer paths to reason about. Fee-on-transfer, rebasing, and callback (ERC-777) tokens are out of scope; operators fund only vetted tokens.

Available Balance

At any point after deposit, the funds are divided into two categories:

CategoryDescriptionOperator Can Withdraw?
Unallocated balanceFunds not yet committed to any streamerYes, at any time
Allocated balanceFunds committed to specific streamersOnly after deadline, and only unclaimed portions

The operator retains full control over unallocated funds — they can be allocated to streamers or refunded back to the operator's wallet at any time with no waiting period.

Verifluence Documentation