More Info
Private Name Tags
ContractCreator
TokenTracker
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x845d879458cdf44cd7b7713fedb9923a28a8bba71d029c09a1271decdb52fa48 | Approve | (pending) | 19 days ago | IN | 0 ETH | (Pending) | |||
0xc6dd51c35836e0c75773e7478888eb645ccfca1ba3a94421101724b8a3d157dc | Approve | (pending) | 19 days ago | IN | 0 ETH | (Pending) | |||
0xda94662ddeed1a1a222c73bf69f6d880c837ca70d9c84358d8e7aac6c386498b | Approve | (pending) | 19 days ago | IN | 0 ETH | (Pending) | |||
Approve | 21243239 | 25 hrs ago | IN | 0 ETH | 0.00027412 | ||||
Transfer | 21156932 | 13 days ago | IN | 0 ETH | 0.00058459 | ||||
Approve | 21110500 | 19 days ago | IN | 0 ETH | 0.00011729 | ||||
Approve | 21087728 | 22 days ago | IN | 0 ETH | 0.00026691 | ||||
Approve | 21087664 | 22 days ago | IN | 0 ETH | 0.00023537 | ||||
Approve | 21043519 | 28 days ago | IN | 0 ETH | 0.00037607 | ||||
Approve | 21043518 | 28 days ago | IN | 0 ETH | 0.00035804 | ||||
Approve | 21019214 | 32 days ago | IN | 0 ETH | 0.0001446 | ||||
Approve | 21008804 | 33 days ago | IN | 0 ETH | 0.00021517 | ||||
Approve | 20997233 | 35 days ago | IN | 0 ETH | 0.00018879 | ||||
Approve | 20979612 | 37 days ago | IN | 0 ETH | 0.00059293 | ||||
Approve | 20882791 | 51 days ago | IN | 0 ETH | 0.00025481 | ||||
Approve | 20851811 | 55 days ago | IN | 0 ETH | 0.00023504 | ||||
Approve | 20851597 | 55 days ago | IN | 0 ETH | 0.00031086 | ||||
Approve | 20768502 | 67 days ago | IN | 0 ETH | 0.00005502 | ||||
Approve | 20750322 | 69 days ago | IN | 0 ETH | 0.00016592 | ||||
Approve | 20738259 | 71 days ago | IN | 0 ETH | 0.00006242 | ||||
Approve | 20735414 | 71 days ago | IN | 0 ETH | 0.00042338 | ||||
Approve | 20733510 | 72 days ago | IN | 0 ETH | 0.00006096 | ||||
Approve | 20675982 | 80 days ago | IN | 0 ETH | 0.00004189 | ||||
Approve | 20656587 | 82 days ago | IN | 0 ETH | 0.0000285 | ||||
Approve | 20649906 | 83 days ago | IN | 0 ETH | 0.00003251 |
Loading...
Loading
Contract Name:
Wait
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity >=0.8.0; import '@chainlink/contracts/src/v0.8/ChainlinkClient.sol'; import '@chainlink/contracts/src/v0.8/ConfirmedOwner.sol'; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; contract Wait is ERC20, ERC20Burnable, ChainlinkClient, ConfirmedOwner{ using Chainlink for Chainlink.Request; address manager; address timeKeeper = 0x20d7acED31E7C947faB0C3aD62C2D426D152C399; uint256 public totalSacs = 8; bool public minting = true; bytes32 private jobId; event Reload( address _user ); mapping (uint => mapping(address => bool)) public InData; mapping (uint => mapping(address => bool)) public Claimed; mapping (uint => mapping(address => uint)) public ClaimedAmount; mapping(uint => uint) public totalWait; mapping(uint => uint) public totalPeople; mapping(uint => uint) public mintedPeople; mapping(uint => uint) public unclaimedWait; mapping(uint => uint) public sacTimes; mapping(address => bool) public checked; constructor() ERC20("Wait", "WAIT") ConfirmedOwner(msg.sender){ manager = 0x25B6106149284b0269C44BE6beda5ec59C89753a; totalPeople[0] = 55374; //Pulse totalPeople[1] = 124815; //PulseX totalPeople[2] = 9465; //Liquid Loans totalPeople[3] = 230; //Hurricash totalPeople[4] = 839; //Genius totalPeople[5] = 2937; //Mintra totalPeople[6] = 653; //Phiat totalPeople[7] = 1241; //Internet Money Dividend sacTimes[0] = 1627948800; //Pulse sacTimes[1] = 1645660800; //PulseX sacTimes[2] = 1647907200; //Liquid Loans sacTimes[3] = 1646092800; //Hurricash sacTimes[4] = 1654041600; //Genius sacTimes[5] = 1647561600; //Mintra sacTimes[6] = 1654387200; //Phiat sacTimes[7] = 1647734400; //Internet Money Dividend setChainlinkToken(0x514910771AF9Ca656af840dff83E8264EcF986CA); setChainlinkOracle(0x2e973758d5f319ED4768570182cA601e970ff549); jobId = '233eae6ef5c34ad2a0fe2eaed75b5f44'; } modifier manager_function(){ require(msg.sender==manager,"Only the manager can call this function"); _;} modifier minting_on(){ require(minting == true,"Minting Wait has been turned off, go claim the unclaimed Wait"); _;} function decimals() public pure override returns (uint8) { return 0; } function checkDatabase(string memory _address) public returns (bytes32 requestId) { Chainlink.Request memory req = buildChainlinkRequest(jobId, address(this), this.fulfill.selector); req.add('address', _address); req.add('path',"bro"); req.add('path1',"man"); sendOperatorRequest(req, 0); } function fulfill(bytes32 _requestId, address user, uint binary) public recordChainlinkFulfillment(_requestId) { uint yes = binary; emit Reload(user); checked[user]=true; if(yes>=128){ InData[7][user]=true; yes-=128; } if(yes>=64){ InData[6][user]=true; yes-=64; } if(yes>=32){ InData[5][user]=true; yes-=32; } if(yes>=16){ InData[4][user]=true; yes-=16; } if(yes>=8){ InData[3][user]=true; yes-=8; } if(yes>=4){ InData[2][user]=true; yes-=4; } if(yes>=2){ InData[1][user]=true; yes-=2; } if(yes>=1){ InData[0][user]=true; yes-=1; } require(yes==0,"Something went wrong here"); } function inDatabase() public view returns(bool[8] memory) { return [InData[0][msg.sender], InData[1][msg.sender], InData[2][msg.sender], InData[3][msg.sender], InData[4][msg.sender], InData[5][msg.sender], InData[6][msg.sender], InData[7][msg.sender]]; } function haveClaimed() public view returns(bool[8] memory) { return [Claimed[0][msg.sender], Claimed[1][msg.sender], Claimed[2][msg.sender], Claimed[3][msg.sender], Claimed[4][msg.sender], Claimed[5][msg.sender], Claimed[6][msg.sender], Claimed[7][msg.sender]]; } function mintableWait(uint sac) public view minting_on returns(uint){ require(sac < totalSacs, "Not an accurate sacrifice"); require(InData[sac][msg.sender] == true, "You were not in the specific sacrifice or you need to check!"); require(Claimed[sac][msg.sender] == false, "You already minted your wait for this sacrifice!"); return (block.timestamp - sacTimes[sac]) / 3600; } function mintWait(uint sac) public minting_on { require(sac < totalSacs, "Not an accurate sacrifice"); require(Claimed[sac][msg.sender] == false, "You already minted your wait for this sacrifice!"); require(InData[sac][msg.sender] == true, "You were not in this sacrifice or you haven't checked the database yet!"); Claimed[sac][msg.sender] = true; mintedPeople[sac]++; uint mintableWait1 = (block.timestamp - sacTimes[sac]) / 3600; ClaimedAmount[sac][msg.sender] = mintableWait1; totalWait[sac] += mintableWait1; _mint(msg.sender, mintableWait1); } function mintableAllWait() public view minting_on returns (uint[] memory) { uint[] memory testing = new uint[](8); for(uint i; i < totalSacs; i++) { if(!Claimed[i][msg.sender] && InData[i][msg.sender]) { testing[i] = (block.timestamp - sacTimes[i]) / 3600; } } return testing; } function hasChecked() public view returns(bool){ return checked[msg.sender]; } function mintAllWait() public minting_on { uint mintableWait1 = 0; for(uint i; i < totalSacs; i++) { if(!Claimed[i][msg.sender] && InData[i][msg.sender]) { Claimed[i][msg.sender] = true; mintedPeople[i]++; ClaimedAmount[i][msg.sender] = (block.timestamp - sacTimes[i]) / 3600; totalWait[i] += ClaimedAmount[i][msg.sender]; mintableWait1 += ClaimedAmount[i][msg.sender]; } } _mint(msg.sender, mintableWait1); } function midnightBonus() public manager_function minting_on { minting = false; uint waitAmount; for(uint i; i < totalSacs; i++) { unclaimedWait[i] = (totalPeople[i] - mintedPeople[i]) * ((block.timestamp - sacTimes[i]) / 3600) / 2; waitAmount += unclaimedWait[i]; } _mint(timeKeeper, waitAmount); } function mintableUnclaimedWait(uint sac) public view returns (uint waitAmount) { require(sac<totalSacs, "not an accurate sacrifice"); require(!minting, "Minting is still on"); require(Claimed[sac][msg.sender], "You never claimed your wait or already claimed the unclaimed wait"); waitAmount = unclaimedWait[sac] * ClaimedAmount[sac][msg.sender] / totalWait[sac]; } function mintUnclaimedWait(uint sac) public { require(sac<totalSacs, "not an accurate sacrifice"); require(!minting, "Minting is still on"); require(Claimed[sac][msg.sender], "You never claimed your wait or already claimed the unclaimed wait"); Claimed[sac][msg.sender] = false; uint waitAmount; waitAmount = unclaimedWait[sac] * ClaimedAmount[sac][msg.sender] / totalWait[sac]; _mint(msg.sender, waitAmount); } function mintableAllUnclaimedWait() public view returns(uint waitAmount) { require(!minting, "Minting is still on"); for(uint i; i < totalSacs; i++) { if(Claimed[i][msg.sender]) { waitAmount += unclaimedWait[i] * ClaimedAmount[i][msg.sender] / totalWait[i]; } } } function mintAllUnclaimedWait() public { require(!minting, "Minting is still on"); uint waitAmount = 0; for(uint i; i < totalSacs; i++) { if(Claimed[i][msg.sender]) { Claimed[i][msg.sender] = false; waitAmount += unclaimedWait[i] * ClaimedAmount[i][msg.sender] / totalWait[i]; } } _mint(msg.sender, waitAmount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Chainlink.sol"; import "./interfaces/ENSInterface.sol"; import "./interfaces/LinkTokenInterface.sol"; import "./interfaces/ChainlinkRequestInterface.sol"; import "./interfaces/OperatorInterface.sol"; import "./interfaces/PointerInterface.sol"; import {ENSResolver as ENSResolver_Chainlink} from "./vendor/ENSResolver.sol"; /** * @title The ChainlinkClient contract * @notice Contract writers can inherit this contract in order to create requests for the * Chainlink network */ abstract contract ChainlinkClient { using Chainlink for Chainlink.Request; uint256 internal constant LINK_DIVISIBILITY = 10**18; uint256 private constant AMOUNT_OVERRIDE = 0; address private constant SENDER_OVERRIDE = address(0); uint256 private constant ORACLE_ARGS_VERSION = 1; uint256 private constant OPERATOR_ARGS_VERSION = 2; bytes32 private constant ENS_TOKEN_SUBNAME = keccak256("link"); bytes32 private constant ENS_ORACLE_SUBNAME = keccak256("oracle"); address private constant LINK_TOKEN_POINTER = 0xC89bD4E1632D3A43CB03AAAd5262cbe4038Bc571; ENSInterface private s_ens; bytes32 private s_ensNode; LinkTokenInterface private s_link; OperatorInterface private s_oracle; uint256 private s_requestCount = 1; mapping(bytes32 => address) private s_pendingRequests; event ChainlinkRequested(bytes32 indexed id); event ChainlinkFulfilled(bytes32 indexed id); event ChainlinkCancelled(bytes32 indexed id); /** * @notice Creates a request that can hold additional parameters * @param specId The Job Specification ID that the request will be created for * @param callbackAddr address to operate the callback on * @param callbackFunctionSignature function signature to use for the callback * @return A Chainlink Request struct in memory */ function buildChainlinkRequest( bytes32 specId, address callbackAddr, bytes4 callbackFunctionSignature ) internal pure returns (Chainlink.Request memory) { Chainlink.Request memory req; return req.initialize(specId, callbackAddr, callbackFunctionSignature); } /** * @notice Creates a request that can hold additional parameters * @param specId The Job Specification ID that the request will be created for * @param callbackFunctionSignature function signature to use for the callback * @return A Chainlink Request struct in memory */ function buildOperatorRequest(bytes32 specId, bytes4 callbackFunctionSignature) internal view returns (Chainlink.Request memory) { Chainlink.Request memory req; return req.initialize(specId, address(this), callbackFunctionSignature); } /** * @notice Creates a Chainlink request to the stored oracle address * @dev Calls `chainlinkRequestTo` with the stored oracle address * @param req The initialized Chainlink Request * @param payment The amount of LINK to send for the request * @return requestId The request ID */ function sendChainlinkRequest(Chainlink.Request memory req, uint256 payment) internal returns (bytes32) { return sendChainlinkRequestTo(address(s_oracle), req, payment); } /** * @notice Creates a Chainlink request to the specified oracle address * @dev Generates and stores a request ID, increments the local nonce, and uses `transferAndCall` to * send LINK which creates a request on the target oracle contract. * Emits ChainlinkRequested event. * @param oracleAddress The address of the oracle for the request * @param req The initialized Chainlink Request * @param payment The amount of LINK to send for the request * @return requestId The request ID */ function sendChainlinkRequestTo( address oracleAddress, Chainlink.Request memory req, uint256 payment ) internal returns (bytes32 requestId) { uint256 nonce = s_requestCount; s_requestCount = nonce + 1; bytes memory encodedRequest = abi.encodeWithSelector( ChainlinkRequestInterface.oracleRequest.selector, SENDER_OVERRIDE, // Sender value - overridden by onTokenTransfer by the requesting contract's address AMOUNT_OVERRIDE, // Amount value - overridden by onTokenTransfer by the actual amount of LINK sent req.id, address(this), req.callbackFunctionId, nonce, ORACLE_ARGS_VERSION, req.buf.buf ); return _rawRequest(oracleAddress, nonce, payment, encodedRequest); } /** * @notice Creates a Chainlink request to the stored oracle address * @dev This function supports multi-word response * @dev Calls `sendOperatorRequestTo` with the stored oracle address * @param req The initialized Chainlink Request * @param payment The amount of LINK to send for the request * @return requestId The request ID */ function sendOperatorRequest(Chainlink.Request memory req, uint256 payment) internal returns (bytes32) { return sendOperatorRequestTo(address(s_oracle), req, payment); } /** * @notice Creates a Chainlink request to the specified oracle address * @dev This function supports multi-word response * @dev Generates and stores a request ID, increments the local nonce, and uses `transferAndCall` to * send LINK which creates a request on the target oracle contract. * Emits ChainlinkRequested event. * @param oracleAddress The address of the oracle for the request * @param req The initialized Chainlink Request * @param payment The amount of LINK to send for the request * @return requestId The request ID */ function sendOperatorRequestTo( address oracleAddress, Chainlink.Request memory req, uint256 payment ) internal returns (bytes32 requestId) { uint256 nonce = s_requestCount; s_requestCount = nonce + 1; bytes memory encodedRequest = abi.encodeWithSelector( OperatorInterface.operatorRequest.selector, SENDER_OVERRIDE, // Sender value - overridden by onTokenTransfer by the requesting contract's address AMOUNT_OVERRIDE, // Amount value - overridden by onTokenTransfer by the actual amount of LINK sent req.id, req.callbackFunctionId, nonce, OPERATOR_ARGS_VERSION, req.buf.buf ); return _rawRequest(oracleAddress, nonce, payment, encodedRequest); } /** * @notice Make a request to an oracle * @param oracleAddress The address of the oracle for the request * @param nonce used to generate the request ID * @param payment The amount of LINK to send for the request * @param encodedRequest data encoded for request type specific format * @return requestId The request ID */ function _rawRequest( address oracleAddress, uint256 nonce, uint256 payment, bytes memory encodedRequest ) private returns (bytes32 requestId) { requestId = keccak256(abi.encodePacked(this, nonce)); s_pendingRequests[requestId] = oracleAddress; emit ChainlinkRequested(requestId); require(s_link.transferAndCall(oracleAddress, payment, encodedRequest), "unable to transferAndCall to oracle"); } /** * @notice Allows a request to be cancelled if it has not been fulfilled * @dev Requires keeping track of the expiration value emitted from the oracle contract. * Deletes the request from the `pendingRequests` mapping. * Emits ChainlinkCancelled event. * @param requestId The request ID * @param payment The amount of LINK sent for the request * @param callbackFunc The callback function specified for the request * @param expiration The time of the expiration for the request */ function cancelChainlinkRequest( bytes32 requestId, uint256 payment, bytes4 callbackFunc, uint256 expiration ) internal { OperatorInterface requested = OperatorInterface(s_pendingRequests[requestId]); delete s_pendingRequests[requestId]; emit ChainlinkCancelled(requestId); requested.cancelOracleRequest(requestId, payment, callbackFunc, expiration); } /** * @notice the next request count to be used in generating a nonce * @dev starts at 1 in order to ensure consistent gas cost * @return returns the next request count to be used in a nonce */ function getNextRequestCount() internal view returns (uint256) { return s_requestCount; } /** * @notice Sets the stored oracle address * @param oracleAddress The address of the oracle contract */ function setChainlinkOracle(address oracleAddress) internal { s_oracle = OperatorInterface(oracleAddress); } /** * @notice Sets the LINK token address * @param linkAddress The address of the LINK token contract */ function setChainlinkToken(address linkAddress) internal { s_link = LinkTokenInterface(linkAddress); } /** * @notice Sets the Chainlink token address for the public * network as given by the Pointer contract */ function setPublicChainlinkToken() internal { setChainlinkToken(PointerInterface(LINK_TOKEN_POINTER).getAddress()); } /** * @notice Retrieves the stored address of the LINK token * @return The address of the LINK token */ function chainlinkTokenAddress() internal view returns (address) { return address(s_link); } /** * @notice Retrieves the stored address of the oracle contract * @return The address of the oracle contract */ function chainlinkOracleAddress() internal view returns (address) { return address(s_oracle); } /** * @notice Allows for a request which was created on another contract to be fulfilled * on this contract * @param oracleAddress The address of the oracle contract that will fulfill the request * @param requestId The request ID used for the response */ function addChainlinkExternalRequest(address oracleAddress, bytes32 requestId) internal notPendingRequest(requestId) { s_pendingRequests[requestId] = oracleAddress; } /** * @notice Sets the stored oracle and LINK token contracts with the addresses resolved by ENS * @dev Accounts for subnodes having different resolvers * @param ensAddress The address of the ENS contract * @param node The ENS node hash */ function useChainlinkWithENS(address ensAddress, bytes32 node) internal { s_ens = ENSInterface(ensAddress); s_ensNode = node; bytes32 linkSubnode = keccak256(abi.encodePacked(s_ensNode, ENS_TOKEN_SUBNAME)); ENSResolver_Chainlink resolver = ENSResolver_Chainlink(s_ens.resolver(linkSubnode)); setChainlinkToken(resolver.addr(linkSubnode)); updateChainlinkOracleWithENS(); } /** * @notice Sets the stored oracle contract with the address resolved by ENS * @dev This may be called on its own as long as `useChainlinkWithENS` has been called previously */ function updateChainlinkOracleWithENS() internal { bytes32 oracleSubnode = keccak256(abi.encodePacked(s_ensNode, ENS_ORACLE_SUBNAME)); ENSResolver_Chainlink resolver = ENSResolver_Chainlink(s_ens.resolver(oracleSubnode)); setChainlinkOracle(resolver.addr(oracleSubnode)); } /** * @notice Ensures that the fulfillment is valid for this contract * @dev Use if the contract developer prefers methods instead of modifiers for validation * @param requestId The request ID for fulfillment */ function validateChainlinkCallback(bytes32 requestId) internal recordChainlinkFulfillment(requestId) // solhint-disable-next-line no-empty-blocks { } /** * @dev Reverts if the sender is not the oracle of the request. * Emits ChainlinkFulfilled event. * @param requestId The request ID for fulfillment */ modifier recordChainlinkFulfillment(bytes32 requestId) { require(msg.sender == s_pendingRequests[requestId], "Source must be the oracle of the request"); delete s_pendingRequests[requestId]; emit ChainlinkFulfilled(requestId); _; } /** * @dev Reverts if the request is already pending * @param requestId The request ID for fulfillment */ modifier notPendingRequest(bytes32 requestId) { require(s_pendingRequests[requestId] == address(0), "Request is already pending"); _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ConfirmedOwnerWithProposal.sol"; /** * @title The ConfirmedOwner contract * @notice A contract with helpers for basic contract ownership. */ contract ConfirmedOwner is ConfirmedOwnerWithProposal { constructor(address newOwner) ConfirmedOwnerWithProposal(newOwner, address(0)) {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {CBORChainlink} from "./vendor/CBORChainlink.sol"; import {BufferChainlink} from "./vendor/BufferChainlink.sol"; /** * @title Library for common Chainlink functions * @dev Uses imported CBOR library for encoding to buffer */ library Chainlink { uint256 internal constant defaultBufferSize = 256; // solhint-disable-line const-name-snakecase using CBORChainlink for BufferChainlink.buffer; struct Request { bytes32 id; address callbackAddress; bytes4 callbackFunctionId; uint256 nonce; BufferChainlink.buffer buf; } /** * @notice Initializes a Chainlink request * @dev Sets the ID, callback address, and callback function signature on the request * @param self The uninitialized request * @param jobId The Job Specification ID * @param callbackAddr The callback address * @param callbackFunc The callback function signature * @return The initialized request */ function initialize( Request memory self, bytes32 jobId, address callbackAddr, bytes4 callbackFunc ) internal pure returns (Chainlink.Request memory) { BufferChainlink.init(self.buf, defaultBufferSize); self.id = jobId; self.callbackAddress = callbackAddr; self.callbackFunctionId = callbackFunc; return self; } /** * @notice Sets the data for the buffer without encoding CBOR on-chain * @dev CBOR can be closed with curly-brackets {} or they can be left off * @param self The initialized request * @param data The CBOR data */ function setBuffer(Request memory self, bytes memory data) internal pure { BufferChainlink.init(self.buf, data.length); BufferChainlink.append(self.buf, data); } /** * @notice Adds a string value to the request with a given key name * @param self The initialized request * @param key The name of the key * @param value The string value to add */ function add( Request memory self, string memory key, string memory value ) internal pure { self.buf.encodeString(key); self.buf.encodeString(value); } /** * @notice Adds a bytes value to the request with a given key name * @param self The initialized request * @param key The name of the key * @param value The bytes value to add */ function addBytes( Request memory self, string memory key, bytes memory value ) internal pure { self.buf.encodeString(key); self.buf.encodeBytes(value); } /** * @notice Adds a int256 value to the request with a given key name * @param self The initialized request * @param key The name of the key * @param value The int256 value to add */ function addInt( Request memory self, string memory key, int256 value ) internal pure { self.buf.encodeString(key); self.buf.encodeInt(value); } /** * @notice Adds a uint256 value to the request with a given key name * @param self The initialized request * @param key The name of the key * @param value The uint256 value to add */ function addUint( Request memory self, string memory key, uint256 value ) internal pure { self.buf.encodeString(key); self.buf.encodeUInt(value); } /** * @notice Adds an array of strings to the request with a given key name * @param self The initialized request * @param key The name of the key * @param values The array of string values to add */ function addStringArray( Request memory self, string memory key, string[] memory values ) internal pure { self.buf.encodeString(key); self.buf.startArray(); for (uint256 i = 0; i < values.length; i++) { self.buf.encodeString(values[i]); } self.buf.endSequence(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface ENSInterface { // Logged when the owner of a node assigns a new owner to a subnode. event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner); // Logged when the owner of a node transfers ownership to a new account. event Transfer(bytes32 indexed node, address owner); // Logged when the resolver for a node changes. event NewResolver(bytes32 indexed node, address resolver); // Logged when the TTL of a node changes event NewTTL(bytes32 indexed node, uint64 ttl); function setSubnodeOwner( bytes32 node, bytes32 label, address owner ) external; function setResolver(bytes32 node, address resolver) external; function setOwner(bytes32 node, address owner) external; function setTTL(bytes32 node, uint64 ttl) external; function owner(bytes32 node) external view returns (address); function resolver(bytes32 node) external view returns (address); function ttl(bytes32 node) external view returns (uint64); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface LinkTokenInterface { function allowance(address owner, address spender) external view returns (uint256 remaining); function approve(address spender, uint256 value) external returns (bool success); function balanceOf(address owner) external view returns (uint256 balance); function decimals() external view returns (uint8 decimalPlaces); function decreaseApproval(address spender, uint256 addedValue) external returns (bool success); function increaseApproval(address spender, uint256 subtractedValue) external; function name() external view returns (string memory tokenName); function symbol() external view returns (string memory tokenSymbol); function totalSupply() external view returns (uint256 totalTokensIssued); function transfer(address to, uint256 value) external returns (bool success); function transferAndCall( address to, uint256 value, bytes calldata data ) external returns (bool success); function transferFrom( address from, address to, uint256 value ) external returns (bool success); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface ChainlinkRequestInterface { function oracleRequest( address sender, uint256 requestPrice, bytes32 serviceAgreementID, address callbackAddress, bytes4 callbackFunctionId, uint256 nonce, uint256 dataVersion, bytes calldata data ) external; function cancelOracleRequest( bytes32 requestId, uint256 payment, bytes4 callbackFunctionId, uint256 expiration ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./OracleInterface.sol"; import "./ChainlinkRequestInterface.sol"; interface OperatorInterface is OracleInterface, ChainlinkRequestInterface { function operatorRequest( address sender, uint256 payment, bytes32 specId, bytes4 callbackFunctionId, uint256 nonce, uint256 dataVersion, bytes calldata data ) external; function fulfillOracleRequest2( bytes32 requestId, uint256 payment, address callbackAddress, bytes4 callbackFunctionId, uint256 expiration, bytes calldata data ) external returns (bool); function ownerTransferAndCall( address to, uint256 value, bytes calldata data ) external returns (bool success); function distributeFunds(address payable[] calldata receivers, uint256[] calldata amounts) external payable; function getAuthorizedSenders() external returns (address[] memory); function setAuthorizedSenders(address[] calldata senders) external; function getForwarder() external returns (address); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface PointerInterface { function getAddress() external view returns (address); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract ENSResolver { function addr(bytes32 node) public view virtual returns (address); }
// SPDX-License-Identifier: MIT pragma solidity >=0.4.19; import {BufferChainlink} from "./BufferChainlink.sol"; library CBORChainlink { using BufferChainlink for BufferChainlink.buffer; uint8 private constant MAJOR_TYPE_INT = 0; uint8 private constant MAJOR_TYPE_NEGATIVE_INT = 1; uint8 private constant MAJOR_TYPE_BYTES = 2; uint8 private constant MAJOR_TYPE_STRING = 3; uint8 private constant MAJOR_TYPE_ARRAY = 4; uint8 private constant MAJOR_TYPE_MAP = 5; uint8 private constant MAJOR_TYPE_TAG = 6; uint8 private constant MAJOR_TYPE_CONTENT_FREE = 7; uint8 private constant TAG_TYPE_BIGNUM = 2; uint8 private constant TAG_TYPE_NEGATIVE_BIGNUM = 3; function encodeFixedNumeric(BufferChainlink.buffer memory buf, uint8 major, uint64 value) private pure { if(value <= 23) { buf.appendUint8(uint8((major << 5) | value)); } else if (value <= 0xFF) { buf.appendUint8(uint8((major << 5) | 24)); buf.appendInt(value, 1); } else if (value <= 0xFFFF) { buf.appendUint8(uint8((major << 5) | 25)); buf.appendInt(value, 2); } else if (value <= 0xFFFFFFFF) { buf.appendUint8(uint8((major << 5) | 26)); buf.appendInt(value, 4); } else { buf.appendUint8(uint8((major << 5) | 27)); buf.appendInt(value, 8); } } function encodeIndefiniteLengthType(BufferChainlink.buffer memory buf, uint8 major) private pure { buf.appendUint8(uint8((major << 5) | 31)); } function encodeUInt(BufferChainlink.buffer memory buf, uint value) internal pure { if(value > 0xFFFFFFFFFFFFFFFF) { encodeBigNum(buf, value); } else { encodeFixedNumeric(buf, MAJOR_TYPE_INT, uint64(value)); } } function encodeInt(BufferChainlink.buffer memory buf, int value) internal pure { if(value < -0x10000000000000000) { encodeSignedBigNum(buf, value); } else if(value > 0xFFFFFFFFFFFFFFFF) { encodeBigNum(buf, uint(value)); } else if(value >= 0) { encodeFixedNumeric(buf, MAJOR_TYPE_INT, uint64(uint256(value))); } else { encodeFixedNumeric(buf, MAJOR_TYPE_NEGATIVE_INT, uint64(uint256(-1 - value))); } } function encodeBytes(BufferChainlink.buffer memory buf, bytes memory value) internal pure { encodeFixedNumeric(buf, MAJOR_TYPE_BYTES, uint64(value.length)); buf.append(value); } function encodeBigNum(BufferChainlink.buffer memory buf, uint value) internal pure { buf.appendUint8(uint8((MAJOR_TYPE_TAG << 5) | TAG_TYPE_BIGNUM)); encodeBytes(buf, abi.encode(value)); } function encodeSignedBigNum(BufferChainlink.buffer memory buf, int input) internal pure { buf.appendUint8(uint8((MAJOR_TYPE_TAG << 5) | TAG_TYPE_NEGATIVE_BIGNUM)); encodeBytes(buf, abi.encode(uint256(-1 - input))); } function encodeString(BufferChainlink.buffer memory buf, string memory value) internal pure { encodeFixedNumeric(buf, MAJOR_TYPE_STRING, uint64(bytes(value).length)); buf.append(bytes(value)); } function startArray(BufferChainlink.buffer memory buf) internal pure { encodeIndefiniteLengthType(buf, MAJOR_TYPE_ARRAY); } function startMap(BufferChainlink.buffer memory buf) internal pure { encodeIndefiniteLengthType(buf, MAJOR_TYPE_MAP); } function endSequence(BufferChainlink.buffer memory buf) internal pure { encodeIndefiniteLengthType(buf, MAJOR_TYPE_CONTENT_FREE); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev A library for working with mutable byte buffers in Solidity. * * Byte buffers are mutable and expandable, and provide a variety of primitives * for writing to them. At any time you can fetch a bytes object containing the * current contents of the buffer. The bytes object should not be stored between * operations, as it may change due to resizing of the buffer. */ library BufferChainlink { /** * @dev Represents a mutable buffer. Buffers have a current value (buf) and * a capacity. The capacity may be longer than the current value, in * which case it can be extended without the need to allocate more memory. */ struct buffer { bytes buf; uint256 capacity; } /** * @dev Initializes a buffer with an initial capacity. * @param buf The buffer to initialize. * @param capacity The number of bytes of space to allocate the buffer. * @return The buffer, for chaining. */ function init(buffer memory buf, uint256 capacity) internal pure returns (buffer memory) { if (capacity % 32 != 0) { capacity += 32 - (capacity % 32); } // Allocate space for the buffer data buf.capacity = capacity; assembly { let ptr := mload(0x40) mstore(buf, ptr) mstore(ptr, 0) mstore(0x40, add(32, add(ptr, capacity))) } return buf; } /** * @dev Initializes a new buffer from an existing bytes object. * Changes to the buffer may mutate the original value. * @param b The bytes object to initialize the buffer with. * @return A new buffer. */ function fromBytes(bytes memory b) internal pure returns (buffer memory) { buffer memory buf; buf.buf = b; buf.capacity = b.length; return buf; } function resize(buffer memory buf, uint256 capacity) private pure { bytes memory oldbuf = buf.buf; init(buf, capacity); append(buf, oldbuf); } function max(uint256 a, uint256 b) private pure returns (uint256) { if (a > b) { return a; } return b; } /** * @dev Sets buffer length to 0. * @param buf The buffer to truncate. * @return The original buffer, for chaining.. */ function truncate(buffer memory buf) internal pure returns (buffer memory) { assembly { let bufptr := mload(buf) mstore(bufptr, 0) } return buf; } /** * @dev Writes a byte string to a buffer. Resizes if doing so would exceed * the capacity of the buffer. * @param buf The buffer to append to. * @param off The start offset to write to. * @param data The data to append. * @param len The number of bytes to copy. * @return The original buffer, for chaining. */ function write( buffer memory buf, uint256 off, bytes memory data, uint256 len ) internal pure returns (buffer memory) { require(len <= data.length); if (off + len > buf.capacity) { resize(buf, max(buf.capacity, len + off) * 2); } uint256 dest; uint256 src; assembly { // Memory address of the buffer data let bufptr := mload(buf) // Length of existing buffer data let buflen := mload(bufptr) // Start address = buffer address + offset + sizeof(buffer length) dest := add(add(bufptr, 32), off) // Update buffer length if we're extending it if gt(add(len, off), buflen) { mstore(bufptr, add(len, off)) } src := add(data, 32) } // Copy word-length chunks while possible for (; len >= 32; len -= 32) { assembly { mstore(dest, mload(src)) } dest += 32; src += 32; } // Copy remaining bytes unchecked { uint256 mask = (256**(32 - len)) - 1; assembly { let srcpart := and(mload(src), not(mask)) let destpart := and(mload(dest), mask) mstore(dest, or(destpart, srcpart)) } } return buf; } /** * @dev Appends a byte string to a buffer. Resizes if doing so would exceed * the capacity of the buffer. * @param buf The buffer to append to. * @param data The data to append. * @param len The number of bytes to copy. * @return The original buffer, for chaining. */ function append( buffer memory buf, bytes memory data, uint256 len ) internal pure returns (buffer memory) { return write(buf, buf.buf.length, data, len); } /** * @dev Appends a byte string to a buffer. Resizes if doing so would exceed * the capacity of the buffer. * @param buf The buffer to append to. * @param data The data to append. * @return The original buffer, for chaining. */ function append(buffer memory buf, bytes memory data) internal pure returns (buffer memory) { return write(buf, buf.buf.length, data, data.length); } /** * @dev Writes a byte to the buffer. Resizes if doing so would exceed the * capacity of the buffer. * @param buf The buffer to append to. * @param off The offset to write the byte at. * @param data The data to append. * @return The original buffer, for chaining. */ function writeUint8( buffer memory buf, uint256 off, uint8 data ) internal pure returns (buffer memory) { if (off >= buf.capacity) { resize(buf, buf.capacity * 2); } assembly { // Memory address of the buffer data let bufptr := mload(buf) // Length of existing buffer data let buflen := mload(bufptr) // Address = buffer address + sizeof(buffer length) + off let dest := add(add(bufptr, off), 32) mstore8(dest, data) // Update buffer length if we extended it if eq(off, buflen) { mstore(bufptr, add(buflen, 1)) } } return buf; } /** * @dev Appends a byte to the buffer. Resizes if doing so would exceed the * capacity of the buffer. * @param buf The buffer to append to. * @param data The data to append. * @return The original buffer, for chaining. */ function appendUint8(buffer memory buf, uint8 data) internal pure returns (buffer memory) { return writeUint8(buf, buf.buf.length, data); } /** * @dev Writes up to 32 bytes to the buffer. Resizes if doing so would * exceed the capacity of the buffer. * @param buf The buffer to append to. * @param off The offset to write at. * @param data The data to append. * @param len The number of bytes to write (left-aligned). * @return The original buffer, for chaining. */ function write( buffer memory buf, uint256 off, bytes32 data, uint256 len ) private pure returns (buffer memory) { if (len + off > buf.capacity) { resize(buf, (len + off) * 2); } unchecked { uint256 mask = (256**len) - 1; // Right-align data data = data >> (8 * (32 - len)); assembly { // Memory address of the buffer data let bufptr := mload(buf) // Address = buffer address + sizeof(buffer length) + off + len let dest := add(add(bufptr, off), len) mstore(dest, or(and(mload(dest), not(mask)), data)) // Update buffer length if we extended it if gt(add(off, len), mload(bufptr)) { mstore(bufptr, add(off, len)) } } } return buf; } /** * @dev Writes a bytes20 to the buffer. Resizes if doing so would exceed the * capacity of the buffer. * @param buf The buffer to append to. * @param off The offset to write at. * @param data The data to append. * @return The original buffer, for chaining. */ function writeBytes20( buffer memory buf, uint256 off, bytes20 data ) internal pure returns (buffer memory) { return write(buf, off, bytes32(data), 20); } /** * @dev Appends a bytes20 to the buffer. Resizes if doing so would exceed * the capacity of the buffer. * @param buf The buffer to append to. * @param data The data to append. * @return The original buffer, for chhaining. */ function appendBytes20(buffer memory buf, bytes20 data) internal pure returns (buffer memory) { return write(buf, buf.buf.length, bytes32(data), 20); } /** * @dev Appends a bytes32 to the buffer. Resizes if doing so would exceed * the capacity of the buffer. * @param buf The buffer to append to. * @param data The data to append. * @return The original buffer, for chaining. */ function appendBytes32(buffer memory buf, bytes32 data) internal pure returns (buffer memory) { return write(buf, buf.buf.length, data, 32); } /** * @dev Writes an integer to the buffer. Resizes if doing so would exceed * the capacity of the buffer. * @param buf The buffer to append to. * @param off The offset to write at. * @param data The data to append. * @param len The number of bytes to write (right-aligned). * @return The original buffer, for chaining. */ function writeInt( buffer memory buf, uint256 off, uint256 data, uint256 len ) private pure returns (buffer memory) { if (len + off > buf.capacity) { resize(buf, (len + off) * 2); } uint256 mask = (256**len) - 1; assembly { // Memory address of the buffer data let bufptr := mload(buf) // Address = buffer address + off + sizeof(buffer length) + len let dest := add(add(bufptr, off), len) mstore(dest, or(and(mload(dest), not(mask)), data)) // Update buffer length if we extended it if gt(add(off, len), mload(bufptr)) { mstore(bufptr, add(off, len)) } } return buf; } /** * @dev Appends a byte to the end of the buffer. Resizes if doing so would * exceed the capacity of the buffer. * @param buf The buffer to append to. * @param data The data to append. * @return The original buffer. */ function appendInt( buffer memory buf, uint256 data, uint256 len ) internal pure returns (buffer memory) { return writeInt(buf, buf.buf.length, data, len); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface OracleInterface { function fulfillOracleRequest( bytes32 requestId, uint256 payment, address callbackAddress, bytes4 callbackFunctionId, uint256 expiration, bytes32 data ) external returns (bool); function isAuthorizedSender(address node) external view returns (bool); function withdraw(address recipient, uint256 amount) external; function withdrawable() external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interfaces/OwnableInterface.sol"; /** * @title The ConfirmedOwner contract * @notice A contract with helpers for basic contract ownership. */ contract ConfirmedOwnerWithProposal is OwnableInterface { address private s_owner; address private s_pendingOwner; event OwnershipTransferRequested(address indexed from, address indexed to); event OwnershipTransferred(address indexed from, address indexed to); constructor(address newOwner, address pendingOwner) { require(newOwner != address(0), "Cannot set owner to zero"); s_owner = newOwner; if (pendingOwner != address(0)) { _transferOwnership(pendingOwner); } } /** * @notice Allows an owner to begin transferring ownership to a new address, * pending. */ function transferOwnership(address to) public override onlyOwner { _transferOwnership(to); } /** * @notice Allows an ownership transfer to be completed by the recipient. */ function acceptOwnership() external override { require(msg.sender == s_pendingOwner, "Must be proposed owner"); address oldOwner = s_owner; s_owner = msg.sender; s_pendingOwner = address(0); emit OwnershipTransferred(oldOwner, msg.sender); } /** * @notice Get the current owner */ function owner() public view override returns (address) { return s_owner; } /** * @notice validate, transfer ownership, and emit relevant events */ function _transferOwnership(address to) private { require(to != msg.sender, "Cannot transfer to self"); s_pendingOwner = to; emit OwnershipTransferRequested(s_owner, to); } /** * @notice validate access */ function _validateOwnership() internal view { require(msg.sender == s_owner, "Only callable by owner"); } /** * @notice Reverts if called by anyone other than the contract owner. */ modifier onlyOwner() { _validateOwnership(); _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface OwnableInterface { function owner() external returns (address); function transferOwnership(address recipient) external; function acceptOwnership() external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with 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) { return msg.data; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"ChainlinkCancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"ChainlinkFulfilled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"ChainlinkRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"OwnershipTransferRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_user","type":"address"}],"name":"Reload","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"Claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"ClaimedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"InData","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_address","type":"string"}],"name":"checkDatabase","outputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"checked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_requestId","type":"bytes32"},{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"binary","type":"uint256"}],"name":"fulfill","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"hasChecked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"haveClaimed","outputs":[{"internalType":"bool[8]","name":"","type":"bool[8]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"inDatabase","outputs":[{"internalType":"bool[8]","name":"","type":"bool[8]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"midnightBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintAllUnclaimedWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintAllWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sac","type":"uint256"}],"name":"mintUnclaimedWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sac","type":"uint256"}],"name":"mintWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintableAllUnclaimedWait","outputs":[{"internalType":"uint256","name":"waitAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintableAllWait","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"sac","type":"uint256"}],"name":"mintableUnclaimedWait","outputs":[{"internalType":"uint256","name":"waitAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"sac","type":"uint256"}],"name":"mintableWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintedPeople","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"","type":"uint256"}],"name":"sacTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalPeople","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSacs","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":"uint256","name":"","type":"uint256"}],"name":"totalWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"unclaimedWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260016009557320d7aced31e7c947fab0c3ad62c2d426d152c399600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506008600f556001601060006101000a81548160ff0219169083151502179055503480156200008b57600080fd5b50338060006040518060400160405280600481526020017f57616974000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f574149540000000000000000000000000000000000000000000000000000000081525081600390805190602001906200011492919062000672565b5080600490805190602001906200012d92919062000672565b505050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620001a3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200019a90620007a6565b60405180910390fd5b81600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146200022b576200022a81620004b860201b60201c565b5b5050507325b6106149284b0269c44be6beda5ec59c89753a600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061d84e60166000808152602001908152602001600020819055506201e78f6016600060018152602001908152602001600020819055506124f960166000600281526020019081526020016000208190555060e6601660006003815260200190815260200160002081905550610347601660006004815260200190815260200160002081905550610b7960166000600581526020019081526020016000208190555061028d6016600060068152602001908152602001600020819055506104d960166000600781526020019081526020016000208190555063610887006019600080815260200190815260200160002081905550636216ca80601960006001815260200190815260200160002081905550636239118060196000600281526020019081526020016000208190555063621d6200601960006003815260200190815260200160002081905550636296ac00601960006004815260200190815260200160002081905550636233cb8060196000600581526020019081526020016000208190555063629bf2006019600060068152602001908152602001600020819055506362366e806019600060078152602001908152602001600020819055506200046673514910771af9ca656af840dff83e8264ecf986ca620005ea60201b60201c565b6200048b732e973758d5f319ed4768570182ca601e970ff5496200062e60201b60201c565b7f323333656165366566356333346164326130666532656165643735623566343460118190555062000860565b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200052a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200052190620007c8565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127860405160405180910390a350565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8280546200068090620007fb565b90600052602060002090601f016020900481019282620006a45760008555620006f0565b82601f10620006bf57805160ff1916838001178555620006f0565b82800160010185558215620006f0579182015b82811115620006ef578251825591602001919060010190620006d2565b5b509050620006ff919062000703565b5090565b5b808211156200071e57600081600090555060010162000704565b5090565b600062000731601883620007ea565b91507f43616e6e6f7420736574206f776e657220746f207a65726f00000000000000006000830152602082019050919050565b600062000773601783620007ea565b91507f43616e6e6f74207472616e7366657220746f2073656c660000000000000000006000830152602082019050919050565b60006020820190508181036000830152620007c18162000722565b9050919050565b60006020820190508181036000830152620007e38162000764565b9050919050565b600082825260208201905092915050565b600060028204905060018216806200081457607f821691505b602082108114156200082b576200082a62000831565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615d2580620008706000396000f3fe608060405234801561001057600080fd5b50600436106102535760003560e01c806361920e7b11610146578063a457c2d7116100c3578063d5ab7a5611610087578063d5ab7a5614610738578063dd62ed3e14610756578063e5c1a1d614610786578063f2fde38b146107a4578063fea9878e146107c0578063ff8053e6146107f057610253565b8063a457c2d71461066c578063a9059cbb1461069c578063b02defae146106cc578063bfbb2281146106ea578063cd561c3f1461070857610253565b80637dc2268c1161010a5780637dc2268c146105c4578063833fd5fe146105e25780638da5cb5b1461060057806395d89b411461061e578063a173b6391461063c57610253565b806361920e7b1461050e5780636aa3eac91461053e57806370a082311461056e57806379ba50971461059e57806379cc6790146105a857610253565b80631faee43b116101d457806338ed5a611161019857806338ed5a6114610458578063395093511461048857806342966c68146104b857806343b416ea146104d4578063585f6d88146104de57610253565b80631faee43b146103a257806323b872dd146103d25780632a29ece614610402578063313ce5671461041e57806333fed5911461043c57610253565b8063115cfb551161021b578063115cfb55146102ea57806312a850931461031a57806318160ddd1461034a578063187af51b14610368578063196f7d5e1461039857610253565b806301a675cb14610258578063049563261461027657806306fdde0314610280578063095ea7b31461029e5780630b3b3882146102ce575b600080fd5b610260610820565b60405161026d9190615270565b60405180910390f35b61027e610b76565b005b610288610eb0565b60405161029591906152e4565b60405180910390f35b6102b860048036038101906102b39190614532565b610f42565b6040516102c591906152ae565b60405180910390f35b6102e860048036038101906102e39190614627565b610f65565b005b61030460048036038101906102ff9190614627565b611296565b6040516103119190615626565b60405180910390f35b610334600480360381019061032f9190614650565b6112ae565b60405161034191906152ae565b60405180910390f35b6103526112dd565b60405161035f9190615626565b60405180910390f35b610382600480360381019061037d91906145e6565b6112e7565b60405161038f91906152c9565b60405180910390f35b6103a061145a565b005b6103bc60048036038101906103b79190614627565b611640565b6040516103c99190615626565b60405180910390f35b6103ec60048036038101906103e791906144e3565b611807565b6040516103f991906152ae565b60405180910390f35b61041c60048036038101906104179190614597565b611836565b005b610426611e28565b6040516104339190615641565b60405180910390f35b61045660048036038101906104519190614627565b611e2d565b005b610472600480360381019061046d9190614650565b612066565b60405161047f9190615626565b60405180910390f35b6104a2600480360381019061049d9190614532565b61208b565b6040516104af91906152ae565b60405180910390f35b6104d260048036038101906104cd9190614627565b6120c2565b005b6104dc6120d6565b005b6104f860048036038101906104f3919061447e565b6122d4565b60405161050591906152ae565b60405180910390f35b61052860048036038101906105239190614627565b6122f4565b6040516105359190615626565b60405180910390f35b61055860048036038101906105539190614650565b61250b565b60405161056591906152ae565b60405180910390f35b6105886004803603810190610583919061447e565b61253a565b6040516105959190615626565b60405180910390f35b6105a6612582565b005b6105c260048036038101906105bd9190614532565b612719565b005b6105cc612739565b6040516105d991906152ae565b60405180910390f35b6105ea61274c565b6040516105f79190615626565b60405180910390f35b610608612752565b60405161061591906151a1565b60405180910390f35b61062661277c565b60405161063391906152e4565b60405180910390f35b61065660048036038101906106519190614627565b61280e565b6040516106639190615626565b60405180910390f35b61068660048036038101906106819190614532565b612826565b60405161069391906152ae565b60405180910390f35b6106b660048036038101906106b19190614532565b61289d565b6040516106c391906152ae565b60405180910390f35b6106d46128c0565b6040516106e19190615270565b60405180910390f35b6106f2612c16565b6040516106ff91906152ae565b60405180910390f35b610722600480360381019061071d9190614627565b612c6a565b60405161072f9190615626565b60405180910390f35b610740612c82565b60405161074d9190615626565b60405180910390f35b610770600480360381019061076b91906144a7565b612df6565b60405161077d9190615626565b60405180910390f35b61078e612e7d565b60405161079b919061528c565b60405180910390f35b6107be60048036038101906107b9919061447e565b6130ad565b005b6107da60048036038101906107d59190614627565b6130c1565b6040516107e79190615626565b60405180910390f35b61080a60048036038101906108059190614627565b6130d9565b6040516108179190615626565b60405180910390f35b610828614318565b6040518061010001604052806012600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601260006001815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601260006002815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601260006003815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601260006004815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601260006005815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601260006006815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601260006007815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151515815250905090565b60011515601060009054906101000a900460ff16151514610bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc390615486565b60405180910390fd5b6000805b600f54811015610ea2576013600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015610c9f57506012600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15610e8f5760016013600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550601760008281526020019081526020016000206000815480929190610d3190615b04565b9190505550610e10601960008381526020019081526020016000205442610d5891906159ad565b610d6291906157b1565b6014600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506014600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601560008381526020019081526020016000206000828254610e29919061575b565b925050819055506014600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482610e8c919061575b565b91505b8080610e9a90615b04565b915050610bd0565b50610ead33826130f1565b50565b606060038054610ebf90615ad2565b80601f0160208091040260200160405190810160405280929190818152602001828054610eeb90615ad2565b8015610f385780601f10610f0d57610100808354040283529160200191610f38565b820191906000526020600020905b815481529060010190602001808311610f1b57829003601f168201915b5050505050905090565b600080610f4d613251565b9050610f5a818585613259565b600191505092915050565b60011515601060009054906101000a900460ff16151514610fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb290615486565b60405180910390fd5b600f548110610fff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff690615546565b60405180910390fd5b600015156013600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146110a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109a906153a6565b60405180910390fd5b600115156012600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113e906154c6565b60405180910390fd5b60016013600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506017600082815260200190815260200160002060008154809291906111d490615b04565b91905055506000610e106019600084815260200190815260200160002054426111fd91906159ad565b61120791906157b1565b9050806014600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080601560008481526020019081526020016000206000828254611281919061575b565b9250508190555061129233826130f1565b5050565b60196020528060005260406000206000915090505481565b60126020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b6000600254905090565b6000806112fe60115430632a29ece660e01b613424565b905061134a6040518060400160405280600781526020017f616464726573730000000000000000000000000000000000000000000000000081525084836134559092919063ffffffff16565b6113c96040518060400160405280600481526020017f70617468000000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f62726f0000000000000000000000000000000000000000000000000000000000815250836134559092919063ffffffff16565b6114486040518060400160405280600581526020017f70617468310000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f6d616e0000000000000000000000000000000000000000000000000000000000815250836134559092919063ffffffff16565b611453816000613488565b5050919050565b601060009054906101000a900460ff16156114aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a190615466565b60405180910390fd5b6000805b600f54811015611632576013600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561161f5760006013600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060156000828152602001908152602001600020546014600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460186000848152602001908152602001600020546116079190615953565b61161191906157b1565b8261161c919061575b565b91505b808061162a90615b04565b9150506114ae565b5061163d33826130f1565b50565b6000600f548210611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d90615526565b60405180910390fd5b601060009054906101000a900460ff16156116d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cd90615466565b60405180910390fd5b6013600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611773576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176a906155c6565b60405180910390fd5b60156000838152602001908152602001600020546014600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460186000858152602001908152602001600020546117f69190615953565b61180091906157b1565b9050919050565b600080611812613251565b905061181f8582856134bf565b61182a85858561354b565b60019150509392505050565b82600a600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146118d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cf906155a6565b60405180910390fd5b600a600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055807f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a60405160405180910390a260008290507f6b1fb2ade8b8043a24a96fc34f22271872018ed79fa1a9beda8054245a4d67478460405161196f91906151a1565b60405180910390a16001601a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060808110611a51576001601260006007815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550608081611a4e91906159ad565b90505b60408110611ad3576001601260006006815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550604081611ad091906159ad565b90505b60208110611b55576001601260006005815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550602081611b5291906159ad565b90505b60108110611bd7576001601260006004815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550601081611bd491906159ad565b90505b60088110611c59576001601260006003815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600881611c5691906159ad565b90505b60048110611cdb576001601260006002815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600481611cd891906159ad565b90505b60028110611d5d576001601260006001815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600281611d5a91906159ad565b90505b60018110611dde5760016012600080815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600181611ddb91906159ad565b90505b60008114611e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1890615446565b60405180910390fd5b5050505050565b600090565b600f548110611e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6890615526565b60405180910390fd5b601060009054906101000a900460ff1615611ec1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb890615466565b60405180910390fd5b6013600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611f5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f55906155c6565b60405180910390fd5b60006013600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600060156000838152602001908152602001600020546014600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601860008581526020019081526020016000205461204c9190615953565b61205691906157b1565b905061206233826130f1565b5050565b6014602052816000526040600020602052806000526040600020600091509150505481565b600080612096613251565b90506120b78185856120a88589612df6565b6120b2919061575b565b613259565b600191505092915050565b6120d36120cd613251565b826137cc565b50565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215d90615366565b60405180910390fd5b60011515601060009054906101000a900460ff161515146121bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b390615486565b60405180910390fd5b6000601060006101000a81548160ff0219169083151502179055506000805b600f548110156122a4576002610e1060196000848152602001908152602001600020544261220991906159ad565b61221391906157b1565b6017600084815260200190815260200160002054601660008581526020019081526020016000205461224591906159ad565b61224f9190615953565b61225991906157b1565b601860008381526020019081526020016000208190555060186000828152602001908152602001600020548261228f919061575b565b9150808061229c90615b04565b9150506121db565b506122d1600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826130f1565b50565b601a6020528060005260406000206000915054906101000a900460ff1681565b600060011515601060009054906101000a900460ff1615151461234c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234390615486565b60405180910390fd5b600f548210612390576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238790615546565b60405180910390fd5b600115156012600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514612434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242b906154a6565b60405180910390fd5b600015156013600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146124d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cf906153a6565b60405180910390fd5b610e106019600084815260200190815260200160002054426124fa91906159ad565b61250491906157b1565b9050919050565b60136020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260990615326565b60405180910390fd5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905033600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b61272b82612725613251565b836134bf565b61273582826137cc565b5050565b601060009054906101000a900460ff1681565b600f5481565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461278b90615ad2565b80601f01602080910402602001604051908101604052809291908181526020018280546127b790615ad2565b80156128045780601f106127d957610100808354040283529160200191612804565b820191906000526020600020905b8154815290600101906020018083116127e757829003601f168201915b5050505050905090565b60166020528060005260406000206000915090505481565b600080612831613251565b9050600061283f8286612df6565b905083811015612884576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287b906155e6565b60405180910390fd5b6128918286868403613259565b60019250505092915050565b6000806128a8613251565b90506128b581858561354b565b600191505092915050565b6128c8614318565b6040518061010001604052806013600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601360006001815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601360006002815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601360006003815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601360006004815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601360006005815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601360006006815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601360006007815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151515815250905090565b6000601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905090565b60176020528060005260406000206000915090505481565b6000601060009054906101000a900460ff1615612cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ccb90615466565b60405180910390fd5b60005b600f54811015612df2576013600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612ddf5760156000828152602001908152602001600020546014600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546018600084815260200190815260200160002054612dc79190615953565b612dd191906157b1565b82612ddc919061575b565b91505b8080612dea90615b04565b915050612cd7565b5090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b606060011515601060009054906101000a900460ff16151514612ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ecc90615486565b60405180910390fd5b6000600867ffffffffffffffff811115612f18577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612f465781602001602082028036833780820191505090505b50905060005b600f548110156130a5576013600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561301b57506012600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b1561309257610e1060196000838152602001908152602001600020544261304291906159ad565b61304c91906157b1565b828281518110613085577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250505b808061309d90615b04565b915050612f4c565b508091505090565b6130b56139a3565b6130be81613a35565b50565b60186020528060005260406000206000915090505481565b60156020528060005260406000206000915090505481565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613161576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315890615606565b60405180910390fd5b61316d60008383613b64565b806002600082825461317f919061575b565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131d4919061575b565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516132399190615626565b60405180910390a361324d60008383613b69565b5050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c090615566565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333090615386565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516134179190615626565b60405180910390a3505050565b61342c61433b565b61343461433b565b61344b85858584613b6e909392919063ffffffff16565b9150509392505050565b61346c828460800151613c1e90919063ffffffff16565b613483818460800151613c1e90919063ffffffff16565b505050565b60006134b7600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168484613c43565b905092915050565b60006134cb8484612df6565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146135455781811015613537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352e906153e6565b60405180910390fd5b6135448484848403613259565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b290615506565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561362b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362290615306565b60405180910390fd5b613636838383613b64565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156136bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b390615426565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461374f919061575b565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516137b39190615626565b60405180910390a36137c6848484613b69565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561383c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613833906154e6565b60405180910390fd5b61384882600083613b64565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156138ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138c590615346565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600082825461392591906159ad565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161398a9190615626565b60405180910390a361399e83600084613b69565b505050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a2a90615406565b60405180910390fd5b565b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a9b90615586565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127860405160405180910390a350565b505050565b505050565b613b7661433b565b613b868560800151610100613d0d565b508385600001818152505082856020019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508185604001907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681525050849050949350505050565b613c2b8260038351613d77565b613c3e8183613efc90919063ffffffff16565b505050565b6000806009549050600181613c58919061575b565b6009819055506000633c6d41b960e01b600080876000015188604001518660028b6080015160000151604051602401613c9797969594939291906151bc565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050613d0286838684613f1e565b925050509392505050565b613d156143a8565b6000602083613d249190615b7b565b14613d5057602082613d369190615b7b565b6020613d4291906159ad565b82613d4d919061575b565b91505b81836020018181525050604051808452600081528281016020016040525082905092915050565b60178167ffffffffffffffff1611613dae57613da88160058460ff16901b60ff1617846140c290919063ffffffff16565b50613ef7565b60ff8167ffffffffffffffff1611613e0457613ddd601860058460ff16901b17846140c290919063ffffffff16565b50613dfe8167ffffffffffffffff166001856140e29092919063ffffffff16565b50613ef6565b61ffff8167ffffffffffffffff1611613e5b57613e34601960058460ff16901b17846140c290919063ffffffff16565b50613e558167ffffffffffffffff166002856140e29092919063ffffffff16565b50613ef5565b63ffffffff8167ffffffffffffffff1611613eb457613e8d601a60058460ff16901b17846140c290919063ffffffff16565b50613eae8167ffffffffffffffff166004856140e29092919063ffffffff16565b50613ef4565b613ed1601b60058460ff16901b17846140c290919063ffffffff16565b50613ef28167ffffffffffffffff166008856140e29092919063ffffffff16565b505b5b5b5b505050565b613f046143a8565b613f1683846000015151848551614104565b905092915050565b60003084604051602001613f33929190615175565b60405160208183030381529060405280519060200120905084600a600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550807fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af960405160405180910390a2600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634000aea08685856040518463ffffffff1660e01b815260040161402993929190615232565b602060405180830381600087803b15801561404357600080fd5b505af1158015614057573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061407b919061456e565b6140ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140b1906153c6565b60405180910390fd5b949350505050565b6140ca6143a8565b6140da83846000015151846141f3565b905092915050565b6140ea6143a8565b6140fb84856000015151858561424a565b90509392505050565b61410c6143a8565b825182111561411a57600080fd5b8460200151828561412b919061575b565b11156141605761415f8560026141508860200151888761414b919061575b565b6142d8565b61415a9190615953565b6142f4565b5b60008086518051876020830101935080888701111561417f5787860182525b60208701925050505b602084106141c657805182526020826141a1919061575b565b91506020816141b0919061575b565b90506020846141bf91906159ad565b9350614188565b60006001856020036101000a03905080198251168184511681811785525050508692505050949350505050565b6141fb6143a8565b8360200151831061422157614220846002866020015161421b9190615953565b6142f4565b5b835180516020858301018481538186141561423d576001820183525b5050508390509392505050565b6142526143a8565b84602001518483614263919061575b565b111561428b5761428a856002868561427b919061575b565b6142859190615953565b6142f4565b5b600060018361010061429d9190615835565b6142a791906159ad565b905085518386820101858319825116178152815185880111156142ca5784870182525b505085915050949350505050565b6000818311156142ea578290506142ee565b8190505b92915050565b6000826000015190506143078383613d0d565b506143128382613efc565b50505050565b604051806101000160405280600890602082028036833780820191505090505090565b6040518060a0016040528060008019168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001600081526020016143a26143a8565b81525090565b604051806040016040528060608152602001600081525090565b60006143d56143d08461568d565b61565c565b9050828152602081018484840111156143ed57600080fd5b6143f8848285615a90565b509392505050565b60008135905061440f81615c93565b92915050565b60008151905061442481615caa565b92915050565b60008135905061443981615cc1565b92915050565b600082601f83011261445057600080fd5b81356144608482602086016143c2565b91505092915050565b60008135905061447881615cd8565b92915050565b60006020828403121561449057600080fd5b600061449e84828501614400565b91505092915050565b600080604083850312156144ba57600080fd5b60006144c885828601614400565b92505060206144d985828601614400565b9150509250929050565b6000806000606084860312156144f857600080fd5b600061450686828701614400565b935050602061451786828701614400565b925050604061452886828701614469565b9150509250925092565b6000806040838503121561454557600080fd5b600061455385828601614400565b925050602061456485828601614469565b9150509250929050565b60006020828403121561458057600080fd5b600061458e84828501614415565b91505092915050565b6000806000606084860312156145ac57600080fd5b60006145ba8682870161442a565b93505060206145cb86828701614400565b92505060406145dc86828701614469565b9150509250925092565b6000602082840312156145f857600080fd5b600082013567ffffffffffffffff81111561461257600080fd5b61461e8482850161443f565b91505092915050565b60006020828403121561463957600080fd5b600061464784828501614469565b91505092915050565b6000806040838503121561466357600080fd5b600061467185828601614469565b925050602061468285828601614400565b9150509250929050565b60006146988383614780565b60208301905092915050565b60006146b08383615131565b60208301905092915050565b6146c5816159e1565b82525050565b6146d4816156d7565b6146de818461571d565b92506146e9826156bd565b8060005b8381101561471a578151614701878261468c565b965061470c83615703565b9250506001810190506146ed565b505050505050565b600061472d826156e2565b6147378185615728565b9350614742836156c7565b8060005b8381101561477357815161475a88826146a4565b975061476583615710565b925050600181019050614746565b5085935050505092915050565b614789816159f3565b82525050565b614798816159f3565b82525050565b6147a7816159ff565b82525050565b6147b681615a09565b82525050565b60006147c7826156ed565b6147d18185615739565b93506147e1818560208601615a9f565b6147ea81615c68565b840191505092915050565b61480661480182615a6c565b615b4d565b82525050565b6000614817826156f8565b614821818561574a565b9350614831818560208601615a9f565b61483a81615c68565b840191505092915050565b600061485260238361574a565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006148b860168361574a565b91507f4d7573742062652070726f706f736564206f776e6572000000000000000000006000830152602082019050919050565b60006148f860228361574a565b91507f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061495e60278361574a565b91507f4f6e6c7920746865206d616e616765722063616e2063616c6c2074686973206660008301527f756e6374696f6e000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006149c460228361574a565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614a2a60308361574a565b91507f596f7520616c7265616479206d696e74656420796f7572207761697420666f7260008301527f20746869732073616372696669636521000000000000000000000000000000006020830152604082019050919050565b6000614a9060238361574a565b91507f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f726160008301527f636c6500000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614af6601d8361574a565b91507f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006000830152602082019050919050565b6000614b3660168361574a565b91507f4f6e6c792063616c6c61626c65206279206f776e6572000000000000000000006000830152602082019050919050565b6000614b7660268361574a565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614bdc60198361574a565b91507f536f6d657468696e672077656e742077726f6e672068657265000000000000006000830152602082019050919050565b6000614c1c60138361574a565b91507f4d696e74696e67206973207374696c6c206f6e000000000000000000000000006000830152602082019050919050565b6000614c5c603d8361574a565b91507f4d696e74696e67205761697420686173206265656e207475726e6564206f666660008301527f2c20676f20636c61696d2074686520756e636c61696d656420576169740000006020830152604082019050919050565b6000614cc2603c8361574a565b91507f596f752077657265206e6f7420696e207468652073706563696669632073616360008301527f726966696365206f7220796f75206e65656420746f20636865636b21000000006020830152604082019050919050565b6000614d2860478361574a565b91507f596f752077657265206e6f7420696e207468697320736163726966696365206f60008301527f7220796f7520686176656e277420636865636b6564207468652064617461626160208301527f73652079657421000000000000000000000000000000000000000000000000006040830152606082019050919050565b6000614db460218361574a565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614e1a60258361574a565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614e8060198361574a565b91507f6e6f7420616e20616363757261746520736163726966696365000000000000006000830152602082019050919050565b6000614ec060198361574a565b91507f4e6f7420616e20616363757261746520736163726966696365000000000000006000830152602082019050919050565b6000614f0060248361574a565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614f6660178361574a565b91507f43616e6e6f74207472616e7366657220746f2073656c660000000000000000006000830152602082019050919050565b6000614fa660288361574a565b91507f536f75726365206d75737420626520746865206f7261636c65206f662074686560008301527f20726571756573740000000000000000000000000000000000000000000000006020830152604082019050919050565b600061500c60418361574a565b91507f596f75206e6576657220636c61696d656420796f75722077616974206f72206160008301527f6c726561647920636c61696d65642074686520756e636c61696d65642077616960208301527f74000000000000000000000000000000000000000000000000000000000000006040830152606082019050919050565b600061509860258361574a565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006150fe601f8361574a565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b61513a81615a55565b82525050565b61514981615a55565b82525050565b61516061515b82615a55565b615b71565b82525050565b61516f81615a5f565b82525050565b600061518182856147f5565b601482019150615191828461514f565b6020820191508190509392505050565b60006020820190506151b660008301846146bc565b92915050565b600060e0820190506151d1600083018a6146bc565b6151de6020830189615140565b6151eb604083018861479e565b6151f860608301876147ad565b6152056080830186615140565b61521260a0830185615140565b81810360c083015261522481846147bc565b905098975050505050505050565b600060608201905061524760008301866146bc565b6152546020830185615140565b818103604083015261526681846147bc565b9050949350505050565b60006101008201905061528660008301846146cb565b92915050565b600060208201905081810360008301526152a68184614722565b905092915050565b60006020820190506152c3600083018461478f565b92915050565b60006020820190506152de600083018461479e565b92915050565b600060208201905081810360008301526152fe818461480c565b905092915050565b6000602082019050818103600083015261531f81614845565b9050919050565b6000602082019050818103600083015261533f816148ab565b9050919050565b6000602082019050818103600083015261535f816148eb565b9050919050565b6000602082019050818103600083015261537f81614951565b9050919050565b6000602082019050818103600083015261539f816149b7565b9050919050565b600060208201905081810360008301526153bf81614a1d565b9050919050565b600060208201905081810360008301526153df81614a83565b9050919050565b600060208201905081810360008301526153ff81614ae9565b9050919050565b6000602082019050818103600083015261541f81614b29565b9050919050565b6000602082019050818103600083015261543f81614b69565b9050919050565b6000602082019050818103600083015261545f81614bcf565b9050919050565b6000602082019050818103600083015261547f81614c0f565b9050919050565b6000602082019050818103600083015261549f81614c4f565b9050919050565b600060208201905081810360008301526154bf81614cb5565b9050919050565b600060208201905081810360008301526154df81614d1b565b9050919050565b600060208201905081810360008301526154ff81614da7565b9050919050565b6000602082019050818103600083015261551f81614e0d565b9050919050565b6000602082019050818103600083015261553f81614e73565b9050919050565b6000602082019050818103600083015261555f81614eb3565b9050919050565b6000602082019050818103600083015261557f81614ef3565b9050919050565b6000602082019050818103600083015261559f81614f59565b9050919050565b600060208201905081810360008301526155bf81614f99565b9050919050565b600060208201905081810360008301526155df81614fff565b9050919050565b600060208201905081810360008301526155ff8161508b565b9050919050565b6000602082019050818103600083015261561f816150f1565b9050919050565b600060208201905061563b6000830184615140565b92915050565b60006020820190506156566000830184615166565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561568357615682615c39565b5b8060405250919050565b600067ffffffffffffffff8211156156a8576156a7615c39565b5b601f19601f8301169050602081019050919050565b6000819050919050565b6000819050602082019050919050565b600060089050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600061576682615a55565b915061577183615a55565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156157a6576157a5615bac565b5b828201905092915050565b60006157bc82615a55565b91506157c783615a55565b9250826157d7576157d6615bdb565b5b828204905092915050565b6000808291508390505b600185111561582c5780860481111561580857615807615bac565b5b60018516156158175780820291505b808102905061582585615c86565b94506157ec565b94509492505050565b600061584082615a55565b915061584b83615a55565b92506158787fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484615880565b905092915050565b600082615890576001905061594c565b8161589e576000905061594c565b81600181146158b457600281146158be576158ed565b600191505061594c565b60ff8411156158d0576158cf615bac565b5b8360020a9150848211156158e7576158e6615bac565b5b5061594c565b5060208310610133831016604e8410600b84101617156159225782820a90508381111561591d5761591c615bac565b5b61594c565b61592f84848460016157e2565b9250905081840481111561594657615945615bac565b5b81810290505b9392505050565b600061595e82615a55565b915061596983615a55565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156159a2576159a1615bac565b5b828202905092915050565b60006159b882615a55565b91506159c383615a55565b9250828210156159d6576159d5615bac565b5b828203905092915050565b60006159ec82615a35565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000615a7782615a7e565b9050919050565b6000615a8982615a35565b9050919050565b82818337600083830152505050565b60005b83811015615abd578082015181840152602081019050615aa2565b83811115615acc576000848401525b50505050565b60006002820490506001821680615aea57607f821691505b60208210811415615afe57615afd615c0a565b5b50919050565b6000615b0f82615a55565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615b4257615b41615bac565b5b600182019050919050565b6000615b5882615b5f565b9050919050565b6000615b6a82615c79565b9050919050565b6000819050919050565b6000615b8682615a55565b9150615b9183615a55565b925082615ba157615ba0615bdb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160011c9050919050565b615c9c816159e1565b8114615ca757600080fd5b50565b615cb3816159f3565b8114615cbe57600080fd5b50565b615cca816159ff565b8114615cd557600080fd5b50565b615ce181615a55565b8114615cec57600080fd5b5056fea264697066735822122075a19ec198b90fa77c18446a6759f5b00910c76556231702965131880d36627b64736f6c63430008000033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102535760003560e01c806361920e7b11610146578063a457c2d7116100c3578063d5ab7a5611610087578063d5ab7a5614610738578063dd62ed3e14610756578063e5c1a1d614610786578063f2fde38b146107a4578063fea9878e146107c0578063ff8053e6146107f057610253565b8063a457c2d71461066c578063a9059cbb1461069c578063b02defae146106cc578063bfbb2281146106ea578063cd561c3f1461070857610253565b80637dc2268c1161010a5780637dc2268c146105c4578063833fd5fe146105e25780638da5cb5b1461060057806395d89b411461061e578063a173b6391461063c57610253565b806361920e7b1461050e5780636aa3eac91461053e57806370a082311461056e57806379ba50971461059e57806379cc6790146105a857610253565b80631faee43b116101d457806338ed5a611161019857806338ed5a6114610458578063395093511461048857806342966c68146104b857806343b416ea146104d4578063585f6d88146104de57610253565b80631faee43b146103a257806323b872dd146103d25780632a29ece614610402578063313ce5671461041e57806333fed5911461043c57610253565b8063115cfb551161021b578063115cfb55146102ea57806312a850931461031a57806318160ddd1461034a578063187af51b14610368578063196f7d5e1461039857610253565b806301a675cb14610258578063049563261461027657806306fdde0314610280578063095ea7b31461029e5780630b3b3882146102ce575b600080fd5b610260610820565b60405161026d9190615270565b60405180910390f35b61027e610b76565b005b610288610eb0565b60405161029591906152e4565b60405180910390f35b6102b860048036038101906102b39190614532565b610f42565b6040516102c591906152ae565b60405180910390f35b6102e860048036038101906102e39190614627565b610f65565b005b61030460048036038101906102ff9190614627565b611296565b6040516103119190615626565b60405180910390f35b610334600480360381019061032f9190614650565b6112ae565b60405161034191906152ae565b60405180910390f35b6103526112dd565b60405161035f9190615626565b60405180910390f35b610382600480360381019061037d91906145e6565b6112e7565b60405161038f91906152c9565b60405180910390f35b6103a061145a565b005b6103bc60048036038101906103b79190614627565b611640565b6040516103c99190615626565b60405180910390f35b6103ec60048036038101906103e791906144e3565b611807565b6040516103f991906152ae565b60405180910390f35b61041c60048036038101906104179190614597565b611836565b005b610426611e28565b6040516104339190615641565b60405180910390f35b61045660048036038101906104519190614627565b611e2d565b005b610472600480360381019061046d9190614650565b612066565b60405161047f9190615626565b60405180910390f35b6104a2600480360381019061049d9190614532565b61208b565b6040516104af91906152ae565b60405180910390f35b6104d260048036038101906104cd9190614627565b6120c2565b005b6104dc6120d6565b005b6104f860048036038101906104f3919061447e565b6122d4565b60405161050591906152ae565b60405180910390f35b61052860048036038101906105239190614627565b6122f4565b6040516105359190615626565b60405180910390f35b61055860048036038101906105539190614650565b61250b565b60405161056591906152ae565b60405180910390f35b6105886004803603810190610583919061447e565b61253a565b6040516105959190615626565b60405180910390f35b6105a6612582565b005b6105c260048036038101906105bd9190614532565b612719565b005b6105cc612739565b6040516105d991906152ae565b60405180910390f35b6105ea61274c565b6040516105f79190615626565b60405180910390f35b610608612752565b60405161061591906151a1565b60405180910390f35b61062661277c565b60405161063391906152e4565b60405180910390f35b61065660048036038101906106519190614627565b61280e565b6040516106639190615626565b60405180910390f35b61068660048036038101906106819190614532565b612826565b60405161069391906152ae565b60405180910390f35b6106b660048036038101906106b19190614532565b61289d565b6040516106c391906152ae565b60405180910390f35b6106d46128c0565b6040516106e19190615270565b60405180910390f35b6106f2612c16565b6040516106ff91906152ae565b60405180910390f35b610722600480360381019061071d9190614627565b612c6a565b60405161072f9190615626565b60405180910390f35b610740612c82565b60405161074d9190615626565b60405180910390f35b610770600480360381019061076b91906144a7565b612df6565b60405161077d9190615626565b60405180910390f35b61078e612e7d565b60405161079b919061528c565b60405180910390f35b6107be60048036038101906107b9919061447e565b6130ad565b005b6107da60048036038101906107d59190614627565b6130c1565b6040516107e79190615626565b60405180910390f35b61080a60048036038101906108059190614627565b6130d9565b6040516108179190615626565b60405180910390f35b610828614318565b6040518061010001604052806012600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601260006001815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601260006002815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601260006003815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601260006004815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601260006005815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601260006006815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601260006007815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151515815250905090565b60011515601060009054906101000a900460ff16151514610bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc390615486565b60405180910390fd5b6000805b600f54811015610ea2576013600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015610c9f57506012600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15610e8f5760016013600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550601760008281526020019081526020016000206000815480929190610d3190615b04565b9190505550610e10601960008381526020019081526020016000205442610d5891906159ad565b610d6291906157b1565b6014600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506014600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601560008381526020019081526020016000206000828254610e29919061575b565b925050819055506014600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482610e8c919061575b565b91505b8080610e9a90615b04565b915050610bd0565b50610ead33826130f1565b50565b606060038054610ebf90615ad2565b80601f0160208091040260200160405190810160405280929190818152602001828054610eeb90615ad2565b8015610f385780601f10610f0d57610100808354040283529160200191610f38565b820191906000526020600020905b815481529060010190602001808311610f1b57829003601f168201915b5050505050905090565b600080610f4d613251565b9050610f5a818585613259565b600191505092915050565b60011515601060009054906101000a900460ff16151514610fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb290615486565b60405180910390fd5b600f548110610fff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff690615546565b60405180910390fd5b600015156013600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146110a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109a906153a6565b60405180910390fd5b600115156012600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113e906154c6565b60405180910390fd5b60016013600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506017600082815260200190815260200160002060008154809291906111d490615b04565b91905055506000610e106019600084815260200190815260200160002054426111fd91906159ad565b61120791906157b1565b9050806014600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080601560008481526020019081526020016000206000828254611281919061575b565b9250508190555061129233826130f1565b5050565b60196020528060005260406000206000915090505481565b60126020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b6000600254905090565b6000806112fe60115430632a29ece660e01b613424565b905061134a6040518060400160405280600781526020017f616464726573730000000000000000000000000000000000000000000000000081525084836134559092919063ffffffff16565b6113c96040518060400160405280600481526020017f70617468000000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f62726f0000000000000000000000000000000000000000000000000000000000815250836134559092919063ffffffff16565b6114486040518060400160405280600581526020017f70617468310000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f6d616e0000000000000000000000000000000000000000000000000000000000815250836134559092919063ffffffff16565b611453816000613488565b5050919050565b601060009054906101000a900460ff16156114aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a190615466565b60405180910390fd5b6000805b600f54811015611632576013600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561161f5760006013600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060156000828152602001908152602001600020546014600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460186000848152602001908152602001600020546116079190615953565b61161191906157b1565b8261161c919061575b565b91505b808061162a90615b04565b9150506114ae565b5061163d33826130f1565b50565b6000600f548210611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d90615526565b60405180910390fd5b601060009054906101000a900460ff16156116d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cd90615466565b60405180910390fd5b6013600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611773576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176a906155c6565b60405180910390fd5b60156000838152602001908152602001600020546014600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460186000858152602001908152602001600020546117f69190615953565b61180091906157b1565b9050919050565b600080611812613251565b905061181f8582856134bf565b61182a85858561354b565b60019150509392505050565b82600a600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146118d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cf906155a6565b60405180910390fd5b600a600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055807f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a60405160405180910390a260008290507f6b1fb2ade8b8043a24a96fc34f22271872018ed79fa1a9beda8054245a4d67478460405161196f91906151a1565b60405180910390a16001601a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060808110611a51576001601260006007815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550608081611a4e91906159ad565b90505b60408110611ad3576001601260006006815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550604081611ad091906159ad565b90505b60208110611b55576001601260006005815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550602081611b5291906159ad565b90505b60108110611bd7576001601260006004815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550601081611bd491906159ad565b90505b60088110611c59576001601260006003815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600881611c5691906159ad565b90505b60048110611cdb576001601260006002815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600481611cd891906159ad565b90505b60028110611d5d576001601260006001815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600281611d5a91906159ad565b90505b60018110611dde5760016012600080815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600181611ddb91906159ad565b90505b60008114611e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1890615446565b60405180910390fd5b5050505050565b600090565b600f548110611e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6890615526565b60405180910390fd5b601060009054906101000a900460ff1615611ec1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb890615466565b60405180910390fd5b6013600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611f5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f55906155c6565b60405180910390fd5b60006013600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600060156000838152602001908152602001600020546014600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601860008581526020019081526020016000205461204c9190615953565b61205691906157b1565b905061206233826130f1565b5050565b6014602052816000526040600020602052806000526040600020600091509150505481565b600080612096613251565b90506120b78185856120a88589612df6565b6120b2919061575b565b613259565b600191505092915050565b6120d36120cd613251565b826137cc565b50565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215d90615366565b60405180910390fd5b60011515601060009054906101000a900460ff161515146121bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b390615486565b60405180910390fd5b6000601060006101000a81548160ff0219169083151502179055506000805b600f548110156122a4576002610e1060196000848152602001908152602001600020544261220991906159ad565b61221391906157b1565b6017600084815260200190815260200160002054601660008581526020019081526020016000205461224591906159ad565b61224f9190615953565b61225991906157b1565b601860008381526020019081526020016000208190555060186000828152602001908152602001600020548261228f919061575b565b9150808061229c90615b04565b9150506121db565b506122d1600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826130f1565b50565b601a6020528060005260406000206000915054906101000a900460ff1681565b600060011515601060009054906101000a900460ff1615151461234c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234390615486565b60405180910390fd5b600f548210612390576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238790615546565b60405180910390fd5b600115156012600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514612434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242b906154a6565b60405180910390fd5b600015156013600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146124d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cf906153a6565b60405180910390fd5b610e106019600084815260200190815260200160002054426124fa91906159ad565b61250491906157b1565b9050919050565b60136020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260990615326565b60405180910390fd5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905033600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b61272b82612725613251565b836134bf565b61273582826137cc565b5050565b601060009054906101000a900460ff1681565b600f5481565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461278b90615ad2565b80601f01602080910402602001604051908101604052809291908181526020018280546127b790615ad2565b80156128045780601f106127d957610100808354040283529160200191612804565b820191906000526020600020905b8154815290600101906020018083116127e757829003601f168201915b5050505050905090565b60166020528060005260406000206000915090505481565b600080612831613251565b9050600061283f8286612df6565b905083811015612884576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287b906155e6565b60405180910390fd5b6128918286868403613259565b60019250505092915050565b6000806128a8613251565b90506128b581858561354b565b600191505092915050565b6128c8614318565b6040518061010001604052806013600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601360006001815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601360006002815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601360006003815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601360006004815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601360006005815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601360006006815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515158152602001601360006007815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151515815250905090565b6000601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905090565b60176020528060005260406000206000915090505481565b6000601060009054906101000a900460ff1615612cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ccb90615466565b60405180910390fd5b60005b600f54811015612df2576013600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612ddf5760156000828152602001908152602001600020546014600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546018600084815260200190815260200160002054612dc79190615953565b612dd191906157b1565b82612ddc919061575b565b91505b8080612dea90615b04565b915050612cd7565b5090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b606060011515601060009054906101000a900460ff16151514612ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ecc90615486565b60405180910390fd5b6000600867ffffffffffffffff811115612f18577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612f465781602001602082028036833780820191505090505b50905060005b600f548110156130a5576013600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561301b57506012600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b1561309257610e1060196000838152602001908152602001600020544261304291906159ad565b61304c91906157b1565b828281518110613085577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250505b808061309d90615b04565b915050612f4c565b508091505090565b6130b56139a3565b6130be81613a35565b50565b60186020528060005260406000206000915090505481565b60156020528060005260406000206000915090505481565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613161576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315890615606565b60405180910390fd5b61316d60008383613b64565b806002600082825461317f919061575b565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131d4919061575b565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516132399190615626565b60405180910390a361324d60008383613b69565b5050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c090615566565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333090615386565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516134179190615626565b60405180910390a3505050565b61342c61433b565b61343461433b565b61344b85858584613b6e909392919063ffffffff16565b9150509392505050565b61346c828460800151613c1e90919063ffffffff16565b613483818460800151613c1e90919063ffffffff16565b505050565b60006134b7600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168484613c43565b905092915050565b60006134cb8484612df6565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146135455781811015613537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352e906153e6565b60405180910390fd5b6135448484848403613259565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b290615506565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561362b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362290615306565b60405180910390fd5b613636838383613b64565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156136bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b390615426565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461374f919061575b565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516137b39190615626565b60405180910390a36137c6848484613b69565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561383c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613833906154e6565b60405180910390fd5b61384882600083613b64565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156138ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138c590615346565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600082825461392591906159ad565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161398a9190615626565b60405180910390a361399e83600084613b69565b505050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a2a90615406565b60405180910390fd5b565b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a9b90615586565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127860405160405180910390a350565b505050565b505050565b613b7661433b565b613b868560800151610100613d0d565b508385600001818152505082856020019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508185604001907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681525050849050949350505050565b613c2b8260038351613d77565b613c3e8183613efc90919063ffffffff16565b505050565b6000806009549050600181613c58919061575b565b6009819055506000633c6d41b960e01b600080876000015188604001518660028b6080015160000151604051602401613c9797969594939291906151bc565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050613d0286838684613f1e565b925050509392505050565b613d156143a8565b6000602083613d249190615b7b565b14613d5057602082613d369190615b7b565b6020613d4291906159ad565b82613d4d919061575b565b91505b81836020018181525050604051808452600081528281016020016040525082905092915050565b60178167ffffffffffffffff1611613dae57613da88160058460ff16901b60ff1617846140c290919063ffffffff16565b50613ef7565b60ff8167ffffffffffffffff1611613e0457613ddd601860058460ff16901b17846140c290919063ffffffff16565b50613dfe8167ffffffffffffffff166001856140e29092919063ffffffff16565b50613ef6565b61ffff8167ffffffffffffffff1611613e5b57613e34601960058460ff16901b17846140c290919063ffffffff16565b50613e558167ffffffffffffffff166002856140e29092919063ffffffff16565b50613ef5565b63ffffffff8167ffffffffffffffff1611613eb457613e8d601a60058460ff16901b17846140c290919063ffffffff16565b50613eae8167ffffffffffffffff166004856140e29092919063ffffffff16565b50613ef4565b613ed1601b60058460ff16901b17846140c290919063ffffffff16565b50613ef28167ffffffffffffffff166008856140e29092919063ffffffff16565b505b5b5b5b505050565b613f046143a8565b613f1683846000015151848551614104565b905092915050565b60003084604051602001613f33929190615175565b60405160208183030381529060405280519060200120905084600a600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550807fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af960405160405180910390a2600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634000aea08685856040518463ffffffff1660e01b815260040161402993929190615232565b602060405180830381600087803b15801561404357600080fd5b505af1158015614057573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061407b919061456e565b6140ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140b1906153c6565b60405180910390fd5b949350505050565b6140ca6143a8565b6140da83846000015151846141f3565b905092915050565b6140ea6143a8565b6140fb84856000015151858561424a565b90509392505050565b61410c6143a8565b825182111561411a57600080fd5b8460200151828561412b919061575b565b11156141605761415f8560026141508860200151888761414b919061575b565b6142d8565b61415a9190615953565b6142f4565b5b60008086518051876020830101935080888701111561417f5787860182525b60208701925050505b602084106141c657805182526020826141a1919061575b565b91506020816141b0919061575b565b90506020846141bf91906159ad565b9350614188565b60006001856020036101000a03905080198251168184511681811785525050508692505050949350505050565b6141fb6143a8565b8360200151831061422157614220846002866020015161421b9190615953565b6142f4565b5b835180516020858301018481538186141561423d576001820183525b5050508390509392505050565b6142526143a8565b84602001518483614263919061575b565b111561428b5761428a856002868561427b919061575b565b6142859190615953565b6142f4565b5b600060018361010061429d9190615835565b6142a791906159ad565b905085518386820101858319825116178152815185880111156142ca5784870182525b505085915050949350505050565b6000818311156142ea578290506142ee565b8190505b92915050565b6000826000015190506143078383613d0d565b506143128382613efc565b50505050565b604051806101000160405280600890602082028036833780820191505090505090565b6040518060a0016040528060008019168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001600081526020016143a26143a8565b81525090565b604051806040016040528060608152602001600081525090565b60006143d56143d08461568d565b61565c565b9050828152602081018484840111156143ed57600080fd5b6143f8848285615a90565b509392505050565b60008135905061440f81615c93565b92915050565b60008151905061442481615caa565b92915050565b60008135905061443981615cc1565b92915050565b600082601f83011261445057600080fd5b81356144608482602086016143c2565b91505092915050565b60008135905061447881615cd8565b92915050565b60006020828403121561449057600080fd5b600061449e84828501614400565b91505092915050565b600080604083850312156144ba57600080fd5b60006144c885828601614400565b92505060206144d985828601614400565b9150509250929050565b6000806000606084860312156144f857600080fd5b600061450686828701614400565b935050602061451786828701614400565b925050604061452886828701614469565b9150509250925092565b6000806040838503121561454557600080fd5b600061455385828601614400565b925050602061456485828601614469565b9150509250929050565b60006020828403121561458057600080fd5b600061458e84828501614415565b91505092915050565b6000806000606084860312156145ac57600080fd5b60006145ba8682870161442a565b93505060206145cb86828701614400565b92505060406145dc86828701614469565b9150509250925092565b6000602082840312156145f857600080fd5b600082013567ffffffffffffffff81111561461257600080fd5b61461e8482850161443f565b91505092915050565b60006020828403121561463957600080fd5b600061464784828501614469565b91505092915050565b6000806040838503121561466357600080fd5b600061467185828601614469565b925050602061468285828601614400565b9150509250929050565b60006146988383614780565b60208301905092915050565b60006146b08383615131565b60208301905092915050565b6146c5816159e1565b82525050565b6146d4816156d7565b6146de818461571d565b92506146e9826156bd565b8060005b8381101561471a578151614701878261468c565b965061470c83615703565b9250506001810190506146ed565b505050505050565b600061472d826156e2565b6147378185615728565b9350614742836156c7565b8060005b8381101561477357815161475a88826146a4565b975061476583615710565b925050600181019050614746565b5085935050505092915050565b614789816159f3565b82525050565b614798816159f3565b82525050565b6147a7816159ff565b82525050565b6147b681615a09565b82525050565b60006147c7826156ed565b6147d18185615739565b93506147e1818560208601615a9f565b6147ea81615c68565b840191505092915050565b61480661480182615a6c565b615b4d565b82525050565b6000614817826156f8565b614821818561574a565b9350614831818560208601615a9f565b61483a81615c68565b840191505092915050565b600061485260238361574a565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006148b860168361574a565b91507f4d7573742062652070726f706f736564206f776e6572000000000000000000006000830152602082019050919050565b60006148f860228361574a565b91507f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061495e60278361574a565b91507f4f6e6c7920746865206d616e616765722063616e2063616c6c2074686973206660008301527f756e6374696f6e000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006149c460228361574a565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614a2a60308361574a565b91507f596f7520616c7265616479206d696e74656420796f7572207761697420666f7260008301527f20746869732073616372696669636521000000000000000000000000000000006020830152604082019050919050565b6000614a9060238361574a565b91507f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f726160008301527f636c6500000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614af6601d8361574a565b91507f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006000830152602082019050919050565b6000614b3660168361574a565b91507f4f6e6c792063616c6c61626c65206279206f776e6572000000000000000000006000830152602082019050919050565b6000614b7660268361574a565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614bdc60198361574a565b91507f536f6d657468696e672077656e742077726f6e672068657265000000000000006000830152602082019050919050565b6000614c1c60138361574a565b91507f4d696e74696e67206973207374696c6c206f6e000000000000000000000000006000830152602082019050919050565b6000614c5c603d8361574a565b91507f4d696e74696e67205761697420686173206265656e207475726e6564206f666660008301527f2c20676f20636c61696d2074686520756e636c61696d656420576169740000006020830152604082019050919050565b6000614cc2603c8361574a565b91507f596f752077657265206e6f7420696e207468652073706563696669632073616360008301527f726966696365206f7220796f75206e65656420746f20636865636b21000000006020830152604082019050919050565b6000614d2860478361574a565b91507f596f752077657265206e6f7420696e207468697320736163726966696365206f60008301527f7220796f7520686176656e277420636865636b6564207468652064617461626160208301527f73652079657421000000000000000000000000000000000000000000000000006040830152606082019050919050565b6000614db460218361574a565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614e1a60258361574a565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614e8060198361574a565b91507f6e6f7420616e20616363757261746520736163726966696365000000000000006000830152602082019050919050565b6000614ec060198361574a565b91507f4e6f7420616e20616363757261746520736163726966696365000000000000006000830152602082019050919050565b6000614f0060248361574a565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614f6660178361574a565b91507f43616e6e6f74207472616e7366657220746f2073656c660000000000000000006000830152602082019050919050565b6000614fa660288361574a565b91507f536f75726365206d75737420626520746865206f7261636c65206f662074686560008301527f20726571756573740000000000000000000000000000000000000000000000006020830152604082019050919050565b600061500c60418361574a565b91507f596f75206e6576657220636c61696d656420796f75722077616974206f72206160008301527f6c726561647920636c61696d65642074686520756e636c61696d65642077616960208301527f74000000000000000000000000000000000000000000000000000000000000006040830152606082019050919050565b600061509860258361574a565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006150fe601f8361574a565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b61513a81615a55565b82525050565b61514981615a55565b82525050565b61516061515b82615a55565b615b71565b82525050565b61516f81615a5f565b82525050565b600061518182856147f5565b601482019150615191828461514f565b6020820191508190509392505050565b60006020820190506151b660008301846146bc565b92915050565b600060e0820190506151d1600083018a6146bc565b6151de6020830189615140565b6151eb604083018861479e565b6151f860608301876147ad565b6152056080830186615140565b61521260a0830185615140565b81810360c083015261522481846147bc565b905098975050505050505050565b600060608201905061524760008301866146bc565b6152546020830185615140565b818103604083015261526681846147bc565b9050949350505050565b60006101008201905061528660008301846146cb565b92915050565b600060208201905081810360008301526152a68184614722565b905092915050565b60006020820190506152c3600083018461478f565b92915050565b60006020820190506152de600083018461479e565b92915050565b600060208201905081810360008301526152fe818461480c565b905092915050565b6000602082019050818103600083015261531f81614845565b9050919050565b6000602082019050818103600083015261533f816148ab565b9050919050565b6000602082019050818103600083015261535f816148eb565b9050919050565b6000602082019050818103600083015261537f81614951565b9050919050565b6000602082019050818103600083015261539f816149b7565b9050919050565b600060208201905081810360008301526153bf81614a1d565b9050919050565b600060208201905081810360008301526153df81614a83565b9050919050565b600060208201905081810360008301526153ff81614ae9565b9050919050565b6000602082019050818103600083015261541f81614b29565b9050919050565b6000602082019050818103600083015261543f81614b69565b9050919050565b6000602082019050818103600083015261545f81614bcf565b9050919050565b6000602082019050818103600083015261547f81614c0f565b9050919050565b6000602082019050818103600083015261549f81614c4f565b9050919050565b600060208201905081810360008301526154bf81614cb5565b9050919050565b600060208201905081810360008301526154df81614d1b565b9050919050565b600060208201905081810360008301526154ff81614da7565b9050919050565b6000602082019050818103600083015261551f81614e0d565b9050919050565b6000602082019050818103600083015261553f81614e73565b9050919050565b6000602082019050818103600083015261555f81614eb3565b9050919050565b6000602082019050818103600083015261557f81614ef3565b9050919050565b6000602082019050818103600083015261559f81614f59565b9050919050565b600060208201905081810360008301526155bf81614f99565b9050919050565b600060208201905081810360008301526155df81614fff565b9050919050565b600060208201905081810360008301526155ff8161508b565b9050919050565b6000602082019050818103600083015261561f816150f1565b9050919050565b600060208201905061563b6000830184615140565b92915050565b60006020820190506156566000830184615166565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561568357615682615c39565b5b8060405250919050565b600067ffffffffffffffff8211156156a8576156a7615c39565b5b601f19601f8301169050602081019050919050565b6000819050919050565b6000819050602082019050919050565b600060089050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600061576682615a55565b915061577183615a55565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156157a6576157a5615bac565b5b828201905092915050565b60006157bc82615a55565b91506157c783615a55565b9250826157d7576157d6615bdb565b5b828204905092915050565b6000808291508390505b600185111561582c5780860481111561580857615807615bac565b5b60018516156158175780820291505b808102905061582585615c86565b94506157ec565b94509492505050565b600061584082615a55565b915061584b83615a55565b92506158787fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484615880565b905092915050565b600082615890576001905061594c565b8161589e576000905061594c565b81600181146158b457600281146158be576158ed565b600191505061594c565b60ff8411156158d0576158cf615bac565b5b8360020a9150848211156158e7576158e6615bac565b5b5061594c565b5060208310610133831016604e8410600b84101617156159225782820a90508381111561591d5761591c615bac565b5b61594c565b61592f84848460016157e2565b9250905081840481111561594657615945615bac565b5b81810290505b9392505050565b600061595e82615a55565b915061596983615a55565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156159a2576159a1615bac565b5b828202905092915050565b60006159b882615a55565b91506159c383615a55565b9250828210156159d6576159d5615bac565b5b828203905092915050565b60006159ec82615a35565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000615a7782615a7e565b9050919050565b6000615a8982615a35565b9050919050565b82818337600083830152505050565b60005b83811015615abd578082015181840152602081019050615aa2565b83811115615acc576000848401525b50505050565b60006002820490506001821680615aea57607f821691505b60208210811415615afe57615afd615c0a565b5b50919050565b6000615b0f82615a55565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615b4257615b41615bac565b5b600182019050919050565b6000615b5882615b5f565b9050919050565b6000615b6a82615c79565b9050919050565b6000819050919050565b6000615b8682615a55565b9150615b9183615a55565b925082615ba157615ba0615bdb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160011c9050919050565b615c9c816159e1565b8114615ca757600080fd5b50565b615cb3816159f3565b8114615cbe57600080fd5b50565b615cca816159ff565b8114615cd557600080fd5b50565b615ce181615a55565b8114615cec57600080fd5b5056fea264697066735822122075a19ec198b90fa77c18446a6759f5b00910c76556231702965131880d36627b64736f6c63430008000033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.999618 | 2 | $2 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.