PoolCollection
Verified contract
Active on
Ethereum with 539 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "PoolCollection"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16711229 | 2 years ago | | | 0 | 0.00064997938 | |
| 16675776 | 2 years ago | | | 0 | 0.0088066627 | |
| 16675771 | 2 years ago | | | 0 | 0.0074048855 | |
| 16675764 | 2 years ago | | | 0 | 0.0065643165 | |
| 16675762 | 2 years ago | | | 0 | 0.0068403232 | |
| 16675760 | 2 years ago | | | 0 | 0.0069474988 | |
| 16675758 | 2 years ago | | | 0 | 0.0069035842 | |
| 16675756 | 2 years ago | | | 0 | 0.0067899764 | |
| 16675752 | 2 years ago | | | 0 | 0.0059748978 | |
| 16675750 | 2 years ago | | | 0 | 0.0063522009 |
ABI
ABI objects
Getter at block 21100285
defaultTradingFeePPM() view returns (uint32)
5000
networkFeePPM() view returns (uint32)
900000
newOwner() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x5beba4d3533a963dedb270a95ae5f7752fa0fe22
poolCount() view returns (uint256)
0
poolType() view returns (uint16)
1
pools() view returns (address[])
[]
protectionEnabled() view returns (bool)
false
version() view returns (uint16)
10
Read-only
depositingEnabled(address pool) view returns (bool)
isPoolStable(address pool) view returns (bool)
isPoolValid(address pool) view returns (bool)
poolData(address pool) view returns (struct Pool)
poolLiquidity(address pool) view returns (struct PoolLiquidity)
poolToken(address pool) view returns (address)
poolTokenAmountToBurn(address pool, uint256 baseTokenAmountToDistribute, uint256 protocolPoolTokenAmount) view returns (uint256)
poolTokenToUnderlying(address pool, uint256 poolTokenAmount) view returns (uint256)
tradeInputAndFeeByTargetAmount(address sourceToken, address targetToken, uint256 targetAmount) view returns (struct TradeAmountAndFee)
tradeOutputAndFeeBySourceAmount(address sourceToken, address targetToken, uint256 sourceAmount) view returns (struct TradeAmountAndFee)
tradingEnabled(address pool) view returns (bool)
tradingFeePPM(address pool) view returns (uint32)
underlyingToPoolToken(address pool, uint256 baseTokenAmount) view returns (uint256)
withdrawalAmounts(address pool, uint256 poolTokenAmount) view returns (struct WithdrawalAmounts)
State-modifying
Events acceptOwnership()
createPool(address token)
depositFor(bytes32 contextId, address provider, address pool, uint256 baseTokenAmount) returns (uint256)
disableTrading(address pool)
enableDepositing(address pool, bool status)
enableProtection(bool status)
enableTrading(address pool, uint256 bntVirtualBalance, uint256 baseTokenVirtualBalance)
migratePoolIn(address pool, struct Pool data)
migratePoolOut(address pool, address targetPoolCollection)
onFeesCollected(address pool, uint256 feeAmount)
setDefaultTradingFeePPM(uint32 newDefaultTradingFeePPM)
setNetworkFeePPM(uint32 newNetworkFeePPM)
setTradingFeePPM(address pool, uint32 newTradingFeePPM)
tradeBySourceAmount(bytes32 contextId, address sourceToken, address targetToken, uint256 sourceAmount, uint256 minReturnAmount) returns (struct TradeAmountAndFee)
tradeByTargetAmount(bytes32 contextId, address sourceToken, address targetToken, uint256 targetAmount, uint256 maxSourceAmount) returns (struct TradeAmountAndFee)
transferOwnership(address ownerCandidate)
updateTradingLiquidity(address pool)
withdraw(bytes32 contextId, address provider, address pool, uint256 poolTokenAmount, uint256 baseTokenAmount) returns (uint256)
DefaultTradingFeePPMUpdated(uint32 prevFeePPM, uint32 newFeePPM)
DepositingEnabled(address indexed pool, bool indexed newStatus)
NetworkFeePPMUpdated(uint32 prevFeePPM, uint32 newFeePPM)
OwnerUpdate(address indexed prevOwner, address indexed newOwner)
TokensDeposited(bytes32 indexed contextId, address indexed provider, address indexed token, uint256 baseTokenAmount, uint256 poolTokenAmount)
TokensWithdrawn(bytes32 indexed contextId, address indexed provider, address indexed token, uint256 baseTokenAmount, uint256 poolTokenAmount, uint256 externalProtectionBaseTokenAmount, uint256 bntAmount, uint256 withdrawalFeeAmount)
TotalLiquidityUpdated(bytes32 indexed contextId, address indexed pool, uint256 liquidity, uint256 stakedBalance, uint256 poolTokenSupply)
TradingEnabled(address indexed pool, bool indexed newStatus, uint8 indexed reason)
TradingFeePPMUpdated(address indexed pool, uint32 prevFeePPM, uint32 newFeePPM)
TradingLiquidityUpdated(bytes32 indexed contextId, address indexed pool, address indexed token, uint256 prevLiquidity, uint256 newLiquidity)
constructor(address initNetwork, address initBNT, address initNetworkSettings, address initMasterVault, address initBNTPool, address initExternalProtectionVault, address initPoolTokenFactory, address initPoolMigrator)
This contract contains no fallback and receive objects.
AccessDenied()
AlreadyEnabled()
AlreadyExists()
DepositingDisabled()
DoesNotExist()
FundingLimitTooHigh()
InsufficientLiquidity()
InsufficientSourceAmount()
InsufficientTargetAmount()
InvalidAddress()
InvalidFee()
InvalidFraction()
InvalidParam()
InvalidRate()
InvalidStakedBalance()
NotWhitelisted()
Overflow()
PoolCollectionWithdrawalInputInvalid()
RateUnstable()
SameOwner()
TradingDisabled()
ZeroValue()