Skip to content
Dacity

Trust and security

Every power held by the contract owner, listed in full, and the things nobody can do. Read this before you trust Dacity with any value.

What nobody can do

These limits are written into the contracts. They apply to the team, to the owner and to the Dacity server alike.

  • Withdraw the farm treasury. It only pays signed farm redemptions, capped at 1% of its balance per UTC day.
  • Mint more $DCTY or change its supply.
  • Add a tax to $DCTY or change its limits after launch.
  • Remove the pool liquidity. The liquidity tokens are burned.
  • Take $DCTY out of your wallet. Only you sign transactions from it.
  • Increase the copies of an existing item. The maximum is fixed at creation.
  • Change the 5% resale royalty or send it anywhere other than the farm treasury.
  • Give a donation back to the sponsor or send it anywhere other than the channel's linked wallet.

Owner powers, contract by contract

The Dacity contracts have an owner account. Ownership changes in two steps (the new owner must accept), and the FarmTreasury and DonationVault cannot be left without an owner, because someone must be able to replace a compromised server key.

Everything the owner can do
ContractThe owner canThe owner cannot
DacityItemsCreate new items, each with a fixed number of copies. Authorize the contracts allowed to mint copies (today, the Store). Change the metadata links (names and images). Configure the transfer validator and the list of allowed operators, for example to allow an external marketplace later. Replace or remove the transfer validator, and let the validator move items without each holder's approval.Increase the copies of an existing item. Change the 5% royalty or where it goes.
DacityStoreSet the $DCTY price of each item, or set it to zero to take an item off sale.Charge a buyer more than the maximum they signed. Send payments anywhere other than the farm treasury.
DacityMarketplaceNothing. The Marketplace has no owner.—
FarmTreasuryReplace the server key that signs redemptions, which instantly voids every signature from the old key. Swap ETH or other tokens that reach the treasury into $DCTY on Uniswap V2, inside the contract.Withdraw $DCTY. Receive the proceeds of a swap. Renounce ownership.
DonationVaultReplace the server key that signs wallet links, which voids every link not yet active. Cancel a wallet link during its 24-hour wait.Withdraw channel balances. Redirect a donation to a wallet that is not linked to the channel. Renounce ownership.
DacityCoinOpen trading and remove the launch limits, once. The owner role is then renounced.Mint, tax or freeze $DCTY.

The most sensitive item power

The transfer validator decides which contracts may move items. Because the owner can replace it and turn on automatic approval for it, a malicious validator set by the owner could move items between wallets, or a removed validator would let items trade freely outside Dacity. Every change emits a public TransferValidatorUpdated event.

The token's deployer wallet keeps two narrow abilities after launch: selling what remains of the launch reserve to the pool, with the ETH always going to the marketing wallet, and recovering ETH or other tokens sent to the token contract by mistake. It cannot take $DCTY out of the token contract.

The server key

The Dacity server holds a separate signing key that can only do two things: authorize farm redemptions and authorize the wallet linked to a channel. It holds no funds and pays no gas. The contracts refuse to use the owner account as the server key.

  • If the server key leaks, farm losses are limited by the 1% daily redemption cap, and every channel wallet link still waits 24 hours and can be cancelled.
  • The owner replaces the key on both contracts, and every signature from the old key stops working immediately.

The owner key

The owner is a single key kept in an encrypted keystore. It is not a multisig. We disclose this so you can weigh the risk.

If the owner key were stolen

An attacker could change Shop prices and item metadata, replace the transfer validator (and with it move items between wallets), create new items, authorize new minters (who could mint the copies not yet sold of any item), replace the server key and request wallet links for channels, taking donations not yet claimed once the 24-hour wait passes. They still could not withdraw the farm treasury, mint $DCTY or touch the pool liquidity.

The independent watcher alerts the owner about every owner change, server key change and wallet link request, so the team can react within the 24-hour window.

Internal Security Review

Before deployment, the contracts go through an Internal Security Review: specialist reviewers each focus on one class of vulnerability and back every finding with a Foundry proof of concept, complemented by Slither static analysis and the project's unit, fuzz, invariant and mainnet-fork test suites.

Not a third-party audit

The Internal Security Review is carried out by the project, not by an independent audit firm. The review report will be published at launch (TBA).

Verify it yourself

  • The Transparency page shows the treasury balance, the total of all farm balances, the burned liquidity and the current slice per minute.
  • Every contract emits events for prices, sales, donations, wallet links and redemptions, readable on any Ethereum explorer.
  • Contract addresses are listed in Smart contracts and will be published at launch.