Decastecastdocstestnet

Start

Contract directory

Every Decast contract on testnet.

Traits

Interfaces that user, app and marketplace contracts implement so they can call each other safely.

decast-user-traittrait

ST27J8CK2MP0TE57CT9DP0X672EWXDRR3FEGZJKPJ

Shape every user contract exposes (config, owner lookup, follow hooks).

decast-interface-traittrait

ST27J8CK2MP0TE57CT9DP0X672EWXDRR3FEGZJKPJ

Shape every app contract exposes (config, post and boost hooks).

decast-marketplace-traittrait

ST27J8CK2MP0TE57CT9DP0X672EWXDRR3FEGZJKPJ

Shape for marketplaces trading Decast post NFTs.

Global

Single protocol-wide contracts. Every post and boost ends up here.

decast-feedglobal

ST27J8CK2MP0TE57CT9DP0X672EWXDRR3FEGZJKPJ

Protocol config, approved user-contract hashes and the global post log.

decast-boostsglobal

ST27J8CK2MP0TE57CT9DP0X672EWXDRR3FEGZJKPJ

Global boost log.

Examples

One user contract per user, one interface contract per app. These are reference deployments.

decast-user-v1user

ST2K5SEC5KQ863QM3H0AN3FK69XSJV3YV16507WX8

A user's personal contract: posts, follows, post NFTs, stacking.

decast-interface-v1app

STHF68B9S6RMS36EX5YZJ3W4PCA24FAQJ4HQGZYK

An app's contract: fee, referral share, treasury, root URL.