BancorNetwork

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x969beeef at 21077215
Slot
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

No balances found for "BancorNetwork"

No transactions found for "BancorNetwork"


Functions
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 poolview returns (address)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isWhitelisted(address addrview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addToWhitelist(address addr
burnNetworkFees(returns (uint256)
cancelWithdrawal(uint256 idreturns (uint256)
createPools(address[] tokensaddress poolCollection
deposit(address pooluint256 tokenAmountpayable returns (uint256)
depositFor(address provideraddress pooluint256 tokenAmountpayable returns (uint256)
enableDepositing(bool status
flashLoan(address tokenuint256 amountaddress recipientbytes data
grantRole(bytes32 roleaddress account
initWithdrawal(address poolTokenuint256 poolTokenAmountreturns (uint256)
initialize(address initBNTPooladdress initPendingWithdrawalsaddress initPoolMigrator
migrateLiquidity(address tokenaddress provideruint256 amountuint256 availableAmountuint256 originalAmountpayable 
migratePools(address[] poolsaddress newPoolCollection
pause(
postUpgrade(bytes data
registerPoolCollection(address newPoolCollection
removeFromWhitelist(address addr
renounceRole(bytes32 roleaddress account
resume(
revokeRole(bytes32 roleaddress account
setMinNetworkFeeBurn(uint256 newMinNetworkFeeBurn
setPOLRewardsPPM(uint32 newRewardsPPM
tradeBySourceAmount(address sourceTokenaddress targetTokenuint256 sourceAmountuint256 minReturnAmountuint256 deadlineaddress beneficiarypayable returns (uint256)
tradeBySourceAmountArb(address sourceTokenaddress targetTokenuint256 sourceAmountuint256 minReturnAmountuint256 deadlineaddress beneficiarypayable returns (uint256)
tradeByTargetAmount(address sourceTokenaddress targetTokenuint256 targetAmountuint256 maxSourceAmountuint256 deadlineaddress beneficiarypayable returns (uint256)
tradeByTargetAmountArb(address sourceTokenaddress targetTokenuint256 targetAmountuint256 maxSourceAmountuint256 deadlineaddress beneficiarypayable returns (uint256)
unregisterPoolCollection(address poolCollection
withdraw(uint256 idreturns (uint256)
withdrawPOL(address poolreturns (uint256)
Events
AddressAddedToWhitelist(address indexed addr
AddressRemovedFromWhitelist(address indexed addr
FlashLoanCompleted(address indexed tokenaddress indexed borroweruint256 amountuint256 feeAmount
FundsMigrated(bytes32 indexed contextIdaddress indexed tokenaddress indexed provideruint256 amountuint256 availableAmountuint256 originalAmount
MinNetworkFeeBurnUpdated(uint256 oldMinNetworkFeeBurnuint256 newMinNetworkFeeBurn
NetworkFeesBurned(address indexed calleruint256 amount
POLRewardsPPMUpdated(uint32 oldRewardsPPMuint32 newRewardsPPM
POLWithdrawn(address indexed calleraddress indexed tokenuint256 polTokenAmountuint256 userReward
Paused(address account
PoolAdded(address indexed pooladdress indexed poolCollection
PoolCollectionAdded(uint16 indexed poolTypeaddress indexed poolCollection
PoolCollectionRemoved(uint16 indexed poolTypeaddress indexed poolCollection
PoolCreated(address indexed pooladdress indexed poolCollection
PoolRemoved(address indexed pooladdress indexed poolCollection
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokensTraded(bytes32 indexed contextIdaddress indexed sourceTokenaddress indexed targetTokenuint256 sourceAmountuint256 targetAmountuint256 bntAmountuint256 targetFeeAmountuint256 bntFeeAmountaddress trader
Unpaused(address account
Constructor
constructor(address initBNTGovernanceaddress initVBNTGovernanceaddress initNetworkSettingsaddress initMasterVaultaddress initExternalProtectionVaultaddress initBNTPoolTokenaddress carbonPOL
Fallback and receive
receive(
Errors
AccessDenied(
AlreadyExists(
AlreadyInitialized(
DeadlineExpired(
DepositingDisabled(
DoesNotExist(
InsufficientFlashLoanReturn(
InvalidAddress(
InvalidExternalAddress(
InvalidFee(
InvalidPool(
InvalidToken(
NativeTokenAmountMismatch(
NotEmpty(
NotWhitelisted(
NotWhitelistedForPOL(
Overflow(
PoolNotInSurplus(
ZeroValue(