Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 619 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer Ownersh... | 13145723 | 1208 days ago | IN | 0 ETH | 0.0028661 | ||||
Withdraw | 13145720 | 1208 days ago | IN | 0 ETH | 0.00292836 | ||||
Reclaim | 11237811 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237811 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237811 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237811 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237811 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237811 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237811 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237811 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237811 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237811 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237811 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237811 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237811 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237811 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237811 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237754 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237754 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237754 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237749 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237749 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237748 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237748 | 1503 days ago | IN | 0 ETH | 0.002397 | ||||
Reclaim | 11237748 | 1503 days ago | IN | 0 ETH | 0.002397 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
13145720 | 1208 days ago | 19.74 ETH |
Loading...
Loading
Contract Name:
AlpacaPresaleV2
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-11-06 */ // Dependency file: @openzeppelin/contracts/introspection/IERC165.sol // SPDX-License-Identifier: MIT // pragma solidity ^0.6.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // Dependency file: @openzeppelin/contracts/token/ERC1155/IERC1155.sol // pragma solidity ^0.6.2; // import "@openzeppelin/contracts/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external; } // Dependency file: @openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol // pragma solidity ^0.6.0; // import "@openzeppelin/contracts/introspection/IERC165.sol"; /** * _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns(bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns(bytes4); } // Dependency file: @openzeppelin/contracts/introspection/ERC165.sol // pragma solidity ^0.6.0; // import "@openzeppelin/contracts/introspection/IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // Dependency file: @openzeppelin/contracts/token/ERC1155/ERC1155Receiver.sol // pragma solidity ^0.6.0; // import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; // import "@openzeppelin/contracts/introspection/ERC165.sol"; /** * @dev _Available since v3.1._ */ abstract contract ERC1155Receiver is ERC165, IERC1155Receiver { constructor() public { _registerInterface( ERC1155Receiver(0).onERC1155Received.selector ^ ERC1155Receiver(0).onERC1155BatchReceived.selector ); } } // Dependency file: @openzeppelin/contracts/utils/EnumerableSet.sol // pragma solidity ^0.6.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256` * (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(value))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(value))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint256(_at(set._inner, index))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // Dependency file: @openzeppelin/contracts/GSN/Context.sol // pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // Dependency file: @openzeppelin/contracts/access/Ownable.sol // pragma solidity ^0.6.0; // import "@openzeppelin/contracts/GSN/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // Dependency file: @openzeppelin/contracts/math/SafeMath.sol // pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // Dependency file: @openzeppelin/contracts/math/Math.sol // pragma solidity ^0.6.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } } // Dependency file: @openzeppelin/contracts/utils/ReentrancyGuard.sol // pragma solidity ^0.6.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // Dependency file: contracts/AlpacaPresaleV2/AccessControl.sol // pragma solidity =0.6.12; // import "@openzeppelin/contracts/access/Ownable.sol"; // import "@openzeppelin/contracts/utils/EnumerableSet.sol"; contract AccessControl is Ownable { using EnumerableSet for EnumerableSet.AddressSet; /* ========== STATE VARIABLES ========== */ uint256 public startBlock; uint256 public endBlock; bool internal whitelistEnabled = true; // Set of address that are approved to purchase alpaca EnumerableSet.AddressSet internal whitelist; /* ========== EXTERNAL MUTATIVE FUNCTIONS ========== */ function setStartBlock(uint256 _block) external onlyOwner { startBlock = _block; } function setEndBlock(uint256 _block) external onlyOwner { endBlock = _block; } function setWhitelistEnabled(bool _enabled) external onlyOwner { whitelistEnabled = _enabled; } /** * @dev Allow owner to change alpaca price */ function addToWhitelist(address[] calldata _addresses) external onlyOwner { for (uint256 i = 0; i < _addresses.length; i++) { whitelist.add(_addresses[i]); } } /* ========== MODIFIER ========== */ modifier whenInProgress() { require(block.number >= startBlock, "Event not yet started"); require(block.number < endBlock, "Event Ended"); _; } modifier whenEnded() { require(block.number >= endBlock, "Event not yet ended"); _; } } // Root file: contracts/AlpacaPresaleV2/AlpacaPresaleV2.sol pragma solidity =0.6.12; // import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; // import "@openzeppelin/contracts/token/ERC1155/ERC1155Receiver.sol"; // import "@openzeppelin/contracts/utils/EnumerableSet.sol"; // import "@openzeppelin/contracts/access/Ownable.sol"; // import "@openzeppelin/contracts/math/SafeMath.sol"; // import "@openzeppelin/contracts/math/Math.sol"; // import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; // import "contracts/AlpacaPresaleV2/AccessControl.sol"; contract AlpacaPresaleV2 is Ownable, AccessControl, ReentrancyGuard, ERC1155Receiver { using SafeMath for uint256; using Math for uint256; using EnumerableSet for EnumerableSet.UintSet; using EnumerableSet for EnumerableSet.AddressSet; /* ========== STATE VARIABLES ========== */ IERC1155 public cryptoAlpaca; uint256 public pricePerAlpaca = 0.02 ether; uint256 public maxAdoptionCount = 30; // Mapping from address to alpaca count mapping(address => uint256) private accountAddoptionCount; // Set of alpaca IDs this contract owns EnumerableSet.UintSet private presaleAlpacaIDs; /* ========== CONSTRUCTOR ========== */ constructor(IERC1155 _cryptoAlpaca) public { cryptoAlpaca = _cryptoAlpaca; } /* ========== OWNER ONLY ========== */ /** * @dev Allow owner to change alpaca price */ function setPricePerAlpaca(uint256 _price) public onlyOwner { pricePerAlpaca = _price; } /** * @dev Allow owner to update maximum number alpaca a given user can adopt */ function setMaxAdoptionCount(uint256 _maxAdoptionCount) public onlyOwner { maxAdoptionCount = _maxAdoptionCount; } /** * @dev Allow owner to transfer a alpaca that didn't get adopted during presale */ function reclaim(uint256 _id, address _to) public onlyOwner whenEnded { cryptoAlpaca.safeTransferFrom(address(this), _to, _id, 1, ""); } /** * @dev Allow owner to transfer all alpaca that didn't get adopted during presale */ function reclaimAll(address _to) public onlyOwner whenEnded { uint256 length = presaleAlpacaIDs.length(); uint256[] memory ids = new uint256[](length); uint256[] memory amount = new uint256[](length); for (uint256 i = 0; i < length; i++) { ids[i] = presaleAlpacaIDs.at(i); amount[i] = 1; } cryptoAlpaca.safeBatchTransferFrom(address(this), _to, ids, amount, ""); } /** * @dev Allows owner to withdrawal the presale balance to an account. */ function withdraw(address payable _to) external onlyOwner { _to.transfer(address(this).balance); } /* ========== EXTERNAL MUTATIVE FUNCTIONS ========== */ /** * @dev Adopt _count number of alpaca */ function adoptAlpaca(uint256 _count) public payable whenInProgress nonReentrant { require(_count > 0, "AlpacaPresale: must adopt at least one alpaca"); require(whitelist.contains(msg.sender), "AlpacaPresale: unauthorized"); address account = msg.sender; uint256 credit = canAdoptCount(account); require( _count <= credit, "AlpacaPresale: adoption count larger than maximum adoption limit" ); require( msg.value >= getAdoptionPrice(_count), "AlpacaPresale: insufficient funds" ); uint256[] memory ids = new uint256[](_count); uint256[] memory counts = new uint256[](_count); for (uint256 i = 0; i < _count; i++) { ids[i] = _randRemoveAlpaca(); counts[i] = 1; } accountAddoptionCount[account] += _count; cryptoAlpaca.safeBatchTransferFrom( address(this), account, ids, counts, "" ); } /* ========== VIEW ========== */ /** * @dev returns if `_account` is whitelisted to adopt alpaca */ function allowedToAdopt(address _account) public view returns (bool) { return whitelistEnabled ? whitelist.contains(_account) : true; } /** * @dev returns number of _account has adopted presale alpaca */ function getAdoptionCount(address _account) public view returns (uint256) { return accountAddoptionCount[_account]; } /** * @dev total adoption price if adopt _count many */ function getAdoptionPrice(uint256 _count) public view returns (uint256) { return _count.mul(pricePerAlpaca); } /** * @dev number of presale alpaca this contract owns */ function getPresaleAlpacaCount() public view returns (uint256) { return presaleAlpacaIDs.length(); } /** * @dev how many more _account can adopt alpaca */ function canAdoptCount(address _account) public view returns (uint256) { if (!allowedToAdopt(_account)) { return 0; } uint256 credit = maxAdoptionCount.sub(accountAddoptionCount[_account]); uint256 alpacaCount = presaleAlpacaIDs.length(); return credit.min(alpacaCount); } /** * @dev onERC1155Received implementation per IERC1155Receiver spec */ function onERC1155Received( address, address, uint256 id, uint256, bytes calldata ) external override returns (bytes4) { require( msg.sender == address(cryptoAlpaca), "AlpacaPresale: received alpaca from unauthenticated contract" ); uint256[] memory ids = new uint256[](1); ids[0] = id; _receivedAlpaca(ids); return bytes4( keccak256( "onERC1155Received(address,address,uint256,uint256,bytes)" ) ); } /** * @dev onERC1155BatchReceived implementation per IERC1155Receiver spec */ function onERC1155BatchReceived( address, address, uint256[] calldata ids, uint256[] calldata, bytes calldata ) external override returns (bytes4) { require( msg.sender == address(cryptoAlpaca), "AlpacaPresale: received alpaca from unauthenticated contract" ); _receivedAlpaca(ids); return bytes4( keccak256( "onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)" ) ); } /* ========== PRIVATE ========== */ /** * @dev randomly select and remove a alpaca * returns selected alpaca ID */ function _randRemoveAlpaca() private returns (uint256) { require(presaleAlpacaIDs.length() > 0, "No more presale alpaca"); uint256 totalLength = presaleAlpacaIDs.length(); uint256 randIndex = uint256(blockhash(block.number - 1)); randIndex = uint256(keccak256(abi.encodePacked(randIndex, totalLength))) .mod(totalLength); uint256 randID = presaleAlpacaIDs.at(uint256(randIndex)); require(presaleAlpacaIDs.remove(randID)); return randID; } function _receivedAlpaca(uint256[] memory ids) private { for (uint256 i = 0; i < ids.length; i++) { presaleAlpacaIDs.add(ids[i]); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC1155","name":"_cryptoAlpaca","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"adoptAlpaca","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"allowedToAdopt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"canAdoptCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cryptoAlpaca","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getAdoptionCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"getAdoptionPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPresaleAlpacaCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAdoptionCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerAlpaca","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"reclaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"reclaimAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_block","type":"uint256"}],"name":"setEndBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxAdoptionCount","type":"uint256"}],"name":"setMaxAdoptionCount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPricePerAlpaca","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_block","type":"uint256"}],"name":"setStartBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setWhitelistEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526003805460ff1916600117905566470de4df820000600955601e600a553480156200002e57600080fd5b5060405162001edc38038062001edc833981810160405260208110156200005457600080fd5b5051600062000062620000fb565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600655620000c36301ffc9a760e01b620000ff565b620000d5630271189760e51b620000ff565b600880546001600160a01b0319166001600160a01b039290921691909117905562000184565b3390565b6001600160e01b031980821614156200015f576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152600760205260409020805460ff19166001179055565b611d4880620001946000396000f3fe6080604052600436106101815760003560e01c80636a0d4444116100d1578063bc197c811161008a578063d519f49611610064578063d519f4961461067e578063f23a6e611461069b578063f2fde38b1461073b578063f35e4a6e1461076e57610181565b8063bc197c81146104d0578063c5dfec9b14610621578063c713aa941461065457610181565b80636a0d4444146103b05780637087f24c146103c5578063715018a6146103f85780637f6497831461040d5780638da5cb5b14610488578063a01b30ae1461049d57610181565b80631ad7e8cd1161013e5780633ede7427116101185780633ede742714610329578063437a337d1461033e57806348cd4cb11461036857806351cff8d91461037d57610181565b80631ad7e8cd1461028c57806320689541146102bf57806328ed4f6c146102f057610181565b806301ffc9a7146101865780630398a9ec146101ce57806303c3ba971461020a578063052d9e7e1461023657806307c411d414610262578063083c632314610277575b600080fd5b34801561019257600080fd5b506101ba600480360360208110156101a957600080fd5b50356001600160e01b031916610798565b604080519115158252519081900360200190f35b3480156101da57600080fd5b506101f8600480360360208110156101f157600080fd5b50356107bb565b60408051918252519081900360200190f35b34801561021657600080fd5b506102346004803603602081101561022d57600080fd5b50356107d8565b005b34801561024257600080fd5b506102346004803603602081101561025957600080fd5b50351515610835565b34801561026e57600080fd5b506101f86108a0565b34801561028357600080fd5b506101f86108a6565b34801561029857600080fd5b506101ba600480360360208110156102af57600080fd5b50356001600160a01b03166108ac565b3480156102cb57600080fd5b506102d46108cb565b604080516001600160a01b039092168252519081900360200190f35b3480156102fc57600080fd5b506102346004803603604081101561031357600080fd5b50803590602001356001600160a01b03166108da565b34801561033557600080fd5b506101f8610a09565b34801561034a57600080fd5b506102346004803603602081101561036157600080fd5b5035610a0f565b34801561037457600080fd5b506101f8610a6c565b34801561038957600080fd5b50610234600480360360208110156103a057600080fd5b50356001600160a01b0316610a72565b3480156103bc57600080fd5b506101f8610b03565b3480156103d157600080fd5b50610234600480360360208110156103e857600080fd5b50356001600160a01b0316610b14565b34801561040457600080fd5b50610234610db9565b34801561041957600080fd5b506102346004803603602081101561043057600080fd5b810190602081018135600160201b81111561044a57600080fd5b82018360208201111561045c57600080fd5b803590602001918460208302840111600160201b8311171561047d57600080fd5b509092509050610e5b565b34801561049457600080fd5b506102d4610efb565b3480156104a957600080fd5b506101f8600480360360208110156104c057600080fd5b50356001600160a01b0316610f0a565b3480156104dc57600080fd5b50610604600480360360a08110156104f357600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561052657600080fd5b82018360208201111561053857600080fd5b803590602001918460208302840111600160201b8311171561055957600080fd5b919390929091602081019035600160201b81111561057657600080fd5b82018360208201111561058857600080fd5b803590602001918460208302840111600160201b831117156105a957600080fd5b919390929091602081019035600160201b8111156105c657600080fd5b8201836020820111156105d857600080fd5b803590602001918460018302840111600160201b831117156105f957600080fd5b509092509050610f68565b604080516001600160e01b03199092168252519081900360200190f35b34801561062d57600080fd5b506101f86004803603602081101561064457600080fd5b50356001600160a01b031661101e565b34801561066057600080fd5b506102346004803603602081101561067757600080fd5b5035611039565b6102346004803603602081101561069457600080fd5b5035611096565b3480156106a757600080fd5b50610604600480360360a08110156106be57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b8111156106fd57600080fd5b82018360208201111561070f57600080fd5b803590602001918460018302840111600160201b8311171561073057600080fd5b5090925090506114c2565b34801561074757600080fd5b506102346004803603602081101561075e57600080fd5b50356001600160a01b0316611580565b34801561077a57600080fd5b506102346004803603602081101561079157600080fd5b5035611678565b6001600160e01b0319811660009081526007602052604090205460ff165b919050565b60006107d2600954836116d590919063ffffffff16565b92915050565b6107e0611735565b6000546001600160a01b03908116911614610830576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b600955565b61083d611735565b6000546001600160a01b0390811691161461088d576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b6003805460ff1916911515919091179055565b60095481565b60025481565b60035460009060ff166108c05760016107d2565b6107d2600483611739565b6008546001600160a01b031681565b6108e2611735565b6000546001600160a01b03908116911614610932576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b60025443101561097f576040805162461bcd60e51b8152602060048201526013602482015272115d995b9d081b9bdd081e595d08195b991959606a1b604482015290519081900360640190fd5b60085460408051637921219560e11b81523060048201526001600160a01b038481166024830152604482018690526001606483015260a06084830152600060a48301819052925193169263f242432a9260e48084019391929182900301818387803b1580156109ed57600080fd5b505af1158015610a01573d6000803e3d6000fd5b505050505050565b600a5481565b610a17611735565b6000546001600160a01b03908116911614610a67576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b600a55565b60015481565b610a7a611735565b6000546001600160a01b03908116911614610aca576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610aff573d6000803e3d6000fd5b5050565b6000610b0f600c61174e565b905090565b610b1c611735565b6000546001600160a01b03908116911614610b6c576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b600254431015610bb9576040805162461bcd60e51b8152602060048201526013602482015272115d995b9d081b9bdd081e595d08195b991959606a1b604482015290519081900360640190fd5b6000610bc5600c61174e565b905060608167ffffffffffffffff81118015610be057600080fd5b50604051908082528060200260200182016040528015610c0a578160200160208202803683370190505b50905060608267ffffffffffffffff81118015610c2657600080fd5b50604051908082528060200260200182016040528015610c50578160200160208202803683370190505b50905060005b83811015610ca257610c69600c82611759565b838281518110610c7557fe5b6020026020010181815250506001828281518110610c8f57fe5b6020908102919091010152600101610c56565b50600854604051631759616b60e11b815230600482018181526001600160a01b03888116602485015260a060448501908152875160a486015287519190951694632eb2c2d6948a938993899391926064810191608482019160c401906020808901910280838360005b83811015610d23578181015183820152602001610d0b565b50505050905001848103835285818151815260200191508051906020019060200280838360005b83811015610d62578181015183820152602001610d4a565b50505050905001848103825260008152602001602001975050505050505050600060405180830381600087803b158015610d9b57600080fd5b505af1158015610daf573d6000803e3d6000fd5b5050505050505050565b610dc1611735565b6000546001600160a01b03908116911614610e11576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610e63611735565b6000546001600160a01b03908116911614610eb3576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b60005b81811015610ef657610eed838383818110610ecd57fe5b905060200201356001600160a01b0316600461176590919063ffffffff16565b50600101610eb6565b505050565b6000546001600160a01b031690565b6000610f15826108ac565b610f21575060006107b6565b6001600160a01b0382166000908152600b6020526040812054600a54610f469161177a565b90506000610f54600c61174e565b9050610f6082826117bc565b949350505050565b6008546000906001600160a01b03163314610fb45760405162461bcd60e51b815260040180806020018281038252603c815260200180611be2603c913960400191505060405180910390fd5b610ff08787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506117d292505050565b507fbc197c819b3e337a6f9652dd10becd7eef83032af3b9d958d3d42f669414662198975050505050505050565b6001600160a01b03166000908152600b602052604090205490565b611041611735565b6000546001600160a01b03908116911614611091576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b600255565b6001544310156110e5576040805162461bcd60e51b8152602060048201526015602482015274115d995b9d081b9bdd081e595d081cdd185c9d1959605a1b604482015290519081900360640190fd5b6002544310611129576040805162461bcd60e51b815260206004820152600b60248201526a115d995b9d08115b99195960aa1b604482015290519081900360640190fd5b60026006541415611181576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600655806111c25760405162461bcd60e51b815260040180806020018281038252602d815260200180611ce6602d913960400191505060405180910390fd5b6111cd600433611739565b61121e576040805162461bcd60e51b815260206004820152601b60248201527f416c7061636150726573616c653a20756e617574686f72697a65640000000000604482015290519081900360640190fd5b33600061122a82610f0a565b90508083111561126b5760405162461bcd60e51b8152600401808060200182810382526040815260200180611c446040913960400191505060405180910390fd5b611274836107bb565b3410156112b25760405162461bcd60e51b8152600401808060200182810382526021815260200180611ca56021913960400191505060405180910390fd5b60608367ffffffffffffffff811180156112cb57600080fd5b506040519080825280602002602001820160405280156112f5578160200160208202803683370190505b50905060608467ffffffffffffffff8111801561131157600080fd5b5060405190808252806020026020018201604052801561133b578160200160208202803683370190505b50905060005b8581101561138a5761135161180e565b83828151811061135d57fe5b602002602001018181525050600182828151811061137757fe5b6020908102919091010152600101611341565b506001600160a01b038085166000818152600b6020908152604080832080548b0190556008549051631759616b60e11b81523060048201818152602483019690965260a060448301908152895160a484015289519390971696632eb2c2d69691958c958b958b956064810193608482019360c4909201928983019202908190849084905b8381101561142657818101518382015260200161140e565b50505050905001848103835285818151815260200191508051906020019060200280838360005b8381101561146557818101518382015260200161144d565b50505050905001848103825260008152602001602001975050505050505050600060405180830381600087803b15801561149e57600080fd5b505af11580156114b2573d6000803e3d6000fd5b5050600160065550505050505050565b6008546000906001600160a01b0316331461150e5760405162461bcd60e51b815260040180806020018281038252603c815260200180611be2603c913960400191505060405180910390fd5b60408051600180825281830190925260609160208083019080368337019050509050858160008151811061153e57fe5b602002602001018181525050611553816117d2565b507ff23a6e612e1ff4830e658fe43f4e3cb4a5f8170bd5d9e69fb5d7a7fa9e4fdf97979650505050505050565b611588611735565b6000546001600160a01b039081169116146115d8576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b6001600160a01b03811661161d5760405162461bcd60e51b8152600401808060200182810382526026815260200180611c1e6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b611680611735565b6000546001600160a01b039081169116146116d0576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b600155565b6000826116e4575060006107d2565b828202828482816116f157fe5b041461172e5760405162461bcd60e51b8152600401808060200182810382526021815260200180611c846021913960400191505060405180910390fd5b9392505050565b3390565b600061172e836001600160a01b0384166118dc565b60006107d2826118f4565b600061172e83836118f8565b600061172e836001600160a01b03841661195c565b600061172e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506119a6565b60008183106117cb578161172e565b5090919050565b60005b8151811015610aff576118058282815181106117ed57fe5b6020026020010151600c611a3d90919063ffffffff16565b506001016117d5565b60008061181b600c61174e565b11611866576040805162461bcd60e51b81526020600482015260166024820152754e6f206d6f72652070726573616c6520616c7061636160501b604482015290519081900360640190fd5b6000611872600c61174e565b604080516000194301406020808301829052828401859052835180840385018152606090930190935281519190920120919250906118b09083611a49565b905060006118bf600c83611759565b90506118cc600c82611a8b565b6118d557600080fd5b9250505090565b60009081526001919091016020526040902054151590565b5490565b8154600090821061193a5760405162461bcd60e51b8152600401808060200182810382526022815260200180611bc06022913960400191505060405180910390fd5b82600001828154811061194957fe5b9060005260206000200154905092915050565b600061196883836118dc565b61199e575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556107d2565b5060006107d2565b60008184841115611a355760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156119fa5781810151838201526020016119e2565b50505050905090810190601f168015611a275780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061172e838361195c565b600061172e83836040518060400160405280601881526020017f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000815250611a97565b600061172e8383611af9565b60008183611ae65760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156119fa5781810151838201526020016119e2565b50828481611af057fe5b06949350505050565b60008181526001830160205260408120548015611bb55783546000198083019190810190600090879083908110611b2c57fe5b9060005260206000200154905080876000018481548110611b4957fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611b7957fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506107d2565b60009150506107d256fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416c7061636150726573616c653a20726563656976656420616c706163612066726f6d20756e61757468656e7469636174656420636f6e74726163744f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416c7061636150726573616c653a2061646f7074696f6e20636f756e74206c6172676572207468616e206d6178696d756d2061646f7074696f6e206c696d6974536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77416c7061636150726573616c653a20696e73756666696369656e742066756e64734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572416c7061636150726573616c653a206d7573742061646f7074206174206c65617374206f6e6520616c70616361a264697066735822122005428ad8dfb3884ed1347cc9f8b2a9b14783596f230c0271636ae3ad7669cebe64736f6c634300060c0033000000000000000000000000c7e5e9434f4a71e6db978bd65b4d61d3593e5f27
Deployed Bytecode
0x6080604052600436106101815760003560e01c80636a0d4444116100d1578063bc197c811161008a578063d519f49611610064578063d519f4961461067e578063f23a6e611461069b578063f2fde38b1461073b578063f35e4a6e1461076e57610181565b8063bc197c81146104d0578063c5dfec9b14610621578063c713aa941461065457610181565b80636a0d4444146103b05780637087f24c146103c5578063715018a6146103f85780637f6497831461040d5780638da5cb5b14610488578063a01b30ae1461049d57610181565b80631ad7e8cd1161013e5780633ede7427116101185780633ede742714610329578063437a337d1461033e57806348cd4cb11461036857806351cff8d91461037d57610181565b80631ad7e8cd1461028c57806320689541146102bf57806328ed4f6c146102f057610181565b806301ffc9a7146101865780630398a9ec146101ce57806303c3ba971461020a578063052d9e7e1461023657806307c411d414610262578063083c632314610277575b600080fd5b34801561019257600080fd5b506101ba600480360360208110156101a957600080fd5b50356001600160e01b031916610798565b604080519115158252519081900360200190f35b3480156101da57600080fd5b506101f8600480360360208110156101f157600080fd5b50356107bb565b60408051918252519081900360200190f35b34801561021657600080fd5b506102346004803603602081101561022d57600080fd5b50356107d8565b005b34801561024257600080fd5b506102346004803603602081101561025957600080fd5b50351515610835565b34801561026e57600080fd5b506101f86108a0565b34801561028357600080fd5b506101f86108a6565b34801561029857600080fd5b506101ba600480360360208110156102af57600080fd5b50356001600160a01b03166108ac565b3480156102cb57600080fd5b506102d46108cb565b604080516001600160a01b039092168252519081900360200190f35b3480156102fc57600080fd5b506102346004803603604081101561031357600080fd5b50803590602001356001600160a01b03166108da565b34801561033557600080fd5b506101f8610a09565b34801561034a57600080fd5b506102346004803603602081101561036157600080fd5b5035610a0f565b34801561037457600080fd5b506101f8610a6c565b34801561038957600080fd5b50610234600480360360208110156103a057600080fd5b50356001600160a01b0316610a72565b3480156103bc57600080fd5b506101f8610b03565b3480156103d157600080fd5b50610234600480360360208110156103e857600080fd5b50356001600160a01b0316610b14565b34801561040457600080fd5b50610234610db9565b34801561041957600080fd5b506102346004803603602081101561043057600080fd5b810190602081018135600160201b81111561044a57600080fd5b82018360208201111561045c57600080fd5b803590602001918460208302840111600160201b8311171561047d57600080fd5b509092509050610e5b565b34801561049457600080fd5b506102d4610efb565b3480156104a957600080fd5b506101f8600480360360208110156104c057600080fd5b50356001600160a01b0316610f0a565b3480156104dc57600080fd5b50610604600480360360a08110156104f357600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561052657600080fd5b82018360208201111561053857600080fd5b803590602001918460208302840111600160201b8311171561055957600080fd5b919390929091602081019035600160201b81111561057657600080fd5b82018360208201111561058857600080fd5b803590602001918460208302840111600160201b831117156105a957600080fd5b919390929091602081019035600160201b8111156105c657600080fd5b8201836020820111156105d857600080fd5b803590602001918460018302840111600160201b831117156105f957600080fd5b509092509050610f68565b604080516001600160e01b03199092168252519081900360200190f35b34801561062d57600080fd5b506101f86004803603602081101561064457600080fd5b50356001600160a01b031661101e565b34801561066057600080fd5b506102346004803603602081101561067757600080fd5b5035611039565b6102346004803603602081101561069457600080fd5b5035611096565b3480156106a757600080fd5b50610604600480360360a08110156106be57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b8111156106fd57600080fd5b82018360208201111561070f57600080fd5b803590602001918460018302840111600160201b8311171561073057600080fd5b5090925090506114c2565b34801561074757600080fd5b506102346004803603602081101561075e57600080fd5b50356001600160a01b0316611580565b34801561077a57600080fd5b506102346004803603602081101561079157600080fd5b5035611678565b6001600160e01b0319811660009081526007602052604090205460ff165b919050565b60006107d2600954836116d590919063ffffffff16565b92915050565b6107e0611735565b6000546001600160a01b03908116911614610830576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b600955565b61083d611735565b6000546001600160a01b0390811691161461088d576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b6003805460ff1916911515919091179055565b60095481565b60025481565b60035460009060ff166108c05760016107d2565b6107d2600483611739565b6008546001600160a01b031681565b6108e2611735565b6000546001600160a01b03908116911614610932576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b60025443101561097f576040805162461bcd60e51b8152602060048201526013602482015272115d995b9d081b9bdd081e595d08195b991959606a1b604482015290519081900360640190fd5b60085460408051637921219560e11b81523060048201526001600160a01b038481166024830152604482018690526001606483015260a06084830152600060a48301819052925193169263f242432a9260e48084019391929182900301818387803b1580156109ed57600080fd5b505af1158015610a01573d6000803e3d6000fd5b505050505050565b600a5481565b610a17611735565b6000546001600160a01b03908116911614610a67576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b600a55565b60015481565b610a7a611735565b6000546001600160a01b03908116911614610aca576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610aff573d6000803e3d6000fd5b5050565b6000610b0f600c61174e565b905090565b610b1c611735565b6000546001600160a01b03908116911614610b6c576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b600254431015610bb9576040805162461bcd60e51b8152602060048201526013602482015272115d995b9d081b9bdd081e595d08195b991959606a1b604482015290519081900360640190fd5b6000610bc5600c61174e565b905060608167ffffffffffffffff81118015610be057600080fd5b50604051908082528060200260200182016040528015610c0a578160200160208202803683370190505b50905060608267ffffffffffffffff81118015610c2657600080fd5b50604051908082528060200260200182016040528015610c50578160200160208202803683370190505b50905060005b83811015610ca257610c69600c82611759565b838281518110610c7557fe5b6020026020010181815250506001828281518110610c8f57fe5b6020908102919091010152600101610c56565b50600854604051631759616b60e11b815230600482018181526001600160a01b03888116602485015260a060448501908152875160a486015287519190951694632eb2c2d6948a938993899391926064810191608482019160c401906020808901910280838360005b83811015610d23578181015183820152602001610d0b565b50505050905001848103835285818151815260200191508051906020019060200280838360005b83811015610d62578181015183820152602001610d4a565b50505050905001848103825260008152602001602001975050505050505050600060405180830381600087803b158015610d9b57600080fd5b505af1158015610daf573d6000803e3d6000fd5b5050505050505050565b610dc1611735565b6000546001600160a01b03908116911614610e11576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610e63611735565b6000546001600160a01b03908116911614610eb3576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b60005b81811015610ef657610eed838383818110610ecd57fe5b905060200201356001600160a01b0316600461176590919063ffffffff16565b50600101610eb6565b505050565b6000546001600160a01b031690565b6000610f15826108ac565b610f21575060006107b6565b6001600160a01b0382166000908152600b6020526040812054600a54610f469161177a565b90506000610f54600c61174e565b9050610f6082826117bc565b949350505050565b6008546000906001600160a01b03163314610fb45760405162461bcd60e51b815260040180806020018281038252603c815260200180611be2603c913960400191505060405180910390fd5b610ff08787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506117d292505050565b507fbc197c819b3e337a6f9652dd10becd7eef83032af3b9d958d3d42f669414662198975050505050505050565b6001600160a01b03166000908152600b602052604090205490565b611041611735565b6000546001600160a01b03908116911614611091576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b600255565b6001544310156110e5576040805162461bcd60e51b8152602060048201526015602482015274115d995b9d081b9bdd081e595d081cdd185c9d1959605a1b604482015290519081900360640190fd5b6002544310611129576040805162461bcd60e51b815260206004820152600b60248201526a115d995b9d08115b99195960aa1b604482015290519081900360640190fd5b60026006541415611181576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600655806111c25760405162461bcd60e51b815260040180806020018281038252602d815260200180611ce6602d913960400191505060405180910390fd5b6111cd600433611739565b61121e576040805162461bcd60e51b815260206004820152601b60248201527f416c7061636150726573616c653a20756e617574686f72697a65640000000000604482015290519081900360640190fd5b33600061122a82610f0a565b90508083111561126b5760405162461bcd60e51b8152600401808060200182810382526040815260200180611c446040913960400191505060405180910390fd5b611274836107bb565b3410156112b25760405162461bcd60e51b8152600401808060200182810382526021815260200180611ca56021913960400191505060405180910390fd5b60608367ffffffffffffffff811180156112cb57600080fd5b506040519080825280602002602001820160405280156112f5578160200160208202803683370190505b50905060608467ffffffffffffffff8111801561131157600080fd5b5060405190808252806020026020018201604052801561133b578160200160208202803683370190505b50905060005b8581101561138a5761135161180e565b83828151811061135d57fe5b602002602001018181525050600182828151811061137757fe5b6020908102919091010152600101611341565b506001600160a01b038085166000818152600b6020908152604080832080548b0190556008549051631759616b60e11b81523060048201818152602483019690965260a060448301908152895160a484015289519390971696632eb2c2d69691958c958b958b956064810193608482019360c4909201928983019202908190849084905b8381101561142657818101518382015260200161140e565b50505050905001848103835285818151815260200191508051906020019060200280838360005b8381101561146557818101518382015260200161144d565b50505050905001848103825260008152602001602001975050505050505050600060405180830381600087803b15801561149e57600080fd5b505af11580156114b2573d6000803e3d6000fd5b5050600160065550505050505050565b6008546000906001600160a01b0316331461150e5760405162461bcd60e51b815260040180806020018281038252603c815260200180611be2603c913960400191505060405180910390fd5b60408051600180825281830190925260609160208083019080368337019050509050858160008151811061153e57fe5b602002602001018181525050611553816117d2565b507ff23a6e612e1ff4830e658fe43f4e3cb4a5f8170bd5d9e69fb5d7a7fa9e4fdf97979650505050505050565b611588611735565b6000546001600160a01b039081169116146115d8576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b6001600160a01b03811661161d5760405162461bcd60e51b8152600401808060200182810382526026815260200180611c1e6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b611680611735565b6000546001600160a01b039081169116146116d0576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc6833981519152604482015290519081900360640190fd5b600155565b6000826116e4575060006107d2565b828202828482816116f157fe5b041461172e5760405162461bcd60e51b8152600401808060200182810382526021815260200180611c846021913960400191505060405180910390fd5b9392505050565b3390565b600061172e836001600160a01b0384166118dc565b60006107d2826118f4565b600061172e83836118f8565b600061172e836001600160a01b03841661195c565b600061172e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506119a6565b60008183106117cb578161172e565b5090919050565b60005b8151811015610aff576118058282815181106117ed57fe5b6020026020010151600c611a3d90919063ffffffff16565b506001016117d5565b60008061181b600c61174e565b11611866576040805162461bcd60e51b81526020600482015260166024820152754e6f206d6f72652070726573616c6520616c7061636160501b604482015290519081900360640190fd5b6000611872600c61174e565b604080516000194301406020808301829052828401859052835180840385018152606090930190935281519190920120919250906118b09083611a49565b905060006118bf600c83611759565b90506118cc600c82611a8b565b6118d557600080fd5b9250505090565b60009081526001919091016020526040902054151590565b5490565b8154600090821061193a5760405162461bcd60e51b8152600401808060200182810382526022815260200180611bc06022913960400191505060405180910390fd5b82600001828154811061194957fe5b9060005260206000200154905092915050565b600061196883836118dc565b61199e575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556107d2565b5060006107d2565b60008184841115611a355760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156119fa5781810151838201526020016119e2565b50505050905090810190601f168015611a275780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061172e838361195c565b600061172e83836040518060400160405280601881526020017f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000815250611a97565b600061172e8383611af9565b60008183611ae65760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156119fa5781810151838201526020016119e2565b50828481611af057fe5b06949350505050565b60008181526001830160205260408120548015611bb55783546000198083019190810190600090879083908110611b2c57fe5b9060005260206000200154905080876000018481548110611b4957fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611b7957fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506107d2565b60009150506107d256fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416c7061636150726573616c653a20726563656976656420616c706163612066726f6d20756e61757468656e7469636174656420636f6e74726163744f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416c7061636150726573616c653a2061646f7074696f6e20636f756e74206c6172676572207468616e206d6178696d756d2061646f7074696f6e206c696d6974536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77416c7061636150726573616c653a20696e73756666696369656e742066756e64734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572416c7061636150726573616c653a206d7573742061646f7074206174206c65617374206f6e6520616c70616361a264697066735822122005428ad8dfb3884ed1347cc9f8b2a9b14783596f230c0271636ae3ad7669cebe64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c7e5e9434f4a71e6db978bd65b4d61d3593e5f27
-----Decoded View---------------
Arg [0] : _cryptoAlpaca (address): 0xC7e5e9434f4a71e6dB978bD65B4D61D3593e5f27
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c7e5e9434f4a71e6db978bd65b4d61d3593e5f27
Deployed Bytecode Sourcemap
32398:7155:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8501:142;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8501:142:0;-1:-1:-1;;;;;;8501:142:0;;:::i;:::-;;;;;;;;;;;;;;;;;;36542:124;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36542:124:0;;:::i;:::-;;;;;;;;;;;;;;;;33334:102;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33334:102:0;;:::i;:::-;;31085:109;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31085:109:0;;;;:::i;32770:42::-;;;;;;;;;;;;;:::i;30628:23::-;;;;;;;;;;;;;:::i;36088:149::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36088:149:0;-1:-1:-1;;;;;36088:149:0;;:::i;32733:28::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;32733:28:0;;;;;;;;;;;;;;33781:150;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33781:150:0;;;;;;-1:-1:-1;;;;;33781:150:0;;:::i;32821:36::-;;;;;;;;;;;;;:::i;33542:128::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33542:128:0;;:::i;30594:25::-;;;;;;;;;;;;;:::i;34596:112::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34596:112:0;-1:-1:-1;;;;;34596:112:0;;:::i;36749:114::-;;;;;;;;;;;;;:::i;34044:451::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34044:451:0;-1:-1:-1;;;;;34044:451:0;;:::i;20698:148::-;;;;;;;;;;;;;:::i;31268:195::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;31268:195:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;31268:195:0;;;;;;;;;;-1:-1:-1;31268:195:0;;-1:-1:-1;31268:195:0;-1:-1:-1;31268:195:0;:::i;20056:79::-;;;;;;;;;;;;;:::i;36942:341::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36942:341:0;-1:-1:-1;;;;;36942:341:0;;:::i;38106:585::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38106:585:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38106:585:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38106:585:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38106:585:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38106:585:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38106:585:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38106:585:0;;;;;;;;;;-1:-1:-1;38106:585:0;;-1:-1:-1;38106:585:0;-1:-1:-1;38106:585:0;:::i;:::-;;;;-1:-1:-1;;;;;;38106:585:0;;;;;;;;;;;;;;36330:131;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36330:131:0;-1:-1:-1;;;;;36330:131:0;;:::i;30985:92::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30985:92:0;;:::i;34840:1116::-;;;;;;;;;;;;;;;;-1:-1:-1;34840:1116:0;;:::i;37381:622::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37381:622:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;37381:622:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;37381:622:0;;;;;;;;;;-1:-1:-1;37381:622:0;;-1:-1:-1;37381:622:0;-1:-1:-1;37381:622:0;:::i;21001:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21001:244:0;-1:-1:-1;;;;;21001:244:0;;:::i;30881:96::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30881:96:0;;:::i;8501:142::-;-1:-1:-1;;;;;;8602:33:0;;8578:4;8602:33;;;:20;:33;;;;;;;;8501:142;;;;:::o;36542:124::-;36605:7;36632:26;36643:14;;36632:6;:10;;:26;;;;:::i;:::-;36625:33;36542:124;-1:-1:-1;;36542:124:0:o;33334:102::-;20278:12;:10;:12::i;:::-;20268:6;;-1:-1:-1;;;;;20268:6:0;;;:22;;;20260:67;;;;;-1:-1:-1;;;20260:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20260:67:0;;;;;;;;;;;;;;;33405:14:::1;:23:::0;33334:102::o;31085:109::-;20278:12;:10;:12::i;:::-;20268:6;;-1:-1:-1;;;;;20268:6:0;;;:22;;;20260:67;;;;;-1:-1:-1;;;20260:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20260:67:0;;;;;;;;;;;;;;;31159:16:::1;:27:::0;;-1:-1:-1;;31159:27:0::1;::::0;::::1;;::::0;;;::::1;::::0;;31085:109::o;32770:42::-;;;;:::o;30628:23::-;;;;:::o;36088:149::-;36175:16;;36151:4;;36175:16;;:54;;36225:4;36175:54;;;36194:28;:9;36213:8;36194:18;:28::i;32733:::-;;;-1:-1:-1;;;;;32733:28:0;;:::o;33781:150::-;20278:12;:10;:12::i;:::-;20268:6;;-1:-1:-1;;;;;20268:6:0;;;:22;;;20260:67;;;;;-1:-1:-1;;;20260:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20260:67:0;;;;;;;;;;;;;;;31754:8:::1;;31738:12;:24;;31730:56;;;::::0;;-1:-1:-1;;;31730:56:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;31730:56:0;;;;;;;;;;;;;::::1;;33862:12:::2;::::0;:61:::2;::::0;;-1:-1:-1;;;33862:61:0;;33900:4:::2;33862:61;::::0;::::2;::::0;-1:-1:-1;;;;;33862:61:0;;::::2;::::0;;;;;;;;;;:12;:61;;;;;;;;;:12:::2;:61:::0;;;;;;;;:12;::::2;::::0;:29:::2;::::0;:61;;;;;:12;;:61;;;;;;:12;;:61;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;33781:150:::0;;:::o;32821:36::-;;;;:::o;33542:128::-;20278:12;:10;:12::i;:::-;20268:6;;-1:-1:-1;;;;;20268:6:0;;;:22;;;20260:67;;;;;-1:-1:-1;;;20260:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20260:67:0;;;;;;;;;;;;;;;33626:16:::1;:36:::0;33542:128::o;30594:25::-;;;;:::o;34596:112::-;20278:12;:10;:12::i;:::-;20268:6;;-1:-1:-1;;;;;20268:6:0;;;:22;;;20260:67;;;;;-1:-1:-1;;;20260:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20260:67:0;;;;;;;;;;;;;;;34665:35:::1;::::0;-1:-1:-1;;;;;34665:12:0;::::1;::::0;34678:21:::1;34665:35:::0;::::1;;;::::0;::::1;::::0;;;34678:21;34665:12;:35;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;34596:112:::0;:::o;36749:114::-;36803:7;36830:25;:16;:23;:25::i;:::-;36823:32;;36749:114;:::o;34044:451::-;20278:12;:10;:12::i;:::-;20268:6;;-1:-1:-1;;;;;20268:6:0;;;:22;;;20260:67;;;;;-1:-1:-1;;;20260:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20260:67:0;;;;;;;;;;;;;;;31754:8:::1;;31738:12;:24;;31730:56;;;::::0;;-1:-1:-1;;;31730:56:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;31730:56:0;;;;;;;;;;;;;::::1;;34115:14:::2;34132:25;:16;:23;:25::i;:::-;34115:42;;34168:20;34205:6;34191:21;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;34191:21:0::2;;34168:44;;34223:23;34263:6;34249:21;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;34249:21:0::2;;34223:47;;34286:9;34281:123;34305:6;34301:1;:10;34281:123;;;34342:22;:16;34362:1:::0;34342:19:::2;:22::i;:::-;34333:3;34337:1;34333:6;;;;;;;;;;;;;:31;;;::::0;::::2;34391:1;34379:6;34386:1;34379:9;;;;;;;;;::::0;;::::2;::::0;;;;;:13;34313:3:::2;;34281:123;;;-1:-1:-1::0;34416:12:0::2;::::0;:71:::2;::::0;-1:-1:-1;;;34416:71:0;;34459:4:::2;34416:71;::::0;::::2;::::0;;;-1:-1:-1;;;;;34416:71:0;;::::2;::::0;;;;;;;;;;;;;;;;;;;:12;;;::::2;::::0;:34:::2;::::0;34466:3;;34471;;34476:6;;34416:71;;;;;;;;;;;;;::::2;::::0;;::::2;::::0;::::2;::::0;;;:12:::2;:71;;;;;;;::::0;;::::2;::::0;;;::::2;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::2;::::0;;;::::2;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;31797:1;;;34044:451:::0;:::o;20698:148::-;20278:12;:10;:12::i;:::-;20268:6;;-1:-1:-1;;;;;20268:6:0;;;:22;;;20260:67;;;;;-1:-1:-1;;;20260:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20260:67:0;;;;;;;;;;;;;;;20805:1:::1;20789:6:::0;;20768:40:::1;::::0;-1:-1:-1;;;;;20789:6:0;;::::1;::::0;20768:40:::1;::::0;20805:1;;20768:40:::1;20836:1;20819:19:::0;;-1:-1:-1;;;;;;20819:19:0::1;::::0;;20698:148::o;31268:195::-;20278:12;:10;:12::i;:::-;20268:6;;-1:-1:-1;;;;;20268:6:0;;;:22;;;20260:67;;;;;-1:-1:-1;;;20260:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20260:67:0;;;;;;;;;;;;;;;31358:9:::1;31353:103;31373:21:::0;;::::1;31353:103;;;31416:28;31430:10;;31441:1;31430:13;;;;;;;;;;;;;-1:-1:-1::0;;;;;31430:13:0::1;31416:9;:13;;:28;;;;:::i;:::-;-1:-1:-1::0;31396:3:0::1;;31353:103;;;;31268:195:::0;;:::o;20056:79::-;20094:7;20121:6;-1:-1:-1;;;;;20121:6:0;20056:79;:::o;36942:341::-;37004:7;37029:24;37044:8;37029:14;:24::i;:::-;37024:66;;-1:-1:-1;37077:1:0;37070:8;;37024:66;-1:-1:-1;;;;;37140:31:0;;37102:14;37140:31;;;:21;:31;;;;;;37119:16;;:53;;:20;:53::i;:::-;37102:70;;37185:19;37207:25;:16;:23;:25::i;:::-;37185:47;-1:-1:-1;37252:23:0;:6;37185:47;37252:10;:23::i;:::-;37245:30;36942:341;-1:-1:-1;;;;36942:341:0:o;38106:585::-;38358:12;;38295:6;;-1:-1:-1;;;;;38358:12:0;38336:10;:35;38314:145;;;;-1:-1:-1;;;38314:145:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38472:20;38488:3;;38472:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38472:15:0;;-1:-1:-1;;;38472:20:0:i;:::-;-1:-1:-1;38550:118:0;38106:585;;;;;;;;;;:::o;36330:131::-;-1:-1:-1;;;;;36422:31:0;36395:7;36422:31;;;:21;:31;;;;;;;36330:131::o;30985:92::-;20278:12;:10;:12::i;:::-;20268:6;;-1:-1:-1;;;;;20268:6:0;;;:22;;;20260:67;;;;;-1:-1:-1;;;20260:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20260:67:0;;;;;;;;;;;;;;;31052:8:::1;:17:::0;30985:92::o;34840:1116::-;31576:10;;31560:12;:26;;31552:60;;;;;-1:-1:-1;;;31552:60:0;;;;;;;;;;;;-1:-1:-1;;;31552:60:0;;;;;;;;;;;;;;;31646:8;;31631:12;:23;31623:47;;;;;-1:-1:-1;;;31623:47:0;;;;;;;;;;;;-1:-1:-1;;;31623:47:0;;;;;;;;;;;;;;;29267:1:::1;29873:7;;:19;;29865:63;;;::::0;;-1:-1:-1;;;29865:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;29267:1;30006:7;:18:::0;34980:10;34972:68:::2;;;;-1:-1:-1::0;;;34972:68:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35059:30;:9;35078:10;35059:18;:30::i;:::-;35051:70;;;::::0;;-1:-1:-1;;;35051:70:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;35152:10;35134:15;35190:22;35152:10:::0;35190:13:::2;:22::i;:::-;35173:39;;35255:6;35245;:16;;35223:130;;;;-1:-1:-1::0;;;35223:130:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35401:24;35418:6;35401:16;:24::i;:::-;35388:9;:37;;35366:120;;;;-1:-1:-1::0;;;35366:120:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35499:20;35536:6;35522:21;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;35522:21:0::2;;35499:44;;35554:23;35594:6;35580:21;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;35580:21:0::2;;35554:47;;35617:9;35612:120;35636:6;35632:1;:10;35612:120;;;35673:19;:17;:19::i;:::-;35664:3;35668:1;35664:6;;;;;;;;;;;;;:28;;;::::0;::::2;35719:1;35707:6;35714:1;35707:9;;;;;;;;;::::0;;::::2;::::0;;;;;:13;35644:3:::2;;35612:120;;;-1:-1:-1::0;;;;;;35744:30:0;;::::2;;::::0;;;:21:::2;:30;::::0;;;;;;;:40;;;::::2;::::0;;35797:12:::2;::::0;:151;;-1:-1:-1;;;35797:151:0;;35854:4:::2;35797:151;::::0;::::2;::::0;;;;;;;;;;;;;;;;;;;;;;;;;:12;;;::::2;::::0;:34:::2;::::0;35854:4;;35766:7;;35896:3;;35914:6;;35797:151;;;;;;;;;;;;;;;::::2;::::0;::::2;::::0;;;;;;;::::2;;;;;;;::::0;;::::2;::::0;;;::::2;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::2;::::0;;;::::2;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;29223:1:0::1;30185:7;:22:::0;-1:-1:-1;;;;;;;34840:1116:0:o;37381:622::-;37605:12;;37542:6;;-1:-1:-1;;;;;37605:12:0;37583:10;:35;37561:145;;;;-1:-1:-1;;;37561:145:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37742:16;;;37756:1;37742:16;;;;;;;;;37719:20;;37742:16;;;;;;;;;;;-1:-1:-1;37742:16:0;37719:39;;37778:2;37769:3;37773:1;37769:6;;;;;;;;;;;;;:11;;;;;37793:20;37809:3;37793:15;:20::i;:::-;-1:-1:-1;37871:109:0;;37381:622;-1:-1:-1;;;;;;;37381:622:0:o;21001:244::-;20278:12;:10;:12::i;:::-;20268:6;;-1:-1:-1;;;;;20268:6:0;;;:22;;;20260:67;;;;;-1:-1:-1;;;20260:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20260:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;21090:22:0;::::1;21082:73;;;;-1:-1:-1::0;;;21082:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21192:6;::::0;;21171:38:::1;::::0;-1:-1:-1;;;;;21171:38:0;;::::1;::::0;21192:6;::::1;::::0;21171:38:::1;::::0;::::1;21220:6;:17:::0;;-1:-1:-1;;;;;;21220:17:0::1;-1:-1:-1::0;;;;;21220:17:0;;;::::1;::::0;;;::::1;::::0;;21001:244::o;30881:96::-;20278:12;:10;:12::i;:::-;20268:6;;-1:-1:-1;;;;;20268:6:0;;;:22;;;20260:67;;;;;-1:-1:-1;;;20260:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20260:67:0;;;;;;;;;;;;;;;30950:10:::1;:19:::0;30881:96::o;23545:471::-;23603:7;23848:6;23844:47;;-1:-1:-1;23878:1:0;23871:8;;23844:47;23915:5;;;23919:1;23915;:5;:1;23939:5;;;;;:10;23931:56;;;;-1:-1:-1;;;23931:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24007:1;23545:471;-1:-1:-1;;;23545:471:0:o;18540:106::-;18628:10;18540:106;:::o;15432:158::-;15512:4;15536:46;15546:3;-1:-1:-1;;;;;15566:14:0;;15536:9;:46::i;17298:114::-;17358:7;17385:19;17393:3;17385:7;:19::i;17756:137::-;17827:7;17862:22;17866:3;17878:5;17862:3;:22::i;14878:143::-;14948:4;14972:41;14977:3;-1:-1:-1;;;;;14997:14:0;;14972:4;:41::i;22655:136::-;22713:7;22740:43;22744:1;22747;22740:43;;;;;;;;;;;;;;;;;:3;:43::i;27093:106::-;27151:7;27182:1;27178;:5;:13;;27190:1;27178:13;;;-1:-1:-1;27186:1:0;;27093:106;-1:-1:-1;27093:106:0:o;39381:169::-;39452:9;39447:96;39471:3;:10;39467:1;:14;39447:96;;;39503:28;39524:3;39528:1;39524:6;;;;;;;;;;;;;;39503:16;:20;;:28;;;;:::i;:::-;-1:-1:-1;39483:3:0;;39447:96;;38844:529;38890:7;38946:1;38918:25;:16;:23;:25::i;:::-;:29;38910:64;;;;;-1:-1:-1;;;38910:64:0;;;;;;;;;;;;-1:-1:-1;;;38910:64:0;;;;;;;;;;;;;;;38987:19;39009:25;:16;:23;:25::i;:::-;39144:40;;;-1:-1:-1;;39085:12:0;:16;39075:27;39144:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39134:51;;;;;;;38987:47;;-1:-1:-1;39075:27:0;39126:91;;38987:47;39126:78;:91::i;:::-;39114:103;-1:-1:-1;39230:14:0;39247:39;:16;39114:103;39247:19;:39::i;:::-;39230:56;-1:-1:-1;39307:31:0;:16;39230:56;39307:23;:31::i;:::-;39299:40;;;;;;39359:6;-1:-1:-1;;;38844:529:0;:::o;13752:129::-;13825:4;13849:19;;;:12;;;;;:19;;;;;;:24;;;13752:129::o;13967:109::-;14050:18;;13967:109::o;14420:204::-;14515:18;;14487:7;;14515:26;-1:-1:-1;14507:73:0;;;;-1:-1:-1;;;14507:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14598:3;:11;;14610:5;14598:18;;;;;;;;;;;;;;;;14591:25;;14420:204;;;;:::o;11532:414::-;11595:4;11617:21;11627:3;11632:5;11617:9;:21::i;:::-;11612:327;;-1:-1:-1;11655:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;11838:18;;11816:19;;;:12;;;:19;;;;;;:40;;;;11871:11;;11612:327;-1:-1:-1;11922:5:0;11915:12;;23094:192;23180:7;23216:12;23208:6;;;;23200:29;;;;-1:-1:-1;;;23200:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;23252:5:0;;;23094:192::o;16536:131::-;16603:4;16627:32;16632:3;16652:5;16627:4;:32::i;25863:130::-;25921:7;25948:37;25952:1;25955;25948:37;;;;;;;;;;;;;;;;;:3;:37::i;16843:137::-;16913:4;16937:35;16945:3;16965:5;16937:7;:35::i;26478:166::-;26564:7;26600:12;26592:6;26584:29;;;;-1:-1:-1;;;26584:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26635:1;26631;:5;;;;;;;26478:166;-1:-1:-1;;;;26478:166:0:o;12122:1544::-;12188:4;12327:19;;;:12;;;:19;;;;;;12363:15;;12359:1300;;12798:18;;-1:-1:-1;;12749:14:0;;;;12798:22;;;;12725:21;;12798:3;;:22;;13085;;;;;;;;;;;;;;13065:42;;13231:9;13202:3;:11;;13214:13;13202:26;;;;;;;;;;;;;;;;;;;:38;;;;13308:23;;;13350:1;13308:12;;;:23;;;;;;13334:17;;;13308:43;;13460:17;;13308:3;;13460:17;;;;;;;;;;;;;;;;;;;;;;13555:3;:12;;:19;13568:5;13555:19;;;;;;;;;;;13548:26;;;13598:4;13591:11;;;;;;;;12359:1300;13642:5;13635:12;;;;
Swarm Source
ipfs://05428ad8dfb3884ed1347cc9f8b2a9b14783596f230c0271636ae3ad7669cebe
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.