Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 726 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim Token | 16067013 | 774 days ago | IN | 0 ETH | 0.00139882 | ||||
Claim Token | 15889632 | 799 days ago | IN | 0 ETH | 0.00257059 | ||||
Claim Token | 15838821 | 806 days ago | IN | 0 ETH | 0.00144657 | ||||
Claim Token | 15838799 | 806 days ago | IN | 0 ETH | 0.00187142 | ||||
Claim Token | 15764157 | 816 days ago | IN | 0 ETH | 0.0016569 | ||||
Claim Token | 15737868 | 820 days ago | IN | 0 ETH | 0.00118814 | ||||
Claim Token | 15711964 | 824 days ago | IN | 0 ETH | 0.00237268 | ||||
Claim Token | 15698534 | 826 days ago | IN | 0 ETH | 0.00081042 | ||||
Claim Token | 15654405 | 832 days ago | IN | 0 ETH | 0.00173513 | ||||
Claim Token | 15630750 | 835 days ago | IN | 0 ETH | 0.00182092 | ||||
Claim Token | 15620478 | 837 days ago | IN | 0 ETH | 0.00137143 | ||||
Claim Token | 15574268 | 843 days ago | IN | 0 ETH | 0.00091954 | ||||
Claim Token | 15567839 | 844 days ago | IN | 0 ETH | 0.00098234 | ||||
Claim Token | 15563699 | 844 days ago | IN | 0 ETH | 0.00068721 | ||||
Claim Token | 15548449 | 847 days ago | IN | 0 ETH | 0.00170762 | ||||
Claim Token | 15535688 | 848 days ago | IN | 0 ETH | 0.0018763 | ||||
Claim Token | 15531587 | 849 days ago | IN | 0 ETH | 0.00175124 | ||||
Claim Token | 15530165 | 849 days ago | IN | 0 ETH | 0.00080205 | ||||
Claim Token | 15528543 | 850 days ago | IN | 0 ETH | 0.00138362 | ||||
Claim Token | 15528362 | 850 days ago | IN | 0 ETH | 0.00241709 | ||||
Claim Token | 15527501 | 850 days ago | IN | 0 ETH | 0.00238772 | ||||
Claim Token | 15526251 | 850 days ago | IN | 0 ETH | 0.00093174 | ||||
Claim Token | 15510006 | 853 days ago | IN | 0 ETH | 0.00116982 | ||||
Claim Token | 15494573 | 855 days ago | IN | 0 ETH | 0.00033032 | ||||
Claim Token | 15494573 | 855 days ago | IN | 0 ETH | 0.00111457 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
CBOXAgent
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
Yes with 200 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // CBOX Agent for getting items from given vault // // .. . . .. // @@@@& &@@@@@@@@@@@@@@@( @@@@@. // @@@@& .@@@@@@@@@@@@@@@@@@@@@@@@@. @@@@@. // @@@@& @@@@@@@@ @@@@@@@@ @@@@@. // @@@@@@@@@@.. ,@@@@@@@@@@. // @@@@@@@@ .@@@@@@@@. // @@@@@@. %@@@@@@. // @@@@@. %@@@@@. // @@@@@ @@@@@. // .@@@@& C-BOX @@@@@ // @@@@@ A G E N T @@@@@. // /@@@@, .&@@@@.. // @@@@@/ @@@@@( // %@@@@@.. .@@@@@. // .@@@@@@,. #@@@@@@ // .@@@@@@@@... . ,@@@@@@@@ // . @@@@@@@@@@@@@@@@@@@@@@@@& // .@@@@@@@@@@@@@@@.. // // // @creator: ConiunIO // @security: [email protected] // @author: Batuhan KATIRCI (@batuhan_katirci) // @website: https://coniun.io/ pragma solidity ^0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; error InvalidSignature(string message); error ExpiredSignature(string message); error ReceiverMismatch(string message); error TransferError(string message); error PermissionError(string message); error DuplicateEntryError(string message); contract CBOXAgent is Ownable, Pausable { event CBOXClaimed( uint256 indexed cboxWeek, address indexed owner, uint256 indexed passId, address contractAddress, uint256 tokenId ); using ECDSA for bytes32; address private _signerAddress; address private _coniunContractAddress; // weekIndex -> (passId -> claimed) mapping(uint256 => mapping(uint256 => bool)) private _cboxClaims; constructor(address signerAddress, address coniunContractAddress) { _signerAddress = signerAddress; _coniunContractAddress = coniunContractAddress; } function setSignerAddress(address signerAddress) public onlyOwner { _signerAddress = signerAddress; } function claimToken( address vaultAddress, address contractAddress, uint256 tokenId, uint256 passId, uint256 cboxWeek, bytes memory signature ) public whenNotPaused { // Disallow contract calls if (msg.sender != tx.origin) { revert PermissionError("Contract calls is not allowed"); } // Check if cbox already claimed in given week index if (_cboxClaims[cboxWeek][passId] == true) { revert DuplicateEntryError("This C-BOX is already claimed"); } // Verify signature agaisnt backend signer address if ( verifySignature( vaultAddress, msg.sender, contractAddress, tokenId, passId, cboxWeek, signature ) != true ) { revert InvalidSignature("Signature verification failed"); } _cboxClaims[cboxWeek][passId] = true; // initiate proxies ERC721Proxy proxy = ERC721Proxy(contractAddress); ERC721Proxy coniunProxy = ERC721Proxy(_coniunContractAddress); // check if msg.sender still owns that eligible cbox if (coniunProxy.ownerOf(passId) != msg.sender) { revert ReceiverMismatch("C-BOX owner mismatch"); } // call safeTransferFrom to transfer tokenId to msg.sender proxy.safeTransferFrom(vaultAddress, msg.sender, tokenId); emit CBOXClaimed(cboxWeek, msg.sender, passId, contractAddress, tokenId); } // management functions function pause() public onlyOwner whenNotPaused { _pause(); } function unpause() public onlyOwner whenPaused { _unpause(); } // internal functions function getMessageHash( address _vaultAddress, address _receiverAddress, address _contractAddress, uint256 _tokenId, uint256 _passId, uint256 _cboxWeek ) internal pure returns (bytes32) { return keccak256( abi.encodePacked( _vaultAddress, _receiverAddress, _contractAddress, _tokenId, _passId, _cboxWeek ) ); } function getEthSignedMessageHash(bytes32 _messageHash) private pure returns (bytes32) { return keccak256( abi.encodePacked("\x19Ethereum Signed Message:\n32", _messageHash) ); } function verifySignature( address _vaultAddress, address _receiverAddress, address _contractAddress, uint256 _tokenId, uint256 _passId, uint256 _cboxWeek, bytes memory signature ) private view returns (bool) { bytes32 messageHash = getMessageHash( _vaultAddress, _receiverAddress, _contractAddress, _tokenId, _passId, _cboxWeek ); if (_receiverAddress != msg.sender) { revert ReceiverMismatch("This signature is not for you"); } bytes32 ethSignedMessageHash = getEthSignedMessageHash(messageHash); return recoverSigner(ethSignedMessageHash, signature) == _signerAddress; } function recoverSigner(bytes32 _ethSignedMessageHash, bytes memory _signature) private pure returns (address) { (bytes32 r, bytes32 s, uint8 v) = splitSignature(_signature); return ecrecover(_ethSignedMessageHash, v, r, s); } function splitSignature(bytes memory sig) private pure returns ( bytes32 r, bytes32 s, uint8 v ) { if (sig.length != 65) { revert InvalidSignature("Signature length is not 65 bytes"); } assembly { r := mload(add(sig, 32)) s := mload(add(sig, 64)) v := byte(0, mload(add(sig, 96))) } } } // for calling erc721 contracts abstract contract ERC721Proxy { function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual; function ownerOf(uint256 tokenId) public view virtual returns (address); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// 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 // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "byzantium", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"signerAddress","type":"address"},{"internalType":"address","name":"coniunContractAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"string","name":"message","type":"string"}],"name":"DuplicateEntryError","type":"error"},{"inputs":[{"internalType":"string","name":"message","type":"string"}],"name":"InvalidSignature","type":"error"},{"inputs":[{"internalType":"string","name":"message","type":"string"}],"name":"PermissionError","type":"error"},{"inputs":[{"internalType":"string","name":"message","type":"string"}],"name":"ReceiverMismatch","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"cboxWeek","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"passId","type":"uint256"},{"indexed":false,"internalType":"address","name":"contractAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"CBOXClaimed","type":"event"},{"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"vaultAddress","type":"address"},{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"passId","type":"uint256"},{"internalType":"uint256","name":"cboxWeek","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"claimToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signerAddress","type":"address"}],"name":"setSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50604051610e67380380610e6783398101604081905261002f91610102565b610051610043640100000000610092810204565b640100000000610096810204565b6000805460a060020a60ff021916905560018054600160a060020a03938416600160a060020a03199182161790915560028054929093169116179055610135565b3390565b60008054600160a060020a03838116600160a060020a0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8051600160a060020a03811681146100fd57600080fd5b919050565b6000806040838503121561011557600080fd5b61011e836100e6565b915061012c602084016100e6565b90509250929050565b610d23806101446000396000f3fe608060405234801561001057600080fd5b50600436106100a5576000357c010000000000000000000000000000000000000000000000000000000090048063715018a611610078578063715018a6146100fc5780638456cb59146101045780638da5cb5b1461010c578063f2fde38b1461012757600080fd5b8063046dc166146100aa5780633d00e3af146100bf5780633f4ba83a146100d25780635c975abb146100da575b600080fd5b6100bd6100b8366004610b1f565b61013a565b005b6100bd6100cd366004610b72565b61019f565b6100bd610529565b60005460a060020a900460ff1660405190151581526020015b60405180910390f35b6100bd6105bc565b6100bd6105f3565b600054604051600160a060020a0390911681526020016100f3565b6100bd610135366004610b1f565b610655565b600054600160a060020a031633146101705760405160e560020a62461bcd02815260040161016790610c64565b60405180910390fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005460a060020a900460ff16156101cc5760405160e560020a62461bcd02815260040161016790610c99565b333214610235576040517fa716cde200000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f436f6e74726163742063616c6c73206973206e6f7420616c6c6f7765640000006044820152606401610167565b600082815260036020908152604080832086845290915290205460ff161515600114156102bd576040517e7ad4f800000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f5468697320432d424f5820697320616c726561647920636c61696d65640000006044820152606401610167565b6102cc8633878787878761070d565b1515600114610337576040517f2a34f7fe00000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f5369676e617475726520766572696669636174696f6e206661696c65640000006044820152606401610167565b600082815260036020908152604080832086845290915290819020805460ff1916600117905560025490517f6352211e000000000000000000000000000000000000000000000000000000008152600481018590528691600160a060020a03169033908290636352211e90602401602060405180830381865afa1580156103c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e69190610cd0565b600160a060020a031614610456576040517f9f2f802300000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f432d424f58206f776e6572206d69736d617463680000000000000000000000006044820152606401610167565b6040517f42842e0e000000000000000000000000000000000000000000000000000000008152600160a060020a038981166004830152336024830152604482018890528316906342842e0e90606401600060405180830381600087803b1580156104bf57600080fd5b505af11580156104d3573d6000803e3d6000fd5b505060408051600160a060020a038b168152602081018a905288935033925087917f2be95c2dc1607d896b4f5004293d7baeb2bef76333a3687ae7b295cc24458aa7910160405180910390a45050505050505050565b600054600160a060020a031633146105565760405160e560020a62461bcd02815260040161016790610c64565b60005460a060020a900460ff166105b25760405160e560020a62461bcd02815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610167565b6105ba61086d565b565b600054600160a060020a031633146105e95760405160e560020a62461bcd02815260040161016790610c64565b6105ba6000610927565b600054600160a060020a031633146106205760405160e560020a62461bcd02815260040161016790610c64565b60005460a060020a900460ff161561064d5760405160e560020a62461bcd02815260040161016790610c99565b6105ba610984565b600054600160a060020a031633146106825760405160e560020a62461bcd02815260040161016790610c64565b600160a060020a0381166107015760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610167565b61070a81610927565b50565b604080516c01000000000000000000000000600160a060020a038a811682026020808501919091528a82168084026034860152918a169092026048840152605c8301889052607c8301879052609c8084018790528451808503909101815260bc909301909352815191012060009133146107e3576040517f9f2f802300000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f54686973207369676e6174757265206973206e6f7420666f7220796f750000006044820152606401610167565b600061083c826040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b600154909150600160a060020a031661085582866109fd565b600160a060020a0316149a9950505050505050505050565b60005460a060020a900460ff166108c95760405160e560020a62461bcd02815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610167565b6000805474ff0000000000000000000000000000000000000000191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051600160a060020a03909116815260200160405180910390a1565b60008054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005460a060020a900460ff16156109b15760405160e560020a62461bcd02815260040161016790610c99565b6000805474ff0000000000000000000000000000000000000000191660a060020a1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861090a3390565b600080600080610a0c85610a7c565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa158015610a67573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60008060008351604114610aec576040517f2a34f7fe00000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f5369676e6174757265206c656e677468206973206e6f742036352062797465736044820152606401610167565b50505060208101516040820151606090920151909260009190911a90565b600160a060020a038116811461070a57600080fd5b600060208284031215610b3157600080fd5b8135610b3c81610b0a565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060008060008060c08789031215610b8b57600080fd5b8635610b9681610b0a565b95506020870135610ba681610b0a565b945060408701359350606087013592506080870135915060a087013567ffffffffffffffff80821115610bd857600080fd5b818901915089601f830112610bec57600080fd5b813581811115610bfe57610bfe610b43565b604051601f8201601f19908116603f01168101908382118183101715610c2657610c26610b43565b816040528281528c6020848701011115610c3f57600080fd5b8260208601602083013760006020848301015280955050505050509295509295509295565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526010908201527f5061757361626c653a2070617573656400000000000000000000000000000000604082015260600190565b600060208284031215610ce257600080fd5b8151610b3c81610b0a56fea26469706673582212206d6d969c3c451d7081309b03f58c6c2534da20b9c6906793eba942dcd6b3754d64736f6c634300080b003300000000000000000000000086a872197044fcd9a9185e1e5fef6e2cb8f5eaca00000000000000000000000003ef30e1aee25abd320ad961b8cd31aa1a011c97
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100a5576000357c010000000000000000000000000000000000000000000000000000000090048063715018a611610078578063715018a6146100fc5780638456cb59146101045780638da5cb5b1461010c578063f2fde38b1461012757600080fd5b8063046dc166146100aa5780633d00e3af146100bf5780633f4ba83a146100d25780635c975abb146100da575b600080fd5b6100bd6100b8366004610b1f565b61013a565b005b6100bd6100cd366004610b72565b61019f565b6100bd610529565b60005460a060020a900460ff1660405190151581526020015b60405180910390f35b6100bd6105bc565b6100bd6105f3565b600054604051600160a060020a0390911681526020016100f3565b6100bd610135366004610b1f565b610655565b600054600160a060020a031633146101705760405160e560020a62461bcd02815260040161016790610c64565b60405180910390fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005460a060020a900460ff16156101cc5760405160e560020a62461bcd02815260040161016790610c99565b333214610235576040517fa716cde200000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f436f6e74726163742063616c6c73206973206e6f7420616c6c6f7765640000006044820152606401610167565b600082815260036020908152604080832086845290915290205460ff161515600114156102bd576040517e7ad4f800000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f5468697320432d424f5820697320616c726561647920636c61696d65640000006044820152606401610167565b6102cc8633878787878761070d565b1515600114610337576040517f2a34f7fe00000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f5369676e617475726520766572696669636174696f6e206661696c65640000006044820152606401610167565b600082815260036020908152604080832086845290915290819020805460ff1916600117905560025490517f6352211e000000000000000000000000000000000000000000000000000000008152600481018590528691600160a060020a03169033908290636352211e90602401602060405180830381865afa1580156103c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e69190610cd0565b600160a060020a031614610456576040517f9f2f802300000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f432d424f58206f776e6572206d69736d617463680000000000000000000000006044820152606401610167565b6040517f42842e0e000000000000000000000000000000000000000000000000000000008152600160a060020a038981166004830152336024830152604482018890528316906342842e0e90606401600060405180830381600087803b1580156104bf57600080fd5b505af11580156104d3573d6000803e3d6000fd5b505060408051600160a060020a038b168152602081018a905288935033925087917f2be95c2dc1607d896b4f5004293d7baeb2bef76333a3687ae7b295cc24458aa7910160405180910390a45050505050505050565b600054600160a060020a031633146105565760405160e560020a62461bcd02815260040161016790610c64565b60005460a060020a900460ff166105b25760405160e560020a62461bcd02815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610167565b6105ba61086d565b565b600054600160a060020a031633146105e95760405160e560020a62461bcd02815260040161016790610c64565b6105ba6000610927565b600054600160a060020a031633146106205760405160e560020a62461bcd02815260040161016790610c64565b60005460a060020a900460ff161561064d5760405160e560020a62461bcd02815260040161016790610c99565b6105ba610984565b600054600160a060020a031633146106825760405160e560020a62461bcd02815260040161016790610c64565b600160a060020a0381166107015760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610167565b61070a81610927565b50565b604080516c01000000000000000000000000600160a060020a038a811682026020808501919091528a82168084026034860152918a169092026048840152605c8301889052607c8301879052609c8084018790528451808503909101815260bc909301909352815191012060009133146107e3576040517f9f2f802300000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f54686973207369676e6174757265206973206e6f7420666f7220796f750000006044820152606401610167565b600061083c826040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b600154909150600160a060020a031661085582866109fd565b600160a060020a0316149a9950505050505050505050565b60005460a060020a900460ff166108c95760405160e560020a62461bcd02815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610167565b6000805474ff0000000000000000000000000000000000000000191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051600160a060020a03909116815260200160405180910390a1565b60008054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005460a060020a900460ff16156109b15760405160e560020a62461bcd02815260040161016790610c99565b6000805474ff0000000000000000000000000000000000000000191660a060020a1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861090a3390565b600080600080610a0c85610a7c565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa158015610a67573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60008060008351604114610aec576040517f2a34f7fe00000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f5369676e6174757265206c656e677468206973206e6f742036352062797465736044820152606401610167565b50505060208101516040820151606090920151909260009190911a90565b600160a060020a038116811461070a57600080fd5b600060208284031215610b3157600080fd5b8135610b3c81610b0a565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060008060008060c08789031215610b8b57600080fd5b8635610b9681610b0a565b95506020870135610ba681610b0a565b945060408701359350606087013592506080870135915060a087013567ffffffffffffffff80821115610bd857600080fd5b818901915089601f830112610bec57600080fd5b813581811115610bfe57610bfe610b43565b604051601f8201601f19908116603f01168101908382118183101715610c2657610c26610b43565b816040528281528c6020848701011115610c3f57600080fd5b8260208601602083013760006020848301015280955050505050509295509295509295565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526010908201527f5061757361626c653a2070617573656400000000000000000000000000000000604082015260600190565b600060208284031215610ce257600080fd5b8151610b3c81610b0a56fea26469706673582212206d6d969c3c451d7081309b03f58c6c2534da20b9c6906793eba942dcd6b3754d64736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000086a872197044fcd9a9185e1e5fef6e2cb8f5eaca00000000000000000000000003ef30e1aee25abd320ad961b8cd31aa1a011c97
-----Decoded View---------------
Arg [0] : signerAddress (address): 0x86A872197044fcd9a9185e1e5FEF6E2cB8f5EaCa
Arg [1] : coniunContractAddress (address): 0x03ef30e1aee25aBd320AD961B8CD31Aa1a011c97
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000086a872197044fcd9a9185e1e5fef6e2cb8f5eaca
Arg [1] : 00000000000000000000000003ef30e1aee25abd320ad961b8cd31aa1a011c97
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.