More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 190 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 14312351 | 919 days ago | IN | 0 ETH | 0.00196485 | ||||
Transfer | 14150052 | 945 days ago | IN | 0 ETH | 0.00368268 | ||||
Transfer | 13853144 | 991 days ago | IN | 0 ETH | 0.00259882 | ||||
Transfer | 13821070 | 995 days ago | IN | 0 ETH | 0.00136888 | ||||
Transfer | 13783328 | 1001 days ago | IN | 0 ETH | 0.00262064 | ||||
Transfer | 13735099 | 1009 days ago | IN | 0 ETH | 0.00331149 | ||||
Transfer | 13705093 | 1014 days ago | IN | 0 ETH | 0.00434218 | ||||
Transfer | 13642744 | 1024 days ago | IN | 0 ETH | 0.00448318 | ||||
Transfer | 13642734 | 1024 days ago | IN | 0 ETH | 0.0043364 | ||||
Transfer | 13634808 | 1025 days ago | IN | 0 ETH | 0.00376838 | ||||
Transfer | 13600984 | 1030 days ago | IN | 0 ETH | 0.00419154 | ||||
Transfer | 13577964 | 1034 days ago | IN | 0 ETH | 0.00447208 | ||||
Transfer | 13560490 | 1037 days ago | IN | 0 ETH | 0.00315706 | ||||
Transfer | 13541737 | 1040 days ago | IN | 0 ETH | 0.00513278 | ||||
Transfer | 13539798 | 1040 days ago | IN | 0 ETH | 0.01179154 | ||||
Transfer | 13538173 | 1040 days ago | IN | 0 ETH | 0.00579172 | ||||
Transfer | 13535890 | 1041 days ago | IN | 0 ETH | 0.00450438 | ||||
Transfer | 13535315 | 1041 days ago | IN | 0 ETH | 0.00416172 | ||||
Transfer | 13534549 | 1041 days ago | IN | 0 ETH | 0.007509 | ||||
Transfer | 13533964 | 1041 days ago | IN | 0 ETH | 0.00423893 | ||||
Transfer | 13533707 | 1041 days ago | IN | 0 ETH | 0.00555567 | ||||
Transfer | 13533586 | 1041 days ago | IN | 0 ETH | 0.00600468 | ||||
Transfer | 13533245 | 1041 days ago | IN | 0 ETH | 0.00988987 | ||||
Transfer | 13533216 | 1041 days ago | IN | 0 ETH | 0.00938987 | ||||
Transfer | 13533008 | 1041 days ago | IN | 0 ETH | 0.00441771 |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x402eb84d...3f4a16B54 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
CrowdfundProxy
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-05-05 */ // SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.4; // File contracts/CrowdfundStorage.sol /** * @title CrowdfundProxy * @author MirrorXYZ */ contract CrowdfundStorage { // The two states that this contract can exist in. "FUNDING" allows // contributors to add funds. enum Status {FUNDING, TRADING} // ============ Constants ============ // The factor by which ETH contributions will multiply into crowdfund tokens. uint16 internal constant TOKEN_SCALE = 1000; uint256 internal constant REENTRANCY_NOT_ENTERED = 1; uint256 internal constant REENTRANCY_ENTERED = 2; uint8 public constant decimals = 18; // ============ Immutable Storage ============ // The operator has a special role to change contract status. address payable public operator; address payable public fundingRecipient; // We add a hard cap to prevent raising more funds than deemed reasonable. uint256 public fundingCap; // The operator takes some equity in the tokens, represented by this percent. uint256 public operatorPercent; string public symbol; string public name; // ============ Mutable Storage ============ // Represents the current state of the campaign. Status public status; uint256 internal reentrancy_status; // ============ Mutable ERC20 Attributes ============ uint256 public totalSupply; mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) public allowance; mapping(address => uint256) public nonces; // ============ Delegation logic ============ address public logic; } // File contracts/CrowdfundProxy.sol interface ICrowdfundFactory { function mediaAddress() external returns (address); function logic() external returns (address); // ERC20 data. function parameters() external returns ( address payable operator, address payable fundingRecipient, uint256 fundingCap, uint256 operatorPercent, string memory name, string memory symbol ); } /** * @title CrowdfundProxy * @author MirrorXYZ */ contract CrowdfundProxy is CrowdfundStorage { constructor() { logic = ICrowdfundFactory(msg.sender).logic(); // Crowdfund-specific data. ( operator, fundingRecipient, fundingCap, operatorPercent, name, symbol ) = ICrowdfundFactory(msg.sender).parameters(); // Initialize mutable storage. status = Status.FUNDING; } fallback() external payable { address _impl = logic; assembly { let ptr := mload(0x40) calldatacopy(ptr, 0, calldatasize()) let result := delegatecall(gas(), _impl, ptr, calldatasize(), 0, 0) let size := returndatasize() returndatacopy(ptr, 0, size) switch result case 0 { revert(ptr, size) } default { return(ptr, size) } } } receive() external payable {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fundingCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fundingRecipient","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"logic","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"enum CrowdfundStorage.Status","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Deployed Bytecode
0x6080604052600436106100d65760003560e01c806370a082311161007f57806395d89b411161005957806395d89b41146102aa578063d7dfa0dd146102bf578063dd62ed3e146102ec578063e3b2594f14610324576100dd565b806370a082311461023a5780637b4044a0146102675780637ecebe001461027d576100dd565b8063200d2ed2116100b0578063200d2ed2146101bf578063313ce567146101e6578063570ca7351461020d576100dd565b806306fdde031461011e57806318160ddd146101495780631bb534ba1461016d576100dd565b366100dd57005b600c5460405173ffffffffffffffffffffffffffffffffffffffff9091169036600082376000803683855af43d806000843e81801561011a578184f35b8184fd5b34801561012a57600080fd5b5061013361033a565b6040516101409190610492565b60405180910390f35b34801561015557600080fd5b5061015f60085481565b604051908152602001610140565b34801561017957600080fd5b5060015461019a9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610140565b3480156101cb57600080fd5b506006546101d99060ff1681565b6040516101409190610451565b3480156101f257600080fd5b506101fb601281565b60405160ff9091168152602001610140565b34801561021957600080fd5b5060005461019a9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561024657600080fd5b5061015f6102553660046103fe565b60096020526000908152604090205481565b34801561027357600080fd5b5061015f60035481565b34801561028957600080fd5b5061015f6102983660046103fe565b600b6020526000908152604090205481565b3480156102b657600080fd5b506101336103c8565b3480156102cb57600080fd5b50600c5461019a9073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102f857600080fd5b5061015f61030736600461041f565b600a60209081526000928352604080842090915290825290205481565b34801561033057600080fd5b5061015f60025481565b6005805461034790610503565b80601f016020809104026020016040519081016040528092919081815260200182805461037390610503565b80156103c05780601f10610395576101008083540402835291602001916103c0565b820191906000526020600020905b8154815290600101906020018083116103a357829003601f168201915b505050505081565b6004805461034790610503565b803573ffffffffffffffffffffffffffffffffffffffff811681146103f957600080fd5b919050565b60006020828403121561040f578081fd5b610418826103d5565b9392505050565b60008060408385031215610431578081fd5b61043a836103d5565b9150610448602084016103d5565b90509250929050565b602081016002831061048c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b6000602080835283518082850152825b818110156104be578581018301518582016040015282016104a2565b818111156104cf5783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600181811c9082168061051757607f821691505b60208210811415610551577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b5091905056fea2646970667358221220d03f61a760b9c9e4e47cae11f7719edf7a4b3cb57db62866d2f23c905d44b02064736f6c63430008040033
Deployed Bytecode Sourcemap
2271:1052:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2790:5;;2847:4;2841:11;2790:5;;;;;2887:14;2774:13;2841:11;2866:36;2981:1;2978;2962:14;2957:3;2950:5;2943;2930:53;3009:16;3062:4;3059:1;3054:3;3039:28;3090:6;3114:66;;;;3241:4;3236:3;3229:17;3114:66;3156:4;3151:3;3144:17;1152:18;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1416:26;;;;;;;;;;;;;;;;;;;2380:25:1;;;2368:2;2353:18;1416:26:0;2335:76:1;847:39:0;;;;;;;;;;-1:-1:-1;847:39:0;;;;;;;;;;;867:42:1;855:55;;;837:74;;825:2;810:18;847:39:0;792:125:1;1285:20:0;;;;;;;;;;-1:-1:-1;1285:20:0;;;;;;;;;;;;;;;:::i;644:35::-;;;;;;;;;;;;677:2;644:35;;;;;2588:4:1;2576:17;;;2558:36;;2546:2;2531:18;644:35:0;2513:87:1;809:31:0;;;;;;;;;;-1:-1:-1;809:31:0;;;;;;;;1449:44;;;;;;;;;;-1:-1:-1;1449:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;1088:30;;;;;;;;;;;;;;;;1571:41;;;;;;;;;;-1:-1:-1;1571:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;1125:20;;;;;;;;;;;;;:::i;1672:::-;;;;;;;;;;-1:-1:-1;1672:20:0;;;;;;;;1500:64;;;;;;;;;;-1:-1:-1;1500:64:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;973:25;;;;;;;;;;;;;;;;1152:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1125:20::-;;;;;;;:::i;14:196:1:-;82:20;;142:42;131:54;;121:65;;111:2;;200:1;197;190:12;111:2;63:147;;;:::o;215:196::-;274:6;327:2;315:9;306:7;302:23;298:32;295:2;;;348:6;340;333:22;295:2;376:29;395:9;376:29;:::i;:::-;366:39;285:126;-1:-1:-1;;;285:126:1:o;416:270::-;484:6;492;545:2;533:9;524:7;520:23;516:32;513:2;;;566:6;558;551:22;513:2;594:29;613:9;594:29;:::i;:::-;584:39;;642:38;676:2;665:9;661:18;642:38;:::i;:::-;632:48;;503:183;;;;;:::o;1169:393::-;1309:2;1294:18;;1342:1;1331:13;;1321:2;;1378:77;1375:1;1368:88;1479:4;1476:1;1469:15;1507:4;1504:1;1497:15;1321:2;1531:25;;;1276:286;:::o;1567:662::-;1679:4;1708:2;1737;1726:9;1719:21;1769:6;1763:13;1812:6;1807:2;1796:9;1792:18;1785:34;1837:4;1850:140;1864:6;1861:1;1858:13;1850:140;;;1959:14;;;1955:23;;1949:30;1925:17;;;1944:2;1921:26;1914:66;1879:10;;1850:140;;;2008:6;2005:1;2002:13;1999:2;;;2078:4;2073:2;2064:6;2053:9;2049:22;2045:31;2038:45;1999:2;-1:-1:-1;2145:2:1;2133:15;2150:66;2129:88;2114:104;;;;2220:2;2110:113;;1688:541;-1:-1:-1;;;1688:541:1:o;2605:437::-;2684:1;2680:12;;;;2727;;;2748:2;;2802:4;2794:6;2790:17;2780:27;;2748:2;2855;2847:6;2844:14;2824:18;2821:38;2818:2;;;2892:77;2889:1;2882:88;2993:4;2990:1;2983:15;3021:4;3018:1;3011:15;2818:2;;2660:382;;;:::o
Swarm Source
ipfs://d03f61a760b9c9e4e47cae11f7719edf7a4b3cb57db62866d2f23c905d44b020
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.