More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 4 from a total of 4 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 39342288 | 21 days ago | IN | 0 xDAI | 0.00002958 | ||||
Set Approval For... | 38911291 | 46 days ago | IN | 0 xDAI | 0.00002391 | ||||
Set Approval For... | 38911288 | 46 days ago | IN | 0 xDAI | 0.00002391 | ||||
Set Approval For... | 38188825 | 89 days ago | IN | 0 xDAI | 0.0000249 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
23917439 | 969 days ago | 0.001 xDAI | ||||
22656247 | 1043 days ago | 0.001 xDAI | ||||
22650810 | 1044 days ago | 0.001 xDAI | ||||
22650775 | 1044 days ago | 0.005 xDAI | ||||
22650753 | 1044 days ago | 0.001 xDAI | ||||
22650719 | 1044 days ago | 0.005 xDAI | ||||
22650527 | 1044 days ago | 0.003 xDAI | ||||
22650476 | 1044 days ago | 0.005 xDAI | ||||
22650395 | 1044 days ago | 0.004 xDAI | ||||
22646511 | 1044 days ago | 0.003 xDAI | ||||
22646339 | 1044 days ago | 0.005 xDAI | ||||
22645978 | 1044 days ago | 0.005 xDAI | ||||
22645915 | 1044 days ago | 0.004 xDAI | ||||
22644223 | 1044 days ago | 0.003 xDAI | ||||
22643518 | 1044 days ago | 0.001 xDAI | ||||
22643489 | 1044 days ago | 0.001 xDAI | ||||
22643394 | 1044 days ago | 0.003 xDAI | ||||
22642803 | 1044 days ago | 0.004 xDAI | ||||
22640397 | 1044 days ago | 0.005 xDAI | ||||
22640216 | 1044 days ago | 0.004 xDAI | ||||
22640178 | 1044 days ago | 0.004 xDAI | ||||
22639688 | 1044 days ago | 0.005 xDAI | ||||
22638692 | 1044 days ago | 0.005 xDAI | ||||
22638207 | 1045 days ago | 0.001 xDAI | ||||
22637999 | 1045 days ago | 0.005 xDAI |
Loading...
Loading
Contract Name:
Kudos
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
No 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("KudosToken", "KDO"), Ownable { using SafeMath for uint256; struct Kudo { uint256 priceFinney; uint256 numClonesAllowed; uint256 numClonesInWild; uint256 clonedFromId; } Kudo[] public kudos; uint256 public cloneFeePercentage = 10; 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
6080604052600a600e556001600f60006101000a81548160ff0219169083151502179055503480156200003157600080fd5b506200003c620003a4565b6040805190810160405280600a81526020017f4b75646f73546f6b656e000000000000000000000000000000000000000000008152506040805190810160405280600381526020017f4b444f0000000000000000000000000000000000000000000000000000000000815250620000e56301ffc9a77c010000000000000000000000000000000000000000000000000000000002620002e6640100000000026401000000009004565b620001226380ac58cd7c010000000000000000000000000000000000000000000000000000000002620002e6640100000000026401000000009004565b6200015f634f558e797c010000000000000000000000000000000000000000000000000000000002620002e6640100000000026401000000009004565b816005908051906020019062000177929190620003cd565b50806006908051906020019062000190929190620003cd565b50620001ce63780e9d637c010000000000000000000000000000000000000000000000000000000002620002e6640100000000026401000000009004565b6200020b635b5e139f7c010000000000000000000000000000000000000000000000000000000002620002e6640100000000026401000000009004565b505033600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600d805490501415620002df5760806040519081016040528060008152602001600081526020016000815260200160008152509050600d8190806001815401808255809150509060018203906000526020600020906004020160009091929091909150600082015181600001556020820151816001015560408201518160020155606082015181600301555050505b506200047c565b63ffffffff7c010000000000000000000000000000000000000000000000000000000002817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141515156200033857600080fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b608060405190810160405280600081526020016000815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200041057805160ff191683800117855562000441565b8280016001018555821562000441579182015b828111156200044057825182559160200191906001019062000423565b5b50905062000450919062000454565b5090565b6200047991905b80821115620004755760008160009055506001016200045b565b5090565b90565b6134b0806200048c6000396000f3006080604052600436106101ac576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806301ffc9a7146101b1578063043391401461021557806306fdde0314610242578063081812fc146102d2578063095ea7b31461033f57806315c6b40a1461038c578063162094c4146103b757806318160ddd1461042a57806319fa8f501461045557806323b872dd146104be578063285d70d41461052b5780632f745c591461055a57806342842e0e146105bb57806346b45af7146106285780634f558e79146106575780634f6ccce71461069c5780636352211e146106dd578063646d978b1461074a57806370a08231146107a0578063715018a6146107f75780637f180db71461080e5780638da5cb5b1461086457806395d89b41146108bb5780639dc29fac1461094b578063a22cb46514610998578063b88d4fde146109e7578063bb7fde7114610a9a578063c87b56dd14610b4b578063e985e9c514610bf1578063ed74de9d14610c6c578063eff91c7e14610cb6578063f2fde38b14610ce1578063f7d9757714610d24578063f876250a14610d5b575b600080fd5b3480156101bd57600080fd5b506101fb60048036038101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610d9c565b604051808215151515815260200191505060405180910390f35b34801561022157600080fd5b5061024060048036038101908080359060200190929190505050610e03565b005b34801561024e57600080fd5b50610257610f3b565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561029757808201518184015260208101905061027c565b50505050905090810190601f1680156102c45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102de57600080fd5b506102fd60048036038101908080359060200190929190505050610fdd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561034b57600080fd5b5061038a600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061101a565b005b34801561039857600080fd5b506103a161115f565b6040518082815260200191505060405180910390f35b3480156103c357600080fd5b5061042860048036038101908080359060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611165565b005b34801561043657600080fd5b5061043f6111cf565b6040518082815260200191505060405180910390f35b34801561046157600080fd5b5061046a6111dc565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b3480156104ca57600080fd5b50610529600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611203565b005b34801561053757600080fd5b5061055860048036038101908080351515906020019092919050505061130e565b005b34801561056657600080fd5b506105a5600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611387565b6040518082815260200191505060405180910390f35b3480156105c757600080fd5b50610626600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506113fe565b005b34801561063457600080fd5b5061063d61141f565b604051808215151515815260200191505060405180910390f35b34801561066357600080fd5b5061068260048036038101908080359060200190929190505050611432565b604051808215151515815260200191505060405180910390f35b3480156106a857600080fd5b506106c7600480360381019080803590602001909291905050506114a4565b6040518082815260200191505060405180910390f35b3480156106e957600080fd5b50610708600480360381019080803590602001909291905050506114dc565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561075657600080fd5b506107756004803603810190808035906020019092919050505061155a565b6040518085815260200184815260200183815260200182815260200194505050505060405180910390f35b3480156107ac57600080fd5b506107e1600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115df565b6040518082815260200191505060405180910390f35b34801561080357600080fd5b5061080c611663565b005b34801561081a57600080fd5b5061083960048036038101908080359060200190929190505050611768565b6040518085815260200184815260200183815260200182815260200194505050505060405180910390f35b34801561087057600080fd5b506108796117a7565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156108c757600080fd5b506108d06117cd565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156109105780820151818401526020810190506108f5565b50505050905090810190601f16801561093d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561095757600080fd5b50610996600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061186f565b005b3480156109a457600080fd5b506109e5600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050611a3f565b005b3480156109f357600080fd5b50610a98600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611b7b565b005b348015610aa657600080fd5b50610b35600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611ba3565b6040518082815260200191505060405180910390f35b348015610b5757600080fd5b50610b7660048036038101908080359060200190929190505050611d3c565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610bb6578082015181840152602081019050610b9b565b50505050905090810190601f168015610be35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610bfd57600080fd5b50610c52600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e05565b604051808215151515815260200191505060405180910390f35b610cb4600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190505050611e99565b005b348015610cc257600080fd5b50610ccb61235e565b6040518082815260200191505060405180910390f35b348015610ced57600080fd5b50610d22600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612385565b005b348015610d3057600080fd5b50610d5960048036038101908080359060200190929190803590602001909291905050506123ed565b005b348015610d6757600080fd5b50610d86600480360381019080803590602001909291905050506124fc565b6040518082815260200191505060405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e5f57600080fd5b60008110158015610e71575060648111155b1515610f31576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260418152602001807f496e76616c69642072616e676520666f7220636c6f6e6546656550657263656e81526020017f746167652e20204d757374206265206265747765656e203020616e642031303081526020017f2e0000000000000000000000000000000000000000000000000000000000000081525060600191505060405180910390fd5b80600e8190555050565b606060058054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610fd35780601f10610fa857610100808354040283529160200191610fd3565b820191906000526020600020905b815481529060010190602001808311610fb657829003601f168201915b5050505050905090565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000611025826114dc565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415151561106257600080fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110a257506110a18133611e05565b5b15156110ad57600080fd5b826002600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600e5481565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111c157600080fd5b6111cb8282612566565b5050565b6000600980549050905090565b6301ffc9a77c01000000000000000000000000000000000000000000000000000000000281565b61120d33826125a6565b151561121857600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415151561125457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415151561129057600080fd5b61129a838261263b565b6112a4838261273e565b6112ae82826128fa565b808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561136a57600080fd5b80600f60006101000a81548160ff02191690831515021790555050565b6000611392836115df565b8210151561139f57600080fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828154811015156113eb57fe5b9060005260206000200154905092915050565b61141a8383836020604051908101604052806000815250611b7b565b505050565b600f60009054906101000a900460ff1681565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415915050919050565b60006114ae6111cf565b821015156114bb57600080fd5b6009828154811015156114ca57fe5b90600052602060002001549050919050565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561155157600080fd5b80915050919050565b6000806000806115686132b7565b600d8681548110151561157757fe5b906000526020600020906004020160806040519081016040529081600082015481526020016001820154815260200160028201548152602001600382015481525050905080600001519450806020015193508060400151925080606001519150509193509193565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415151561161c57600080fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156116bf57600080fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482060405160405180910390a26000600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600d8181548110151561177757fe5b90600052602060002090600402016000915090508060000154908060010154908060020154908060030154905084565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156118655780601f1061183a57610100808354040283529160200191611865565b820191906000526020600020905b81548152906001019060200180831161184857829003601f168201915b5050505050905090565b6118776132b7565b60006118816132b7565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156118dd57600080fd5b600d848154811015156118ec57fe5b90600052602060002090600402016080604051908101604052908160008201548152602001600182015481526020016002820154815260200160038201548152505092508260600151915081841415156119ee57600d8281548110151561194f57fe5b9060005260206000209060040201608060405190810160405290816000820154815260200160018201548152602001600282015481526020016003820154815250509050600181604001818151039150818152505080600d838154811015156119b457fe5b9060005260206000209060040201600082015181600001556020820151816001015560408201518160020155606082015181600301559050505b600d848154811015156119fd57fe5b90600052602060002090600402016000808201600090556001820160009055600282016000905560038201600090555050611a3885856129d1565b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515611a7a57600080fd5b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051808215151515815260200191505060405180910390a35050565b611b86848484611203565b611b9284848484612b09565b1515611b9d57600080fd5b50505050565b6000611bad6132b7565b60011515600f60009054906101000a900460ff161515141515611c1b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252608b8152602001806133fa608b913960a00191505060405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611c7757600080fd5b60806040519081016040528086815260200185815260200160008152602001600081525090506001600d829080600181540180825580915050906001820390600052602060002090600402016000909192909190915060008201518160000155602082015181600101556040820151816002015560608201518160030155505003915081600d83815481101515611d0a57fe5b906000526020600020906004020160030181905550611d298683612d2b565b611d338284612566565b50949350505050565b6060611d4782611432565b1515611d5257600080fd5b600b60008381526020019081526020016000208054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611df95780601f10611dce57610100808354040283529160200191611df9565b820191906000526020600020905b815481529060010190602001808311611ddc57829003601f168201915b50505050509050919050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ea16132b7565b600080600080611eaf6132b7565b6000606060011515600f60009054906101000a900460ff161515141515611f21576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252608b8152602001806133fa608b913960a00191505060405180910390fd5b600d8a815481101515611f3057fe5b90600052602060002090600402016080604051908101604052908160008201548152602001600182015481526020016002820154815260200160038201548152505097508866038d7ea4c6800089600001510202965087602001518989604001510111151515612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252604a8152602001807f546865206e756d626572206f66204b75646f7320636c6f6e657320726571756581526020017f73746564206578636565647320746865206e756d626572206f6620636c6f6e6581526020017f7320616c6c6f7765642e0000000000000000000000000000000000000000000081525060600191505060405180910390fd5b8634101515156120f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001807f4e6f7420656e6f7567682057656920746f2070617920666f7220746865204b7581526020017f646f7320636c6f6e65732e00000000000000000000000000000000000000000081525060400191505060405180910390fd5b61211a606461210c600e548a612d8290919063ffffffff16565b612dba90919063ffffffff16565b9550600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f19350505050158015612184573d6000803e3d6000fd5b506121988688612dd090919063ffffffff16565b94506121a38a6114dc565b73ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f193505050501580156121e8573d6000803e3d6000fd5b508888604001818151019150818152505087600d8b81548110151561220957fe5b906000526020600020906004020160008201518160000155602082015181600101556040820151816002015560608201518160030155905050600093505b8884101561230657876000015183600001818152505060008360200181815250506000836040018181525050898360600181815250506001600d84908060018154018082558091505090600182039060005260206000209060040201600090919290919091506000820151816000015560208201518160010155604082015181600201556060820151816003015550500391506122e48b83612d2b565b6122ed8a611d3c565b90506122f98282612566565b8380600101945050612247565b3373ffffffffffffffffffffffffffffffffffffffff166108fc86883403039081150290604051600060405180830381858888f19350505050158015612350573d6000803e3d6000fd5b505050505050505050505050565b600080600d8054905014156123765760009050612382565b6001600d805490500390505b90565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156123e157600080fd5b6123ea81612de9565b50565b6123f56132b7565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561245157600080fd5b600d8381548110151561246057fe5b90600052602060002090600402016080604051908101604052908160008201548152602001600182015481526020016002820154815260200160038201548152505090508181600001818152505080600d848154811015156124be57fe5b906000526020600020906004020160008201518160000155602082015181600101556040820151816002015560608201518160030155905050505050565b60006125066132b7565b600d8381548110151561251557fe5b90600052602060002090600402016080604051908101604052908160008201548152602001600182015481526020016002820154815260200160038201548152505090508060400151915050919050565b61256f82611432565b151561257a57600080fd5b80600b600084815260200190815260200160002090805190602001906125a19291906132e0565b505050565b6000806125b2836114dc565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061262157508373ffffffffffffffffffffffffffffffffffffffff1661260984610fdd565b73ffffffffffffffffffffffffffffffffffffffff16145b8061263257506126318185611e05565b5b91505092915050565b8173ffffffffffffffffffffffffffffffffffffffff1661265b826114dc565b73ffffffffffffffffffffffffffffffffffffffff1614151561267d57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561273a5760006002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050565b600080600061274d8585612ee5565b600860008581526020019081526020016000205492506127b96001600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050612dd090919063ffffffff16565b9150600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110151561280757fe5b9060005260206000200154905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208481548110151561286157fe5b9060005260206000200181905550600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054809190600190036128c19190613360565b50600060086000868152602001908152602001600020819055508260086000838152602001908152602001600020819055505050505050565b60006129068383613014565b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020829080600181540180825580915050906001820390600052602060002001600090919290919091505550806008600084815260200190815260200160002081905550505050565b60008060006129e0858561316e565b6000600b6000868152602001908152602001600020805460018160011615610100020316600290049050141515612a3157600b60008581526020019081526020016000206000612a30919061338c565b5b600a6000858152602001908152602001600020549250612a606001600980549050612dd090919063ffffffff16565b9150600982815481101515612a7157fe5b9060005260206000200154905080600984815481101515612a8e57fe5b90600052602060002001819055506000600983815481101515612aad57fe5b90600052602060002001819055506009805480919060019003612ad09190613360565b506000600a60008681526020019081526020016000208190555082600a6000838152602001908152602001600020819055505050505050565b600080612b2b8573ffffffffffffffffffffffffffffffffffffffff166131e2565b1515612b3a5760019150612d22565b8473ffffffffffffffffffffffffffffffffffffffff1663150b7a02338887876040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612c2f578082015181840152602081019050612c14565b50505050905090810190601f168015612c5c5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015612c7e57600080fd5b505af1158015612c92573d6000803e3d6000fd5b505050506040513d6020811015612ca857600080fd5b8101908080519060200190929190505050905063150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505b50949350505050565b612d3582826131f5565b600980549050600a60008381526020019081526020016000208190555060098190806001815401808255809150509060018203906000526020600020016000909192909190915055505050565b600080831415612d955760009050612db4565b8183029050818382811515612da657fe5b04141515612db057fe5b8090505b92915050565b60008183811515612dc757fe5b04905092915050565b6000828211151515612dde57fe5b818303905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515612e2557600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8173ffffffffffffffffffffffffffffffffffffffff16612f05826114dc565b73ffffffffffffffffffffffffffffffffffffffff16141515612f2757600080fd5b612f7a6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612dd090919063ffffffff16565b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600073ffffffffffffffffffffffffffffffffffffffff166001600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561308257600080fd5b816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506131276001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461329b90919063ffffffff16565b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b613178828261263b565b613182828261273e565b80600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415151561323157600080fd5b61323b82826128fa565b808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081830190508281101515156132ae57fe5b80905092915050565b608060405190810160405280600081526020016000815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061332157805160ff191683800117855561334f565b8280016001018555821561334f579182015b8281111561334e578251825591602001919060010190613333565b5b50905061335c91906133d4565b5090565b8154818355818111156133875781836000526020600020918201910161338691906133d4565b5b505050565b50805460018160011615610100020316600290046000825580601f106133b257506133d1565b601f0160209004906000526020600020908101906133d091906133d4565b5b50565b6133f691905b808211156133f25760008160009055506001016133da565b5090565b9056004e6577206b75646f7320617265206e6f206c6f6e676572206d696e7461626c65206f6e207468697320636f6e74726163742e2020506c6561736520736565204b55444f535f434f4e54524143545f4d41494e4e455420617420687474703a2f2f676974636f696e2e636f2f6c2f676373657474696e677320666f72206c617465737420616464726573732ea165627a7a72305820425a596b7f8f274c87d33cf35a6e7b32acdf7be52dbbb223ed7453675ecec90c0029
Deployed Bytecode
0x6080604052600436106101ac576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806301ffc9a7146101b1578063043391401461021557806306fdde0314610242578063081812fc146102d2578063095ea7b31461033f57806315c6b40a1461038c578063162094c4146103b757806318160ddd1461042a57806319fa8f501461045557806323b872dd146104be578063285d70d41461052b5780632f745c591461055a57806342842e0e146105bb57806346b45af7146106285780634f558e79146106575780634f6ccce71461069c5780636352211e146106dd578063646d978b1461074a57806370a08231146107a0578063715018a6146107f75780637f180db71461080e5780638da5cb5b1461086457806395d89b41146108bb5780639dc29fac1461094b578063a22cb46514610998578063b88d4fde146109e7578063bb7fde7114610a9a578063c87b56dd14610b4b578063e985e9c514610bf1578063ed74de9d14610c6c578063eff91c7e14610cb6578063f2fde38b14610ce1578063f7d9757714610d24578063f876250a14610d5b575b600080fd5b3480156101bd57600080fd5b506101fb60048036038101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610d9c565b604051808215151515815260200191505060405180910390f35b34801561022157600080fd5b5061024060048036038101908080359060200190929190505050610e03565b005b34801561024e57600080fd5b50610257610f3b565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561029757808201518184015260208101905061027c565b50505050905090810190601f1680156102c45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102de57600080fd5b506102fd60048036038101908080359060200190929190505050610fdd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561034b57600080fd5b5061038a600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061101a565b005b34801561039857600080fd5b506103a161115f565b6040518082815260200191505060405180910390f35b3480156103c357600080fd5b5061042860048036038101908080359060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611165565b005b34801561043657600080fd5b5061043f6111cf565b6040518082815260200191505060405180910390f35b34801561046157600080fd5b5061046a6111dc565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b3480156104ca57600080fd5b50610529600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611203565b005b34801561053757600080fd5b5061055860048036038101908080351515906020019092919050505061130e565b005b34801561056657600080fd5b506105a5600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611387565b6040518082815260200191505060405180910390f35b3480156105c757600080fd5b50610626600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506113fe565b005b34801561063457600080fd5b5061063d61141f565b604051808215151515815260200191505060405180910390f35b34801561066357600080fd5b5061068260048036038101908080359060200190929190505050611432565b604051808215151515815260200191505060405180910390f35b3480156106a857600080fd5b506106c7600480360381019080803590602001909291905050506114a4565b6040518082815260200191505060405180910390f35b3480156106e957600080fd5b50610708600480360381019080803590602001909291905050506114dc565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561075657600080fd5b506107756004803603810190808035906020019092919050505061155a565b6040518085815260200184815260200183815260200182815260200194505050505060405180910390f35b3480156107ac57600080fd5b506107e1600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115df565b6040518082815260200191505060405180910390f35b34801561080357600080fd5b5061080c611663565b005b34801561081a57600080fd5b5061083960048036038101908080359060200190929190505050611768565b6040518085815260200184815260200183815260200182815260200194505050505060405180910390f35b34801561087057600080fd5b506108796117a7565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156108c757600080fd5b506108d06117cd565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156109105780820151818401526020810190506108f5565b50505050905090810190601f16801561093d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561095757600080fd5b50610996600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061186f565b005b3480156109a457600080fd5b506109e5600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050611a3f565b005b3480156109f357600080fd5b50610a98600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611b7b565b005b348015610aa657600080fd5b50610b35600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611ba3565b6040518082815260200191505060405180910390f35b348015610b5757600080fd5b50610b7660048036038101908080359060200190929190505050611d3c565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610bb6578082015181840152602081019050610b9b565b50505050905090810190601f168015610be35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610bfd57600080fd5b50610c52600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e05565b604051808215151515815260200191505060405180910390f35b610cb4600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190505050611e99565b005b348015610cc257600080fd5b50610ccb61235e565b6040518082815260200191505060405180910390f35b348015610ced57600080fd5b50610d22600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612385565b005b348015610d3057600080fd5b50610d5960048036038101908080359060200190929190803590602001909291905050506123ed565b005b348015610d6757600080fd5b50610d86600480360381019080803590602001909291905050506124fc565b6040518082815260200191505060405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e5f57600080fd5b60008110158015610e71575060648111155b1515610f31576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260418152602001807f496e76616c69642072616e676520666f7220636c6f6e6546656550657263656e81526020017f746167652e20204d757374206265206265747765656e203020616e642031303081526020017f2e0000000000000000000000000000000000000000000000000000000000000081525060600191505060405180910390fd5b80600e8190555050565b606060058054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610fd35780601f10610fa857610100808354040283529160200191610fd3565b820191906000526020600020905b815481529060010190602001808311610fb657829003601f168201915b5050505050905090565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000611025826114dc565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415151561106257600080fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110a257506110a18133611e05565b5b15156110ad57600080fd5b826002600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600e5481565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111c157600080fd5b6111cb8282612566565b5050565b6000600980549050905090565b6301ffc9a77c01000000000000000000000000000000000000000000000000000000000281565b61120d33826125a6565b151561121857600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415151561125457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415151561129057600080fd5b61129a838261263b565b6112a4838261273e565b6112ae82826128fa565b808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561136a57600080fd5b80600f60006101000a81548160ff02191690831515021790555050565b6000611392836115df565b8210151561139f57600080fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828154811015156113eb57fe5b9060005260206000200154905092915050565b61141a8383836020604051908101604052806000815250611b7b565b505050565b600f60009054906101000a900460ff1681565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415915050919050565b60006114ae6111cf565b821015156114bb57600080fd5b6009828154811015156114ca57fe5b90600052602060002001549050919050565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561155157600080fd5b80915050919050565b6000806000806115686132b7565b600d8681548110151561157757fe5b906000526020600020906004020160806040519081016040529081600082015481526020016001820154815260200160028201548152602001600382015481525050905080600001519450806020015193508060400151925080606001519150509193509193565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415151561161c57600080fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156116bf57600080fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482060405160405180910390a26000600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600d8181548110151561177757fe5b90600052602060002090600402016000915090508060000154908060010154908060020154908060030154905084565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156118655780601f1061183a57610100808354040283529160200191611865565b820191906000526020600020905b81548152906001019060200180831161184857829003601f168201915b5050505050905090565b6118776132b7565b60006118816132b7565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156118dd57600080fd5b600d848154811015156118ec57fe5b90600052602060002090600402016080604051908101604052908160008201548152602001600182015481526020016002820154815260200160038201548152505092508260600151915081841415156119ee57600d8281548110151561194f57fe5b9060005260206000209060040201608060405190810160405290816000820154815260200160018201548152602001600282015481526020016003820154815250509050600181604001818151039150818152505080600d838154811015156119b457fe5b9060005260206000209060040201600082015181600001556020820151816001015560408201518160020155606082015181600301559050505b600d848154811015156119fd57fe5b90600052602060002090600402016000808201600090556001820160009055600282016000905560038201600090555050611a3885856129d1565b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515611a7a57600080fd5b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051808215151515815260200191505060405180910390a35050565b611b86848484611203565b611b9284848484612b09565b1515611b9d57600080fd5b50505050565b6000611bad6132b7565b60011515600f60009054906101000a900460ff161515141515611c1b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252608b8152602001806133fa608b913960a00191505060405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611c7757600080fd5b60806040519081016040528086815260200185815260200160008152602001600081525090506001600d829080600181540180825580915050906001820390600052602060002090600402016000909192909190915060008201518160000155602082015181600101556040820151816002015560608201518160030155505003915081600d83815481101515611d0a57fe5b906000526020600020906004020160030181905550611d298683612d2b565b611d338284612566565b50949350505050565b6060611d4782611432565b1515611d5257600080fd5b600b60008381526020019081526020016000208054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611df95780601f10611dce57610100808354040283529160200191611df9565b820191906000526020600020905b815481529060010190602001808311611ddc57829003601f168201915b50505050509050919050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ea16132b7565b600080600080611eaf6132b7565b6000606060011515600f60009054906101000a900460ff161515141515611f21576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252608b8152602001806133fa608b913960a00191505060405180910390fd5b600d8a815481101515611f3057fe5b90600052602060002090600402016080604051908101604052908160008201548152602001600182015481526020016002820154815260200160038201548152505097508866038d7ea4c6800089600001510202965087602001518989604001510111151515612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252604a8152602001807f546865206e756d626572206f66204b75646f7320636c6f6e657320726571756581526020017f73746564206578636565647320746865206e756d626572206f6620636c6f6e6581526020017f7320616c6c6f7765642e0000000000000000000000000000000000000000000081525060600191505060405180910390fd5b8634101515156120f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001807f4e6f7420656e6f7567682057656920746f2070617920666f7220746865204b7581526020017f646f7320636c6f6e65732e00000000000000000000000000000000000000000081525060400191505060405180910390fd5b61211a606461210c600e548a612d8290919063ffffffff16565b612dba90919063ffffffff16565b9550600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f19350505050158015612184573d6000803e3d6000fd5b506121988688612dd090919063ffffffff16565b94506121a38a6114dc565b73ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f193505050501580156121e8573d6000803e3d6000fd5b508888604001818151019150818152505087600d8b81548110151561220957fe5b906000526020600020906004020160008201518160000155602082015181600101556040820151816002015560608201518160030155905050600093505b8884101561230657876000015183600001818152505060008360200181815250506000836040018181525050898360600181815250506001600d84908060018154018082558091505090600182039060005260206000209060040201600090919290919091506000820151816000015560208201518160010155604082015181600201556060820151816003015550500391506122e48b83612d2b565b6122ed8a611d3c565b90506122f98282612566565b8380600101945050612247565b3373ffffffffffffffffffffffffffffffffffffffff166108fc86883403039081150290604051600060405180830381858888f19350505050158015612350573d6000803e3d6000fd5b505050505050505050505050565b600080600d8054905014156123765760009050612382565b6001600d805490500390505b90565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156123e157600080fd5b6123ea81612de9565b50565b6123f56132b7565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561245157600080fd5b600d8381548110151561246057fe5b90600052602060002090600402016080604051908101604052908160008201548152602001600182015481526020016002820154815260200160038201548152505090508181600001818152505080600d848154811015156124be57fe5b906000526020600020906004020160008201518160000155602082015181600101556040820151816002015560608201518160030155905050505050565b60006125066132b7565b600d8381548110151561251557fe5b90600052602060002090600402016080604051908101604052908160008201548152602001600182015481526020016002820154815260200160038201548152505090508060400151915050919050565b61256f82611432565b151561257a57600080fd5b80600b600084815260200190815260200160002090805190602001906125a19291906132e0565b505050565b6000806125b2836114dc565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061262157508373ffffffffffffffffffffffffffffffffffffffff1661260984610fdd565b73ffffffffffffffffffffffffffffffffffffffff16145b8061263257506126318185611e05565b5b91505092915050565b8173ffffffffffffffffffffffffffffffffffffffff1661265b826114dc565b73ffffffffffffffffffffffffffffffffffffffff1614151561267d57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561273a5760006002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050565b600080600061274d8585612ee5565b600860008581526020019081526020016000205492506127b96001600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050612dd090919063ffffffff16565b9150600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110151561280757fe5b9060005260206000200154905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208481548110151561286157fe5b9060005260206000200181905550600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054809190600190036128c19190613360565b50600060086000868152602001908152602001600020819055508260086000838152602001908152602001600020819055505050505050565b60006129068383613014565b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020829080600181540180825580915050906001820390600052602060002001600090919290919091505550806008600084815260200190815260200160002081905550505050565b60008060006129e0858561316e565b6000600b6000868152602001908152602001600020805460018160011615610100020316600290049050141515612a3157600b60008581526020019081526020016000206000612a30919061338c565b5b600a6000858152602001908152602001600020549250612a606001600980549050612dd090919063ffffffff16565b9150600982815481101515612a7157fe5b9060005260206000200154905080600984815481101515612a8e57fe5b90600052602060002001819055506000600983815481101515612aad57fe5b90600052602060002001819055506009805480919060019003612ad09190613360565b506000600a60008681526020019081526020016000208190555082600a6000838152602001908152602001600020819055505050505050565b600080612b2b8573ffffffffffffffffffffffffffffffffffffffff166131e2565b1515612b3a5760019150612d22565b8473ffffffffffffffffffffffffffffffffffffffff1663150b7a02338887876040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612c2f578082015181840152602081019050612c14565b50505050905090810190601f168015612c5c5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015612c7e57600080fd5b505af1158015612c92573d6000803e3d6000fd5b505050506040513d6020811015612ca857600080fd5b8101908080519060200190929190505050905063150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505b50949350505050565b612d3582826131f5565b600980549050600a60008381526020019081526020016000208190555060098190806001815401808255809150509060018203906000526020600020016000909192909190915055505050565b600080831415612d955760009050612db4565b8183029050818382811515612da657fe5b04141515612db057fe5b8090505b92915050565b60008183811515612dc757fe5b04905092915050565b6000828211151515612dde57fe5b818303905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515612e2557600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8173ffffffffffffffffffffffffffffffffffffffff16612f05826114dc565b73ffffffffffffffffffffffffffffffffffffffff16141515612f2757600080fd5b612f7a6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612dd090919063ffffffff16565b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600073ffffffffffffffffffffffffffffffffffffffff166001600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561308257600080fd5b816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506131276001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461329b90919063ffffffff16565b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b613178828261263b565b613182828261273e565b80600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415151561323157600080fd5b61323b82826128fa565b808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081830190508281101515156132ae57fe5b80905092915050565b608060405190810160405280600081526020016000815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061332157805160ff191683800117855561334f565b8280016001018555821561334f579182015b8281111561334e578251825591602001919060010190613333565b5b50905061335c91906133d4565b5090565b8154818355818111156133875781836000526020600020918201910161338691906133d4565b5b505050565b50805460018160011615610100020316600290046000825580601f106133b257506133d1565b601f0160209004906000526020600020908101906133d091906133d4565b5b50565b6133f691905b808211156133f25760008160009055506001016133da565b5090565b9056004e6577206b75646f7320617265206e6f206c6f6e676572206d696e7461626c65206f6e207468697320636f6e74726163742e2020506c6561736520736565204b55444f535f434f4e54524143545f4d41494e4e455420617420687474703a2f2f676974636f696e2e636f2f6c2f676373657474696e677320666f72206c617465737420616464726573732ea165627a7a72305820425a596b7f8f274c87d33cf35a6e7b32acdf7be52dbbb223ed7453675ecec90c0029
Loading...
Loading
Loading...
Loading
OVERVIEW
Kudos is a new way to show appreciation and build relationships.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.