BancorNetwork
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
17
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 1 additional slot
-
variable spans 1 additional slot
3 additional
variables
Balances ($0.00)
No balances found for "BancorNetwork"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "BancorNetwork"
ABI
ABI objects
Getter at block 21248882
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
depositingEnabled() view returns (bool)
true
feeExemptionWhitelist() view returns (address[])
[]
liquidityPools() view returns (address[])
[]
minNetworkFeeBurn() view returns (uint256)
0
paused() view returns (bool)
false
pendingNetworkFeeAmount() view returns (uint256)
0
polRewardsPPM() view returns (uint32)
0
poolCollections() view returns (address[])
[]
roleAdmin() pure returns (bytes32)
0x2172861495e7b85edac73e3cd5fbb42dd675baadf627720e687bcfdaca025096
roleEmergencyStopper() pure returns (bytes32)
0xf28f409b8cbe6b50c7ca45afe893f01f69626f8a4e33cb480bc1bc2d618c0845
roleMigrationManager() pure returns (bytes32)
0xdf8c9529ea4b244b569bac557a549516f317e7b5cf82dc5e0d8b6d874930a3f5
version() pure returns (uint16)
11
Read-only
collectionByPool(address pool) view returns (address)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
isWhitelisted(address addr) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addToWhitelist(address addr)
burnNetworkFees() returns (uint256)
cancelWithdrawal(uint256 id) returns (uint256)
createPools(address[] tokens, address poolCollection)
deposit(address pool, uint256 tokenAmount) payable returns (uint256)
depositFor(address provider, address pool, uint256 tokenAmount) payable returns (uint256)
enableDepositing(bool status)
flashLoan(address token, uint256 amount, address recipient, bytes data)
grantRole(bytes32 role, address account)
initWithdrawal(address poolToken, uint256 poolTokenAmount) returns (uint256)
initialize(address initBNTPool, address initPendingWithdrawals, address initPoolMigrator)
migrateLiquidity(address token, address provider, uint256 amount, uint256 availableAmount, uint256 originalAmount) payable
migratePools(address[] pools, address newPoolCollection)
pause()
postUpgrade(bytes data)
registerPoolCollection(address newPoolCollection)
removeFromWhitelist(address addr)
renounceRole(bytes32 role, address account)
resume()
revokeRole(bytes32 role, address account)
setMinNetworkFeeBurn(uint256 newMinNetworkFeeBurn)
setPOLRewardsPPM(uint32 newRewardsPPM)
tradeBySourceAmount(address sourceToken, address targetToken, uint256 sourceAmount, uint256 minReturnAmount, uint256 deadline, address beneficiary) payable returns (uint256)
tradeBySourceAmountArb(address sourceToken, address targetToken, uint256 sourceAmount, uint256 minReturnAmount, uint256 deadline, address beneficiary) payable returns (uint256)
tradeByTargetAmount(address sourceToken, address targetToken, uint256 targetAmount, uint256 maxSourceAmount, uint256 deadline, address beneficiary) payable returns (uint256)
tradeByTargetAmountArb(address sourceToken, address targetToken, uint256 targetAmount, uint256 maxSourceAmount, uint256 deadline, address beneficiary) payable returns (uint256)
unregisterPoolCollection(address poolCollection)
withdraw(uint256 id) returns (uint256)
withdrawPOL(address pool) returns (uint256)
AddressAddedToWhitelist(address indexed addr)
AddressRemovedFromWhitelist(address indexed addr)
FlashLoanCompleted(address indexed token, address indexed borrower, uint256 amount, uint256 feeAmount)
FundsMigrated(bytes32 indexed contextId, address indexed token, address indexed provider, uint256 amount, uint256 availableAmount, uint256 originalAmount)
MinNetworkFeeBurnUpdated(uint256 oldMinNetworkFeeBurn, uint256 newMinNetworkFeeBurn)
NetworkFeesBurned(address indexed caller, uint256 amount)
POLRewardsPPMUpdated(uint32 oldRewardsPPM, uint32 newRewardsPPM)
POLWithdrawn(address indexed caller, address indexed token, uint256 polTokenAmount, uint256 userReward)
Paused(address account)
PoolAdded(address indexed pool, address indexed poolCollection)
PoolCollectionAdded(uint16 indexed poolType, address indexed poolCollection)
PoolCollectionRemoved(uint16 indexed poolType, address indexed poolCollection)
PoolCreated(address indexed pool, address indexed poolCollection)
PoolRemoved(address indexed pool, address indexed poolCollection)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
TokensTraded(bytes32 indexed contextId, address indexed sourceToken, address indexed targetToken, uint256 sourceAmount, uint256 targetAmount, uint256 bntAmount, uint256 targetFeeAmount, uint256 bntFeeAmount, address trader)
Unpaused(address account)
constructor(address initBNTGovernance, address initVBNTGovernance, address initNetworkSettings, address initMasterVault, address initExternalProtectionVault, address initBNTPoolToken, address carbonPOL)
receive()
AccessDenied()
AlreadyExists()
AlreadyInitialized()
DeadlineExpired()
DepositingDisabled()
DoesNotExist()
InsufficientFlashLoanReturn()
InvalidAddress()
InvalidExternalAddress()
InvalidFee()
InvalidPool()
InvalidToken()
NativeTokenAmountMismatch()
NotEmpty()
NotWhitelisted()
NotWhitelistedForPOL()
Overflow()
PoolNotInSurplus()
ZeroValue()