Technology · smart contracts · open source
Technology to tokenize.
Records to verify.
This page presents the planned architecture for the projects. It does not prove an operational deployment. The verified addresses of the project contracts and their audit reports are not published here.
BLOCKCHAIN, WITHOUT TECHNIQUES
Four pieces. That's all.
01 Wallet
Your account, your key
The model provides for wallets and authorization rules per project. Your directions and controls must be verified before operating.
02 · Smart contract
A program that meets
A contract would program the commission, custody and distribution rules. The scheme requires public deployment and verification.
03 Token
Your participation
Each token represents a fraction of the economic rights of a project. It is registered in your name and can be transferred.
04 · Public book
Everything is recorded
Each move has a hash. Anyone can verify it in a block explorer, without asking permission.
INFRASTRUCTURE / AVALANCHE
Architecture planned in Avalanche.
The Avalanche C-Chain blockchain allows you to record events and consult transactions. The explorer shows the movements that are published in it.
~1 s
for a transaction to be confirmed and final
¢
blockchain transaction cost
USDC
native on Avalanche: payments and distributions in digital dollars
Evm
compatible with Ethereum: standards and audited tools
Public events: subscribe yourself.
Every important action emits an event on the blockchain. You, an auditor or a journalist can listen to them in real time, without asking our permission.
Event
When issued
Invested
Someone contributes to a round
Refunded
A round does not reach its soft cap
Disbursed
A section is released to the project
WentLive
The project goes to air, with its date committed
Distribution
Profits are distributed to holders
Commission
A commission is recorded per operation
FeeCollected
dracma charges a commission
AdminTransfer
Money leaves an administrative wallet
listen-commissions.js
// Escucha en vivo las comisiones pagadas en Avalanche C-Chain
import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider(
"https://api.avax.network/ext/bc/C/rpc"
);
const splitter = new ethers.Contract(
COMMISSION_SPLITTER, // dirección publicada al desplegar
["event Commission(address indexed to, address indexed subscriber, uint8 level, uint256 amount)"],
provider
);
splitter.on("Commission", (to, subscriber, level, amount) => {
console.log(`N${level} → ${to}: ${ethers.formatUnits(amount, 6)} USDC`);
});
import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider(
"https://api.avax.network/ext/bc/C/rpc"
);
const splitter = new ethers.Contract(
COMMISSION_SPLITTER, // dirección publicada al desplegar
["event Commission(address indexed to, address indexed subscriber, uint8 level, uint256 amount)"],
provider
);
splitter.on("Commission", (to, subscriber, level, amount) => {
console.log(`N${level} → ${to}: ${ethers.formatUnits(amount, 6)} USDC`);
});
ADMINISTRATIVE WALLETS
A separate wallet per project.
The design includes separate wallets per project. Your balances and history can only be verified with verified addresses and transactions.
Wallet
What is it for?
Signatures
Address
Treasury dracma
Fees charged by dracma
3 5
Published when deploying
Commission reservation
Settlement of a commission
Contract
Published when deploying
Remittance operating balance
Instant payments in each country
2 3
Published when deploying
ARCHITECTURE
How a dollar moves within DRACMA.
Each contract does one thing. This makes it easier to audit and harder to break.
Entry
On-ramp
Pesos, dollars or USDC
→
FeeRouter
Deposit fee
1,5 % to treasury
→
RaiseVault
Round Guarantee
Soft cap hard cap refund
→
SEProjectToken
ERC-6960
Tokens to your wallet
↓ when closing the round
Disbursement
Milestone disbursement
Disbursement fee
→
Project
Actual operation
On-chain income and expenses
→
Waterfall
Profit sharing
Capital 8 % surplus
→
Off-ramp
Your retirement
Withdrawal fee 1,5 %
RaiseVault.sol
Custodies the contributions of each round. Apply soft cap, hard cap, deadline and automatic refunds.
SEProjectToken.sol
Token ERC-6960. A single contract for all projects: mainId = project, subId = series.
FeeRouter.sol
Calculate and collect each agreed commission. The percentages have a maximum set in the code.
Waterfall.sol
Distribute the profits in order: capital, preferred return, surplus.
CommissionSplitter.sol · VoxEscrow.sol
They register the event, its eligible base and the beneficiary. The settlement follows the conditions agreed for the project.
EA at MQL5
Quant operates on the client's MQL5 account. Charges activation and a percentage of utilities with monthly invoice.
See dracma Quant → CONTRACT FORMAT · ERC-6960
A standard designed for real assets.
ERC-6960, or Dual Layer Token, organizes the tokens into two layers: a primary and a secondary. It is ideal for tokenizing real assets that are divided into series, tranches or lots.
Layer
In dracma
Example
mainId
The project
1 = Atacama II
subId
The round series
1 = A Series
amount
Your participation
9.850 tokens = US$9.850
⇄
A single contract for the entire catalog: simpler to audit.
⇄
Each series can have its own conditions without creating a new token.
⇄
Transfers and permissions by project and by series.
IDLT.sol · extract from the ERC-6960 interface
// Dual Layer Token: dos capas de identificadores
interface IDLT {
event Transfer(address indexed sender, address indexed recipient,
uint256 indexed mainId, uint256 subId, uint256 amount);
function safeTransferFrom(address sender, address recipient,
uint256 mainId, uint256 subId, uint256 amount,
bytes calldata data) external returns (bool);
function approve(address spender, uint256 mainId,
uint256 subId, uint256 amount) external returns (bool);
function subBalanceOf(address account, uint256 mainId,
uint256 subId) external view returns (uint256);
}
interface IDLT {
event Transfer(address indexed sender, address indexed recipient,
uint256 indexed mainId, uint256 subId, uint256 amount);
function safeTransferFrom(address sender, address recipient,
uint256 mainId, uint256 subId, uint256 amount,
bytes calldata data) external returns (bool);
function approve(address spender, uint256 mainId,
uint256 subId, uint256 amount) external returns (bool);
function subBalanceOf(address account, uint256 mainId,
uint256 subId) external view returns (uint256);
}
RaiseVault.sol · illustrative diagram of a round
function invest(uint256 mainId, uint256 subId, uint256 amount) external {
Raise storage r = raises[mainId][subId];
require(block.timestamp < r.deadline, "Ronda cerrada");
uint256 fee = amount * DEPOSIT_FEE_BPS / 10_000; // tasa definida en las condiciones
uint256 net = amount - fee;
require(r.raised + net <= r.hardCap, "Hard cap alcanzado");
usdc.transferFrom(msg.sender, address(this), amount);
paid[mainId][subId][msg.sender] += amount; // incluye el fee
r.raised += net;
token.mint(msg.sender, mainId, subId, net);
}
function markLive(uint256 mainId, uint256 subId) external onlyOperatorAndOracle {
Raise storage r = raises[mainId][subId];
require(r.closed, "Ronda abierta");
r.liveAt = block.timestamp; // desde aquí puede haber distribuciones
emit WentLive(mainId, subId, block.timestamp, r.goLiveBy);
}
function isDelayed(uint256 mainId, uint256 subId) public view returns (bool) {
Raise storage r = raises[mainId][subId];
return r.liveAt == 0 && block.timestamp > r.goLiveBy + 90 days;
}
function refund(uint256 mainId, uint256 subId) external {
Raise storage r = raises[mainId][subId];
require(block.timestamp >= r.deadline && r.raised < r.softCap, "Sin reembolso");
uint256 back = paid[mainId][subId][msg.sender];
paid[mainId][subId][msg.sender] = 0;
token.burn(msg.sender, mainId, subId, token.subBalanceOf(msg.sender, mainId, subId));
usdc.transfer(msg.sender, back); // 100 %, fee incluido
}
Raise storage r = raises[mainId][subId];
require(block.timestamp < r.deadline, "Ronda cerrada");
uint256 fee = amount * DEPOSIT_FEE_BPS / 10_000; // tasa definida en las condiciones
uint256 net = amount - fee;
require(r.raised + net <= r.hardCap, "Hard cap alcanzado");
usdc.transferFrom(msg.sender, address(this), amount);
paid[mainId][subId][msg.sender] += amount; // incluye el fee
r.raised += net;
token.mint(msg.sender, mainId, subId, net);
}
function markLive(uint256 mainId, uint256 subId) external onlyOperatorAndOracle {
Raise storage r = raises[mainId][subId];
require(r.closed, "Ronda abierta");
r.liveAt = block.timestamp; // desde aquí puede haber distribuciones
emit WentLive(mainId, subId, block.timestamp, r.goLiveBy);
}
function isDelayed(uint256 mainId, uint256 subId) public view returns (bool) {
Raise storage r = raises[mainId][subId];
return r.liveAt == 0 && block.timestamp > r.goLiveBy + 90 days;
}
function refund(uint256 mainId, uint256 subId) external {
Raise storage r = raises[mainId][subId];
require(block.timestamp >= r.deadline && r.raised < r.softCap, "Sin reembolso");
uint256 back = paid[mainId][subId][msg.sender];
paid[mainId][subId][msg.sender] = 0;
token.burn(msg.sender, mainId, subId, token.subBalanceOf(msg.sender, mainId, subId));
usdc.transfer(msg.sender, back); // 100 %, fee incluido
}
Illustrative and simplified code. It does not prove a production version or audited security controls.
ECONOMIC REGISTRATION
A confirmed event.
An identifiable commission.
Each sale, disbursement and profit retains a reference, a calculation base and a status. Settlement follows agreed conditions and availability of funds.
Event
Validation
Registration
Sale made
Payment reconciled and attribution confirmed.
Sale and beneficiary identifier.
Funds released
Milestone authorization and transfer executed.
Disbursement and released capital identifier.
Project Utilities
Closing approved and adjustments applied.
Period, eligible result and distribution rules.
ILLUSTRATIVE SCHEME / NOT A DEPLOYED CONTRACT
event = confirm(sale | disbursement | profit)
conditions = getConditions(event.project)
base = calculateEligibleBase(event, conditions)
commission = applyRate(base, conditions.rate)
register(event.id, base, commission, beneficiary, status)
settleAccordingConditions(event.id)
conditions = getConditions(event.project)
base = calculateEligibleBase(event, conditions)
commission = applyRate(base, conditions.rate)
register(event.id, base, commission, beneficiary, status)
settleAccordingConditions(event.id)
The policy provides for refunds and adjustments. The registry allows the amount to be followed from the economic event to its settlement receipt.
LIFE CYCLE OF A ROUND
From the first contribution to the last distribution.
1
Publication
The series is displayed with soft cap, hard cap, deadline and committed date to be on the air.
2
Open round
Contributions are guaranteed in RaiseVault.
3
Soft cap
If not reached: refund of 100 %. If achieved: continue.
4
Closure
By hard cap or by date. No further contributions are accepted.
5
Disbursement
In sections linked to verified milestones, with a disbursement fee.
6
On air
After the waiting time set in the contract. If it is delayed more than 90 days, it is marked in public.
7
Operation
Income and expenses recorded on-chain, audited every quarter.
8
Distributions
Waterfall distributes USDC to the holders' wallets.
REPOSITORY
Open source. Check it yourself.
The public repository allows you to review the available code. Verified addresses, deployment tests, and audit reports for projects are not published on this page.
See at GitHub ↗
Contract verification pending
External audit
Unpublished independent report.
Bug bounty
Rewards for those who report vulnerabilities responsibly.
Limits in the code
Limits must be verifiable in deployed and verified code. Pending verification.
Emergency pause
Signature configuration and policy changes pending public verification.
Planned contract structure
sepay-contracts/
├── contracts/
│ ├── token/
│ │ ├── SEProjectToken.sol // ERC-6960
│ │ └── IDLT.sol
│ ├── raise/
│ │ ├── RaiseVault.sol // soft cap · hard cap
│ │ └── Disbursement.sol
│ ├── fees/
│ │ └── FeeRouter.sol
│ ├── distribution/
│ │ └── Waterfall.sol
│ ├── programs/
│ │ ├── CommissionSplitter.sol // pago inmediato
│ │ ├── CommissionReserve.sol
│ │ └── VoxEscrow.sol
│ └── safe/ // ya publicados en GitHub
│ ├── SignerGuard.sol
│ └── DelayedRecovery.sol
├── test/ // pruebas unitarias y de invariantes
├── audits/ // informes publicados
├── deployments/avalanche/ // direcciones en C-Chain
└── README.md
├── contracts/
│ ├── token/
│ │ ├── SEProjectToken.sol // ERC-6960
│ │ └── IDLT.sol
│ ├── raise/
│ │ ├── RaiseVault.sol // soft cap · hard cap
│ │ └── Disbursement.sol
│ ├── fees/
│ │ └── FeeRouter.sol
│ ├── distribution/
│ │ └── Waterfall.sol
│ ├── programs/
│ │ ├── CommissionSplitter.sol // pago inmediato
│ │ ├── CommissionReserve.sol
│ │ └── VoxEscrow.sol
│ └── safe/ // ya publicados en GitHub
│ ├── SignerGuard.sol
│ └── DelayedRecovery.sol
├── test/ // pruebas unitarias y de invariantes
├── audits/ // informes publicados
├── deployments/avalanche/ // direcciones en C-Chain
└── README.md
YOU'VE ALREADY SEEN HOW IT WORKS
Now decide calmly. We accompany you.
Tell us what interests you and we will write to you just for that, on the channel and with the frequency you choose.
✓
2 minutes
✓
No commitment to contribute
✓
You choose channel and frequency