More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 3,654 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 18840979 | 404 days ago | IN | 0 ETH | 0.00328431 | ||||
Withdraw | 18096315 | 508 days ago | IN | 0 ETH | 0.00106401 | ||||
Withdraw | 18096292 | 508 days ago | IN | 0 ETH | 0.00115517 | ||||
Withdraw | 18096275 | 508 days ago | IN | 0 ETH | 0.00110624 | ||||
Withdraw | 18096263 | 508 days ago | IN | 0 ETH | 0.0011413 | ||||
Withdraw | 18096247 | 508 days ago | IN | 0 ETH | 0.00127988 | ||||
Withdraw | 18096229 | 508 days ago | IN | 0 ETH | 0.00120294 | ||||
Withdraw | 18096200 | 508 days ago | IN | 0 ETH | 0.00106514 | ||||
Withdraw | 18096174 | 508 days ago | IN | 0 ETH | 0.00110643 | ||||
Withdraw | 17746111 | 557 days ago | IN | 0 ETH | 0.00159667 | ||||
Withdraw | 17746111 | 557 days ago | IN | 0 ETH | 0.00136374 | ||||
Withdraw | 17701377 | 563 days ago | IN | 0 ETH | 0.00133679 | ||||
Withdraw | 17701373 | 563 days ago | IN | 0 ETH | 0.00128478 | ||||
Withdraw | 17701362 | 563 days ago | IN | 0 ETH | 0.00129716 | ||||
Withdraw | 17701354 | 563 days ago | IN | 0 ETH | 0.0013462 | ||||
Withdraw | 17501265 | 591 days ago | IN | 0 ETH | 0.00175374 | ||||
Withdraw | 17501265 | 591 days ago | IN | 0 ETH | 0.00127887 | ||||
Withdraw | 17501265 | 591 days ago | IN | 0 ETH | 0.00175341 | ||||
Withdraw | 17501265 | 591 days ago | IN | 0 ETH | 0.00175305 | ||||
Withdraw | 17501265 | 591 days ago | IN | 0 ETH | 0.00149691 | ||||
Withdraw | 17501265 | 591 days ago | IN | 0 ETH | 0.00171394 | ||||
Withdraw | 17501265 | 591 days ago | IN | 0 ETH | 0.00171394 | ||||
Withdraw | 17501069 | 591 days ago | IN | 0 ETH | 0.00177126 | ||||
Withdraw | 16844927 | 684 days ago | IN | 0 ETH | 0.00164582 | ||||
Withdraw | 16844921 | 684 days ago | IN | 0 ETH | 0.00045835 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
CaptainCook
Compiler Version
v0.6.6+commit.6c089d02
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-09-11 */ // // "Here's to the crazy ones..." the degens, the chads, the farmers. // // Welcome to SwapShip RTC. You know this game. Read This Contract (RTC)! // If you don't know what RTC is, join the Telegram: // > https://t.me/ReadThisContract // // Stake your Uniswap UNI-V2 LP tokens OR SushiSwap SLP tokens!! Farm SWSH. // And go on a mission! PS. LIQLO stakers are rewarded 10x! // // * Mission: * // // On October 10, 2020 at 11:00 AM UTC the top 32 SWSH token holders will receive // a very special token airdrop of a project some of you have already heard about. // // * Available pools: * // // ID DEX Pool Multiplier LP Token Info // ----------------------------------------------------------------------------------- // 0 SushiSwap ETH-USDT 1x https://etherscan.io/address/0x06da0fd433c1a5d7a4faa01111c044910a184553 // 1 SushiSwap USDC-ETH 1x https://etherscan.io/address/0x397ff1542f962076d0bfe58ea045ffa2d347aca0 // 2 SushiSwap SUSHI-ETH 1x https://etherscan.io/address/0x795065dcc9f64b5614c407a6efdc400da6221fb0 // 3 SushiSwap DAI-ETH 1x https://etherscan.io/address/0xc3d03e4f041fd4cd388c549ee2a29a9e5075882f // 4 SushiSwap YFI-ETH 1x https://etherscan.io/address/0x088ee5007c98a9677165d78dd2109ae4a3d04d0c // 5 SushiSwap LINK-ETH 1x https://etherscan.io/address/0xc40d16476380e4037e6b1a2594caf6a6cc8da967 // 6 SushiSwap sUSD-ETH 1x https://etherscan.io/address/0xf1f85b2c54a2bd284b1cf4141d64fd171bd85539 // 7 SushiSwap LEND-ETH 1x https://etherscan.io/address/0x5e63360e891bd60c69445970256c260b0a6a54c6 // 8 UniswapV2 DAI-ETH 1x https://etherscan.io/address/0xa478c2975ab1ea89e8196811f51a7b7ade33eb11 // 9 UniswapV2 ETH-AMPL 1x https://etherscan.io/address/0xc5be99a02c6857f9eac67bbce58df5572498f40c // // * Superpools: * // // ID DEX Pool Multiplier LP Token Info // ----------------------------------------------------------------------------------- // 10 UniswapV2 SWSH-ETH 2x // // 11 UniswapV2 RTC-ETH 3x https://etherscan.io/address/0xfde42a9422cb0ee84ede728ab503487b382d135e // (xoxo for patience it pays off) // // 12 UniswapV2 LIQLO-ETH 5x https://etherscan.io/address/0xd18aea36557ade95d23fb051b68443dd99b1b663 // (liqlos are diamonds) // // 13 UniswapV2 LIQLO-RTC 10x https://etherscan.io/address/0xfe830ed3885e655621f8bcfc4d19abbca42bff9c // (liqlos mixed with rtc are magic) // // * How to join: * // // 1. Go to etherscan of LP token. Click "Contract" > "Write Contract". // 2. Connect your wallet by clicking "Connect to Web3". // 3. Go to "Approve", type in CaptainCook contract addresss: // Then type the amount of LP tokens you wish to approve and click "Write". // * Remember, the numbers at 18 decimals work like this: // 1.00 = 1000000000000000000 (18 zeros) // 1.10 = 1100000000000000000 // 10.0 = 10000000000000000000 and so on // // 4. Go to etherscan of CaptainCook contract: https://etherscan.io/address/0xf8bfd0cf1c6f948339d5bd78444bebd78e43ae26 // Click "Contract" > "Write Contract". // 5. Connect your wallet by clicking "Connect to Web3". // 6. Go to "Deposit", type in the pool ID and LP token amount you want to deposit (18 decimals!). Click "Write". // 7. Complete the transaction with your wallet and wait. You are farming. // 8. When you want to withdraw, go to "Widthdraw", type in the pool ID and LP token amount // you originally deposited and click "Write". You get your LP tokens back along with SWSH rewards! // // Maybe some good soul will create a frontend for this, who knows. // // * Security notes: * // // Now here's the thing. This contract is a fork of sushi, but the og dev didnt // even try to make it safe for farmers. You should see the dump coming! So this is what I did: // // 1. Remove 10% dev fee on every pool reward update (what?!). // // 2. Timelock setMigrator() and dev() updates to 30 days from contract creation. // // 3. Mint 22,000 SWSH with 20K going into the SWSH-ETH Uniswap pool along with 2 ETH. // As og RTC contract states, RTC holders will get the 2K SWSH via airdrop. // This time the airdrop will also include RTC-ETH Uniswap pool liquidity providers. // // 4. My SWSH-ETH Uniswap LP tokens will be burned 1 hour after creation. // // Good luck! // // Veronika // // //////////////////////////////////////////////////////////////////////////////// // // // // //// ////// ///// // // // // // // // // // ///// // // // // Never break the chain. // // // // //////////////////////////////////////////////////////////////////////////////// // // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount) external returns (bool); /** * @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); } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/SafeERC20.sol pragma solidity ^0.6.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.6.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity ^0.6.0; /** * @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 guidelines: functions revert instead * of 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 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view 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 {_setupDecimals} is * called. * * 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 returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(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) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, 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 * * - `to` 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 = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(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); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is 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 Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @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 to 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 { } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.6.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } pragma solidity ^0.6.0; contract TokenRecover is Ownable { function recoverERC20(address tokenAddress, uint256 tokenAmount) public onlyOwner { IERC20(tokenAddress).transfer(owner(), tokenAmount); } } // //////////////////////////////////////////////////////////////////////////////// // pragma solidity ^0.6.0; // SwapShipToken. contract SwapShipToken is ERC20("SwapShip RTC", "SWSH"), Ownable { /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (CaptainCook). function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount); } } // //////////////////////////////////////////////////////////////////////////////// // interface IMigratorCaptain { // Perform LP token migration from legacy UniswapV2 to SwapShip. // Take the current LP token address and return the new LP token address. // Migrator should have full access to the caller's LP token. // Return the new LP token address. // // XXX Migrator must have allowance access to UniswapV2 LP tokens. // SwapShip must mint EXACTLY the same amount of SwapShip LP tokens or // else something bad will happen. Traditional UniswapV2 does not // do that so be careful! function migrate(IERC20 token) external returns (IERC20); } contract CaptainCook is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. // // We do some fancy math here. Basically, any point in time, the amount of SWSHs // entitled to a user but is pending to be distributed is: // // pending reward = (user.amount * pool.accSwapShipPerShare) - user.rewardDebt // // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens: // 1. The pool's `accSwapShipPerShare` (and `lastRewardBlock`) gets updated. // 2. User receives the pending reward sent to his/her address. // 3. User's `amount` gets updated. // 4. User's `rewardDebt` gets updated. } // Info of each pool. struct PoolInfo { IERC20 lpToken; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. SWSHs to distribute per block. uint256 lastRewardBlock; // Last block number that SWSHs distribution occurs. uint256 accSwapShipPerShare; // Accumulated SWSHs per share, times 1e12. See below. } // Contract creation time uint256 public inceptionTime; // Timelock date uint256 public timelockTime; // The SWSH TOKEN! SwapShipToken public swapship; // Dev address. address public devaddr; // Block number when bonus SWSH period ends. uint256 public bonusEndBlock; // SWSH tokens created per block. uint256 public swapshipPerBlock; // The migrator contract. It has a lot of power. Can only be set through governance (owner). IMigratorCaptain public migrator; // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping (uint256 => mapping (address => UserInfo)) public userInfo; // Total allocation poitns. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; // The block number when SWSH mining starts. uint256 public startBlock; event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount); constructor( SwapShipToken _swapship, address _devaddr, uint256 _swapshipPerBlock, uint256 _startBlock, uint256 _bonusEndBlock ) public { swapship = _swapship; devaddr = _devaddr; swapshipPerBlock = _swapshipPerBlock; bonusEndBlock = _bonusEndBlock; startBlock = _startBlock; inceptionTime = block.timestamp; timelockTime = inceptionTime + 30 days; } function poolLength() external view returns (uint256) { return poolInfo.length; } // Add a new lp to the pool. Can only be called by the owner. // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do. function add(uint256 _allocPoint, IERC20 _lpToken, bool _withUpdate) public onlyOwner { if (_withUpdate) { massUpdatePools(); } uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolInfo.push(PoolInfo({ lpToken: _lpToken, allocPoint: _allocPoint, lastRewardBlock: lastRewardBlock, accSwapShipPerShare: 0 })); } // Update the given pool's SWSH allocation point. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) public onlyOwner { if (_withUpdate) { massUpdatePools(); } totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint); poolInfo[_pid].allocPoint = _allocPoint; } // Set the migrator contract. Can only be called by the owner. function setMigrator(IMigratorCaptain _migrator) public onlyOwner { require(block.timestamp >= timelockTime, "SwapShip: current time is before release time"); migrator = _migrator; } // Migrate lp token to another lp contract. Can be called by anyone. We trust that migrator contract is good. function migrate(uint256 _pid) public { require(address(migrator) != address(0), "migrate: no migrator"); PoolInfo storage pool = poolInfo[_pid]; IERC20 lpToken = pool.lpToken; uint256 bal = lpToken.balanceOf(address(this)); lpToken.safeApprove(address(migrator), bal); IERC20 newLpToken = migrator.migrate(lpToken); require(bal == newLpToken.balanceOf(address(this)), "migrate: bad"); pool.lpToken = newLpToken; } // Return reward multiplier over the given _from to _to block. function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) { if (_to <= bonusEndBlock) { return _to.sub(_from); } else if (_from >= bonusEndBlock) { return _to.sub(_from); } else { return bonusEndBlock.sub(_from).add( _to.sub(bonusEndBlock) ); } } // View function to see pending SWSHs on frontend. function pendingSwapShip(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accSwapShipPerShare = pool.accSwapShipPerShare; uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (block.number > pool.lastRewardBlock && lpSupply != 0) { uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 swapshipReward = multiplier.mul(swapshipPerBlock).mul(pool.allocPoint).div(totalAllocPoint); accSwapShipPerShare = accSwapShipPerShare.add(swapshipReward.mul(1e12).div(lpSupply)); } return user.amount.mul(accSwapShipPerShare).div(1e12).sub(user.rewardDebt); } // Update reward variables for all pools. Be careful of gas spending! function massUpdatePools() public { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { updatePool(pid); } } // Update reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.number <= pool.lastRewardBlock) { return; } uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (lpSupply == 0) { pool.lastRewardBlock = block.number; return; } uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 swapshipReward = multiplier.mul(swapshipPerBlock).mul(pool.allocPoint).div(totalAllocPoint); // swapship.mint(devaddr, swapshipReward.div(10)); // remove dev 10% fee, wtf... swapship.mint(address(this), swapshipReward); pool.accSwapShipPerShare = pool.accSwapShipPerShare.add(swapshipReward.mul(1e12).div(lpSupply)); pool.lastRewardBlock = block.number; } // Deposit LP tokens to CaptainCook for SWSH allocation. function deposit(uint256 _pid, uint256 _amount) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accSwapShipPerShare).div(1e12).sub(user.rewardDebt); safeSwapShipTransfer(msg.sender, pending); } pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount); user.amount = user.amount.add(_amount); user.rewardDebt = user.amount.mul(pool.accSwapShipPerShare).div(1e12); emit Deposit(msg.sender, _pid, _amount); } // Withdraw LP tokens from CaptainCook. function withdraw(uint256 _pid, uint256 _amount) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); uint256 pending = user.amount.mul(pool.accSwapShipPerShare).div(1e12).sub(user.rewardDebt); safeSwapShipTransfer(msg.sender, pending); user.amount = user.amount.sub(_amount); user.rewardDebt = user.amount.mul(pool.accSwapShipPerShare).div(1e12); pool.lpToken.safeTransfer(address(msg.sender), _amount); emit Withdraw(msg.sender, _pid, _amount); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; pool.lpToken.safeTransfer(address(msg.sender), user.amount); emit EmergencyWithdraw(msg.sender, _pid, user.amount); user.amount = 0; user.rewardDebt = 0; } // Safe swapship transfer function, just in case if rounding error causes pool to not have enough SWSHs. function safeSwapShipTransfer(address _to, uint256 _amount) internal { uint256 swapshipBal = swapship.balanceOf(address(this)); if (_amount > swapshipBal) { swapship.transfer(_to, swapshipBal); } else { swapship.transfer(_to, _amount); } } // Update dev address by the previous dev. function dev(address _devaddr) public { require(block.timestamp >= timelockTime, "SwapShip: current time is before release time"); require(msg.sender == devaddr, "dev: wut?"); devaddr = _devaddr; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract SwapShipToken","name":"_swapship","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"uint256","name":"_swapshipPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_bonusEndBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bonusEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"inceptionTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrator","outputs":[{"internalType":"contract IMigratorCaptain","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingSwapShip","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accSwapShipPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMigratorCaptain","name":"_migrator","type":"address"}],"name":"setMigrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapship","outputs":[{"internalType":"contract SwapShipToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapshipPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timelockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600a5534801561001557600080fd5b50604051611e33380380611e33833981810160405260a081101561003857600080fd5b50805160208201516040830151606084015160809094015192939192909190600061006a6001600160e01b0361010016565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600380546001600160a01b039687166001600160a01b0319918216179091556004805495909616941693909317909355600655600555600b5542600181905562278d0001600255610104565b3390565b611d20806101136000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063715018a6116100f95780639938ad0111610097578063d49e77cd11610071578063d49e77cd14610418578063e0e3954014610420578063e2bbb1581461044c578063f2fde38b1461046f576101a9565b80639938ad0114610400578063b9d83bb614610408578063c79eff3a14610410576101a9565b80638da5cb5b116100d35780638da5cb5b146103885780638dbb1e3a146103905780639292a849146103b357806393f1a40b146103bb576101a9565b8063715018a6146103365780637cd07e471461033e5780638d88a90e14610362576101a9565b8063441a3e701161016657806351eb05a61161014057806351eb05a6146102c95780635312ea8e146102e6578063630b5ba11461030357806364482f791461030b576101a9565b8063441a3e7014610281578063454b0608146102a457806348cd4cb1146102c1576101a9565b8063081e3eda146101ae5780631526fe27146101c857806317caf6f1146102155780631aed65531461021d5780631eaaa0451461022557806323cf31181461025b575b600080fd5b6101b6610495565b60408051918252519081900360200190f35b6101e5600480360360208110156101de57600080fd5b503561049b565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b6101b66104dc565b6101b66104e2565b6102596004803603606081101561023b57600080fd5b508035906001600160a01b03602082013516906040013515156104e8565b005b6102596004803603602081101561027157600080fd5b50356001600160a01b0316610669565b6102596004803603604081101561029757600080fd5b5080359060200135610724565b610259600480360360208110156102ba57600080fd5b5035610895565b6101b6610af7565b610259600480360360208110156102df57600080fd5b5035610afd565b610259600480360360208110156102fc57600080fd5b5035610cae565b610259610d4f565b6102596004803603606081101561032157600080fd5b50803590602081013590604001351515610d72565b610259610e49565b610346610eeb565b604080516001600160a01b039092168252519081900360200190f35b6102596004803603602081101561037857600080fd5b50356001600160a01b0316610efa565b610346610fa8565b6101b6600480360360408110156103a657600080fd5b5080359060200135610fb7565b6101b6611023565b6103e7600480360360408110156103d157600080fd5b50803590602001356001600160a01b0316611029565b6040805192835260208301919091528051918290030190f35b6101b661104d565b610346611053565b6101b6611062565b610346611068565b6101b66004803603604081101561043657600080fd5b50803590602001356001600160a01b0316611077565b6102596004803603604081101561046257600080fd5b50803590602001356111e5565b6102596004803603602081101561048557600080fd5b50356001600160a01b03166112fc565b60085490565b600881815481106104a857fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b600a5481565b60055481565b6104f06113f4565b6000546001600160a01b03908116911614610540576040805162461bcd60e51b81526020600482018190526024820152600080516020611c3e833981519152604482015290519081900360640190fd5b801561054e5761054e610d4f565b6000600b54431161056157600b54610563565b435b600a54909150610579908563ffffffff6113f816565b600a55604080516080810182526001600160a01b0394851681526020810195865290810191825260006060820181815260088054600181018255925291517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3600490920291820180546001600160a01b031916919096161790945593517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee4840155517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee58301555090517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee690910155565b6106716113f4565b6000546001600160a01b039081169116146106c1576040805162461bcd60e51b81526020600482018190526024820152600080516020611c3e833981519152604482015290519081900360640190fd5b6002544210156107025760405162461bcd60e51b815260040180806020018281038252602d815260200180611c5e602d913960400191505060405180910390fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60006008838154811061073357fe5b6000918252602080832086845260098252604080852033865290925292208054600490920290920192508311156107a6576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b6107af84610afd565b60006107f582600101546107e964e8d4a510006107dd8760030154876000015461145990919063ffffffff16565b9063ffffffff6114b216565b9063ffffffff6114f416565b90506108013382611536565b8154610813908563ffffffff6114f416565b80835560038401546108369164e8d4a51000916107dd919063ffffffff61145916565b60018301558254610857906001600160a01b0316338663ffffffff6116c716565b604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b6007546001600160a01b03166108e9576040805162461bcd60e51b815260206004820152601460248201527336b4b3b930ba329d1037379036b4b3b930ba37b960611b604482015290519081900360640190fd5b6000600882815481106108f857fe5b600091825260208083206004928302018054604080516370a0823160e01b81523095810195909552519195506001600160a01b0316939284926370a0823192602480840193829003018186803b15801561095157600080fd5b505afa158015610965573d6000803e3d6000fd5b505050506040513d602081101561097b57600080fd5b50516007549091506109a0906001600160a01b0384811691168363ffffffff61171916565b6007546040805163ce5494bb60e01b81526001600160a01b0385811660048301529151600093929092169163ce5494bb9160248082019260209290919082900301818787803b1580156109f257600080fd5b505af1158015610a06573d6000803e3d6000fd5b505050506040513d6020811015610a1c57600080fd5b5051604080516370a0823160e01b815230600482015290519192506001600160a01b038316916370a0823191602480820192602092909190829003018186803b158015610a6857600080fd5b505afa158015610a7c573d6000803e3d6000fd5b505050506040513d6020811015610a9257600080fd5b50518214610ad6576040805162461bcd60e51b815260206004820152600c60248201526b1b5a59dc985d194e8818985960a21b604482015290519081900360640190fd5b83546001600160a01b0319166001600160a01b039190911617909255505050565b600b5481565b600060088281548110610b0c57fe5b9060005260206000209060040201905080600201544311610b2d5750610cab565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610b7757600080fd5b505afa158015610b8b573d6000803e3d6000fd5b505050506040513d6020811015610ba157600080fd5b5051905080610bb7575043600290910155610cab565b6000610bc7836002015443610fb7565b90506000610bfa600a546107dd8660010154610bee6006548761145990919063ffffffff16565b9063ffffffff61145916565b600354604080516340c10f1960e01b81523060048201526024810184905290519293506001600160a01b03909116916340c10f199160448082019260009290919082900301818387803b158015610c5057600080fd5b505af1158015610c64573d6000803e3d6000fd5b50505050610c98610c87846107dd64e8d4a510008561145990919063ffffffff16565b60038601549063ffffffff6113f816565b6003850155505043600290920191909155505b50565b600060088281548110610cbd57fe5b60009182526020808320858452600982526040808520338087529352909320805460049093029093018054909450610d08926001600160a01b0391909116919063ffffffff6116c716565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001909101555050565b60085460005b81811015610d6e57610d6681610afd565b600101610d55565b5050565b610d7a6113f4565b6000546001600160a01b03908116911614610dca576040805162461bcd60e51b81526020600482018190526024820152600080516020611c3e833981519152604482015290519081900360640190fd5b8015610dd857610dd8610d4f565b610e1b82610e0f60088681548110610dec57fe5b906000526020600020906004020160010154600a546114f490919063ffffffff16565b9063ffffffff6113f816565b600a819055508160088481548110610e2f57fe5b906000526020600020906004020160010181905550505050565b610e516113f4565b6000546001600160a01b03908116911614610ea1576040805162461bcd60e51b81526020600482018190526024820152600080516020611c3e833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6007546001600160a01b031681565b600254421015610f3b5760405162461bcd60e51b815260040180806020018281038252602d815260200180611c5e602d913960400191505060405180910390fd5b6004546001600160a01b03163314610f86576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b60006005548211610fd957610fd2828463ffffffff6114f416565b905061101d565b6005548310610ff257610fd2828463ffffffff6114f416565b610fd261100a600554846114f490919063ffffffff16565b600554610e0f908663ffffffff6114f416565b92915050565b60065481565b60096020908152600092835260408084209091529082529020805460019091015482565b60025481565b6003546001600160a01b031681565b60015481565b6004546001600160a01b031681565b6000806008848154811061108757fe5b600091825260208083208784526009825260408085206001600160a01b03898116875290845281862060049586029093016003810154815484516370a0823160e01b81523098810198909852935191985093969395939492909116926370a08231926024808301939192829003018186803b15801561110557600080fd5b505afa158015611119573d6000803e3d6000fd5b505050506040513d602081101561112f57600080fd5b505160028501549091504311801561114657508015155b156111b257600061115b856002015443610fb7565b90506000611182600a546107dd8860010154610bee6006548761145990919063ffffffff16565b90506111ad6111a0846107dd8464e8d4a5100063ffffffff61145916565b859063ffffffff6113f816565b935050505b6111da83600101546107e964e8d4a510006107dd86886000015461145990919063ffffffff16565b979650505050505050565b6000600883815481106111f457fe5b6000918252602080832086845260098252604080852033865290925292206004909102909101915061122584610afd565b80541561126857600061125a82600101546107e964e8d4a510006107dd8760030154876000015461145990919063ffffffff16565b90506112663382611536565b505b8154611285906001600160a01b031633308663ffffffff61182c16565b8054611297908463ffffffff6113f816565b80825560038301546112ba9164e8d4a51000916107dd919063ffffffff61145916565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b6113046113f4565b6000546001600160a01b03908116911614611354576040805162461bcd60e51b81526020600482018190526024820152600080516020611c3e833981519152604482015290519081900360640190fd5b6001600160a01b0381166113995760405162461bcd60e51b8152600401808060200182810382526026815260200180611bf76026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b600082820183811015611452576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000826114685750600061101d565b8282028284828161147557fe5b04146114525760405162461bcd60e51b8152600401808060200182810382526021815260200180611c1d6021913960400191505060405180910390fd5b600061145283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061188c565b600061145283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061192e565b600354604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561158157600080fd5b505afa158015611595573d6000803e3d6000fd5b505050506040513d60208110156115ab57600080fd5b505190508082111561163f576003546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561160d57600080fd5b505af1158015611621573d6000803e3d6000fd5b505050506040513d602081101561163757600080fd5b506116c29050565b6003546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561169557600080fd5b505af11580156116a9573d6000803e3d6000fd5b505050506040513d60208110156116bf57600080fd5b50505b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526116c2908490611988565b80158061179f575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561177157600080fd5b505afa158015611785573d6000803e3d6000fd5b505050506040513d602081101561179b57600080fd5b5051155b6117da5760405162461bcd60e51b8152600401808060200182810382526036815260200180611cb56036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526116c2908490611988565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611886908590611988565b50505050565b600081836119185760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156118dd5781810151838201526020016118c5565b50505050905090810190601f16801561190a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161192457fe5b0495945050505050565b600081848411156119805760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156118dd5781810151838201526020016118c5565b505050900390565b60606119dd826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611a399092919063ffffffff16565b8051909150156116c2578080602001905160208110156119fc57600080fd5b50516116c25760405162461bcd60e51b815260040180806020018281038252602a815260200180611c8b602a913960400191505060405180910390fd5b6060611a488484600085611a50565b949350505050565b6060611a5b85611bbd565b611aac576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611aeb5780518252601f199092019160209182019101611acc565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611b4d576040519150601f19603f3d011682016040523d82523d6000602084013e611b52565b606091505b50915091508115611b66579150611a489050565b805115611b765780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156118dd5781810151838201526020016118c5565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611a4857505015159291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657253776170536869703a2063757272656e742074696d65206973206265666f72652072656c656173652074696d655361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220519c64c9ddeca7c38c2a792411976d9e22c03b0469fdd812f7454807f85b69f164736f6c634300060600330000000000000000000000003ac2ab91ddf57e2385089202ca221c360ced0062000000000000000000000000f4d73a15d2377b274b567d24a040167c2530c546000000000000000000000000000000000000000000000000000000e8d4a510000000000000000000000000000000000000000000000000000000000000a56a6600000000000000000000000000000000000000000000000000000000013e00e6
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063715018a6116100f95780639938ad0111610097578063d49e77cd11610071578063d49e77cd14610418578063e0e3954014610420578063e2bbb1581461044c578063f2fde38b1461046f576101a9565b80639938ad0114610400578063b9d83bb614610408578063c79eff3a14610410576101a9565b80638da5cb5b116100d35780638da5cb5b146103885780638dbb1e3a146103905780639292a849146103b357806393f1a40b146103bb576101a9565b8063715018a6146103365780637cd07e471461033e5780638d88a90e14610362576101a9565b8063441a3e701161016657806351eb05a61161014057806351eb05a6146102c95780635312ea8e146102e6578063630b5ba11461030357806364482f791461030b576101a9565b8063441a3e7014610281578063454b0608146102a457806348cd4cb1146102c1576101a9565b8063081e3eda146101ae5780631526fe27146101c857806317caf6f1146102155780631aed65531461021d5780631eaaa0451461022557806323cf31181461025b575b600080fd5b6101b6610495565b60408051918252519081900360200190f35b6101e5600480360360208110156101de57600080fd5b503561049b565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b6101b66104dc565b6101b66104e2565b6102596004803603606081101561023b57600080fd5b508035906001600160a01b03602082013516906040013515156104e8565b005b6102596004803603602081101561027157600080fd5b50356001600160a01b0316610669565b6102596004803603604081101561029757600080fd5b5080359060200135610724565b610259600480360360208110156102ba57600080fd5b5035610895565b6101b6610af7565b610259600480360360208110156102df57600080fd5b5035610afd565b610259600480360360208110156102fc57600080fd5b5035610cae565b610259610d4f565b6102596004803603606081101561032157600080fd5b50803590602081013590604001351515610d72565b610259610e49565b610346610eeb565b604080516001600160a01b039092168252519081900360200190f35b6102596004803603602081101561037857600080fd5b50356001600160a01b0316610efa565b610346610fa8565b6101b6600480360360408110156103a657600080fd5b5080359060200135610fb7565b6101b6611023565b6103e7600480360360408110156103d157600080fd5b50803590602001356001600160a01b0316611029565b6040805192835260208301919091528051918290030190f35b6101b661104d565b610346611053565b6101b6611062565b610346611068565b6101b66004803603604081101561043657600080fd5b50803590602001356001600160a01b0316611077565b6102596004803603604081101561046257600080fd5b50803590602001356111e5565b6102596004803603602081101561048557600080fd5b50356001600160a01b03166112fc565b60085490565b600881815481106104a857fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b600a5481565b60055481565b6104f06113f4565b6000546001600160a01b03908116911614610540576040805162461bcd60e51b81526020600482018190526024820152600080516020611c3e833981519152604482015290519081900360640190fd5b801561054e5761054e610d4f565b6000600b54431161056157600b54610563565b435b600a54909150610579908563ffffffff6113f816565b600a55604080516080810182526001600160a01b0394851681526020810195865290810191825260006060820181815260088054600181018255925291517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3600490920291820180546001600160a01b031916919096161790945593517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee4840155517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee58301555090517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee690910155565b6106716113f4565b6000546001600160a01b039081169116146106c1576040805162461bcd60e51b81526020600482018190526024820152600080516020611c3e833981519152604482015290519081900360640190fd5b6002544210156107025760405162461bcd60e51b815260040180806020018281038252602d815260200180611c5e602d913960400191505060405180910390fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60006008838154811061073357fe5b6000918252602080832086845260098252604080852033865290925292208054600490920290920192508311156107a6576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b6107af84610afd565b60006107f582600101546107e964e8d4a510006107dd8760030154876000015461145990919063ffffffff16565b9063ffffffff6114b216565b9063ffffffff6114f416565b90506108013382611536565b8154610813908563ffffffff6114f416565b80835560038401546108369164e8d4a51000916107dd919063ffffffff61145916565b60018301558254610857906001600160a01b0316338663ffffffff6116c716565b604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b6007546001600160a01b03166108e9576040805162461bcd60e51b815260206004820152601460248201527336b4b3b930ba329d1037379036b4b3b930ba37b960611b604482015290519081900360640190fd5b6000600882815481106108f857fe5b600091825260208083206004928302018054604080516370a0823160e01b81523095810195909552519195506001600160a01b0316939284926370a0823192602480840193829003018186803b15801561095157600080fd5b505afa158015610965573d6000803e3d6000fd5b505050506040513d602081101561097b57600080fd5b50516007549091506109a0906001600160a01b0384811691168363ffffffff61171916565b6007546040805163ce5494bb60e01b81526001600160a01b0385811660048301529151600093929092169163ce5494bb9160248082019260209290919082900301818787803b1580156109f257600080fd5b505af1158015610a06573d6000803e3d6000fd5b505050506040513d6020811015610a1c57600080fd5b5051604080516370a0823160e01b815230600482015290519192506001600160a01b038316916370a0823191602480820192602092909190829003018186803b158015610a6857600080fd5b505afa158015610a7c573d6000803e3d6000fd5b505050506040513d6020811015610a9257600080fd5b50518214610ad6576040805162461bcd60e51b815260206004820152600c60248201526b1b5a59dc985d194e8818985960a21b604482015290519081900360640190fd5b83546001600160a01b0319166001600160a01b039190911617909255505050565b600b5481565b600060088281548110610b0c57fe5b9060005260206000209060040201905080600201544311610b2d5750610cab565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610b7757600080fd5b505afa158015610b8b573d6000803e3d6000fd5b505050506040513d6020811015610ba157600080fd5b5051905080610bb7575043600290910155610cab565b6000610bc7836002015443610fb7565b90506000610bfa600a546107dd8660010154610bee6006548761145990919063ffffffff16565b9063ffffffff61145916565b600354604080516340c10f1960e01b81523060048201526024810184905290519293506001600160a01b03909116916340c10f199160448082019260009290919082900301818387803b158015610c5057600080fd5b505af1158015610c64573d6000803e3d6000fd5b50505050610c98610c87846107dd64e8d4a510008561145990919063ffffffff16565b60038601549063ffffffff6113f816565b6003850155505043600290920191909155505b50565b600060088281548110610cbd57fe5b60009182526020808320858452600982526040808520338087529352909320805460049093029093018054909450610d08926001600160a01b0391909116919063ffffffff6116c716565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001909101555050565b60085460005b81811015610d6e57610d6681610afd565b600101610d55565b5050565b610d7a6113f4565b6000546001600160a01b03908116911614610dca576040805162461bcd60e51b81526020600482018190526024820152600080516020611c3e833981519152604482015290519081900360640190fd5b8015610dd857610dd8610d4f565b610e1b82610e0f60088681548110610dec57fe5b906000526020600020906004020160010154600a546114f490919063ffffffff16565b9063ffffffff6113f816565b600a819055508160088481548110610e2f57fe5b906000526020600020906004020160010181905550505050565b610e516113f4565b6000546001600160a01b03908116911614610ea1576040805162461bcd60e51b81526020600482018190526024820152600080516020611c3e833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6007546001600160a01b031681565b600254421015610f3b5760405162461bcd60e51b815260040180806020018281038252602d815260200180611c5e602d913960400191505060405180910390fd5b6004546001600160a01b03163314610f86576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b60006005548211610fd957610fd2828463ffffffff6114f416565b905061101d565b6005548310610ff257610fd2828463ffffffff6114f416565b610fd261100a600554846114f490919063ffffffff16565b600554610e0f908663ffffffff6114f416565b92915050565b60065481565b60096020908152600092835260408084209091529082529020805460019091015482565b60025481565b6003546001600160a01b031681565b60015481565b6004546001600160a01b031681565b6000806008848154811061108757fe5b600091825260208083208784526009825260408085206001600160a01b03898116875290845281862060049586029093016003810154815484516370a0823160e01b81523098810198909852935191985093969395939492909116926370a08231926024808301939192829003018186803b15801561110557600080fd5b505afa158015611119573d6000803e3d6000fd5b505050506040513d602081101561112f57600080fd5b505160028501549091504311801561114657508015155b156111b257600061115b856002015443610fb7565b90506000611182600a546107dd8860010154610bee6006548761145990919063ffffffff16565b90506111ad6111a0846107dd8464e8d4a5100063ffffffff61145916565b859063ffffffff6113f816565b935050505b6111da83600101546107e964e8d4a510006107dd86886000015461145990919063ffffffff16565b979650505050505050565b6000600883815481106111f457fe5b6000918252602080832086845260098252604080852033865290925292206004909102909101915061122584610afd565b80541561126857600061125a82600101546107e964e8d4a510006107dd8760030154876000015461145990919063ffffffff16565b90506112663382611536565b505b8154611285906001600160a01b031633308663ffffffff61182c16565b8054611297908463ffffffff6113f816565b80825560038301546112ba9164e8d4a51000916107dd919063ffffffff61145916565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b6113046113f4565b6000546001600160a01b03908116911614611354576040805162461bcd60e51b81526020600482018190526024820152600080516020611c3e833981519152604482015290519081900360640190fd5b6001600160a01b0381166113995760405162461bcd60e51b8152600401808060200182810382526026815260200180611bf76026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b600082820183811015611452576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000826114685750600061101d565b8282028284828161147557fe5b04146114525760405162461bcd60e51b8152600401808060200182810382526021815260200180611c1d6021913960400191505060405180910390fd5b600061145283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061188c565b600061145283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061192e565b600354604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561158157600080fd5b505afa158015611595573d6000803e3d6000fd5b505050506040513d60208110156115ab57600080fd5b505190508082111561163f576003546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561160d57600080fd5b505af1158015611621573d6000803e3d6000fd5b505050506040513d602081101561163757600080fd5b506116c29050565b6003546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561169557600080fd5b505af11580156116a9573d6000803e3d6000fd5b505050506040513d60208110156116bf57600080fd5b50505b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526116c2908490611988565b80158061179f575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561177157600080fd5b505afa158015611785573d6000803e3d6000fd5b505050506040513d602081101561179b57600080fd5b5051155b6117da5760405162461bcd60e51b8152600401808060200182810382526036815260200180611cb56036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526116c2908490611988565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611886908590611988565b50505050565b600081836119185760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156118dd5781810151838201526020016118c5565b50505050905090810190601f16801561190a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161192457fe5b0495945050505050565b600081848411156119805760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156118dd5781810151838201526020016118c5565b505050900390565b60606119dd826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611a399092919063ffffffff16565b8051909150156116c2578080602001905160208110156119fc57600080fd5b50516116c25760405162461bcd60e51b815260040180806020018281038252602a815260200180611c8b602a913960400191505060405180910390fd5b6060611a488484600085611a50565b949350505050565b6060611a5b85611bbd565b611aac576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611aeb5780518252601f199092019160209182019101611acc565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611b4d576040519150601f19603f3d011682016040523d82523d6000602084013e611b52565b606091505b50915091508115611b66579150611a489050565b805115611b765780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156118dd5781810151838201526020016118c5565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611a4857505015159291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657253776170536869703a2063757272656e742074696d65206973206265666f72652072656c656173652074696d655361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220519c64c9ddeca7c38c2a792411976d9e22c03b0469fdd812f7454807f85b69f164736f6c63430006060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003ac2ab91ddf57e2385089202ca221c360ced0062000000000000000000000000f4d73a15d2377b274b567d24a040167c2530c546000000000000000000000000000000000000000000000000000000e8d4a510000000000000000000000000000000000000000000000000000000000000a56a6600000000000000000000000000000000000000000000000000000000013e00e6
-----Decoded View---------------
Arg [0] : _swapship (address): 0x3ac2AB91dDF57e2385089202Ca221C360CED0062
Arg [1] : _devaddr (address): 0xf4D73A15d2377B274b567D24a040167c2530C546
Arg [2] : _swapshipPerBlock (uint256): 1000000000000
Arg [3] : _startBlock (uint256): 10840678
Arg [4] : _bonusEndBlock (uint256): 20840678
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000003ac2ab91ddf57e2385089202ca221c360ced0062
Arg [1] : 000000000000000000000000f4d73a15d2377b274b567d24a040167c2530c546
Arg [2] : 000000000000000000000000000000000000000000000000000000e8d4a51000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000a56a66
Arg [4] : 00000000000000000000000000000000000000000000000000000000013e00e6
Deployed Bytecode Sourcemap
39141:10201:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;39141:10201:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;42169:95:0;;;:::i;:::-;;;;;;;;;;;;;;;;41075:26;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;41075:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;41075:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41318:34;;;:::i;40797:28::-;;;:::i;42433:517::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;42433:517:0;;;-1:-1:-1;;;;;42433:517:0;;;;;;;;;;;;:::i;:::-;;43426:205;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;43426:205:0;-1:-1:-1;;;;;43426:205:0;;:::i;47539:664::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;47539:664:0;;;;;;;:::i;43754:491::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;43754:491:0;;:::i;41409:25::-;;;:::i;45898:850::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;45898:850:0;;:::i;48274:356::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;48274:356:0;;:::i;45642:180::-;;;:::i;43046:304::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;43046:304:0;;;;;;;;;;;;;;:::i;37227:148::-;;;:::i;41007:32::-;;;:::i;:::-;;;;-1:-1:-1;;;;;41007:32:0;;;;;;;;;;;;;;49110:229;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;49110:229:0;-1:-1:-1;;;;;49110:229:0;;:::i;36585:79::-;;;:::i;44321:379::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;44321:379:0;;;;;;;:::i;40871:31::-;;;:::i;41157:66::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;41157:66:0;;;;;;-1:-1:-1;;;;;41157:66:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;40601:27;;;:::i;40661:29::-;;;:::i;40544:28::-;;;:::i;40718:22::-;;;:::i;44764:795::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;44764:795:0;;;;;;-1:-1:-1;;;;;44764:795:0;;:::i;46818:668::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;46818:668:0;;;;;;;:::i;37530:244::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;37530:244:0;-1:-1:-1;;;;;37530:244:0;;:::i;42169:95::-;42241:8;:15;42169:95;:::o;41075:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41075:26:0;;;;-1:-1:-1;41075:26:0;;;:::o;41318:34::-;;;;:::o;40797:28::-;;;;:::o;42433:517::-;36807:12;:10;:12::i;:::-;36797:6;;-1:-1:-1;;;;;36797:6:0;;;:22;;;36789:67;;;;;-1:-1:-1;;;36789:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;36789:67:0;;;;;;;;;;;;;;;42534:11:::1;42530:61;;;42562:17;:15;:17::i;:::-;42601:23;42642:10;;42627:12;:25;:53;;42670:10;;42627:53;;;42655:12;42627:53;42709:15;::::0;42601:79;;-1:-1:-1;42709:32:0::1;::::0;42729:11;42709:32:::1;:19;:32;:::i;:::-;42691:15;:50:::0;42766:175:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;42766:175:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;42766:175:0;;;;;;42752:8:::1;27:10:-1::0;;39:1:::1;23:18:::0;::::1;45:23:::0;;42752:190:0;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;42752:190:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;-1:-1:-1;42752:190:0;;;;;;;42433:517::o;43426:205::-;36807:12;:10;:12::i;:::-;36797:6;;-1:-1:-1;;;;;36797:6:0;;;:22;;;36789:67;;;;;-1:-1:-1;;;36789:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;36789:67:0;;;;;;;;;;;;;;;43530:12:::1;;43511:15;:31;;43503:89;;;;-1:-1:-1::0;;;43503:89:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43603:8;:20:::0;;-1:-1:-1;;;;;;43603:20:0::1;-1:-1:-1::0;;;;;43603:20:0;;;::::1;::::0;;;::::1;::::0;;43426:205::o;47539:664::-;47606:21;47630:8;47639:4;47630:14;;;;;;;;;;;;;;;;47679;;;:8;:14;;;;;;47694:10;47679:26;;;;;;;47724:11;;47630:14;;;;;;;;-1:-1:-1;47724:22:0;-1:-1:-1;47724:22:0;47716:53;;;;;-1:-1:-1;;;47716:53:0;;;;;;;;;;;;-1:-1:-1;;;47716:53:0;;;;;;;;;;;;;;;47780:16;47791:4;47780:10;:16::i;:::-;47807:15;47825:72;47881:4;:15;;;47825:51;47871:4;47825:41;47841:4;:24;;;47825:4;:11;;;:15;;:41;;;;:::i;:::-;:45;:51;:45;:51;:::i;:::-;:55;:72;:55;:72;:::i;:::-;47807:90;;47908:41;47929:10;47941:7;47908:20;:41::i;:::-;47974:11;;:24;;47990:7;47974:24;:15;:24;:::i;:::-;47960:38;;;48043:24;;;;48027:51;;48073:4;;48027:41;;47960:38;48027:41;:15;:41;:::i;:51::-;48009:15;;;:69;48089:12;;:55;;-1:-1:-1;;;;;48089:12:0;48123:10;48136:7;48089:55;:25;:55;:::i;:::-;48160:35;;;;;;;;48181:4;;48169:10;;48160:35;;;;;;;;;47539:664;;;;;:::o;43754:491::-;43819:8;;-1:-1:-1;;;;;43819:8:0;43803:64;;;;;-1:-1:-1;;;43803:64:0;;;;;;;;;;;;-1:-1:-1;;;43803:64:0;;;;;;;;;;;;;;;43878:21;43902:8;43911:4;43902:14;;;;;;;;;;;;;;;;;;;;;43944:12;;43981:32;;;-1:-1:-1;;;43981:32:0;;44007:4;43981:32;;;;;;;;43902:14;;-1:-1:-1;;;;;;43944:12:0;;43902:14;43944:12;;43981:17;;:32;;;;;;;;;;43944:12;43981:32;;;2:2:-1;;;;27:1;24;17:12;2:2;43981:32:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;43981:32:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;43981:32:0;44052:8;;43981:32;;-1:-1:-1;44024:43:0;;-1:-1:-1;;;;;44024:19:0;;;;44052:8;43981:32;44024:43;:19;:43;:::i;:::-;44098:8;;:25;;;-1:-1:-1;;;44098:25:0;;-1:-1:-1;;;;;44098:25:0;;;;;;;;;44078:17;;44098:8;;;;;:16;;:25;;;;;;;;;;;;;;;44078:17;44098:8;:25;;;2:2:-1;;;;27:1;24;17:12;2:2;44098:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;44098:25:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;44098:25:0;44149:35;;;-1:-1:-1;;;44149:35:0;;44178:4;44149:35;;;;;;44098:25;;-1:-1:-1;;;;;;44149:20:0;;;;;:35;;;;;44098:25;;44149:35;;;;;;;;:20;:35;;;2:2:-1;;;;27:1;24;17:12;2:2;44149:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;44149:35:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;44149:35:0;44142:42;;44134:67;;;;;-1:-1:-1;;;44134:67:0;;;;;;;;;;;;-1:-1:-1;;;44134:67:0;;;;;;;;;;;;;;;44212:25;;-1:-1:-1;;;;;;44212:25:0;-1:-1:-1;;;;;44212:25:0;;;;;;;;-1:-1:-1;;;43754:491:0:o;41409:25::-;;;;:::o;45898:850::-;45950:21;45974:8;45983:4;45974:14;;;;;;;;;;;;;;;;;;45950:38;;46019:4;:20;;;46003:12;:36;45999:75;;46056:7;;;45999:75;46103:12;;:37;;;-1:-1:-1;;;46103:37:0;;46134:4;46103:37;;;;;;46084:16;;-1:-1:-1;;;;;46103:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;2:2:-1;;;;27:1;24;17:12;2:2;46103:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46103:37:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;46103:37:0;;-1:-1:-1;46155:13:0;46151:102;;-1:-1:-1;46208:12:0;46185:20;;;;:35;46235:7;;46151:102;46263:18;46284:49;46298:4;:20;;;46320:12;46284:13;:49::i;:::-;46263:70;;46344:22;46369:74;46427:15;;46369:53;46406:4;:15;;;46369:32;46384:16;;46369:10;:14;;:32;;;;:::i;:::-;:36;:53;:36;:53;:::i;:74::-;46544:8;;:44;;;-1:-1:-1;;;46544:44:0;;46566:4;46544:44;;;;;;;;;;;;46344:99;;-1:-1:-1;;;;;;46544:8:0;;;;:13;;:44;;;;;:8;;:44;;;;;;;;:8;;:44;;;2:2:-1;;;;27:1;24;17:12;2:2;46544:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46544:44:0;;;;46626:68;46655:38;46684:8;46655:24;46674:4;46655:14;:18;;:24;;;;:::i;:38::-;46626:24;;;;;:68;:28;:68;:::i;:::-;46599:24;;;:95;-1:-1:-1;;46728:12:0;46705:20;;;;:35;;;;-1:-1:-1;45898:850:0;;:::o;48274:356::-;48333:21;48357:8;48366:4;48357:14;;;;;;;;;;;;;;;;48406;;;:8;:14;;;;;;48421:10;48406:26;;;;;;;;48490:11;;48357:14;;;;;;;48443:12;;48357:14;;-1:-1:-1;48443:59:0;;-1:-1:-1;;;;;48443:12:0;;;;;48421:10;48443:59;:25;:59;:::i;:::-;48554:11;;48518:48;;;;;;;48548:4;;48536:10;;48518:48;;;;;;;;;48591:1;48577:15;;;48603;;;;:19;-1:-1:-1;;48274:356:0:o;45642:180::-;45704:8;:15;45687:14;45730:85;45758:6;45752:3;:12;45730:85;;;45788:15;45799:3;45788:10;:15::i;:::-;45766:5;;45730:85;;;;45642:180;:::o;43046:304::-;36807:12;:10;:12::i;:::-;36797:6;;-1:-1:-1;;;;;36797:6:0;;;:22;;;36789:67;;;;;-1:-1:-1;;;36789:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;36789:67:0;;;;;;;;;;;;;;;43144:11:::1;43140:61;;;43172:17;:15;:17::i;:::-;43229:63;43280:11;43229:46;43249:8;43258:4;43249:14;;;;;;;;;;;;;;;;;;:25;;;43229:15;;:19;;:46;;;;:::i;:::-;:50:::0;:63:::1;:50;:63;:::i;:::-;43211:15;:81;;;;43331:11;43303:8;43312:4;43303:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;43046:304:::0;;;:::o;37227:148::-;36807:12;:10;:12::i;:::-;36797:6;;-1:-1:-1;;;;;36797:6:0;;;:22;;;36789:67;;;;;-1:-1:-1;;;36789:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;36789:67:0;;;;;;;;;;;;;;;37334:1:::1;37318:6:::0;;37297:40:::1;::::0;-1:-1:-1;;;;;37318:6:0;;::::1;::::0;37297:40:::1;::::0;37334:1;;37297:40:::1;37365:1;37348:19:::0;;-1:-1:-1;;;;;;37348:19:0::1;::::0;;37227:148::o;41007:32::-;;;-1:-1:-1;;;;;41007:32:0;;:::o;49110:229::-;49186:12;;49167:15;:31;;49159:89;;;;-1:-1:-1;;;49159:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49281:7;;-1:-1:-1;;;;;49281:7:0;49267:10;:21;49259:43;;;;;-1:-1:-1;;;49259:43:0;;;;;;;;;;;;-1:-1:-1;;;49259:43:0;;;;;;;;;;;;;;;49313:7;:18;;-1:-1:-1;;;;;;49313:18:0;-1:-1:-1;;;;;49313:18:0;;;;;;;;;;49110:229::o;36585:79::-;36623:7;36650:6;-1:-1:-1;;;;;36650:6:0;36585:79;:::o;44321:379::-;44393:7;44424:13;;44417:3;:20;44413:280;;44461:14;:3;44469:5;44461:14;:7;:14;:::i;:::-;44454:21;;;;44413:280;44506:13;;44497:5;:22;44493:200;;44543:14;:3;44551:5;44543:14;:7;:14;:::i;44493:200::-;44597:84;44644:22;44652:13;;44644:3;:7;;:22;;;;:::i;:::-;44597:13;;:24;;44615:5;44597:24;:17;:24;:::i;44493:200::-;44321:379;;;;:::o;40871:31::-;;;;:::o;41157:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;40601:27::-;;;;:::o;40661:29::-;;;-1:-1:-1;;;;;40661:29:0;;:::o;40544:28::-;;;;:::o;40718:22::-;;;-1:-1:-1;;;;;40718:22:0;;:::o;44764:795::-;44841:7;44861:21;44885:8;44894:4;44885:14;;;;;;;;;;;;;;;;44934;;;:8;:14;;;;;;-1:-1:-1;;;;;44934:21:0;;;;;;;;;;;44885:14;;;;;;;44996:24;;;;45050:12;;:37;;-1:-1:-1;;;45050:37:0;;45081:4;45050:37;;;;;;;;;44885:14;;-1:-1:-1;44934:21:0;;44996:24;;44885:14;;45050:12;;;;;:22;;:37;;;;;44885:14;;45050:37;;;;;:12;:37;;;2:2:-1;;;;27:1;24;17:12;2:2;45050:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;45050:37:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;45050:37:0;45117:20;;;;45050:37;;-1:-1:-1;45102:12:0;:35;:52;;;;-1:-1:-1;45141:13:0;;;45102:52;45098:369;;;45171:18;45192:49;45206:4;:20;;;45228:12;45192:13;:49::i;:::-;45171:70;;45256:22;45281:74;45339:15;;45281:53;45318:4;:15;;;45281:32;45296:16;;45281:10;:14;;:32;;;;:::i;:74::-;45256:99;-1:-1:-1;45392:63:0;45416:38;45445:8;45416:24;45256:99;45435:4;45416:24;:18;:24;:::i;:38::-;45392:19;;:63;:23;:63;:::i;:::-;45370:85;;45098:369;;;45484:67;45535:4;:15;;;45484:46;45525:4;45484:36;45500:19;45484:4;:11;;;:15;;:36;;;;:::i;:67::-;45477:74;44764:795;-1:-1:-1;;;;;;;44764:795:0:o;46818:668::-;46884:21;46908:8;46917:4;46908:14;;;;;;;;;;;;;;;;46957;;;:8;:14;;;;;;46972:10;46957:26;;;;;;;46908:14;;;;;;;;-1:-1:-1;46994:16:0;46966:4;46994:10;:16::i;:::-;47025:11;;:15;47021:194;;47057:15;47075:72;47131:4;:15;;;47075:51;47121:4;47075:41;47091:4;:24;;;47075:4;:11;;;:15;;:41;;;;:::i;:72::-;47057:90;;47162:41;47183:10;47195:7;47162:20;:41::i;:::-;47021:194;;47225:12;;:74;;-1:-1:-1;;;;;47225:12:0;47263:10;47284:4;47291:7;47225:74;:29;:74;:::i;:::-;47324:11;;:24;;47340:7;47324:24;:15;:24;:::i;:::-;47310:38;;;47393:24;;;;47377:51;;47423:4;;47377:41;;47310:38;47377:41;:15;:41;:::i;:51::-;47359:15;;;:69;47444:34;;;;;;;;47464:4;;47452:10;;47444:34;;;;;;;;;46818:668;;;;:::o;37530:244::-;36807:12;:10;:12::i;:::-;36797:6;;-1:-1:-1;;;;;36797:6:0;;;:22;;;36789:67;;;;;-1:-1:-1;;;36789:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;36789:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;37619:22:0;::::1;37611:73;;;;-1:-1:-1::0;;;37611:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37721:6;::::0;;37700:38:::1;::::0;-1:-1:-1;;;;;37700:38:0;;::::1;::::0;37721:6;::::1;::::0;37700:38:::1;::::0;::::1;37749:6;:17:::0;;-1:-1:-1;;;;;;37749:17:0::1;-1:-1:-1::0;;;;;37749:17:0;;;::::1;::::0;;;::::1;::::0;;37530:244::o;5979:106::-;6067:10;5979:106;:::o;10061:181::-;10119:7;10151:5;;;10175:6;;;;10167:46;;;;;-1:-1:-1;;;10167:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;10233:1;10061:181;-1:-1:-1;;;10061:181:0:o;11415:471::-;11473:7;11718:6;11714:47;;-1:-1:-1;11748:1:0;11741:8;;11714:47;11785:5;;;11789:1;11785;:5;:1;11809:5;;;;;:10;11801:56;;;;-1:-1:-1;;;11801:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12362:132;12420:7;12447:39;12451:1;12454;12447:39;;;;;;;;;;;;;;;;;:3;:39::i;10525:136::-;10583:7;10610:43;10614:1;10617;10610:43;;;;;;;;;;;;;;;;;:3;:43::i;48748:306::-;48850:8;;:33;;;-1:-1:-1;;;48850:33:0;;48877:4;48850:33;;;;;;48828:19;;-1:-1:-1;;;;;48850:8:0;;:18;;:33;;;;;;;;;;;;;;:8;:33;;;2:2:-1;;;;27:1;24;17:12;2:2;48850:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;48850:33:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;48850:33:0;;-1:-1:-1;48898:21:0;;;48894:153;;;48936:8;;:35;;;-1:-1:-1;;;48936:35:0;;-1:-1:-1;;;;;48936:35:0;;;;;;;;;;;;;;;:8;;;;;:17;;:35;;;;;;;;;;;;;;:8;;:35;;;2:2:-1;;;;27:1;24;17:12;2:2;48936:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;48936:35:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;48894:153:0;;-1:-1:-1;48894:153:0;;49004:8;;:31;;;-1:-1:-1;;;49004:31:0;;-1:-1:-1;;;;;49004:31:0;;;;;;;;;;;;;;;:8;;;;;:17;;:31;;;;;;;;;;;;;;:8;;:31;;;2:2:-1;;;;27:1;24;17:12;2:2;49004:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;49004:31:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;48894:153:0;48748:306;;;:::o;15165:177::-;15275:58;;;-1:-1:-1;;;;;15275:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;15275:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;15248:86:0;;15268:5;;15248:19;:86::i;15824:622::-;16194:10;;;16193:62;;-1:-1:-1;16210:39:0;;;-1:-1:-1;;;16210:39:0;;16234:4;16210:39;;;;-1:-1:-1;;;;;16210:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;2:2:-1;;;;27:1;24;17:12;2:2;16210:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16210:39:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;16210:39:0;:44;16193:62;16185:152;;;;-1:-1:-1;;;16185:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16375:62;;;-1:-1:-1;;;;;16375:62:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;16375:62:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;16348:90:0;;16368:5;;16348:19;:90::i;15350:205::-;15478:68;;;-1:-1:-1;;;;;15478:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;15478:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;15451:96:0;;15471:5;;15451:19;:96::i;:::-;15350:205;;;;:::o;12990:278::-;13076:7;13111:12;13104:5;13096:28;;;;-1:-1:-1;;;13096:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13096:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13135:9;13151:1;13147;:5;;;;;;;12990:278;-1:-1:-1;;;;;12990:278:0:o;10964:192::-;11050:7;11086:12;11078:6;;;;11070:29;;;;-1:-1:-1;;;11070:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;11070:29:0;-1:-1:-1;;;11122:5:0;;;10964:192::o;17470:761::-;17894:23;17920:69;17948:4;17920:69;;;;;;;;;;;;;;;;;17928:5;-1:-1:-1;;;;;17920:27:0;;;:69;;;;;:::i;:::-;18004:17;;17894:95;;-1:-1:-1;18004:21:0;18000:224;;18146:10;18135:30;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;18135:30:0;18127:85;;;;-1:-1:-1;;;18127:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22121:196;22224:12;22256:53;22279:6;22287:4;22293:1;22296:12;22256:22;:53::i;:::-;22249:60;22121:196;-1:-1:-1;;;;22121:196:0:o;23498:979::-;23628:12;23661:18;23672:6;23661:10;:18::i;:::-;23653:60;;;;;-1:-1:-1;;;23653:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23787:12;23801:23;23828:6;-1:-1:-1;;;;;23828:11:0;23848:8;23859:4;23828:36;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;23828:36:0;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;23786:78:0;;;;23879:7;23875:595;;;23910:10;-1:-1:-1;23903:17:0;;-1:-1:-1;23903:17:0;23875:595;24024:17;;:21;24020:439;;24287:10;24281:17;24348:15;24335:10;24331:2;24327:19;24320:44;24235:148;24423:20;;-1:-1:-1;;;24423:20:0;;;;;;;;;;;;;;;;;24430:12;;24423:20;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;19006:619:0;19066:4;19534:20;;19377:66;19574:23;;;;;;:42;;-1:-1:-1;;19601:15:0;;;19566:51;-1:-1:-1;;19006:619:0:o
Swarm Source
ipfs://519c64c9ddeca7c38c2a792411976d9e22c03b0469fdd812f7454807f85b69f1
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.