PoolCollection
Verified contract
Active on
Ethereum with 30 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) |
---|---|---|---|---|---|---|---|
| 20934477 | 2 months ago | | | 0 | 0.0016160280 | |
| 20934424 | 2 months ago | | | 0 | 0.00041639740 | |
| 19205044 | 10 months ago | | | 0 | 0.00073697618 | |
| 18563908 | a year ago | | | 0 | 0.0016254047 | |
| 18563901 | a year ago | | | 0 | 0.0016391246 | |
| 18563897 | a year ago | | | 0 | 0.0016894029 | |
| 18563886 | a year ago | | | 0 | 0.0017897616 | |
| 18563881 | a year ago | | | 0 | 0.0017530778 | |
| 18563875 | a year ago | | | 0 | 0.0018119346 | |
| 18563868 | a year ago | | | 0 | 0.0019302480 |
ABI
ABI objects
Getter at block 21300152 pools() view returns (address[])
defaultTradingFeePPM() view returns (uint32)
2000
networkFeePPM() view returns (uint32)
1000000
newOwner() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x5beba4d3533a963dedb270a95ae5f7752fa0fe22
poolCount() view returns (uint256)
148
poolType() view returns (uint16)
1
version() view returns (uint16)
12
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)
disableTradingByNetwork(address pool)
enableDepositing(address pool, 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, bool ignoreFees) returns (struct TradeAmountAndFee)
tradeByTargetAmount(bytes32 contextId, address sourceToken, address targetToken, uint256 targetAmount, uint256 maxSourceAmount, bool ignoreFees) 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()