Overview
S Balance
S Value
$0.00More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Name:
MasterChef
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at SonicScan.org on 2025-01-31 */ // SPDX-License-Identifier: MIT // File: contracts/libs/ReentrancyGuard.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: contracts/libs/Address.sol pragma solidity >=0.6.2 <0.8.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) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: contracts/libs/IBEP20.sol pragma solidity >=0.4.0; interface IBEP20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the token name. */ function name() external view returns (string memory); /** * @dev Returns the bep token owner. */ function getOwner() external view returns (address); /** * @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: contracts/libs/SafeMath.sol pragma solidity >=0.6.0 <0.8.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, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @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) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * 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); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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: contracts/libs/SafeBEP20.sol pragma solidity ^0.6.0; /** * @title SafeBEP20 * @dev Wrappers around BEP20 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 SafeBEP20 for IBEP20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeBEP20 { using SafeMath for uint256; using Address for address; function safeTransfer( IBEP20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IBEP20 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 * {IBEP20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IBEP20 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), "SafeBEP20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IBEP20 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( IBEP20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender).sub( value, "SafeBEP20: 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(IBEP20 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, "SafeBEP20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeBEP20: BEP20 operation did not succeed"); } } } // File: contracts/libs/Context.sol pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with 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: contracts/libs/Ownable.sol pragma solidity >=0.6.0 <0.8.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. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { 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; } } // File: contracts/libs/BEP20.sol pragma solidity >=0.4.0; /** * @dev Implementation of the {IBEP20} 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 {BEP20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-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 BEP20 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 {IBEP20-approve}. */ contract BEP20 is Context, IBEP20, Ownable { 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 bep token owner. */ function getOwner() external override view returns (address) { return owner(); } /** * @dev Returns the token name. */ function name() public override view returns (string memory) { return _name; } /** * @dev Returns the token decimals. */ function decimals() public override view returns (uint8) { return _decimals; } /** * @dev Returns the token symbol. */ function symbol() public override view returns (string memory) { return _symbol; } /** * @dev See {BEP20-totalSupply}. */ function totalSupply() public override view returns (uint256) { return _totalSupply; } /** * @dev See {BEP20-balanceOf}. */ function balanceOf(address account) public override view returns (uint256) { return _balances[account]; } /** * @dev See {BEP20-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 override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {BEP20-allowance}. */ function allowance(address owner, address spender) public override view returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {BEP20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {BEP20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {BEP20}; * * 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 override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "BEP20: 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 {BEP20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public 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 {BEP20-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 returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "BEP20: decreased allowance below zero") ); return true; } /** * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing * the total supply. * * Requirements * * - `msg.sender` must be the token owner */ function mint(uint256 amount) public onlyOwner returns (bool) { _mint(_msgSender(), amount); 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), "BEP20: transfer from the zero address"); require(recipient != address(0), "BEP20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "BEP20: 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 { require(account != address(0), "BEP20: mint to the zero address"); _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 { require(account != address(0), "BEP20: burn from the zero address"); _balances[account] = _balances[account].sub(amount, "BEP20: 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 { require(owner != address(0), "BEP20: approve from the zero address"); require(spender != address(0), "BEP20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. */ function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve( account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "BEP20: burn amount exceeds allowance") ); } } // File: contracts/Collar.sol pragma solidity 0.6.12; // Collar Token with Governance. contract CollarToken is BEP20('Collar Finance', 'COLLAR') { /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef). function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount); } } // File: contracts/MasterChef.sol pragma solidity 0.6.12; // MasterChef is the master of Collar. He can make Collar and he is a fair guy. // // Note that it's ownable and the owner wields tremendous power. The ownership // will be transferred to a governance smart contract once Collar is sufficiently // distributed and the community can show to govern itself. // // Have fun reading it. Hopefully it's bug-free. God bless. contract MasterChef is Ownable, ReentrancyGuard { using SafeMath for uint256; using SafeBEP20 for IBEP20; // 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 Collar // entitled to a user but is pending to be distributed is: // // pending reward = (user.amount * pool.accCollarPerShare) - user.rewardDebt // // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens: // 1. The pool's `accCollarPerShare` (and `lastRewardTime`) 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 { IBEP20 lpToken; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. Collar to distribute per second. uint256 lastRewardTime; // Last time stamp that Collar distribution occurs. uint256 accCollarPerShare; // Accumulated COLLAR per share, times 1e18. See below. uint16 depositFeeBP; // Deposit fee in basis points uint256 lpSupply; // Total Deposits in each pool } // The COLLAR TOKEN! CollarToken public immutable collarToken; address public devaddress; address public feeAddress; // COLLAR tokens created per second. uint256 public collarPerSecond = 0.1 ether; // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Total allocation points. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; // The time when COLLAR mining starts. uint256 public startTime; uint256 constant MAX_COLLAR_SUPPLY = 42000000 ether; // Maximum Emission Rate uint256 public constant MAX_EMISSION_RATE = 100 ether; event addPool(uint256 indexed pid, address lpToken, uint256 allocPoint, uint256 depositFeeBP); event setPool(uint256 indexed pid, address lpToken, uint256 allocPoint, uint256 depositFeeBP); 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); event SetFeeAddress(address indexed user, address indexed newAddress); event SetDevAddress(address indexed user, address indexed newAddress); event UpdateEmissionRate(address indexed user, uint256 collarPerSecond); event UpdateStartTime(uint256 startTimestamp); constructor( CollarToken _collarToken, address _devaddress, uint256 _startTime ) public { collarToken = _collarToken; startTime = _startTime; devaddress = _devaddress; feeAddress = msg.sender; } function poolLength() external view returns (uint256) { return poolInfo.length; } mapping(IBEP20 => bool) public poolExistence; modifier nonDuplicated(IBEP20 _lpToken) { require(poolExistence[_lpToken] == false, "nonDuplicated: duplicated"); _; } // Add a new lp to the pool. Can only be called by the owner. function add(uint256 _allocPoint, IBEP20 _lpToken, uint16 _depositFeeBP, bool _withUpdate) external onlyOwner nonDuplicated(_lpToken) { require(_depositFeeBP <= 500, "add: invalid deposit fee basis points"); if (_withUpdate) { massUpdatePools(); } _lpToken.balanceOf(address(this)); uint256 lastRewardTime = block.timestamp > startTime ? block.timestamp : startTime; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolExistence[_lpToken] = true; poolInfo.push( PoolInfo({ lpToken: _lpToken, allocPoint: _allocPoint, lastRewardTime: lastRewardTime, accCollarPerShare: 0, depositFeeBP: _depositFeeBP, lpSupply: 0 }) ); emit addPool(poolInfo.length - 1, address(_lpToken), _allocPoint, _depositFeeBP); } // Update the given pool's COLLAR allocation point and deposit fee. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, bool _withUpdate) external onlyOwner { require(_depositFeeBP <= 500, "set: invalid deposit fee basis points"); if (_withUpdate) { massUpdatePools(); } totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint); poolInfo[_pid].allocPoint = _allocPoint; poolInfo[_pid].depositFeeBP = _depositFeeBP; emit setPool(_pid, address(poolInfo[_pid].lpToken), _allocPoint, _depositFeeBP); } // Return reward multiplier over the given _from to _to time. function getMultiplier(uint256 _from, uint256 _to) public pure returns (uint256) { return _to.sub(_from); } // View function to see pending Collar on frontend. function pendingCollar(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accCollarPerShare = pool.accCollarPerShare; if (block.timestamp > pool.lastRewardTime && pool.lpSupply != 0 && totalAllocPoint > 0) { uint256 multiplier = getMultiplier(pool.lastRewardTime, block.timestamp); uint256 collarReward = multiplier.mul(collarPerSecond).mul(pool.allocPoint).div(totalAllocPoint); uint256 devReward = collarReward.div(10); uint256 totalRewards = collarToken.totalSupply().add(devReward).add(collarReward); if (totalRewards > MAX_COLLAR_SUPPLY) { collarReward = MAX_COLLAR_SUPPLY.sub(collarToken.totalSupply()); } accCollarPerShare = accCollarPerShare.add(collarReward.mul(1e18).div(pool.lpSupply)); } return user.amount.mul(accCollarPerShare).div(1e18).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.timestamp <= pool.lastRewardTime) { return; } if (pool.lpSupply == 0 || pool.allocPoint == 0) { pool.lastRewardTime = block.timestamp; return; } uint256 multiplier = getMultiplier(pool.lastRewardTime, block.timestamp); uint256 collarReward = multiplier.mul(collarPerSecond).mul(pool.allocPoint).div(totalAllocPoint); uint256 devReward = collarReward.div(10); uint256 totalRewards = collarToken.totalSupply().add(devReward).add(collarReward); // Accounts for Total Supply together with rewards if (totalRewards <= MAX_COLLAR_SUPPLY) { // mint as normal as not at maxSupply collarToken.mint(devaddress, collarReward.div(10)); collarToken.mint(address(this), collarReward); } else { // mint the difference only to MC, update collarReward collarReward = MAX_COLLAR_SUPPLY.sub(collarToken.totalSupply()); collarToken.mint(address(this), collarReward); } if (collarReward != 0) { // only calculate and update if collarReward is non 0 pool.accCollarPerShare = pool.accCollarPerShare.add( collarReward.mul(1e18).div(pool.lpSupply) ); } pool.lastRewardTime = block.timestamp; } // Deposit LP tokens to MasterChef for COLLAR allocation. function deposit(uint256 _pid, uint256 _amount) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount > 0) { uint256 pending = user .amount .mul(pool.accCollarPerShare) .div(1e18) .sub(user.rewardDebt); if (pending > 0) { safeCollarTransfer(msg.sender, pending); } } if (_amount > 0) { uint256 balanceBefore = pool.lpToken.balanceOf(address(this)); pool.lpToken.transferFrom(msg.sender, address(this), _amount); _amount = pool.lpToken.balanceOf(address(this)).sub(balanceBefore); if (pool.depositFeeBP > 0) { uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000); pool.lpToken.safeTransfer(feeAddress, depositFee); user.amount = user.amount.add(_amount).sub(depositFee); pool.lpSupply = pool.lpSupply.add(_amount).sub(depositFee); } else { pool.lpSupply = pool.lpSupply.add(_amount); user.amount = user.amount.add(_amount); } } user.rewardDebt = user.amount.mul(pool.accCollarPerShare).div(1e18); emit Deposit(msg.sender, _pid, _amount); } // Withdraw LP tokens from MasterChef. function withdraw(uint256 _pid, uint256 _amount) external nonReentrant { _withdraw(_pid, msg.sender, _amount); } function _withdraw(uint256 _pid, address _user, uint256 _amount) internal { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); uint256 pending = user.amount.mul(pool.accCollarPerShare).div(1e18).sub(user.rewardDebt); if (pending > 0) { safeCollarTransfer(_user, pending); } if (_amount > 0) { user.amount = user.amount.sub(_amount); pool.lpToken.safeTransfer(address(_user), _amount); pool.lpSupply = pool.lpSupply.sub(_amount); } user.rewardDebt = user.amount.mul(pool.accCollarPerShare).div(1e18); emit Withdraw(_user, _pid, _amount); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) public nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; uint256 amount = user.amount; user.amount = 0; user.rewardDebt = 0; pool.lpToken.safeTransfer(address(msg.sender), amount); if (pool.lpSupply >= amount) { pool.lpSupply = pool.lpSupply.sub(amount); } else { pool.lpSupply = 0; } emit EmergencyWithdraw(msg.sender, _pid, amount); } // Safe collarToken transfer function, just in case if rounding error causes pool to not have enough COLLAR. function safeCollarTransfer(address _to, uint256 _amount) internal { uint256 collarBal = collarToken.balanceOf(address(this)); bool transferSuccess = false; if (_amount > collarBal) { transferSuccess = collarToken.transfer(_to, collarBal); } else { transferSuccess = collarToken.transfer(_to, _amount); } require(transferSuccess, "safeCollarTransfer: Transfer failed"); } // Update dev address by the previous dev. function setDevAddress(address _devaddress) external onlyOwner { require(_devaddress != address(0), "!nonzero"); devaddress = _devaddress; emit SetDevAddress(msg.sender, _devaddress); } function setFeeAddress(address _feeAddress) external onlyOwner { require(_feeAddress != address(0), "!nonzero"); feeAddress = _feeAddress; emit SetFeeAddress(msg.sender, _feeAddress); } function updateEmissionRate(uint256 _collarTokenPerSecond) external onlyOwner { require(_collarTokenPerSecond <= MAX_EMISSION_RATE,"Too high"); massUpdatePools(); collarPerSecond = _collarTokenPerSecond; emit UpdateEmissionRate(msg.sender, _collarTokenPerSecond); } // Only update before start of farm function updateStartTime(uint256 _startTimestamp) external onlyOwner { require(startTime > block.timestamp, "Farm already started"); require( block.timestamp < _startTimestamp, "cannot set start time in the past" ); for(uint256 i = 0; i < poolInfo.length; i++) { poolInfo[i].lastRewardTime = _startTimestamp; } startTime = _startTimestamp; emit UpdateStartTime(startTime); } // Switches active pool function switchActivePool( uint16[] calldata _activePids, uint16[] calldata _newPids, uint256[] calldata _newAllocPoints ) external onlyOwner { for (uint256 i = 0; i < _activePids.length; i++) { updatePool(_activePids[i]); PoolInfo storage activePool = poolInfo[_activePids[i]]; activePool.allocPoint = 0; } for (uint256 i = 0; i < _newPids.length; i++) { PoolInfo storage newPool = poolInfo[_newPids[i]]; newPool.allocPoint = _newAllocPoints[i]; } } // Forces user to withdraw when allocpoint is set to 0 function forceWithdraw(uint16 _pid, address[] memory _userAddresses) external onlyOwner { require(poolInfo[_pid].allocPoint == 0, "Alloc point is not 0"); for (uint256 i = 0; i < _userAddresses.length; i++) { _withdraw( _pid, _userAddresses[i], userInfo[_pid][_userAddresses[i]].amount ); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract CollarToken","name":"_collarToken","type":"address"},{"internalType":"address","name":"_devaddress","type":"address"},{"internalType":"uint256","name":"_startTime","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":"address","name":"newAddress","type":"address"}],"name":"SetDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetFeeAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"collarPerSecond","type":"uint256"}],"name":"UpdateEmissionRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"startTimestamp","type":"uint256"}],"name":"UpdateStartTime","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"address","name":"lpToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"depositFeeBP","type":"uint256"}],"name":"addPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"address","name":"lpToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"depositFeeBP","type":"uint256"}],"name":"setPool","type":"event"},{"inputs":[],"name":"MAX_EMISSION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IBEP20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collarPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collarToken","outputs":[{"internalType":"contract CollarToken","name":"","type":"address"}],"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":[],"name":"devaddress","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":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_pid","type":"uint16"},{"internalType":"address[]","name":"_userAddresses","type":"address[]"}],"name":"forceWithdraw","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":"pure","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","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":"pendingCollar","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"name":"poolExistence","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IBEP20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"accCollarPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"lpSupply","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":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddress","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"_activePids","type":"uint16[]"},{"internalType":"uint16[]","name":"_newPids","type":"uint16[]"},{"internalType":"uint256[]","name":"_newAllocPoints","type":"uint256[]"}],"name":"switchActivePool","outputs":[],"stateMutability":"nonpayable","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":"_collarTokenPerSecond","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTimestamp","type":"uint256"}],"name":"updateStartTime","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
60a060405267016345785d8a0000600455600060075534801561002157600080fd5b5060405162002bd338038062002bd38339818101604052606081101561004657600080fd5b508051602082015160409092015190919060006100616100fa565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180556001600160601b031960609390931b92909216608052600891909155600280546001600160a01b03929092166001600160a01b031992831617905560038054909116331790556100fe565b3390565b60805160601c612a856200014e600039806109945280610af65280610ba65280610c5d5280610cc85280610d6152806116e65280611757528061240752806124ac52806125565250612a856000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80637492a94b1161010457806393f1a40b116100a2578063e2bbb15811610071578063e2bbb15814610688578063e5cd8772146106ab578063f2fde38b146106b3578063f882ddae146106d9576101cf565b806393f1a40b146105ae578063cbd258b5146105f3578063d0d41fe11461062d578063d963842214610653576101cf565b806385512a0a116100de57806385512a0a146105315780638705fcd41461055d5780638da5cb5b146105835780638dbb1e3a1461058b576101cf565b80637492a94b1461043f57806378e97925146104eb57806384e82a33146104f3576101cf565b8063436cc3d6116101715780635312ea8e1161014b5780635312ea8e146103045780635bbdf38e14610321578063630b5ba11461042f578063715018a614610437576101cf565b8063436cc3d6146102bc578063441a3e70146102c457806351eb05a6146102e7576101cf565b80631526fe27116101ad5780631526fe271461022a57806317caf6f11461028857806317e1c5ee1461029057806341275358146102b4576101cf565b806306bcf02f146101d4578063081e3eda146101f35780630ba84cd21461020d575b600080fd5b6101f1600480360360208110156101ea57600080fd5b50356106e1565b005b6101fb610841565b60408051918252519081900360200190f35b6101f16004803603602081101561022357600080fd5b5035610847565b6102476004803603602081101561024057600080fd5b5035610938565b604080516001600160a01b039097168752602087019590955285850193909352606085019190915261ffff16608084015260a0830152519081900360c00190f35b6101fb61098c565b610298610992565b604080516001600160a01b039092168252519081900360200190f35b6102986109b6565b6101fb6109c5565b6101f1600480360360408110156102da57600080fd5b50803590602001356109d2565b6101f1600480360360208110156102fd57600080fd5b5035610a42565b6101f16004803603602081101561031a57600080fd5b5035610e37565b6101f16004803603606081101561033757600080fd5b810190602081018135600160201b81111561035157600080fd5b82018360208201111561036357600080fd5b803590602001918460208302840111600160201b8311171561038457600080fd5b919390929091602081019035600160201b8111156103a157600080fd5b8201836020820111156103b357600080fd5b803590602001918460208302840111600160201b831117156103d457600080fd5b919390929091602081019035600160201b8111156103f157600080fd5b82018360208201111561040357600080fd5b803590602001918460208302840111600160201b8311171561042457600080fd5b509092509050610f60565b6101f16110aa565b6101f16110cd565b6101f16004803603604081101561045557600080fd5b61ffff8235169190810190604081016020820135600160201b81111561047a57600080fd5b82018360208201111561048c57600080fd5b803590602001918460208302840111600160201b831117156104ad57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611179945050505050565b6101fb6112d4565b6101f16004803603608081101561050957600080fd5b508035906001600160a01b036020820135169061ffff604082013516906060013515156112da565b6101fb6004803603604081101561054757600080fd5b50803590602001356001600160a01b0316611621565b6101f16004803603602081101561057357600080fd5b50356001600160a01b031661181b565b61029861190f565b6101fb600480360360408110156105a157600080fd5b508035906020013561191e565b6105da600480360360408110156105c457600080fd5b50803590602001356001600160a01b0316611931565b6040805192835260208301919091528051918290030190f35b6106196004803603602081101561060957600080fd5b50356001600160a01b0316611955565b604080519115158252519081900360200190f35b6101f16004803603602081101561064357600080fd5b50356001600160a01b031661196a565b6101f16004803603608081101561066957600080fd5b5080359060208101359061ffff60408201351690606001351515611a5e565b6101f16004803603604081101561069e57600080fd5b5080359060200135611c1e565b6101fb611f9c565b6101f1600480360360208110156106c957600080fd5b50356001600160a01b0316611fa2565b6102986120a4565b6106e96120b3565b6001600160a01b03166106fa61190f565b6001600160a01b031614610743576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b4260085411610790576040805162461bcd60e51b815260206004820152601460248201527311985c9b48185b1c9958591e481cdd185c9d195960621b604482015290519081900360640190fd5b8042106107ce5760405162461bcd60e51b81526004018080602001828103825260218152602001806129a66021913960400191505060405180910390fd5b60005b6005548110156108055781600582815481106107e957fe5b60009182526020909120600260069092020101556001016107d1565b5060088190556040805182815290517fa09018266c541576eb124551c9c57c82a8129add3ba6777a5974b1d0e6252e999181900360200190a150565b60055490565b61084f6120b3565b6001600160a01b031661086061190f565b6001600160a01b0316146108a9576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b68056bc75e2d631000008111156108f2576040805162461bcd60e51b81526020600482015260086024820152670a8dede40d0d2ced60c31b604482015290519081900360640190fd5b6108fa6110aa565b600481905560408051828152905133917fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053919081900360200190a250565b6005818154811061094557fe5b60009182526020909120600690910201805460018201546002830154600384015460048501546005909501546001600160a01b0390941695509193909261ffff9091169086565b60075481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6003546001600160a01b031681565b68056bc75e2d6310000081565b60026001541415610a2a576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600155610a3a8233836120b7565b505060018055565b600060058281548110610a5157fe5b9060005260206000209060060201905080600201544211610a725750610e34565b60058101541580610a8557506001810154155b15610a965742600290910155610e34565b6000610aa682600201544261191e565b90506000610ad9600754610ad38560010154610acd6004548761223a90919063ffffffff16565b9061223a565b90612293565b90506000610ae882600a612293565b90506000610b8583610b7f847f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b4d57600080fd5b505afa158015610b61573d6000803e3d6000fd5b505050506040513d6020811015610b7757600080fd5b5051906122fa565b906122fa565b90506a22bdd88fed9efc6a0000008111610cc3576002546001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116916340c10f199116610bda86600a612293565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610c2057600080fd5b505af1158015610c34573d6000803e3d6000fd5b5050604080516340c10f1960e01b81523060048201526024810187905290516001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001693506340c10f199250604480830192600092919082900301818387803b158015610ca657600080fd5b505af1158015610cba573d6000803e3d6000fd5b50505050610def565b610d5d7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d1f57600080fd5b505afa158015610d33573d6000803e3d6000fd5b505050506040513d6020811015610d4957600080fd5b50516a22bdd88fed9efc6a00000090612354565b92507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166340c10f1930856040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610dd657600080fd5b505af1158015610dea573d6000803e3d6000fd5b505050505b8215610e25576005850154610e1f90610e1490610ad386670de0b6b3a764000061223a565b6003870154906122fa565b60038601555b42856002018190555050505050505b50565b60026001541415610e8f576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600181905550600060058281548110610ea657fe5b60009182526020808320858452600680835260408086203380885294528520805486825560018201969096559302018054909450919291610ef3916001600160a01b0390911690836123b1565b80836005015410610f17576005830154610f0d9082612354565b6005840155610f1f565b600060058401555b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a35050600180555050565b610f686120b3565b6001600160a01b0316610f7961190f565b6001600160a01b031614610fc2576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b60005b8581101561103b57610ff0878783818110610fdc57fe5b9050602002013561ffff1661ffff16610a42565b6000600588888481811061100057fe5b9050602002013561ffff1661ffff168154811061101957fe5b6000918252602082206001600690920201810191909155919091019050610fc5565b5060005b838110156110a1576000600586868481811061105757fe5b9050602002013561ffff1661ffff168154811061107057fe5b9060005260206000209060060201905083838381811061108c57fe5b6020029190910135600192830155500161103f565b50505050505050565b60055460005b818110156110c9576110c181610a42565b6001016110b0565b5050565b6110d56120b3565b6001600160a01b03166110e661190f565b6001600160a01b03161461112f576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6111816120b3565b6001600160a01b031661119261190f565b6001600160a01b0316146111db576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b60058261ffff16815481106111ec57fe5b906000526020600020906006020160010154600014611249576040805162461bcd60e51b81526020600482015260146024820152730416c6c6f6320706f696e74206973206e6f7420360641b604482015290519081900360640190fd5b60005b81518110156112cf576112c78361ffff1683838151811061126957fe5b6020026020010151600660008761ffff168152602001908152602001600020600086868151811061129657fe5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020600001546120b7565b60010161124c565b505050565b60085481565b6112e26120b3565b6001600160a01b03166112f361190f565b6001600160a01b03161461133c576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b6001600160a01b038316600090815260096020526040902054839060ff16156113ac576040805162461bcd60e51b815260206004820152601960248201527f6e6f6e4475706c6963617465643a206475706c69636174656400000000000000604482015290519081900360640190fd5b6101f48361ffff1611156113f15760405162461bcd60e51b815260040180806020018281038252602581526020018061290b6025913960400191505060405180910390fd5b81156113ff576113ff6110aa565b604080516370a0823160e01b815230600482015290516001600160a01b038616916370a08231916024808301926020929190829003018186803b15801561144557600080fd5b505afa158015611459573d6000803e3d6000fd5b505050506040513d602081101561146f57600080fd5b5050600854600090421161148557600854611487565b425b60075490915061149790876122fa565b600781905550600160096000876001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff02191690831515021790555060056040518060c00160405280876001600160a01b03168152602001888152602001838152602001600081526020018661ffff1681526020016000815250908060018154018082558091505060019003906000526020600020906006020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548161ffff021916908361ffff16021790555060a0820151816005015550506001600580549050037faa6642278d4bbef86d8990c37355d5d4dfe365c194106bdf7a65162268606f0786888760405180846001600160a01b031681526020018381526020018261ffff168152602001935050505060405180910390a2505050505050565b6000806005848154811061163157fe5b60009182526020808320878452600680835260408086206001600160a01b038a16875290935291909320910290910160038101546002820154919350904211801561167f5750600583015415155b801561168d57506000600754115b156117de5760006116a284600201544261191e565b905060006116c9600754610ad38760010154610acd6004548761223a90919063ffffffff16565b905060006116d882600a612293565b9050600061173d83610b7f847f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b4d57600080fd5b90506a22bdd88fed9efc6a0000008111156117b1576117ae7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d1f57600080fd5b92505b60058701546117d7906117d090610ad386670de0b6b3a764000061223a565b86906122fa565b9450505050505b61180f8260010154611809670de0b6b3a7640000610ad385876000015461223a90919063ffffffff16565b90612354565b93505050505b92915050565b6118236120b3565b6001600160a01b031661183461190f565b6001600160a01b03161461187d576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b6001600160a01b0381166118c3576040805162461bcd60e51b8152602060048201526008602482015267216e6f6e7a65726f60c01b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b03831690811790915560405133907fd44190acf9d04bdb5d3a1aafff7e6dee8b40b93dfb8c5d3f0eea4b9f4539c3f790600090a350565b6000546001600160a01b031690565b600061192a8284612354565b9392505050565b60066020908152600092835260408084209091529082529020805460019091015482565b60096020526000908152604090205460ff1681565b6119726120b3565b6001600160a01b031661198361190f565b6001600160a01b0316146119cc576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b6001600160a01b038116611a12576040805162461bcd60e51b8152602060048201526008602482015267216e6f6e7a65726f60c01b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b03831690811790915560405133907f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e790600090a350565b611a666120b3565b6001600160a01b0316611a7761190f565b6001600160a01b031614611ac0576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b6101f48261ffff161115611b055760405162461bcd60e51b8152600401808060200182810382526025815260200180612a0b6025913960400191505060405180910390fd5b8015611b1357611b136110aa565b611b4a83610b7f60058781548110611b2757fe5b90600052602060002090600602016001015460075461235490919063ffffffff16565b6007819055508260058581548110611b5e57fe5b9060005260206000209060060201600101819055508160058581548110611b8157fe5b906000526020600020906006020160040160006101000a81548161ffff021916908361ffff160217905550837f39f0c3d078af018954b4fa56832a05a2b511afaa999b133ea3f1c487c21ed28760058681548110611bdb57fe5b600091825260209182902060069091020154604080516001600160a01b03909216825291810187905261ffff86168183015290519081900360600190a250505050565b60026001541415611c76576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600181905550600060058381548110611c8d57fe5b60009182526020808320868452600680835260408086203387529093529190932091029091019150611cbe84610a42565b805415611d0a576000611cf68260010154611809670de0b6b3a7640000610ad38760030154876000015461223a90919063ffffffff16565b90508015611d0857611d083382612403565b505b8215611f38578154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611d5a57600080fd5b505afa158015611d6e573d6000803e3d6000fd5b505050506040513d6020811015611d8457600080fd5b50518354604080516323b872dd60e01b81523360048201523060248201526044810188905290519293506001600160a01b03909116916323b872dd916064808201926020929091908290030181600087803b158015611de257600080fd5b505af1158015611df6573d6000803e3d6000fd5b505050506040513d6020811015611e0c57600080fd5b50508254604080516370a0823160e01b81523060048201529051611e909284926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b158015611e5e57600080fd5b505afa158015611e72573d6000803e3d6000fd5b505050506040513d6020811015611e8857600080fd5b505190612354565b600484015490945061ffff1615611f13576004830154600090611ec09061271090610ad390889061ffff1661223a565b6003548554919250611edf916001600160a01b039081169116836123b1565b8254611ef190829061180990886122fa565b83556005840154611f0890829061180990886122fa565b600585015550611f36565b6005830154611f2290856122fa565b60058401558154611f3390856122fa565b82555b505b60038201548154611f5691670de0b6b3a764000091610ad39161223a565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050600180555050565b60045481565b611faa6120b3565b6001600160a01b0316611fbb61190f565b6001600160a01b031614612004576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b6001600160a01b0381166120495760405162461bcd60e51b815260040180806020018281038252602681526020018061295a6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031681565b3390565b6000600584815481106120c657fe5b60009182526020808320878452600680835260408086206001600160a01b038a168752909352919093208054929091029092019250831115612144576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61214d85610a42565b600061217e8260010154611809670de0b6b3a7640000610ad38760030154876000015461223a90919063ffffffff16565b90508015612190576121908582612403565b83156121cf5781546121a29085612354565b825582546121ba906001600160a01b031686866123b1565b60058301546121c99085612354565b60058401555b600383015482546121ed91670de0b6b3a764000091610ad39161223a565b600183015560408051858152905187916001600160a01b038816917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505050505050565b60008261224957506000611815565b8282028284828161225657fe5b041461192a5760405162461bcd60e51b81526004018080602001828103825260218152602001806129ea6021913960400191505060405180910390fd5b60008082116122e9576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816122f257fe5b049392505050565b60008282018381101561192a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000828211156123ab576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526112cf90849061263c565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561247257600080fd5b505afa158015612486573d6000803e3d6000fd5b505050506040513d602081101561249c57600080fd5b50519050600081831115612554577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb85846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561252157600080fd5b505af1158015612535573d6000803e3d6000fd5b505050506040513d602081101561254b57600080fd5b505190506125fa565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb85856040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156125cb57600080fd5b505af11580156125df573d6000803e3d6000fd5b505050506040513d60208110156125f557600080fd5b505190505b806126365760405162461bcd60e51b81526004018080602001828103825260238152602001806129c76023913960400191505060405180910390fd5b50505050565b6060612691826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166126ed9092919063ffffffff16565b8051909150156112cf578080602001905160208110156126b057600080fd5b50516112cf5760405162461bcd60e51b815260040180806020018281038252602a815260200180612930602a913960400191505060405180910390fd5b60606126fc8484600085612704565b949350505050565b6060824710156127455760405162461bcd60e51b81526004018080602001828103825260268152602001806129806026913960400191505060405180910390fd5b61274e85612860565b61279f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106127de5780518252601f1990920191602091820191016127bf565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612840576040519150601f19603f3d011682016040523d82523d6000602084013e612845565b606091505b5091509150612855828286612866565b979650505050505050565b3b151590565b6060831561287557508161192a565b8251156128855782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156128cf5781810151838201526020016128b7565b50505050905090810190601f1680156128fc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74735361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c63616e6e6f74207365742073746172742074696d6520696e20746865207061737473616665436f6c6c61725472616e736665723a205472616e73666572206661696c6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220770f38aa571b82c01da5cd47260f052555dd99bd6b7538bb572d34b22b07805164736f6c634300060c00330000000000000000000000003ca0d76c832bcee736e8bd9f2cc387a0f0d359de0000000000000000000000000617b1d89318583f9ede54052cae38ff808511d20000000000000000000000000000000000000000000000000000000067a1f5a1
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80637492a94b1161010457806393f1a40b116100a2578063e2bbb15811610071578063e2bbb15814610688578063e5cd8772146106ab578063f2fde38b146106b3578063f882ddae146106d9576101cf565b806393f1a40b146105ae578063cbd258b5146105f3578063d0d41fe11461062d578063d963842214610653576101cf565b806385512a0a116100de57806385512a0a146105315780638705fcd41461055d5780638da5cb5b146105835780638dbb1e3a1461058b576101cf565b80637492a94b1461043f57806378e97925146104eb57806384e82a33146104f3576101cf565b8063436cc3d6116101715780635312ea8e1161014b5780635312ea8e146103045780635bbdf38e14610321578063630b5ba11461042f578063715018a614610437576101cf565b8063436cc3d6146102bc578063441a3e70146102c457806351eb05a6146102e7576101cf565b80631526fe27116101ad5780631526fe271461022a57806317caf6f11461028857806317e1c5ee1461029057806341275358146102b4576101cf565b806306bcf02f146101d4578063081e3eda146101f35780630ba84cd21461020d575b600080fd5b6101f1600480360360208110156101ea57600080fd5b50356106e1565b005b6101fb610841565b60408051918252519081900360200190f35b6101f16004803603602081101561022357600080fd5b5035610847565b6102476004803603602081101561024057600080fd5b5035610938565b604080516001600160a01b039097168752602087019590955285850193909352606085019190915261ffff16608084015260a0830152519081900360c00190f35b6101fb61098c565b610298610992565b604080516001600160a01b039092168252519081900360200190f35b6102986109b6565b6101fb6109c5565b6101f1600480360360408110156102da57600080fd5b50803590602001356109d2565b6101f1600480360360208110156102fd57600080fd5b5035610a42565b6101f16004803603602081101561031a57600080fd5b5035610e37565b6101f16004803603606081101561033757600080fd5b810190602081018135600160201b81111561035157600080fd5b82018360208201111561036357600080fd5b803590602001918460208302840111600160201b8311171561038457600080fd5b919390929091602081019035600160201b8111156103a157600080fd5b8201836020820111156103b357600080fd5b803590602001918460208302840111600160201b831117156103d457600080fd5b919390929091602081019035600160201b8111156103f157600080fd5b82018360208201111561040357600080fd5b803590602001918460208302840111600160201b8311171561042457600080fd5b509092509050610f60565b6101f16110aa565b6101f16110cd565b6101f16004803603604081101561045557600080fd5b61ffff8235169190810190604081016020820135600160201b81111561047a57600080fd5b82018360208201111561048c57600080fd5b803590602001918460208302840111600160201b831117156104ad57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611179945050505050565b6101fb6112d4565b6101f16004803603608081101561050957600080fd5b508035906001600160a01b036020820135169061ffff604082013516906060013515156112da565b6101fb6004803603604081101561054757600080fd5b50803590602001356001600160a01b0316611621565b6101f16004803603602081101561057357600080fd5b50356001600160a01b031661181b565b61029861190f565b6101fb600480360360408110156105a157600080fd5b508035906020013561191e565b6105da600480360360408110156105c457600080fd5b50803590602001356001600160a01b0316611931565b6040805192835260208301919091528051918290030190f35b6106196004803603602081101561060957600080fd5b50356001600160a01b0316611955565b604080519115158252519081900360200190f35b6101f16004803603602081101561064357600080fd5b50356001600160a01b031661196a565b6101f16004803603608081101561066957600080fd5b5080359060208101359061ffff60408201351690606001351515611a5e565b6101f16004803603604081101561069e57600080fd5b5080359060200135611c1e565b6101fb611f9c565b6101f1600480360360208110156106c957600080fd5b50356001600160a01b0316611fa2565b6102986120a4565b6106e96120b3565b6001600160a01b03166106fa61190f565b6001600160a01b031614610743576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b4260085411610790576040805162461bcd60e51b815260206004820152601460248201527311985c9b48185b1c9958591e481cdd185c9d195960621b604482015290519081900360640190fd5b8042106107ce5760405162461bcd60e51b81526004018080602001828103825260218152602001806129a66021913960400191505060405180910390fd5b60005b6005548110156108055781600582815481106107e957fe5b60009182526020909120600260069092020101556001016107d1565b5060088190556040805182815290517fa09018266c541576eb124551c9c57c82a8129add3ba6777a5974b1d0e6252e999181900360200190a150565b60055490565b61084f6120b3565b6001600160a01b031661086061190f565b6001600160a01b0316146108a9576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b68056bc75e2d631000008111156108f2576040805162461bcd60e51b81526020600482015260086024820152670a8dede40d0d2ced60c31b604482015290519081900360640190fd5b6108fa6110aa565b600481905560408051828152905133917fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053919081900360200190a250565b6005818154811061094557fe5b60009182526020909120600690910201805460018201546002830154600384015460048501546005909501546001600160a01b0390941695509193909261ffff9091169086565b60075481565b7f0000000000000000000000003ca0d76c832bcee736e8bd9f2cc387a0f0d359de81565b6003546001600160a01b031681565b68056bc75e2d6310000081565b60026001541415610a2a576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600155610a3a8233836120b7565b505060018055565b600060058281548110610a5157fe5b9060005260206000209060060201905080600201544211610a725750610e34565b60058101541580610a8557506001810154155b15610a965742600290910155610e34565b6000610aa682600201544261191e565b90506000610ad9600754610ad38560010154610acd6004548761223a90919063ffffffff16565b9061223a565b90612293565b90506000610ae882600a612293565b90506000610b8583610b7f847f0000000000000000000000003ca0d76c832bcee736e8bd9f2cc387a0f0d359de6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b4d57600080fd5b505afa158015610b61573d6000803e3d6000fd5b505050506040513d6020811015610b7757600080fd5b5051906122fa565b906122fa565b90506a22bdd88fed9efc6a0000008111610cc3576002546001600160a01b037f0000000000000000000000003ca0d76c832bcee736e8bd9f2cc387a0f0d359de8116916340c10f199116610bda86600a612293565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610c2057600080fd5b505af1158015610c34573d6000803e3d6000fd5b5050604080516340c10f1960e01b81523060048201526024810187905290516001600160a01b037f0000000000000000000000003ca0d76c832bcee736e8bd9f2cc387a0f0d359de1693506340c10f199250604480830192600092919082900301818387803b158015610ca657600080fd5b505af1158015610cba573d6000803e3d6000fd5b50505050610def565b610d5d7f0000000000000000000000003ca0d76c832bcee736e8bd9f2cc387a0f0d359de6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d1f57600080fd5b505afa158015610d33573d6000803e3d6000fd5b505050506040513d6020811015610d4957600080fd5b50516a22bdd88fed9efc6a00000090612354565b92507f0000000000000000000000003ca0d76c832bcee736e8bd9f2cc387a0f0d359de6001600160a01b03166340c10f1930856040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610dd657600080fd5b505af1158015610dea573d6000803e3d6000fd5b505050505b8215610e25576005850154610e1f90610e1490610ad386670de0b6b3a764000061223a565b6003870154906122fa565b60038601555b42856002018190555050505050505b50565b60026001541415610e8f576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600181905550600060058281548110610ea657fe5b60009182526020808320858452600680835260408086203380885294528520805486825560018201969096559302018054909450919291610ef3916001600160a01b0390911690836123b1565b80836005015410610f17576005830154610f0d9082612354565b6005840155610f1f565b600060058401555b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a35050600180555050565b610f686120b3565b6001600160a01b0316610f7961190f565b6001600160a01b031614610fc2576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b60005b8581101561103b57610ff0878783818110610fdc57fe5b9050602002013561ffff1661ffff16610a42565b6000600588888481811061100057fe5b9050602002013561ffff1661ffff168154811061101957fe5b6000918252602082206001600690920201810191909155919091019050610fc5565b5060005b838110156110a1576000600586868481811061105757fe5b9050602002013561ffff1661ffff168154811061107057fe5b9060005260206000209060060201905083838381811061108c57fe5b6020029190910135600192830155500161103f565b50505050505050565b60055460005b818110156110c9576110c181610a42565b6001016110b0565b5050565b6110d56120b3565b6001600160a01b03166110e661190f565b6001600160a01b03161461112f576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6111816120b3565b6001600160a01b031661119261190f565b6001600160a01b0316146111db576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b60058261ffff16815481106111ec57fe5b906000526020600020906006020160010154600014611249576040805162461bcd60e51b81526020600482015260146024820152730416c6c6f6320706f696e74206973206e6f7420360641b604482015290519081900360640190fd5b60005b81518110156112cf576112c78361ffff1683838151811061126957fe5b6020026020010151600660008761ffff168152602001908152602001600020600086868151811061129657fe5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020600001546120b7565b60010161124c565b505050565b60085481565b6112e26120b3565b6001600160a01b03166112f361190f565b6001600160a01b03161461133c576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b6001600160a01b038316600090815260096020526040902054839060ff16156113ac576040805162461bcd60e51b815260206004820152601960248201527f6e6f6e4475706c6963617465643a206475706c69636174656400000000000000604482015290519081900360640190fd5b6101f48361ffff1611156113f15760405162461bcd60e51b815260040180806020018281038252602581526020018061290b6025913960400191505060405180910390fd5b81156113ff576113ff6110aa565b604080516370a0823160e01b815230600482015290516001600160a01b038616916370a08231916024808301926020929190829003018186803b15801561144557600080fd5b505afa158015611459573d6000803e3d6000fd5b505050506040513d602081101561146f57600080fd5b5050600854600090421161148557600854611487565b425b60075490915061149790876122fa565b600781905550600160096000876001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff02191690831515021790555060056040518060c00160405280876001600160a01b03168152602001888152602001838152602001600081526020018661ffff1681526020016000815250908060018154018082558091505060019003906000526020600020906006020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548161ffff021916908361ffff16021790555060a0820151816005015550506001600580549050037faa6642278d4bbef86d8990c37355d5d4dfe365c194106bdf7a65162268606f0786888760405180846001600160a01b031681526020018381526020018261ffff168152602001935050505060405180910390a2505050505050565b6000806005848154811061163157fe5b60009182526020808320878452600680835260408086206001600160a01b038a16875290935291909320910290910160038101546002820154919350904211801561167f5750600583015415155b801561168d57506000600754115b156117de5760006116a284600201544261191e565b905060006116c9600754610ad38760010154610acd6004548761223a90919063ffffffff16565b905060006116d882600a612293565b9050600061173d83610b7f847f0000000000000000000000003ca0d76c832bcee736e8bd9f2cc387a0f0d359de6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b4d57600080fd5b90506a22bdd88fed9efc6a0000008111156117b1576117ae7f0000000000000000000000003ca0d76c832bcee736e8bd9f2cc387a0f0d359de6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d1f57600080fd5b92505b60058701546117d7906117d090610ad386670de0b6b3a764000061223a565b86906122fa565b9450505050505b61180f8260010154611809670de0b6b3a7640000610ad385876000015461223a90919063ffffffff16565b90612354565b93505050505b92915050565b6118236120b3565b6001600160a01b031661183461190f565b6001600160a01b03161461187d576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b6001600160a01b0381166118c3576040805162461bcd60e51b8152602060048201526008602482015267216e6f6e7a65726f60c01b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b03831690811790915560405133907fd44190acf9d04bdb5d3a1aafff7e6dee8b40b93dfb8c5d3f0eea4b9f4539c3f790600090a350565b6000546001600160a01b031690565b600061192a8284612354565b9392505050565b60066020908152600092835260408084209091529082529020805460019091015482565b60096020526000908152604090205460ff1681565b6119726120b3565b6001600160a01b031661198361190f565b6001600160a01b0316146119cc576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b6001600160a01b038116611a12576040805162461bcd60e51b8152602060048201526008602482015267216e6f6e7a65726f60c01b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b03831690811790915560405133907f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e790600090a350565b611a666120b3565b6001600160a01b0316611a7761190f565b6001600160a01b031614611ac0576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b6101f48261ffff161115611b055760405162461bcd60e51b8152600401808060200182810382526025815260200180612a0b6025913960400191505060405180910390fd5b8015611b1357611b136110aa565b611b4a83610b7f60058781548110611b2757fe5b90600052602060002090600602016001015460075461235490919063ffffffff16565b6007819055508260058581548110611b5e57fe5b9060005260206000209060060201600101819055508160058581548110611b8157fe5b906000526020600020906006020160040160006101000a81548161ffff021916908361ffff160217905550837f39f0c3d078af018954b4fa56832a05a2b511afaa999b133ea3f1c487c21ed28760058681548110611bdb57fe5b600091825260209182902060069091020154604080516001600160a01b03909216825291810187905261ffff86168183015290519081900360600190a250505050565b60026001541415611c76576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600181905550600060058381548110611c8d57fe5b60009182526020808320868452600680835260408086203387529093529190932091029091019150611cbe84610a42565b805415611d0a576000611cf68260010154611809670de0b6b3a7640000610ad38760030154876000015461223a90919063ffffffff16565b90508015611d0857611d083382612403565b505b8215611f38578154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611d5a57600080fd5b505afa158015611d6e573d6000803e3d6000fd5b505050506040513d6020811015611d8457600080fd5b50518354604080516323b872dd60e01b81523360048201523060248201526044810188905290519293506001600160a01b03909116916323b872dd916064808201926020929091908290030181600087803b158015611de257600080fd5b505af1158015611df6573d6000803e3d6000fd5b505050506040513d6020811015611e0c57600080fd5b50508254604080516370a0823160e01b81523060048201529051611e909284926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b158015611e5e57600080fd5b505afa158015611e72573d6000803e3d6000fd5b505050506040513d6020811015611e8857600080fd5b505190612354565b600484015490945061ffff1615611f13576004830154600090611ec09061271090610ad390889061ffff1661223a565b6003548554919250611edf916001600160a01b039081169116836123b1565b8254611ef190829061180990886122fa565b83556005840154611f0890829061180990886122fa565b600585015550611f36565b6005830154611f2290856122fa565b60058401558154611f3390856122fa565b82555b505b60038201548154611f5691670de0b6b3a764000091610ad39161223a565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050600180555050565b60045481565b611faa6120b3565b6001600160a01b0316611fbb61190f565b6001600160a01b031614612004576040805162461bcd60e51b81526020600482018190526024820152600080516020612a30833981519152604482015290519081900360640190fd5b6001600160a01b0381166120495760405162461bcd60e51b815260040180806020018281038252602681526020018061295a6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031681565b3390565b6000600584815481106120c657fe5b60009182526020808320878452600680835260408086206001600160a01b038a168752909352919093208054929091029092019250831115612144576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61214d85610a42565b600061217e8260010154611809670de0b6b3a7640000610ad38760030154876000015461223a90919063ffffffff16565b90508015612190576121908582612403565b83156121cf5781546121a29085612354565b825582546121ba906001600160a01b031686866123b1565b60058301546121c99085612354565b60058401555b600383015482546121ed91670de0b6b3a764000091610ad39161223a565b600183015560408051858152905187916001600160a01b038816917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505050505050565b60008261224957506000611815565b8282028284828161225657fe5b041461192a5760405162461bcd60e51b81526004018080602001828103825260218152602001806129ea6021913960400191505060405180910390fd5b60008082116122e9576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816122f257fe5b049392505050565b60008282018381101561192a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000828211156123ab576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526112cf90849061263c565b60007f0000000000000000000000003ca0d76c832bcee736e8bd9f2cc387a0f0d359de6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561247257600080fd5b505afa158015612486573d6000803e3d6000fd5b505050506040513d602081101561249c57600080fd5b50519050600081831115612554577f0000000000000000000000003ca0d76c832bcee736e8bd9f2cc387a0f0d359de6001600160a01b031663a9059cbb85846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561252157600080fd5b505af1158015612535573d6000803e3d6000fd5b505050506040513d602081101561254b57600080fd5b505190506125fa565b7f0000000000000000000000003ca0d76c832bcee736e8bd9f2cc387a0f0d359de6001600160a01b031663a9059cbb85856040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156125cb57600080fd5b505af11580156125df573d6000803e3d6000fd5b505050506040513d60208110156125f557600080fd5b505190505b806126365760405162461bcd60e51b81526004018080602001828103825260238152602001806129c76023913960400191505060405180910390fd5b50505050565b6060612691826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166126ed9092919063ffffffff16565b8051909150156112cf578080602001905160208110156126b057600080fd5b50516112cf5760405162461bcd60e51b815260040180806020018281038252602a815260200180612930602a913960400191505060405180910390fd5b60606126fc8484600085612704565b949350505050565b6060824710156127455760405162461bcd60e51b81526004018080602001828103825260268152602001806129806026913960400191505060405180910390fd5b61274e85612860565b61279f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106127de5780518252601f1990920191602091820191016127bf565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612840576040519150601f19603f3d011682016040523d82523d6000602084013e612845565b606091505b5091509150612855828286612866565b979650505050505050565b3b151590565b6060831561287557508161192a565b8251156128855782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156128cf5781810151838201526020016128b7565b50505050905090810190601f1680156128fc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74735361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c63616e6e6f74207365742073746172742074696d6520696e20746865207061737473616665436f6c6c61725472616e736665723a205472616e73666572206661696c6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220770f38aa571b82c01da5cd47260f052555dd99bd6b7538bb572d34b22b07805164736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003ca0d76c832bcee736e8bd9f2cc387a0f0d359de0000000000000000000000000617b1d89318583f9ede54052cae38ff808511d20000000000000000000000000000000000000000000000000000000067a1f5a1
-----Decoded View---------------
Arg [0] : _collarToken (address): 0x3Ca0D76c832BCeE736e8bd9F2cC387A0f0D359dE
Arg [1] : _devaddress (address): 0x0617B1D89318583F9ede54052CaE38ff808511d2
Arg [2] : _startTime (uint256): 1738667425
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000003ca0d76c832bcee736e8bd9f2cc387a0f0d359de
Arg [1] : 0000000000000000000000000617b1d89318583f9ede54052cae38ff808511d2
Arg [2] : 0000000000000000000000000000000000000000000000000000000067a1f5a1
Deployed Bytecode Sourcemap
39617:14586:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52582:497;;;;;;;;;;;;;;;;-1:-1:-1;52582:497:0;;:::i;:::-;;42873:95;;;:::i;:::-;;;;;;;;;;;;;;;;52227:306;;;;;;;;;;;;;;;;-1:-1:-1;52227:306:0;;:::i;41357:26::-;;;;;;;;;;;;;;;;-1:-1:-1;41357:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;41357:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41598:34;;;:::i;41124:40::-;;;:::i;:::-;;;;-1:-1:-1;;;;;41124:40:0;;;;;;;;;;;;;;41203:25;;;:::i;41804:53::-;;;:::i;49575:126::-;;;;;;;;;;;;;;;;-1:-1:-1;49575:126:0;;;;;;;:::i;46519:1493::-;;;;;;;;;;;;;;;;-1:-1:-1;46519:1493:0;;:::i;50585:558::-;;;;;;;;;;;;;;;;-1:-1:-1;50585:558:0;;:::i;53116:590::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53116:590:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53116:590:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53116:590:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53116:590:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53116:590:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53116:590:0;;;;;;;;;;-1:-1:-1;53116:590:0;;-1:-1:-1;53116:590:0;-1:-1:-1;53116:590:0;:::i;46263:180::-;;;:::i;28084:148::-;;;:::i;53774:426::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53774:426:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53774:426:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53774:426:0;;-1:-1:-1;53774:426:0;;-1:-1:-1;;;;;53774:426:0:i;41683:24::-;;;:::i;43243:941::-;;;;;;;;;;;;;;;;-1:-1:-1;43243:941:0;;;-1:-1:-1;;;;;43243:941:0;;;;;;;;;;;;;;;;;;;:::i;45117:1063::-;;;;;;;;;;;;;;;;-1:-1:-1;45117:1063:0;;;;;;-1:-1:-1;;;;;45117:1063:0;;:::i;52002:217::-;;;;;;;;;;;;;;;;-1:-1:-1;52002:217:0;-1:-1:-1;;;;;52002:217:0;;:::i;27433:87::-;;;:::i;44928:121::-;;;;;;;;;;;;;;;;-1:-1:-1;44928:121:0;;;;;;;:::i;41439:64::-;;;;;;;;;;;;;;;;-1:-1:-1;41439:64:0;;;;;;-1:-1:-1;;;;;41439:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;42976:44;;;;;;;;;;;;;;;;-1:-1:-1;42976:44:0;-1:-1:-1;;;;;42976:44:0;;:::i;:::-;;;;;;;;;;;;;;;;;;51777:217;;;;;;;;;;;;;;;;-1:-1:-1;51777:217:0;-1:-1:-1;;;;;51777:217:0;;:::i;44298:555::-;;;;;;;;;;;;;;;;-1:-1:-1;44298:555:0;;;;;;;;;;;;;;;;;;;;;:::i;48083:1440::-;;;;;;;;;;;;;;;;-1:-1:-1;48083:1440:0;;;;;;;:::i;41279:42::-;;;:::i;28387:244::-;;;;;;;;;;;;;;;;-1:-1:-1;28387:244:0;-1:-1:-1;;;;;28387:244:0;;:::i;41171:25::-;;;:::i;52582:497::-;27664:12;:10;:12::i;:::-;-1:-1:-1;;;;;27653:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27653:23:0;;27645:68;;;;;-1:-1:-1;;;27645:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27645:68:0;;;;;;;;;;;;;;;52682:15:::1;52670:9;;:27;52662:60;;;::::0;;-1:-1:-1;;;52662:60:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;52662:60:0;;;;;;;;;;;;;::::1;;52775:15;52757;:33;52735:116;;;;-1:-1:-1::0;;;52735:116:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52868:9;52864:116;52887:8;:15:::0;52883:19;::::1;52864:116;;;52953:15;52924:8;52933:1;52924:11;;;;;;;;;::::0;;;::::1;::::0;;;:26:::1;:11;::::0;;::::1;;:26;:44:::0;52904:3:::1;;52864:116;;;-1:-1:-1::0;53000:9:0::1;:27:::0;;;53045:26:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;52582:497:::0;:::o;42873:95::-;42945:8;:15;42873:95;:::o;52227:306::-;27664:12;:10;:12::i;:::-;-1:-1:-1;;;;;27653:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27653:23:0;;27645:68;;;;;-1:-1:-1;;;27645:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27645:68:0;;;;;;;;;;;;;;;41848:9:::1;52324:21;:42;;52316:62;;;::::0;;-1:-1:-1;;;52316:62:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;52316:62:0;;;;;;;;;;;;;::::1;;52389:17;:15;:17::i;:::-;52417:15;:39:::0;;;52472:53:::1;::::0;;;;;;;52491:10:::1;::::0;52472:53:::1;::::0;;;;;::::1;::::0;;::::1;52227:306:::0;:::o;41357:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41357:26:0;;;;-1:-1:-1;41357:26:0;;;;;;;;;;:::o;41598:34::-;;;;:::o;41124:40::-;;;:::o;41203:25::-;;;-1:-1:-1;;;;;41203:25:0;;:::o;41804:53::-;41848:9;41804:53;:::o;49575:126::-;1768:1;2374:7;;:19;;2366:63;;;;;-1:-1:-1;;;2366:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1768:1;2507:7;:18;49657:36:::1;49667:4:::0;49673:10:::1;49685:7:::0;49657:9:::1;:36::i;:::-;-1:-1:-1::0;;1724:1:0;2686:22;;49575:126::o;46519:1493::-;46571:21;46595:8;46604:4;46595:14;;;;;;;;;;;;;;;;;;46571:38;;46643:4;:19;;;46624:15;:38;46620:77;;46679:7;;;46620:77;46713:13;;;;:18;;:42;;-1:-1:-1;46735:15:0;;;;:20;46713:42;46709:133;;;46794:15;46772:19;;;;:37;46824:7;;46709:133;46854:18;46875:51;46889:4;:19;;;46910:15;46875:13;:51::i;:::-;46854:72;;46937:20;46960:73;47017:15;;46960:52;46996:4;:15;;;46960:31;46975:15;;46960:10;:14;;:31;;;;:::i;:::-;:35;;:52::i;:::-;:56;;:73::i;:::-;46937:96;-1:-1:-1;47044:17:0;47064:20;46937:96;47081:2;47064:16;:20::i;:::-;47044:40;;47095:20;47118:58;47163:12;47118:40;47148:9;47118:11;-1:-1:-1;;;;;47118:23:0;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47118:25:0;;:29;:40::i;:::-;:44;;:58::i;:::-;47095:81;;41753:14;47253:12;:33;47249:451;;47371:10;;-1:-1:-1;;;;;47354:11:0;:16;;;;;47371:10;47383:20;:12;47400:2;47383:16;:20::i;:::-;47354:50;;;;;;;;;;;;;-1:-1:-1;;;;;47354:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47419:45:0;;;-1:-1:-1;;;47419:45:0;;47444:4;47419:45;;;;;;;;;;;;-1:-1:-1;;;;;47419:11:0;:16;;-1:-1:-1;47419:16:0;;-1:-1:-1;47419:45:0;;;;;-1:-1:-1;;47419:45:0;;;;;;;-1:-1:-1;47419:16:0;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47249:451;;;47580:48;47602:11;-1:-1:-1;;;;;47602:23:0;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47602:25:0;41753:14;;47580:21;:48::i;:::-;47565:63;;47643:11;-1:-1:-1;;;;;47643:16:0;;47668:4;47675:12;47643:45;;;;;;;;;;;;;-1:-1:-1;;;;;47643:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47249:451;47716:17;;47712:243;;47914:13;;;;47842:101;;47887:41;;:22;:12;47904:4;47887:16;:22::i;:41::-;47842:22;;;;;:26;:101::i;:::-;47817:22;;;:126;47712:243;47989:15;47967:4;:19;;:37;;;;46519:1493;;;;;;;:::o;50585:558::-;1768:1;2374:7;;:19;;2366:63;;;;;-1:-1:-1;;;2366:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1768:1;2507:7;:18;;;;50657:21:::1;50681:8;50690:4;50681:14;;;;;;;;;::::0;;;::::1;::::0;;;50730;;;50681::::1;50730::::0;;;;;;;50745:10:::1;50730:26:::0;;;;;;;50784:11;;50806:15;;;-1:-1:-1;50832:15:0;::::1;:19:::0;;;;50681:14;::::1;;50862:12:::0;;50681:14;;-1:-1:-1;50730:26:0;;50784:11;50862:54:::1;::::0;-1:-1:-1;;;;;50862:12:0;;::::1;::::0;50784:11;50862:25:::1;:54::i;:::-;50951:6;50933:4;:13;;;:24;50929:148;;50990:13;::::0;::::1;::::0;:25:::1;::::0;51008:6;50990:17:::1;:25::i;:::-;50974:13;::::0;::::1;:41:::0;50929:148:::1;;;51064:1;51048:13;::::0;::::1;:17:::0;50929:148:::1;51092:43;::::0;;;;;;;51122:4;;51110:10:::1;::::0;51092:43:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;1724:1:0;2686:22;;-1:-1:-1;;50585:558:0:o;53116:590::-;27664:12;:10;:12::i;:::-;-1:-1:-1;;;;;27653:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27653:23:0;;27645:68;;;;;-1:-1:-1;;;27645:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27645:68:0;;;;;;;;;;;;;;;53306:9:::1;53301:211;53321:22:::0;;::::1;53301:211;;;53365:26;53376:11;;53388:1;53376:14;;;;;;;;;;;;;;;53365:26;;:10;:26::i;:::-;53406:27;53436:8;53445:11;;53457:1;53445:14;;;;;;;;;;;;;;;53436:24;;;;;;;;;;;::::0;;;::::1;::::0;;53475:21:::1;53436:24;::::0;;::::1;;53475:21:::0;::::1;:25:::0;;;;53345:3;;;::::1;::::0;-1:-1:-1;53301:211:0::1;;;;53529:9;53524:175;53544:19:::0;;::::1;53524:175;;;53585:24;53612:8;53621;;53630:1;53621:11;;;;;;;;;;;;;;;53612:21;;;;;;;;;;;;;;;;;;;;53585:48;;53669:15;;53685:1;53669:18;;;;;;;;;::::0;;;::::1;;53648;::::0;;::::1;:39:::0;-1:-1:-1;53565:3:0::1;53524:175;;;;53116:590:::0;;;;;;:::o;46263:180::-;46325:8;:15;46308:14;46351:85;46379:6;46373:3;:12;46351:85;;;46409:15;46420:3;46409:10;:15::i;:::-;46387:5;;46351:85;;;;46263:180;:::o;28084:148::-;27664:12;:10;:12::i;:::-;-1:-1:-1;;;;;27653:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27653:23:0;;27645:68;;;;;-1:-1:-1;;;27645:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27645:68:0;;;;;;;;;;;;;;;28191:1:::1;28175:6:::0;;28154:40:::1;::::0;-1:-1:-1;;;;;28175:6:0;;::::1;::::0;28154:40:::1;::::0;28191:1;;28154:40:::1;28222:1;28205:19:::0;;-1:-1:-1;;;;;;28205:19:0::1;::::0;;28084:148::o;53774:426::-;27664:12;:10;:12::i;:::-;-1:-1:-1;;;;;27653:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27653:23:0;;27645:68;;;;;-1:-1:-1;;;27645:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27645:68:0;;;;;;;;;;;;;;;53904:8:::1;53913:4;53904:14;;;;;;;;;;;;;;;;;;;;:25;;;53933:1;53904:30;53896:63;;;::::0;;-1:-1:-1;;;53896:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;53896:63:0;;;;;;;;;;;;;::::1;;53977:9;53972:221;53996:14;:21;53992:1;:25;53972:221;;;54039:142;54067:4;54039:142;;54090:14;54105:1;54090:17;;;;;;;;;;;;;;54126:8;:14;54135:4;54126:14;;;;;;;;;;;;;:33;54141:14;54156:1;54141:17;;;;;;;;;;;;;;-1:-1:-1::0;;;;;54126:33:0::1;-1:-1:-1::0;;;;;54126:33:0::1;;;;;;;;;;;;:40;;;54039:9;:142::i;:::-;54019:3;;53972:221;;;;53774:426:::0;;:::o;41683:24::-;;;;:::o;43243:941::-;27664:12;:10;:12::i;:::-;-1:-1:-1;;;;;27653:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27653:23:0;;27645:68;;;;;-1:-1:-1;;;27645:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27645:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;43086:23:0;::::1;;::::0;;;:13:::1;:23;::::0;;;;;43367:8;;43086:23:::1;;:32;43078:70;;;::::0;;-1:-1:-1;;;43078:70:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;43413:3:::2;43396:13;:20;;;;43388:70;;;;-1:-1:-1::0;;;43388:70:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43473:11;43469:61;;;43501:17;:15;:17::i;:::-;43540:33;::::0;;-1:-1:-1;;;43540:33:0;;43567:4:::2;43540:33;::::0;::::2;::::0;;;-1:-1:-1;;;;;43540:18:0;::::2;::::0;::::2;::::0;:33;;;;;::::2;::::0;;;;;;;;:18;:33;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;;43627:9:0::2;::::0;43584:22:::2;::::0;43609:15:::2;:27;:57;;43657:9;;43609:57;;;43639:15;43609:57;43695:15;::::0;43584:82;;-1:-1:-1;43695:32:0::2;::::0;43715:11;43695:19:::2;:32::i;:::-;43677:15;:50;;;;43764:4;43738:13;:23;43752:8;-1:-1:-1::0;;;;;43738:23:0::2;-1:-1:-1::0;;;;;43738:23:0::2;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;43779:8;43807:267;;;;;;;;43844:8;-1:-1:-1::0;;;;;43807:267:0::2;;;;;43883:11;43807:267;;;;43929:14;43807:267;;;;43981:1;43807:267;;;;44015:13;43807:267;;;;;;44057:1;43807:267;;::::0;43779:306:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;43779:306:0::2;;;;;-1:-1:-1::0;;;;;43779:306:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44127:1;44109:8;:15;;;;:19;44101:75;44138:8;44149:11;44162:13;44101:75;;;;-1:-1:-1::0;;;;;44101:75:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43159:1;27724::::1;43243:941:::0;;;;:::o;45117:1063::-;45192:7;45212:21;45236:8;45245:4;45236:14;;;;;;;;;;;;;;;;45285;;;45236;45285;;;;;;;-1:-1:-1;;;;;45285:21:0;;;;;;;;;;;45236:14;;;;;45345:22;;;;45400:19;;;;45236:14;;-1:-1:-1;45345:22:0;45382:15;:37;:59;;;;-1:-1:-1;45423:13:0;;;;:18;;45382:59;:82;;;;;45463:1;45445:15;;:19;45382:82;45378:712;;;45481:18;45502:51;45516:4;:19;;;45537:15;45502:13;:51::i;:::-;45481:72;;45568:20;45591:73;45648:15;;45591:52;45627:4;:15;;;45591:31;45606:15;;45591:10;:14;;:31;;;;:::i;:73::-;45568:96;-1:-1:-1;45679:17:0;45699:20;45568:96;45716:2;45699:16;:20::i;:::-;45679:40;;45748:20;45771:58;45816:12;45771:40;45801:9;45771:11;-1:-1:-1;;;;;45771:23:0;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:58;45748:81;;41753:14;45848:12;:32;45844:136;;;45916:48;45938:11;-1:-1:-1;;;;;45938:23:0;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45916:48;45901:63;;45844:136;46063:13;;;;46014:64;;46036:41;;:22;:12;46053:4;46036:16;:22::i;:41::-;46014:17;;:21;:64::i;:::-;45994:84;;45378:712;;;;;46107:65;46156:4;:15;;;46107:44;46146:4;46107:34;46123:17;46107:4;:11;;;:15;;:34;;;;:::i;:44::-;:48;;:65::i;:::-;46100:72;;;;;45117:1063;;;;;:::o;52002:217::-;27664:12;:10;:12::i;:::-;-1:-1:-1;;;;;27653:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27653:23:0;;27645:68;;;;;-1:-1:-1;;;27645:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27645:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;52084:25:0;::::1;52076:46;;;::::0;;-1:-1:-1;;;52076:46:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;52076:46:0;;;;;;;;;;;;;::::1;;52133:10;:24:::0;;-1:-1:-1;;;;;;52133:24:0::1;-1:-1:-1::0;;;;;52133:24:0;::::1;::::0;;::::1;::::0;;;52173:38:::1;::::0;52187:10:::1;::::0;52173:38:::1;::::0;-1:-1:-1;;52173:38:0::1;52002:217:::0;:::o;27433:87::-;27479:7;27506:6;-1:-1:-1;;;;;27506:6:0;27433:87;:::o;44928:121::-;45000:7;45027:14;:3;45035:5;45027:7;:14::i;:::-;45020:21;44928:121;-1:-1:-1;;;44928:121:0:o;41439:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;42976:44::-;;;;;;;;;;;;;;;:::o;51777:217::-;27664:12;:10;:12::i;:::-;-1:-1:-1;;;;;27653:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27653:23:0;;27645:68;;;;;-1:-1:-1;;;27645:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27645:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;51859:25:0;::::1;51851:46;;;::::0;;-1:-1:-1;;;51851:46:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;51851:46:0;;;;;;;;;;;;;::::1;;51908:10;:24:::0;;-1:-1:-1;;;;;;51908:24:0::1;-1:-1:-1::0;;;;;51908:24:0;::::1;::::0;;::::1;::::0;;;51948:38:::1;::::0;51962:10:::1;::::0;51948:38:::1;::::0;-1:-1:-1;;51948:38:0::1;51777:217:::0;:::o;44298:555::-;27664:12;:10;:12::i;:::-;-1:-1:-1;;;;;27653:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27653:23:0;;27645:68;;;;;-1:-1:-1;;;27645:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27645:68:0;;;;;;;;;;;;;;;44441:3:::1;44424:13;:20;;;;44416:70;;;;-1:-1:-1::0;;;44416:70:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44501:11;44497:61;;;44529:17;:15;:17::i;:::-;44586:63;44637:11;44586:46;44606:8;44615:4;44606:14;;;;;;;;;;;;;;;;;;:25;;;44586:15;;:19;;:46;;;;:::i;:63::-;44568:15;:81;;;;44688:11;44660:8;44669:4;44660:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;44740:13;44710:8;44719:4;44710:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;44779:4;44771:74;44793:8;44802:4;44793:14;;;;;;;;;::::0;;;::::1;::::0;;;;::::1;::::0;;::::1;;:22:::0;44771:74:::1;::::0;;-1:-1:-1;;;;;44793:22:0;;::::1;44771:74:::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;::::1;44298:555:::0;;;;:::o;48083:1440::-;1768:1;2374:7;;:19;;2366:63;;;;;-1:-1:-1;;;2366:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1768:1;2507:7;:18;;;;48164:21:::1;48188:8;48197:4;48188:14;;;;;;;;;::::0;;;::::1;::::0;;;48237;;;48188::::1;48237::::0;;;;;;;48252:10:::1;48237:26:::0;;;;;;;;;48188:14;::::1;::::0;;::::1;::::0;-1:-1:-1;48274:16:0::1;48246:4:::0;48274:10:::1;:16::i;:::-;48307:11:::0;;:15;48303:313:::1;;48339:15;48357:142;48483:4;:15;;;48357:103;48455:4;48357:75;48409:4;:22;;;48357:4;:29;;;:51;;:75;;;;:::i;:142::-;48339:160:::0;-1:-1:-1;48518:11:0;;48514:91:::1;;48550:39;48569:10;48581:7;48550:18;:39::i;:::-;48303:313;;48632:11:::0;;48628:760:::1;;48684:12:::0;;:37:::1;::::0;;-1:-1:-1;;;48684:37:0;;48715:4:::1;48684:37;::::0;::::1;::::0;;;48660:21:::1;::::0;-1:-1:-1;;;;;48684:12:0::1;::::0;:22:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;:12;:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;48684:37:0;48736:12;;:61:::1;::::0;;-1:-1:-1;;;48736:61:0;;48762:10:::1;48736:61;::::0;::::1;::::0;48782:4:::1;48736:61:::0;;;;;;;;;;;;48684:37;;-1:-1:-1;;;;;;48736:12:0;;::::1;::::0;:25:::1;::::0;:61;;;;;48684:37:::1;::::0;48736:61;;;;;;;;:12:::1;::::0;:61;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;48822:12:0;;:37:::1;::::0;;-1:-1:-1;;;48822:37:0;;48853:4:::1;48822:37;::::0;::::1;::::0;;;:56:::1;::::0;48864:13;;-1:-1:-1;;;;;48822:12:0;;::::1;::::0;:22:::1;::::0;:37;;;;;48736:61:::1;::::0;48822:37;;;;;;;;:12;:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;48822:37:0;;:41:::1;:56::i;:::-;48899:17;::::0;::::1;::::0;48812:66;;-1:-1:-1;48899:17:0::1;;:21:::0;48895:482:::1;;48974:17;::::0;::::1;::::0;48941:18:::1;::::0;48962:41:::1;::::0;48997:5:::1;::::0;48962:30:::1;::::0;:7;;48974:17:::1;;48962:11;:30::i;:41::-;49048:10;::::0;49022:12;;48941:62;;-1:-1:-1;49022:49:0::1;::::0;-1:-1:-1;;;;;49022:12:0;;::::1;::::0;49048:10:::1;48941:62:::0;49022:25:::1;:49::i;:::-;49104:11:::0;;:40:::1;::::0;49133:10;;49104:24:::1;::::0;49120:7;49104:15:::1;:24::i;:40::-;49090:54:::0;;49179:13:::1;::::0;::::1;::::0;:42:::1;::::0;49210:10;;49179:26:::1;::::0;49197:7;49179:17:::1;:26::i;:42::-;49163:13;::::0;::::1;:58:::0;-1:-1:-1;48895:482:0::1;;;49278:13;::::0;::::1;::::0;:26:::1;::::0;49296:7;49278:17:::1;:26::i;:::-;49262:13;::::0;::::1;:42:::0;49337:11;;:24:::1;::::0;49353:7;49337:15:::1;:24::i;:::-;49323:38:::0;;48895:482:::1;48628:760;;49432:22;::::0;::::1;::::0;49416:11;;:49:::1;::::0;49460:4:::1;::::0;49416:39:::1;::::0;:15:::1;:39::i;:49::-;49398:15;::::0;::::1;:67:::0;49481:34:::1;::::0;;;;;;;49501:4;;49489:10:::1;::::0;49481:34:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;1724:1:0;2686:22;;-1:-1:-1;;48083:1440:0:o;41279:42::-;;;;:::o;28387:244::-;27664:12;:10;:12::i;:::-;-1:-1:-1;;;;;27653:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27653:23:0;;27645:68;;;;;-1:-1:-1;;;27645:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27645:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;28476:22:0;::::1;28468:73;;;;-1:-1:-1::0;;;28468:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28578:6;::::0;;28557:38:::1;::::0;-1:-1:-1;;;;;28557:38:0;;::::1;::::0;28578:6;::::1;::::0;28557:38:::1;::::0;::::1;28606:6;:17:::0;;-1:-1:-1;;;;;;28606:17:0::1;-1:-1:-1::0;;;;;28606:17:0;;;::::1;::::0;;;::::1;::::0;;28387:244::o;41171:25::-;;;-1:-1:-1;;;;;41171:25:0;;:::o;25984:106::-;26072:10;25984:106;:::o;49709:805::-;49794:21;49818:8;49827:4;49818:14;;;;;;;;;;;;;;;;49867;;;49818;49867;;;;;;;-1:-1:-1;;;;;49867:21:0;;;;;;;;;;;49909:11;;49818:14;;;;;;;;-1:-1:-1;;;49909:22:0;49901:53;;;;;-1:-1:-1;;;49901:53:0;;;;;;;;;;;;-1:-1:-1;;;49901:53:0;;;;;;;;;;;;;;;49965:16;49976:4;49965:10;:16::i;:::-;49992:15;50010:70;50064:4;:15;;;50010:49;50054:4;50010:39;50026:4;:22;;;50010:4;:11;;;:15;;:39;;;;:::i;:70::-;49992:88;-1:-1:-1;50095:11:0;;50091:78;;50123:34;50142:5;50149:7;50123:18;:34::i;:::-;50183:11;;50179:204;;50225:11;;:24;;50241:7;50225:15;:24::i;:::-;50211:38;;50264:12;;:50;;-1:-1:-1;;;;;50264:12:0;50298:5;50306:7;50264:25;:50::i;:::-;50345:13;;;;:26;;50363:7;50345:17;:26::i;:::-;50329:13;;;:42;50179:204;50427:22;;;;50411:11;;:49;;50455:4;;50411:39;;:15;:39::i;:49::-;50393:15;;;:67;50476:30;;;;;;;;50492:4;;-1:-1:-1;;;;;50476:30:0;;;;;;;;;;;;49709:805;;;;;;:::o;17622:220::-;17680:7;17704:6;17700:20;;-1:-1:-1;17719:1:0;17712:8;;17700:20;17743:5;;;17747:1;17743;:5;:1;17767:5;;;;;:10;17759:56;;;;-1:-1:-1;;;17759:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18320:153;18378:7;18410:1;18406;:5;18398:44;;;;;-1:-1:-1;;;18398:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;18464:1;18460;:5;;;;;;;18320:153;-1:-1:-1;;;18320:153:0:o;16743:179::-;16801:7;16833:5;;;16857:6;;;;16849:46;;;;;-1:-1:-1;;;16849:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;17205:158;17263:7;17296:1;17291;:6;;17283:49;;;;;-1:-1:-1;;;17283:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17350:5:0;;;17205:158::o;22047:211::-;22191:58;;;-1:-1:-1;;;;;22191:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22191:58:0;-1:-1:-1;;;22191:58:0;;;22164:86;;22184:5;;22164:19;:86::i;51265:456::-;51343:17;51363:11;-1:-1:-1;;;;;51363:21:0;;51393:4;51363:36;;;;;;;;;;;;;-1:-1:-1;;;;;51363:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51363:36:0;;-1:-1:-1;51410:20:0;51453:19;;;51449:191;;;51507:11;-1:-1:-1;;;;;51507:20:0;;51528:3;51533:9;51507:36;;;;;;;;;;;;;-1:-1:-1;;;;;51507:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51507:36:0;;-1:-1:-1;51449:191:0;;;51594:11;-1:-1:-1;;;;;51594:20:0;;51615:3;51620:7;51594:34;;;;;;;;;;;;;-1:-1:-1;;;;;51594:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51594:34:0;;-1:-1:-1;51449:191:0;51658:15;51650:63;;;;-1:-1:-1;;;51650:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51265:456;;;;:::o;24582:774::-;25006:23;25032:69;25060:4;25032:69;;;;;;;;;;;;;;;;;25040:5;-1:-1:-1;;;;;25032:27:0;;;:69;;;;;:::i;:::-;25116:17;;25006:95;;-1:-1:-1;25116:21:0;25112:237;;25271:10;25260:30;;;;;;;;;;;;;;;-1:-1:-1;25260:30:0;25252:85;;;;-1:-1:-1;;;25252:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6400:195;6503:12;6535:52;6557:6;6565:4;6571:1;6574:12;6535:21;:52::i;:::-;6528:59;6400:195;-1:-1:-1;;;;6400:195:0:o;7452:530::-;7579:12;7637:5;7612:21;:30;;7604:81;;;;-1:-1:-1;;;7604:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7704:18;7715:6;7704:10;:18::i;:::-;7696:60;;;;;-1:-1:-1;;;7696:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7830:12;7844:23;7871:6;-1:-1:-1;;;;;7871:11:0;7891:5;7899:4;7871:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7871:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7829:75;;;;7922:52;7940:7;7949:10;7961:12;7922:17;:52::i;:::-;7915:59;7452:530;-1:-1:-1;;;;;;;7452:530:0:o;3482:422::-;3849:20;3888:8;;;3482:422::o;9992:742::-;10107:12;10136:7;10132:595;;;-1:-1:-1;10167:10:0;10160:17;;10132:595;10281:17;;:21;10277:439;;10544:10;10538:17;10605:15;10592:10;10588:2;10584:19;10577:44;10492:148;10687:12;10680:20;;-1:-1:-1;;;10680:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://770f38aa571b82c01da5cd47260f052555dd99bd6b7538bb572d34b22b078051
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.