PoolCollection

Verified contract

Active on Ethereum with 30 txns
Deployed by via 0x8770f76a at 18127255
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot

No balances found for "PoolCollection"

0xec6df99a9f6b1560b9c86b11032725e8e68fa6692825716bfadef801af75c35e
0x5fee2b5276d930d49076f4d913c959d96521d693b465f145b6aae567ec7d35fb
0xadecd2ba5ad713bc5e4e4a493662a1272c82472a690c8e33bf66d59b6d344aef
0x10d6585bf044b3090c4680bf0501a1421815baffd1c49ce83c239017abc39e30
0xb9dc4cedfc3df3a6fa8c67ea6a1a22ddb6e63b3b6630681c51c792c463872f7f
0x2a08f54251021841e64e2d1961b03803885ea020cf93083146f211406fb84f44
0x509c00319071a3bd96d48671cfff4c8f76355cacf9d1975b8391a11c74dafdd8
0x7f139f8013dee1a79dfc480f80da6877c411c95f3999f5610f36038281d27f3e
0x9c3d1255c2d388052f64f6e781b72646aeb637ef467672351d69e4aa28992d81
0xa4b2c51a81ff8baf2bb387faf2f59a032d3293f2cba33a119323b01025dc9198

Functions
Getter at block 21300152
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
 
pools(view returns (address[])
version(view returns (uint16)
12
Read-only
depositingEnabled(address poolview returns (bool)
isPoolStable(address poolview returns (bool)
isPoolValid(address poolview returns (bool)
poolData(address poolview returns (struct Pool)
poolLiquidity(address poolview returns (struct PoolLiquidity)
poolToken(address poolview returns (address)
poolTokenAmountToBurn(address pooluint256 baseTokenAmountToDistributeuint256 protocolPoolTokenAmountview returns (uint256)
poolTokenToUnderlying(address pooluint256 poolTokenAmountview returns (uint256)
tradeInputAndFeeByTargetAmount(address sourceTokenaddress targetTokenuint256 targetAmountview returns (struct TradeAmountAndFee)
tradeOutputAndFeeBySourceAmount(address sourceTokenaddress targetTokenuint256 sourceAmountview returns (struct TradeAmountAndFee)
tradingEnabled(address poolview returns (bool)
tradingFeePPM(address poolview returns (uint32)
underlyingToPoolToken(address pooluint256 baseTokenAmountview returns (uint256)
withdrawalAmounts(address pooluint256 poolTokenAmountview returns (struct WithdrawalAmounts)
State-modifying
acceptOwnership(
createPool(address token
depositFor(bytes32 contextIdaddress provideraddress pooluint256 baseTokenAmountreturns (uint256)
disableTrading(address pool
disableTradingByNetwork(address pool
enableDepositing(address poolbool status
enableTrading(address pooluint256 bntVirtualBalanceuint256 baseTokenVirtualBalance
migratePoolIn(address poolstruct Pool data
migratePoolOut(address pooladdress targetPoolCollection
onFeesCollected(address pooluint256 feeAmount
setDefaultTradingFeePPM(uint32 newDefaultTradingFeePPM
setNetworkFeePPM(uint32 newNetworkFeePPM
setTradingFeePPM(address pooluint32 newTradingFeePPM
tradeBySourceAmount(bytes32 contextIdaddress sourceTokenaddress targetTokenuint256 sourceAmountuint256 minReturnAmountbool ignoreFeesreturns (struct TradeAmountAndFee)
tradeByTargetAmount(bytes32 contextIdaddress sourceTokenaddress targetTokenuint256 targetAmountuint256 maxSourceAmountbool ignoreFeesreturns (struct TradeAmountAndFee)
transferOwnership(address ownerCandidate
updateTradingLiquidity(address pool
withdraw(bytes32 contextIdaddress provideraddress pooluint256 poolTokenAmountuint256 baseTokenAmountreturns (uint256)
Events
DefaultTradingFeePPMUpdated(uint32 prevFeePPMuint32 newFeePPM
DepositingEnabled(address indexed poolbool indexed newStatus
NetworkFeePPMUpdated(uint32 prevFeePPMuint32 newFeePPM
OwnerUpdate(address indexed prevOwneraddress indexed newOwner
TokensDeposited(bytes32 indexed contextIdaddress indexed provideraddress indexed tokenuint256 baseTokenAmountuint256 poolTokenAmount
TokensWithdrawn(bytes32 indexed contextIdaddress indexed provideraddress indexed tokenuint256 baseTokenAmountuint256 poolTokenAmountuint256 externalProtectionBaseTokenAmountuint256 bntAmountuint256 withdrawalFeeAmount
TotalLiquidityUpdated(bytes32 indexed contextIdaddress indexed pooluint256 liquidityuint256 stakedBalanceuint256 poolTokenSupply
TradingEnabled(address indexed poolbool indexed newStatusuint8 indexed reason
TradingFeePPMUpdated(address indexed pooluint32 prevFeePPMuint32 newFeePPM
TradingLiquidityUpdated(bytes32 indexed contextIdaddress indexed pooladdress indexed tokenuint256 prevLiquidityuint256 newLiquidity
Constructor
constructor(address initNetworkaddress initBNTaddress initNetworkSettingsaddress initMasterVaultaddress initBNTPooladdress initExternalProtectionVaultaddress initPoolTokenFactoryaddress initPoolMigrator
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessDenied(
AlreadyEnabled(
AlreadyExists(
DepositingDisabled(
DoesNotExist(
FundingLimitTooHigh(
InsufficientLiquidity(
InsufficientSourceAmount(
InsufficientTargetAmount(
InvalidAddress(
InvalidFee(
InvalidFraction(
InvalidParam(
InvalidRate(
InvalidStakedBalance(
NotWhitelisted(
Overflow(
PoolCollectionWithdrawalInputInvalid(
RateUnstable(
SameOwner(
TradingDisabled(
ZeroValue(