SuperToken

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x62518a92 at 18050635
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 3 additional slots
7 additional variables

No balances found for "SuperToken"

No transactions found for "SuperToken"


Functions
Getter at block 22765659
CONSTANT_INFLOW_NFT(view returns (address)
0x2d51962a9ee4d3c2819ef585eab7412c2a2c31ac
CONSTANT_OUTFLOW_NFT(view returns (address)
0xd3c78bb5a16ea4ab584844eeb8f90ac710c16355
POOL_ADMIN_NFT(view returns (address)
0x5487d078ca8933e83d91d5e7afbe3a7bfc3412d6
POOL_MEMBER_NFT(view returns (address)
0xf21019b8688e7730ca6d9002569ecbaf8d1a3083
decimals(pure returns (uint8)
18
defaultOperators(view returns (address[])
[]
getAdmin(view returns (address)
0x0000000000000000000000000000000000000000
getCodeAddress(view returns (address codeAddress)
0x0000000000000000000000000000000000000000
getHost(view returns (address host)
0x4c073b3bab6d8826b8c5b229f3cfdc1ec6e47e74
getUnderlyingDecimals(view returns (uint8)
0
getUnderlyingToken(view returns (address)
0x0000000000000000000000000000000000000000
granularity(pure returns (uint256)
1
name(view returns (string)
proxiableUUID(pure returns (bytes32)
0x6bfbb132610e56cb96575dba244667b9d6dbfeffe22b68a79fa16f2d18eb0019
symbol(view returns (string)
totalSupply(view returns (uint256)
0
Read-only
allowance(address accountaddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256 balance)
getAccountActiveAgreements(address accountview returns (address[])
getAgreementData(address agreementClassbytes32 iduint256 dataLengthview returns (bytes32[] data)
getAgreementStateSlot(address agreementClassaddress accountuint256 slotIduint256 dataLengthview returns (bytes32[] slotData)
isAccountCritical(address accountuint256 timestampview returns (bool isCritical)
isAccountCriticalNow(address accountview returns (bool isCritical)
isAccountSolvent(address accountuint256 timestampview returns (bool isSolvent)
isAccountSolventNow(address accountview returns (bool isSolvent)
isOperatorFor(address operatoraddress tokenHolderview returns (bool)
realtimeBalanceOf(address accountuint256 timestampview returns (int256 availableBalanceuint256 deposituint256 owedDeposit)
realtimeBalanceOfNow(address accountview returns (int256 availableBalanceuint256 deposituint256 owedDeposituint256 timestamp)
toUnderlyingAmount(uint256 amountview returns (uint256 underlyingAmountuint256 adjustedAmount)
State-modifying
approve(address spenderuint256 amountreturns (bool)
authorizeOperator(address operator
burn(uint256 amountbytes userData
castrate(
changeAdmin(address newAdmin
createAgreement(bytes32 idbytes32[] data
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
downgrade(uint256 amount
downgradeTo(address touint256 amount
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address underlyingTokenuint8 underlyingDecimalsstring nstring s
initializeWithAdmin(address underlyingTokenuint8 underlyingDecimalsstring nstring saddress admin
makeLiquidationPayoutsV2(bytes32 idbytes liquidationTypeDataaddress liquidatorAccountbool useDefaultRewardAccountaddress targetAccountuint256 rewardAmountint256 targetAccountBalanceDelta
operationApprove(address accountaddress spenderuint256 amount
operationDecreaseAllowance(address accountaddress spenderuint256 subtractedValue
operationDowngrade(address accountuint256 amount
operationDowngradeTo(address accountaddress touint256 amount
operationIncreaseAllowance(address accountaddress spenderuint256 addedValue
operationSend(address spenderaddress recipientuint256 amountbytes userData
operationTransferFrom(address accountaddress spenderaddress recipientuint256 amount
operationUpgrade(address accountuint256 amount
operationUpgradeTo(address accountaddress touint256 amount
operatorBurn(address accountuint256 amountbytes userDatabytes operatorData
operatorSend(address senderaddress recipientuint256 amountbytes userDatabytes operatorData
revokeOperator(address operator
selfApproveFor(address accountaddress spenderuint256 amount
selfBurn(address accountuint256 amountbytes userData
selfMint(address accountuint256 amountbytes userData
selfTransferFrom(address holderaddress spenderaddress recipientuint256 amount
send(address recipientuint256 amountbytes userData
settleBalance(address accountint256 delta
terminateAgreement(bytes32 iduint256 dataLength
transfer(address recipientuint256 amountreturns (bool)
transferAll(address recipient
transferFrom(address holderaddress recipientuint256 amountreturns (bool)
updateAgreementData(bytes32 idbytes32[] data
updateAgreementStateSlot(address accountuint256 slotIdbytes32[] slotData
updateCode(address newAddress
upgrade(uint256 amount
upgradeTo(address touint256 amountbytes userData
Events
AdminChanged(address indexed oldAdminaddress indexed newAdmin
AgreementCreated(address indexed agreementClassbytes32 idbytes32[] data
AgreementLiquidated(address indexed agreementClassbytes32 idaddress indexed penaltyAccountaddress indexed rewardAccountuint256 rewardAmount
AgreementLiquidatedBy(address liquidatorAccountaddress indexed agreementClassbytes32 idaddress indexed penaltyAccountaddress indexed bondAccountuint256 rewardAmountuint256 bailoutAmount
AgreementLiquidatedV2(address indexed agreementClassbytes32 idaddress indexed liquidatorAccountaddress indexed targetAccountaddress rewardAmountReceiveruint256 rewardAmountint256 targetAccountBalanceDeltabytes liquidationTypeData
AgreementStateUpdated(address indexed agreementClassaddress indexed accountuint256 slotId
AgreementTerminated(address indexed agreementClassbytes32 id
AgreementUpdated(address indexed agreementClassbytes32 idbytes32[] data
Approval(address indexed owneraddress indexed spenderuint256 value
AuthorizedOperator(address indexed operatoraddress indexed tokenHolder
Bailout(address indexed bailoutAccountuint256 bailoutAmount
Burned(address indexed operatoraddress indexed fromuint256 amountbytes databytes operatorData
CodeUpdated(bytes32 uuidaddress codeAddress
Initialized(uint8 version
Minted(address indexed operatoraddress indexed touint256 amountbytes databytes operatorData
PoolAdminNFTCreated(address indexed poolAdminNFT
PoolMemberNFTCreated(address indexed poolMemberNFT
RevokedOperator(address indexed operatoraddress indexed tokenHolder
Sent(address indexed operatoraddress indexed fromaddress indexed touint256 amountbytes databytes operatorData
TokenDowngraded(address indexed accountuint256 amount
TokenUpgraded(address indexed accountuint256 amount
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(address hostaddress constantOutflowNFTaddress constantInflowNFTaddress poolAdminNFTaddress poolMemberNFT
Fallback and receive

This contract contains no fallback and receive objects.

Errors
SF_TOKEN_AGREEMENT_ALREADY_EXISTS(
SF_TOKEN_AGREEMENT_DOES_NOT_EXIST(
SF_TOKEN_BURN_INSUFFICIENT_BALANCE(
SF_TOKEN_MOVE_INSUFFICIENT_BALANCE(
SF_TOKEN_ONLY_HOST(
SF_TOKEN_ONLY_LISTED_AGREEMENT(
SUPER_TOKEN_APPROVE_FROM_ZERO_ADDRESS(
SUPER_TOKEN_APPROVE_TO_ZERO_ADDRESS(
SUPER_TOKEN_BURN_FROM_ZERO_ADDRESS(
SUPER_TOKEN_CALLER_IS_NOT_OPERATOR_FOR_HOLDER(
SUPER_TOKEN_INFLATIONARY_DEFLATIONARY_NOT_SUPPORTED(
SUPER_TOKEN_MINT_TO_ZERO_ADDRESS(
SUPER_TOKEN_NFT_PROXY_ADDRESS_CHANGED(
SUPER_TOKEN_NOT_ERC777_TOKENS_RECIPIENT(
SUPER_TOKEN_NO_UNDERLYING_TOKEN(
SUPER_TOKEN_ONLY_ADMIN(
SUPER_TOKEN_ONLY_GOV_OWNER(
SUPER_TOKEN_ONLY_SELF(
SUPER_TOKEN_TRANSFER_FROM_ZERO_ADDRESS(
SUPER_TOKEN_TRANSFER_TO_ZERO_ADDRESS(