Documentation
Tervalo is an installment sale for a transferable Stock Token. The seller and buyer agree to a fixed USDG price and payment schedule; settlement is enforced by the contract.
Sale flow
- A seller selects the supported asset, token amount, named buyer, total USDG price and payment deadlines. The seller deposits the full token amount into the contract.
- Only the named buyer can pay installments. Each payment stays in escrow and may be made early, but never after its due date.
- After the last payment, the contract transfers all escrowed USDG to the seller and the Stock Token to the buyer in the same transaction.
- Before the first payment, only the seller may cancel and retrieve the token. If the next due date is missed, anyone may unwind. The token returns to the seller and all escrowed USDG returns to the buyer.
Pricing and incentives
The seller chooses the total price, including any financing premium. There is no variable interest rate or oracle. Until final settlement, the seller forgoes use of the token and receipt of the price. The buyer can miss a deadline and receive a full escrow refund, so this mechanism gives the buyer timing flexibility at the seller’s cost.
Testnet contracts
Sale contract: 0x3d8712b1ea4393981bfb172329f18e47a77628e8. Test Stock Token: 0x786c7fe9450db9ec3a8cbe0dab399aa4f8013bdc. Test USDG: 0xdd2962da35dc83690429677359d2109d6d6752c7.
Limits and risks
A mainnet version would need a vetted allowlist of real token contracts and separate deployment. Stock Tokens may have transfer restrictions or rights that differ from holding the underlying security. The seller cannot use a deposited token while it is locked; the buyer does not receive it before full payment. Smart-contract defects, network outages, token freezes and stablecoin risks may affect the outcome. Check the selected network, contract address, amount, buyer and deadlines before signing.