BrewlabsAggregationRouter

Verified contract

Active on Ethereum with 522 txns
Deployed by via 0x5dd29219 at 17639194
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x5b8f10e88a4fba5ee6ffad4518c939baa88e53009ce4bfb6f8012c33854990bf
0x1a5204f28de3eea3135435b19d671c3ddbef5a908cc45a42cf52913b395736bf
0x229cc873edc812b0d66ca48552bc985674094d6be054c6bcd727cbe2d2f33348
0x4608ffd0072c92d2f780d353aeb7520d12b2a5c9e12e0f61b945dc106f484133
0x23492f24c3a72a90fceee274608116b4e42e5cb5756db4a25d4228a218c91491
0xa2a8326fc37a9ee033d02c8674e01fc6df7c0d532cb769176bb8c912380af0a2
0xb417e2733bf375ae2fc9d243761a3b8e30465b540f15d7ad771381720b8254e4
0x0fec9f017de1ec3d3485cfc0d44ed87c8e91e1095f228d446c7419c2bef7fc6f
0xe0df2f12a882bce22876b6208b0bb6324c65157a0b9bdd9aaf5410b1e8a4edda
0x14b8aeee7ef7b5672c9f9fac1f307e72b5777e5ed972988c2c09ae0e44014e71

Functions
Getter at block 21281872
BREWS_FEE(view returns (uint256)
10
FEE_CLAIMER(view returns (address)
0x64961ffd0d84b2355ec2b5d35b0d8d8825a774dc
FEE_DENOMINATOR(view returns (uint256)
10000
MIN_FEE(view returns (uint256)
0
NAME(view returns (string)
BrewlabsAggregationRouter
NATIVE(view returns (address)
0x0000000000000000000000000000000000000000
WNATIVE(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
adaptersCount(view returns (uint256)
4
owner(view returns (address)
0xe1f1dd010bbc2860f81c8f90ea4e38db949bb16f
trustedTokensCount(view returns (uint256)
5
Read-only
ADAPTERS(uint256view returns (address)
TRUSTED_TOKENS(uint256view returns (address)
findBestPath(uint256 _amountInaddress _tokenInaddress _tokenOutuint256 _maxStepsview returns (struct BrewlabsAggregationRouterFormattedOffer)
findBestPathWithGas(uint256 _amountInaddress _tokenInaddress _tokenOutuint256 _maxStepsuint256 _gasPriceview returns (struct BrewlabsAggregationRouterFormattedOffer)
queryAdapter(uint256 _amountInaddress _tokenInaddress _tokenOutuint8 _indexview returns (uint256)
queryNoSplit(uint256 _amountInaddress _tokenInaddress _tokenOutview returns (struct BrewlabsAggregationRouterQuery)
queryNoSplit(uint256 _amountInaddress _tokenInaddress _tokenOutuint8[] _optionsview returns (struct BrewlabsAggregationRouterQuery)
State-modifying
recoverERC20(address _tokenAddressuint256 _tokenAmount
recoverETH(uint256 _amount
renounceOwnership(
setAdapters(address[] _adapters
setBrewsFee(uint256 _fee
setFeeClaimer(address _claimer
setMinFee(uint256 _fee
setNFTDiscountManager(address _discountMgr
setTrustedTokens(address[] _trustedTokens
swapNoSplit(struct BrewlabsAggregationRouterTrade _tradeaddress _touint256 _deadline
swapNoSplitFromETH(struct BrewlabsAggregationRouterTrade _tradeaddress _touint256 _deadlinepayable 
swapNoSplitToETH(struct BrewlabsAggregationRouterTrade _tradeaddress _touint256 _deadline
swapNoSplitToETHWithPermit(struct BrewlabsAggregationRouterTrade _tradeaddress _touint256 _deadlineuint8 _vbytes32 _rbytes32 _s
swapNoSplitWithPermit(struct BrewlabsAggregationRouterTrade _tradeaddress _touint256 _deadlineuint8 _vbytes32 _rbytes32 _s
transferOwnership(address newOwner
Events
BrewlabsSwap(address indexed _senderaddress indexed _tokenInaddress indexed _tokenOutuint256 _amountInuint256 _amountOut
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Recovered(address indexed _assetuint256 amount
SetNFTDiscountManager(address prevMgraddress newMgr
UpdatedAdapters(address[] _newAdapters
UpdatedFeeClaimer(address _oldFeeClaimeraddress _newFeeClaimer
UpdatedMinFee(uint256 _oldMinFeeuint256 _newMinFee
UpdatedTrustedTokens(address[] _newTrustedTokens
Constructor
constructor(address[] _adaptersaddress[] _trustedTokensaddress _feeClaimeraddress _wrapped_native
Fallback and receive
receive(
Errors

This contract contains no error objects.