MaxCapitalSplitterV1
Verified contract
Active on
Ethereum with 45 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x8022…6f7d
0x5f4e…8419
0x8fff…18f6
0x5149…86ca
0xc02a…6cc2
45 additional
variables
Balances ($0.00)
No balances found for "MaxCapitalSplitterV1"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19805897 | 6 months ago | | | 0 | 0.00014377479 | |
| 19768802 | 6 months ago | | | 0 | 0.0015940254 | |
| 19768800 | 6 months ago | | | 0 | 0.0013640232 | |
| 19744061 | 6 months ago | | | 0 | 0.0060801437 | |
| 19744046 | 6 months ago | | | 0.01 | 0.00051407071 | |
| 19744043 | 6 months ago | | | 0 | 0.00044915958 | |
| 19743989 | 6 months ago | | | 0 | 0.0065214500 | |
| 19743986 | 6 months ago | | | 0 | 0.00028018109 | |
| 19743985 | 6 months ago | | | 0 | 0.00047459388 | |
| 19743981 | 6 months ago | | | 0 | 0.00043199094 |
ABI
ABI objects
Getter at block 21157571
checkUpkeep() view returns (bool upkeepNeeded)
false
getArbitrumDetails() view returns (address, uint64, uint16, bool)
(0xde1be5f1a7999c8b146619aee0faf742627b1f47, 4949039107694359620, 50, true)
getAvaxDetails() view returns (address, uint64, uint16, bool)
(0xde1be5f1a7999c8b146619aee0faf742627b1f47, 6433500567565415381, 25, true)
getBaseDetails() view returns (address, uint64, uint16, bool)
(0xde1be5f1a7999c8b146619aee0faf742627b1f47, 15971525489660198786, 25, true)
getBnbDetails() view returns (address, uint64, uint16, bool)
(0x0000000000000000000000000000000000000000, 0, 0, false)
getDestinationPercentage() view returns (uint16)
0
getEthDetails() view returns (address, uint64, uint16, bool)
(0x0000000000000000000000000000000000000000, 0, 0, false)
getEthReceivedTotal() view returns (uint256)
21000000000000000
getEthReceivedValueUSD() view returns (uint256)
65560459192700000000
getEthSentFarming() view returns (uint256)
2100000000000000
getEthSentTreasury() view returns (uint256)
1050000000000000
getEthValueOfUSDCForDestination() view returns (uint256)
14700000000000000
getEthValueOfUSDCSentToGas() view returns (uint256)
2100000000000000
getEthValueOfUSDCSentToTreasury() view returns (uint256)
1050000000000000
getFarmingPercentage() view returns (uint16)
10
getGasManager() view returns (address)
0x186aa8c6f02b05b48dc1dd2d7c67d8b56189c279
getGasManagerPercent() view returns (uint16)
10
getMinEthToSwap() view returns (uint256)
1000000
getMultisigWallet() view returns (address)
0x186aa8c6f02b05b48dc1dd2d7c67d8b56189c279
getOptimismDetails() view returns (address, uint64, uint16, bool)
(0x0000000000000000000000000000000000000000, 0, 0, false)
getPolygonDetails() view returns (address, uint64, uint16, bool)
(0x0000000000000000000000000000000000000000, 0, 0, false)
getSlippage() view returns (uint16)
10000
getSwapFee() view returns (uint24)
500
getTreasuryEthFeePercentage() view returns (uint16)
5
getTreasuryUSDCFeePercentage() view returns (uint16)
5
getTreasuryWallet() view returns (address)
0x186aa8c6f02b05b48dc1dd2d7c67d8b56189c279
getUSDCForDestination() view returns (uint256)
45852996
getUSDCPrice() view returns (int256)
999871
getUSDCSentForGas() view returns (uint256)
6550428
getUSDCSentTreasury() view returns (uint256)
3275214
getUsdcSentArbitrum() view returns (uint256)
22926497
getUsdcSentAvax() view returns (uint256)
5457497
getUsdcSentBNB() view returns (uint256)
0
getUsdcSentBase() view returns (uint256)
11463248
getUsdcSentEth() view returns (uint256)
0
getUsdcSentOptimism() view returns (uint256)
0
getUsdcSentPolygon() view returns (uint256)
0
getWETH9Price() view returns (int256)
3200438834950000000000
getWethSwapped() view returns (uint256)
17850000000000000
owner() view returns (address)
0x186aa8c6f02b05b48dc1dd2d7c67d8b56189c279
s_linkToken() view returns (address)
0x514910771af9ca656af840dff83e8264ecf986ca
s_router() view returns (address)
0x80226fc0ee2b096224eeac085bb9a8cba1146f7d
swapRouter02() view returns (address)
0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45
usdcToken() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
wethToken() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
allowlistedChains(uint64) view returns (bool)
isContractAdded(address _contract) view returns (bool)
State-modifying
Events acceptOwnership()
addFarmingContract(address _contract)
allowlistDestinationChain(uint64 _destinationChainSelector, bool allowed)
performUpkeep()
removeFarmingContract(address _contract)
setArbitrumDestinationConfig(address _receiver, uint64 _selector, uint16 _percentage, bool _active)
setAvaxDestinationConfig(address _receiver, uint64 _selector, uint16 _percentage, bool _active)
setBaseDestinationConfig(address _receiver, uint64 _selector, uint16 _percentage, bool _active)
setBnbDestinationConfig(address _receiver, uint64 _selector, uint16 _percentage, bool _active)
setEthDestinationConfig(address _receiver, uint64 _selector, uint16 _percentage, bool _active)
setFarmingAndDestinationPercentage(uint16 _farmingPercentage, uint16 _destinationsPercentage)
setGasManagerConfig(address _gasManager, uint16 _gasManagerPercent)
setMinAmtsToSwap(uint256 _minEthToSwap)
setMultisigWallet(address _multisigWallet)
setOptimismDestinationConfig(address _receiver, uint64 _selector, uint16 _percentage, bool _active)
setPolygonDestinationConfig(address _receiver, uint64 _selector, uint16 _percentage, bool _active)
setPriceFeeds(address _WETH9, address _USDC)
setSlippage(uint16 _slippage)
setSwapRouter(address _swapRouter02)
setTreasuryConfig(address _treasuryWallet, uint16 _ethPercent, uint16 _usdcPercent)
swapAndSend()
swapV3(address tokenIn, address tokenOut, uint24 Fee, uint256 amountIn, uint256 minAmountOut)
transferOwnership(address to)
transferTokensPayLINK(uint64 _destinationChainSelector, address _receiver, address _token, uint256 _amount)
withdraw(address _beneficiary)
withdrawToken(address _beneficiary, address _token)
NoActionNeeded(string message)
OwnershipTransferRequested(address indexed from, address indexed to)
OwnershipTransferred(address indexed from, address indexed to)
SwapExecuted(address indexed tokenIn, address indexed tokenOut, uint256 amountIn, uint256 amountOut, address recipient)
TokensTransferred(bytes32 indexed messageId, uint64 indexed destinationChainSelector, address receiver, address token, uint256 tokenAmount, address feeToken, uint256 fees)
constructor(address _router, address _link, address _usdcToken, address _wethToken)
receive()
DestinationChainNotAllowlisted(uint64 destinationChainSelector)
FailedToWithdrawEth(address owner, address target, uint256 value)
InvalidReceiverAddress()
NotEnoughBalance(uint256 currentBalance, uint256 calculatedFees)
NothingToWithdraw()