PoolCollection

Verified contract

Active on Ethereum with 539 txns
Deployed by via 0x71a490fb at 15255739
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"

0x1df20ff4a40ddd3291845a4dccbd697f4839204ba0c22ee08970dbfbe045eee9
0xf9575149aae430f31a70fee2258e4126c2b56efc8b652d86e1b1000909c6f656
0x302422b5486ee3a7a47705e2f3c3827cb722246326233a688003ffe73433cc2f
0x021dea6f462cf076fd06403037dcc7c4e8ca6d8f251a817df3830b83c1ac0977
0x3e625253bb18d2ada1371370687f355d902b59c6949ac848c6ac18f5e0f376b6
0xa7ba2c901ce677a88077d3e1448bc29da105d90a39cc2b53bd0424568aa71d94
0xa08fc34d99d48de7bbee1effe1a4bec3000e94322585480606a033c561b88995
0xe0dfc4f2acad3c76342531935913e645e5a19773a534f746faacbdae129027c8
0xbd0a12f6a62f30b63c3a7fe26b00dd1fe00120574139dcb09da02942b26ec02f
0x0bfd8df3c3d57bbf1116bc880bfb21b8e2eccf4c9b4f3e49ac8100364c5b4132

Functions
Getter at block 21248345
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 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
enableDepositing(address poolbool status
enableProtection(bool 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 minReturnAmountreturns (struct TradeAmountAndFee)
tradeByTargetAmount(bytes32 contextIdaddress sourceTokenaddress targetTokenuint256 targetAmountuint256 maxSourceAmountreturns (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(