Polygon Sponsored slots available. Book your slot here!
Contract Overview
[ Download CSV Export ]
Latest 1 internal transaction
Parent Txn Hash | Block | From | To | Value | |||
---|---|---|---|---|---|---|---|
0x563e2acc40ab3fb2e2477f3e5f822b9ec2ac3fc8bc6fee18f1061910540c7157 | 42759709 | 141 days 10 hrs ago | 0x4875d6dc7d525e44e1e1c759aab146c7baa6234d | Contract Creation | 0 MATIC |
[ Download CSV Export ]
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.
Similar Match Source Code This contract matches the deployed ByteCode of the Source Code for Contract 0x7a51589dfc58cffd3433be361f08ce512fc5b52d The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Port3NFTFairProxy
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0; import "./Proxy.sol"; contract Port3NFTFairProxy is Proxy { address private immutable _impl; constructor(address _logic, bytes memory _data) { (bool success, ) = _logic.delegatecall(_data); require(success, "Token failed to initialize"); _impl = _logic; } function _implementation() internal view override returns (address) { return _impl; } function implementation() external view returns (address) { return _impl; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol) pragma solidity ^0.8.0; /** * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to * be specified by overriding the virtual {_implementation} function. * * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a * different contract through the {_delegate} function. * * The success and return data of the delegated call will be returned back to the caller of the proxy. */ abstract contract Proxy { /** * @dev Delegates the current call to `implementation`. * * This function does not return to its internal call site, it will return directly to the external caller. */ function _delegate(address implementation) internal virtual { assembly { // Copy msg.data. We take full control of memory in this inline assembly // block because it will not return to Solidity code. We overwrite the // Solidity scratch pad at memory position 0. calldatacopy(0, 0, calldatasize()) // Call the implementation. // out and outsize are 0 because we don't know the size yet. let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0) // Copy the returned data. returndatacopy(0, 0, returndatasize()) switch result // delegatecall returns 0 on error. case 0 { revert(0, returndatasize()) } default { return(0, returndatasize()) } } } /** * @dev This is a virtual function that should be overridden so it returns the address to which the fallback function * and {_fallback} should delegate. */ function _implementation() internal view virtual returns (address); /** * @dev Delegates the current call to the address returned by `_implementation()`. * * This function does not return to its internal call site, it will return directly to the external caller. */ function _fallback() internal virtual { _beforeFallback(); _delegate(_implementation()); } /** * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other * function in the contract matches the call data. */ fallback() external payable virtual { _fallback(); } /** * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data * is empty. */ receive() external payable virtual { _fallback(); } /** * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback` * call, or as part of the Solidity `fallback` or `receive` functions. * * If overridden should call `super._beforeFallback()`. */ function _beforeFallback() internal virtual {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a060405234801561001057600080fd5b5060405161033b38038061033b83398101604081905261002f91610137565b6000826001600160a01b0316826040516100499190610205565b600060405180830381855af49150503d8060008114610084576040519150601f19603f3d011682016040523d82523d6000602084013e610089565b606091505b50509050806100de5760405162461bcd60e51b815260206004820152601a60248201527f546f6b656e206661696c656420746f20696e697469616c697a65000000000000604482015260640160405180910390fd5b50506001600160a01b0316608052610221565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561012257818101518382015260200161010a565b83811115610131576000848401525b50505050565b6000806040838503121561014a57600080fd5b82516001600160a01b038116811461016157600080fd5b60208401519092506001600160401b038082111561017e57600080fd5b818501915085601f83011261019257600080fd5b8151818111156101a4576101a46100f1565b604051601f8201601f19908116603f011681019083821181831017156101cc576101cc6100f1565b816040528281528860208487010111156101e557600080fd5b6101f6836020830160208801610107565b80955050505050509250929050565b60008251610217818460208701610107565b9190910192915050565b60805160fc61023f60003960008181603f0152607e015260fc6000f3fe608060405260043610601f5760003560e01c80635c60da1b14603157602b565b36602b576029607a565b005b6029607a565b348015603c57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b60a17f000000000000000000000000000000000000000000000000000000000000000060a3565b565b3660008037600080366000845af43d6000803e80801560c1573d6000f35b3d6000fdfea2646970667358221220001ef247bd8205e0413c86b4fa47fd82c97456435d748342a6b6aded46cb04cb64736f6c63430008090033000000000000000000000000b1a7d04709c484854a61ef4fa81349ff53f9b70200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000244a841e04b000000000000000000000000db4f76647efa217c9d1d542f5ef162e250c38811000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000000030000000000000000000000005f9d3d4467ad6d3551cc348e48eb08c1e75351c0000000000000000000000000d42719b5d5f52938883d8e7f742be78766ec633f0000000000000000000000004c9387fa38de78e72ad9cc353cab984f2441871d00000000000000000000000000000000000000000000000000000000000000114d59542d53696c766572205469636b657400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000114d59542d53696c766572205469636b6574000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d4e56796647764564314a5736657761414443384e3856787175546a726a314c4a714c4273734d41634d794a700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed ByteCode Sourcemap
82:468:0:-:0;;;;;;;;;;;;;;;;;;;;;;;2898:11:1;:9;:11::i;:::-;82:468:0;;2675:11:1;:9;:11::i;461:87:0:-;;;;;;;;;;-1:-1:-1;536:5:0;461:87;;-1:-1:-1;;;;;178:32:2;;;160:51;;148:2;133:18;461:87:0;;;;;;;2322:110:1;2397:28;536:5:0;2397:9:1;:28::i;:::-;2322:110::o;948:895::-;1286:14;1283:1;1280;1267:34;1500:1;1497;1481:14;1478:1;1462:14;1455:5;1442:60;1576:16;1573:1;1570;1555:38;1614:6;1681:66;;;;1796:16;1793:1;1786:27;1681:66;1716:16;1713:1;1706:27
Swarm Source
ipfs://001ef247bd8205e0413c86b4fa47fd82c97456435d748342a6b6aded46cb04cb
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.