Sibyl Credits

Contracts and addresses

The contracts run on Robinhood Chain, chain id 4663, with ETH as gas. Their sources are verified on Sourcify. SibylStake is deployed when $SIBYL launches, because it needs the token address.

Addresses

ContractAddress
SibylCredits0x4639EfCeDcc7C748609Cb97a876FB1Be4F7343Db
SibylOTC0x68d392000Ef8EEC18A6c0EEd2D1D7a9854827D9C
SibylStakeNot deployed yet. The address is published here at deployment.
USDG0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168
Chainlink ETH / USD feed0x78F3556b67E17Df817D51Ef5a990cDaF09E8d3A9
Operator wallet0xe568F9e89F77D88399817Ec4046fa21Fc675E269

SibylCredits

  • depositETH() payable and depositUSDG(amount), minimums 0.0002 ETH and 1 USDG.
  • Emits Deposited(account, asset, amount, stakersShare); account is always the caller.
  • Sends 20% to SibylStake and the rest to the operator wallet in the same transaction. Before SibylStake is set, the share waits in the contract and is pushed when it is.
  • Owner powers: set the stake contract once, open or close new deposits. No function moves deposited funds anywhere else.

SibylOTC

  • fill(offerId, seller, usdgAmount, credits, deadline, signature): the caller is the buyer. It pays usdgAmount USDG; the seller receives it minus the 2% desk fee in the same transaction.
  • The terms must be signed by the desk signer (EIP-712, domain SibylOTC version 1, bound to chain 4663 and to this contract). They name the one buyer allowed, or the zero address for anyone. Each offerId fills once, and only until its deadline. Minimum 1 USDG.
  • Emits Filled(offerId, seller, buyer, usdgAmount, credits). The server moves the locked credits to the buyer on that event, after 40 blocks.
  • The fee goes to the stake contract SibylCredits points to: forwarded in the fill once it is set, held in SibylOTC until then and pushed by the next fill or by flushFees(), which anyone can call.
  • Owner powers: rotate the desk signer, pause and resume new fills, hand over ownership. No function moves USDG anywhere but to the stake contract.

SibylStake

  • Streams ETH and USDG income over 7 days, pro rata to stake, with a 1-day lock after each stake and a minimum position of 100,000 $SIBYL.
  • No owner, no admin function, no upgrade path.