OptimizedTransparentUpgradeableProxy

Verified contract

Proxy

Active on Base with 3,170 txns
Deployed by via 0x640b13cf at 5314581
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 46 additional slots
-
variable spans 44 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
2 additional variables
Native
Value $21,735.04
ERC-20
Value $16,653.57
ERC-20
Value $15,046.72
ERC-20
Value $14,473.68
ERC-20
Value $2,300.01
ERC-20
Value $2,192.35
ERC-20
Value $932.33
ERC-20
Value $480.3
ERC-20
Value $421.96
ERC-20
Value $320.35
0xe40762ded51725140a21b9b14389f012a4ed09fece9555bf5eef7c7952597cc2
0x9c7bd304543ccc4af560ce10decf18b1c4acfa5147c8517d1fcf9b6100838c03
0x3297fc24639eef9c42817b4c97c9038f8bf349833c0adbc69613dcac7d272f02
0x05c1d709f9600af31f6611144c8a738191e17ecc0e5510cb9e930084219c660c
0x37b2823478a32e51cbecedcf6235b2972bbeee9981909b632cfc08bbf91462e1
0x94801e99224aacffdf69128c756c6c6f7c4d6d3ffc1fddcf54de329aa2e45ebb
0x31941a28eaefdf8a47c4b7edc0e40169d2bfb1cdb0e650811bcf8ebbce70d4c2
0xe0e69817197645a5676ca1ce33558f3c29b71d930b4ac305d53784dbd7445155
0xdb4cc4da92ab1d14d88f3a708bf09994b6d0f9bdb65e494a7a19901b103d3783
0xc1cd77d6e579ec199576a63f74d69c970ef1d91bfb7a6313a9b8718005f04663

Functions
Getter at block 22750891
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
controllerType(pure returns (uint16)
1
 
pairs(view returns (address[2][])
paused(view returns (bool)
false
roleAdmin(pure returns (bytes32)
0x2172861495e7b85edac73e3cd5fbb42dd675baadf627720e687bcfdaca025096
roleEmergencyStopper(pure returns (bytes32)
0xf28f409b8cbe6b50c7ca45afe893f01f69626f8a4e33cb480bc1bc2d618c0845
roleFeesManager(pure returns (bytes32)
0x24a843cae781765d8cdc3bca1cc42497522c0508f4e621c2ca36ceea2fda7b16
tradingFeePPM(view returns (uint32)
7000
version(pure returns (uint16)
2
Read-only
accumulatedFees(address tokenview returns (uint256)
calculateTradeSourceAmount(address sourceTokenaddress targetTokenstruct TradeAction[] tradeActionsview returns (uint128)
calculateTradeTargetAmount(address sourceTokenaddress targetTokenstruct TradeAction[] tradeActionsview returns (uint128)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
pair(address token0address token1view returns (struct Pair)
pairTradingFeePPM(address token0address token1view returns (uint32)
strategiesByPair(address token0address token1uint256 startIndexuint256 endIndexview returns (struct Strategy[])
strategiesByPairCount(address token0address token1view returns (uint256)
strategy(uint256 idview returns (struct Strategy)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
admin(returns (address admin_)
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
createPair(address token0address token1returns (struct Pair)
createStrategy(address token0address token1(uint128, uint128, uint64, uint64)[2] orderspayable returns (uint256)
deleteStrategy(uint256 strategyId
grantRole(bytes32 roleaddress account
initialize(
pause(
postUpgrade(bytes data
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setPairTradingFeePPM(address token0address token1uint32 newPairTradingFeePPM
setTradingFeePPM(uint32 newTradingFeePPM
tradeBySourceAmount(address sourceTokenaddress targetTokenstruct TradeAction[] tradeActionsuint256 deadlineuint128 minReturnpayable returns (uint128)
tradeByTargetAmount(address sourceTokenaddress targetTokenstruct TradeAction[] tradeActionsuint256 deadlineuint128 maxInputpayable returns (uint128)
unpause(
updateStrategy(uint256 strategyId(uint128, uint128, uint64, uint64)[2] currentOrders(uint128, uint128, uint64, uint64)[2] newOrderspayable 
withdrawFees(address tokenuint256 amountaddress recipientreturns (uint256)
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
FeesWithdrawn(address indexed tokenaddress indexed recipientuint256 indexed amountaddress sender
Initialized(uint8 version
PairCreated(uint128 indexed pairIdaddress indexed token0address indexed token1
PairTradingFeePPMUpdated(address indexed token0address indexed token1uint32 prevFeePPMuint32 newFeePPM
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
StrategyCreated(uint256 idaddress indexed owneraddress indexed token0address indexed token1struct Order order0struct Order order1
StrategyDeleted(uint256 idaddress indexed owneraddress indexed token0address indexed token1struct Order order0struct Order order1
StrategyUpdated(uint256 indexed idaddress indexed token0address indexed token1struct Order order0struct Order order1uint8 reason
TokensTraded(address indexed traderaddress indexed sourceTokenaddress indexed targetTokenuint256 sourceAmountuint256 targetAmountuint128 tradingFeeAmountbool byTargetAmount
TradingFeePPMUpdated(uint32 prevFeePPMuint32 newFeePPM
Unpaused(address account
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors
AccessDenied(
AlreadyInitialized(
BalanceMismatch(
DeadlineExpired(
GreaterThanMaxInput(
IdenticalAddresses(
InsufficientCapacity(
InsufficientLiquidity(
InsufficientNativeTokenReceived(
InvalidAddress(
InvalidFee(
InvalidIndices(
InvalidRate(
InvalidTradeActionAmount(
InvalidTradeActionStrategyId(
LowerThanMinReturn(
NativeAmountMismatch(
OrderDisabled(
OutDated(
Overflow(
PairAlreadyExists(
PairDoesNotExist(
UnknownDelegator(
UnnecessaryNativeTokenReceived(
ZeroValue(