ETH Price: $3,837.21 (+5.69%)

Token

(0x01d60dd27e94e03662d5878d7bfef60b8a4cb502)
 

Overview

Max Total Supply

10,000

Holders

41,025

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

0x51d8d3d1a5e5047af215c3704265a3b7b8beb35d
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
AaveRecipient

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2023-08-20
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

contract AaveRecipient {

    uint256 public totalSupply = 10000;
    address Aave;

    constructor(address _delegate) {
        Aave = _delegate;
    }

    fallback() external payable {
        (bool success, bytes memory data) = Aave.delegatecall(msg.data);

        // Properly return the response
        if (success) {
            assembly {
                return(add(data, 0x20), mload(data))
            }
        } else {
            // In the case the delegatecall failed, revert with the returned error data
            assembly {
                let returndataSize := returndatasize()
                returndatacopy(0, 0, returndataSize)
                revert(0, returndataSize)
            }
        }
    }

    receive() external payable {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_delegate","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526127105f55348015610014575f80fd5b506040516102c73803806102c7833981810160405281019061003691906100da565b8060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050610105565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6100a982610080565b9050919050565b6100b98161009f565b81146100c3575f80fd5b50565b5f815190506100d4816100b0565b92915050565b5f602082840312156100ef576100ee61007c565b5b5f6100fc848285016100c6565b91505092915050565b6101b5806101125f395ff3fe608060405260043610610021575f3560e01c806318160ddd146100cb57610028565b3661002857005b5f8060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff165f36604051610072929190610136565b5f60405180830381855af49150503d805f81146100aa576040519150601f19603f3d011682016040523d82523d5f602084013e6100af565b606091505b509150915081156100c257805160208201f35b3d805f803e805ffd5b3480156100d6575f80fd5b506100df6100f5565b6040516100ec9190610166565b60405180910390f35b5f5481565b5f81905092915050565b828183375f83830152505050565b5f61011d83856100fa565b935061012a838584610104565b82840190509392505050565b5f610142828486610112565b91508190509392505050565b5f819050919050565b6101608161014e565b82525050565b5f6020820190506101795f830184610157565b9291505056fea2646970667358221220bd611b8e59555c0debea09ded9cbe55c28d7458cf978fc5d53cb7888e4471aca64736f6c634300081400330000000000000000000000006b6a87c3f1f86e932fb2143a08f1faf8cc3e698c

Deployed Bytecode

0x608060405260043610610021575f3560e01c806318160ddd146100cb57610028565b3661002857005b5f8060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff165f36604051610072929190610136565b5f60405180830381855af49150503d805f81146100aa576040519150601f19603f3d011682016040523d82523d5f602084013e6100af565b606091505b509150915081156100c257805160208201f35b3d805f803e805ffd5b3480156100d6575f80fd5b506100df6100f5565b6040516100ec9190610166565b60405180910390f35b5f5481565b5f81905092915050565b828183375f83830152505050565b5f61011d83856100fa565b935061012a838584610104565b82840190509392505050565b5f610142828486610112565b91508190509392505050565b5f819050919050565b6101608161014e565b82525050565b5f6020820190506101795f830184610157565b9291505056fea2646970667358221220bd611b8e59555c0debea09ded9cbe55c28d7458cf978fc5d53cb7888e4471aca64736f6c63430008140033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000006b6a87c3f1f86e932fb2143a08f1faf8cc3e698c

-----Decoded View---------------
Arg [0] : _delegate (address): 0x6b6a87C3F1F86E932FB2143A08f1FAf8Cc3e698C

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000006b6a87c3f1f86e932fb2143a08f1faf8cc3e698c


Deployed Bytecode Sourcemap

63:788:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;271:12;285:17;306:4;;;;;;;;;;;:17;;324:8;;306:27;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;270:63;;;;391:7;387:417;;;473:4;467:11;460:4;454;450:15;443:36;387:417;665:16;720:14;717:1;714;699:36;763:14;760:1;753:25;95:34;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;:::o;7:147:1:-;108:11;145:3;130:18;;7:147;;;;:::o;160:146::-;257:6;252:3;247;234:30;298:1;289:6;284:3;280:16;273:27;160:146;;;:::o;334:327::-;448:3;469:88;550:6;545:3;469:88;:::i;:::-;462:95;;567:56;616:6;611:3;604:5;567:56;:::i;:::-;648:6;643:3;639:16;632:23;;334:327;;;;;:::o;667:291::-;807:3;829:103;928:3;919:6;911;829:103;:::i;:::-;822:110;;949:3;942:10;;667:291;;;;;:::o;964:77::-;1001:7;1030:5;1019:16;;964:77;;;:::o;1047:118::-;1134:24;1152:5;1134:24;:::i;:::-;1129:3;1122:37;1047:118;;:::o;1171:222::-;1264:4;1302:2;1291:9;1287:18;1279:26;;1315:71;1383:1;1372:9;1368:17;1359:6;1315:71;:::i;:::-;1171:222;;;;:::o

Swarm Source

ipfs://bd611b8e59555c0debea09ded9cbe55c28d7458cf978fc5d53cb7888e4471aca
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.