Contract Secured Revenue (CSR)
Overview
Registering a Contract
interface Turnstile {
function register(address) external returns(uint256);
}
contract Example {
Turnstile turnstile = Turnstile(0xabc...);
constructor() {
//Registers the smart contract with Turnstile
//Mints the CSR NFT to the contract creator
turnstile.register(tx.origin);
}
}Assignment
Withdrawing Fees
Factory Contracts
Last updated
