Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 117 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Request Redeem | 17592023 | 534 days ago | IN | 0 ETH | 0.00336684 | ||||
Request Redeem | 17527217 | 543 days ago | IN | 0 ETH | 0.00186394 | ||||
Request Redeem | 17388334 | 562 days ago | IN | 0 ETH | 0.00649645 | ||||
Request Redeem | 17313829 | 573 days ago | IN | 0.0041 ETH | 0.00302705 | ||||
Request Redeem | 17297506 | 575 days ago | IN | 0.0122 ETH | 0.00283609 | ||||
Request Redeem | 17119899 | 600 days ago | IN | 0.0091 ETH | 0.00465526 | ||||
Request Redeem | 17047092 | 610 days ago | IN | 0 ETH | 0.00526336 | ||||
Request Redeem | 17013103 | 615 days ago | IN | 0.009 ETH | 0.00191253 | ||||
Request Redeem | 17007016 | 616 days ago | IN | 0.0091 ETH | 0.00241986 | ||||
Request Redeem | 16969134 | 621 days ago | IN | 0.016 ETH | 0.00395756 | ||||
Request Redeem | 16941728 | 625 days ago | IN | 0.0384 ETH | 0.00313557 | ||||
Request Redeem | 16900694 | 631 days ago | IN | 0.0125 ETH | 0.0023973 | ||||
Request Redeem | 16895834 | 632 days ago | IN | 0.0159 ETH | 0.00175419 | ||||
Request Redeem | 16856934 | 637 days ago | IN | 0.0145 ETH | 0.00160537 | ||||
Request Redeem | 16842950 | 639 days ago | IN | 0 ETH | 0.00328631 | ||||
Request Redeem | 16832344 | 641 days ago | IN | 0.017 ETH | 0.00212317 | ||||
Request Redeem | 16826542 | 641 days ago | IN | 0.0029 ETH | 0.0052599 | ||||
Request Redeem | 16634042 | 669 days ago | IN | 0.0247 ETH | 0.00305282 | ||||
Request Redeem | 16632683 | 669 days ago | IN | 0.0028 ETH | 0.0023142 | ||||
Request Redeem | 16632669 | 669 days ago | IN | 0.0028 ETH | 0.00211862 | ||||
Request Redeem | 16568913 | 678 days ago | IN | 0.0027 ETH | 0.00167862 | ||||
Request Redeem | 16501185 | 687 days ago | IN | 0.0163 ETH | 0.002555 | ||||
Request Redeem | 16501174 | 687 days ago | IN | 0.0163 ETH | 0.00256335 | ||||
Request Redeem | 16442831 | 695 days ago | IN | 0 ETH | 0.00228387 | ||||
Request Redeem | 16438027 | 696 days ago | IN | 0.0171 ETH | 0.00179397 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
17313829 | 573 days ago | 0.0041 ETH | ||||
17297506 | 575 days ago | 0.0122 ETH | ||||
17119899 | 600 days ago | 0.000455 ETH | ||||
17119899 | 600 days ago | 0.008645 ETH | ||||
17013103 | 615 days ago | 0.00045 ETH | ||||
17013103 | 615 days ago | 0.00855 ETH | ||||
17007016 | 616 days ago | 0.000455 ETH | ||||
17007016 | 616 days ago | 0.008645 ETH | ||||
16969134 | 621 days ago | 0.016 ETH | ||||
16941728 | 625 days ago | 0.0384 ETH | ||||
16900694 | 631 days ago | 0.0125 ETH | ||||
16895834 | 632 days ago | 0.0159 ETH | ||||
16856934 | 637 days ago | 0.0145 ETH | ||||
16832344 | 641 days ago | 0.017 ETH | ||||
16826542 | 641 days ago | 0.000145 ETH | ||||
16826542 | 641 days ago | 0.002755 ETH | ||||
16634042 | 669 days ago | 0.0247 ETH | ||||
16632683 | 669 days ago | 0.0028 ETH | ||||
16632669 | 669 days ago | 0.0028 ETH | ||||
16568913 | 678 days ago | 0.0027 ETH | ||||
16501185 | 687 days ago | 0.0163 ETH | ||||
16501174 | 687 days ago | 0.0163 ETH | ||||
16438027 | 696 days ago | 0.0171 ETH | ||||
16438011 | 696 days ago | 0.0171 ETH | ||||
16426443 | 698 days ago | 0.0204 ETH |
Loading...
Loading
Contract Name:
UniqRedeemPayment
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "../../utils/signatures/SignatureVerify.sol"; import "../../utils/interfaces/IERC20Fixed.sol"; import "../UniqOperator/IUniqOperator.sol"; contract UniqRedeemPayment is Ownable, SignatureVerify { // ----- EVENTS ----- // event RedeemedRequested( address indexed _contractAddress, uint256 indexed _tokenId, address indexed _redeemerAddress, uint256 _networkId, string _redeemerName, uint256 _purpose ); // ----- VARIABLES ----- // mapping(bytes => bool) internal _isSignatureUsed; uint256 internal _transactionOffset; uint256 internal _networkId; IUniqOperator public operator; uint256 internal constant TREASURY_INDEX = 0; // ----- CONSTRUCTOR ----- // constructor(uint256 _pnetworkId, IUniqOperator uniqOperator) { _transactionOffset = 3 minutes; _networkId = _pnetworkId; operator = uniqOperator; } // ----- MESSAGE SIGNATURE ----- // function getMessageHashRequester( address _contractAddress, uint256 _redeemNetworkId, address _sellerAddress, uint256 _percentageForSeller, uint256 _tokenId, uint256 _price, address _paymentTokenAddress, uint256 _timestamp, address _requesterAddress, string memory _redeemerName, uint256 _purpose ) public view returns (bytes32) { return keccak256( abi.encodePacked( _networkId, _contractAddress, _redeemNetworkId, _sellerAddress, _percentageForSeller, _tokenId, _price, _paymentTokenAddress, _timestamp, _requesterAddress, _redeemerName, _purpose ) ); } function verifySignatureRequester( address _contractAddress, uint256 _redeemNetworkId, address _sellerAddress, uint256 _percentageForSeller, uint256 _tokenId, uint256 _price, address _paymnetTokenAddress, uint256 _timestamp, string memory _redeemerName, uint256 _purpose, bytes memory _signature ) internal view returns (bool) { bytes32 messageHash = getMessageHashRequester( _contractAddress, _redeemNetworkId, _sellerAddress, _percentageForSeller, _tokenId, _price, _paymnetTokenAddress, _timestamp, msg.sender, _redeemerName, _purpose ); bytes32 ethSignedMessageHash = getEthSignedMessageHash(messageHash); return recoverSigner(ethSignedMessageHash, _signature) == owner(); } // ----- PUBLIC METHODS ----- // function requestRedeem( address _contractAddress, uint256 _redeemNetworkId, address _sellerAddress, uint256 _percentageForSeller, uint256 _tokenId, uint256 _price, address _paymnetTokenAddress, uint256 _timestamp, address _requesterAddress, string memory _redeemerName, uint256 _purpose, bytes memory _signature ) external payable { require( _timestamp + _transactionOffset >= block.timestamp, "Transaction timed out" ); require(!_isSignatureUsed[_signature], "Signature already used"); require( verifySignatureRequester( _contractAddress, _redeemNetworkId, _sellerAddress, _percentageForSeller, _tokenId, _price, _paymnetTokenAddress, _timestamp, _redeemerName, _purpose, _signature ), "Signature mismatch" ); _isSignatureUsed[_signature] = true; uint256 sellerFee = (_price * _percentageForSeller) / 100; if (_price != 0) { address treasury = operator.uniqAddresses(TREASURY_INDEX); if (_paymnetTokenAddress == address(0)) { require(msg.value >= _price, "Not enough ether"); if (_price < msg.value) { payable(msg.sender).transfer(msg.value - _price); } payable(_sellerAddress).transfer(sellerFee); payable(treasury).transfer(_price - sellerFee); } else { IERC20Fixed(_paymnetTokenAddress).transferFrom( msg.sender, _sellerAddress, sellerFee ); IERC20Fixed(_paymnetTokenAddress).transferFrom( msg.sender, treasury, _price - sellerFee ); } } emit RedeemedRequested( _contractAddress, _tokenId, _requesterAddress, _networkId, _redeemerName, _purpose ); } // ----- OWNERS METHODS ----- // function withdrawTokens(address token) external onlyOwner { uint256 val = IERC20(token).balanceOf(address(this)); require(val != 0, "Nothing to recover"); // use interface that not return value (USDT case) IERC20Fixed(token).transfer(msg.sender, val); } function setTransactionOffset(uint256 _newOffset) external onlyOwner { _transactionOffset = _newOffset; } receive() external payable {} function wthdrawETH() external onlyOwner { require(payable(msg.sender).send(address(this).balance)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; // we need some information from token contract // we also need ability to transfer tokens from/to this contract interface IERC20Fixed { function transferFrom( address from, address to, uint256 value ) external returns (bool); function transfer(address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; contract SignatureVerify { function getEthSignedMessageHash(bytes32 _messageHash) internal pure returns (bytes32) { return keccak256( abi.encodePacked( "\x19Ethereum Signed Message:\n32", _messageHash ) ); } function recoverSigner( bytes32 _ethSignedMessageHash, bytes memory _signature ) internal pure returns (address) { require(_signature.length == 65, "invalid signature length"); bytes32 r; bytes32 s; uint8 v; assembly { r := mload(add(_signature, 32)) s := mload(add(_signature, 64)) v := byte(0, mload(add(_signature, 96))) } return ecrecover(_ethSignedMessageHash, v, r, s); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; interface IUniqOperator { function isOperator(uint256 operatorType, address operatorAddress) external view returns (bool); function uniqAddresses(uint256 index) external view returns (address); }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 15 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_pnetworkId","type":"uint256"},{"internalType":"contract IUniqOperator","name":"uniqOperator","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_contractAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"_redeemerAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"_networkId","type":"uint256"},{"indexed":false,"internalType":"string","name":"_redeemerName","type":"string"},{"indexed":false,"internalType":"uint256","name":"_purpose","type":"uint256"}],"name":"RedeemedRequested","type":"event"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"uint256","name":"_redeemNetworkId","type":"uint256"},{"internalType":"address","name":"_sellerAddress","type":"address"},{"internalType":"uint256","name":"_percentageForSeller","type":"uint256"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"address","name":"_paymentTokenAddress","type":"address"},{"internalType":"uint256","name":"_timestamp","type":"uint256"},{"internalType":"address","name":"_requesterAddress","type":"address"},{"internalType":"string","name":"_redeemerName","type":"string"},{"internalType":"uint256","name":"_purpose","type":"uint256"}],"name":"getMessageHashRequester","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"contract IUniqOperator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"uint256","name":"_redeemNetworkId","type":"uint256"},{"internalType":"address","name":"_sellerAddress","type":"address"},{"internalType":"uint256","name":"_percentageForSeller","type":"uint256"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"address","name":"_paymnetTokenAddress","type":"address"},{"internalType":"uint256","name":"_timestamp","type":"uint256"},{"internalType":"address","name":"_requesterAddress","type":"address"},{"internalType":"string","name":"_redeemerName","type":"string"},{"internalType":"uint256","name":"_purpose","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"requestRedeem","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newOffset","type":"uint256"}],"name":"setTransactionOffset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wthdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516110b13803806110b183398101604081905261002f916100b7565b61003833610067565b60b4600255600391909155600480546001600160a01b0319166001600160a01b039092169190911790556100f4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080604083850312156100ca57600080fd5b825160208401519092506001600160a01b03811681146100e957600080fd5b809150509250929050565b610fae806101036000396000f3fe60806040526004361061007a5760003560e01c80634945ae5a1461008657806349df728c1461009d578063570ca735146100bd578063715018a6146100f35780638da5cb5b1461010857806394ecc61b1461011d578063afbb88a514610130578063d9ec148614610150578063f2fde38b1461017e57600080fd5b3661008157005b600080fd5b34801561009257600080fd5b5061009b61019e565b005b3480156100a957600080fd5b5061009b6100b8366004610b34565b6101cc565b3480156100c957600080fd5b506004546100dd906001600160a01b031681565b6040516100ea9190610e1d565b60405180910390f35b3480156100ff57600080fd5b5061009b610321565b34801561011457600080fd5b506100dd610333565b61009b61012b366004610c35565b610342565b34801561013c57600080fd5b5061009b61014b366004610d43565b6107a5565b34801561015c57600080fd5b5061017061016b366004610b75565b6107b2565b6040519081526020016100ea565b34801561018a57600080fd5b5061009b610199366004610b34565b610804565b6101a661087d565b60405133904780156108fc02916000818181858888f193505050506101ca57600080fd5b565b6101d461087d565b6040516370a0823160e01b81526000906001600160a01b038316906370a0823190610203903090600401610e1d565b60206040518083038186803b15801561021b57600080fd5b505afa15801561022f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102539190610d5c565b90508061029c5760405162461bcd60e51b81526020600482015260126024820152712737ba3434b733903a37903932b1b7bb32b960711b60448201526064015b60405180910390fd5b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb90604401602060405180830381600087803b1580156102e457600080fd5b505af11580156102f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031c9190610d21565b505050565b61032961087d565b6101ca60006108dc565b6000546001600160a01b031690565b42600254866103519190610e97565b10156103975760405162461bcd60e51b8152602060048201526015602482015274151c985b9cd858dd1a5bdb881d1a5b5959081bdd5d605a1b6044820152606401610293565b6001816040516103a79190610d75565b9081526040519081900360200190205460ff16156104005760405162461bcd60e51b815260206004820152601660248201527514da59db985d1d5c9948185b1c9958591e481d5cd95960521b6044820152606401610293565b6104138c8c8c8c8c8c8c8c8b8b8b61092c565b6104545760405162461bcd60e51b81526020600482015260126024820152710a6d2cedcc2e8eae4ca40dad2e6dac2e8c6d60731b6044820152606401610293565b600180826040516104659190610d75565b908152604051908190036020019020805491151560ff19909216919091179055600060646104938b8a610ed1565b61049d9190610eaf565b905087156107445760048054604051630ea6dca760e11b815260009281018390526001600160a01b0390911690631d4db94e9060240160206040518083038186803b1580156104eb57600080fd5b505afa1580156104ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105239190610b58565b90506001600160a01b03881661063257883410156105765760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b41032ba3432b960811b6044820152606401610293565b348910156105b657336108fc61058c8b34610ef0565b6040518115909202916000818181858888f193505050501580156105b4573d6000803e3d6000fd5b505b6040516001600160a01b038d169083156108fc029084906000818181858888f193505050501580156105ec573d6000803e3d6000fd5b506001600160a01b0381166108fc610604848c610ef0565b6040518115909202916000818181858888f1935050505015801561062c573d6000803e3d6000fd5b50610742565b876001600160a01b03166323b872dd338e856040518463ffffffff1660e01b815260040161066293929190610e31565b602060405180830381600087803b15801561067c57600080fd5b505af1158015610690573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b49190610d21565b506001600160a01b0388166323b872dd33836106d0868e610ef0565b6040518463ffffffff1660e01b81526004016106ee93929190610e31565b602060405180830381600087803b15801561070857600080fd5b505af115801561071c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107409190610d21565b505b505b846001600160a01b0316898e6001600160a01b03167fab7625abf35b7a5438b90bd7b733b5bd7b869d5a630c98f4771d6b7e1322047a600354888860405161078e93929190610e55565b60405180910390a450505050505050505050505050565b6107ad61087d565b600255565b60006003548c8c8c8c8c8c8c8c8c8c8c6040516020016107dd9c9b9a99989796959493929190610d91565b6040516020818303038152906040528051906020012090509b9a5050505050505050505050565b61080c61087d565b6001600160a01b0381166108715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610293565b61087a816108dc565b50565b33610886610333565b6001600160a01b0316146101ca5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610293565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806109428d8d8d8d8d8d8d8d338e8e6107b2565b9050600061099c826040517b0ca2ba3432b932bab69029b4b3b732b21026b2b9b9b0b3b29d05199960211b6020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b90506109a6610333565b6001600160a01b03166109b982866109d5565b6001600160a01b0316149e9d5050505050505050505050505050565b60008151604114610a235760405162461bcd60e51b81526020600482015260186024820152770d2dcecc2d8d2c840e6d2cedcc2e8eae4ca40d8cadccee8d60431b6044820152606401610293565b602082810151604080850151606080870151835160008082529681018086528a9052951a928501839052840183905260808401819052919260019060a0016020604051602081039080840390855afa158015610a83573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b8035610aa381610f63565b919050565b600082601f830112610ab957600080fd5b81356001600160401b0380821115610ad357610ad3610f4d565b604051601f8301601f19908116603f01168101908282118183101715610afb57610afb610f4d565b81604052838152866020858801011115610b1457600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215610b4657600080fd5b8135610b5181610f63565b9392505050565b600060208284031215610b6a57600080fd5b8151610b5181610f63565b60008060008060008060008060008060006101608c8e031215610b9757600080fd5b8b35610ba281610f63565b9a5060208c0135995060408c0135610bb981610f63565b985060608c0135975060808c0135965060a08c01359550610bdc60c08d01610a98565b945060e08c01359350610bf26101008d01610a98565b92506101208c01356001600160401b03811115610c0e57600080fd5b610c1a8e828f01610aa8565b9250506101408c013590509295989b509295989b9093969950565b6000806000806000806000806000806000806101808d8f031215610c5857600080fd5b610c618d610a98565b9b5060208d01359a50610c7660408e01610a98565b995060608d0135985060808d0135975060a08d01359650610c9960c08e01610a98565b955060e08d01359450610caf6101008e01610a98565b93506001600160401b036101208e01351115610cca57600080fd5b610cdb8e6101208f01358f01610aa8565b92506101408d013591506001600160401b036101608e01351115610cfe57600080fd5b610d0f8e6101608f01358f01610aa8565b90509295989b509295989b509295989b565b600060208284031215610d3357600080fd5b81518015158114610b5157600080fd5b600060208284031215610d5557600080fd5b5035919050565b600060208284031215610d6e57600080fd5b5051919050565b60008251610d87818460208701610f07565b9190910192915050565b8c8152600060018060601b0319808e60601b1660208401528c6034840152808c60601b1660548401528a60688401528960888401528860a8840152808860601b1660c88401528660dc840152808660601b1660fc840152506101108451610dfe8183860160208901610f07565b9290920191820192909252610130019c9b505050505050505050505050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b8381526060602082015260008351806060840152610e7a816080850160208801610f07565b604083019390935250601f91909101601f19160160800192915050565b60008219821115610eaa57610eaa610f37565b500190565b600082610ecc57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615610eeb57610eeb610f37565b500290565b600082821015610f0257610f02610f37565b500390565b60005b83811015610f22578181015183820152602001610f0a565b83811115610f31576000848401525b50505050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461087a57600080fdfea264697066735822122055d4c657dcc5e14057e7b7d0aaaf18be64533ec386e3c73a0d6e31ae189b857b64736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000010000000000000000000000000c77b28bacdadde72759740e7448c122b1761f87
Deployed Bytecode
0x60806040526004361061007a5760003560e01c80634945ae5a1461008657806349df728c1461009d578063570ca735146100bd578063715018a6146100f35780638da5cb5b1461010857806394ecc61b1461011d578063afbb88a514610130578063d9ec148614610150578063f2fde38b1461017e57600080fd5b3661008157005b600080fd5b34801561009257600080fd5b5061009b61019e565b005b3480156100a957600080fd5b5061009b6100b8366004610b34565b6101cc565b3480156100c957600080fd5b506004546100dd906001600160a01b031681565b6040516100ea9190610e1d565b60405180910390f35b3480156100ff57600080fd5b5061009b610321565b34801561011457600080fd5b506100dd610333565b61009b61012b366004610c35565b610342565b34801561013c57600080fd5b5061009b61014b366004610d43565b6107a5565b34801561015c57600080fd5b5061017061016b366004610b75565b6107b2565b6040519081526020016100ea565b34801561018a57600080fd5b5061009b610199366004610b34565b610804565b6101a661087d565b60405133904780156108fc02916000818181858888f193505050506101ca57600080fd5b565b6101d461087d565b6040516370a0823160e01b81526000906001600160a01b038316906370a0823190610203903090600401610e1d565b60206040518083038186803b15801561021b57600080fd5b505afa15801561022f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102539190610d5c565b90508061029c5760405162461bcd60e51b81526020600482015260126024820152712737ba3434b733903a37903932b1b7bb32b960711b60448201526064015b60405180910390fd5b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb90604401602060405180830381600087803b1580156102e457600080fd5b505af11580156102f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031c9190610d21565b505050565b61032961087d565b6101ca60006108dc565b6000546001600160a01b031690565b42600254866103519190610e97565b10156103975760405162461bcd60e51b8152602060048201526015602482015274151c985b9cd858dd1a5bdb881d1a5b5959081bdd5d605a1b6044820152606401610293565b6001816040516103a79190610d75565b9081526040519081900360200190205460ff16156104005760405162461bcd60e51b815260206004820152601660248201527514da59db985d1d5c9948185b1c9958591e481d5cd95960521b6044820152606401610293565b6104138c8c8c8c8c8c8c8c8b8b8b61092c565b6104545760405162461bcd60e51b81526020600482015260126024820152710a6d2cedcc2e8eae4ca40dad2e6dac2e8c6d60731b6044820152606401610293565b600180826040516104659190610d75565b908152604051908190036020019020805491151560ff19909216919091179055600060646104938b8a610ed1565b61049d9190610eaf565b905087156107445760048054604051630ea6dca760e11b815260009281018390526001600160a01b0390911690631d4db94e9060240160206040518083038186803b1580156104eb57600080fd5b505afa1580156104ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105239190610b58565b90506001600160a01b03881661063257883410156105765760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b41032ba3432b960811b6044820152606401610293565b348910156105b657336108fc61058c8b34610ef0565b6040518115909202916000818181858888f193505050501580156105b4573d6000803e3d6000fd5b505b6040516001600160a01b038d169083156108fc029084906000818181858888f193505050501580156105ec573d6000803e3d6000fd5b506001600160a01b0381166108fc610604848c610ef0565b6040518115909202916000818181858888f1935050505015801561062c573d6000803e3d6000fd5b50610742565b876001600160a01b03166323b872dd338e856040518463ffffffff1660e01b815260040161066293929190610e31565b602060405180830381600087803b15801561067c57600080fd5b505af1158015610690573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b49190610d21565b506001600160a01b0388166323b872dd33836106d0868e610ef0565b6040518463ffffffff1660e01b81526004016106ee93929190610e31565b602060405180830381600087803b15801561070857600080fd5b505af115801561071c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107409190610d21565b505b505b846001600160a01b0316898e6001600160a01b03167fab7625abf35b7a5438b90bd7b733b5bd7b869d5a630c98f4771d6b7e1322047a600354888860405161078e93929190610e55565b60405180910390a450505050505050505050505050565b6107ad61087d565b600255565b60006003548c8c8c8c8c8c8c8c8c8c8c6040516020016107dd9c9b9a99989796959493929190610d91565b6040516020818303038152906040528051906020012090509b9a5050505050505050505050565b61080c61087d565b6001600160a01b0381166108715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610293565b61087a816108dc565b50565b33610886610333565b6001600160a01b0316146101ca5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610293565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806109428d8d8d8d8d8d8d8d338e8e6107b2565b9050600061099c826040517b0ca2ba3432b932bab69029b4b3b732b21026b2b9b9b0b3b29d05199960211b6020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b90506109a6610333565b6001600160a01b03166109b982866109d5565b6001600160a01b0316149e9d5050505050505050505050505050565b60008151604114610a235760405162461bcd60e51b81526020600482015260186024820152770d2dcecc2d8d2c840e6d2cedcc2e8eae4ca40d8cadccee8d60431b6044820152606401610293565b602082810151604080850151606080870151835160008082529681018086528a9052951a928501839052840183905260808401819052919260019060a0016020604051602081039080840390855afa158015610a83573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b8035610aa381610f63565b919050565b600082601f830112610ab957600080fd5b81356001600160401b0380821115610ad357610ad3610f4d565b604051601f8301601f19908116603f01168101908282118183101715610afb57610afb610f4d565b81604052838152866020858801011115610b1457600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215610b4657600080fd5b8135610b5181610f63565b9392505050565b600060208284031215610b6a57600080fd5b8151610b5181610f63565b60008060008060008060008060008060006101608c8e031215610b9757600080fd5b8b35610ba281610f63565b9a5060208c0135995060408c0135610bb981610f63565b985060608c0135975060808c0135965060a08c01359550610bdc60c08d01610a98565b945060e08c01359350610bf26101008d01610a98565b92506101208c01356001600160401b03811115610c0e57600080fd5b610c1a8e828f01610aa8565b9250506101408c013590509295989b509295989b9093969950565b6000806000806000806000806000806000806101808d8f031215610c5857600080fd5b610c618d610a98565b9b5060208d01359a50610c7660408e01610a98565b995060608d0135985060808d0135975060a08d01359650610c9960c08e01610a98565b955060e08d01359450610caf6101008e01610a98565b93506001600160401b036101208e01351115610cca57600080fd5b610cdb8e6101208f01358f01610aa8565b92506101408d013591506001600160401b036101608e01351115610cfe57600080fd5b610d0f8e6101608f01358f01610aa8565b90509295989b509295989b509295989b565b600060208284031215610d3357600080fd5b81518015158114610b5157600080fd5b600060208284031215610d5557600080fd5b5035919050565b600060208284031215610d6e57600080fd5b5051919050565b60008251610d87818460208701610f07565b9190910192915050565b8c8152600060018060601b0319808e60601b1660208401528c6034840152808c60601b1660548401528a60688401528960888401528860a8840152808860601b1660c88401528660dc840152808660601b1660fc840152506101108451610dfe8183860160208901610f07565b9290920191820192909252610130019c9b505050505050505050505050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b8381526060602082015260008351806060840152610e7a816080850160208801610f07565b604083019390935250601f91909101601f19160160800192915050565b60008219821115610eaa57610eaa610f37565b500190565b600082610ecc57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615610eeb57610eeb610f37565b500290565b600082821015610f0257610f02610f37565b500390565b60005b83811015610f22578181015183820152602001610f0a565b83811115610f31576000848401525b50505050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461087a57600080fdfea264697066735822122055d4c657dcc5e14057e7b7d0aaaf18be64533ec386e3c73a0d6e31ae189b857b64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000c77b28bacdadde72759740e7448c122b1761f87
-----Decoded View---------------
Arg [0] : _pnetworkId (uint256): 1
Arg [1] : uniqOperator (address): 0x0c77b28BaCdADDE72759740E7448c122b1761F87
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [1] : 0000000000000000000000000c77b28bacdadde72759740e7448c122b1761f87
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 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.