ERC1967Proxy

Verified contract

Proxy

Active on Ethereum with 849 txns
Deployed by via 0x496d704f at 15266662
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 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 2 additional slots
9 additional variables
ERC-20
Value $523.28
ERC-20
Value $195.22
ERC-20
Value $1.85
ERC-20
Value $0.87
 (#9)
ERC-1555
--
0x6c284ce8bb78a73e9aee98fd0b069e77f2195ddeffb9b40cdbc52e669a0deeb2
0x9a23875e2902ea3fc56453282c65b58e9b3cf58c720b54bb84fa8baafb3fc1b1
0xa3daf848fa4d8b25949ab9593db2c773284f23e9d8d67fe9c03ed4ba090e7842
0x54790b21f29a6e3c259627ec32822698169acf3b196379af72cd9f1035f4e469
0x7a1f61dbd4d81fd0892b36c7e8d5dc9d8a0524150205a1d1680497eaad2fa183
0x1f98934ed474b94d5f13088c04367861a8b6ebdd1ca0d911825ea354b92746ba
0xee6742a10ffb87136bbb2bdb908f8d92c4c7a42e4484223141bf99402c242ee7
0xa4f8d6b7a3150b6df95eee5b45fff47bc2715cb53d655095c067b1fe93434eff
0x1dc045caa70efca40b49956731d5c635bc3b5d04ef253737981adec88f26c858
0x74bb52da34736b45adc4c8f635fca125557a726d005267c132e0af8a33744e4f

Functions
Getter at block 20999933
PERCENTS_DIVIDER(view returns (uint256)
10000
chainId(view returns (uint256)
1
executor(view returns (address)
0x46dc461f0b77e1935baea3214a719cbb3acedcc2
feePercent(view returns (uint256)
70
getChainId(view returns (uint256 _chainId)
1
maxAllowSlippage(view returns (uint256)
30
nonce(view returns (uint256)
363
owner(view returns (address)
0x2227b9626a312ac73cd3eed84738f05aebfb6074
paused(view returns (bool)
false
 
proxiableUUID(view returns (bytes32)
wrapper(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
approvedAssets(addressview returns (bool)
approvedRouters(address _routerview returns (bool)
processed(bytes32view returns (bool)
routerBalances(addressaddressview returns (uint256)
routerOwners(address _routerview returns (address)
routerRecipients(address _routerview returns (address)
swapRouters(addressview returns (bool)
State-modifying
addAssetIds(address[] localAssets
addLiquidity(uint256 amountaddress localpayable 
addLiquidityFor(uint256 amountaddress localaddress routerpayable 
addSwapRouter(address[] routers
execute(struct IFibswapExecuteArgs _argsreturns (bytes32)
initialize(uint256 _chainIdaddress _owneraddress _wrapper
pause(
removeAssetId(address localAssetId
removeLiquidity(uint256 amountaddress local
removeRouter(address router
removeSwapRouter(address _swapRouter
renounceOwnership(
setExecutor(address _executor
setFeePercent(uint256 _percent
setMaxAllowSlippage(uint256 _percent
setRouterOwner(address routeraddress owner
setRouterRecipient(address routeraddress recipient
setWrapped(address _wrapped
setupRouter(address routeraddress owneraddress recipient
transferOwnership(address newOwner
unpause(
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
xcall(struct IFibswapXCallArgs _argspayable returns (bytes32)
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
AdminChanged(address previousAdminaddress newAdmin
AssetAdded(address localAssetaddress caller
AssetRemoved(address localAssetaddress caller
BeaconUpgraded(address indexed beacon
Executed(bytes32 indexed transferIdstruct IFibswapCallParams paramsaddress transactingAssetuint256 localAmountuint256 transactingAmountbytes routerSignatureaddress originSenderuint256 nonceaddress caller
Initialized(uint8 version
LiquidityAdded(address indexed routeraddress localuint256 amountaddress caller
LiquidityRemoved(address indexed routeraddress toaddress localuint256 amountaddress caller
NewExecutor(address executoraddress caller
NewFeePercent(uint256 feePercentaddress caller
NewMaxAllowSlippage(uint256 percentaddress caller
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
SwapRouterUpdated(address swapRouterbool approvedaddress caller
Unpaused(address account
Upgraded(address indexed implementation
XCalled(bytes32 indexed transferIdstruct IFibswapCallParams paramsaddress transactingAssetuint256 transactingAmountuint256 localAmountuint256 underlyingAmountuint256 nonceuint256 relayerFeeaddress caller
Constructor
constructor(address _logicbytes _data
Fallback and receive
fallback(
receive(
receive(
Errors
FibswapUtils__handleIncomingAsset_ethWithErcTransfer(
FibswapUtils__handleIncomingAsset_notAmount(
FibswapUtils__transferAssetFromContract_notNative(
Fibswap__addAssetId_alreadyAdded(
Fibswap__addAssetIds_invalidArgs(
Fibswap__addLiquidityForRouter_amountIsZero(
Fibswap__addLiquidityForRouter_badAsset(
Fibswap__addLiquidityForRouter_badRouter(
Fibswap__addLiquidityForRouter_routerEmpty(
Fibswap__addSwapRouter_alreadyApproved(
Fibswap__addSwapRouter_invalidArgs(
Fibswap__addSwapRouter_invalidSwapRouterAddress(
Fibswap__decrementLiquidity_notEmpty(
Fibswap__execute_alreadyExecuted(
Fibswap__execute_incorrectDestination(
Fibswap__execute_invalidRouterSignature(
Fibswap__execute_unapprovedRouter(
Fibswap__removeAssetId_notAdded(
Fibswap__removeLiquidity_amountIsZero(
Fibswap__removeLiquidity_insufficientFunds(
Fibswap__removeLiquidity_recipientEmpty(
Fibswap__removeSwapRouter_alreadyRemoved(
Fibswap__removeSwapRouter_invalidArgs(
Fibswap__xcall_emptyToOrRecovery(
Fibswap__xcall_invalidSwapRouer(
Fibswap__xcall_notApprovedRouter(
Fibswap__xcall_notGasFee(
Fibswap__xcall_notSupportedAsset(
Fibswap__xcall_tooBigSlippage(
Fibswap__xcall_tooSmallLocalAmount(
Fibswap__xcall_wrongDomain(
RouterPermissionsLogic__onlyRouterOwner_notRouterOwner(
RouterPermissionsLogic__removeRouter_notAdded(
RouterPermissionsLogic__removeRouter_routerEmpty(
RouterPermissionsLogic__setRouterOwner_notNewOwner(
RouterPermissionsLogic__setRouterRecipient_notNewRecipient(
RouterPermissionsLogic__setupRouter_alreadyApproved(
RouterPermissionsLogic__setupRouter_routerEmpty(