ETH Price: $2,618.49 (+7.07%)

Contract

0x0511926471CdcF840c8145c1Fbcbb0A8c495c1a9
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ownersh...131457292021-09-02 10:32:171138 days ago1630578737IN
0x05119264...8c495c1a9
0 ETH0.00290261101.27419332
Withdraw123208952021-04-27 6:59:511266 days ago1619506791IN
0x05119264...8c495c1a9
0 ETH0.0012638241
Adopt Alpaca121896792021-04-07 1:26:021286 days ago1617758762IN
0x05119264...8c495c1a9
0.05 ETH0.00466356142
Adopt Alpaca121896132021-04-07 1:10:281286 days ago1617757828IN
0x05119264...8c495c1a9
0.05 ETH0.00525472160
Adopt Alpaca121532382021-04-01 11:03:251292 days ago1617275005IN
0x05119264...8c495c1a9
0.05 ETH0.00888962148
Adopt Alpaca121502692021-04-01 0:04:431292 days ago1617235483IN
0x05119264...8c495c1a9
0.1 ETH0.01691993197
Adopt Alpaca121488702021-03-31 18:53:331292 days ago1617216813IN
0x05119264...8c495c1a9
0.1 ETH0.0209905233
Adopt Alpaca121444712021-03-31 2:35:161293 days ago1617158116IN
0x05119264...8c495c1a9
0.05 ETH0.00928008117
Adopt Alpaca121385932021-03-30 4:57:571294 days ago1617080277IN
0x05119264...8c495c1a9
0.05 ETH0.00615087110
Adopt Alpaca121242002021-03-27 23:43:011296 days ago1616888581IN
0x05119264...8c495c1a9
0.05 ETH0.0068212686
Adopt Alpaca121224922021-03-27 17:35:011296 days ago1616866501IN
0x05119264...8c495c1a9
0.05 ETH0.0076937497.00000134
Adopt Alpaca121218072021-03-27 15:08:141297 days ago1616857694IN
0x05119264...8c495c1a9
0.05 ETH0.01404156198
Adopt Alpaca121216792021-03-27 14:41:041297 days ago1616856064IN
0x05119264...8c495c1a9
0.05 ETH0.0076144396.00000134
Adopt Alpaca121209612021-03-27 12:03:021297 days ago1616846582IN
0x05119264...8c495c1a9
0.05 ETH0.0076144396
Adopt Alpaca121192002021-03-27 5:09:151297 days ago1616821755IN
0x05119264...8c495c1a9
0.05 ETH0.0057242189
Adopt Alpaca121191742021-03-27 5:04:321297 days ago1616821472IN
0x05119264...8c495c1a9
0.05 ETH0.0070592189
Adopt Alpaca121189712021-03-27 4:20:211297 days ago1616818821IN
0x05119264...8c495c1a9
0.05 ETH0.0060988686.00000145
Adopt Alpaca121181082021-03-27 1:09:571297 days ago1616807397IN
0x05119264...8c495c1a9
0.1 ETH0.01179687125
Adopt Alpaca121154592021-03-26 15:31:031298 days ago1616772663IN
0x05119264...8c495c1a9
0.1 ETH0.0151160.00000145
Adopt Alpaca121154392021-03-26 15:26:561298 days ago1616772416IN
0x05119264...8c495c1a9
0.1 ETH0.01558522173
Adopt Alpaca121106842021-03-25 21:49:311298 days ago1616708971IN
0x05119264...8c495c1a9
0.05 ETH0.00848691107
Adopt Alpaca121058902021-03-25 4:20:251299 days ago1616646025IN
0x05119264...8c495c1a9
0.05 ETH0.01102506139
Adopt Alpaca121038962021-03-24 21:03:561299 days ago1616619836IN
0x05119264...8c495c1a9
0.05 ETH0.01762285274
Adopt Alpaca121002132021-03-24 7:19:051300 days ago1616570345IN
0x05119264...8c495c1a9
0.05 ETH0.00707487110
Adopt Alpaca121001882021-03-24 7:14:081300 days ago1616570048IN
0x05119264...8c495c1a9
0.05 ETH0.0093594118
View all transactions

Latest 3 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
123208952021-04-27 6:59:511266 days ago1619506791
0x05119264...8c495c1a9
7.5 ETH
117887142021-02-04 8:41:141348 days ago1612428074
0x05119264...8c495c1a9
73.35 ETH
112701312020-11-16 17:02:241428 days ago1605546144
0x05119264...8c495c1a9
42.01 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AlpacaPresaleV2

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-11-11
*/

// 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.03 ether;

    uint256 public maxAdoptionCount = 4;

    // 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");

        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

Contract ABI

[{"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"}]

60806040526003805460ff19166001179055666a94d74f4300006009556004600a553480156200002e57600080fd5b5060405162001e8038038062001e80833981810160405260208110156200005457600080fd5b5051600062000062620000fb565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600655620000c36301ffc9a760e01b620000ff565b620000d5630271189760e51b620000ff565b600880546001600160a01b0319166001600160a01b039290921691909117905562000184565b3390565b6001600160e01b031980821614156200015f576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152600760205260409020805460ff19166001179055565b611cec80620001946000396000f3fe6080604052600436106101815760003560e01c80636a0d4444116100d1578063bc197c811161008a578063d519f49611610064578063d519f4961461067e578063f23a6e611461069b578063f2fde38b1461073b578063f35e4a6e1461076e57610181565b8063bc197c81146104d0578063c5dfec9b14610621578063c713aa941461065457610181565b80636a0d4444146103b05780637087f24c146103c5578063715018a6146103f85780637f6497831461040d5780638da5cb5b14610488578063a01b30ae1461049d57610181565b80631ad7e8cd1161013e5780633ede7427116101185780633ede742714610329578063437a337d1461033e57806348cd4cb11461036857806351cff8d91461037d57610181565b80631ad7e8cd1461028c57806320689541146102bf57806328ed4f6c146102f057610181565b806301ffc9a7146101865780630398a9ec146101ce57806303c3ba971461020a578063052d9e7e1461023657806307c411d414610262578063083c632314610277575b600080fd5b34801561019257600080fd5b506101ba600480360360208110156101a957600080fd5b50356001600160e01b031916610798565b604080519115158252519081900360200190f35b3480156101da57600080fd5b506101f8600480360360208110156101f157600080fd5b50356107bb565b60408051918252519081900360200190f35b34801561021657600080fd5b506102346004803603602081101561022d57600080fd5b50356107d8565b005b34801561024257600080fd5b506102346004803603602081101561025957600080fd5b50351515610835565b34801561026e57600080fd5b506101f86108a0565b34801561028357600080fd5b506101f86108a6565b34801561029857600080fd5b506101ba600480360360208110156102af57600080fd5b50356001600160a01b03166108ac565b3480156102cb57600080fd5b506102d46108cb565b604080516001600160a01b039092168252519081900360200190f35b3480156102fc57600080fd5b506102346004803603604081101561031357600080fd5b50803590602001356001600160a01b03166108da565b34801561033557600080fd5b506101f8610a09565b34801561034a57600080fd5b506102346004803603602081101561036157600080fd5b5035610a0f565b34801561037457600080fd5b506101f8610a6c565b34801561038957600080fd5b50610234600480360360208110156103a057600080fd5b50356001600160a01b0316610a72565b3480156103bc57600080fd5b506101f8610b03565b3480156103d157600080fd5b50610234600480360360208110156103e857600080fd5b50356001600160a01b0316610b14565b34801561040457600080fd5b50610234610db9565b34801561041957600080fd5b506102346004803603602081101561043057600080fd5b810190602081018135600160201b81111561044a57600080fd5b82018360208201111561045c57600080fd5b803590602001918460208302840111600160201b8311171561047d57600080fd5b509092509050610e5b565b34801561049457600080fd5b506102d4610efb565b3480156104a957600080fd5b506101f8600480360360208110156104c057600080fd5b50356001600160a01b0316610f0a565b3480156104dc57600080fd5b50610604600480360360a08110156104f357600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561052657600080fd5b82018360208201111561053857600080fd5b803590602001918460208302840111600160201b8311171561055957600080fd5b919390929091602081019035600160201b81111561057657600080fd5b82018360208201111561058857600080fd5b803590602001918460208302840111600160201b831117156105a957600080fd5b919390929091602081019035600160201b8111156105c657600080fd5b8201836020820111156105d857600080fd5b803590602001918460018302840111600160201b831117156105f957600080fd5b509092509050610f68565b604080516001600160e01b03199092168252519081900360200190f35b34801561062d57600080fd5b506101f86004803603602081101561064457600080fd5b50356001600160a01b031661101e565b34801561066057600080fd5b506102346004803603602081101561067757600080fd5b5035611039565b6102346004803603602081101561069457600080fd5b5035611096565b3480156106a757600080fd5b50610604600480360360a08110156106be57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b8111156106fd57600080fd5b82018360208201111561070f57600080fd5b803590602001918460018302840111600160201b8311171561073057600080fd5b509092509050611466565b34801561074757600080fd5b506102346004803603602081101561075e57600080fd5b50356001600160a01b0316611524565b34801561077a57600080fd5b506102346004803603602081101561079157600080fd5b503561161c565b6001600160e01b0319811660009081526007602052604090205460ff165b919050565b60006107d26009548361167990919063ffffffff16565b92915050565b6107e06116d9565b6000546001600160a01b03908116911614610830576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b600955565b61083d6116d9565b6000546001600160a01b0390811691161461088d576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b6003805460ff1916911515919091179055565b60095481565b60025481565b60035460009060ff166108c05760016107d2565b6107d26004836116dd565b6008546001600160a01b031681565b6108e26116d9565b6000546001600160a01b03908116911614610932576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b60025443101561097f576040805162461bcd60e51b8152602060048201526013602482015272115d995b9d081b9bdd081e595d08195b991959606a1b604482015290519081900360640190fd5b60085460408051637921219560e11b81523060048201526001600160a01b038481166024830152604482018690526001606483015260a06084830152600060a48301819052925193169263f242432a9260e48084019391929182900301818387803b1580156109ed57600080fd5b505af1158015610a01573d6000803e3d6000fd5b505050505050565b600a5481565b610a176116d9565b6000546001600160a01b03908116911614610a67576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b600a55565b60015481565b610a7a6116d9565b6000546001600160a01b03908116911614610aca576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610aff573d6000803e3d6000fd5b5050565b6000610b0f600c6116f2565b905090565b610b1c6116d9565b6000546001600160a01b03908116911614610b6c576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b600254431015610bb9576040805162461bcd60e51b8152602060048201526013602482015272115d995b9d081b9bdd081e595d08195b991959606a1b604482015290519081900360640190fd5b6000610bc5600c6116f2565b905060608167ffffffffffffffff81118015610be057600080fd5b50604051908082528060200260200182016040528015610c0a578160200160208202803683370190505b50905060608267ffffffffffffffff81118015610c2657600080fd5b50604051908082528060200260200182016040528015610c50578160200160208202803683370190505b50905060005b83811015610ca257610c69600c826116fd565b838281518110610c7557fe5b6020026020010181815250506001828281518110610c8f57fe5b6020908102919091010152600101610c56565b50600854604051631759616b60e11b815230600482018181526001600160a01b03888116602485015260a060448501908152875160a486015287519190951694632eb2c2d6948a938993899391926064810191608482019160c401906020808901910280838360005b83811015610d23578181015183820152602001610d0b565b50505050905001848103835285818151815260200191508051906020019060200280838360005b83811015610d62578181015183820152602001610d4a565b50505050905001848103825260008152602001602001975050505050505050600060405180830381600087803b158015610d9b57600080fd5b505af1158015610daf573d6000803e3d6000fd5b5050505050505050565b610dc16116d9565b6000546001600160a01b03908116911614610e11576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610e636116d9565b6000546001600160a01b03908116911614610eb3576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b60005b81811015610ef657610eed838383818110610ecd57fe5b905060200201356001600160a01b0316600461170990919063ffffffff16565b50600101610eb6565b505050565b6000546001600160a01b031690565b6000610f15826108ac565b610f21575060006107b6565b6001600160a01b0382166000908152600b6020526040812054600a54610f469161171e565b90506000610f54600c6116f2565b9050610f608282611760565b949350505050565b6008546000906001600160a01b03163314610fb45760405162461bcd60e51b815260040180806020018281038252603c815260200180611b86603c913960400191505060405180910390fd5b610ff087878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061177692505050565b507fbc197c819b3e337a6f9652dd10becd7eef83032af3b9d958d3d42f669414662198975050505050505050565b6001600160a01b03166000908152600b602052604090205490565b6110416116d9565b6000546001600160a01b03908116911614611091576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b600255565b6001544310156110e5576040805162461bcd60e51b8152602060048201526015602482015274115d995b9d081b9bdd081e595d081cdd185c9d1959605a1b604482015290519081900360640190fd5b6002544310611129576040805162461bcd60e51b815260206004820152600b60248201526a115d995b9d08115b99195960aa1b604482015290519081900360640190fd5b60026006541415611181576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600655806111c25760405162461bcd60e51b815260040180806020018281038252602d815260200180611c8a602d913960400191505060405180910390fd5b3360006111ce82610f0a565b90508083111561120f5760405162461bcd60e51b8152600401808060200182810382526040815260200180611be86040913960400191505060405180910390fd5b611218836107bb565b3410156112565760405162461bcd60e51b8152600401808060200182810382526021815260200180611c496021913960400191505060405180910390fd5b60608367ffffffffffffffff8111801561126f57600080fd5b50604051908082528060200260200182016040528015611299578160200160208202803683370190505b50905060608467ffffffffffffffff811180156112b557600080fd5b506040519080825280602002602001820160405280156112df578160200160208202803683370190505b50905060005b8581101561132e576112f56117b2565b83828151811061130157fe5b602002602001018181525050600182828151811061131b57fe5b60209081029190910101526001016112e5565b506001600160a01b038085166000818152600b6020908152604080832080548b0190556008549051631759616b60e11b81523060048201818152602483019690965260a060448301908152895160a484015289519390971696632eb2c2d69691958c958b958b956064810193608482019360c4909201928983019202908190849084905b838110156113ca5781810151838201526020016113b2565b50505050905001848103835285818151815260200191508051906020019060200280838360005b838110156114095781810151838201526020016113f1565b50505050905001848103825260008152602001602001975050505050505050600060405180830381600087803b15801561144257600080fd5b505af1158015611456573d6000803e3d6000fd5b5050600160065550505050505050565b6008546000906001600160a01b031633146114b25760405162461bcd60e51b815260040180806020018281038252603c815260200180611b86603c913960400191505060405180910390fd5b6040805160018082528183019092526060916020808301908036833701905050905085816000815181106114e257fe5b6020026020010181815250506114f781611776565b507ff23a6e612e1ff4830e658fe43f4e3cb4a5f8170bd5d9e69fb5d7a7fa9e4fdf97979650505050505050565b61152c6116d9565b6000546001600160a01b0390811691161461157c576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b6001600160a01b0381166115c15760405162461bcd60e51b8152600401808060200182810382526026815260200180611bc26026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6116246116d9565b6000546001600160a01b03908116911614611674576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b600155565b600082611688575060006107d2565b8282028284828161169557fe5b04146116d25760405162461bcd60e51b8152600401808060200182810382526021815260200180611c286021913960400191505060405180910390fd5b9392505050565b3390565b60006116d2836001600160a01b038416611880565b60006107d282611898565b60006116d2838361189c565b60006116d2836001600160a01b038416611900565b60006116d283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061194a565b600081831061176f57816116d2565b5090919050565b60005b8151811015610aff576117a982828151811061179157fe5b6020026020010151600c6119e190919063ffffffff16565b50600101611779565b6000806117bf600c6116f2565b1161180a576040805162461bcd60e51b81526020600482015260166024820152754e6f206d6f72652070726573616c6520616c7061636160501b604482015290519081900360640190fd5b6000611816600c6116f2565b6040805160001943014060208083018290528284018590528351808403850181526060909301909352815191909201209192509061185490836119ed565b90506000611863600c836116fd565b9050611870600c82611a2f565b61187957600080fd5b9250505090565b60009081526001919091016020526040902054151590565b5490565b815460009082106118de5760405162461bcd60e51b8152600401808060200182810382526022815260200180611b646022913960400191505060405180910390fd5b8260000182815481106118ed57fe5b9060005260206000200154905092915050565b600061190c8383611880565b611942575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556107d2565b5060006107d2565b600081848411156119d95760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561199e578181015183820152602001611986565b50505050905090810190601f1680156119cb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60006116d28383611900565b60006116d283836040518060400160405280601881526020017f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000815250611a3b565b60006116d28383611a9d565b60008183611a8a5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561199e578181015183820152602001611986565b50828481611a9457fe5b06949350505050565b60008181526001830160205260408120548015611b595783546000198083019190810190600090879083908110611ad057fe5b9060005260206000200154905080876000018481548110611aed57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611b1d57fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506107d2565b60009150506107d256fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416c7061636150726573616c653a20726563656976656420616c706163612066726f6d20756e61757468656e7469636174656420636f6e74726163744f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416c7061636150726573616c653a2061646f7074696f6e20636f756e74206c6172676572207468616e206d6178696d756d2061646f7074696f6e206c696d6974536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77416c7061636150726573616c653a20696e73756666696369656e742066756e64734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572416c7061636150726573616c653a206d7573742061646f7074206174206c65617374206f6e6520616c70616361a26469706673582212202d70b3f7ed8320498d9814122066aa6f59ae3c1bc8800e28a64ab4788d2340a664736f6c634300060c0033000000000000000000000000c7e5e9434f4a71e6db978bd65b4d61d3593e5f27

Deployed Bytecode

0x6080604052600436106101815760003560e01c80636a0d4444116100d1578063bc197c811161008a578063d519f49611610064578063d519f4961461067e578063f23a6e611461069b578063f2fde38b1461073b578063f35e4a6e1461076e57610181565b8063bc197c81146104d0578063c5dfec9b14610621578063c713aa941461065457610181565b80636a0d4444146103b05780637087f24c146103c5578063715018a6146103f85780637f6497831461040d5780638da5cb5b14610488578063a01b30ae1461049d57610181565b80631ad7e8cd1161013e5780633ede7427116101185780633ede742714610329578063437a337d1461033e57806348cd4cb11461036857806351cff8d91461037d57610181565b80631ad7e8cd1461028c57806320689541146102bf57806328ed4f6c146102f057610181565b806301ffc9a7146101865780630398a9ec146101ce57806303c3ba971461020a578063052d9e7e1461023657806307c411d414610262578063083c632314610277575b600080fd5b34801561019257600080fd5b506101ba600480360360208110156101a957600080fd5b50356001600160e01b031916610798565b604080519115158252519081900360200190f35b3480156101da57600080fd5b506101f8600480360360208110156101f157600080fd5b50356107bb565b60408051918252519081900360200190f35b34801561021657600080fd5b506102346004803603602081101561022d57600080fd5b50356107d8565b005b34801561024257600080fd5b506102346004803603602081101561025957600080fd5b50351515610835565b34801561026e57600080fd5b506101f86108a0565b34801561028357600080fd5b506101f86108a6565b34801561029857600080fd5b506101ba600480360360208110156102af57600080fd5b50356001600160a01b03166108ac565b3480156102cb57600080fd5b506102d46108cb565b604080516001600160a01b039092168252519081900360200190f35b3480156102fc57600080fd5b506102346004803603604081101561031357600080fd5b50803590602001356001600160a01b03166108da565b34801561033557600080fd5b506101f8610a09565b34801561034a57600080fd5b506102346004803603602081101561036157600080fd5b5035610a0f565b34801561037457600080fd5b506101f8610a6c565b34801561038957600080fd5b50610234600480360360208110156103a057600080fd5b50356001600160a01b0316610a72565b3480156103bc57600080fd5b506101f8610b03565b3480156103d157600080fd5b50610234600480360360208110156103e857600080fd5b50356001600160a01b0316610b14565b34801561040457600080fd5b50610234610db9565b34801561041957600080fd5b506102346004803603602081101561043057600080fd5b810190602081018135600160201b81111561044a57600080fd5b82018360208201111561045c57600080fd5b803590602001918460208302840111600160201b8311171561047d57600080fd5b509092509050610e5b565b34801561049457600080fd5b506102d4610efb565b3480156104a957600080fd5b506101f8600480360360208110156104c057600080fd5b50356001600160a01b0316610f0a565b3480156104dc57600080fd5b50610604600480360360a08110156104f357600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561052657600080fd5b82018360208201111561053857600080fd5b803590602001918460208302840111600160201b8311171561055957600080fd5b919390929091602081019035600160201b81111561057657600080fd5b82018360208201111561058857600080fd5b803590602001918460208302840111600160201b831117156105a957600080fd5b919390929091602081019035600160201b8111156105c657600080fd5b8201836020820111156105d857600080fd5b803590602001918460018302840111600160201b831117156105f957600080fd5b509092509050610f68565b604080516001600160e01b03199092168252519081900360200190f35b34801561062d57600080fd5b506101f86004803603602081101561064457600080fd5b50356001600160a01b031661101e565b34801561066057600080fd5b506102346004803603602081101561067757600080fd5b5035611039565b6102346004803603602081101561069457600080fd5b5035611096565b3480156106a757600080fd5b50610604600480360360a08110156106be57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b8111156106fd57600080fd5b82018360208201111561070f57600080fd5b803590602001918460018302840111600160201b8311171561073057600080fd5b509092509050611466565b34801561074757600080fd5b506102346004803603602081101561075e57600080fd5b50356001600160a01b0316611524565b34801561077a57600080fd5b506102346004803603602081101561079157600080fd5b503561161c565b6001600160e01b0319811660009081526007602052604090205460ff165b919050565b60006107d26009548361167990919063ffffffff16565b92915050565b6107e06116d9565b6000546001600160a01b03908116911614610830576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b600955565b61083d6116d9565b6000546001600160a01b0390811691161461088d576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b6003805460ff1916911515919091179055565b60095481565b60025481565b60035460009060ff166108c05760016107d2565b6107d26004836116dd565b6008546001600160a01b031681565b6108e26116d9565b6000546001600160a01b03908116911614610932576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b60025443101561097f576040805162461bcd60e51b8152602060048201526013602482015272115d995b9d081b9bdd081e595d08195b991959606a1b604482015290519081900360640190fd5b60085460408051637921219560e11b81523060048201526001600160a01b038481166024830152604482018690526001606483015260a06084830152600060a48301819052925193169263f242432a9260e48084019391929182900301818387803b1580156109ed57600080fd5b505af1158015610a01573d6000803e3d6000fd5b505050505050565b600a5481565b610a176116d9565b6000546001600160a01b03908116911614610a67576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b600a55565b60015481565b610a7a6116d9565b6000546001600160a01b03908116911614610aca576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610aff573d6000803e3d6000fd5b5050565b6000610b0f600c6116f2565b905090565b610b1c6116d9565b6000546001600160a01b03908116911614610b6c576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b600254431015610bb9576040805162461bcd60e51b8152602060048201526013602482015272115d995b9d081b9bdd081e595d08195b991959606a1b604482015290519081900360640190fd5b6000610bc5600c6116f2565b905060608167ffffffffffffffff81118015610be057600080fd5b50604051908082528060200260200182016040528015610c0a578160200160208202803683370190505b50905060608267ffffffffffffffff81118015610c2657600080fd5b50604051908082528060200260200182016040528015610c50578160200160208202803683370190505b50905060005b83811015610ca257610c69600c826116fd565b838281518110610c7557fe5b6020026020010181815250506001828281518110610c8f57fe5b6020908102919091010152600101610c56565b50600854604051631759616b60e11b815230600482018181526001600160a01b03888116602485015260a060448501908152875160a486015287519190951694632eb2c2d6948a938993899391926064810191608482019160c401906020808901910280838360005b83811015610d23578181015183820152602001610d0b565b50505050905001848103835285818151815260200191508051906020019060200280838360005b83811015610d62578181015183820152602001610d4a565b50505050905001848103825260008152602001602001975050505050505050600060405180830381600087803b158015610d9b57600080fd5b505af1158015610daf573d6000803e3d6000fd5b5050505050505050565b610dc16116d9565b6000546001600160a01b03908116911614610e11576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610e636116d9565b6000546001600160a01b03908116911614610eb3576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b60005b81811015610ef657610eed838383818110610ecd57fe5b905060200201356001600160a01b0316600461170990919063ffffffff16565b50600101610eb6565b505050565b6000546001600160a01b031690565b6000610f15826108ac565b610f21575060006107b6565b6001600160a01b0382166000908152600b6020526040812054600a54610f469161171e565b90506000610f54600c6116f2565b9050610f608282611760565b949350505050565b6008546000906001600160a01b03163314610fb45760405162461bcd60e51b815260040180806020018281038252603c815260200180611b86603c913960400191505060405180910390fd5b610ff087878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061177692505050565b507fbc197c819b3e337a6f9652dd10becd7eef83032af3b9d958d3d42f669414662198975050505050505050565b6001600160a01b03166000908152600b602052604090205490565b6110416116d9565b6000546001600160a01b03908116911614611091576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b600255565b6001544310156110e5576040805162461bcd60e51b8152602060048201526015602482015274115d995b9d081b9bdd081e595d081cdd185c9d1959605a1b604482015290519081900360640190fd5b6002544310611129576040805162461bcd60e51b815260206004820152600b60248201526a115d995b9d08115b99195960aa1b604482015290519081900360640190fd5b60026006541415611181576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600655806111c25760405162461bcd60e51b815260040180806020018281038252602d815260200180611c8a602d913960400191505060405180910390fd5b3360006111ce82610f0a565b90508083111561120f5760405162461bcd60e51b8152600401808060200182810382526040815260200180611be86040913960400191505060405180910390fd5b611218836107bb565b3410156112565760405162461bcd60e51b8152600401808060200182810382526021815260200180611c496021913960400191505060405180910390fd5b60608367ffffffffffffffff8111801561126f57600080fd5b50604051908082528060200260200182016040528015611299578160200160208202803683370190505b50905060608467ffffffffffffffff811180156112b557600080fd5b506040519080825280602002602001820160405280156112df578160200160208202803683370190505b50905060005b8581101561132e576112f56117b2565b83828151811061130157fe5b602002602001018181525050600182828151811061131b57fe5b60209081029190910101526001016112e5565b506001600160a01b038085166000818152600b6020908152604080832080548b0190556008549051631759616b60e11b81523060048201818152602483019690965260a060448301908152895160a484015289519390971696632eb2c2d69691958c958b958b956064810193608482019360c4909201928983019202908190849084905b838110156113ca5781810151838201526020016113b2565b50505050905001848103835285818151815260200191508051906020019060200280838360005b838110156114095781810151838201526020016113f1565b50505050905001848103825260008152602001602001975050505050505050600060405180830381600087803b15801561144257600080fd5b505af1158015611456573d6000803e3d6000fd5b5050600160065550505050505050565b6008546000906001600160a01b031633146114b25760405162461bcd60e51b815260040180806020018281038252603c815260200180611b86603c913960400191505060405180910390fd5b6040805160018082528183019092526060916020808301908036833701905050905085816000815181106114e257fe5b6020026020010181815250506114f781611776565b507ff23a6e612e1ff4830e658fe43f4e3cb4a5f8170bd5d9e69fb5d7a7fa9e4fdf97979650505050505050565b61152c6116d9565b6000546001600160a01b0390811691161461157c576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b6001600160a01b0381166115c15760405162461bcd60e51b8152600401808060200182810382526026815260200180611bc26026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6116246116d9565b6000546001600160a01b03908116911614611674576040805162461bcd60e51b81526020600482018190526024820152600080516020611c6a833981519152604482015290519081900360640190fd5b600155565b600082611688575060006107d2565b8282028284828161169557fe5b04146116d25760405162461bcd60e51b8152600401808060200182810382526021815260200180611c286021913960400191505060405180910390fd5b9392505050565b3390565b60006116d2836001600160a01b038416611880565b60006107d282611898565b60006116d2838361189c565b60006116d2836001600160a01b038416611900565b60006116d283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061194a565b600081831061176f57816116d2565b5090919050565b60005b8151811015610aff576117a982828151811061179157fe5b6020026020010151600c6119e190919063ffffffff16565b50600101611779565b6000806117bf600c6116f2565b1161180a576040805162461bcd60e51b81526020600482015260166024820152754e6f206d6f72652070726573616c6520616c7061636160501b604482015290519081900360640190fd5b6000611816600c6116f2565b6040805160001943014060208083018290528284018590528351808403850181526060909301909352815191909201209192509061185490836119ed565b90506000611863600c836116fd565b9050611870600c82611a2f565b61187957600080fd5b9250505090565b60009081526001919091016020526040902054151590565b5490565b815460009082106118de5760405162461bcd60e51b8152600401808060200182810382526022815260200180611b646022913960400191505060405180910390fd5b8260000182815481106118ed57fe5b9060005260206000200154905092915050565b600061190c8383611880565b611942575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556107d2565b5060006107d2565b600081848411156119d95760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561199e578181015183820152602001611986565b50505050905090810190601f1680156119cb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60006116d28383611900565b60006116d283836040518060400160405280601881526020017f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000815250611a3b565b60006116d28383611a9d565b60008183611a8a5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561199e578181015183820152602001611986565b50828481611a9457fe5b06949350505050565b60008181526001830160205260408120548015611b595783546000198083019190810190600090879083908110611ad057fe5b9060005260206000200154905080876000018481548110611aed57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611b1d57fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506107d2565b60009150506107d256fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416c7061636150726573616c653a20726563656976656420616c706163612066726f6d20756e61757468656e7469636174656420636f6e74726163744f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416c7061636150726573616c653a2061646f7074696f6e20636f756e74206c6172676572207468616e206d6178696d756d2061646f7074696f6e206c696d6974536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77416c7061636150726573616c653a20696e73756666696369656e742066756e64734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572416c7061636150726573616c653a206d7573742061646f7074206174206c65617374206f6e6520616c70616361a26469706673582212202d70b3f7ed8320498d9814122066aa6f59ae3c1bc8800e28a64ab4788d2340a664736f6c634300060c0033

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:7073:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8501:142;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8501:142:0;-1:-1:-1;;;;;;8501:142:0;;:::i;:::-;;;;;;;;;;;;;;;;;;36460:124;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36460:124:0;;:::i;:::-;;;;;;;;;;;;;;;;33333:102;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33333:102:0;;:::i;:::-;;31085:109;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31085:109:0;;;;:::i;32770:42::-;;;;;;;;;;;;;:::i;30628:23::-;;;;;;;;;;;;;:::i;36006:149::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36006:149:0;-1:-1:-1;;;;;36006:149:0;;:::i;32733:28::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;32733:28:0;;;;;;;;;;;;;;33780:150;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33780:150:0;;;;;;-1:-1:-1;;;;;33780:150:0;;:::i;32821:35::-;;;;;;;;;;;;;:::i;33541:128::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33541:128:0;;:::i;30594:25::-;;;;;;;;;;;;;:::i;34595:112::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34595:112:0;-1:-1:-1;;;;;34595:112:0;;:::i;36667:114::-;;;;;;;;;;;;;:::i;34043:451::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34043:451:0;-1:-1:-1;;;;;34043: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;36860:341::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36860:341:0;-1:-1:-1;;;;;36860:341:0;;:::i;38024:585::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38024:585:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38024:585:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38024:585:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38024:585:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38024:585:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38024:585:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38024:585:0;;;;;;;;;;-1:-1:-1;38024:585:0;;-1:-1:-1;38024:585:0;-1:-1:-1;38024:585:0;:::i;:::-;;;;-1:-1:-1;;;;;;38024:585:0;;;;;;;;;;;;;;36248:131;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36248:131:0;-1:-1:-1;;;;;36248:131:0;;:::i;30985:92::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30985:92:0;;:::i;34839:1035::-;;;;;;;;;;;;;;;;-1:-1:-1;34839:1035:0;;:::i;37299:622::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37299:622:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;37299:622:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;37299:622:0;;;;;;;;;;-1:-1:-1;37299:622:0;;-1:-1:-1;37299:622:0;-1:-1:-1;37299: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;36460:124::-;36523:7;36550:26;36561:14;;36550:6;:10;;:26;;;;:::i;:::-;36543:33;36460:124;-1:-1:-1;;36460:124:0:o;33333: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;;;;;;;;;;;;;;;33404:14:::1;:23:::0;33333: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;36006:149::-;36093:16;;36069:4;;36093:16;;:54;;36143:4;36093:54;;;36112:28;:9;36131:8;36112:18;:28::i;32733:::-;;;-1:-1:-1;;;;;32733:28:0;;:::o;33780: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;;33861:12:::2;::::0;:61:::2;::::0;;-1:-1:-1;;;33861:61:0;;33899:4:::2;33861:61;::::0;::::2;::::0;-1:-1:-1;;;;;33861: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;;;;;;;;;33780:150:::0;;:::o;32821:35::-;;;;:::o;33541: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;;;;;;;;;;;;;;;33625:16:::1;:36:::0;33541:128::o;30594:25::-;;;;:::o;34595: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;;;;;;;;;;;;;;;34664:35:::1;::::0;-1:-1:-1;;;;;34664:12:0;::::1;::::0;34677:21:::1;34664:35:::0;::::1;;;::::0;::::1;::::0;;;34677:21;34664:12;:35;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;34595:112:::0;:::o;36667:114::-;36721:7;36748:25;:16;:23;:25::i;:::-;36741:32;;36667:114;:::o;34043: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;;34114:14:::2;34131:25;:16;:23;:25::i;:::-;34114:42;;34167:20;34204:6;34190:21;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;34190:21:0::2;;34167:44;;34222:23;34262:6;34248:21;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;34248:21:0::2;;34222:47;;34285:9;34280:123;34304:6;34300:1;:10;34280:123;;;34341:22;:16;34361:1:::0;34341:19:::2;:22::i;:::-;34332:3;34336:1;34332:6;;;;;;;;;;;;;:31;;;::::0;::::2;34390:1;34378:6;34385:1;34378:9;;;;;;;;;::::0;;::::2;::::0;;;;;:13;34312:3:::2;;34280:123;;;-1:-1:-1::0;34415:12:0::2;::::0;:71:::2;::::0;-1:-1:-1;;;34415:71:0;;34458:4:::2;34415:71;::::0;::::2;::::0;;;-1:-1:-1;;;;;34415:71:0;;::::2;::::0;;;;;;;;;;;;;;;;;;;:12;;;::::2;::::0;:34:::2;::::0;34465:3;;34470;;34475:6;;34415: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;;;34043: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;36860:341::-;36922:7;36947:24;36962:8;36947:14;:24::i;:::-;36942:66;;-1:-1:-1;36995:1:0;36988:8;;36942:66;-1:-1:-1;;;;;37058:31:0;;37020:14;37058:31;;;:21;:31;;;;;;37037:16;;:53;;:20;:53::i;:::-;37020:70;;37103:19;37125:25;:16;:23;:25::i;:::-;37103:47;-1:-1:-1;37170:23:0;:6;37103:47;37170:10;:23::i;:::-;37163:30;36860:341;-1:-1:-1;;;;36860:341:0:o;38024:585::-;38276:12;;38213:6;;-1:-1:-1;;;;;38276:12:0;38254:10;:35;38232:145;;;;-1:-1:-1;;;38232:145:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38390:20;38406:3;;38390:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38390:15:0;;-1:-1:-1;;;38390:20:0:i;:::-;-1:-1:-1;38468:118:0;38024:585;;;;;;;;;;:::o;36248:131::-;-1:-1:-1;;;;;36340:31:0;36313:7;36340:31;;;:21;:31;;;;;;;36248: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;34839:1035::-;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;34979:10;34971:68:::2;;;;-1:-1:-1::0;;;34971:68:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35070:10;35052:15;35108:22;35070:10:::0;35108:13:::2;:22::i;:::-;35091:39;;35173:6;35163;:16;;35141:130;;;;-1:-1:-1::0;;;35141:130:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35319:24;35336:6;35319:16;:24::i;:::-;35306:9;:37;;35284:120;;;;-1:-1:-1::0;;;35284:120:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35417:20;35454:6;35440:21;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;35440:21:0::2;;35417:44;;35472:23;35512:6;35498:21;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;35498:21:0::2;;35472:47;;35535:9;35530:120;35554:6;35550:1;:10;35530:120;;;35591:19;:17;:19::i;:::-;35582:3;35586:1;35582:6;;;;;;;;;;;;;:28;;;::::0;::::2;35637:1;35625:6;35632:1;35625:9;;;;;;;;;::::0;;::::2;::::0;;;;;:13;35562:3:::2;;35530:120;;;-1:-1:-1::0;;;;;;35662:30:0;;::::2;;::::0;;;:21:::2;:30;::::0;;;;;;;:40;;;::::2;::::0;;35715:12:::2;::::0;:151;;-1:-1:-1;;;35715:151:0;;35772:4:::2;35715:151;::::0;::::2;::::0;;;;;;;;;;;;;;;;;;;;;;;;;:12;;;::::2;::::0;:34:::2;::::0;35772:4;;35684:7;;35814:3;;35832:6;;35715: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;;;;;;;34839:1035:0:o;37299:622::-;37523:12;;37460:6;;-1:-1:-1;;;;;37523:12:0;37501:10;:35;37479:145;;;;-1:-1:-1;;;37479:145:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37660:16;;;37674:1;37660:16;;;;;;;;;37637:20;;37660:16;;;;;;;;;;;-1:-1:-1;37660:16:0;37637:39;;37696:2;37687:3;37691:1;37687:6;;;;;;;;;;;;;:11;;;;;37711:20;37727:3;37711:15;:20::i;:::-;-1:-1:-1;37789:109:0;;37299:622;-1:-1:-1;;;;;;;37299: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;39299:169::-;39370:9;39365:96;39389:3;:10;39385:1;:14;39365:96;;;39421:28;39442:3;39446:1;39442:6;;;;;;;;;;;;;;39421:16;:20;;:28;;;;:::i;:::-;-1:-1:-1;39401:3:0;;39365:96;;38762:529;38808:7;38864:1;38836:25;:16;:23;:25::i;:::-;:29;38828:64;;;;;-1:-1:-1;;;38828:64:0;;;;;;;;;;;;-1:-1:-1;;;38828:64:0;;;;;;;;;;;;;;;38905:19;38927:25;:16;:23;:25::i;:::-;39062:40;;;-1:-1:-1;;39003:12:0;:16;38993:27;39062:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39052:51;;;;;;;38905:47;;-1:-1:-1;38993:27:0;39044:91;;38905:47;39044:78;:91::i;:::-;39032:103;-1:-1:-1;39148:14:0;39165:39;:16;39032:103;39165:19;:39::i;:::-;39148:56;-1:-1:-1;39225:31:0;:16;39148:56;39225:23;:31::i;:::-;39217:40;;;;;;39277:6;-1:-1:-1;;;38762: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://2d70b3f7ed8320498d9814122066aa6f59ae3c1bc8800e28a64ab4788d2340a6

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.