Source Code
Overview
ETH Balance
0 ETH
ETH Value
$0.00| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 10292554 | 95 days ago | Contract Creation | 0 ETH |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ITBCurveAndConvexNoConfigDecoderAndSanitizer
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: SEL-1.0
// Copyright © 2025 Veda Tech Labs
// Derived from Boring Vault Software © 2025 Veda Tech Labs (TEST ONLY – NO COMMERCIAL USE)
// Licensed under Software Evaluation License, Version 1.0
pragma solidity ^0.8.0;
contract ITBCurveAndConvexNoConfigDecoderAndSanitizer {
function addLiquidityAllCoinsAndStake(address _pool, uint256[] memory, address _gauge, uint256)
external
pure
returns (bytes memory addressesFound)
{
addressesFound = abi.encodePacked(_pool, _gauge);
}
function unstakeAndRemoveLiquidityAllCoins(address _pool, uint256, address _gauge, uint256[] memory)
external
pure
returns (bytes memory addressesFound)
{
addressesFound = abi.encodePacked(_pool, _gauge);
}
function addLiquidityAllCoinsAndStakeConvex(address _pool, uint256[] memory, uint256 _convex_pool_id, uint256)
external
pure
returns (bytes memory addressesFound)
{
addressesFound = abi.encodePacked(_pool, address(uint160(_convex_pool_id)));
}
function unstakeAndRemoveLiquidityAllCoinsConvex(address _pool, uint256, uint256 _convex_pool_id, uint256[] memory)
external
pure
returns (bytes memory addressesFound)
{
addressesFound = abi.encodePacked(_pool, address(uint160(_convex_pool_id)));
}
}{
"remappings": [
"@solmate/=lib/solmate/src/",
"@forge-std/=lib/forge-std/src/",
"@ds-test/=lib/forge-std/lib/ds-test/src/",
"ds-test/=lib/forge-std/lib/ds-test/src/",
"@openzeppelin/=lib/openzeppelin-contracts/",
"@ccip/=lib/ccip/",
"@oapp-auth/=lib/OAppAuth/src/",
"@devtools-oapp-evm/=lib/OAppAuth/lib/devtools/packages/oapp-evm/contracts/oapp/",
"@layerzerolabs/lz-evm-messagelib-v2/=lib/OAppAuth/node_modules/@layerzerolabs/lz-evm-messagelib-v2/",
"@layerzerolabs/lz-evm-protocol-v2/=lib/OAppAuth/lib/LayerZero-V2/packages/layerzero-v2/evm/protocol/",
"@layerzerolabs/oapp-evm/=lib/OAppAuth/lib/devtools/packages/oapp-evm/",
"@lz-oapp-evm/=lib/OAppAuth/lib/LayerZero-V2/packages/layerzero-v2/evm/oapp/contracts/oapp/",
"LayerZero-V2/=lib/OAppAuth/lib/",
"OAppAuth/=lib/OAppAuth/",
"ccip/=lib/ccip/contracts/",
"erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
"forge-std/=lib/forge-std/src/",
"halmos-cheatcodes/=lib/OAppAuth/lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"solidity-bytes-utils/=lib/OAppAuth/node_modules/solidity-bytes-utils/",
"solmate/=lib/solmate/src/"
],
"optimizer": {
"enabled": true,
"runs": 200
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "paris",
"viaIR": false
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_pool","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"address","name":"_gauge","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"addLiquidityAllCoinsAndStake","outputs":[{"internalType":"bytes","name":"addressesFound","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_pool","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256","name":"_convex_pool_id","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"addLiquidityAllCoinsAndStakeConvex","outputs":[{"internalType":"bytes","name":"addressesFound","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_pool","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"_gauge","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"name":"unstakeAndRemoveLiquidityAllCoins","outputs":[{"internalType":"bytes","name":"addressesFound","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_pool","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_convex_pool_id","type":"uint256"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"name":"unstakeAndRemoveLiquidityAllCoinsConvex","outputs":[{"internalType":"bytes","name":"addressesFound","type":"bytes"}],"stateMutability":"pure","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b506103a5806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806356912b4f1461005157806371cbbd6b146100b5578063bb0eebf9146100c3578063feb9435e146100d1575b600080fd5b61009f61005f3660046101ac565b50604080516bffffffffffffffffffffffff19606095861b811660208301529290941b909116603484015280516028818503018152604890930190525090565b6040516100ac9190610212565b60405180910390f35b61009f61005f366004610260565b61009f61005f3660046102be565b61009f61005f366004610326565b80356001600160a01b03811681146100f657600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261012257600080fd5b8135602067ffffffffffffffff8083111561013f5761013f6100fb565b8260051b604051601f19603f83011681018181108482111715610164576101646100fb565b60405293845285810183019383810192508785111561018257600080fd5b83870191505b848210156101a157813583529183019190830190610188565b979650505050505050565b600080600080608085870312156101c257600080fd5b6101cb856100df565b9350602085013567ffffffffffffffff8111156101e757600080fd5b6101f387828801610111565b935050610202604086016100df565b9396929550929360600135925050565b600060208083528351808285015260005b8181101561023f57858101830151858201604001528201610223565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806000806080858703121561027657600080fd5b61027f856100df565b9350602085013567ffffffffffffffff81111561029b57600080fd5b6102a787828801610111565b949794965050505060408301359260600135919050565b600080600080608085870312156102d457600080fd5b6102dd856100df565b9350602085013592506102f2604086016100df565b9150606085013567ffffffffffffffff81111561030e57600080fd5b61031a87828801610111565b91505092959194509250565b6000806000806080858703121561033c57600080fd5b610345856100df565b93506020850135925060408501359150606085013567ffffffffffffffff81111561030e57600080fdfea26469706673582212202c728249fc8a0d150a8d300995e6ea70120ffb9cac29c37d4fd29106a9c975d864736f6c63430008150033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806356912b4f1461005157806371cbbd6b146100b5578063bb0eebf9146100c3578063feb9435e146100d1575b600080fd5b61009f61005f3660046101ac565b50604080516bffffffffffffffffffffffff19606095861b811660208301529290941b909116603484015280516028818503018152604890930190525090565b6040516100ac9190610212565b60405180910390f35b61009f61005f366004610260565b61009f61005f3660046102be565b61009f61005f366004610326565b80356001600160a01b03811681146100f657600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261012257600080fd5b8135602067ffffffffffffffff8083111561013f5761013f6100fb565b8260051b604051601f19603f83011681018181108482111715610164576101646100fb565b60405293845285810183019383810192508785111561018257600080fd5b83870191505b848210156101a157813583529183019190830190610188565b979650505050505050565b600080600080608085870312156101c257600080fd5b6101cb856100df565b9350602085013567ffffffffffffffff8111156101e757600080fd5b6101f387828801610111565b935050610202604086016100df565b9396929550929360600135925050565b600060208083528351808285015260005b8181101561023f57858101830151858201604001528201610223565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806000806080858703121561027657600080fd5b61027f856100df565b9350602085013567ffffffffffffffff81111561029b57600080fd5b6102a787828801610111565b949794965050505060408301359260600135919050565b600080600080608085870312156102d457600080fd5b6102dd856100df565b9350602085013592506102f2604086016100df565b9150606085013567ffffffffffffffff81111561030e57600080fd5b61031a87828801610111565b91505092959194509250565b6000806000806080858703121561033c57600080fd5b610345856100df565b93506020850135925060408501359150606085013567ffffffffffffffff81111561030e57600080fdfea26469706673582212202c728249fc8a0d150a8d300995e6ea70120ffb9cac29c37d4fd29106a9c975d864736f6c63430008150033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.