Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
Superfluid Agreement Base
copy icon
Superfluid
• version 1.0.0
Abstract
Agreement
Promise
Contract

Superfluid Agreement Base

Superfluid agreement base boilerplate contract. Super Agreements define ways that Super Token balances can be modified beyond the basic ERC20 functions. They are what make Super Tokens "super"!

*Visit desktop site to download or deploy

Version

1.0.0

Creator

Superfluid

Last Publish

11/26/2022
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
agreementType() :
Get the type of the agreement class
castrate() :
allows to mark logic contracts as initialized in order to reduce the attack surface
getCodeAddress() :
Get current implementation code address.
proxiableUUID() :
Proxiable UUID marker function, this would help to avoid wrong logic * contract to be used for upgrading.
realtimeBalanceOf(address,address,uint256) :
Calculate the real-time balance for the account of this agreement class
updateCode(address) :
Update the code

Get Cookin'
share iconShare

copy iconDownload Source
copy iconnpx cookbookdev i Superfluid-AgreementBase
copy icon

Bytecode

Download

Last Publish

11/26/2022

Version

1.0.0

Creator

Superfluid

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.