OneTokenV1
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
11
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "OneTokenV1"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "OneTokenV1"
ABI
ABI objects
Getter at block 21279129
MODULE_TYPE() view returns (bytes32)
0xed6917aba4cbf78ca2a794e5562f52b3b179da5ccdad2505b3beb6d40a8264e2
assetCount() view returns (uint256)
0
collateralTokenCount() view returns (uint256)
0
controller() view returns (address)
0x0000000000000000000000000000000000000000
decimals() view returns (uint8)
0
memberToken() view returns (address)
0x0000000000000000000000000000000000000000
mintMaster() view returns (address)
0x0000000000000000000000000000000000000000
mintingFee() view returns (uint256)
0
name() view returns (string)
oneTokenFactory() view returns (address)
0x0000000000000000000000000000000000000000
otherTokenCount() view returns (uint256)
0
owner() view returns (address)
0x11111d16485aa71d2f2bffbd294dcacbae79c1d4
redemptionFee() view returns (uint256)
0
symbol() view returns (string)
totalSupply() view returns (uint256)
0
Read-only
allowance(address owner, address spender) view returns (uint256)
assetAtIndex(uint256 index) view returns (address)
assets(address) view returns (address oracle, address strategy)
balanceOf(address account) view returns (uint256)
balances(address token) view returns (uint256 inVault, uint256 inStrategy)
collateralTokenAtIndex(uint256 index) view returns (address)
getHoldings(address token) view returns (uint256 vaultBalance, uint256 strategyBalance)
getMintingRatio(address collateralToken) view returns (uint256 ratio, uint256 maxOrderVolume)
isAsset(address token) view returns (bool)
isCollateral(address token) view returns (bool)
isOtherToken(address token) view returns (bool)
liabilities(address) view returns (uint256)
otherTokenAtIndex(uint256 index) view returns (address)
State-modifying
Events addAsset(address token, address oracle)
approve(address spender, uint256 amount) returns (bool)
burn(uint256 amount)
burnFrom(address account, uint256 amount)
changeController(address controller_)
changeMintMaster(address mintMaster_, address oneTokenOracle_)
closeStrategy(address token)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
decreaseStrategyAllowance(address token, uint256 amount)
executeStrategy(address token)
fromStrategy(address strategy, address token, uint256 amount)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
increaseStrategyAllowance(address token, uint256 amount)
init(string name_, string symbol_, address oneTokenOracle_, address controller_, address mintMaster_, address memberToken_, address collateral_)
mint(address collateralToken, uint256 oneTokens)
redeem(address collateral, uint256 amount)
removeAsset(address token)
removeStrategy(address token)
renounceOwnership()
setFactory(address newFactory)
setMintingFee(uint256 fee)
setRedemptionFee(uint256 fee)
setStrategy(address token, address strategy, uint256 allowance)
toStrategy(address strategy, address token, uint256 amount)
transfer(address recipient, uint256 amount) returns (bool)
transferFrom(address sender, address recipient, uint256 amount) returns (bool)
transferOwnership(address newOwner)
updateMintingRatio(address collateralToken) returns (uint256 ratio, uint256 maxOrderVolume)
Approval(address indexed owner, address indexed spender, uint256 value)
AssetAdded(address sender, address token, address oracle)
AssetRemoved(address sender, address token)
ControllerChanged(address sender, address controller)
FromStrategy(address sender, address strategy, address token, uint256 amount)
Initialized(address sender, string name, string symbol, address controller, address mintMaster, address memberToken, address collateral)
MintMasterChanged(address sender, address mintMaster, address oneTokenOracle)
Minted(address indexed sender, address indexed collateral, uint256 oneTokens, uint256 memberTokens, uint256 collateralTokens)
NewFactory(address sender, address factory)
NewMintingFee(address sender, uint256 fee)
NewRedemptionFee(address sender, uint256 fee)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Redeemed(address indexed sender, address indexed collateral, uint256 amount)
StrategyAllowanceDecreased(address sender, address token, address strategy, uint256 amount)
StrategyAllowanceIncreased(address sender, address token, address strategy, uint256 amount)
StrategyClosed(address sender, address token, address strategy)
StrategyExecuted(address indexed sender, address indexed token, address indexed strategy)
StrategyRemoved(address sender, address token, address strategy)
StrategySet(address sender, address token, address strategy, uint256 allowance)
ToStrategy(address sender, address strategy, address token, uint256 amount)
Transfer(address indexed from, address indexed to, uint256 value)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.