bZxProtocol

Verified contract

Proxy

Active on Ethereum with 16,669 txns
Deployed by via 0xaff4b1f8 at 10777787
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
67 additional variables
ERC-20
Value $444,775.54
ERC-20
Value $14,918.88
ERC-20
Value $7,682.51
ERC-20
Value $6,791.37
ERC-20
Value $6,349.77
ERC-20
Value $5,926.89
ERC-20
Value $1,653.5
ERC-20
Value $578.24
ERC-20
Value $39.09
ERC-20
Value $26.13
0xc03476af9051b15049c5a725080e9966173ba15f393647249a6e839a04dcd0ec
0x111afd724a03fd4a401a2c26995c09b8b428f8f021654aa5d8f994c9902c1ed6
0x844f2a11e029f85c00ea862c8e64e55bb0ee4de162be4c382fc5a2417bc88c30
0x7852a9d297d70ec6731ff95bd05b328b2aa51e10164a20ebfa80faf3727d9a13
0x4328913bfc865fa992e1289d8559e1760d25d5c82e8d2735d31570f2ca8551af
0x686b73aa9b8cce2e8698548c57f473efb0d66e28cc9d3e538c01ebb7b1774918
0xd0b26b43d70e0f44b422598a8be4973609c0ecc472e1532f1018fa3722337eb8
0x852320a7ac9c342399392c304617c4be985535eafa68d191c23cc54163c16501
0xc7c6a262618dbc44614dea2893705f25dc7ca8665cab30653c6ddd04cc0c558e
0xcec2ccce5e987c24af009c22216e96d6862894f71219514b3902dfdb8ee8e4a3

Functions
Getter at block 21270563
affiliateFeePercent(view returns (uint256)
30000000000000000000
borrowingFeePercent(view returns (uint256)
0
bzrxTokenAddress(view returns (address)
0x56d811088235f11c8920698a204a5010a788f4b3
feesController(view returns (address)
0xffb328ad3b727830f9482845a4737afddde85554
isOwner(view returns (bool)
false
lendingFeePercent(view returns (uint256)
10000000000000000000
maxDisagreement(view returns (uint256)
5000000000000000000
maxSwapSize(view returns (uint256)
3333333333333333333333
owner(view returns (address)
0xfedc4dd5247b93feb41e899a09c44cfabec29cbc
priceFeeds(view returns (address)
0xfc1f6b8f47f17ca2d8b5e95ef44874fa5f793123
protocolTokenHeld(view returns (uint256)
0
protocolTokenPaid(view returns (uint256)
51202148491171907048889944
sourceBufferPercent(view returns (uint256)
5000000000000000000
swapsImpl(view returns (address)
0x0d2cad590e0c2beb141ac872afd94fe17bec3bfb
tradingFeePercent(view returns (uint256)
150000000000000000
vbzrxTokenAddress(view returns (address)
0xb72b31907c1c95f3650b64b2469e08edacee5e8f
wethToken(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
 
DELEGATE_FLAG(view returns (uint128)
 
DEX_SELECTOR_FLAG(view returns (uint128)
 
HOLD_OOKI_FLAG(view returns (uint128)
 
OOKI(view returns (address)
 
PAY_WITH_OOKI_FLAG(view returns (uint128)
 
TRACK_VOLUME_FLAG(view returns (uint128)
 
USDC(view returns (address)
 
WITH_PERMIT(view returns (uint128)
affiliateFeePercent(view returns (uint256)
30000000000000000000
borrowingFeePercent(view returns (uint256)
0
bzrxTokenAddress(view returns (address)
0x56d811088235f11c8920698a204a5010a788f4b3
feesController(view returns (address)
0xffb328ad3b727830f9482845a4737afddde85554
getGuardian(view returns (address guardian)
0x9b43a385e08ee3e4b402d4312dabd11296d09e93
isOwner(view returns (bool)
false
lendingFeePercent(view returns (uint256)
10000000000000000000
maxDisagreement(view returns (uint256)
5000000000000000000
maxSwapSize(view returns (uint256)
3333333333333333333333
owner(view returns (address)
0xfedc4dd5247b93feb41e899a09c44cfabec29cbc
priceFeeds(view returns (address)
0xfc1f6b8f47f17ca2d8b5e95ef44874fa5f793123
protocolTokenHeld(view returns (uint256)
0
protocolTokenPaid(view returns (uint256)
51202148491171907048889944
sourceBufferPercent(view returns (uint256)
5000000000000000000
swapsImpl(view returns (address)
0x0d2cad590e0c2beb141ac872afd94fe17bec3bfb
 
timeDelta(view returns (uint32)
tradingFeePercent(view returns (uint256)
150000000000000000
 
twaiLength(view returns (uint32)
vbzrxTokenAddress(view returns (address)
0xb72b31907c1c95f3650b64b2469e08edacee5e8f
wethToken(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
borrowerOrders(addressbytes32view returns (uint256 lockedAmountuint256 interestRateuint256 minLoanTermuint256 maxLoanTermuint256 createdTimestampuint256 expirationTimestamp)
borrowingFeeTokensHeld(addressview returns (uint256)
borrowingFeeTokensPaid(addressview returns (uint256)
delegatedManagers(bytes32addressview returns (bool)
getTarget(string sigview returns (address)
lenderInterest(addressaddressview returns (uint256 principalTotaluint256 owedPerDayuint256 owedTotaluint256 paidTotaluint256 updatedTimestamp)
lenderOrders(addressbytes32view returns (uint256 lockedAmountuint256 interestRateuint256 minLoanTermuint256 maxLoanTermuint256 createdTimestampuint256 expirationTimestamp)
lendingFeeTokensHeld(addressview returns (uint256)
lendingFeeTokensPaid(addressview returns (uint256)
liquidationIncentivePercent(addressview returns (uint256)
loanInterest(bytes32view returns (uint256 owedPerDayuint256 depositTotaluint256 updatedTimestamp)
loanParams(bytes32view returns (bytes32 idbool activeaddress owneraddress loanTokenaddress collateralTokenuint256 minInitialMarginuint256 maintenanceMarginuint256 maxLoanTerm)
loanPoolToUnderlying(addressview returns (address)
loans(bytes32view returns (bytes32 idbytes32 loanParamsIdbytes32 pendingTradesIduint256 principaluint256 collateraluint256 startTimestampuint256 endTimestampuint256 startMarginuint256 startRateaddress borroweraddress lenderbool active)
logicTargets(bytes4view returns (address)
supportedTokens(addressview returns (bool)
tradingFeeTokensHeld(addressview returns (uint256)
tradingFeeTokensPaid(addressview returns (uint256)
underlyingToLoanPool(addressview returns (address)
_isPaused(bytes4 sigview returns (bool isPaused)
borrowerOrders(addressbytes32view returns (uint256 lockedAmountuint256 interestRateuint256 minLoanTermuint256 maxLoanTermuint256 createdTimestampuint256 expirationTimestamp)
borrowingFeeTokensHeld(addressview returns (uint256)
borrowingFeeTokensPaid(addressview returns (uint256)
delegatedManagers(bytes32addressview returns (bool)
generateLoanParamId(address loanTokenaddress collateralTokenbool isTorqueLoanpure returns (bytes32)
getDefaultLoanParams(address loanTokenaddress collateralTokenbool isTorqueLoanview returns (struct LoanParamsStructLoanParams loanParamsLocalbool isDefault)
getRequiredCollateral(address loanTokenaddress collateralTokenuint256 newPrincipaluint256 marginAmountbool isTorqueLoanview returns (uint256 collateralAmountRequired)
lenderInterest(addressaddressview returns (uint256 principalTotaluint256 owedPerDayuint256 owedTotaluint256 paidTotaluint256 updatedTimestamp)
lenderOrders(addressbytes32view returns (uint256 lockedAmountuint256 interestRateuint256 minLoanTermuint256 maxLoanTermuint256 createdTimestampuint256 expirationTimestamp)
lendingFeeTokensHeld(addressview returns (uint256)
lendingFeeTokensPaid(addressview returns (uint256)
liquidationIncentivePercent(addressaddressview returns (uint256)
loanInterest(bytes32view returns (uint256 owedPerDayuint256 depositTotaluint256 updatedTimestamp)
loanInterestTotal(bytes32view returns (uint256)
loanParams(bytes32view returns (bytes32 idbool activeaddress owneraddress loanTokenaddress collateralTokenuint256 minInitialMarginuint256 maintenanceMarginuint256 maxLoanTerm)
loanPoolToUnderlying(addressview returns (address)
loanRatePerTokenPaid(bytes32view returns (uint256)
loans(bytes32view returns (bytes32 idbytes32 loanParamsIdbytes32 pendingTradesIduint256 principaluint256 collateraluint256 startTimestampuint256 endTimestampuint256 startMarginuint256 startRateaddress borroweraddress lenderbool active)
logicTargets(bytes4view returns (address)
poolInterestTotal(addressview returns (uint256)
poolLastUpdateTime(addressview returns (uint256)
poolPrincipalTotal(addressview returns (uint256)
poolRatePerTokenStored(addressview returns (uint256)
supportedTokens(addressview returns (bool)
tradingFeeTokensHeld(addressview returns (uint256)
tradingFeeTokensPaid(addressview returns (uint256)
underlyingToLoanPool(addressview returns (address)
State-modifying
replaceContract(address target
setTargets(string[] sigsArraddress[] targetsArr
transferOwnership(address newOwner
borrowOrTradeFromPool(address collateralTokenbytes32 loanIdbool isTorqueLoanuint256 initialMarginaddress[4] sentAddressesuint256[5] sentValuesbytes loanDataBytespayable returns (struct LoanOpeningsEventsLoanOpenData)
changeGuardian(address newGuardian
initialize(address target
pause(bytes4[] sig
renounceOwnership(
setDelegatedManager(bytes32 loanIdaddress delegatedbool toggle
swapLoanCollateral(bytes32 loanIdaddress newCollateralTokenbytes loanDataBytes
toggleFunctionPause(bytes4 sig
toggleFunctionUnPause(bytes4 sig
transferOwnership(address newOwner
unpause(bytes4[] sig
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Borrow(address indexed useraddress indexed lenderbytes32 indexed loanIdaddress loanTokenaddress collateralTokenuint256 newPrincipaluint256 newCollateraluint256 interestRateuint256 interestDurationuint256 collateralToLoanRateuint256 currentMargin
DelegatedManagerSet(bytes32 indexed loanIdaddress indexed delegatoraddress indexed delegatedbool isActive
EarnReward(address indexed receiverbytes32 indexed loanIduint8 indexed feeTypeaddress tokenuint256 amount
ExternalSwap(address indexed useraddress indexed sourceTokenaddress indexed destTokenuint256 sourceAmountuint256 destAmount
LoanCollateralSwap(address indexed userbytes32 indexed loanIdaddress oldCollateralTokenaddress newCollateralTokenuint256 collateraluint256 collateralToLoanRateuint256 currentMargin
LoanInterestRateVals(bytes32 indexed loanIduint256 loanPrincipalTotaluint256 loanInterestTotaluint256 loanRatePerTokenPaid
LoanSwap(bytes32 indexed loanIdaddress indexed sourceTokenaddress indexed destTokenaddress borroweruint256 sourceAmountuint256 destAmount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PayBorrowingFee(address indexed payeraddress indexed tokenbytes32 indexed loanIduint256 amount
PayLendingFee(address indexed payeraddress indexed tokenuint256 amount
PayTradingFee(address indexed payeraddress indexed tokenbytes32 indexed loanIduint256 amount
PoolInterestRateVals(address indexed pooluint256 poolPrincipalTotaluint256 poolInterestTotaluint256 poolRatePerTokenStoreduint256 poolNextInterestRate
SettleFeeRewardForInterestExpense(address indexed payeraddress indexed tokenbytes32 indexed loanIduint256 amount
Trade(address indexed useraddress indexed lenderbytes32 indexed loanIdaddress collateralTokenaddress loanTokenuint256 positionSizeuint256 borrowedAmountuint256 interestRateuint256 settlementDateuint256 entryPriceuint256 entryLeverageuint256 currentLeverage
VaultDeposit(address indexed assetaddress indexed fromuint256 amount
VaultWithdraw(address indexed assetaddress indexed touint256 amount
Constructor

This contract contains no constructor objects.

Fallback and receive
fallback(
Errors

This contract contains no error objects.