Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Multichain Info
Latest 25 from a total of 118 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 25105064 | 657 days ago | IN | 0 CELO | 0.00032299 | ||||
| Set Approval For... | 24884240 | 669 days ago | IN | 0 CELO | 0.00115355 | ||||
| Mint With Token ... | 22468299 | 809 days ago | IN | 0 CELO | 0.00243861 | ||||
| Mint With Token ... | 21508849 | 865 days ago | IN | 0 CELO | 0.00225261 | ||||
| Mint With Token ... | 21508841 | 865 days ago | IN | 0 CELO | 0.00225249 | ||||
| Mint With Token ... | 21302199 | 877 days ago | IN | 0 CELO | 0.00225261 | ||||
| Mint With Token ... | 21287794 | 878 days ago | IN | 0 CELO | 0.00229361 | ||||
| Mint With Token ... | 21287755 | 878 days ago | IN | 0 CELO | 0.00229361 | ||||
| Mint With Token ... | 21287752 | 878 days ago | IN | 0 CELO | 0.00229361 | ||||
| Mint With Token ... | 21287748 | 878 days ago | IN | 0 CELO | 0.00229361 | ||||
| Mint With Token ... | 21287741 | 878 days ago | IN | 0 CELO | 0.00229361 | ||||
| Mint With Token ... | 21287734 | 878 days ago | IN | 0 CELO | 0.00229361 | ||||
| Mint With Token ... | 21287082 | 878 days ago | IN | 0 CELO | 0.00229361 | ||||
| Mint With Token ... | 21287074 | 878 days ago | IN | 0 CELO | 0.00229361 | ||||
| Mint With Token ... | 21287065 | 878 days ago | IN | 0 CELO | 0.00229361 | ||||
| Mint With Token ... | 21287051 | 878 days ago | IN | 0 CELO | 0.00229361 | ||||
| Mint With Token ... | 21287040 | 878 days ago | IN | 0 CELO | 0.00229361 | ||||
| Mint With Token ... | 21287030 | 878 days ago | IN | 0 CELO | 0.00229361 | ||||
| Mint With Token ... | 21287024 | 878 days ago | IN | 0 CELO | 0.00229361 | ||||
| Mint With Token ... | 21287016 | 878 days ago | IN | 0 CELO | 0.00229361 | ||||
| Mint With Token ... | 21287009 | 878 days ago | IN | 0 CELO | 0.00229361 | ||||
| Mint With Token ... | 21268732 | 879 days ago | IN | 0 CELO | 0.00229349 | ||||
| Mint With Token ... | 21268690 | 879 days ago | IN | 0 CELO | 0.00229349 | ||||
| Mint With Token ... | 21268173 | 879 days ago | IN | 0 CELO | 0.00229361 | ||||
| Mint With Token ... | 21268159 | 879 days ago | IN | 0 CELO | 0.00225261 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Steward
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/**
*Submitted for verification at celoscan.io on 2023-08-14
*/
/**
*Submitted for verification at alfajores.celoscan.io on 2023-01-12
*/
pragma solidity ^0.8.7;
pragma experimental ABIEncoderV2;
// SPDX-License-Identifier: MIT
/**
* @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);
}
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) external payable;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external payable;
}
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);
}
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
// solhint-disable-next-line no-inline-assembly
assembly { size := extcodesize(account) }
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain`call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{ value: value }(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant alphabet = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = alphabet[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Ownable, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping (uint256 => address) private _owners;
// Mapping owner address to token count
mapping (address => uint256) private _balances;
// Mapping from token ID to approved address
mapping (uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping (address => mapping (address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor (string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return interfaceId == type(IERC721).interfaceId
|| interfaceId == type(IERC721Metadata).interfaceId
|| super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
require(owner != address(0), "ERC721: owner query for nonexistent token");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0
? string(abi.encodePacked(baseURI, tokenId.toString()))
: '';
}
/**
* @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
* in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
require(_exists(tokenId), "ERC721: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
require(operator != _msgSender(), "ERC721: approve to caller");
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(address from, address to, uint256 tokenId) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) public virtual payable override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual payable override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_safeTransfer(from, to, tokenId, _data);
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* `_data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
require(_exists(tokenId), "ERC721: operator query for nonexistent token");
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
d*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
_mint(to, tokenId);
require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(address from, address to, uint256 tokenId) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
private returns (bool)
{
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
// solhint-disable-next-line no-inline-assembly
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }
}
/**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account.
*/
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token IDs
mapping(address => mapping(uint256 => uint256)) private _ownedTokens;
// Mapping from token ID to index of the owner tokens list
mapping(uint256 => uint256) private _ownedTokensIndex;
// Array with all token ids, used for enumeration
uint256[] private _allTokens;
// Mapping from token id to position in the allTokens array
mapping(uint256 => uint256) private _allTokensIndex;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
return interfaceId == type(IERC721Enumerable).interfaceId
|| super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
return _ownedTokens[owner][index];
}
function tokensOfOwner(address owner) public view returns (uint256[] memory) {
uint256[] memory memoryArray = new uint256[](ERC721.balanceOf(owner));
for(uint i = 0; i < ERC721.balanceOf(owner); i++) {
memoryArray[i] = _ownedTokens[owner][i];
}
return memoryArray;
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _allTokens.length;
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
return _allTokens[index];
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override {
super._beforeTokenTransfer(from, to, tokenId);
if (from == address(0)) {
_addTokenToAllTokensEnumeration(tokenId);
} else if (from != to) {
_removeTokenFromOwnerEnumeration(from, tokenId);
}
if (to == address(0)) {
_removeTokenFromAllTokensEnumeration(tokenId);
} else if (to != from) {
_addTokenToOwnerEnumeration(to, tokenId);
}
}
/**
* @dev Private function to add a token to this extension's ownership-tracking data structures.
* @param to address representing the new owner of the given token ID
* @param tokenId uint256 ID of the token to be added to the tokens list of the given address
*/
function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
uint256 length = ERC721.balanceOf(to);
_ownedTokens[to][length] = tokenId;
_ownedTokensIndex[tokenId] = length;
}
/**
* @dev Private function to add a token to this extension's token tracking data structures.
* @param tokenId uint256 ID of the token to be added to the tokens list
*/
function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
_allTokensIndex[tokenId] = _allTokens.length;
_allTokens.push(tokenId);
}
/**
* @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
* while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
* gas optimizations e.g. when performing a transfer operation (avoiding double writes).
* This has O(1) time complexity, but alters the order of the _ownedTokens array.
* @param from address representing the previous owner of the given token ID
* @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
*/
function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
// To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
uint256 tokenIndex = _ownedTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary
if (tokenIndex != lastTokenIndex) {
uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];
_ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
}
// This also deletes the contents at the last position of the array
delete _ownedTokensIndex[tokenId];
delete _ownedTokens[from][lastTokenIndex];
}
/**
* @dev Private function to remove a token from this extension's token tracking data structures.
* This has O(1) time complexity, but alters the order of the _allTokens array.
* @param tokenId uint256 ID of the token to be removed from the tokens list
*/
function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
// To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = _allTokens.length - 1;
uint256 tokenIndex = _allTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
// rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
// an 'if' statement (like in _removeTokenFromOwnerEnumeration)
uint256 lastTokenId = _allTokens[lastTokenIndex];
_allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
// This also deletes the contents at the last position of the array
delete _allTokensIndex[tokenId];
_allTokens.pop();
}
}
/**
* @dev ERC721 token with storage based token uri management.
*/
abstract contract ERC721URIStorage is ERC721 {
using Strings for uint256;
// Optional mapping for token URIs
mapping (uint256 => string) private _tokenURIs;
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");
string memory _tokenURI = _tokenURIs[tokenId];
string memory base = _baseURI();
// If there is no base URI, return the token URI.
if (bytes(base).length == 0) {
return _tokenURI;
}
// If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
if (bytes(_tokenURI).length > 0) {
return string(abi.encodePacked(base, _tokenURI));
}
return super.tokenURI(tokenId);
}
/**
* @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
_tokenURIs[tokenId] = _tokenURI;
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual override {
super._burn(tokenId);
if (bytes(_tokenURIs[tokenId]).length != 0) {
delete _tokenURIs[tokenId];
}
}
}
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor () {
_paused = false;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
require(!paused(), "Pausable: paused");
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
require(paused(), "Pausable: not paused");
_;
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
function hasRole(bytes32 role, address account) external view returns (bool);
function getRoleAdmin(bytes32 role) external view returns (bytes32);
function grantRole(bytes32 role, address account) external;
function revokeRole(bytes32 role, address account) external;
function renounceRole(bytes32 role, address account) external;
}
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms. This is a lightweight version that doesn't allow enumerating role
* members except through off-chain means by accessing the contract event logs. Some
* applications may benefit from on-chain enumerability, for those cases see
* {AccessControlEnumerable}.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping (address => bool) members;
bytes32 adminRole;
}
mapping (bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControl).interfaceId
|| super.supportsInterface(interfaceId);
}
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view override returns (bool) {
return _roles[role].members[account];
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) public virtual override {
require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to grant");
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) public virtual override {
require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to revoke");
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) public virtual override {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
_roles[role].adminRole = adminRole;
}
function _grantRole(bytes32 role, address account) private {
if (!hasRole(role, account)) {
_roles[role].members[account] = true;
emit RoleGranted(role, account, _msgSender());
}
}
function _revokeRole(bytes32 role, address account) private {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
}
/**
* @title ERC721 Burnable Token
* @dev ERC721 Token that can be irreversibly burned (destroyed).
*/
abstract contract ERC721Burnable is Context, ERC721 {
/**
* @dev Burns `tokenId`. See {ERC721-_burn}.
*
* Requirements:
*
* - The caller must own `tokenId` or be an approved operator.
*/
function burn(uint256 tokenId) public virtual {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
_burn(tokenId);
}
}
contract Steward is ERC721, ERC721Enumerable, ERC721URIStorage, Pausable, AccessControl, ERC721Burnable {
bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
bool _publicMint;
constructor(string memory name_, string memory symbol_, bool publicMint)
ERC721(name_, symbol_)
{
_setupRole(DEFAULT_ADMIN_ROLE, 0x154D25E7734985b04487a615Ffa1C6a5344CBEc4);
_setupRole(MINTER_ROLE, 0x154D25E7734985b04487a615Ffa1C6a5344CBEc4);
_setupRole(PAUSER_ROLE, 0x154D25E7734985b04487a615Ffa1C6a5344CBEc4);
_publicMint = publicMint;
}
function pause() public {
require(
hasRole(PAUSER_ROLE, _msgSender()),
"Steward: must have pauser role to pause"
);
_pause();
}
function unpause() public {
require(
hasRole(PAUSER_ROLE, _msgSender()),
"Steward: must have pauser role to pause"
);
_unpause();
}
/**
* @dev Function to mint tokens.
* @param to The address that will receive the minted tokens.
* @param tokenId The token id to mint.
* @param uri The token URI of the minted token.
* @return A boolean that indicates if the operation was successful.
*/
function mintWithTokenURI(
address to,
uint256 tokenId,
string memory uri
) public returns (bool) {
if (!_publicMint) {
require(
hasRole(MINTER_ROLE, _msgSender()),
"Steward: must have minter role to mint"
);
}
_safeMint(to, tokenId);
_setTokenURI(tokenId, uri);
return true;
}
/**
* @dev Function to mint tokens. This helper function allows to mint multiple NFTs in 1 transaction.
* @param to The address that will receive the minted tokens.
* @param tokenId The token id to mint.
* @param uri The token URI of the minted token.
* @return A boolean that indicates if the operation was successful.
*/
function mintMultiple(
address[] memory to,
uint256[] memory tokenId,
string[] memory uri
) public returns (bool) {
if (!_publicMint) {
require(
hasRole(MINTER_ROLE, _msgSender()),
"Steward: must have minter role to mint"
);
}
for (uint256 i = 0; i < to.length; i++) {
_safeMint(to[i], tokenId[i]);
_setTokenURI(tokenId[i], uri[i]);
}
return true;
}
function safeTransfer(address to, uint256 tokenId, bytes calldata data) public virtual {
super._safeTransfer(_msgSender(), to, tokenId, data);
}
function safeTransfer(address to, uint256 tokenId) public virtual {
super._safeTransfer(_msgSender(), to, tokenId, "");
}
function _beforeTokenTransfer(address from, address to, uint256 tokenId)
internal
whenNotPaused
override(ERC721, ERC721Enumerable)
{
super._beforeTokenTransfer(from, to, tokenId);
}
// The following functions are overrides required by Solidity.
function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) {
super._burn(tokenId);
}
function tokenURI(uint256 tokenId)
public
view
override(ERC721, ERC721URIStorage)
returns (string memory)
{
return super.tokenURI(tokenId);
}
function supportsInterface(bytes4 interfaceId)
public
view
override(ERC721, ERC721Enumerable, AccessControl)
returns (bool)
{
return super.supportsInterface(interfaceId);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"bool","name":"publicMint","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"tokenId","type":"uint256[]"},{"internalType":"string[]","name":"uri","type":"string[]"}],"name":"mintMultiple","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"name":"mintWithTokenURI","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040523480156200001157600080fd5b5060405162003274380380620032748339810160408190526200003491620002ef565b8282620000413362000126565b60016200004f838262000402565b5060026200005e828262000402565b5050600c805460ff19169055506200008c600073154d25e7734985b04487a615ffa1c6a5344cbec462000176565b620000cc7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a673154d25e7734985b04487a615ffa1c6a5344cbec462000176565b6200010c7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a73154d25e7734985b04487a615ffa1c6a5344cbec462000176565b600e805460ff191691151591909117905550620004ce9050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b62000182828262000186565b5050565b6000828152600d602090815260408083206001600160a01b038516845290915290205460ff1662000182576000828152600d602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620001e63390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200025257600080fd5b81516001600160401b03808211156200026f576200026f6200022a565b604051601f8301601f19908116603f011681019082821181831017156200029a576200029a6200022a565b81604052838152602092508683858801011115620002b757600080fd5b600091505b83821015620002db5785820183015181830184015290820190620002bc565b600093810190920192909252949350505050565b6000806000606084860312156200030557600080fd5b83516001600160401b03808211156200031d57600080fd5b6200032b8783880162000240565b945060208601519150808211156200034257600080fd5b50620003518682870162000240565b925050604084015180151581146200036857600080fd5b809150509250925092565b600181811c908216806200038857607f821691505b602082108103620003a957634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003fd57600081815260208120601f850160051c81016020861015620003d85750805b601f850160051c820191505b81811015620003f957828155600101620003e4565b5050505b505050565b81516001600160401b038111156200041e576200041e6200022a565b62000436816200042f845462000373565b84620003af565b602080601f8311600181146200046e5760008415620004555750858301515b600019600386901b1c1916600185901b178555620003f9565b600085815260208120601f198616915b828110156200049f578886015182559484019460019091019084016200047e565b5085821015620004be5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612d9680620004de6000396000f3fe60806040526004361061020f5760003560e01c80636352211e11610118578063a22cb465116100a0578063d547741f1161006f578063d547741f146105fa578063e63ab1e91461061a578063e985e9c51461064e578063eb79554914610697578063f2fde38b146106b757600080fd5b8063a22cb46514610573578063b88d4fde14610593578063c87b56dd146105a6578063d5391393146105c657600080fd5b80638462151c116100e75780638462151c146104de5780638da5cb5b1461050b57806391d148541461052957806395d89b4114610549578063a217fddf1461055e57600080fd5b80636352211e1461047457806370a0823114610494578063715018a6146104b45780638456cb59146104c957600080fd5b806336568abe1161019b57806342966c681161016a57806342966c68146103dc5780634f6ccce7146103fc57806350bb4e7f1461041c5780635a9c9eb81461043c5780635c975abb1461045c57600080fd5b806336568abe146103745780633f4ba83a14610394578063423f6cef146103a957806342842e0e146103c957600080fd5b806318160ddd116101e257806318160ddd146102c557806323b872dd146102e4578063248a9ca3146103045780632f2ff15d146103345780632f745c591461035457600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004612392565b6106d7565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106e8565b60405161024091906123ff565b34801561027757600080fd5b5061028b610286366004612412565b61077a565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be366004612447565b610807565b005b3480156102d157600080fd5b506009545b604051908152602001610240565b3480156102f057600080fd5b506102c36102ff366004612471565b61091c565b34801561031057600080fd5b506102d661031f366004612412565b6000908152600d602052604090206001015490565b34801561034057600080fd5b506102c361034f3660046124ad565b61094e565b34801561036057600080fd5b506102d661036f366004612447565b6109dd565b34801561038057600080fd5b506102c361038f3660046124ad565b610a73565b3480156103a057600080fd5b506102c3610aed565b3480156103b557600080fd5b506102c36103c4366004612447565b610b3d565b6102c36103d7366004612471565b610b58565b3480156103e857600080fd5b506102c36103f7366004612412565b610b73565b34801561040857600080fd5b506102d6610417366004612412565b610bed565b34801561042857600080fd5b50610234610437366004612598565b610c80565b34801561044857600080fd5b506102346104573660046126fe565b610cf1565b34801561046857600080fd5b50600c5460ff16610234565b34801561048057600080fd5b5061028b61048f366004612412565b610de5565b3480156104a057600080fd5b506102d66104af3660046127d8565b610e5c565b3480156104c057600080fd5b506102c3610ee3565b3480156104d557600080fd5b506102c3610f47565b3480156104ea57600080fd5b506104fe6104f93660046127d8565b610f95565b60405161024091906127f3565b34801561051757600080fd5b506000546001600160a01b031661028b565b34801561053557600080fd5b506102346105443660046124ad565b611055565b34801561055557600080fd5b5061025e611080565b34801561056a57600080fd5b506102d6600081565b34801561057f57600080fd5b506102c361058e366004612837565b61108f565b6102c36105a1366004612873565b611153565b3480156105b257600080fd5b5061025e6105c1366004612412565b61118b565b3480156105d257600080fd5b506102d67f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b34801561060657600080fd5b506102c36106153660046124ad565b611196565b34801561062657600080fd5b506102d67f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b34801561065a57600080fd5b506102346106693660046128ef565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156106a357600080fd5b506102c36106b2366004612919565b611216565b3480156106c357600080fd5b506102c36106d23660046127d8565b611258565b60006106e282611320565b92915050565b6060600180546106f7906129a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610723906129a0565b80156107705780601f1061074557610100808354040283529160200191610770565b820191906000526020600020905b81548152906001019060200180831161075357829003601f168201915b5050505050905090565b600061078582611345565b6107eb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061081282610de5565b9050806001600160a01b0316836001600160a01b03160361087f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107e2565b336001600160a01b038216148061089b575061089b8133610669565b61090d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107e2565b6109178383611362565b505050565b610927335b826113d0565b6109435760405162461bcd60e51b81526004016107e2906129da565b6109178383836114ba565b6000828152600d602052604090206001015461096b905b33611055565b6109cf5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b60648201526084016107e2565b6109d98282611665565b5050565b60006109e883610e5c565b8210610a4a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107e2565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6001600160a01b0381163314610ae35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016107e2565b6109d982826116eb565b610b177f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33611055565b610b335760405162461bcd60e51b81526004016107e290612a2b565b610b3b611752565b565b6109d9338383604051806020016040528060008152506117e5565b61091783838360405180602001604052806000815250611153565b610b7c33610921565b610be15760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b60648201526084016107e2565b610bea81611818565b50565b6000610bf860095490565b8210610c5b5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107e2565b60098281548110610c6e57610c6e612a72565b90600052602060002001549050919050565b600e5460009060ff16610cd357610cb77f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633611055565b610cd35760405162461bcd60e51b81526004016107e290612a88565b610cdd8484611821565b610ce7838361183b565b5060019392505050565b600e5460009060ff16610d4457610d287f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633611055565b610d445760405162461bcd60e51b81526004016107e290612a88565b60005b8451811015610dda57610d8c858281518110610d6557610d65612a72565b6020026020010151858381518110610d7f57610d7f612a72565b6020026020010151611821565b610dc8848281518110610da157610da1612a72565b6020026020010151848381518110610dbb57610dbb612a72565b602002602001015161183b565b80610dd281612ae4565b915050610d47565b506001949350505050565b6000818152600360205260408120546001600160a01b0316806106e25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107e2565b60006001600160a01b038216610ec75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107e2565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610f3d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e2565b610b3b60006118bf565b610f717f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33611055565b610f8d5760405162461bcd60e51b81526004016107e290612a2b565b610b3b61190f565b60606000610fa283610e5c565b67ffffffffffffffff811115610fba57610fba6124d9565b604051908082528060200260200182016040528015610fe3578160200160208202803683370190505b50905060005b610ff284610e5c565b81101561104e576001600160a01b0384166000908152600760209081526040808320848452909152902054825183908390811061103157611031612a72565b60209081029190910101528061104681612ae4565b915050610fe9565b5092915050565b6000918252600d602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600280546106f7906129a0565b336001600160a01b038316036110e75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107e2565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61115d33836113d0565b6111795760405162461bcd60e51b81526004016107e2906129da565b611185848484846117e5565b50505050565b60606106e28261198a565b6000828152600d60205260409020600101546111b190610965565b610ae35760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b60648201526084016107e2565b61118533858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506117e592505050565b6000546001600160a01b031633146112b25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e2565b6001600160a01b0381166113175760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107e2565b610bea816118bf565b60006001600160e01b03198216637965db0b60e01b14806106e257506106e282611af8565b6000908152600360205260409020546001600160a01b0316151590565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061139782610de5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006113db82611345565b61143c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107e2565b600061144783610de5565b9050806001600160a01b0316846001600160a01b031614806114825750836001600160a01b03166114778461077a565b6001600160a01b0316145b806114b257506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166114cd82610de5565b6001600160a01b0316146115355760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107e2565b6001600160a01b0382166115975760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107e2565b6115a2838383611b1d565b6115ad600082611362565b6001600160a01b03831660009081526004602052604081208054600192906115d6908490612afd565b90915550506001600160a01b0382166000908152600460205260408120805460019290611604908490612b10565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61166f8282611055565b6109d9576000828152600d602090815260408083206001600160a01b03851684529091529020805460ff191660011790556116a73390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6116f58282611055565b156109d9576000828152600d602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600c5460ff1661179b5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107e2565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6117f08484846114ba565b6117fc84848484611b6e565b6111855760405162461bcd60e51b81526004016107e290612b23565b610bea81611c64565b6109d9828260405180602001604052806000815250611ca4565b61184482611345565b6118a75760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016107e2565b6000828152600b602052604090206109178282612bc3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600c5460ff16156119555760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107e2565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117c83390565b606061199582611345565b6119fb5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b60648201526084016107e2565b6000828152600b602052604081208054611a14906129a0565b80601f0160208091040260200160405190810160405280929190818152602001828054611a40906129a0565b8015611a8d5780601f10611a6257610100808354040283529160200191611a8d565b820191906000526020600020905b815481529060010190602001808311611a7057829003601f168201915b505050505090506000611aab60408051602081019091526000815290565b90508051600003611abd575092915050565b815115611aef578082604051602001611ad7929190612c83565b60405160208183030381529060405292505050919050565b6114b284611cd7565b60006001600160e01b0319821663780e9d6360e01b14806106e257506106e282611daf565b600c5460ff1615611b635760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107e2565b610917838383611dff565b60006001600160a01b0384163b15610dda57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611bb2903390899088908890600401612cb2565b6020604051808303816000875af1925050508015611bed575060408051601f3d908101601f19168201909252611bea91810190612cef565b60015b611c4a573d808015611c1b576040519150601f19603f3d011682016040523d82523d6000602084013e611c20565b606091505b508051600003611c425760405162461bcd60e51b81526004016107e290612b23565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506114b2565b611c6d81611eb7565b6000818152600b602052604090208054611c86906129a0565b159050610bea576000818152600b60205260408120610bea9161232e565b611cae8383611f5e565b611cbb6000848484611b6e565b6109175760405162461bcd60e51b81526004016107e290612b23565b6060611ce282611345565b611d465760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107e2565b6000611d5d60408051602081019091526000815290565b90506000815111611d7d5760405180602001604052806000815250611da8565b80611d878461209d565b604051602001611d98929190612c83565b6040516020818303038152906040525b9392505050565b60006001600160e01b031982166380ac58cd60e01b1480611de057506001600160e01b03198216635b5e139f60e01b145b806106e257506301ffc9a760e01b6001600160e01b03198316146106e2565b6001600160a01b038316611e5a57611e5581600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b611e7d565b816001600160a01b0316836001600160a01b031614611e7d57611e7d838261219e565b6001600160a01b038216611e94576109178161223b565b826001600160a01b0316826001600160a01b0316146109175761091782826122ea565b6000611ec282610de5565b9050611ed081600084611b1d565b611edb600083611362565b6001600160a01b0381166000908152600460205260408120805460019290611f04908490612afd565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b038216611fb45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107e2565b611fbd81611345565b1561200a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107e2565b61201660008383611b1d565b6001600160a01b038216600090815260046020526040812080546001929061203f908490612b10565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060816000036120c45750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120ee57806120d881612ae4565b91506120e79050600a83612d22565b91506120c8565b60008167ffffffffffffffff811115612109576121096124d9565b6040519080825280601f01601f191660200182016040528015612133576020820181803683370190505b5090505b84156114b257612148600183612afd565b9150612155600a86612d36565b612160906030612b10565b60f81b81838151811061217557612175612a72565b60200101906001600160f81b031916908160001a905350612197600a86612d22565b9450612137565b600060016121ab84610e5c565b6121b59190612afd565b600083815260086020526040902054909150808214612208576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061224d90600190612afd565b6000838152600a60205260408120546009805493945090928490811061227557612275612a72565b90600052602060002001549050806009838154811061229657612296612a72565b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806122ce576122ce612d4a565b6001900381819060005260206000200160009055905550505050565b60006122f583610e5c565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b50805461233a906129a0565b6000825580601f1061234a575050565b601f016020900490600052602060002090810190610bea91905b808211156123785760008155600101612364565b5090565b6001600160e01b031981168114610bea57600080fd5b6000602082840312156123a457600080fd5b8135611da88161237c565b60005b838110156123ca5781810151838201526020016123b2565b50506000910152565b600081518084526123eb8160208601602086016123af565b601f01601f19169290920160200192915050565b602081526000611da860208301846123d3565b60006020828403121561242457600080fd5b5035919050565b80356001600160a01b038116811461244257600080fd5b919050565b6000806040838503121561245a57600080fd5b6124638361242b565b946020939093013593505050565b60008060006060848603121561248657600080fd5b61248f8461242b565b925061249d6020850161242b565b9150604084013590509250925092565b600080604083850312156124c057600080fd5b823591506124d06020840161242b565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612518576125186124d9565b604052919050565b600067ffffffffffffffff83111561253a5761253a6124d9565b61254d601f8401601f19166020016124ef565b905082815283838301111561256157600080fd5b828260208301376000602084830101529392505050565b600082601f83011261258957600080fd5b611da883833560208501612520565b6000806000606084860312156125ad57600080fd5b6125b68461242b565b925060208401359150604084013567ffffffffffffffff8111156125d957600080fd5b6125e586828701612578565b9150509250925092565b600067ffffffffffffffff821115612609576126096124d9565b5060051b60200190565b600082601f83011261262457600080fd5b81356020612639612634836125ef565b6124ef565b82815260059290921b8401810191818101908684111561265857600080fd5b8286015b84811015612673578035835291830191830161265c565b509695505050505050565b600082601f83011261268f57600080fd5b8135602061269f612634836125ef565b82815260059290921b840181019181810190868411156126be57600080fd5b8286015b8481101561267357803567ffffffffffffffff8111156126e25760008081fd5b6126f08986838b0101612578565b8452509183019183016126c2565b60008060006060848603121561271357600080fd5b833567ffffffffffffffff8082111561272b57600080fd5b818601915086601f83011261273f57600080fd5b8135602061274f612634836125ef565b82815260059290921b8401810191818101908a84111561276e57600080fd5b948201945b83861015612793576127848661242b565b82529482019490820190612773565b975050870135925050808211156127a957600080fd5b6127b587838801612613565b935060408601359150808211156127cb57600080fd5b506125e58682870161267e565b6000602082840312156127ea57600080fd5b611da88261242b565b6020808252825182820181905260009190848201906040850190845b8181101561282b5783518352928401929184019160010161280f565b50909695505050505050565b6000806040838503121561284a57600080fd5b6128538361242b565b91506020830135801515811461286857600080fd5b809150509250929050565b6000806000806080858703121561288957600080fd5b6128928561242b565b93506128a06020860161242b565b925060408501359150606085013567ffffffffffffffff8111156128c357600080fd5b8501601f810187136128d457600080fd5b6128e387823560208401612520565b91505092959194509250565b6000806040838503121561290257600080fd5b61290b8361242b565b91506124d06020840161242b565b6000806000806060858703121561292f57600080fd5b6129388561242b565b935060208501359250604085013567ffffffffffffffff8082111561295c57600080fd5b818701915087601f83011261297057600080fd5b81358181111561297f57600080fd5b88602082850101111561299157600080fd5b95989497505060200194505050565b600181811c908216806129b457607f821691505b6020821081036129d457634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526027908201527f537465776172643a206d75737420686176652070617573657220726f6c6520746040820152666f20706175736560c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60208082526026908201527f537465776172643a206d7573742068617665206d696e74657220726f6c6520746040820152651bc81b5a5b9d60d21b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600060018201612af657612af6612ace565b5060010190565b818103818111156106e2576106e2612ace565b808201808211156106e2576106e2612ace565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b601f82111561091757600081815260208120601f850160051c81016020861015612b9c5750805b601f850160051c820191505b81811015612bbb57828155600101612ba8565b505050505050565b815167ffffffffffffffff811115612bdd57612bdd6124d9565b612bf181612beb84546129a0565b84612b75565b602080601f831160018114612c265760008415612c0e5750858301515b600019600386901b1c1916600185901b178555612bbb565b600085815260208120601f198616915b82811015612c5557888601518255948401946001909101908401612c36565b5085821015612c735787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351612c958184602088016123af565b835190830190612ca98183602088016123af565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ce5908301846123d3565b9695505050505050565b600060208284031215612d0157600080fd5b8151611da88161237c565b634e487b7160e01b600052601260045260246000fd5b600082612d3157612d31612d0c565b500490565b600082612d4557612d45612d0c565b500690565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220dc69891da1317cef7c214d4ee8571bf1917cf41192f2985f0d28c22c1fc8731e64736f6c63430008120033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000553545752440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013537465776172647320666f72204368616e676500000000000000000000000000
Deployed Bytecode
0x60806040526004361061020f5760003560e01c80636352211e11610118578063a22cb465116100a0578063d547741f1161006f578063d547741f146105fa578063e63ab1e91461061a578063e985e9c51461064e578063eb79554914610697578063f2fde38b146106b757600080fd5b8063a22cb46514610573578063b88d4fde14610593578063c87b56dd146105a6578063d5391393146105c657600080fd5b80638462151c116100e75780638462151c146104de5780638da5cb5b1461050b57806391d148541461052957806395d89b4114610549578063a217fddf1461055e57600080fd5b80636352211e1461047457806370a0823114610494578063715018a6146104b45780638456cb59146104c957600080fd5b806336568abe1161019b57806342966c681161016a57806342966c68146103dc5780634f6ccce7146103fc57806350bb4e7f1461041c5780635a9c9eb81461043c5780635c975abb1461045c57600080fd5b806336568abe146103745780633f4ba83a14610394578063423f6cef146103a957806342842e0e146103c957600080fd5b806318160ddd116101e257806318160ddd146102c557806323b872dd146102e4578063248a9ca3146103045780632f2ff15d146103345780632f745c591461035457600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004612392565b6106d7565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106e8565b60405161024091906123ff565b34801561027757600080fd5b5061028b610286366004612412565b61077a565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be366004612447565b610807565b005b3480156102d157600080fd5b506009545b604051908152602001610240565b3480156102f057600080fd5b506102c36102ff366004612471565b61091c565b34801561031057600080fd5b506102d661031f366004612412565b6000908152600d602052604090206001015490565b34801561034057600080fd5b506102c361034f3660046124ad565b61094e565b34801561036057600080fd5b506102d661036f366004612447565b6109dd565b34801561038057600080fd5b506102c361038f3660046124ad565b610a73565b3480156103a057600080fd5b506102c3610aed565b3480156103b557600080fd5b506102c36103c4366004612447565b610b3d565b6102c36103d7366004612471565b610b58565b3480156103e857600080fd5b506102c36103f7366004612412565b610b73565b34801561040857600080fd5b506102d6610417366004612412565b610bed565b34801561042857600080fd5b50610234610437366004612598565b610c80565b34801561044857600080fd5b506102346104573660046126fe565b610cf1565b34801561046857600080fd5b50600c5460ff16610234565b34801561048057600080fd5b5061028b61048f366004612412565b610de5565b3480156104a057600080fd5b506102d66104af3660046127d8565b610e5c565b3480156104c057600080fd5b506102c3610ee3565b3480156104d557600080fd5b506102c3610f47565b3480156104ea57600080fd5b506104fe6104f93660046127d8565b610f95565b60405161024091906127f3565b34801561051757600080fd5b506000546001600160a01b031661028b565b34801561053557600080fd5b506102346105443660046124ad565b611055565b34801561055557600080fd5b5061025e611080565b34801561056a57600080fd5b506102d6600081565b34801561057f57600080fd5b506102c361058e366004612837565b61108f565b6102c36105a1366004612873565b611153565b3480156105b257600080fd5b5061025e6105c1366004612412565b61118b565b3480156105d257600080fd5b506102d67f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b34801561060657600080fd5b506102c36106153660046124ad565b611196565b34801561062657600080fd5b506102d67f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b34801561065a57600080fd5b506102346106693660046128ef565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156106a357600080fd5b506102c36106b2366004612919565b611216565b3480156106c357600080fd5b506102c36106d23660046127d8565b611258565b60006106e282611320565b92915050565b6060600180546106f7906129a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610723906129a0565b80156107705780601f1061074557610100808354040283529160200191610770565b820191906000526020600020905b81548152906001019060200180831161075357829003601f168201915b5050505050905090565b600061078582611345565b6107eb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061081282610de5565b9050806001600160a01b0316836001600160a01b03160361087f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107e2565b336001600160a01b038216148061089b575061089b8133610669565b61090d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107e2565b6109178383611362565b505050565b610927335b826113d0565b6109435760405162461bcd60e51b81526004016107e2906129da565b6109178383836114ba565b6000828152600d602052604090206001015461096b905b33611055565b6109cf5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b60648201526084016107e2565b6109d98282611665565b5050565b60006109e883610e5c565b8210610a4a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107e2565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6001600160a01b0381163314610ae35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016107e2565b6109d982826116eb565b610b177f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33611055565b610b335760405162461bcd60e51b81526004016107e290612a2b565b610b3b611752565b565b6109d9338383604051806020016040528060008152506117e5565b61091783838360405180602001604052806000815250611153565b610b7c33610921565b610be15760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b60648201526084016107e2565b610bea81611818565b50565b6000610bf860095490565b8210610c5b5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107e2565b60098281548110610c6e57610c6e612a72565b90600052602060002001549050919050565b600e5460009060ff16610cd357610cb77f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633611055565b610cd35760405162461bcd60e51b81526004016107e290612a88565b610cdd8484611821565b610ce7838361183b565b5060019392505050565b600e5460009060ff16610d4457610d287f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633611055565b610d445760405162461bcd60e51b81526004016107e290612a88565b60005b8451811015610dda57610d8c858281518110610d6557610d65612a72565b6020026020010151858381518110610d7f57610d7f612a72565b6020026020010151611821565b610dc8848281518110610da157610da1612a72565b6020026020010151848381518110610dbb57610dbb612a72565b602002602001015161183b565b80610dd281612ae4565b915050610d47565b506001949350505050565b6000818152600360205260408120546001600160a01b0316806106e25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107e2565b60006001600160a01b038216610ec75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107e2565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610f3d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e2565b610b3b60006118bf565b610f717f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33611055565b610f8d5760405162461bcd60e51b81526004016107e290612a2b565b610b3b61190f565b60606000610fa283610e5c565b67ffffffffffffffff811115610fba57610fba6124d9565b604051908082528060200260200182016040528015610fe3578160200160208202803683370190505b50905060005b610ff284610e5c565b81101561104e576001600160a01b0384166000908152600760209081526040808320848452909152902054825183908390811061103157611031612a72565b60209081029190910101528061104681612ae4565b915050610fe9565b5092915050565b6000918252600d602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600280546106f7906129a0565b336001600160a01b038316036110e75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107e2565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61115d33836113d0565b6111795760405162461bcd60e51b81526004016107e2906129da565b611185848484846117e5565b50505050565b60606106e28261198a565b6000828152600d60205260409020600101546111b190610965565b610ae35760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b60648201526084016107e2565b61118533858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506117e592505050565b6000546001600160a01b031633146112b25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e2565b6001600160a01b0381166113175760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107e2565b610bea816118bf565b60006001600160e01b03198216637965db0b60e01b14806106e257506106e282611af8565b6000908152600360205260409020546001600160a01b0316151590565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061139782610de5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006113db82611345565b61143c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107e2565b600061144783610de5565b9050806001600160a01b0316846001600160a01b031614806114825750836001600160a01b03166114778461077a565b6001600160a01b0316145b806114b257506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166114cd82610de5565b6001600160a01b0316146115355760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107e2565b6001600160a01b0382166115975760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107e2565b6115a2838383611b1d565b6115ad600082611362565b6001600160a01b03831660009081526004602052604081208054600192906115d6908490612afd565b90915550506001600160a01b0382166000908152600460205260408120805460019290611604908490612b10565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61166f8282611055565b6109d9576000828152600d602090815260408083206001600160a01b03851684529091529020805460ff191660011790556116a73390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6116f58282611055565b156109d9576000828152600d602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600c5460ff1661179b5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107e2565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6117f08484846114ba565b6117fc84848484611b6e565b6111855760405162461bcd60e51b81526004016107e290612b23565b610bea81611c64565b6109d9828260405180602001604052806000815250611ca4565b61184482611345565b6118a75760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016107e2565b6000828152600b602052604090206109178282612bc3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600c5460ff16156119555760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107e2565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117c83390565b606061199582611345565b6119fb5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b60648201526084016107e2565b6000828152600b602052604081208054611a14906129a0565b80601f0160208091040260200160405190810160405280929190818152602001828054611a40906129a0565b8015611a8d5780601f10611a6257610100808354040283529160200191611a8d565b820191906000526020600020905b815481529060010190602001808311611a7057829003601f168201915b505050505090506000611aab60408051602081019091526000815290565b90508051600003611abd575092915050565b815115611aef578082604051602001611ad7929190612c83565b60405160208183030381529060405292505050919050565b6114b284611cd7565b60006001600160e01b0319821663780e9d6360e01b14806106e257506106e282611daf565b600c5460ff1615611b635760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107e2565b610917838383611dff565b60006001600160a01b0384163b15610dda57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611bb2903390899088908890600401612cb2565b6020604051808303816000875af1925050508015611bed575060408051601f3d908101601f19168201909252611bea91810190612cef565b60015b611c4a573d808015611c1b576040519150601f19603f3d011682016040523d82523d6000602084013e611c20565b606091505b508051600003611c425760405162461bcd60e51b81526004016107e290612b23565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506114b2565b611c6d81611eb7565b6000818152600b602052604090208054611c86906129a0565b159050610bea576000818152600b60205260408120610bea9161232e565b611cae8383611f5e565b611cbb6000848484611b6e565b6109175760405162461bcd60e51b81526004016107e290612b23565b6060611ce282611345565b611d465760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107e2565b6000611d5d60408051602081019091526000815290565b90506000815111611d7d5760405180602001604052806000815250611da8565b80611d878461209d565b604051602001611d98929190612c83565b6040516020818303038152906040525b9392505050565b60006001600160e01b031982166380ac58cd60e01b1480611de057506001600160e01b03198216635b5e139f60e01b145b806106e257506301ffc9a760e01b6001600160e01b03198316146106e2565b6001600160a01b038316611e5a57611e5581600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b611e7d565b816001600160a01b0316836001600160a01b031614611e7d57611e7d838261219e565b6001600160a01b038216611e94576109178161223b565b826001600160a01b0316826001600160a01b0316146109175761091782826122ea565b6000611ec282610de5565b9050611ed081600084611b1d565b611edb600083611362565b6001600160a01b0381166000908152600460205260408120805460019290611f04908490612afd565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b038216611fb45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107e2565b611fbd81611345565b1561200a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107e2565b61201660008383611b1d565b6001600160a01b038216600090815260046020526040812080546001929061203f908490612b10565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060816000036120c45750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120ee57806120d881612ae4565b91506120e79050600a83612d22565b91506120c8565b60008167ffffffffffffffff811115612109576121096124d9565b6040519080825280601f01601f191660200182016040528015612133576020820181803683370190505b5090505b84156114b257612148600183612afd565b9150612155600a86612d36565b612160906030612b10565b60f81b81838151811061217557612175612a72565b60200101906001600160f81b031916908160001a905350612197600a86612d22565b9450612137565b600060016121ab84610e5c565b6121b59190612afd565b600083815260086020526040902054909150808214612208576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061224d90600190612afd565b6000838152600a60205260408120546009805493945090928490811061227557612275612a72565b90600052602060002001549050806009838154811061229657612296612a72565b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806122ce576122ce612d4a565b6001900381819060005260206000200160009055905550505050565b60006122f583610e5c565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b50805461233a906129a0565b6000825580601f1061234a575050565b601f016020900490600052602060002090810190610bea91905b808211156123785760008155600101612364565b5090565b6001600160e01b031981168114610bea57600080fd5b6000602082840312156123a457600080fd5b8135611da88161237c565b60005b838110156123ca5781810151838201526020016123b2565b50506000910152565b600081518084526123eb8160208601602086016123af565b601f01601f19169290920160200192915050565b602081526000611da860208301846123d3565b60006020828403121561242457600080fd5b5035919050565b80356001600160a01b038116811461244257600080fd5b919050565b6000806040838503121561245a57600080fd5b6124638361242b565b946020939093013593505050565b60008060006060848603121561248657600080fd5b61248f8461242b565b925061249d6020850161242b565b9150604084013590509250925092565b600080604083850312156124c057600080fd5b823591506124d06020840161242b565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612518576125186124d9565b604052919050565b600067ffffffffffffffff83111561253a5761253a6124d9565b61254d601f8401601f19166020016124ef565b905082815283838301111561256157600080fd5b828260208301376000602084830101529392505050565b600082601f83011261258957600080fd5b611da883833560208501612520565b6000806000606084860312156125ad57600080fd5b6125b68461242b565b925060208401359150604084013567ffffffffffffffff8111156125d957600080fd5b6125e586828701612578565b9150509250925092565b600067ffffffffffffffff821115612609576126096124d9565b5060051b60200190565b600082601f83011261262457600080fd5b81356020612639612634836125ef565b6124ef565b82815260059290921b8401810191818101908684111561265857600080fd5b8286015b84811015612673578035835291830191830161265c565b509695505050505050565b600082601f83011261268f57600080fd5b8135602061269f612634836125ef565b82815260059290921b840181019181810190868411156126be57600080fd5b8286015b8481101561267357803567ffffffffffffffff8111156126e25760008081fd5b6126f08986838b0101612578565b8452509183019183016126c2565b60008060006060848603121561271357600080fd5b833567ffffffffffffffff8082111561272b57600080fd5b818601915086601f83011261273f57600080fd5b8135602061274f612634836125ef565b82815260059290921b8401810191818101908a84111561276e57600080fd5b948201945b83861015612793576127848661242b565b82529482019490820190612773565b975050870135925050808211156127a957600080fd5b6127b587838801612613565b935060408601359150808211156127cb57600080fd5b506125e58682870161267e565b6000602082840312156127ea57600080fd5b611da88261242b565b6020808252825182820181905260009190848201906040850190845b8181101561282b5783518352928401929184019160010161280f565b50909695505050505050565b6000806040838503121561284a57600080fd5b6128538361242b565b91506020830135801515811461286857600080fd5b809150509250929050565b6000806000806080858703121561288957600080fd5b6128928561242b565b93506128a06020860161242b565b925060408501359150606085013567ffffffffffffffff8111156128c357600080fd5b8501601f810187136128d457600080fd5b6128e387823560208401612520565b91505092959194509250565b6000806040838503121561290257600080fd5b61290b8361242b565b91506124d06020840161242b565b6000806000806060858703121561292f57600080fd5b6129388561242b565b935060208501359250604085013567ffffffffffffffff8082111561295c57600080fd5b818701915087601f83011261297057600080fd5b81358181111561297f57600080fd5b88602082850101111561299157600080fd5b95989497505060200194505050565b600181811c908216806129b457607f821691505b6020821081036129d457634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526027908201527f537465776172643a206d75737420686176652070617573657220726f6c6520746040820152666f20706175736560c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60208082526026908201527f537465776172643a206d7573742068617665206d696e74657220726f6c6520746040820152651bc81b5a5b9d60d21b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600060018201612af657612af6612ace565b5060010190565b818103818111156106e2576106e2612ace565b808201808211156106e2576106e2612ace565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b601f82111561091757600081815260208120601f850160051c81016020861015612b9c5750805b601f850160051c820191505b81811015612bbb57828155600101612ba8565b505050505050565b815167ffffffffffffffff811115612bdd57612bdd6124d9565b612bf181612beb84546129a0565b84612b75565b602080601f831160018114612c265760008415612c0e5750858301515b600019600386901b1c1916600185901b178555612bbb565b600085815260208120601f198616915b82811015612c5557888601518255948401946001909101908401612c36565b5085821015612c735787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351612c958184602088016123af565b835190830190612ca98183602088016123af565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ce5908301846123d3565b9695505050505050565b600060208284031215612d0157600080fd5b8151611da88161237c565b634e487b7160e01b600052601260045260246000fd5b600082612d3157612d31612d0c565b500490565b600082612d4557612d45612d0c565b500690565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220dc69891da1317cef7c214d4ee8571bf1917cf41192f2985f0d28c22c1fc8731e64736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000553545752440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013537465776172647320666f72204368616e676500000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): STWRD
Arg [1] : symbol_ (string): Stewards for Change
Arg [2] : publicMint (bool): False
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [4] : 5354575244000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [6] : 537465776172647320666f72204368616e676500000000000000000000000000
Deployed Bytecode Sourcemap
54409:3801:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57996:211;;;;;;;;;;-1:-1:-1;57996:211:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;57996:211:0;;;;;;;;24165:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25632:221::-;;;;;;;;;;-1:-1:-1;25632:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;25632:221:0;1533:203:1;25162:404:0;;;;;;;;;;-1:-1:-1;25162:404:0;;;;;:::i;:::-;;:::i;:::-;;36865:113;;;;;;;;;;-1:-1:-1;36953:10:0;:17;36865:113;;;2324:25:1;;;2312:2;2297:18;36865:113:0;2178:177:1;26522:305:0;;;;;;;;;;-1:-1:-1;26522:305:0;;;;;:::i;:::-;;:::i;50484:123::-;;;;;;;;;;-1:-1:-1;50484:123:0;;;;;:::i;:::-;50550:7;50577:12;;;:6;:12;;;;;:22;;;;50484:123;50869:232;;;;;;;;;;-1:-1:-1;50869:232:0;;;;;:::i;:::-;;:::i;36205:256::-;;;;;;;;;;-1:-1:-1;36205:256:0;;;;;:::i;:::-;;:::i;52088:218::-;;;;;;;;;;-1:-1:-1;52088:218:0;;;;;:::i;:::-;;:::i;55274:189::-;;;;;;;;;;;;;:::i;57249:135::-;;;;;;;;;;-1:-1:-1;57249:135:0;;;;;:::i;:::-;;:::i;26898:159::-;;;;;;:::i;:::-;;:::i;54155:245::-;;;;;;;;;;-1:-1:-1;54155:245:0;;;;;:::i;:::-;;:::i;37055:233::-;;;;;;;;;;-1:-1:-1;37055:233:0;;;;;:::i;:::-;;:::i;55768:419::-;;;;;;;;;;-1:-1:-1;55768:419:0;;;;;:::i;:::-;;:::i;56558:517::-;;;;;;;;;;-1:-1:-1;56558:517:0;;;;;:::i;:::-;;:::i;45138:86::-;;;;;;;;;;-1:-1:-1;45209:7:0;;;;45138:86;;23859:239;;;;;;;;;;-1:-1:-1;23859:239:0;;;;;:::i;:::-;;:::i;23589:208::-;;;;;;;;;;-1:-1:-1;23589:208:0;;;;;:::i;:::-;;:::i;18336:103::-;;;;;;;;;;;;;:::i;55081:185::-;;;;;;;;;;;;;:::i;36469:320::-;;;;;;;;;;-1:-1:-1;36469:320:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;17685:87::-;;;;;;;;;;-1:-1:-1;17731:7:0;17758:6;-1:-1:-1;;;;;17758:6:0;17685:87;;50156:139;;;;;;;;;;-1:-1:-1;50156:139:0;;;;;:::i;:::-;;:::i;24334:104::-;;;;;;;;;;;;;:::i;48612:49::-;;;;;;;;;;-1:-1:-1;48612:49:0;48657:4;48612:49;;25925:295;;;;;;;;;;-1:-1:-1;25925:295:0;;;;;:::i;:::-;;:::i;27128:293::-;;;;;;:::i;:::-;;:::i;57808:180::-;;;;;;;;;;-1:-1:-1;57808:180:0;;;;;:::i;:::-;;:::i;54589:62::-;;;;;;;;;;;;54627:24;54589:62;;51346:235;;;;;;;;;;-1:-1:-1;51346:235:0;;;;;:::i;:::-;;:::i;54520:62::-;;;;;;;;;;;;54558:24;54520:62;;26291:164;;;;;;;;;;-1:-1:-1;26291:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26412:25:0;;;26388:4;26412:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26291:164;57083:158;;;;;;;;;;-1:-1:-1;57083:158:0;;;;;:::i;:::-;;:::i;18594:201::-;;;;;;;;;;-1:-1:-1;18594:201:0;;;;;:::i;:::-;;:::i;57996:211::-;58134:4;58163:36;58187:11;58163:23;:36::i;:::-;58156:43;57996:211;-1:-1:-1;;57996:211:0:o;24165:100::-;24219:13;24252:5;24245:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24165:100;:::o;25632:221::-;25708:7;25736:16;25744:7;25736;:16::i;:::-;25728:73;;;;-1:-1:-1;;;25728:73:0;;11415:2:1;25728:73:0;;;11397:21:1;11454:2;11434:18;;;11427:30;11493:34;11473:18;;;11466:62;-1:-1:-1;;;11544:18:1;;;11537:42;11596:19;;25728:73:0;;;;;;;;;-1:-1:-1;25821:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;25821:24:0;;25632:221::o;25162:404::-;25243:13;25259:23;25274:7;25259:14;:23::i;:::-;25243:39;;25307:5;-1:-1:-1;;;;;25301:11:0;:2;-1:-1:-1;;;;;25301:11:0;;25293:57;;;;-1:-1:-1;;;25293:57:0;;11828:2:1;25293:57:0;;;11810:21:1;11867:2;11847:18;;;11840:30;11906:34;11886:18;;;11879:62;-1:-1:-1;;;11957:18:1;;;11950:31;11998:19;;25293:57:0;11626:397:1;25293:57:0;16441:10;-1:-1:-1;;;;;25371:21:0;;;;:69;;-1:-1:-1;25396:44:0;25420:5;16441:10;26291:164;:::i;25396:44::-;25363:161;;;;-1:-1:-1;;;25363:161:0;;12230:2:1;25363:161:0;;;12212:21:1;12269:2;12249:18;;;12242:30;12308:34;12288:18;;;12281:62;12379:26;12359:18;;;12352:54;12423:19;;25363:161:0;12028:420:1;25363:161:0;25537:21;25546:2;25550:7;25537:8;:21::i;:::-;25232:334;25162:404;;:::o;26522:305::-;26683:41;16441:10;26702:12;26716:7;26683:18;:41::i;:::-;26675:103;;;;-1:-1:-1;;;26675:103:0;;;;;;;:::i;:::-;26791:28;26801:4;26807:2;26811:7;26791:9;:28::i;50869:232::-;50550:7;50577:12;;;:6;:12;;;;;:22;;;50962:41;;50970:18;16441:10;50156:139;:::i;50962:41::-;50954:101;;;;-1:-1:-1;;;50954:101:0;;13073:2:1;50954:101:0;;;13055:21:1;13112:2;13092:18;;;13085:30;13151:34;13131:18;;;13124:62;-1:-1:-1;;;13202:18:1;;;13195:45;13257:19;;50954:101:0;12871:411:1;50954:101:0;51068:25;51079:4;51085:7;51068:10;:25::i;:::-;50869:232;;:::o;36205:256::-;36302:7;36338:23;36355:5;36338:16;:23::i;:::-;36330:5;:31;36322:87;;;;-1:-1:-1;;;36322:87:0;;13489:2:1;36322:87:0;;;13471:21:1;13528:2;13508:18;;;13501:30;13567:34;13547:18;;;13540:62;-1:-1:-1;;;13618:18:1;;;13611:41;13669:19;;36322:87:0;13287:407:1;36322:87:0;-1:-1:-1;;;;;;36427:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;36205:256::o;52088:218::-;-1:-1:-1;;;;;52184:23:0;;16441:10;52184:23;52176:83;;;;-1:-1:-1;;;52176:83:0;;13901:2:1;52176:83:0;;;13883:21:1;13940:2;13920:18;;;13913:30;13979:34;13959:18;;;13952:62;-1:-1:-1;;;14030:18:1;;;14023:45;14085:19;;52176:83:0;13699:411:1;52176:83:0;52272:26;52284:4;52290:7;52272:11;:26::i;55274:189::-;55333:34;54558:24;16441:10;50156:139;:::i;55333:34::-;55311:123;;;;-1:-1:-1;;;55311:123:0;;;;;;;:::i;:::-;55445:10;:8;:10::i;:::-;55274:189::o;57249:135::-;57326:50;16441:10;57360:2;57364:7;57326:50;;;;;;;;;;;;:19;:50::i;26898:159::-;27010:39;27027:4;27033:2;27037:7;27010:39;;;;;;;;;;;;:16;:39::i;54155:245::-;54273:41;16441:10;54292:12;16361:98;54273:41;54265:102;;;;-1:-1:-1;;;54265:102:0;;14725:2:1;54265:102:0;;;14707:21:1;14764:2;14744:18;;;14737:30;14803:34;14783:18;;;14776:62;-1:-1:-1;;;14854:18:1;;;14847:46;14910:19;;54265:102:0;14523:412:1;54265:102:0;54378:14;54384:7;54378:5;:14::i;:::-;54155:245;:::o;37055:233::-;37130:7;37166:30;36953:10;:17;;36865:113;37166:30;37158:5;:38;37150:95;;;;-1:-1:-1;;;37150:95:0;;15142:2:1;37150:95:0;;;15124:21:1;15181:2;15161:18;;;15154:30;15220:34;15200:18;;;15193:62;-1:-1:-1;;;15271:18:1;;;15264:42;15323:19;;37150:95:0;14940:408:1;37150:95:0;37263:10;37274:5;37263:17;;;;;;;;:::i;:::-;;;;;;;;;37256:24;;37055:233;;;:::o;55768:419::-;55914:11;;55892:4;;55914:11;;55909:179;;55968:34;54627:24;16441:10;50156:139;:::i;55968:34::-;55942:134;;;;-1:-1:-1;;;55942:134:0;;;;;;;:::i;:::-;56098:22;56108:2;56112:7;56098:9;:22::i;:::-;56131:26;56144:7;56153:3;56131:12;:26::i;:::-;-1:-1:-1;56175:4:0;55768:419;;;;;:::o;56558:517::-;56720:11;;56698:4;;56720:11;;56715:179;;56774:34;54627:24;16441:10;50156:139;:::i;56774:34::-;56748:134;;;;-1:-1:-1;;;56748:134:0;;;;;;;:::i;:::-;56909:9;56904:142;56928:2;:9;56924:1;:13;56904:142;;;56959:28;56969:2;56972:1;56969:5;;;;;;;;:::i;:::-;;;;;;;56976:7;56984:1;56976:10;;;;;;;;:::i;:::-;;;;;;;56959:9;:28::i;:::-;57002:32;57015:7;57023:1;57015:10;;;;;;;;:::i;:::-;;;;;;;57027:3;57031:1;57027:6;;;;;;;;:::i;:::-;;;;;;;57002:12;:32::i;:::-;56939:3;;;;:::i;:::-;;;;56904:142;;;-1:-1:-1;57063:4:0;;56558:517;-1:-1:-1;;;;56558:517:0:o;23859:239::-;23931:7;23967:16;;;:7;:16;;;;;;-1:-1:-1;;;;;23967:16:0;;23994:73;;;;-1:-1:-1;;;23994:73:0;;16366:2:1;23994:73:0;;;16348:21:1;16405:2;16385:18;;;16378:30;16444:34;16424:18;;;16417:62;-1:-1:-1;;;16495:18:1;;;16488:39;16544:19;;23994:73:0;16164:405:1;23589:208:0;23661:7;-1:-1:-1;;;;;23689:19:0;;23681:74;;;;-1:-1:-1;;;23681:74:0;;16776:2:1;23681:74:0;;;16758:21:1;16815:2;16795:18;;;16788:30;16854:34;16834:18;;;16827:62;-1:-1:-1;;;16905:18:1;;;16898:40;16955:19;;23681:74:0;16574:406:1;23681:74:0;-1:-1:-1;;;;;;23773:16:0;;;;;:9;:16;;;;;;;23589:208::o;18336:103::-;17731:7;17758:6;-1:-1:-1;;;;;17758:6:0;16441:10;17905:23;17897:68;;;;-1:-1:-1;;;17897:68:0;;17187:2:1;17897:68:0;;;17169:21:1;;;17206:18;;;17199:30;17265:34;17245:18;;;17238:62;17317:18;;17897:68:0;16985:356:1;17897:68:0;18401:30:::1;18428:1;18401:18;:30::i;55081:185::-:0;55138:34;54558:24;16441:10;50156:139;:::i;55138:34::-;55116:123;;;;-1:-1:-1;;;55116:123:0;;;;;;;:::i;:::-;55250:8;:6;:8::i;36469:320::-;36528:16;36557:28;36602:23;36619:5;36602:16;:23::i;:::-;36588:38;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36588:38:0;;36557:69;;36641:6;36637:116;36657:23;36674:5;36657:16;:23::i;:::-;36653:1;:27;36637:116;;;-1:-1:-1;;;;;36719:19:0;;;;;;:12;:19;;;;;;;;:22;;;;;;;;;36702:14;;:11;;36739:1;;36702:14;;;;;;:::i;:::-;;;;;;;;;;:39;36682:3;;;;:::i;:::-;;;;36637:116;;;-1:-1:-1;36770:11:0;36469:320;-1:-1:-1;;36469:320:0:o;50156:139::-;50234:4;50258:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;50258:29:0;;;;;;;;;;;;;;;50156:139::o;24334:104::-;24390:13;24423:7;24416:14;;;;;:::i;25925:295::-;16441:10;-1:-1:-1;;;;;26028:24:0;;;26020:62;;;;-1:-1:-1;;;26020:62:0;;17548:2:1;26020:62:0;;;17530:21:1;17587:2;17567:18;;;17560:30;17626:27;17606:18;;;17599:55;17671:18;;26020:62:0;17346:349:1;26020:62:0;16441:10;26095:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;26095:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;26095:53:0;;;;;;;;;;26164:48;;540:41:1;;;26095:42:0;;16441:10;26164:48;;513:18:1;26164:48:0;;;;;;;25925:295;;:::o;27128:293::-;27268:41;16441:10;27301:7;27268:18;:41::i;:::-;27260:103;;;;-1:-1:-1;;;27260:103:0;;;;;;;:::i;:::-;27374:39;27388:4;27394:2;27398:7;27407:5;27374:13;:39::i;:::-;27128:293;;;;:::o;57808:180::-;57919:13;57957:23;57972:7;57957:14;:23::i;51346:235::-;50550:7;50577:12;;;:6;:12;;;;;:22;;;51440:41;;51448:18;50484:123;51440:41;51432:102;;;;-1:-1:-1;;;51432:102:0;;17902:2:1;51432:102:0;;;17884:21:1;17941:2;17921:18;;;17914:30;17980:34;17960:18;;;17953:62;-1:-1:-1;;;18031:18:1;;;18024:46;18087:19;;51432:102:0;17700:412:1;57083:158:0;57181:52;16441:10;57215:2;57219:7;57228:4;;57181:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57181:19:0;;-1:-1:-1;;;57181:52:0:i;18594:201::-;17731:7;17758:6;-1:-1:-1;;;;;17758:6:0;16441:10;17905:23;17897:68;;;;-1:-1:-1;;;17897:68:0;;17187:2:1;17897:68:0;;;17169:21:1;;;17206:18;;;17199:30;17265:34;17245:18;;;17238:62;17317:18;;17897:68:0;16985:356:1;17897:68:0;-1:-1:-1;;;;;18683:22:0;::::1;18675:73;;;::::0;-1:-1:-1;;;18675:73:0;;18319:2:1;18675:73:0::1;::::0;::::1;18301:21:1::0;18358:2;18338:18;;;18331:30;18397:34;18377:18;;;18370:62;-1:-1:-1;;;18448:18:1;;;18441:36;18494:19;;18675:73:0::1;18117:402:1::0;18675:73:0::1;18759:28;18778:8;18759:18;:28::i;49847:217::-:0;49932:4;-1:-1:-1;;;;;;49956:47:0;;-1:-1:-1;;;49956:47:0;;:100;;;50020:36;50044:11;50020:23;:36::i;28888:127::-;28953:4;28977:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28977:16:0;:30;;;28888:127::o;32773:174::-;32848:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;32848:29:0;-1:-1:-1;;;;;32848:29:0;;;;;;;;:24;;32902:23;32848:24;32902:14;:23::i;:::-;-1:-1:-1;;;;;32893:46:0;;;;;;;;;;;32773:174;;:::o;29182:355::-;29275:4;29300:16;29308:7;29300;:16::i;:::-;29292:73;;;;-1:-1:-1;;;29292:73:0;;18726:2:1;29292:73:0;;;18708:21:1;18765:2;18745:18;;;18738:30;18804:34;18784:18;;;18777:62;-1:-1:-1;;;18855:18:1;;;18848:42;18907:19;;29292:73:0;18524:408:1;29292:73:0;29376:13;29392:23;29407:7;29392:14;:23::i;:::-;29376:39;;29445:5;-1:-1:-1;;;;;29434:16:0;:7;-1:-1:-1;;;;;29434:16:0;;:51;;;;29478:7;-1:-1:-1;;;;;29454:31:0;:20;29466:7;29454:11;:20::i;:::-;-1:-1:-1;;;;;29454:31:0;;29434:51;:94;;;-1:-1:-1;;;;;;26412:25:0;;;26388:4;26412:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;29489:39;29426:103;29182:355;-1:-1:-1;;;;29182:355:0:o;32111:544::-;32236:4;-1:-1:-1;;;;;32209:31:0;:23;32224:7;32209:14;:23::i;:::-;-1:-1:-1;;;;;32209:31:0;;32201:85;;;;-1:-1:-1;;;32201:85:0;;19139:2:1;32201:85:0;;;19121:21:1;19178:2;19158:18;;;19151:30;19217:34;19197:18;;;19190:62;-1:-1:-1;;;19268:18:1;;;19261:39;19317:19;;32201:85:0;18937:405:1;32201:85:0;-1:-1:-1;;;;;32305:16:0;;32297:65;;;;-1:-1:-1;;;32297:65:0;;19549:2:1;32297:65:0;;;19531:21:1;19588:2;19568:18;;;19561:30;19627:34;19607:18;;;19600:62;-1:-1:-1;;;19678:18:1;;;19671:34;19722:19;;32297:65:0;19347:400:1;32297:65:0;32375:39;32396:4;32402:2;32406:7;32375:20;:39::i;:::-;32479:29;32496:1;32500:7;32479:8;:29::i;:::-;-1:-1:-1;;;;;32521:15:0;;;;;;:9;:15;;;;;:20;;32540:1;;32521:15;:20;;32540:1;;32521:20;:::i;:::-;;;;-1:-1:-1;;;;;;;32552:13:0;;;;;;:9;:13;;;;;:18;;32569:1;;32552:13;:18;;32569:1;;32552:18;:::i;:::-;;;;-1:-1:-1;;32581:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;32581:21:0;-1:-1:-1;;;;;32581:21:0;;;;;;;;;32620:27;;32581:16;;32620:27;;;;;;;32111:544;;;:::o;53336:229::-;53411:22;53419:4;53425:7;53411;:22::i;:::-;53406:152;;53450:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;53450:29:0;;;;;;;;;:36;;-1:-1:-1;;53450:36:0;53482:4;53450:36;;;53533:12;16441:10;;16361:98;53533:12;-1:-1:-1;;;;;53506:40:0;53524:7;-1:-1:-1;;;;;53506:40:0;53518:4;53506:40;;;;;;;;;;53336:229;;:::o;53573:230::-;53648:22;53656:4;53662:7;53648;:22::i;:::-;53644:152;;;53719:5;53687:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;53687:29:0;;;;;;;;;;:37;;-1:-1:-1;;53687:37:0;;;53744:40;16441:10;;53687:12;;53744:40;;53719:5;53744:40;53573:230;;:::o;46197:120::-;45209:7;;;;45733:41;;;;-1:-1:-1;;;45733:41:0;;20217:2:1;45733:41:0;;;20199:21:1;20256:2;20236:18;;;20229:30;-1:-1:-1;;;20275:18:1;;;20268:50;20335:18;;45733:41:0;20015:344:1;45733:41:0;46256:7:::1;:15:::0;;-1:-1:-1;;46256:15:0::1;::::0;;46287:22:::1;16441:10:::0;46296:12:::1;46287:22;::::0;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;46287:22:0::1;;;;;;;46197:120::o:0;28303:272::-;28417:28;28427:4;28433:2;28437:7;28417:9;:28::i;:::-;28464:48;28487:4;28493:2;28497:7;28506:5;28464:22;:48::i;:::-;28456:111;;;;-1:-1:-1;;;28456:111:0;;;;;;;:::i;57685:115::-;57772:20;57784:7;57772:11;:20::i;29880:110::-;29956:26;29966:2;29970:7;29956:26;;;;;;;;;;;;:9;:26::i;43493:217::-;43593:16;43601:7;43593;:16::i;:::-;43585:75;;;;-1:-1:-1;;;43585:75:0;;20985:2:1;43585:75:0;;;20967:21:1;21024:2;21004:18;;;20997:30;21063:34;21043:18;;;21036:62;-1:-1:-1;;;21114:18:1;;;21107:44;21168:19;;43585:75:0;20783:410:1;43585:75:0;43671:19;;;;:10;:19;;;;;:31;43693:9;43671:19;:31;:::i;18955:191::-;19029:16;19048:6;;-1:-1:-1;;;;;19065:17:0;;;-1:-1:-1;;;;;;19065:17:0;;;;;;19098:40;;19048:6;;;;;;;19098:40;;19029:16;19098:40;19018:128;18955:191;:::o;45938:118::-;45209:7;;;;45463:9;45455:38;;;;-1:-1:-1;;;45455:38:0;;23604:2:1;45455:38:0;;;23586:21:1;23643:2;23623:18;;;23616:30;-1:-1:-1;;;23662:18:1;;;23655:46;23718:18;;45455:38:0;23402:340:1;45455:38:0;45998:7:::1;:14:::0;;-1:-1:-1;;45998:14:0::1;46008:4;45998:14;::::0;;46028:20:::1;46035:12;16441:10:::0;;16361:98;42658:679;42731:13;42765:16;42773:7;42765;:16::i;:::-;42757:78;;;;-1:-1:-1;;;42757:78:0;;23949:2:1;42757:78:0;;;23931:21:1;23988:2;23968:18;;;23961:30;24027:34;24007:18;;;24000:62;-1:-1:-1;;;24078:18:1;;;24071:47;24135:19;;42757:78:0;23747:413:1;42757:78:0;42848:23;42874:19;;;:10;:19;;;;;42848:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42904:18;42925:10;25083:9;;;;;;;;;-1:-1:-1;25083:9:0;;;25006:94;42925:10;42904:31;;43017:4;43011:18;43033:1;43011:23;43007:72;;-1:-1:-1;43058:9:0;42658:679;-1:-1:-1;;42658:679:0:o;43007:72::-;43183:23;;:27;43179:108;;43258:4;43264:9;43241:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;43227:48;;;;42658:679;;;:::o;43179:108::-;43306:23;43321:7;43306:14;:23::i;35884:237::-;35986:4;-1:-1:-1;;;;;;36010:50:0;;-1:-1:-1;;;36010:50:0;;:103;;;36077:36;36101:11;36077:23;:36::i;57392:215::-;45209:7;;;;45463:9;45455:38;;;;-1:-1:-1;;;45455:38:0;;23604:2:1;45455:38:0;;;23586:21:1;23643:2;23623:18;;;23616:30;-1:-1:-1;;;23662:18:1;;;23655:46;23718:18;;45455:38:0;23402:340:1;45455:38:0;57554:45:::1;57581:4;57587:2;57591:7;57554:26;:45::i;33512:843::-:0;33633:4;-1:-1:-1;;;;;33659:13:0;;8928:20;8967:8;33655:693;;33695:72;;-1:-1:-1;;;33695:72:0;;-1:-1:-1;;;;;33695:36:0;;;;;:72;;16441:10;;33746:4;;33752:7;;33761:5;;33695:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33695:72:0;;;;;;;;-1:-1:-1;;33695:72:0;;;;;;;;;;;;:::i;:::-;;;33691:602;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33941:6;:13;33958:1;33941:18;33937:341;;33984:60;;-1:-1:-1;;;33984:60:0;;;;;;;:::i;33937:341::-;34228:6;34222:13;34213:6;34209:2;34205:15;34198:38;33691:602;-1:-1:-1;;;;;;33818:55:0;-1:-1:-1;;;33818:55:0;;-1:-1:-1;33811:62:0;;43939:206;44008:20;44020:7;44008:11;:20::i;:::-;44051:19;;;;:10;:19;;;;;44045:33;;;;;:::i;:::-;:38;;-1:-1:-1;44041:97:0;;44107:19;;;;:10;:19;;;;;44100:26;;;:::i;30217:250::-;30313:18;30319:2;30323:7;30313:5;:18::i;:::-;30350:54;30381:1;30385:2;30389:7;30398:5;30350:22;:54::i;:::-;30342:117;;;;-1:-1:-1;;;30342:117:0;;;;;;;:::i;24509:360::-;24582:13;24616:16;24624:7;24616;:16::i;:::-;24608:76;;;;-1:-1:-1;;;24608:76:0;;25616:2:1;24608:76:0;;;25598:21:1;25655:2;25635:18;;;25628:30;25694:34;25674:18;;;25667:62;-1:-1:-1;;;25745:18:1;;;25738:45;25800:19;;24608:76:0;25414:411:1;24608:76:0;24697:21;24721:10;25083:9;;;;;;;;;-1:-1:-1;25083:9:0;;;25006:94;24721:10;24697:34;;24773:1;24755:7;24749:21;:25;:112;;;;;;;;;;;;;;;;;24814:7;24823:18;:7;:16;:18::i;:::-;24797:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;24749:112;24742:119;24509:360;-1:-1:-1;;;24509:360:0:o;23233:292::-;23335:4;-1:-1:-1;;;;;;23359:40:0;;-1:-1:-1;;;23359:40:0;;:105;;-1:-1:-1;;;;;;;23416:48:0;;-1:-1:-1;;;23416:48:0;23359:105;:158;;;-1:-1:-1;;;;;;;;;;21943:40:0;;;23481:36;21834:157;37901:555;-1:-1:-1;;;;;38073:18:0;;38069:187;;38108:40;38140:7;39283:10;:17;;39256:24;;;;:15;:24;;;;;:44;;;39311:24;;;;;;;;;;;;39179:164;38108:40;38069:187;;;38178:2;-1:-1:-1;;;;;38170:10:0;:4;-1:-1:-1;;;;;38170:10:0;;38166:90;;38197:47;38230:4;38236:7;38197:32;:47::i;:::-;-1:-1:-1;;;;;38270:16:0;;38266:183;;38303:45;38340:7;38303:36;:45::i;38266:183::-;38376:4;-1:-1:-1;;;;;38370:10:0;:2;-1:-1:-1;;;;;38370:10:0;;38366:83;;38397:40;38425:2;38429:7;38397:27;:40::i;31414:360::-;31474:13;31490:23;31505:7;31490:14;:23::i;:::-;31474:39;;31526:48;31547:5;31562:1;31566:7;31526:20;:48::i;:::-;31615:29;31632:1;31636:7;31615:8;:29::i;:::-;-1:-1:-1;;;;;31657:16:0;;;;;;:9;:16;;;;;:21;;31677:1;;31657:16;:21;;31677:1;;31657:21;:::i;:::-;;;;-1:-1:-1;;31696:16:0;;;;:7;:16;;;;;;31689:23;;-1:-1:-1;;;;;;31689:23:0;;;31730:36;31704:7;;31696:16;-1:-1:-1;;;;;31730:36:0;;;;;31696:16;;31730:36;31463:311;31414:360;:::o;30803:382::-;-1:-1:-1;;;;;30883:16:0;;30875:61;;;;-1:-1:-1;;;30875:61:0;;26032:2:1;30875:61:0;;;26014:21:1;;;26051:18;;;26044:30;26110:34;26090:18;;;26083:62;26162:18;;30875:61:0;25830:356:1;30875:61:0;30956:16;30964:7;30956;:16::i;:::-;30955:17;30947:58;;;;-1:-1:-1;;;30947:58:0;;26393:2:1;30947:58:0;;;26375:21:1;26432:2;26412:18;;;26405:30;26471;26451:18;;;26444:58;26519:18;;30947:58:0;26191:352:1;30947:58:0;31018:45;31047:1;31051:2;31055:7;31018:20;:45::i;:::-;-1:-1:-1;;;;;31076:13:0;;;;;;:9;:13;;;;;:18;;31093:1;;31076:13;:18;;31093:1;;31076:18;:::i;:::-;;;;-1:-1:-1;;31105:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31105:21:0;-1:-1:-1;;;;;31105:21:0;;;;;;;;31144:33;;31105:16;;;31144:33;;31105:16;;31144:33;30803:382;;:::o;19377:723::-;19433:13;19654:5;19663:1;19654:10;19650:53;;-1:-1:-1;;19681:10:0;;;;;;;;;;;;-1:-1:-1;;;19681:10:0;;;;;19377:723::o;19650:53::-;19728:5;19713:12;19769:78;19776:9;;19769:78;;19802:8;;;;:::i;:::-;;-1:-1:-1;19825:10:0;;-1:-1:-1;19833:2:0;19825:10;;:::i;:::-;;;19769:78;;;19857:19;19889:6;19879:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19879:17:0;;19857:39;;19907:154;19914:10;;19907:154;;19941:11;19951:1;19941:11;;:::i;:::-;;-1:-1:-1;20010:10:0;20018:2;20010:5;:10;:::i;:::-;19997:24;;:2;:24;:::i;:::-;19984:39;;19967:6;19974;19967:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;19967:56:0;;;;;;;;-1:-1:-1;20038:11:0;20047:2;20038:11;;:::i;:::-;;;19907:154;;39970:988;40236:22;40286:1;40261:22;40278:4;40261:16;:22::i;:::-;:26;;;;:::i;:::-;40298:18;40319:26;;;:17;:26;;;;;;40236:51;;-1:-1:-1;40452:28:0;;;40448:328;;-1:-1:-1;;;;;40519:18:0;;40497:19;40519:18;;;:12;:18;;;;;;;;:34;;;;;;;;;40570:30;;;;;;:44;;;40687:30;;:17;:30;;;;;:43;;;40448:328;-1:-1:-1;40872:26:0;;;;:17;:26;;;;;;;;40865:33;;;-1:-1:-1;;;;;40916:18:0;;;;;:12;:18;;;;;:34;;;;;;;40909:41;39970:988::o;41253:1079::-;41531:10;:17;41506:22;;41531:21;;41551:1;;41531:21;:::i;:::-;41563:18;41584:24;;;:15;:24;;;;;;41957:10;:26;;41506:46;;-1:-1:-1;41584:24:0;;41506:46;;41957:26;;;;;;:::i;:::-;;;;;;;;;41935:48;;42021:11;41996:10;42007;41996:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;42101:28;;;:15;:28;;;;;;;:41;;;42273:24;;;;;42266:31;42308:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;41324:1008;;;41253:1079;:::o;38757:221::-;38842:14;38859:20;38876:2;38859:16;:20::i;:::-;-1:-1:-1;;;;;38890:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;38935:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;38757:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;3060:254::-;3128:6;3136;3189:2;3177:9;3168:7;3164:23;3160:32;3157:52;;;3205:1;3202;3195:12;3157:52;3241:9;3228:23;3218:33;;3270:38;3304:2;3293:9;3289:18;3270:38;:::i;:::-;3260:48;;3060:254;;;;;:::o;3319:127::-;3380:10;3375:3;3371:20;3368:1;3361:31;3411:4;3408:1;3401:15;3435:4;3432:1;3425:15;3451:275;3522:2;3516:9;3587:2;3568:13;;-1:-1:-1;;3564:27:1;3552:40;;3622:18;3607:34;;3643:22;;;3604:62;3601:88;;;3669:18;;:::i;:::-;3705:2;3698:22;3451:275;;-1:-1:-1;3451:275:1:o;3731:407::-;3796:5;3830:18;3822:6;3819:30;3816:56;;;3852:18;;:::i;:::-;3890:57;3935:2;3914:15;;-1:-1:-1;;3910:29:1;3941:4;3906:40;3890:57;:::i;:::-;3881:66;;3970:6;3963:5;3956:21;4010:3;4001:6;3996:3;3992:16;3989:25;3986:45;;;4027:1;4024;4017:12;3986:45;4076:6;4071:3;4064:4;4057:5;4053:16;4040:43;4130:1;4123:4;4114:6;4107:5;4103:18;4099:29;4092:40;3731:407;;;;;:::o;4143:222::-;4186:5;4239:3;4232:4;4224:6;4220:17;4216:27;4206:55;;4257:1;4254;4247:12;4206:55;4279:80;4355:3;4346:6;4333:20;4326:4;4318:6;4314:17;4279:80;:::i;4370:464::-;4457:6;4465;4473;4526:2;4514:9;4505:7;4501:23;4497:32;4494:52;;;4542:1;4539;4532:12;4494:52;4565:29;4584:9;4565:29;:::i;:::-;4555:39;;4641:2;4630:9;4626:18;4613:32;4603:42;;4696:2;4685:9;4681:18;4668:32;4723:18;4715:6;4712:30;4709:50;;;4755:1;4752;4745:12;4709:50;4778;4820:7;4811:6;4800:9;4796:22;4778:50;:::i;:::-;4768:60;;;4370:464;;;;;:::o;4839:183::-;4899:4;4932:18;4924:6;4921:30;4918:56;;;4954:18;;:::i;:::-;-1:-1:-1;4999:1:1;4995:14;5011:4;4991:25;;4839:183::o;5027:662::-;5081:5;5134:3;5127:4;5119:6;5115:17;5111:27;5101:55;;5152:1;5149;5142:12;5101:55;5188:6;5175:20;5214:4;5238:60;5254:43;5294:2;5254:43;:::i;:::-;5238:60;:::i;:::-;5332:15;;;5418:1;5414:10;;;;5402:23;;5398:32;;;5363:12;;;;5442:15;;;5439:35;;;5470:1;5467;5460:12;5439:35;5506:2;5498:6;5494:15;5518:142;5534:6;5529:3;5526:15;5518:142;;;5600:17;;5588:30;;5638:12;;;;5551;;5518:142;;;-1:-1:-1;5678:5:1;5027:662;-1:-1:-1;;;;;;5027:662:1:o;5694:888::-;5747:5;5800:3;5793:4;5785:6;5781:17;5777:27;5767:55;;5818:1;5815;5808:12;5767:55;5854:6;5841:20;5880:4;5904:60;5920:43;5960:2;5920:43;:::i;5904:60::-;5998:15;;;6084:1;6080:10;;;;6068:23;;6064:32;;;6029:12;;;;6108:15;;;6105:35;;;6136:1;6133;6126:12;6105:35;6172:2;6164:6;6160:15;6184:369;6200:6;6195:3;6192:15;6184:369;;;6286:3;6273:17;6322:18;6309:11;6306:35;6303:125;;;6382:1;6411:2;6407;6400:14;6303:125;6453:57;6506:3;6501:2;6487:11;6479:6;6475:24;6471:33;6453:57;:::i;:::-;6441:70;;-1:-1:-1;6531:12:1;;;;6217;;6184:369;;6587:1381;6749:6;6757;6765;6818:2;6806:9;6797:7;6793:23;6789:32;6786:52;;;6834:1;6831;6824:12;6786:52;6874:9;6861:23;6903:18;6944:2;6936:6;6933:14;6930:34;;;6960:1;6957;6950:12;6930:34;6998:6;6987:9;6983:22;6973:32;;7043:7;7036:4;7032:2;7028:13;7024:27;7014:55;;7065:1;7062;7055:12;7014:55;7101:2;7088:16;7123:4;7147:60;7163:43;7203:2;7163:43;:::i;7147:60::-;7241:15;;;7323:1;7319:10;;;;7311:19;;7307:28;;;7272:12;;;;7347:19;;;7344:39;;;7379:1;7376;7369:12;7344:39;7403:11;;;;7423:148;7439:6;7434:3;7431:15;7423:148;;;7505:23;7524:3;7505:23;:::i;:::-;7493:36;;7456:12;;;;7549;;;;7423:148;;;7590:5;-1:-1:-1;;7633:18:1;;7620:32;;-1:-1:-1;;7664:16:1;;;7661:36;;;7693:1;7690;7683:12;7661:36;7716:63;7771:7;7760:8;7749:9;7745:24;7716:63;:::i;:::-;7706:73;;7832:2;7821:9;7817:18;7804:32;7788:48;;7861:2;7851:8;7848:16;7845:36;;;7877:1;7874;7867:12;7845:36;;7900:62;7954:7;7943:8;7932:9;7928:24;7900:62;:::i;7973:186::-;8032:6;8085:2;8073:9;8064:7;8060:23;8056:32;8053:52;;;8101:1;8098;8091:12;8053:52;8124:29;8143:9;8124:29;:::i;8164:632::-;8335:2;8387:21;;;8457:13;;8360:18;;;8479:22;;;8306:4;;8335:2;8558:15;;;;8532:2;8517:18;;;8306:4;8601:169;8615:6;8612:1;8609:13;8601:169;;;8676:13;;8664:26;;8745:15;;;;8710:12;;;;8637:1;8630:9;8601:169;;;-1:-1:-1;8787:3:1;;8164:632;-1:-1:-1;;;;;;8164:632:1:o;8801:347::-;8866:6;8874;8927:2;8915:9;8906:7;8902:23;8898:32;8895:52;;;8943:1;8940;8933:12;8895:52;8966:29;8985:9;8966:29;:::i;:::-;8956:39;;9045:2;9034:9;9030:18;9017:32;9092:5;9085:13;9078:21;9071:5;9068:32;9058:60;;9114:1;9111;9104:12;9058:60;9137:5;9127:15;;;8801:347;;;;;:::o;9153:667::-;9248:6;9256;9264;9272;9325:3;9313:9;9304:7;9300:23;9296:33;9293:53;;;9342:1;9339;9332:12;9293:53;9365:29;9384:9;9365:29;:::i;:::-;9355:39;;9413:38;9447:2;9436:9;9432:18;9413:38;:::i;:::-;9403:48;;9498:2;9487:9;9483:18;9470:32;9460:42;;9553:2;9542:9;9538:18;9525:32;9580:18;9572:6;9569:30;9566:50;;;9612:1;9609;9602:12;9566:50;9635:22;;9688:4;9680:13;;9676:27;-1:-1:-1;9666:55:1;;9717:1;9714;9707:12;9666:55;9740:74;9806:7;9801:2;9788:16;9783:2;9779;9775:11;9740:74;:::i;:::-;9730:84;;;9153:667;;;;;;;:::o;9825:260::-;9893:6;9901;9954:2;9942:9;9933:7;9929:23;9925:32;9922:52;;;9970:1;9967;9960:12;9922:52;9993:29;10012:9;9993:29;:::i;:::-;9983:39;;10041:38;10075:2;10064:9;10060:18;10041:38;:::i;10090:733::-;10178:6;10186;10194;10202;10255:2;10243:9;10234:7;10230:23;10226:32;10223:52;;;10271:1;10268;10261:12;10223:52;10294:29;10313:9;10294:29;:::i;:::-;10284:39;;10370:2;10359:9;10355:18;10342:32;10332:42;;10425:2;10414:9;10410:18;10397:32;10448:18;10489:2;10481:6;10478:14;10475:34;;;10505:1;10502;10495:12;10475:34;10543:6;10532:9;10528:22;10518:32;;10588:7;10581:4;10577:2;10573:13;10569:27;10559:55;;10610:1;10607;10600:12;10559:55;10650:2;10637:16;10676:2;10668:6;10665:14;10662:34;;;10692:1;10689;10682:12;10662:34;10737:7;10732:2;10723:6;10719:2;10715:15;10711:24;10708:37;10705:57;;;10758:1;10755;10748:12;10705:57;10090:733;;;;-1:-1:-1;;10789:2:1;10781:11;;-1:-1:-1;;;10090:733:1:o;10828:380::-;10907:1;10903:12;;;;10950;;;10971:61;;11025:4;11017:6;11013:17;11003:27;;10971:61;11078:2;11070:6;11067:14;11047:18;11044:38;11041:161;;11124:10;11119:3;11115:20;11112:1;11105:31;11159:4;11156:1;11149:15;11187:4;11184:1;11177:15;11041:161;;10828:380;;;:::o;12453:413::-;12655:2;12637:21;;;12694:2;12674:18;;;12667:30;12733:34;12728:2;12713:18;;12706:62;-1:-1:-1;;;12799:2:1;12784:18;;12777:47;12856:3;12841:19;;12453:413::o;14115:403::-;14317:2;14299:21;;;14356:2;14336:18;;;14329:30;14395:34;14390:2;14375:18;;14368:62;-1:-1:-1;;;14461:2:1;14446:18;;14439:37;14508:3;14493:19;;14115:403::o;15353:127::-;15414:10;15409:3;15405:20;15402:1;15395:31;15445:4;15442:1;15435:15;15469:4;15466:1;15459:15;15485:402;15687:2;15669:21;;;15726:2;15706:18;;;15699:30;15765:34;15760:2;15745:18;;15738:62;-1:-1:-1;;;15831:2:1;15816:18;;15809:36;15877:3;15862:19;;15485:402::o;15892:127::-;15953:10;15948:3;15944:20;15941:1;15934:31;15984:4;15981:1;15974:15;16008:4;16005:1;15998:15;16024:135;16063:3;16084:17;;;16081:43;;16104:18;;:::i;:::-;-1:-1:-1;16151:1:1;16140:13;;16024:135::o;19752:128::-;19819:9;;;19840:11;;;19837:37;;;19854:18;;:::i;19885:125::-;19950:9;;;19971:10;;;19968:36;;;19984:18;;:::i;20364:414::-;20566:2;20548:21;;;20605:2;20585:18;;;20578:30;20644:34;20639:2;20624:18;;20617:62;-1:-1:-1;;;20710:2:1;20695:18;;20688:48;20768:3;20753:19;;20364:414::o;21324:545::-;21426:2;21421:3;21418:11;21415:448;;;21462:1;21487:5;21483:2;21476:17;21532:4;21528:2;21518:19;21602:2;21590:10;21586:19;21583:1;21579:27;21573:4;21569:38;21638:4;21626:10;21623:20;21620:47;;;-1:-1:-1;21661:4:1;21620:47;21716:2;21711:3;21707:12;21704:1;21700:20;21694:4;21690:31;21680:41;;21771:82;21789:2;21782:5;21779:13;21771:82;;;21834:17;;;21815:1;21804:13;21771:82;;;21775:3;;;21324:545;;;:::o;22045:1352::-;22171:3;22165:10;22198:18;22190:6;22187:30;22184:56;;;22220:18;;:::i;:::-;22249:97;22339:6;22299:38;22331:4;22325:11;22299:38;:::i;:::-;22293:4;22249:97;:::i;:::-;22401:4;;22465:2;22454:14;;22482:1;22477:663;;;;23184:1;23201:6;23198:89;;;-1:-1:-1;23253:19:1;;;23247:26;23198:89;-1:-1:-1;;22002:1:1;21998:11;;;21994:24;21990:29;21980:40;22026:1;22022:11;;;21977:57;23300:81;;22447:944;;22477:663;21271:1;21264:14;;;21308:4;21295:18;;-1:-1:-1;;22513:20:1;;;22631:236;22645:7;22642:1;22639:14;22631:236;;;22734:19;;;22728:26;22713:42;;22826:27;;;;22794:1;22782:14;;;;22661:19;;22631:236;;;22635:3;22895:6;22886:7;22883:19;22880:201;;;22956:19;;;22950:26;-1:-1:-1;;23039:1:1;23035:14;;;23051:3;23031:24;23027:37;23023:42;23008:58;22993:74;;22880:201;-1:-1:-1;;;;;23127:1:1;23111:14;;;23107:22;23094:36;;-1:-1:-1;22045:1352:1:o;24165:496::-;24344:3;24382:6;24376:13;24398:66;24457:6;24452:3;24445:4;24437:6;24433:17;24398:66;:::i;:::-;24527:13;;24486:16;;;;24549:70;24527:13;24486:16;24596:4;24584:17;;24549:70;:::i;:::-;24635:20;;24165:496;-1:-1:-1;;;;24165:496:1:o;24666:489::-;-1:-1:-1;;;;;24935:15:1;;;24917:34;;24987:15;;24982:2;24967:18;;24960:43;25034:2;25019:18;;25012:34;;;25082:3;25077:2;25062:18;;25055:31;;;24860:4;;25103:46;;25129:19;;25121:6;25103:46;:::i;:::-;25095:54;24666:489;-1:-1:-1;;;;;;24666:489:1:o;25160:249::-;25229:6;25282:2;25270:9;25261:7;25257:23;25253:32;25250:52;;;25298:1;25295;25288:12;25250:52;25330:9;25324:16;25349:30;25373:5;25349:30;:::i;26548:127::-;26609:10;26604:3;26600:20;26597:1;26590:31;26640:4;26637:1;26630:15;26664:4;26661:1;26654:15;26680:120;26720:1;26746;26736:35;;26751:18;;:::i;:::-;-1:-1:-1;26785:9:1;;26680:120::o;26805:112::-;26837:1;26863;26853:35;;26868:18;;:::i;:::-;-1:-1:-1;26902:9:1;;26805:112::o;26922:127::-;26983:10;26978:3;26974:20;26971:1;26964:31;27014:4;27011:1;27004:15;27038:4;27035:1;27028:15
Swarm Source
ipfs://dc69891da1317cef7c214d4ee8571bf1917cf41192f2985f0d28c22c1fc8731e
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.