BrewlabsAggregationRouter
Verified contract
Active on
Ethereum with 522 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
HQG | ERC-20 | 0.001 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21034483 | a month ago | | | 0 | 0.0052449577 | |
| 21017593 | a month ago | | | 0.01 | 0.0021058756 | |
| 21017557 | a month ago | | | 0 | 0.0019961949 | |
| 21017507 | a month ago | | | 0 | 0.0019100013 | |
| 20782135 | 2 months ago | | | 0.53 | 0.0036675772 | |
| 20782127 | 2 months ago | | | 0.33 | 0.0043714956 | |
| 20686776 | 3 months ago | | | 0 | 0.0034147516 | |
| 20605204 | 3 months ago | | | 0.002 | 0.00033261422 | |
| 20249377 | 5 months ago | | | 0 | 0.00053083870 | |
| 20200066 | 5 months ago | | | 0.075 | 0.00051442881 |
ABI
ABI objects
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(uint256) view returns (address)
TRUSTED_TOKENS(uint256) view returns (address)
findBestPath(uint256 _amountIn, address _tokenIn, address _tokenOut, uint256 _maxSteps) view returns (struct BrewlabsAggregationRouterFormattedOffer)
findBestPathWithGas(uint256 _amountIn, address _tokenIn, address _tokenOut, uint256 _maxSteps, uint256 _gasPrice) view returns (struct BrewlabsAggregationRouterFormattedOffer)
queryAdapter(uint256 _amountIn, address _tokenIn, address _tokenOut, uint8 _index) view returns (uint256)
queryNoSplit(uint256 _amountIn, address _tokenIn, address _tokenOut) view returns (struct BrewlabsAggregationRouterQuery)
queryNoSplit(uint256 _amountIn, address _tokenIn, address _tokenOut, uint8[] _options) view returns (struct BrewlabsAggregationRouterQuery)
State-modifying
Events recoverERC20(address _tokenAddress, uint256 _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 _trade, address _to, uint256 _deadline)
swapNoSplitFromETH(struct BrewlabsAggregationRouterTrade _trade, address _to, uint256 _deadline) payable
swapNoSplitToETH(struct BrewlabsAggregationRouterTrade _trade, address _to, uint256 _deadline)
swapNoSplitToETHWithPermit(struct BrewlabsAggregationRouterTrade _trade, address _to, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s)
swapNoSplitWithPermit(struct BrewlabsAggregationRouterTrade _trade, address _to, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s)
transferOwnership(address newOwner)
BrewlabsSwap(address indexed _sender, address indexed _tokenIn, address indexed _tokenOut, uint256 _amountIn, uint256 _amountOut)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Recovered(address indexed _asset, uint256 amount)
SetNFTDiscountManager(address prevMgr, address newMgr)
UpdatedAdapters(address[] _newAdapters)
UpdatedFeeClaimer(address _oldFeeClaimer, address _newFeeClaimer)
UpdatedMinFee(uint256 _oldMinFee, uint256 _newMinFee)
UpdatedTrustedTokens(address[] _newTrustedTokens)
constructor(address[] _adapters, address[] _trustedTokens, address _feeClaimer, address _wrapped_native)
receive()
This contract contains no error objects.