MaxCapitalSplitterV1

Verified contract

Active on Ethereum with 45 txns
Deployed by via 0x25dba019 at 19742490
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
45 additional variables

No balances found for "MaxCapitalSplitterV1"

0xfd519efbd468be7f774ea989c7cde1841a2680d5d914d0fddab86e75a0a490f8
0x10d47c5d80c6cae1a286e3aacc840fda1774807ca82f2666c388917ad208adf9
0xe5b1b42768bc1ecf65820e95b619713808977e5b354cdc79ea7f377eef05f1bf
0x7eeef26cb7a4536ddfcb866b741f13cce95a3a15c22f3bc21d7ce38ab7730cc1
0x56cbb653ed19d89f42520b87a9c721f19ede64ec9a8c3f0c55e374e46d72ff18
0x9a27d2344f0ebb72b18347f0f9007499475f316c3ba92b8b60c8047d1acf0bda
0x292807a7491edd83577b672366e818052e4b7d00e77ac164ae2b32095ba7aa88
0x91832770062ec6cdd1ec86d0f3c02fcb03f6c06371699a391222e29856df65df
0x30c163d0a61a59359e42bedd2194a8460b070491f5c1b307425505a9a3adebaa
0x30e74a3ec81b1cc5c1d75c13b5100d794136382c5c4f0f2d1f25a4d719d469f4

Functions
Getter at block 21157571
checkUpkeep(view returns (bool upkeepNeeded)
false
getArbitrumDetails(view returns (addressuint64uint16bool)
(0xde1be5f1a7999c8b146619aee0faf742627b1f47, 4949039107694359620, 50, true)
getAvaxDetails(view returns (addressuint64uint16bool)
(0xde1be5f1a7999c8b146619aee0faf742627b1f47, 6433500567565415381, 25, true)
getBaseDetails(view returns (addressuint64uint16bool)
(0xde1be5f1a7999c8b146619aee0faf742627b1f47, 15971525489660198786, 25, true)
getBnbDetails(view returns (addressuint64uint16bool)
(0x0000000000000000000000000000000000000000, 0, 0, false)
getDestinationPercentage(view returns (uint16)
0
getEthDetails(view returns (addressuint64uint16bool)
(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 (addressuint64uint16bool)
(0x0000000000000000000000000000000000000000, 0, 0, false)
getPolygonDetails(view returns (addressuint64uint16bool)
(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(uint64view returns (bool)
isContractAdded(address _contractview returns (bool)
State-modifying
acceptOwnership(
addFarmingContract(address _contract
allowlistDestinationChain(uint64 _destinationChainSelectorbool allowed
performUpkeep(
removeFarmingContract(address _contract
setArbitrumDestinationConfig(address _receiveruint64 _selectoruint16 _percentagebool _active
setAvaxDestinationConfig(address _receiveruint64 _selectoruint16 _percentagebool _active
setBaseDestinationConfig(address _receiveruint64 _selectoruint16 _percentagebool _active
setBnbDestinationConfig(address _receiveruint64 _selectoruint16 _percentagebool _active
setEthDestinationConfig(address _receiveruint64 _selectoruint16 _percentagebool _active
setFarmingAndDestinationPercentage(uint16 _farmingPercentageuint16 _destinationsPercentage
setGasManagerConfig(address _gasManageruint16 _gasManagerPercent
setMinAmtsToSwap(uint256 _minEthToSwap
setMultisigWallet(address _multisigWallet
setOptimismDestinationConfig(address _receiveruint64 _selectoruint16 _percentagebool _active
setPolygonDestinationConfig(address _receiveruint64 _selectoruint16 _percentagebool _active
setPriceFeeds(address _WETH9address _USDC
setSlippage(uint16 _slippage
setSwapRouter(address _swapRouter02
setTreasuryConfig(address _treasuryWalletuint16 _ethPercentuint16 _usdcPercent
swapAndSend(
swapV3(address tokenInaddress tokenOutuint24 Feeuint256 amountInuint256 minAmountOut
transferOwnership(address to
transferTokensPayLINK(uint64 _destinationChainSelectoraddress _receiveraddress _tokenuint256 _amount
withdraw(address _beneficiary
withdrawToken(address _beneficiaryaddress _token
Events
NoActionNeeded(string message
OwnershipTransferRequested(address indexed fromaddress indexed to
OwnershipTransferred(address indexed fromaddress indexed to
SwapExecuted(address indexed tokenInaddress indexed tokenOutuint256 amountInuint256 amountOutaddress recipient
TokensTransferred(bytes32 indexed messageIduint64 indexed destinationChainSelectoraddress receiveraddress tokenuint256 tokenAmountaddress feeTokenuint256 fees
Constructor
constructor(address _routeraddress _linkaddress _usdcTokenaddress _wethToken
Fallback and receive
receive(
Errors
DestinationChainNotAllowlisted(uint64 destinationChainSelector
FailedToWithdrawEth(address owneraddress targetuint256 value
InvalidReceiverAddress(
NotEnoughBalance(uint256 currentBalanceuint256 calculatedFees
NothingToWithdraw(