We audited D100's contracts provided to us by the team. Once deployed, we will verify the code and add the addresses below.
Function Graph
Inheritence Chart
Functions Overview / Source Code
Click
here to download the source code.
($) = payable function
# = non-constant function
Int = Internal
Ext = External
Pub = Public
+ Context
- [Int] _msgSender
- [Int] _msgData
+ Ownable (Context)
- [Int] #
- [Pub] owner
- [Pub] renounceOwnership #
- modifiers: onlyOwner
- [Pub] transferOwnership #
- modifiers: onlyOwner
+ [Int] IERC20
- [Ext] totalSupply
- [Ext] balanceOf
- [Ext] transfer #
- [Ext] allowance
- [Ext] approve #
- [Ext] transferFrom #
+ [Lib] SafeMath
- [Int] add
- [Int] sub
- [Int] sub
- [Int] mul
- [Int] div
- [Int] div
- [Int] mod
- [Int] mod
+ ERC20 (Context, IERC20)
- [Pub] #
- [Pub] name
- [Pub] symbol
- [Pub] decimals
- [Pub] totalSupply
- [Pub] balanceOf
- [Pub] transfer #
- [Pub] allowance
- [Pub] approve #
- [Pub] transferFrom #
- [Pub] increaseAllowance #
- [Pub] decreaseAllowance #
- [Int] _transfer #
- [Int] _mint #
- [Int] _burn #
- [Int] _approve #
- [Int] _setupDecimals #
- [Int] _beforeTokenTransfer #
+ [Lib] SafeMathInt
- [Int] mul
- [Int] div
- [Int] sub
- [Int] add
- [Int] abs
+ ERC677
- [Pub] transfer #
- [Pub] transferAndCall #
+ ERC677Receiver
- [Pub] onTokenTransfer #
+ ERC677Token (ERC677)
- [Pub] transferAndCall #
- [Prv] contractFallback #
- [Prv] isContract
+ D100Token (ERC20, ERC677Token, Ownable)
- [Pub] #
- [Ext] setTransfersPaused #
- modifiers: onlyOwner
- [Ext] setTransferPauseExempt #
- modifiers: onlyOwner
- [Pub] setRebasesPaused #
- modifiers: onlyOwner
- [Ext] setMonetaryPolicy #
- modifiers: onlyOwner
- [Ext] rebase #
- [Pub] totalShares
- [Ext] sharesOf
- [Ext] setUserBanStatus #
- modifiers: onlyOwner
- [Pub] totalSupply
- [Pub] balanceOf
- [Pub] transfer #
- modifiers: validRecipient
- [Pub] allowance
- [Pub] transferFrom #
- modifiers: validRecipient
- [Pub] approve #
- [Pub] increaseAllowance #
- [Pub] decreaseAllowance #
Function Graph
Inheritence Chart
Functions Overview / Source Code
Click
here to download the source code.
($) = payable function
# = non-constant function
Int = Internal
Ext = External
Pub = Public
+ [Lib] UInt256Lib
- [Int] toInt256Safe
+ Context
- [Int] _msgSender
- [Int] _msgData
+ Ownable (Context)
- [Int] #
- [Pub] owner
- [Pub] renounceOwnership #
- modifiers: onlyOwner
- [Pub] transferOwnership #
- modifiers: onlyOwner
+ [Int] IERC20
- [Ext] totalSupply
- [Ext] balanceOf
- [Ext] transfer #
- [Ext] allowance
- [Ext] approve #
- [Ext] transferFrom #
+ [Lib] SafeMath
- [Int] add
- [Int] sub
- [Int] sub
- [Int] mul
- [Int] div
- [Int] div
- [Int] mod
- [Int] mod
+ ERC20 (Context, IERC20)
- [Pub] #
- [Pub] name
- [Pub] symbol
- [Pub] decimals
- [Pub] totalSupply
- [Pub] balanceOf
- [Pub] transfer #
- [Pub] allowance
- [Pub] approve #
- [Pub] transferFrom #
- [Pub] increaseAllowance #
- [Pub] decreaseAllowance #
- [Int] _transfer #
- [Int] _mint #
- [Int] _burn #
- [Int] _approve #
- [Int] _setupDecimals #
- [Int] _beforeTokenTransfer #
+ [Lib] SafeMathInt
- [Int] mul
- [Int] div
- [Int] sub
- [Int] add
- [Int] abs
+ ERC677
- [Pub] transfer #
- [Pub] transferAndCall #
+ ERC677Receiver
- [Pub] onTokenTransfer #
+ ERC677Token (ERC677)
- [Pub] transferAndCall #
- [Prv] contractFallback #
- [Prv] isContract
+ D100Token (ERC20, ERC677Token, Ownable)
- [Pub] #
- [Ext] setTransfersPaused #
- modifiers: onlyOwner
- [Ext] setTransferPauseExempt #
- modifiers: onlyOwner
- [Pub] setRebasesPaused #
- modifiers: onlyOwner
- [Ext] setMonetaryPolicy #
- modifiers: onlyOwner
- [Ext] rebase #
- [Pub] totalShares
- [Ext] sharesOf
- [Ext] setUserBanStatus #
- modifiers: onlyOwner
- [Pub] totalSupply
- [Pub] balanceOf
- [Pub] transfer #
- modifiers: validRecipient
- [Pub] allowance
- [Pub] transferFrom #
- modifiers: validRecipient
- [Pub] approve #
- [Pub] increaseAllowance #
- [Pub] decreaseAllowance #
+ [Int] IOracle
- [Ext] getData
- [Ext] update #
+ [Int] ISync
- [Ext] sync #
+ D100TokenMonetaryPolicy (Ownable)
- [Ext] setD100Token #
- modifiers: onlyOwner
- [Ext] rebase #
- [Pub] calcIncentive
- [Ext] withdrawTokens #
- modifiers: onlyOwner
- [Pub] getNextSupplyDelta
- [Ext] addUniPair #
- modifiers: onlyOwner
- [Ext] removeUniPair #
- modifiers: onlyOwner
- [Pub] sync #
- [Ext] setmktcapOracle #
- modifiers: onlyOwner
- [Ext] setTokenPriceOracle #
- modifiers: onlyOwner
- [Ext] setIncentiveLimit #
- modifiers: onlyOwner
- [Ext] setDeviationThreshold #
- modifiers: onlyOwner
- [Ext] setRebaseLag #
- modifiers: onlyOwner
- [Ext] setRebaseTimingParameters #
- modifiers: onlyOwner
- [Pub] #
- [Pub] inRebaseWindow
- [Prv] computeSupplyDelta
- [Prv] withinDeviationThreshold
Function Graph
Inheritence Chart
Functions Overview / Source Code
Click
here to download the source code.
($) = payable function
# = non-constant function
Int = Internal
Ext = External
Pub = Public
+ [Int] ITellor
- [Ext] beginDispute #
- [Ext] vote #
- [Ext] tallyVotes #
- [Ext] proposeFork #
- [Ext] addTip #
- [Ext] submitMiningSolution #
- [Ext] submitMiningSolution #
- [Ext] proposeOwnership #
- [Ext] claimOwnership #
- [Ext] depositStake #
- [Ext] requestStakingWithdraw #
- [Ext] withdrawStake #
- [Ext] approve #
- [Ext] transfer #
- [Ext] transferFrom #
- [Ext] name
- [Ext] symbol
- [Ext] decimals
- [Ext] getNewCurrentVariables
- [Ext] getTopRequestIDs
- [Ext] getNewVariablesOnDeck
- [Ext] updateTellor #
- [Ext] unlockDisputeFee #
- [Ext] allowance
- [Ext] allowedToTrade
- [Ext] balanceOf
- [Ext] balanceOfAt
- [Ext] didMine
- [Ext] didVote
- [Ext] getAddressVars
- [Ext] getAllDisputeVars
- [Ext] getCurrentVariables
- [Ext] getDisputeIdByDisputeHash
- [Ext] getDisputeUintVars
- [Ext] getLastNewValue
- [Ext] getLastNewValueById
- [Ext] getMinedBlockNum
- [Ext] getMinersByRequestIdAndTimestamp
- [Ext] getNewValueCountbyRequestId
- [Ext] getRequestIdByRequestQIndex
- [Ext] getRequestIdByTimestamp
- [Ext] getRequestIdByQueryHash
- [Ext] getRequestQ
- [Ext] getRequestUintVars
- [Ext] getRequestVars
- [Ext] getStakerInfo
- [Ext] getSubmissionsByTimestamp
- [Ext] getTimestampbyRequestIDandIndex
- [Ext] getUintVar
- [Ext] getVariablesOnDeck
- [Ext] isInDispute
- [Ext] retrieveData
- [Ext] totalSupply
+ UsingTellor
- [Pub] #
- [Pub] retrieveData
- [Pub] isInDispute
- [Pub] getNewValueCountbyRequestId
- [Pub] getTimestampbyRequestIDandIndex
- [Pub] getCurrentValue
- [Pub] getIndexForDataBefore
- [Pub] getDataBefore
+ [Lib] SafeMath
- [Int] add
- [Int] sub
- [Int] sub
- [Int] mul
- [Int] div
- [Int] div
- [Int] mod
- [Int] mod
+ Context
- [Int] _msgSender
- [Int] _msgData
+ Ownable (Context)
- [Int] #
- [Pub] owner
- [Pub] renounceOwnership #
- modifiers: onlyOwner
- [Pub] transferOwnership #
- modifiers: onlyOwner
+ Oracle (Ownable)
- [Pub] #
- [Pub] name
- [Pub] symbol
- [Pub] decimals
- [Pub] totalSupply
- [Pub] balanceOf
- [Ext] faucet #
- [Pub] transfer #
- [Pub] allowance
- [Pub] approve #
- [Pub] transferFrom #
- [Pub] increaseAllowance #
- [Pub] decreaseAllowance #
- [Int] _transfer #
- [Int] _mint #
- [Int] _burn #
- [Int] _approve #
- [Ext] submitValue #
- modifiers: onlyOwner
- [Ext] disputeValue #
- modifiers: onlyOwner
- [Pub] retrieveData
- [Pub] isInDispute
- [Pub] getNewValueCountbyRequestId
- [Pub] getTimestampbyRequestIDandIndex
- [Ext] addTip #
+ MktCapOracle (UsingTellor)
- [Pub] #
- modifiers: UsingTellor
- [Ext] readTellorValue
- [Ext] readTellorValueBefore #
Function Graph
Inheritence Chart
Functions Overview / Source Code
Click
here to download the source code.
($) = payable function
# = non-constant function
Int = Internal
Ext = External
Pub = Public
+ Context
- [Int] _msgSender
- [Int] _msgData
+ Ownable (Context)
- [Int] #
- [Pub] owner
- [Pub] renounceOwnership #
- modifiers: onlyOwner
- [Pub] transferOwnership #
- modifiers: onlyOwner
+ [Int] IPancakePair
- [Ext] name
- [Ext] symbol
- [Ext] decimals
- [Ext] totalSupply
- [Ext] balanceOf
- [Ext] allowance
- [Ext] approve #
- [Ext] transfer #
- [Ext] transferFrom #
- [Ext] DOMAIN_SEPARATOR
- [Ext] PERMIT_TYPEHASH
- [Ext] nonces
- [Ext] permit #
- [Ext] MINIMUM_LIQUIDITY
- [Ext] factory
- [Ext] token0
- [Ext] token1
- [Ext] getReserves
- [Ext] price0CumulativeLast
- [Ext] price1CumulativeLast
- [Ext] kLast
- [Ext] mint #
- [Ext] burn #
- [Ext] swap #
- [Ext] skim #
- [Ext] sync #
- [Ext] initialize #
+ [Lib] Babylonian
- [Int] sqrt
+ [Lib] FixedPoint
- [Int] encode
- [Int] encode144
- [Int] div
- [Int] mul
- [Int] fraction
- [Int] decode
- [Int] decode144
- [Int] reciprocal
- [Int] sqrt
+ [Lib] PancakeOracleLibrary
- [Int] currentBlockTimestamp
- [Int] currentCumulativePrices
+ TokenPriceOracle (Ownable)
- [Pub] #
- [Ext] update #
- [Ext] getData
- [Pub] setMonetaryPolicy #
- modifiers: onlyOwner