DebtToken

Verified contract

Active on Base with 3,979 txns
Deployed by via 0xe58a27b8 at 3400176
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xa45421c9deb18073339617e179724036e0eaf33a903476948896b4de402f0b54
0x34147c2afcdde5faa502ad41b15d3dc31f1add85d000629e31f78f5f0eb88407
0xefab616d8be20ebb736ed74ff24cd9166247cfaec8decbdbbf28e06e8e459c8c
0x6f5eabb15d8a64b0d2d36eadd4710efe4d9900d81c0ad8ba28251aac8a6d2b6b
0x2360919d8c980a9345f0143da2de8fde92a8243b028f7c262b531c57c60e99bc
0xd39eb57e978d1bd61a8b1f90ef8b61a4aa9f5b432245979b074b7dc74dd8c0b1
0xe90840d7d13c6da979f9c037ad29293bf19586e0dbddb9b607eb60374782ac50
0xdf5fbadc0b2c7a8e7836b7f4021c5039154d5dbac27b45c224dde9898a0b3f7b
0xc61c5d664bae7bfdac9600c01fcffa18161e2c9b7678e79eff71d81ca69b6c66
0x4c0416f7854270a87ab50a63548a3effb3968f6cfd209eff80df36e6983fc2d4

Functions
Getter at block 21775739
DEFAULT_PAYLOAD_SIZE_LIMIT(view returns (uint256)
10000
FEE_DIVISOR(view returns (uint256)
10000
NAME(view returns (string)
STAR
NO_EXTRA_GAS(view returns (uint256)
0
PERMIT_TYPEHASH(view returns (bytes32)
0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9
PT_SEND(view returns (uint8)
0
PT_SEND_AND_CALL(view returns (uint8)
1
borrowerOperationsAddress(view returns (address)
0xbffc680a9aa46b8b19228497e77888da6b944b2d
circulatingSupply(view returns (uint256)
779663697479070000000000
decimals(view returns (uint8)
18
domainSeparator(view returns (bytes32)
0x2af812ce36667bd98c01c539739443501c32426895ec3998de5d01c655ab951a
feeRatio(view returns (uint256)
0
isInitialized(view returns (bool)
false
lzEndpoint(view returns (address)
0xb6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7
name(view returns (string)
STAR
owner(view returns (address)
0xe799961b76d65a32365d34289d5aea6c2242fc98
paused(view returns (bool)
false
precrime(view returns (address)
0x0000000000000000000000000000000000000000
priceProvider(view returns (address)
0x0000000000000000000000000000000000000000
sharedDecimals(view returns (uint8)
8
stabilityPool(view returns (address)
0x6afa834bf44ff8ab7ef89fd417853e9b13fbfb52
symbol(view returns (string)
STAR
timelockAddress(view returns (address)
0x25f110699fe8360c98a48a2cc42c3732328aca8a
token(view returns (address)
0xc19669a405067927865b40ea045a2baabbbe57f5
totalSupply(view returns (uint256)
779663697479070000000000
treasury(view returns (address)
0x443af6e1195bbf12876be3da891ad5c67c0efc56
useCustomAdapterParams(view returns (bool)
false
vesselManagerAddress(view returns (address)
0x5208c0c4c95a4636efc403960969a4a4b4ccdfc5
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
creditedPackets(uint16bytesuint64view returns (bool)
emergencyStopMintingCollateral(addressview returns (bool)
estimateSendAndCallFee(uint16 _dstChainIdbytes32 _toAddressuint256 _amountbytes _payloaduint64 _dstGasForCallbool _useZrobytes _adapterParamsview returns (uint256 nativeFeeuint256 zroFee)
estimateSendFee(uint16 _dstChainIdbytes32 _toAddressuint256 _amountbool _useZrobytes _adapterParamsview returns (uint256 nativeFeeuint256 zroFee)
failedMessages(uint16bytesuint64view returns (bytes32)
getBridgeFee(uint256 _PREONAmountview returns (uint256)
getConfig(uint16 _versionuint16 _chainIdaddressuint256 _configTypeview returns (bytes)
getTrustedRemoteAddress(uint16 _remoteChainIdview returns (bytes)
isTrustedRemote(uint16 _srcChainIdbytes _srcAddressview returns (bool)
minDstGasLookup(uint16uint16view returns (uint256)
nonces(address ownerview returns (uint256)
payloadSizeLimitLookup(uint16view returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
trustedRemoteLookup(uint16view returns (bytes)
whitelistedContracts(addressview returns (bool)
State-modifying
addWhitelist(address _address
approve(address spenderuint256 amountreturns (bool)
burn(address _accountuint256 _amount
burnFromWhitelistedContract(uint256 _amount
callOnOFTReceived(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes32 _fromaddress _touint256 _amountbytes _payloaduint256 _gasForCall
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
emergencyStopMinting(address _assetbool status
forceResumeReceive(uint16 _srcChainIdbytes _srcAddress
increaseAllowance(address spenderuint256 addedValuereturns (bool)
lzReceive(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payload
mint(address _assetaddress _accountuint256 _amount
mintFromWhitelistedContract(uint256 _amount
nonblockingLzReceive(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payload
permit(address owneraddress spenderuint256 amountuint256 deadlineuint8 vbytes32 rbytes32 s
removeWhitelist(address _address
renounceOwnership(
retryMessage(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payloadpayable 
returnFromPool(address _poolAddressaddress _receiveruint256 _amount
sendAndCall(address _fromuint16 _dstChainIdbytes32 _toAddressuint256 _amountbytes _payloaduint64 _dstGasForCallstruct ICommonOFTLzCallParams _callParamspayable 
sendFrom(address _fromuint16 _dstChainIdbytes32 _toAddressuint256 _amountstruct ICommonOFTLzCallParams _callParamspayable 
sendToPool(address _senderaddress _poolAddressuint256 _amount
setConfig(uint16 _versionuint16 _chainIduint256 _configTypebytes _config
setFee(uint256 _fee
setInitialized(
setMinDstGas(uint16 _dstChainIduint16 _packetTypeuint256 _minGas
setPayloadSizeLimit(uint16 _dstChainIduint256 _size
setPrecrime(address _precrime
setPriceProvider(address _priceProvider
setReceiveVersion(uint16 _version
setSendVersion(uint16 _version
setTreasury(address _treasury
setTrustedRemote(uint16 _srcChainIdbytes _path
setTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
setUseCustomAdapterParams(bool _useCustomAdapterParams
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
transferOwnership(address newOwner
Events
Approval(address indexed owneraddress indexed spenderuint256 value
CallOFTReceivedSuccess(uint16 indexed _srcChainIdbytes _srcAddressuint64 _noncebytes32 _hash
EmergencyStopMintingCollateral(address _assetbool state
FeeUpdated(uint256 fee
MessageFailed(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payloadbytes _reason
NonContractAddress(address _address
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
PriceProviderUpdated(address indexed priceProvider
ReceiveFromChain(uint16 indexed _srcChainIdaddress indexed _touint256 _amount
RetryMessageSuccess(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes32 _payloadHash
SendToChain(uint16 indexed _dstChainIdaddress indexed _frombytes32 indexed _toAddressuint256 _amount
SetMinDstGas(uint16 _dstChainIduint16 _typeuint256 _minDstGas
SetPrecrime(address precrime
SetTrustedRemote(uint16 _remoteChainIdbytes _path
SetTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
SetUseCustomAdapterParams(bool _useCustomAdapterParams
TokenBalanceUpdated(address _useruint256 _amount
Transfer(address indexed fromaddress indexed touint256 value
TreasuryUpdated(address indexed treasury
Unpaused(address account
WhitelistChanged(address _whitelistedbool whitelisted
Constructor
constructor(address _vesselManagerAddressaddress _stabilityPoolAddressaddress _borrowerOperationsAddressaddress _timelockAddressaddress _endpointaddress _treasury
Fallback and receive

This contract contains no fallback and receive objects.

Errors
DebtToken__OwnerOnly(
DebtToken__TimelockOnly(