Overview
xDAI Balance
xDAI Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 210 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Clone | 16470520 | 1414 days ago | IN | 0 xDAI | 0.00032313 | ||||
Clone | 15613977 | 1465 days ago | IN | 0 xDAI | 0.00029063 | ||||
Transfer | 15061435 | 1497 days ago | IN | 0 xDAI | 0.00004255 | ||||
Transfer | 15061425 | 1497 days ago | IN | 0 xDAI | 0.00004255 | ||||
Clone | 14549116 | 1528 days ago | IN | 0 xDAI | 0.00027983 | ||||
Clone | 14495655 | 1531 days ago | IN | 0 xDAI | 0.00027983 | ||||
Clone | 14365333 | 1539 days ago | IN | 0 xDAI | 0.00029063 | ||||
Clone | 14327789 | 1542 days ago | IN | 0 xDAI | 0.00029063 | ||||
Clone | 14326368 | 1542 days ago | IN | 0 xDAI | 0.00027983 | ||||
Clone | 14092757 | 1556 days ago | IN | 0 xDAI | 0.00027983 | ||||
Clone | 14080493 | 1556 days ago | IN | 0 xDAI | 0.00027982 | ||||
Clone | 14080490 | 1556 days ago | IN | 0 xDAI | 0.00027983 | ||||
Clone | 14012907 | 1560 days ago | IN | 0 xDAI | 0.00002305 | ||||
Clone | 14012406 | 1560 days ago | IN | 0 xDAI | 0.00002305 | ||||
Clone | 14012296 | 1560 days ago | IN | 0 xDAI | 0.00002306 | ||||
Clone | 14011927 | 1560 days ago | IN | 0 xDAI | 0.00002306 | ||||
Clone | 14011060 | 1560 days ago | IN | 0 xDAI | 0.00002306 | ||||
Clone | 14000426 | 1561 days ago | IN | 0 xDAI | 0.00002305 | ||||
Clone | 13999769 | 1561 days ago | IN | 0 xDAI | 0.00002306 | ||||
Clone | 13999762 | 1561 days ago | IN | 0 xDAI | 0.00002305 | ||||
Clone | 13999759 | 1561 days ago | IN | 0 xDAI | 0.00002305 | ||||
Clone | 13688374 | 1580 days ago | IN | 0 xDAI | 0.00027983 | ||||
Clone | 13684127 | 1580 days ago | IN | 0 xDAI | 0.00027982 | ||||
Clone | 13676721 | 1581 days ago | IN | 0 xDAI | 0.00027982 | ||||
Clone | 13671193 | 1581 days ago | IN | 0 xDAI | 0.00027982 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
13420107 | 1596 days ago | 0.05 xDAI | ||||
13420107 | 1596 days ago | 0.05 xDAI | ||||
13337376 | 1601 days ago | 2.5 xDAI | ||||
13337376 | 1601 days ago | 2.5 xDAI | ||||
13260565 | 1605 days ago | 0.05 xDAI | ||||
13260565 | 1605 days ago | 0.05 xDAI | ||||
13186029 | 1610 days ago | 0.5 xDAI | ||||
13186029 | 1610 days ago | 0.5 xDAI | ||||
13185864 | 1610 days ago | 0.5 xDAI | ||||
13185864 | 1610 days ago | 0.5 xDAI | ||||
13161915 | 1611 days ago | 0.5 xDAI | ||||
13161915 | 1611 days ago | 0.5 xDAI | ||||
13136173 | 1613 days ago | 2.5 xDAI | ||||
13136173 | 1613 days ago | 2.5 xDAI | ||||
13086971 | 1616 days ago | 0.5 xDAI | ||||
13086971 | 1616 days ago | 0.5 xDAI | ||||
13086940 | 1616 days ago | 0.5 xDAI | ||||
13086940 | 1616 days ago | 0.5 xDAI | ||||
13086873 | 1616 days ago | 0.5 xDAI | ||||
13086873 | 1616 days ago | 0.5 xDAI | ||||
13052225 | 1618 days ago | 0.05 xDAI | ||||
13052225 | 1618 days ago | 0.05 xDAI | ||||
12986049 | 1622 days ago | 0.05 xDAI | ||||
12986049 | 1622 days ago | 0.05 xDAI | ||||
12985971 | 1622 days ago | 0.05 xDAI |
Loading...
Loading
Contract Name:
Kudos
Compiler Version
v0.4.26+commit.4563c3fc
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at gnosisscan.io on 2022-08-03 */ // File: openzeppelin-solidity/contracts/ownership/Ownable.sol pragma solidity ^0.4.24; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to relinquish control of the contract. * @notice Renouncing to ownership will leave the contract without an owner. * It will not be possible to call the functions with the `onlyOwner` * modifier anymore. */ function renounceOwnership() public onlyOwner { emit OwnershipRenounced(owner); owner = address(0); } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */ function transferOwnership(address _newOwner) public onlyOwner { _transferOwnership(_newOwner); } /** * @dev Transfers control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */ function _transferOwnership(address _newOwner) internal { require(_newOwner != address(0)); emit OwnershipTransferred(owner, _newOwner); owner = _newOwner; } } // File: openzeppelin-solidity/contracts/introspection/ERC165.sol pragma solidity ^0.4.24; /** * @title ERC165 * @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md */ interface ERC165 { /** * @notice Query if a contract implements an interface * @param _interfaceId The interface identifier, as specified in ERC-165 * @dev Interface identification is specified in ERC-165. This function * uses less than 30,000 gas. */ function supportsInterface(bytes4 _interfaceId) external view returns (bool); } // File: openzeppelin-solidity/contracts/introspection/SupportsInterfaceWithLookup.sol pragma solidity ^0.4.24; /** * @title SupportsInterfaceWithLookup * @author Matt Condon (@shrugs) * @dev Implements ERC165 using a lookup table. */ contract SupportsInterfaceWithLookup is ERC165 { bytes4 public constant InterfaceId_ERC165 = 0x01ffc9a7; /** * 0x01ffc9a7 === * bytes4(keccak256('supportsInterface(bytes4)')) */ /** * @dev a mapping of interface id to whether or not it's supported */ mapping(bytes4 => bool) internal supportedInterfaces; /** * @dev A contract implementing SupportsInterfaceWithLookup * implement ERC165 itself */ constructor() public { _registerInterface(InterfaceId_ERC165); } /** * @dev implement supportsInterface(bytes4) using a lookup table */ function supportsInterface(bytes4 _interfaceId) external view returns (bool) { return supportedInterfaces[_interfaceId]; } /** * @dev private method for registering an interface */ function _registerInterface(bytes4 _interfaceId) internal { require(_interfaceId != 0xffffffff); supportedInterfaces[_interfaceId] = true; } } // File: openzeppelin-solidity/contracts/AddressUtils.sol pragma solidity ^0.4.24; /** * Utility library of inline functions on addresses */ library AddressUtils { /** * Returns whether the target address is a contract * @dev This function will return false if invoked during the constructor of a contract, * as the code is not actually created until after the constructor finishes. * @param _addr address to check * @return whether the target address is a contract */ function isContract(address _addr) internal view returns (bool) { uint256 size; // XXX Currently there is no better way to check if there is a contract in an address // than to check the size of the code at that address. // See https://ethereum.stackexchange.com/a/14016/36603 // for more details about how this works. // TODO Check this again before the Serenity release, because all addresses will be // contracts then. // solium-disable-next-line security/no-inline-assembly assembly { size := extcodesize(_addr) } return size > 0; } } // File: openzeppelin-solidity/contracts/math/SafeMath.sol pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) { // Gas optimization: this is cheaper than asserting 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 if (_a == 0) { return 0; } c = _a * _b; assert(c / _a == _b); return c; } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 _a, uint256 _b) internal pure returns (uint256) { // assert(_b > 0); // Solidity automatically throws when dividing by 0 // uint256 c = _a / _b; // assert(_a == _b * c + _a % _b); // There is no case in which this doesn't hold return _a / _b; } /** * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { assert(_b <= _a); return _a - _b; } /** * @dev Adds two numbers, throws on overflow. */ function add(uint256 _a, uint256 _b) internal pure returns (uint256 c) { c = _a + _b; assert(c >= _a); return c; } } // File: openzeppelin-solidity/contracts/token/ERC721/ERC721Receiver.sol pragma solidity ^0.4.24; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ contract ERC721Receiver { /** * @dev Magic value to be returned upon successful reception of an NFT * Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`, * which can be also obtained as `ERC721Receiver(0).onERC721Received.selector` */ bytes4 internal constant ERC721_RECEIVED = 0x150b7a02; /** * @notice Handle the receipt of an NFT * @dev The ERC721 smart contract calls this function on the recipient * after a `safetransfer`. This function MAY throw to revert and reject the * transfer. Return of other than the magic value MUST result in the * transaction being reverted. * Note: the contract address is always the message sender. * @param _operator The address which called `safeTransferFrom` function * @param _from The address which previously owned the token * @param _tokenId The NFT identifier which is being transferred * @param _data Additional data with no specified format * @return `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` */ function onERC721Received( address _operator, address _from, uint256 _tokenId, bytes _data ) public returns(bytes4); } // File: openzeppelin-solidity/contracts/token/ERC721/ERC721Basic.sol pragma solidity ^0.4.24; /** * @title ERC721 Non-Fungible Token Standard basic interface * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ contract ERC721Basic is ERC165 { bytes4 internal constant InterfaceId_ERC721 = 0x80ac58cd; /* * 0x80ac58cd === * bytes4(keccak256('balanceOf(address)')) ^ * bytes4(keccak256('ownerOf(uint256)')) ^ * bytes4(keccak256('approve(address,uint256)')) ^ * bytes4(keccak256('getApproved(uint256)')) ^ * bytes4(keccak256('setApprovalForAll(address,bool)')) ^ * bytes4(keccak256('isApprovedForAll(address,address)')) ^ * bytes4(keccak256('transferFrom(address,address,uint256)')) ^ * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) ^ * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) */ bytes4 internal constant InterfaceId_ERC721Exists = 0x4f558e79; /* * 0x4f558e79 === * bytes4(keccak256('exists(uint256)')) */ bytes4 internal constant InterfaceId_ERC721Enumerable = 0x780e9d63; /** * 0x780e9d63 === * bytes4(keccak256('totalSupply()')) ^ * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) ^ * bytes4(keccak256('tokenByIndex(uint256)')) */ bytes4 internal constant InterfaceId_ERC721Metadata = 0x5b5e139f; /** * 0x5b5e139f === * bytes4(keccak256('name()')) ^ * bytes4(keccak256('symbol()')) ^ * bytes4(keccak256('tokenURI(uint256)')) */ event Transfer( address indexed _from, address indexed _to, uint256 indexed _tokenId ); event Approval( address indexed _owner, address indexed _approved, uint256 indexed _tokenId ); event ApprovalForAll( address indexed _owner, address indexed _operator, bool _approved ); function balanceOf(address _owner) public view returns (uint256 _balance); function ownerOf(uint256 _tokenId) public view returns (address _owner); function exists(uint256 _tokenId) public view returns (bool _exists); function approve(address _to, uint256 _tokenId) public; function getApproved(uint256 _tokenId) public view returns (address _operator); function setApprovalForAll(address _operator, bool _approved) public; function isApprovedForAll(address _owner, address _operator) public view returns (bool); function transferFrom(address _from, address _to, uint256 _tokenId) public; function safeTransferFrom(address _from, address _to, uint256 _tokenId) public; function safeTransferFrom( address _from, address _to, uint256 _tokenId, bytes _data ) public; } // File: openzeppelin-solidity/contracts/token/ERC721/ERC721BasicToken.sol pragma solidity ^0.4.24; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ contract ERC721BasicToken is SupportsInterfaceWithLookup, ERC721Basic { using SafeMath for uint256; using AddressUtils for address; // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` // which can be also obtained as `ERC721Receiver(0).onERC721Received.selector` bytes4 private constant ERC721_RECEIVED = 0x150b7a02; // Mapping from token ID to owner mapping (uint256 => address) internal tokenOwner; // Mapping from token ID to approved address mapping (uint256 => address) internal tokenApprovals; // Mapping from owner to number of owned token mapping (address => uint256) internal ownedTokensCount; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) internal operatorApprovals; constructor() public { // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(InterfaceId_ERC721); _registerInterface(InterfaceId_ERC721Exists); } /** * @dev Gets the balance of the specified address * @param _owner address to query the balance of * @return uint256 representing the amount owned by the passed address */ function balanceOf(address _owner) public view returns (uint256) { require(_owner != address(0)); return ownedTokensCount[_owner]; } /** * @dev Gets the owner of the specified token ID * @param _tokenId uint256 ID of the token to query the owner of * @return owner address currently marked as the owner of the given token ID */ function ownerOf(uint256 _tokenId) public view returns (address) { address owner = tokenOwner[_tokenId]; require(owner != address(0)); return owner; } /** * @dev Returns whether the specified token exists * @param _tokenId uint256 ID of the token to query the existence of * @return whether the token exists */ function exists(uint256 _tokenId) public view returns (bool) { address owner = tokenOwner[_tokenId]; return owner != address(0); } /** * @dev Approves another address to transfer the given token ID * The zero address indicates there is no approved address. * There can only be one approved address per token at a given time. * Can only be called by the token owner or an approved operator. * @param _to address to be approved for the given token ID * @param _tokenId uint256 ID of the token to be approved */ function approve(address _to, uint256 _tokenId) public { address owner = ownerOf(_tokenId); require(_to != owner); require(msg.sender == owner || isApprovedForAll(owner, msg.sender)); tokenApprovals[_tokenId] = _to; emit Approval(owner, _to, _tokenId); } /** * @dev Gets the approved address for a token ID, or zero if no address set * @param _tokenId uint256 ID of the token to query the approval of * @return address currently approved for the given token ID */ function getApproved(uint256 _tokenId) public view returns (address) { return tokenApprovals[_tokenId]; } /** * @dev Sets or unsets the approval of a given operator * An operator is allowed to transfer all tokens of the sender on their behalf * @param _to operator address to set the approval * @param _approved representing the status of the approval to be set */ function setApprovalForAll(address _to, bool _approved) public { require(_to != msg.sender); operatorApprovals[msg.sender][_to] = _approved; emit ApprovalForAll(msg.sender, _to, _approved); } /** * @dev Tells whether an operator is approved by a given owner * @param _owner owner address which you want to query the approval of * @param _operator operator address which you want to query the approval of * @return bool whether the given operator is approved by the given owner */ function isApprovedForAll( address _owner, address _operator ) public view returns (bool) { return operatorApprovals[_owner][_operator]; } /** * @dev Transfers the ownership of a given token ID to another address * Usage of this method is discouraged, use `safeTransferFrom` whenever possible * Requires the msg sender to be the owner, approved, or operator * @param _from current owner of the token * @param _to address to receive the ownership of the given token ID * @param _tokenId uint256 ID of the token to be transferred */ function transferFrom( address _from, address _to, uint256 _tokenId ) public { require(isApprovedOrOwner(msg.sender, _tokenId)); require(_from != address(0)); require(_to != address(0)); clearApproval(_from, _tokenId); removeTokenFrom(_from, _tokenId); addTokenTo(_to, _tokenId); emit Transfer(_from, _to, _tokenId); } /** * @dev Safely transfers the ownership of a given token ID to another address * If the target address is a contract, it must implement `onERC721Received`, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * * Requires the msg sender to be the owner, approved, or operator * @param _from current owner of the token * @param _to address to receive the ownership of the given token ID * @param _tokenId uint256 ID of the token to be transferred */ function safeTransferFrom( address _from, address _to, uint256 _tokenId ) public { // solium-disable-next-line arg-overflow safeTransferFrom(_from, _to, _tokenId, ""); } /** * @dev Safely transfers the ownership of a given token ID to another address * If the target address is a contract, it must implement `onERC721Received`, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * Requires the msg sender to be the owner, approved, or operator * @param _from current owner of the token * @param _to address to receive the ownership of the given token ID * @param _tokenId uint256 ID of the token to be transferred * @param _data bytes data to send along with a safe transfer check */ function safeTransferFrom( address _from, address _to, uint256 _tokenId, bytes _data ) public { transferFrom(_from, _to, _tokenId); // solium-disable-next-line arg-overflow require(checkAndCallSafeTransfer(_from, _to, _tokenId, _data)); } /** * @dev Returns whether the given spender can transfer a given token ID * @param _spender address of the spender to query * @param _tokenId uint256 ID of the token to be transferred * @return bool whether the msg.sender is approved for the given token ID, * is an operator of the owner, or is the owner of the token */ function isApprovedOrOwner( address _spender, uint256 _tokenId ) internal view returns (bool) { address owner = ownerOf(_tokenId); // Disable solium check because of // https://github.com/duaraghav8/Solium/issues/175 // solium-disable-next-line operator-whitespace return ( _spender == owner || getApproved(_tokenId) == _spender || isApprovedForAll(owner, _spender) ); } /** * @dev Internal function to mint a new token * Reverts if the given token ID already exists * @param _to The address that will own the minted token * @param _tokenId uint256 ID of the token to be minted by the msg.sender */ function _mint(address _to, uint256 _tokenId) internal { require(_to != address(0)); addTokenTo(_to, _tokenId); emit Transfer(address(0), _to, _tokenId); } /** * @dev Internal function to burn a specific token * Reverts if the token does not exist * @param _tokenId uint256 ID of the token being burned by the msg.sender */ function _burn(address _owner, uint256 _tokenId) internal { clearApproval(_owner, _tokenId); removeTokenFrom(_owner, _tokenId); emit Transfer(_owner, address(0), _tokenId); } /** * @dev Internal function to clear current approval of a given token ID * Reverts if the given address is not indeed the owner of the token * @param _owner owner of the token * @param _tokenId uint256 ID of the token to be transferred */ function clearApproval(address _owner, uint256 _tokenId) internal { require(ownerOf(_tokenId) == _owner); if (tokenApprovals[_tokenId] != address(0)) { tokenApprovals[_tokenId] = address(0); } } /** * @dev Internal function to add a token ID to the list of a given address * @param _to address representing the new owner of the given token ID * @param _tokenId uint256 ID of the token to be added to the tokens list of the given address */ function addTokenTo(address _to, uint256 _tokenId) internal { require(tokenOwner[_tokenId] == address(0)); tokenOwner[_tokenId] = _to; ownedTokensCount[_to] = ownedTokensCount[_to].add(1); } /** * @dev Internal function to remove a token ID from the list of a given address * @param _from address representing the previous owner of the given token ID * @param _tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function removeTokenFrom(address _from, uint256 _tokenId) internal { require(ownerOf(_tokenId) == _from); ownedTokensCount[_from] = ownedTokensCount[_from].sub(1); tokenOwner[_tokenId] = address(0); } /** * @dev Internal function to invoke `onERC721Received` on a target address * The call is not executed if the target address is not a contract * @param _from address representing the previous owner of the given token ID * @param _to target address that will receive the tokens * @param _tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return whether the call correctly returned the expected magic value */ function checkAndCallSafeTransfer( address _from, address _to, uint256 _tokenId, bytes _data ) internal returns (bool) { if (!_to.isContract()) { return true; } bytes4 retval = ERC721Receiver(_to).onERC721Received( msg.sender, _from, _tokenId, _data); return (retval == ERC721_RECEIVED); } } // File: openzeppelin-solidity/contracts/token/ERC721/ERC721.sol pragma solidity ^0.4.24; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ contract ERC721Enumerable is ERC721Basic { function totalSupply() public view returns (uint256); function tokenOfOwnerByIndex( address _owner, uint256 _index ) public view returns (uint256 _tokenId); function tokenByIndex(uint256 _index) public view returns (uint256); } /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ contract ERC721Metadata is ERC721Basic { function name() external view returns (string _name); function symbol() external view returns (string _symbol); function tokenURI(uint256 _tokenId) public view returns (string); } /** * @title ERC-721 Non-Fungible Token Standard, full implementation interface * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ contract ERC721 is ERC721Basic, ERC721Enumerable, ERC721Metadata { } // File: openzeppelin-solidity/contracts/token/ERC721/ERC721Token.sol pragma solidity ^0.4.24; /** * @title Full ERC721 Token * This implementation includes all the required and some optional functionality of the ERC721 standard * Moreover, it includes approve all functionality using operator terminology * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ contract ERC721Token is SupportsInterfaceWithLookup, ERC721BasicToken, ERC721 { // Token name string internal name_; // Token symbol string internal symbol_; // Mapping from owner to list of owned token IDs mapping(address => uint256[]) internal ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) internal ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] internal allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) internal allTokensIndex; // Optional mapping for token URIs mapping(uint256 => string) internal tokenURIs; /** * @dev Constructor function */ constructor(string _name, string _symbol) public { name_ = _name; symbol_ = _symbol; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(InterfaceId_ERC721Enumerable); _registerInterface(InterfaceId_ERC721Metadata); } /** * @dev Gets the token name * @return string representing the token name */ function name() external view returns (string) { return name_; } /** * @dev Gets the token symbol * @return string representing the token symbol */ function symbol() external view returns (string) { return symbol_; } /** * @dev Returns an URI for a given token ID * Throws if the token ID does not exist. May return an empty string. * @param _tokenId uint256 ID of the token to query */ function tokenURI(uint256 _tokenId) public view returns (string) { require(exists(_tokenId)); return tokenURIs[_tokenId]; } /** * @dev Gets the token ID at a given index of the tokens list of the requested owner * @param _owner address owning the tokens list to be accessed * @param _index uint256 representing the index to be accessed of the requested tokens list * @return uint256 token ID at the given index of the tokens list owned by the requested address */ function tokenOfOwnerByIndex( address _owner, uint256 _index ) public view returns (uint256) { require(_index < balanceOf(_owner)); return ownedTokens[_owner][_index]; } /** * @dev Gets the total amount of tokens stored by the contract * @return uint256 representing the total amount of tokens */ function totalSupply() public view returns (uint256) { return allTokens.length; } /** * @dev Gets the token ID at a given index of all the tokens in this contract * Reverts if the index is greater or equal to the total number of tokens * @param _index uint256 representing the index to be accessed of the tokens list * @return uint256 token ID at the given index of the tokens list */ function tokenByIndex(uint256 _index) public view returns (uint256) { require(_index < totalSupply()); return allTokens[_index]; } /** * @dev Internal function to set the token URI for a given token * Reverts if the token ID does not exist * @param _tokenId uint256 ID of the token to set its URI * @param _uri string URI to assign */ function _setTokenURI(uint256 _tokenId, string _uri) internal { require(exists(_tokenId)); tokenURIs[_tokenId] = _uri; } /** * @dev Internal function to add a token ID to the list of a given address * @param _to address representing the new owner of the given token ID * @param _tokenId uint256 ID of the token to be added to the tokens list of the given address */ function addTokenTo(address _to, uint256 _tokenId) internal { super.addTokenTo(_to, _tokenId); uint256 length = ownedTokens[_to].length; ownedTokens[_to].push(_tokenId); ownedTokensIndex[_tokenId] = length; } /** * @dev Internal function to remove a token ID from the list of a given address * @param _from address representing the previous owner of the given token ID * @param _tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function removeTokenFrom(address _from, uint256 _tokenId) internal { super.removeTokenFrom(_from, _tokenId); // To prevent a gap in the array, we store the last token in the index of the token to delete, and // then delete the last slot. uint256 tokenIndex = ownedTokensIndex[_tokenId]; uint256 lastTokenIndex = ownedTokens[_from].length.sub(1); uint256 lastToken = ownedTokens[_from][lastTokenIndex]; ownedTokens[_from][tokenIndex] = lastToken; // This also deletes the contents at the last position of the array ownedTokens[_from].length--; // Note that this will handle single-element arrays. In that case, both tokenIndex and lastTokenIndex are going to // be zero. Then we can make sure that we will remove _tokenId from the ownedTokens list since we are first swapping // the lastToken to the first position, and then dropping the element placed in the last position of the list ownedTokensIndex[_tokenId] = 0; ownedTokensIndex[lastToken] = tokenIndex; } /** * @dev Internal function to mint a new token * Reverts if the given token ID already exists * @param _to address the beneficiary that will own the minted token * @param _tokenId uint256 ID of the token to be minted by the msg.sender */ function _mint(address _to, uint256 _tokenId) internal { super._mint(_to, _tokenId); allTokensIndex[_tokenId] = allTokens.length; allTokens.push(_tokenId); } /** * @dev Internal function to burn a specific token * Reverts if the token does not exist * @param _owner owner of the token to burn * @param _tokenId uint256 ID of the token being burned by the msg.sender */ function _burn(address _owner, uint256 _tokenId) internal { super._burn(_owner, _tokenId); // Clear metadata (if any) if (bytes(tokenURIs[_tokenId]).length != 0) { delete tokenURIs[_tokenId]; } // Reorg all tokens array uint256 tokenIndex = allTokensIndex[_tokenId]; uint256 lastTokenIndex = allTokens.length.sub(1); uint256 lastToken = allTokens[lastTokenIndex]; allTokens[tokenIndex] = lastToken; allTokens[lastTokenIndex] = 0; allTokens.length--; allTokensIndex[_tokenId] = 0; allTokensIndex[lastToken] = tokenIndex; } } // File: browser/Kudos.sol pragma solidity ^0.4.24; /// @title Kudos /// @author Jason Haas <[email protected]> /// @notice Kudos ERC721 interface for minting, cloning, and transferring Kudos tokens. contract Kudos is ERC721Token("Achievmintry", "CHIEV"), Ownable { using SafeMath for uint256; struct Kudo { uint256 priceFinney; uint256 numClonesAllowed; uint256 numClonesInWild; uint256 clonedFromId; } Kudo[] public kudos; uint256 public cloneFeePercentage = 50; bool public isMintable = true; modifier mintable { require( isMintable == true, "New kudos are no longer mintable on this contract. Please see KUDOS_CONTRACT_MAINNET at http://gitcoin.co/l/gcsettings for latest address." ); _; } constructor () public { // If the array is new, skip over the first index. if(kudos.length == 0) { Kudo memory _dummyKudo = Kudo({priceFinney: 0,numClonesAllowed: 0, numClonesInWild: 0, clonedFromId: 0 }); kudos.push(_dummyKudo); } } /// @dev mint(): Mint a new Gen0 Kudos. These are the tokens that other Kudos will be "cloned from". /// @param _to Address to mint to. /// @param _priceFinney Price of the Kudos in Finney. /// @param _numClonesAllowed Maximum number of times this Kudos is allowed to be cloned. /// @param _tokenURI A URL to the JSON file containing the metadata for the Kudos. See metadata.json for an example. /// @return the tokenId of the Kudos that has been minted. Note that in a transaction only the tx_hash is returned. function mint(address _to, uint256 _priceFinney, uint256 _numClonesAllowed, string _tokenURI) public mintable onlyOwner returns (uint256 tokenId) { Kudo memory _kudo = Kudo({priceFinney: _priceFinney, numClonesAllowed: _numClonesAllowed, numClonesInWild: 0, clonedFromId: 0 }); // The new kudo is pushed onto the array and minted // Note that Solidity uses 0 as a default value when an item is not found in a mapping. tokenId = kudos.push(_kudo) - 1; kudos[tokenId].clonedFromId = tokenId; _mint(_to, tokenId); _setTokenURI(tokenId, _tokenURI); } /// @dev clone(): Clone a new Kudos from a Gen0 Kudos. /// @param _to The address to clone to. /// @param _tokenId The token id of the Kudos to clone and transfer. /// @param _numClonesRequested Number of clones to generate. function clone(address _to, uint256 _tokenId, uint256 _numClonesRequested) public payable mintable { // Grab existing Kudo blueprint Kudo memory _kudo = kudos[_tokenId]; uint256 cloningCost = _kudo.priceFinney * 10**15 * _numClonesRequested; require( _kudo.numClonesInWild + _numClonesRequested <= _kudo.numClonesAllowed, "The number of Kudos clones requested exceeds the number of clones allowed."); require( msg.value >= cloningCost, "Not enough Wei to pay for the Kudos clones."); // Pay the contract owner the cloneFeePercentage amount uint256 contractOwnerFee = (cloningCost.mul(cloneFeePercentage)).div(100); owner.transfer(contractOwnerFee); // Pay the token owner the cloningCost - contractOwnerFee uint256 tokenOwnerFee = cloningCost.sub(contractOwnerFee); ownerOf(_tokenId).transfer(tokenOwnerFee); // Update original kudo struct in the array _kudo.numClonesInWild += _numClonesRequested; kudos[_tokenId] = _kudo; // Create new kudo, don't let it be cloned for (uint i = 0; i < _numClonesRequested; i++) { Kudo memory _newKudo; _newKudo.priceFinney = _kudo.priceFinney; _newKudo.numClonesAllowed = 0; _newKudo.numClonesInWild = 0; _newKudo.clonedFromId = _tokenId; // Note that Solidity uses 0 as a default value when an item is not found in a mapping. uint256 newTokenId = kudos.push(_newKudo) - 1; // Mint the new kudos to the _to account _mint(_to, newTokenId); // Use the same tokenURI metadata from the Gen0 Kudos string memory _tokenURI = tokenURI(_tokenId); _setTokenURI(newTokenId, _tokenURI); } // Return the any leftvoer ETH to the sender msg.sender.transfer(msg.value - contractOwnerFee - tokenOwnerFee); } /// @dev burn(): Burn Kudos token. /// @param _owner The owner address of the token to burn. /// @param _tokenId The Kudos ID to be burned. function burn(address _owner, uint256 _tokenId) public onlyOwner { Kudo memory _kudo = kudos[_tokenId]; uint256 gen0Id = _kudo.clonedFromId; if (_tokenId != gen0Id) { Kudo memory _gen0Kudo = kudos[gen0Id]; _gen0Kudo.numClonesInWild -= 1; kudos[gen0Id] = _gen0Kudo; } delete kudos[_tokenId]; _burn(_owner, _tokenId); } /// @dev setCloneFeePercentage(): Update the Kudos clone fee percentage. Upon cloning a new kudos, /// cloneFeePercentage will go to the contract owner, and /// (100 - cloneFeePercentage) will go to the Gen0 Kudos owner. /// @param _cloneFeePercentage The percentage fee between 0 and 100. function setCloneFeePercentage(uint256 _cloneFeePercentage) public onlyOwner { require( _cloneFeePercentage >= 0 && _cloneFeePercentage <= 100, "Invalid range for cloneFeePercentage. Must be between 0 and 100."); cloneFeePercentage = _cloneFeePercentage; } /// @dev setMintable(): set the isMintable public variable. When set to `false`, no new /// kudos are allowed to be minted or cloned. However, all of already /// existing kudos will remain unchanged. /// @param _isMintable flag for the mintable function modifier. function setMintable(bool _isMintable) public onlyOwner { isMintable = _isMintable; } /// @dev setPrice(): Update the Kudos listing price. /// @param _tokenId The Kudos Id. /// @param _newPriceFinney The new price of the Kudos. function setPrice(uint256 _tokenId, uint256 _newPriceFinney) public onlyOwner { Kudo memory _kudo = kudos[_tokenId]; _kudo.priceFinney = _newPriceFinney; kudos[_tokenId] = _kudo; } /// @dev setTokenURI(): Set an existing token URI. /// @param _tokenId The token id. /// @param _tokenURI The tokenURI string. Typically this will be a link to a json file on IPFS. function setTokenURI(uint256 _tokenId, string _tokenURI) public onlyOwner { _setTokenURI(_tokenId, _tokenURI); } /// @dev getKudosById(): Return a Kudos struct/array given a Kudos Id. /// @param _tokenId The Kudos Id. /// @return the Kudos struct, in array form. function getKudosById(uint256 _tokenId) view public returns (uint256 priceFinney, uint256 numClonesAllowed, uint256 numClonesInWild, uint256 clonedFromId ) { Kudo memory _kudo = kudos[_tokenId]; priceFinney = _kudo.priceFinney; numClonesAllowed = _kudo.numClonesAllowed; numClonesInWild = _kudo.numClonesInWild; clonedFromId = _kudo.clonedFromId; } /// @dev getNumClonesInWild(): Return a Kudos struct/array given a Kudos Id. /// @param _tokenId The Kudos Id. /// @return the number of cloes in the wild function getNumClonesInWild(uint256 _tokenId) view public returns (uint256 numClonesInWild) { Kudo memory _kudo = kudos[_tokenId]; numClonesInWild = _kudo.numClonesInWild; } /// @dev getLatestId(): Returns the newest Kudos Id in the kudos array. /// @return the latest kudos id. function getLatestId() view public returns (uint256 tokenId) { if (kudos.length == 0) { tokenId = 0; } else { tokenId = kudos.length - 1; } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":true,"inputs":[{"name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_cloneFeePercentage","type":"uint256"}],"name":"setCloneFeePercentage","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"cloneFeePercentage","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"},{"name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"InterfaceId_ERC165","outputs":[{"name":"","type":"bytes4"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_isMintable","type":"bool"}],"name":"setMintable","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isMintable","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"exists","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"getKudosById","outputs":[{"name":"priceFinney","type":"uint256"},{"name":"numClonesAllowed","type":"uint256"},{"name":"numClonesInWild","type":"uint256"},{"name":"clonedFromId","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"kudos","outputs":[{"name":"priceFinney","type":"uint256"},{"name":"numClonesAllowed","type":"uint256"},{"name":"numClonesInWild","type":"uint256"},{"name":"clonedFromId","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"},{"name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_tokenId","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_priceFinney","type":"uint256"},{"name":"_numClonesAllowed","type":"uint256"},{"name":"_tokenURI","type":"string"}],"name":"mint","outputs":[{"name":"tokenId","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_tokenId","type":"uint256"},{"name":"_numClonesRequested","type":"uint256"}],"name":"clone","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"getLatestId","outputs":[{"name":"tokenId","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"},{"name":"_newPriceFinney","type":"uint256"}],"name":"setPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"getNumClonesInWild","outputs":[{"name":"numClonesInWild","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":true,"name":"_tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_approved","type":"address"},{"indexed":true,"name":"_tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_operator","type":"address"},{"indexed":false,"name":"_approved","type":"bool"}],"name":"ApprovalForAll","type":"event"}]
Contract Creation Code
60806040526032600e55600f805460ff191660011790553480156200002357600080fd5b506200002e6200032b565b604080518082018252600c81527f4163686965766d696e74727900000000000000000000000000000000000000006020808301919091528251808401909352600583527f43484945560000000000000000000000000000000000000000000000000000009083015290620000cb7f01ffc9a700000000000000000000000000000000000000000000000000000000640100000000620002be810204565b620000ff7f80ac58cd00000000000000000000000000000000000000000000000000000000640100000000620002be810204565b620001337f4f558e7900000000000000000000000000000000000000000000000000000000640100000000620002be810204565b81516200014890600590602085019062000354565b5080516200015e90600690602084019062000354565b50620001937f780e9d6300000000000000000000000000000000000000000000000000000000640100000000620002be810204565b620001c77f5b5e139f00000000000000000000000000000000000000000000000000000000640100000000620002be810204565b5050600c8054600160a060020a03191633179055600d541515620002b757506040805160808101825260008082526020820181815292820181815260608301828152600d8054600181018255935283517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb560049094029384015593517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb6830155517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb782015591517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb8909201919091555b50620003f9565b7fffffffff000000000000000000000000000000000000000000000000000000008082161415620002ee57600080fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152602081905260409020805460ff19166001179055565b608060405190810160405280600081526020016000815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200039757805160ff1916838001178555620003c7565b82800160010185558215620003c7579182015b82811115620003c7578251825591602001919060010190620003aa565b50620003d5929150620003d9565b5090565b620003f691905b80821115620003d55760008155600101620003e0565b90565b61210a80620004096000396000f3006080604052600436106101ab5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301ffc9a781146101b057806304339140146101e657806306fdde0314610200578063081812fc1461028a578063095ea7b3146102be57806315c6b40a146102e2578063162094c41461030957806318160ddd1461036757806319fa8f501461037c57806323b872dd146103ae578063285d70d4146103d85780632f745c59146103f257806342842e0e1461041657806346b45af7146104405780634f558e79146104555780634f6ccce71461046d5780636352211e14610485578063646d978b1461049d57806370a08231146104db578063715018a6146104fc5780637f180db7146105115780638da5cb5b1461052957806395d89b411461053e5780639dc29fac14610553578063a22cb46514610577578063b88d4fde1461059d578063bb7fde711461060c578063c87b56dd14610678578063e985e9c514610690578063ed74de9d146106b7578063eff91c7e146106d1578063f2fde38b146106e6578063f7d9757714610707578063f876250a14610722575b600080fd5b3480156101bc57600080fd5b506101d2600160e060020a03196004351661073a565b604080519115158252519081900360200190f35b3480156101f257600080fd5b506101fe600435610759565b005b34801561020c57600080fd5b50610215610829565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024f578181015183820152602001610237565b50505050905090810190601f16801561027c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561029657600080fd5b506102a26004356108c0565b60408051600160a060020a039092168252519081900360200190f35b3480156102ca57600080fd5b506101fe600160a060020a03600435166024356108db565b3480156102ee57600080fd5b506102f7610991565b60408051918252519081900360200190f35b34801561031557600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526101fe9583359536956044949193909101919081908401838280828437509497506109979650505050505050565b34801561037357600080fd5b506102f76109bc565b34801561038857600080fd5b506103916109c2565b60408051600160e060020a03199092168252519081900360200190f35b3480156103ba57600080fd5b506101fe600160a060020a03600435811690602435166044356109e6565b3480156103e457600080fd5b506101fe6004351515610a89565b3480156103fe57600080fd5b506102f7600160a060020a0360043516602435610ab3565b34801561042257600080fd5b506101fe600160a060020a0360043581169060243516604435610b01565b34801561044c57600080fd5b506101d2610b22565b34801561046157600080fd5b506101d2600435610b2b565b34801561047957600080fd5b506102f7600435610b48565b34801561049157600080fd5b506102a2600435610b7d565b3480156104a957600080fd5b506104b5600435610ba1565b604080519485526020850193909352838301919091526060830152519081900360800190f35b3480156104e757600080fd5b506102f7600160a060020a0360043516610c11565b34801561050857600080fd5b506101fe610c44565b34801561051d57600080fd5b506104b5600435610cb2565b34801561053557600080fd5b506102a2610cea565b34801561054a57600080fd5b50610215610cf9565b34801561055f57600080fd5b506101fe600160a060020a0360043516602435610d5a565b34801561058357600080fd5b506101fe600160a060020a03600435166024351515610ecd565b3480156105a957600080fd5b50604080516020601f6064356004818101359283018490048402850184019095528184526101fe94600160a060020a038135811695602480359092169560443595369560849401918190840183828082843750949750610f519650505050505050565b34801561061857600080fd5b50604080516020601f6064356004818101359283018490048402850184019095528184526102f794600160a060020a038135169460248035956044359536956084949301918190840183828082843750949750610f799650505050505050565b34801561068457600080fd5b506102156004356110f9565b34801561069c57600080fd5b506101d2600160a060020a03600435811690602435166111ae565b6101fe600160a060020a03600435166024356044356111dc565b3480156106dd57600080fd5b506102f761160e565b3480156106f257600080fd5b506101fe600160a060020a036004351661162d565b34801561071357600080fd5b506101fe600435602435611650565b34801561072e57600080fd5b506102f760043561170f565b600160e060020a03191660009081526020819052604090205460ff1690565b600c54600160a060020a0316331461077057600080fd5b60008110158015610782575060648111155b1515610824576040805160e560020a62461bcd02815260206004820152604160248201527f496e76616c69642072616e676520666f7220636c6f6e6546656550657263656e60448201527f746167652e20204d757374206265206265747765656e203020616e642031303060648201527f2e00000000000000000000000000000000000000000000000000000000000000608482015290519081900360a40190fd5b600e55565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108b55780601f1061088a576101008083540402835291602001916108b5565b820191906000526020600020905b81548152906001019060200180831161089857829003601f168201915b505050505090505b90565b600090815260026020526040902054600160a060020a031690565b60006108e682610b7d565b9050600160a060020a03838116908216141561090157600080fd5b33600160a060020a038216148061091d575061091d81336111ae565b151561092857600080fd5b600082815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600e5481565b600c54600160a060020a031633146109ae57600080fd5b6109b88282611778565b5050565b60095490565b7f01ffc9a70000000000000000000000000000000000000000000000000000000081565b6109f033826117ab565b15156109fb57600080fd5b600160a060020a0383161515610a1057600080fd5b600160a060020a0382161515610a2557600080fd5b610a2f838261180a565b610a398382611879565b610a438282611980565b8082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600c54600160a060020a03163314610aa057600080fd5b600f805460ff1916911515919091179055565b6000610abe83610c11565b8210610ac957600080fd5b600160a060020a0383166000908152600760205260409020805483908110610aed57fe5b906000526020600020015490505b92915050565b610b1d8383836020604051908101604052806000815250610f51565b505050565b600f5460ff1681565b600090815260016020526040902054600160a060020a0316151590565b6000610b526109bc565b8210610b5d57600080fd5b6009805483908110610b6b57fe5b90600052602060002001549050919050565b600081815260016020526040812054600160a060020a0316801515610afb57600080fd5b600080600080610baf611f2e565b600d805487908110610bbd57fe5b60009182526020918290206040805160808101825260049093029091018054808452600182015494840185905260028201549284018390526003909101546060909301839052999298509650945092505050565b6000600160a060020a0382161515610c2857600080fd5b50600160a060020a031660009081526003602052604090205490565b600c54600160a060020a03163314610c5b57600080fd5b600c54604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a2600c805473ffffffffffffffffffffffffffffffffffffffff19169055565b600d805482908110610cc057fe5b60009182526020909120600490910201805460018201546002830154600390930154919350919084565b600c54600160a060020a031681565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108b55780601f1061088a576101008083540402835291602001916108b5565b610d62611f2e565b6000610d6c611f2e565b600c54600160a060020a03163314610d8357600080fd5b600d805485908110610d9157fe5b9060005260206000209060040201608060405190810160405290816000820154815260200160018201548152602001600282015481526020016003820154815250509250826060015191508184141515610e8a57600d805483908110610df357fe5b6000918252602091829020604080516080810182526004909302909101805483526001810154938301939093526002830154600390930154606083015260001990920191810191909152600d8054919250829184908110610e5057fe5b9060005260206000209060040201600082015181600001556020820151816001015560408201518160020155606082015181600301559050505b600d805485908110610e9857fe5b600091825260208220600490910201818155600181018290556002810182905560030155610ec685856119c9565b5050505050565b600160a060020a038216331415610ee357600080fd5b336000818152600460209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b610f5c8484846109e6565b610f6884848484611ac3565b1515610f7357600080fd5b50505050565b6000610f83611f2e565b600f5460ff161515600114610fcc5760405160e560020a62461bcd02815260040180806020018281038252608b815260200180612054608b913960a00191505060405180910390fd5b600c54600160a060020a03163314610fe357600080fd5b50506040805160808101825284815260208101848152600092820183815260608301848152600d8054600181018255958190528451600487027fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb581019190915593517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb685015591517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb7840155517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb8909201919091558054839190829081106110c757fe5b9060005260206000209060040201600301819055506110e68683611c2b565b6110f08284611778565b50949350505050565b606061110482610b2b565b151561110f57600080fd5b6000828152600b602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156111a25780601f10611177576101008083540402835291602001916111a2565b820191906000526020600020905b81548152906001019060200180831161118557829003601f168201915b50505050509050919050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205460ff1690565b6111e4611f2e565b6000806000806111f2611f2e565b600f5460009060609060ff1615156001146112415760405160e560020a62461bcd02815260040180806020018281038252608b815260200180612054608b913960a00191505060405180910390fd5b600d80548b90811061124f57fe5b60009182526020918290206040805160808101825260049093029091018054808452600182015494840185905260028201549284018390526003909101546060840152919a50908b0266038d7ea4c680000298508a011115611347576040805160e560020a62461bcd02815260206004820152604a60248201527f546865206e756d626572206f66204b75646f7320636c6f6e657320726571756560448201527f73746564206578636565647320746865206e756d626572206f6620636c6f6e6560648201527f7320616c6c6f7765642e00000000000000000000000000000000000000000000608482015290519081900360a40190fd5b348711156113c5576040805160e560020a62461bcd02815260206004820152602b60248201527f4e6f7420656e6f7567682057656920746f2070617920666f7220746865204b7560448201527f646f7320636c6f6e65732e000000000000000000000000000000000000000000606482015290519081900360840190fd5b6113eb60646113df600e548a611c7a90919063ffffffff16565b9063ffffffff611ca316565b600c54604051919750600160a060020a03169087156108fc029088906000818181858888f19350505050158015611426573d6000803e3d6000fd5b50611437878763ffffffff611cb816565b94506114428a610b7d565b600160a060020a03166108fc869081150290604051600060405180830381858888f1935050505015801561147a573d6000803e3d6000fd5b506040880180518a019052600d80548991908c90811061149657fe5b906000526020600020906004020160008201518160000155602082015181600101556040820151816002015560608201518160030155905050600093505b888410156115ce578751835260006020840181815260408501828152606086018d8152600d805460018101825594528651600485027fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb581019190915592517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb684015590517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb7830155517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb89091015591506115ae8b83611c2b565b6115b78a6110f9565b90506115c38282611778565b6001909301926114d4565b60405133903488900387900380156108fc02916000818181858888f19350505050158015611600573d6000803e3d6000fd5b505050505050505050505050565b600d546000901515611622575060006108bd565b50600d546000190190565b600c54600160a060020a0316331461164457600080fd5b61164d81611cca565b50565b611658611f2e565b600c54600160a060020a0316331461166f57600080fd5b600d80548490811061167d57fe5b6000918252602091829020604080516080810182526004939093029091016001810154938301939093526002830154908201526003909101546060820152828152600d80549192508291859081106116d157fe5b906000526020600020906004020160008201518160000155602082015181600101556040820151816002015560608201518160030155905050505050565b6000611719611f2e565b600d80548490811061172757fe5b90600052602060002090600402016080604051908101604052908160008201548152602001600182015481526020016002820154815260200160038201548152505090508060400151915050919050565b61178182610b2b565b151561178c57600080fd5b6000828152600b602090815260409091208251610b1d92840190611f57565b6000806117b783610b7d565b905080600160a060020a031684600160a060020a031614806117f2575083600160a060020a03166117e7846108c0565b600160a060020a0316145b80611802575061180281856111ae565b949350505050565b81600160a060020a031661181d82610b7d565b600160a060020a03161461183057600080fd5b600081815260026020526040902054600160a060020a0316156109b8576000908152600260205260409020805473ffffffffffffffffffffffffffffffffffffffff1916905550565b60008060006118888585611d48565b600084815260086020908152604080832054600160a060020a03891684526007909252909120549093506118c390600163ffffffff611cb816565b600160a060020a0386166000908152600760205260409020805491935090839081106118eb57fe5b90600052602060002001549050806007600087600160a060020a0316600160a060020a031681526020019081526020016000208481548110151561192b57fe5b6000918252602080832090910192909255600160a060020a0387168152600790915260409020805490611962906000198301611fd5565b50600093845260086020526040808520859055908452909220555050565b600061198c8383611dde565b50600160a060020a039091166000908152600760209081526040808320805460018101825590845282842081018590559383526008909152902055565b60008060006119d88585611e6e565b6000848152600b60205260409020546002600019610100600184161502019091160415611a16576000848152600b60205260408120611a1691611ff9565b6000848152600a6020526040902054600954909350611a3c90600163ffffffff611cb816565b9150600982815481101515611a4d57fe5b9060005260206000200154905080600984815481101515611a6a57fe5b60009182526020822001919091556009805484908110611a8657fe5b6000918252602090912001556009805490611aa5906000198301611fd5565b506000938452600a6020526040808520859055908452909220555050565b600080611ad885600160a060020a0316611ebe565b1515611ae757600191506110f0565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081523360048201818152600160a060020a03898116602485015260448401889052608060648501908152875160848601528751918a169463150b7a0294938c938b938b93909160a490910190602085019080838360005b83811015611b7a578181015183820152602001611b62565b50505050905090810190601f168015611ba75780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015611bc957600080fd5b505af1158015611bdd573d6000803e3d6000fd5b505050506040513d6020811015611bf357600080fd5b5051600160e060020a0319167f150b7a0200000000000000000000000000000000000000000000000000000000149695505050505050565b611c358282611ec6565b600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af015550565b6000821515611c8b57506000610afb565b50818102818382811515611c9b57fe5b0414610afb57fe5b60008183811515611cb057fe5b049392505050565b600082821115611cc457fe5b50900390565b600160a060020a0381161515611cdf57600080fd5b600c54604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b81600160a060020a0316611d5b82610b7d565b600160a060020a031614611d6e57600080fd5b600160a060020a038216600090815260036020526040902054611d9890600163ffffffff611cb816565b600160a060020a03909216600090815260036020908152604080832094909455918152600190915220805473ffffffffffffffffffffffffffffffffffffffff19169055565b600081815260016020526040902054600160a060020a031615611e0057600080fd5b6000818152600160208181526040808420805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0388169081179091558452600390915290912054611e4e91611f21565b600160a060020a0390921660009081526003602052604090209190915550565b611e78828261180a565b611e828282611879565b6040518190600090600160a060020a038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000903b1190565b600160a060020a0382161515611edb57600080fd5b611ee58282611980565b6040518190600160a060020a038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b81810182811015610afb57fe5b608060405190810160405280600081526020016000815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611f9857805160ff1916838001178555611fc5565b82800160010185558215611fc5579182015b82811115611fc5578251825591602001919060010190611faa565b50611fd1929150612039565b5090565b815481835581811115610b1d57600083815260209020610b1d918101908301612039565b50805460018160011615610100020316600290046000825580601f1061201f575061164d565b601f01602090049060005260206000209081019061164d91905b6108bd91905b80821115611fd1576000815560010161203f56004e6577206b75646f7320617265206e6f206c6f6e676572206d696e7461626c65206f6e207468697320636f6e74726163742e2020506c6561736520736565204b55444f535f434f4e54524143545f4d41494e4e455420617420687474703a2f2f676974636f696e2e636f2f6c2f676373657474696e677320666f72206c617465737420616464726573732ea165627a7a723058201cd91d2d1568a312c01a812ad50e25b71f0e7d457c09b6697a5bf2b1034a811c0029
Deployed Bytecode
0x6080604052600436106101ab5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301ffc9a781146101b057806304339140146101e657806306fdde0314610200578063081812fc1461028a578063095ea7b3146102be57806315c6b40a146102e2578063162094c41461030957806318160ddd1461036757806319fa8f501461037c57806323b872dd146103ae578063285d70d4146103d85780632f745c59146103f257806342842e0e1461041657806346b45af7146104405780634f558e79146104555780634f6ccce71461046d5780636352211e14610485578063646d978b1461049d57806370a08231146104db578063715018a6146104fc5780637f180db7146105115780638da5cb5b1461052957806395d89b411461053e5780639dc29fac14610553578063a22cb46514610577578063b88d4fde1461059d578063bb7fde711461060c578063c87b56dd14610678578063e985e9c514610690578063ed74de9d146106b7578063eff91c7e146106d1578063f2fde38b146106e6578063f7d9757714610707578063f876250a14610722575b600080fd5b3480156101bc57600080fd5b506101d2600160e060020a03196004351661073a565b604080519115158252519081900360200190f35b3480156101f257600080fd5b506101fe600435610759565b005b34801561020c57600080fd5b50610215610829565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024f578181015183820152602001610237565b50505050905090810190601f16801561027c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561029657600080fd5b506102a26004356108c0565b60408051600160a060020a039092168252519081900360200190f35b3480156102ca57600080fd5b506101fe600160a060020a03600435166024356108db565b3480156102ee57600080fd5b506102f7610991565b60408051918252519081900360200190f35b34801561031557600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526101fe9583359536956044949193909101919081908401838280828437509497506109979650505050505050565b34801561037357600080fd5b506102f76109bc565b34801561038857600080fd5b506103916109c2565b60408051600160e060020a03199092168252519081900360200190f35b3480156103ba57600080fd5b506101fe600160a060020a03600435811690602435166044356109e6565b3480156103e457600080fd5b506101fe6004351515610a89565b3480156103fe57600080fd5b506102f7600160a060020a0360043516602435610ab3565b34801561042257600080fd5b506101fe600160a060020a0360043581169060243516604435610b01565b34801561044c57600080fd5b506101d2610b22565b34801561046157600080fd5b506101d2600435610b2b565b34801561047957600080fd5b506102f7600435610b48565b34801561049157600080fd5b506102a2600435610b7d565b3480156104a957600080fd5b506104b5600435610ba1565b604080519485526020850193909352838301919091526060830152519081900360800190f35b3480156104e757600080fd5b506102f7600160a060020a0360043516610c11565b34801561050857600080fd5b506101fe610c44565b34801561051d57600080fd5b506104b5600435610cb2565b34801561053557600080fd5b506102a2610cea565b34801561054a57600080fd5b50610215610cf9565b34801561055f57600080fd5b506101fe600160a060020a0360043516602435610d5a565b34801561058357600080fd5b506101fe600160a060020a03600435166024351515610ecd565b3480156105a957600080fd5b50604080516020601f6064356004818101359283018490048402850184019095528184526101fe94600160a060020a038135811695602480359092169560443595369560849401918190840183828082843750949750610f519650505050505050565b34801561061857600080fd5b50604080516020601f6064356004818101359283018490048402850184019095528184526102f794600160a060020a038135169460248035956044359536956084949301918190840183828082843750949750610f799650505050505050565b34801561068457600080fd5b506102156004356110f9565b34801561069c57600080fd5b506101d2600160a060020a03600435811690602435166111ae565b6101fe600160a060020a03600435166024356044356111dc565b3480156106dd57600080fd5b506102f761160e565b3480156106f257600080fd5b506101fe600160a060020a036004351661162d565b34801561071357600080fd5b506101fe600435602435611650565b34801561072e57600080fd5b506102f760043561170f565b600160e060020a03191660009081526020819052604090205460ff1690565b600c54600160a060020a0316331461077057600080fd5b60008110158015610782575060648111155b1515610824576040805160e560020a62461bcd02815260206004820152604160248201527f496e76616c69642072616e676520666f7220636c6f6e6546656550657263656e60448201527f746167652e20204d757374206265206265747765656e203020616e642031303060648201527f2e00000000000000000000000000000000000000000000000000000000000000608482015290519081900360a40190fd5b600e55565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108b55780601f1061088a576101008083540402835291602001916108b5565b820191906000526020600020905b81548152906001019060200180831161089857829003601f168201915b505050505090505b90565b600090815260026020526040902054600160a060020a031690565b60006108e682610b7d565b9050600160a060020a03838116908216141561090157600080fd5b33600160a060020a038216148061091d575061091d81336111ae565b151561092857600080fd5b600082815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600e5481565b600c54600160a060020a031633146109ae57600080fd5b6109b88282611778565b5050565b60095490565b7f01ffc9a70000000000000000000000000000000000000000000000000000000081565b6109f033826117ab565b15156109fb57600080fd5b600160a060020a0383161515610a1057600080fd5b600160a060020a0382161515610a2557600080fd5b610a2f838261180a565b610a398382611879565b610a438282611980565b8082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600c54600160a060020a03163314610aa057600080fd5b600f805460ff1916911515919091179055565b6000610abe83610c11565b8210610ac957600080fd5b600160a060020a0383166000908152600760205260409020805483908110610aed57fe5b906000526020600020015490505b92915050565b610b1d8383836020604051908101604052806000815250610f51565b505050565b600f5460ff1681565b600090815260016020526040902054600160a060020a0316151590565b6000610b526109bc565b8210610b5d57600080fd5b6009805483908110610b6b57fe5b90600052602060002001549050919050565b600081815260016020526040812054600160a060020a0316801515610afb57600080fd5b600080600080610baf611f2e565b600d805487908110610bbd57fe5b60009182526020918290206040805160808101825260049093029091018054808452600182015494840185905260028201549284018390526003909101546060909301839052999298509650945092505050565b6000600160a060020a0382161515610c2857600080fd5b50600160a060020a031660009081526003602052604090205490565b600c54600160a060020a03163314610c5b57600080fd5b600c54604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a2600c805473ffffffffffffffffffffffffffffffffffffffff19169055565b600d805482908110610cc057fe5b60009182526020909120600490910201805460018201546002830154600390930154919350919084565b600c54600160a060020a031681565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108b55780601f1061088a576101008083540402835291602001916108b5565b610d62611f2e565b6000610d6c611f2e565b600c54600160a060020a03163314610d8357600080fd5b600d805485908110610d9157fe5b9060005260206000209060040201608060405190810160405290816000820154815260200160018201548152602001600282015481526020016003820154815250509250826060015191508184141515610e8a57600d805483908110610df357fe5b6000918252602091829020604080516080810182526004909302909101805483526001810154938301939093526002830154600390930154606083015260001990920191810191909152600d8054919250829184908110610e5057fe5b9060005260206000209060040201600082015181600001556020820151816001015560408201518160020155606082015181600301559050505b600d805485908110610e9857fe5b600091825260208220600490910201818155600181018290556002810182905560030155610ec685856119c9565b5050505050565b600160a060020a038216331415610ee357600080fd5b336000818152600460209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b610f5c8484846109e6565b610f6884848484611ac3565b1515610f7357600080fd5b50505050565b6000610f83611f2e565b600f5460ff161515600114610fcc5760405160e560020a62461bcd02815260040180806020018281038252608b815260200180612054608b913960a00191505060405180910390fd5b600c54600160a060020a03163314610fe357600080fd5b50506040805160808101825284815260208101848152600092820183815260608301848152600d8054600181018255958190528451600487027fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb581019190915593517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb685015591517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb7840155517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb8909201919091558054839190829081106110c757fe5b9060005260206000209060040201600301819055506110e68683611c2b565b6110f08284611778565b50949350505050565b606061110482610b2b565b151561110f57600080fd5b6000828152600b602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156111a25780601f10611177576101008083540402835291602001916111a2565b820191906000526020600020905b81548152906001019060200180831161118557829003601f168201915b50505050509050919050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205460ff1690565b6111e4611f2e565b6000806000806111f2611f2e565b600f5460009060609060ff1615156001146112415760405160e560020a62461bcd02815260040180806020018281038252608b815260200180612054608b913960a00191505060405180910390fd5b600d80548b90811061124f57fe5b60009182526020918290206040805160808101825260049093029091018054808452600182015494840185905260028201549284018390526003909101546060840152919a50908b0266038d7ea4c680000298508a011115611347576040805160e560020a62461bcd02815260206004820152604a60248201527f546865206e756d626572206f66204b75646f7320636c6f6e657320726571756560448201527f73746564206578636565647320746865206e756d626572206f6620636c6f6e6560648201527f7320616c6c6f7765642e00000000000000000000000000000000000000000000608482015290519081900360a40190fd5b348711156113c5576040805160e560020a62461bcd02815260206004820152602b60248201527f4e6f7420656e6f7567682057656920746f2070617920666f7220746865204b7560448201527f646f7320636c6f6e65732e000000000000000000000000000000000000000000606482015290519081900360840190fd5b6113eb60646113df600e548a611c7a90919063ffffffff16565b9063ffffffff611ca316565b600c54604051919750600160a060020a03169087156108fc029088906000818181858888f19350505050158015611426573d6000803e3d6000fd5b50611437878763ffffffff611cb816565b94506114428a610b7d565b600160a060020a03166108fc869081150290604051600060405180830381858888f1935050505015801561147a573d6000803e3d6000fd5b506040880180518a019052600d80548991908c90811061149657fe5b906000526020600020906004020160008201518160000155602082015181600101556040820151816002015560608201518160030155905050600093505b888410156115ce578751835260006020840181815260408501828152606086018d8152600d805460018101825594528651600485027fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb581019190915592517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb684015590517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb7830155517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb89091015591506115ae8b83611c2b565b6115b78a6110f9565b90506115c38282611778565b6001909301926114d4565b60405133903488900387900380156108fc02916000818181858888f19350505050158015611600573d6000803e3d6000fd5b505050505050505050505050565b600d546000901515611622575060006108bd565b50600d546000190190565b600c54600160a060020a0316331461164457600080fd5b61164d81611cca565b50565b611658611f2e565b600c54600160a060020a0316331461166f57600080fd5b600d80548490811061167d57fe5b6000918252602091829020604080516080810182526004939093029091016001810154938301939093526002830154908201526003909101546060820152828152600d80549192508291859081106116d157fe5b906000526020600020906004020160008201518160000155602082015181600101556040820151816002015560608201518160030155905050505050565b6000611719611f2e565b600d80548490811061172757fe5b90600052602060002090600402016080604051908101604052908160008201548152602001600182015481526020016002820154815260200160038201548152505090508060400151915050919050565b61178182610b2b565b151561178c57600080fd5b6000828152600b602090815260409091208251610b1d92840190611f57565b6000806117b783610b7d565b905080600160a060020a031684600160a060020a031614806117f2575083600160a060020a03166117e7846108c0565b600160a060020a0316145b80611802575061180281856111ae565b949350505050565b81600160a060020a031661181d82610b7d565b600160a060020a03161461183057600080fd5b600081815260026020526040902054600160a060020a0316156109b8576000908152600260205260409020805473ffffffffffffffffffffffffffffffffffffffff1916905550565b60008060006118888585611d48565b600084815260086020908152604080832054600160a060020a03891684526007909252909120549093506118c390600163ffffffff611cb816565b600160a060020a0386166000908152600760205260409020805491935090839081106118eb57fe5b90600052602060002001549050806007600087600160a060020a0316600160a060020a031681526020019081526020016000208481548110151561192b57fe5b6000918252602080832090910192909255600160a060020a0387168152600790915260409020805490611962906000198301611fd5565b50600093845260086020526040808520859055908452909220555050565b600061198c8383611dde565b50600160a060020a039091166000908152600760209081526040808320805460018101825590845282842081018590559383526008909152902055565b60008060006119d88585611e6e565b6000848152600b60205260409020546002600019610100600184161502019091160415611a16576000848152600b60205260408120611a1691611ff9565b6000848152600a6020526040902054600954909350611a3c90600163ffffffff611cb816565b9150600982815481101515611a4d57fe5b9060005260206000200154905080600984815481101515611a6a57fe5b60009182526020822001919091556009805484908110611a8657fe5b6000918252602090912001556009805490611aa5906000198301611fd5565b506000938452600a6020526040808520859055908452909220555050565b600080611ad885600160a060020a0316611ebe565b1515611ae757600191506110f0565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081523360048201818152600160a060020a03898116602485015260448401889052608060648501908152875160848601528751918a169463150b7a0294938c938b938b93909160a490910190602085019080838360005b83811015611b7a578181015183820152602001611b62565b50505050905090810190601f168015611ba75780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015611bc957600080fd5b505af1158015611bdd573d6000803e3d6000fd5b505050506040513d6020811015611bf357600080fd5b5051600160e060020a0319167f150b7a0200000000000000000000000000000000000000000000000000000000149695505050505050565b611c358282611ec6565b600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af015550565b6000821515611c8b57506000610afb565b50818102818382811515611c9b57fe5b0414610afb57fe5b60008183811515611cb057fe5b049392505050565b600082821115611cc457fe5b50900390565b600160a060020a0381161515611cdf57600080fd5b600c54604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b81600160a060020a0316611d5b82610b7d565b600160a060020a031614611d6e57600080fd5b600160a060020a038216600090815260036020526040902054611d9890600163ffffffff611cb816565b600160a060020a03909216600090815260036020908152604080832094909455918152600190915220805473ffffffffffffffffffffffffffffffffffffffff19169055565b600081815260016020526040902054600160a060020a031615611e0057600080fd5b6000818152600160208181526040808420805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0388169081179091558452600390915290912054611e4e91611f21565b600160a060020a0390921660009081526003602052604090209190915550565b611e78828261180a565b611e828282611879565b6040518190600090600160a060020a038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000903b1190565b600160a060020a0382161515611edb57600080fd5b611ee58282611980565b6040518190600160a060020a038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b81810182811015610afb57fe5b608060405190810160405280600081526020016000815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611f9857805160ff1916838001178555611fc5565b82800160010185558215611fc5579182015b82811115611fc5578251825591602001919060010190611faa565b50611fd1929150612039565b5090565b815481835581811115610b1d57600083815260209020610b1d918101908301612039565b50805460018160011615610100020316600290046000825580601f1061201f575061164d565b601f01602090049060005260206000209081019061164d91905b6108bd91905b80821115611fd1576000815560010161203f56004e6577206b75646f7320617265206e6f206c6f6e676572206d696e7461626c65206f6e207468697320636f6e74726163742e2020506c6561736520736565204b55444f535f434f4e54524143545f4d41494e4e455420617420687474703a2f2f676974636f696e2e636f2f6c2f676373657474696e677320666f72206c617465737420616464726573732ea165627a7a723058201cd91d2d1568a312c01a812ad50e25b71f0e7d457c09b6697a5bf2b1034a811c0029
Loading...
Loading
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
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.