OptimizedTransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 318 txns
Deployed by via 0xcbdf2764 at 18018377
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 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 2 additional slots
-
variable spans 47 additional slots
18 additional variables

No balances found for "OptimizedTransparentUpgradeableProxy"

0xfd36459acf2ee545b845465871b37e913171b467cf29fb9405bdb0560bd686e2
0xd36ce80709027295e88acd32068992b9e3e3c4e92da3d53563f59811fd71fabc
0x39daa2816aa70659d3f1dcc555c7d9f9f1ca9c85f89abef231ad7adbdce43902
0x7785f5cce482d2099757eef8a65156245215d7b97281b5b185c9a5927a836fc1
0x8f6d8a7ce98e3dae465b235dcf349cc9c9791572baab4e3a51989cab92e474de
0xee92a61f90fe0afcc6a5e52d62ac57ed2169358c8bdd418fb2139d4a33dad7e6
0x4192917c18bf5a3b8083cd61672889fefd0a1aba8684e50b2ce32d5c659f71a5
0xa1fd940f14e50d3409c64242c6b1fbfd4a69221f389828448af6a7b726dccb3b
0x297770a38a12a9ef5d9711f431cb0d109e869cab990bbef815ff49f383244004
0x3e9c2c305bf43efdd75ab3ef55ccda62b3e61ff79c81a157d9a40008d2922d92

Functions
Getter at block 20948051
adaptor(view returns (address)
0xaceb589012edbbee4ce7b4e89b916700b43419ca
ampFactor(view returns (uint256)
250000000000000
creditForTokensHaircut(view returns (uint128)
300000000000000
dev(view returns (address)
0x5781b4fe4fadb61ea2483eedd9498388f9b353b1
endCovRatio(view returns (uint128)
1800000000000000000
feeTo(view returns (address)
0x5781b4fe4fadb61ea2483eedd9498388f9b353b1
getTokens(view returns (address[])
[0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, 0xdAC17F958D2ee523a2206206994597C13D831ec7]
 
globalEquilCovRatio(view returns (int256 equilCovRatioint256 invariant)
 
globalEquilCovRatioWithCredit(view returns (uint256 equilCovRatiouint256 invariantInUint)
haircutRate(view returns (uint256)
400000000000000
lpDividendRatio(view returns (uint256)
500000000000000000
masterWombat(view returns (address)
0xc9bfc3efefe4cf96877009f75a61f5c1937e5d1a
maximumInboundCredit(view returns (uint128)
100000000000000000000000
maximumOutboundCredit(view returns (uint128)
100000000000000000000000
mintFeeThreshold(view returns (uint256)
10000000000000000000
owner(view returns (address)
0x5781b4fe4fadb61ea2483eedd9498388f9b353b1
paused(view returns (bool)
false
retentionRatio(view returns (uint256)
500000000000000000
startCovRatio(view returns (uint128)
1500000000000000000
swapCreditForTokensEnabled(view returns (bool)
true
swapTokensForCreditEnabled(view returns (bool)
true
tokensForCreditHaircut(view returns (uint128)
300000000000000
totalCreditBurned(view returns (uint128)
181439967302213587037872
totalCreditMinted(view returns (uint128)
178383607005796294683055
withdrawalHaircutRate(view returns (uint256)
0
Read-only
addressOfAsset(address tokenview returns (address)
creditBalance(addressview returns (uint256)
exchangeRate(address tokenview returns (uint256 xr)
isPaused(address tokenview returns (bool)
quoteAmountIn(address fromTokenaddress toTokenint256 toAmountview returns (uint256 amountInuint256 haircut)
quotePotentialDeposit(address tokenuint256 amountview returns (uint256 liquidity)
quotePotentialSwap(address fromTokenaddress toTokenint256 fromAmountview returns (uint256 potentialOutcomeuint256 haircut)
quotePotentialWithdraw(address tokenuint256 liquidityview returns (uint256 amount)
quotePotentialWithdrawFromOtherAsset(address fromTokenaddress toTokenuint256 liquidityview returns (uint256 finalAmountuint256 withdrewAmount)
quoteSwapCreditForTokens(address toTokenuint256 fromCreditAmountview returns (uint256 actualToAmountuint256 toTokenFee)
quoteSwapTokensForCredit(address fromTokenuint256 fromAmountview returns (uint256 creditAmountuint256 fromTokenFee)
tipBucketBalance(address tokenview returns (uint256 balance)
State-modifying
admin(returns (address admin_)
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
addAsset(address tokenaddress asset
completeSwapCreditForTokens(address toTokenuint256 fromAmountuint256 minimumToAmountaddress receiverreturns (uint256 actualToAmountuint256 toTokenFee)
deposit(address tokenuint256 amountuint256 minimumLiquidityaddress touint256 deadlinebool shouldStakereturns (uint256 liquidity)
fillPool(address tokenuint256 amount
initialize(uint256 ampFactor_uint256 haircutRate_
mintCredit(uint256 creditAmountaddress receiver
mintFee(address tokenreturns (uint256 feeCollected)
pause(
pauseAsset(address token
removeAsset(address token
renounceOwnership(
setAdaptorAddr(address _adaptor
setAmpFactor(uint256 ampFactor_
setCovRatioFeeParam(uint128 startCovRatio_uint128 endCovRatio_
setCrossChainHaircut(uint128 _tokensForCreditHaircutuint128 _creditForTokensHaircut
setDev(address dev_
setFee(uint256 lpDividendRatio_uint256 retentionRatio_
setFeeTo(address feeTo_
setHaircutRate(uint256 haircutRate_
setMasterWombat(address masterWombat_
setMaximumInboundCredit(uint128 _maximumInboundCredit
setMaximumOutboundCredit(uint128 _maximumOutboundCredit
setMintFeeThreshold(uint256 mintFeeThreshold_
setSwapCreditForTokensEnabled(bool enable
setSwapTokensForCreditEnabled(bool enable
setWithdrawalHaircutRate(uint256 withdrawalHaircutRate_
swap(address fromTokenaddress toTokenuint256 fromAmountuint256 minimumToAmountaddress touint256 deadlinereturns (uint256 actualToAmountuint256 haircut)
swapCreditForTokens(address toTokenuint256 fromAmountuint256 minimumToAmountaddress receiverreturns (uint256 actualToAmountuint256 toTokenFee)
swapCreditForTokensCrossChain(address toTokenuint256 toChainuint256 fromAmountuint256 minimumToAmountaddress receiveruint256 receiverValueuint256 deliveryGasLimitpayable returns (uint256 trackingId)
swapTokensForTokensCrossChain(address fromTokenaddress toTokenuint256 toChainuint256 fromAmountuint256 minimumCreditAmountuint256 minimumToAmountaddress receiveruint256 receiverValueuint256 deliveryGasLimitpayable returns (uint256 creditAmountuint256 fromTokenFeeuint256 sequence)
transferOwnership(address newOwner
transferTipBucket(address tokenuint256 amountaddress to
unpause(
unpauseAsset(address token
withdraw(address tokenuint256 liquidityuint256 minimumAmountaddress touint256 deadlinereturns (uint256 amount)
withdrawFromOtherAsset(address fromTokenaddress toTokenuint256 liquidityuint256 minimumAmountaddress touint256 deadlinereturns (uint256 toAmount)
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
AssetAdded(address indexed tokenaddress indexed asset
AssetRemoved(address indexed tokenaddress indexed asset
Deposit(address indexed senderaddress tokenuint256 amountuint256 liquidityaddress indexed to
FillPool(address tokenuint256 amount
Initialized(uint8 version
MintCredit(address indexed receiveruint256 creditAmount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
PausedAsset(address tokenaddress account
SetAmpFactor(uint256 value
SetDev(address addr
SetFee(uint256 lpDividendRatiouint256 retentionRatio
SetFeeTo(address addr
SetHaircutRate(uint256 value
SetMasterWombat(address addr
SetMintFeeThreshold(uint256 value
SetWithdrawalHaircutRate(uint256 value
SwapCreditForTokens(uint256 creditAmountaddress indexed toTokenuint256 toAmountuint256 toTokenFeeaddress indexed receiver
SwapTokensForCredit(address indexed senderaddress indexed fromTokenuint256 fromAmountuint256 fromTokenFeeuint256 creditAmount
SwapV2(address indexed senderaddress fromTokenaddress toTokenuint256 fromAmountuint256 toAmountuint256 toTokenFeeaddress indexed to
TransferTipBucket(address tokenuint256 amountaddress to
Unpaused(address account
UnpausedAsset(address tokenaddress account
Withdraw(address indexed senderaddress tokenuint256 amountuint256 liquidityaddress indexed to
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors
POOL__CREDIT_NOT_ENOUGH(
POOL__REACH_MAXIMUM_BURNED_CREDIT(
POOL__REACH_MAXIMUM_MINTED_CREDIT(
POOL__SWAP_CREDIT_FOR_TOKENS_DISABLED(
POOL__SWAP_TOKENS_FOR_CREDIT_DISABLED(
WOMBAT_AMOUNT_TOO_LOW(
WOMBAT_ASSET_ALREADY_EXIST(
WOMBAT_ASSET_ALREADY_PAUSED(
WOMBAT_ASSET_NOT_EXISTS(
WOMBAT_ASSET_NOT_PAUSED(
WOMBAT_CASH_NOT_ENOUGH(
WOMBAT_COV_RATIO_LIMIT_EXCEEDED(
WOMBAT_EXPIRED(
WOMBAT_FORBIDDEN(
WOMBAT_INVALID_VALUE(
WOMBAT_SAME_ADDRESS(
WOMBAT_ZERO_ADDRESS(
WOMBAT_ZERO_AMOUNT(
WOMBAT_ZERO_CREDIT_AMOUNT(
WOMBAT_ZERO_LIQUIDITY(