ETH Price: $3,343.31 (-1.62%)

Token

GrapefruitUSD (GrapefruitUSD)
 

Overview

Max Total Supply

1,778,099.806230277321967489 GrapefruitUSD

Holders

27

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.000000000000000003 GrapefruitUSD

Value
$0.00
0x3238b53a910b69f5dbdb31786613ce944536ba19
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Proxy

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2021-02-11
*/

// SPDX-License-Identifier: MIT                                                                                                                                                                                                               
                                                                                                                                                                                                                                              
pragma solidity ^0.6.0;                                                                                                                                                                                                                       
                                                                                                                                                                                                                                              
contract Proxy {                                                                                                                                                                                                                              
    // Code position in storage is keccak256("PROXIABLE") = "0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7"
    constructor(bytes memory constructData, address contractLogic) public {
        // save the code address
        assembly {
            // solium-disable-line
            sstore(
                0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7,
                contractLogic
            )
        }
        (bool success, bytes memory _) = contractLogic.delegatecall(
            constructData
        ); // solium-disable-line
        require(success, "Construction failed");
    }

    fallback() external payable {
        assembly { // solium-disable-line
            let contractLogic := sload(0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7)
            calldatacopy(0x0, 0x0, calldatasize())
            let success := delegatecall(sub(gas(), 10000), contractLogic, 0x0, calldatasize(), 0, 0)
            let retSz := returndatasize()
            returndatacopy(0, 0, retSz)
            switch success
            case 0 {
                revert(0, retSz)
            }
            default {
                return(0, retSz)
            }
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes","name":"constructData","type":"bytes"},{"internalType":"address","name":"contractLogic","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"}]

608060405234801561001057600080fd5b506040516102e23803806102e28339818101604052604081101561003357600080fd5b810190808051604051939291908464010000000082111561005357600080fd5b8382019150602082018581111561006957600080fd5b825186600182028301116401000000008211171561008657600080fd5b8083526020830192505050908051906020019080838360005b838110156100ba57808201518184015260208101905061009f565b50505050905090810190601f1680156100e75780820380516001836020036101000a031916815260200191505b5060405260200180519060200190929190505050807fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf755600060608273ffffffffffffffffffffffffffffffffffffffff16846040518082805190602001908083835b6020831061016d578051825260208201915060208101905060208303925061014a565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146101cd576040519150601f19603f3d011682016040523d82523d6000602084013e6101d2565b606091505b50915091508161024a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f436f6e737472756374696f6e206661696c65640000000000000000000000000081525060200191505060405180910390fd5b5050505060868061025c6000396000f3fe60806040527fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7543660008037600080366000846127105a03f43d806000803e8160008114604b57816000f35b816000fdfea2646970667358221220969e111e15446f3947ee6ebe12b4c88215bea08cd92b441913eb339a1922708b64736f6c634300060c003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000003ae90043eea2baf503f0b4b28d69b49d1fdeecd50000000000000000000000000000000000000000000000000000000000000024fe4b84df000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040527fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7543660008037600080366000846127105a03f43d806000803e8160008114604b57816000f35b816000fdfea2646970667358221220969e111e15446f3947ee6ebe12b4c88215bea08cd92b441913eb339a1922708b64736f6c634300060c0033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000003ae90043eea2baf503f0b4b28d69b49d1fdeecd50000000000000000000000000000000000000000000000000000000000000024fe4b84df000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : constructData (bytes): 0xfe4b84df0000000000000000000000000000000000000000000000000000000000000000
Arg [1] : contractLogic (address): 0x3AE90043eeA2baf503f0B4B28D69B49d1fDeEcD5

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000003ae90043eea2baf503f0b4b28d69b49d1fdeecd5
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [3] : fe4b84df00000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

960:1505:0:-:0;;;1968:66;1962:73;2072:14;2067:3;2062;2049:38;2187:1;2184;2168:14;2163:3;2148:13;2140:5;2133;2129:17;2116:73;2216:16;2267:5;2264:1;2261;2246:27;2294:7;2320:1;2315:57;;;;2423:5;2420:1;2413:16;2315:57;2351:5;2348:1;2341:16

Swarm Source

ipfs://969e111e15446f3947ee6ebe12b4c88215bea08cd92b441913eb339a1922708b
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.