More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 51,241 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Deposit | 21203207 | 6 days ago | IN | 0 ETH | 0.00125453 | ||||
Deposit | 21187329 | 9 days ago | IN | 0 ETH | 0.00401269 | ||||
Deposit | 21090126 | 22 days ago | IN | 0 ETH | 0.00088756 | ||||
Deposit | 20959807 | 40 days ago | IN | 0 ETH | 0.00096656 | ||||
Deposit | 20873837 | 52 days ago | IN | 0 ETH | 0.00073272 | ||||
Withdraw | 20863866 | 54 days ago | IN | 0 ETH | 0.00173285 | ||||
Emergency Withdr... | 20832598 | 58 days ago | IN | 0 ETH | 0.00051099 | ||||
Emergency Withdr... | 20832598 | 58 days ago | IN | 0 ETH | 0.00051085 | ||||
Withdraw | 20832598 | 58 days ago | IN | 0 ETH | 0.00152528 | ||||
Withdraw | 20832570 | 58 days ago | IN | 0 ETH | 0.00185722 | ||||
Deposit | 20723639 | 73 days ago | IN | 0 ETH | 0.00031833 | ||||
Deposit | 20652377 | 83 days ago | IN | 0 ETH | 0.00008629 | ||||
Deposit | 20497107 | 105 days ago | IN | 0 ETH | 0.00013313 | ||||
Deposit | 20431493 | 114 days ago | IN | 0 ETH | 0.0006679 | ||||
Transfer | 20353201 | 125 days ago | IN | 0 ETH | 0.00007724 | ||||
Transfer | 20353195 | 125 days ago | IN | 0 ETH | 0.00007703 | ||||
Transfer | 20353186 | 125 days ago | IN | 0 ETH | 0.00007537 | ||||
Deposit | 20277325 | 136 days ago | IN | 0 ETH | 0.00140931 | ||||
Deposit | 20210996 | 145 days ago | IN | 0 ETH | 0.00043968 | ||||
Deposit | 19993905 | 175 days ago | IN | 0 ETH | 0.0007325 | ||||
Deposit | 19815727 | 200 days ago | IN | 0 ETH | 0.00064571 | ||||
Deposit | 19557548 | 236 days ago | IN | 0 ETH | 0.00223264 | ||||
Deposit | 19268670 | 277 days ago | IN | 0 ETH | 0.00322857 | ||||
Deposit | 18909921 | 327 days ago | IN | 0 ETH | 0.00125495 | ||||
Deposit | 18893528 | 329 days ago | IN | 0 ETH | 0.00274286 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
KimchiChef
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-09-01 */ /* website: kimchi.finance This project was forked from SUSHI and YUNO projects. Unless those projects have severe vulnerabilities, this contract will be fine ██╗ ██╗██╗███╗ ███╗ ██████╗██╗ ██╗██╗ ██║ ██╔╝██║████╗ ████║██╔════╝██║ ██║██║ █████╔╝ ██║██╔████╔██║██║ ███████║██║ ██╔═██╗ ██║██║╚██╔╝██║██║ ██╔══██║██║ ██║ ██╗██║██║ ╚═╝ ██║╚██████╗██║ ██║██║ ╚═╝ ╚═╝╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ */ pragma solidity ^0.6.12; /* * @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; } } /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // KimchiToken with Governance. contract KimchiToken is ERC20("KIMCHI.finance", "KIMCHI"), Ownable { /// @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); } } contract KimchiChef is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. // // We do some fancy math here. Basically, any point in time, the amount of KIMCHIs // entitled to a user but is pending to be distributed is: // // pending reward = (user.amount * pool.accKimchiPerShare) - user.rewardDebt // // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens: // 1. The pool's `accKimchiPerShare` (and `lastRewardBlock`) gets updated. // 2. User receives the pending reward sent to his/her address. // 3. User's `amount` gets updated. // 4. User's `rewardDebt` gets updated. } // Info of each pool. struct PoolInfo { IERC20 lpToken; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. KIMCHIs to distribute per block. uint256 lastRewardBlock; // Last block number that KIMCHIs distribution occurs. uint256 accKimchiPerShare; // Accumulated KIMCHIs per share, times 1e12. See below. } // The KIMCHI TOKEN! KimchiToken public kimchi; // Dev address. address public devaddr; // Block number when bonus KIMCHI period ends. uint256 public bonusEndBlock; // KIMCHI tokens created per block. uint256 public kimchiPerBlock; // Bonus muliplier for early kimchi makers. uint256 public constant BONUS_MULTIPLIER = 1; // no bonus // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping (uint256 => mapping (address => UserInfo)) public userInfo; // Total allocation poitns. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; // The block number when KIMCHI mining starts. uint256 public startBlock; event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount); constructor( KimchiToken _kimchi, address _devaddr, uint256 _kimchiPerBlock, uint256 _startBlock, uint256 _bonusEndBlock ) public { kimchi = _kimchi; devaddr = _devaddr; kimchiPerBlock = _kimchiPerBlock; bonusEndBlock = _bonusEndBlock; startBlock = _startBlock; } function poolLength() external view returns (uint256) { return poolInfo.length; } // Add a new lp to the pool. Can only be called by the owner. // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do. function add(uint256 _allocPoint, IERC20 _lpToken, bool _withUpdate) public onlyOwner { if (_withUpdate) { massUpdatePools(); } uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolInfo.push(PoolInfo({ lpToken: _lpToken, allocPoint: _allocPoint, lastRewardBlock: lastRewardBlock, accKimchiPerShare: 0 })); } // Update the given pool's KIMCHI allocation point. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) public onlyOwner { if (_withUpdate) { massUpdatePools(); } totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint); poolInfo[_pid].allocPoint = _allocPoint; } // Return reward multiplier over the given _from to _to block. function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) { if (_to <= bonusEndBlock) { return _to.sub(_from).mul(BONUS_MULTIPLIER); } else if (_from >= bonusEndBlock) { return _to.sub(_from); } else { return bonusEndBlock.sub(_from).mul(BONUS_MULTIPLIER).add( _to.sub(bonusEndBlock) ); } } // View function to see pending KIMCHIs on frontend. function pendingKimchi(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accKimchiPerShare = pool.accKimchiPerShare; uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (block.number > pool.lastRewardBlock && lpSupply != 0) { uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 kimchiReward = multiplier.mul(kimchiPerBlock).mul(pool.allocPoint).div(totalAllocPoint); accKimchiPerShare = accKimchiPerShare.add(kimchiReward.mul(1e12).div(lpSupply)); } return user.amount.mul(accKimchiPerShare).div(1e12).sub(user.rewardDebt); } // Update reward vairables 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 mint(uint256 amount) public onlyOwner{ kimchi.mint(devaddr, amount); } // Update reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.number <= pool.lastRewardBlock) { return; } uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (lpSupply == 0) { pool.lastRewardBlock = block.number; return; } uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 kimchiReward = multiplier.mul(kimchiPerBlock).mul(pool.allocPoint).div(totalAllocPoint); kimchi.mint(devaddr, kimchiReward.div(20)); // 5% kimchi.mint(address(this), kimchiReward); pool.accKimchiPerShare = pool.accKimchiPerShare.add(kimchiReward.mul(1e12).div(lpSupply)); pool.lastRewardBlock = block.number; } // Deposit LP tokens to MasterChef for KIMCHI allocation. function deposit(uint256 _pid, uint256 _amount) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accKimchiPerShare).div(1e12).sub(user.rewardDebt); safeKimchiTransfer(msg.sender, pending); } pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount); user.amount = user.amount.add(_amount); user.rewardDebt = user.amount.mul(pool.accKimchiPerShare).div(1e12); emit Deposit(msg.sender, _pid, _amount); } // Withdraw LP tokens from MasterChef. function withdraw(uint256 _pid, uint256 _amount) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); uint256 pending = user.amount.mul(pool.accKimchiPerShare).div(1e12).sub(user.rewardDebt); safeKimchiTransfer(msg.sender, pending); user.amount = user.amount.sub(_amount); user.rewardDebt = user.amount.mul(pool.accKimchiPerShare).div(1e12); pool.lpToken.safeTransfer(address(msg.sender), _amount); emit Withdraw(msg.sender, _pid, _amount); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; pool.lpToken.safeTransfer(address(msg.sender), user.amount); emit EmergencyWithdraw(msg.sender, _pid, user.amount); user.amount = 0; user.rewardDebt = 0; } // Safe kimchi transfer function, just in case if rounding error causes pool to not have enough KIMCHIs. function safeKimchiTransfer(address _to, uint256 _amount) internal { uint256 kimchiBal = kimchi.balanceOf(address(this)); if (_amount > kimchiBal) { kimchi.transfer(_to, kimchiBal); } else { kimchi.transfer(_to, _amount); } } // Update dev address by the previous dev. function dev(address _devaddr) public { require(msg.sender == devaddr, "dev: wut?"); devaddr = _devaddr; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract KimchiToken","name":"_kimchi","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"uint256","name":"_kimchiPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_bonusEndBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bonusEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kimchi","outputs":[{"internalType":"contract KimchiToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kimchiPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","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":"pendingKimchi","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accKimchiPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600060075534801561001557600080fd5b5060405161199b38038061199b833981810160405260a081101561003857600080fd5b5080516020820151604083015160608401516080909401519293919290919060006100616100e9565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039687166001600160a01b03199182161790915560028054959096169416939093179093556004556003556008556100ed565b3390565b61189f806100fc6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806364482f79116100c357806393f1a40b1161007c57806393f1a40b1461032f578063a0712d6814610374578063acaa1c3414610391578063d49e77cd146103bd578063e2bbb158146103c5578063f2fde38b146103e857610158565b806364482f79146102a3578063715018a6146102ce5780638aa28550146102d65780638d88a90e146102de5780638da5cb5b146103045780638dbb1e3a1461030c57610158565b806326b7d2231161011557806326b7d2231461022e578063441a3e701461023657806348cd4cb11461025957806351eb05a6146102615780635312ea8e1461027e578063630b5ba11461029b57610158565b806306defa651461015d578063081e3eda146101815780631526fe271461019b57806317caf6f1146101e85780631aed6553146101f05780631eaaa045146101f8575b600080fd5b61016561040e565b604080516001600160a01b039092168252519081900360200190f35b61018961041d565b60408051918252519081900360200190f35b6101b8600480360360208110156101b157600080fd5b5035610423565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b610189610464565b61018961046a565b61022c6004803603606081101561020e57600080fd5b508035906001600160a01b0360208201351690604001351515610470565b005b6101896105eb565b61022c6004803603604081101561024c57600080fd5b50803590602001356105f1565b610189610744565b61022c6004803603602081101561027757600080fd5b503561074a565b61022c6004803603602081101561029457600080fd5b5035610971565b61022c610a0c565b61022c600480360360608110156102b957600080fd5b50803590602081013590604001351515610a2f565b61022c610b00565b610189610ba2565b61022c600480360360208110156102f457600080fd5b50356001600160a01b0316610ba7565b610165610c14565b6101896004803603604081101561032257600080fd5b5080359060200135610c23565b61035b6004803603604081101561034557600080fd5b50803590602001356001600160a01b0316610c8f565b6040805192835260208301919091528051918290030190f35b61022c6004803603602081101561038a57600080fd5b5035610cb3565b610189600480360360408110156103a757600080fd5b50803590602001356001600160a01b0316610d7e565b610165610ee0565b61022c600480360360408110156103db57600080fd5b5080359060200135610eef565b61022c600480360360208110156103fe57600080fd5b50356001600160a01b0316610ff4565b6001546001600160a01b031681565b60055490565b6005818154811061043057fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b60075481565b60035481565b6104786110ec565b6000546001600160a01b039081169116146104c8576040805162461bcd60e51b81526020600482018190526024820152600080516020611820833981519152604482015290519081900360640190fd5b80156104d6576104d6610a0c565b600060085443116104e9576008546104eb565b435b6007549091506104fb90856110f0565b600755604080516080810182526001600160a01b0394851681526020810195865290810191825260006060820181815260058054600181018255925291517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0600490920291820180546001600160a01b031916919096161790945593517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db1840155517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db28301555090517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db390910155565b60045481565b60006005838154811061060057fe5b600091825260208083208684526006825260408085203386529092529220805460049092029092019250831115610673576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61067c8461074a565b60006106b682600101546106b064e8d4a510006106aa8760030154876000015461115190919063ffffffff16565b906111aa565b906111ec565b90506106c2338261122e565b81546106ce90856111ec565b80835560038401546106eb9164e8d4a51000916106aa9190611151565b60018301558254610706906001600160a01b031633866113bc565b604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b60085481565b60006005828154811061075957fe5b906000526020600020906004020190508060020154431161077a575061096e565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156107c457600080fd5b505afa1580156107d8573d6000803e3d6000fd5b505050506040513d60208110156107ee57600080fd5b505190508061080457504360029091015561096e565b6000610814836002015443610c23565b905060006108416007546106aa866001015461083b6004548761115190919063ffffffff16565b90611151565b6001546002549192506001600160a01b03908116916340c10f1991166108688460146111aa565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156108ae57600080fd5b505af11580156108c2573d6000803e3d6000fd5b5050600154604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b15801561091957600080fd5b505af115801561092d573d6000803e3d6000fd5b5050505061095b610950846106aa64e8d4a510008561115190919063ffffffff16565b6003860154906110f0565b6003850155505043600290920191909155505b50565b60006005828154811061098057fe5b600091825260208083208584526006825260408085203380875293529093208054600490930290930180549094506109c5926001600160a01b039190911691906113bc565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001909101555050565b60055460005b81811015610a2b57610a238161074a565b600101610a12565b5050565b610a376110ec565b6000546001600160a01b03908116911614610a87576040805162461bcd60e51b81526020600482018190526024820152600080516020611820833981519152604482015290519081900360640190fd5b8015610a9557610a95610a0c565b610ad282610acc60058681548110610aa957fe5b9060005260206000209060040201600101546007546111ec90919063ffffffff16565b906110f0565b6007819055508160058481548110610ae657fe5b906000526020600020906004020160010181905550505050565b610b086110ec565b6000546001600160a01b03908116911614610b58576040805162461bcd60e51b81526020600482018190526024820152600080516020611820833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600181565b6002546001600160a01b03163314610bf2576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b60006003548211610c4457610c3d600161083b84866111ec565b9050610c89565b6003548310610c5757610c3d82846111ec565b610c3d610c6f600354846111ec90919063ffffffff16565b610acc600161083b876003546111ec90919063ffffffff16565b92915050565b60066020908152600092835260408084209091529082529020805460019091015482565b610cbb6110ec565b6000546001600160a01b03908116911614610d0b576040805162461bcd60e51b81526020600482018190526024820152600080516020611820833981519152604482015290519081900360640190fd5b600154600254604080516340c10f1960e01b81526001600160a01b03928316600482015260248101859052905191909216916340c10f1991604480830192600092919082900301818387803b158015610d6357600080fd5b505af1158015610d77573d6000803e3d6000fd5b5050505050565b60008060058481548110610d8e57fe5b600091825260208083208784526006825260408085206001600160a01b03898116875290845281862060049586029093016003810154815484516370a0823160e01b81523098810198909852935191985093969395939492909116926370a08231926024808301939192829003018186803b158015610e0c57600080fd5b505afa158015610e20573d6000803e3d6000fd5b505050506040513d6020811015610e3657600080fd5b5051600285015490915043118015610e4d57508015155b15610ead576000610e62856002015443610c23565b90506000610e896007546106aa886001015461083b6004548761115190919063ffffffff16565b9050610ea8610ea1846106aa8464e8d4a51000611151565b85906110f0565b935050505b610ed583600101546106b064e8d4a510006106aa86886000015461115190919063ffffffff16565b979650505050505050565b6002546001600160a01b031681565b600060058381548110610efe57fe5b60009182526020808320868452600682526040808520338652909252922060049091029091019150610f2f8461074a565b805415610f72576000610f6482600101546106b064e8d4a510006106aa8760030154876000015461115190919063ffffffff16565b9050610f70338261122e565b505b8154610f89906001600160a01b031633308661140e565b8054610f9590846110f0565b8082556003830154610fb29164e8d4a51000916106aa9190611151565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b610ffc6110ec565b6000546001600160a01b0390811691161461104c576040805162461bcd60e51b81526020600482018190526024820152600080516020611820833981519152604482015290519081900360640190fd5b6001600160a01b0381166110915760405162461bcd60e51b81526004018080602001828103825260268152602001806117d96026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b60008282018381101561114a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60008261116057506000610c89565b8282028284828161116d57fe5b041461114a5760405162461bcd60e51b81526004018080602001828103825260218152602001806117ff6021913960400191505060405180910390fd5b600061114a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061146e565b600061114a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611510565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561127957600080fd5b505afa15801561128d573d6000803e3d6000fd5b505050506040513d60208110156112a357600080fd5b5051905080821115611337576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561130557600080fd5b505af1158015611319573d6000803e3d6000fd5b505050506040513d602081101561132f57600080fd5b506113b79050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561138d57600080fd5b505af11580156113a1573d6000803e3d6000fd5b505050506040513d6020811015610d7757600080fd5b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526113b790849061156a565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261146890859061156a565b50505050565b600081836114fa5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156114bf5781810151838201526020016114a7565b50505050905090810190601f1680156114ec5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161150657fe5b0495945050505050565b600081848411156115625760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156114bf5781810151838201526020016114a7565b505050900390565b60606115bf826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661161b9092919063ffffffff16565b8051909150156113b7578080602001905160208110156115de57600080fd5b50516113b75760405162461bcd60e51b815260040180806020018281038252602a815260200180611840602a913960400191505060405180910390fd5b606061162a8484600085611632565b949350505050565b606061163d8561179f565b61168e576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106116cd5780518252601f1990920191602091820191016116ae565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461172f576040519150601f19603f3d011682016040523d82523d6000602084013e611734565b606091505b5091509150811561174857915061162a9050565b8051156117585780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156114bf5781810151838201526020016114a7565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061162a57505015159291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220c94b65b62225c7b49b200acaa2409270e95b81c03e9d82473f216b2d82fb280864736f6c634300060c00330000000000000000000000001e18821e69b9faa8e6e75dffe54e7e25754beda000000000000000000000000084ab8e9484c783bc76247b325473582b2a5c949700000000000000000000000000000000000000000000003635c9adc5dea000000000000000000000000000000000000000000000000000000000000000a46c940000000000000000000000000000000000000000000000000000000005f5e0ff
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c806364482f79116100c357806393f1a40b1161007c57806393f1a40b1461032f578063a0712d6814610374578063acaa1c3414610391578063d49e77cd146103bd578063e2bbb158146103c5578063f2fde38b146103e857610158565b806364482f79146102a3578063715018a6146102ce5780638aa28550146102d65780638d88a90e146102de5780638da5cb5b146103045780638dbb1e3a1461030c57610158565b806326b7d2231161011557806326b7d2231461022e578063441a3e701461023657806348cd4cb11461025957806351eb05a6146102615780635312ea8e1461027e578063630b5ba11461029b57610158565b806306defa651461015d578063081e3eda146101815780631526fe271461019b57806317caf6f1146101e85780631aed6553146101f05780631eaaa045146101f8575b600080fd5b61016561040e565b604080516001600160a01b039092168252519081900360200190f35b61018961041d565b60408051918252519081900360200190f35b6101b8600480360360208110156101b157600080fd5b5035610423565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b610189610464565b61018961046a565b61022c6004803603606081101561020e57600080fd5b508035906001600160a01b0360208201351690604001351515610470565b005b6101896105eb565b61022c6004803603604081101561024c57600080fd5b50803590602001356105f1565b610189610744565b61022c6004803603602081101561027757600080fd5b503561074a565b61022c6004803603602081101561029457600080fd5b5035610971565b61022c610a0c565b61022c600480360360608110156102b957600080fd5b50803590602081013590604001351515610a2f565b61022c610b00565b610189610ba2565b61022c600480360360208110156102f457600080fd5b50356001600160a01b0316610ba7565b610165610c14565b6101896004803603604081101561032257600080fd5b5080359060200135610c23565b61035b6004803603604081101561034557600080fd5b50803590602001356001600160a01b0316610c8f565b6040805192835260208301919091528051918290030190f35b61022c6004803603602081101561038a57600080fd5b5035610cb3565b610189600480360360408110156103a757600080fd5b50803590602001356001600160a01b0316610d7e565b610165610ee0565b61022c600480360360408110156103db57600080fd5b5080359060200135610eef565b61022c600480360360208110156103fe57600080fd5b50356001600160a01b0316610ff4565b6001546001600160a01b031681565b60055490565b6005818154811061043057fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b60075481565b60035481565b6104786110ec565b6000546001600160a01b039081169116146104c8576040805162461bcd60e51b81526020600482018190526024820152600080516020611820833981519152604482015290519081900360640190fd5b80156104d6576104d6610a0c565b600060085443116104e9576008546104eb565b435b6007549091506104fb90856110f0565b600755604080516080810182526001600160a01b0394851681526020810195865290810191825260006060820181815260058054600181018255925291517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0600490920291820180546001600160a01b031916919096161790945593517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db1840155517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db28301555090517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db390910155565b60045481565b60006005838154811061060057fe5b600091825260208083208684526006825260408085203386529092529220805460049092029092019250831115610673576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61067c8461074a565b60006106b682600101546106b064e8d4a510006106aa8760030154876000015461115190919063ffffffff16565b906111aa565b906111ec565b90506106c2338261122e565b81546106ce90856111ec565b80835560038401546106eb9164e8d4a51000916106aa9190611151565b60018301558254610706906001600160a01b031633866113bc565b604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b60085481565b60006005828154811061075957fe5b906000526020600020906004020190508060020154431161077a575061096e565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156107c457600080fd5b505afa1580156107d8573d6000803e3d6000fd5b505050506040513d60208110156107ee57600080fd5b505190508061080457504360029091015561096e565b6000610814836002015443610c23565b905060006108416007546106aa866001015461083b6004548761115190919063ffffffff16565b90611151565b6001546002549192506001600160a01b03908116916340c10f1991166108688460146111aa565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156108ae57600080fd5b505af11580156108c2573d6000803e3d6000fd5b5050600154604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b15801561091957600080fd5b505af115801561092d573d6000803e3d6000fd5b5050505061095b610950846106aa64e8d4a510008561115190919063ffffffff16565b6003860154906110f0565b6003850155505043600290920191909155505b50565b60006005828154811061098057fe5b600091825260208083208584526006825260408085203380875293529093208054600490930290930180549094506109c5926001600160a01b039190911691906113bc565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001909101555050565b60055460005b81811015610a2b57610a238161074a565b600101610a12565b5050565b610a376110ec565b6000546001600160a01b03908116911614610a87576040805162461bcd60e51b81526020600482018190526024820152600080516020611820833981519152604482015290519081900360640190fd5b8015610a9557610a95610a0c565b610ad282610acc60058681548110610aa957fe5b9060005260206000209060040201600101546007546111ec90919063ffffffff16565b906110f0565b6007819055508160058481548110610ae657fe5b906000526020600020906004020160010181905550505050565b610b086110ec565b6000546001600160a01b03908116911614610b58576040805162461bcd60e51b81526020600482018190526024820152600080516020611820833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600181565b6002546001600160a01b03163314610bf2576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b60006003548211610c4457610c3d600161083b84866111ec565b9050610c89565b6003548310610c5757610c3d82846111ec565b610c3d610c6f600354846111ec90919063ffffffff16565b610acc600161083b876003546111ec90919063ffffffff16565b92915050565b60066020908152600092835260408084209091529082529020805460019091015482565b610cbb6110ec565b6000546001600160a01b03908116911614610d0b576040805162461bcd60e51b81526020600482018190526024820152600080516020611820833981519152604482015290519081900360640190fd5b600154600254604080516340c10f1960e01b81526001600160a01b03928316600482015260248101859052905191909216916340c10f1991604480830192600092919082900301818387803b158015610d6357600080fd5b505af1158015610d77573d6000803e3d6000fd5b5050505050565b60008060058481548110610d8e57fe5b600091825260208083208784526006825260408085206001600160a01b03898116875290845281862060049586029093016003810154815484516370a0823160e01b81523098810198909852935191985093969395939492909116926370a08231926024808301939192829003018186803b158015610e0c57600080fd5b505afa158015610e20573d6000803e3d6000fd5b505050506040513d6020811015610e3657600080fd5b5051600285015490915043118015610e4d57508015155b15610ead576000610e62856002015443610c23565b90506000610e896007546106aa886001015461083b6004548761115190919063ffffffff16565b9050610ea8610ea1846106aa8464e8d4a51000611151565b85906110f0565b935050505b610ed583600101546106b064e8d4a510006106aa86886000015461115190919063ffffffff16565b979650505050505050565b6002546001600160a01b031681565b600060058381548110610efe57fe5b60009182526020808320868452600682526040808520338652909252922060049091029091019150610f2f8461074a565b805415610f72576000610f6482600101546106b064e8d4a510006106aa8760030154876000015461115190919063ffffffff16565b9050610f70338261122e565b505b8154610f89906001600160a01b031633308661140e565b8054610f9590846110f0565b8082556003830154610fb29164e8d4a51000916106aa9190611151565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b610ffc6110ec565b6000546001600160a01b0390811691161461104c576040805162461bcd60e51b81526020600482018190526024820152600080516020611820833981519152604482015290519081900360640190fd5b6001600160a01b0381166110915760405162461bcd60e51b81526004018080602001828103825260268152602001806117d96026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b60008282018381101561114a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60008261116057506000610c89565b8282028284828161116d57fe5b041461114a5760405162461bcd60e51b81526004018080602001828103825260218152602001806117ff6021913960400191505060405180910390fd5b600061114a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061146e565b600061114a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611510565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561127957600080fd5b505afa15801561128d573d6000803e3d6000fd5b505050506040513d60208110156112a357600080fd5b5051905080821115611337576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561130557600080fd5b505af1158015611319573d6000803e3d6000fd5b505050506040513d602081101561132f57600080fd5b506113b79050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561138d57600080fd5b505af11580156113a1573d6000803e3d6000fd5b505050506040513d6020811015610d7757600080fd5b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526113b790849061156a565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261146890859061156a565b50505050565b600081836114fa5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156114bf5781810151838201526020016114a7565b50505050905090810190601f1680156114ec5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161150657fe5b0495945050505050565b600081848411156115625760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156114bf5781810151838201526020016114a7565b505050900390565b60606115bf826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661161b9092919063ffffffff16565b8051909150156113b7578080602001905160208110156115de57600080fd5b50516113b75760405162461bcd60e51b815260040180806020018281038252602a815260200180611840602a913960400191505060405180910390fd5b606061162a8484600085611632565b949350505050565b606061163d8561179f565b61168e576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106116cd5780518252601f1990920191602091820191016116ae565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461172f576040519150601f19603f3d011682016040523d82523d6000602084013e611734565b606091505b5091509150811561174857915061162a9050565b8051156117585780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156114bf5781810151838201526020016114a7565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061162a57505015159291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220c94b65b62225c7b49b200acaa2409270e95b81c03e9d82473f216b2d82fb280864736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000001e18821e69b9faa8e6e75dffe54e7e25754beda000000000000000000000000084ab8e9484c783bc76247b325473582b2a5c949700000000000000000000000000000000000000000000003635c9adc5dea000000000000000000000000000000000000000000000000000000000000000a46c940000000000000000000000000000000000000000000000000000000005f5e0ff
-----Decoded View---------------
Arg [0] : _kimchi (address): 0x1E18821E69B9FAA8e6e75DFFe54E7E25754beDa0
Arg [1] : _devaddr (address): 0x84AB8e9484c783BC76247b325473582B2a5C9497
Arg [2] : _kimchiPerBlock (uint256): 1000000000000000000000
Arg [3] : _startBlock (uint256): 10775700
Arg [4] : _bonusEndBlock (uint256): 99999999
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000001e18821e69b9faa8e6e75dffe54e7e25754beda0
Arg [1] : 00000000000000000000000084ab8e9484c783bc76247b325473582b2a5c9497
Arg [2] : 00000000000000000000000000000000000000000000003635c9adc5dea00000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000a46c94
Arg [4] : 0000000000000000000000000000000000000000000000000000000005f5e0ff
Deployed Bytecode Sourcemap
33010:9081:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34409:25;;;:::i;:::-;;;;-1:-1:-1;;;;;34409:25:0;;;;;;;;;;;;;;35787:95;;;:::i;:::-;;;;;;;;;;;;;;;;34796:26;;;;;;;;;;;;;;;;-1:-1:-1;34796:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;34796:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35039:34;;;:::i;34543:28::-;;;:::i;36051:515::-;;;;;;;;;;;;;;;;-1:-1:-1;36051:515:0;;;-1:-1:-1;;;;;36051:515:0;;;;;;;;;;;;:::i;:::-;;34619:29;;;:::i;40408:658::-;;;;;;;;;;;;;;;;-1:-1:-1;40408:658:0;;;;;;;:::i;35132:25::-;;;:::i;38818:805::-;;;;;;;;;;;;;;;;-1:-1:-1;38818:805:0;;:::i;41137:356::-;;;;;;;;;;;;;;;;-1:-1:-1;41137:356:0;;:::i;38397:180::-;;;:::i;36664:304::-;;;;;;;;;;;;;;;;-1:-1:-1;36664:304:0;;;;;;;;;;;;;;:::i;21233:148::-;;;:::i;34704:44::-;;;:::i;41959:129::-;;;;;;;;;;;;;;;;-1:-1:-1;41959:129:0;-1:-1:-1;;;;;41959:129:0;;:::i;20591:79::-;;;:::i;37048:423::-;;;;;;;;;;;;;;;;-1:-1:-1;37048:423:0;;;;;;;:::i;34878:66::-;;;;;;;;;;;;;;;;-1:-1:-1;34878:66:0;;;;;;-1:-1:-1;;;;;34878:66:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;38651:93;;;;;;;;;;;;;;;;-1:-1:-1;38651:93:0;;:::i;37537:777::-;;;;;;;;;;;;;;;;-1:-1:-1;37537:777:0;;;;;;-1:-1:-1;;;;;37537:777:0;;:::i;34462:22::-;;;:::i;39694:662::-;;;;;;;;;;;;;;;;-1:-1:-1;39694:662:0;;;;;;;:::i;21536:244::-;;;;;;;;;;;;;;;;-1:-1:-1;21536:244:0;-1:-1:-1;;;;;21536:244:0;;:::i;34409:25::-;;;-1:-1:-1;;;;;34409:25:0;;:::o;35787:95::-;35859:8;:15;35787:95;:::o;34796:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34796:26:0;;;;-1:-1:-1;34796:26:0;;;:::o;35039:34::-;;;;:::o;34543:28::-;;;;:::o;36051:515::-;20813:12;:10;:12::i;:::-;20803:6;;-1:-1:-1;;;;;20803:6:0;;;:22;;;20795:67;;;;;-1:-1:-1;;;20795:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20795:67:0;;;;;;;;;;;;;;;36152:11:::1;36148:61;;;36180:17;:15;:17::i;:::-;36219:23;36260:10;;36245:12;:25;:53;;36288:10;;36245:53;;;36273:12;36245:53;36327:15;::::0;36219:79;;-1:-1:-1;36327:32:0::1;::::0;36347:11;36327:19:::1;:32::i;:::-;36309:15;:50:::0;36384:173:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;36384:173:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;36384:173:0;;;;;;36370:8:::1;:188:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;36370:188:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;-1:-1:-1;36370:188:0;;;;;;;36051:515::o;34619:29::-;;;;:::o;40408:658::-;40475:21;40499:8;40508:4;40499:14;;;;;;;;;;;;;;;;40548;;;:8;:14;;;;;;40563:10;40548:26;;;;;;;40593:11;;40499:14;;;;;;;;-1:-1:-1;40593:22:0;-1:-1:-1;40593:22:0;40585:53;;;;;-1:-1:-1;;;40585:53:0;;;;;;;;;;;;-1:-1:-1;;;40585:53:0;;;;;;;;;;;;;;;40649:16;40660:4;40649:10;:16::i;:::-;40676:15;40694:70;40748:4;:15;;;40694:49;40738:4;40694:39;40710:4;:22;;;40694:4;:11;;;:15;;:39;;;;:::i;:::-;:43;;:49::i;:::-;:53;;:70::i;:::-;40676:88;;40775:39;40794:10;40806:7;40775:18;:39::i;:::-;40839:11;;:24;;40855:7;40839:15;:24::i;:::-;40825:38;;;40908:22;;;;40892:49;;40936:4;;40892:39;;40825:38;40892:15;:39::i;:49::-;40874:15;;;:67;40952:12;;:55;;-1:-1:-1;;;;;40952:12:0;40986:10;40999:7;40952:25;:55::i;:::-;41023:35;;;;;;;;41044:4;;41032:10;;41023:35;;;;;;;;;40408:658;;;;;:::o;35132:25::-;;;;:::o;38818:805::-;38870:21;38894:8;38903:4;38894:14;;;;;;;;;;;;;;;;;;38870:38;;38939:4;:20;;;38923:12;:36;38919:75;;38976:7;;;38919:75;39023:12;;:37;;;-1:-1:-1;;;39023:37:0;;39054:4;39023:37;;;;;;39004:16;;-1:-1:-1;;;;;39023:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39023:37:0;;-1:-1:-1;39075:13:0;39071:102;;-1:-1:-1;39128:12:0;39105:20;;;;:35;39155:7;;39071:102;39183:18;39204:49;39218:4;:20;;;39240:12;39204:13;:49::i;:::-;39183:70;;39264:20;39287:72;39343:15;;39287:51;39322:4;:15;;;39287:30;39302:14;;39287:10;:14;;:30;;;;:::i;:::-;:34;;:51::i;:72::-;39370:6;;39382:7;;39264:95;;-1:-1:-1;;;;;;39370:6:0;;;;:11;;39382:7;39391:20;39264:95;39408:2;39391:16;:20::i;:::-;39370:42;;;;;;;;;;;;;-1:-1:-1;;;;;39370:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;39429:6:0;;:40;;;-1:-1:-1;;;39429:40:0;;39449:4;39429:40;;;;;;;;;;;;-1:-1:-1;;;;;39429:6:0;;;;-1:-1:-1;39429:11:0;;-1:-1:-1;39429:40:0;;;;;:6;;:40;;;;;;;;:6;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39505:64;39532:36;39559:8;39532:22;39549:4;39532:12;:16;;:22;;;;:::i;:36::-;39505:22;;;;;:26;:64::i;:::-;39480:22;;;:89;-1:-1:-1;;39603:12:0;39580:20;;;;:35;;;;-1:-1:-1;38818:805:0;;:::o;41137:356::-;41196:21;41220:8;41229:4;41220:14;;;;;;;;;;;;;;;;41269;;;:8;:14;;;;;;41284:10;41269:26;;;;;;;;41353:11;;41220:14;;;;;;;41306:12;;41220:14;;-1:-1:-1;41306:59:0;;-1:-1:-1;;;;;41306:12:0;;;;;41284:10;41306:25;:59::i;:::-;41417:11;;41381:48;;;;;;;41411:4;;41399:10;;41381:48;;;;;;;;;41454:1;41440:15;;;41466;;;;:19;-1:-1:-1;;41137:356:0:o;38397:180::-;38459:8;:15;38442:14;38485:85;38513:6;38507:3;:12;38485:85;;;38543:15;38554:3;38543:10;:15::i;:::-;38521:5;;38485:85;;;;38397:180;:::o;36664:304::-;20813:12;:10;:12::i;:::-;20803:6;;-1:-1:-1;;;;;20803:6:0;;;:22;;;20795:67;;;;;-1:-1:-1;;;20795:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20795:67:0;;;;;;;;;;;;;;;36762:11:::1;36758:61;;;36790:17;:15;:17::i;:::-;36847:63;36898:11;36847:46;36867:8;36876:4;36867:14;;;;;;;;;;;;;;;;;;:25;;;36847:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;36829:15;:81;;;;36949:11;36921:8;36930:4;36921:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;36664:304:::0;;;:::o;21233:148::-;20813:12;:10;:12::i;:::-;20803:6;;-1:-1:-1;;;;;20803:6:0;;;:22;;;20795:67;;;;;-1:-1:-1;;;20795:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20795:67:0;;;;;;;;;;;;;;;21340:1:::1;21324:6:::0;;21303:40:::1;::::0;-1:-1:-1;;;;;21324:6:0;;::::1;::::0;21303:40:::1;::::0;21340:1;;21303:40:::1;21371:1;21354:19:::0;;-1:-1:-1;;;;;;21354:19:0::1;::::0;;21233:148::o;34704:44::-;34747:1;34704:44;:::o;41959:129::-;42030:7;;-1:-1:-1;;;;;42030:7:0;42016:10;:21;42008:43;;;;;-1:-1:-1;;;42008:43:0;;;;;;;;;;;;-1:-1:-1;;;42008:43:0;;;;;;;;;;;;;;;42062:7;:18;;-1:-1:-1;;;;;;42062:18:0;-1:-1:-1;;;;;42062:18:0;;;;;;;;;;41959:129::o;20591:79::-;20629:7;20656:6;-1:-1:-1;;;;;20656:6:0;20591:79;:::o;37048:423::-;37120:7;37151:13;;37144:3;:20;37140:324;;37188:36;34747:1;37188:14;:3;37196:5;37188:7;:14::i;:36::-;37181:43;;;;37140:324;37255:13;;37246:5;:22;37242:222;;37292:14;:3;37300:5;37292:7;:14::i;37242:222::-;37346:106;37415:22;37423:13;;37415:3;:7;;:22;;;;:::i;:::-;37346:46;34747:1;37346:24;37364:5;37346:13;;:17;;:24;;;;:::i;37242:222::-;37048:423;;;;:::o;34878:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;38651:93::-;20813:12;:10;:12::i;:::-;20803:6;;-1:-1:-1;;;;;20803:6:0;;;:22;;;20795:67;;;;;-1:-1:-1;;;20795:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20795:67:0;;;;;;;;;;;;;;;38708:6:::1;::::0;38720:7:::1;::::0;38708:28:::1;::::0;;-1:-1:-1;;;38708:28:0;;-1:-1:-1;;;;;38720:7:0;;::::1;38708:28;::::0;::::1;::::0;;;;;;;;;:6;;;::::1;::::0;:11:::1;::::0;:28;;;;;:6:::1;::::0;:28;;;;;;;:6;;:28;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;38651:93:::0;:::o;37537:777::-;37612:7;37632:21;37656:8;37665:4;37656:14;;;;;;;;;;;;;;;;37705;;;:8;:14;;;;;;-1:-1:-1;;;;;37705:21:0;;;;;;;;;;;37656:14;;;;;;;37765:22;;;;37817:12;;:37;;-1:-1:-1;;;37817:37:0;;37848:4;37817:37;;;;;;;;;37656:14;;-1:-1:-1;37705:21:0;;37765:22;;37656:14;;37817:12;;;;;:22;;:37;;;;;37656:14;;37817:37;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37817:37:0;37884:20;;;;37817:37;;-1:-1:-1;37869:12:0;:35;:52;;;;-1:-1:-1;37908:13:0;;;37869:52;37865:359;;;37938:18;37959:49;37973:4;:20;;;37995:12;37959:13;:49::i;:::-;37938:70;;38023:20;38046:72;38102:15;;38046:51;38081:4;:15;;;38046:30;38061:14;;38046:10;:14;;:30;;;;:::i;:72::-;38023:95;-1:-1:-1;38153:59:0;38175:36;38202:8;38175:22;38023:95;38192:4;38175:16;:22::i;:36::-;38153:17;;:21;:59::i;:::-;38133:79;;37865:359;;;38241:65;38290:4;:15;;;38241:44;38280:4;38241:34;38257:17;38241:4;:11;;;:15;;:34;;;;:::i;:65::-;38234:72;37537:777;-1:-1:-1;;;;;;;37537:777:0:o;34462:22::-;;;-1:-1:-1;;;;;34462:22:0;;:::o;39694:662::-;39760:21;39784:8;39793:4;39784:14;;;;;;;;;;;;;;;;39833;;;:8;:14;;;;;;39848:10;39833:26;;;;;;;39784:14;;;;;;;;-1:-1:-1;39870:16:0;39842:4;39870:10;:16::i;:::-;39901:11;;:15;39897:190;;39933:15;39951:70;40005:4;:15;;;39951:49;39995:4;39951:39;39967:4;:22;;;39951:4;:11;;;:15;;:39;;;;:::i;:70::-;39933:88;;40036:39;40055:10;40067:7;40036:18;:39::i;:::-;39897:190;;40097:12;;:74;;-1:-1:-1;;;;;40097:12:0;40135:10;40156:4;40163:7;40097:29;:74::i;:::-;40196:11;;:24;;40212:7;40196:15;:24::i;:::-;40182:38;;;40265:22;;;;40249:49;;40293:4;;40249:39;;40182:38;40249:15;:39::i;:49::-;40231:15;;;:67;40314:34;;;;;;;;40334:4;;40322:10;;40314:34;;;;;;;;;39694:662;;;;:::o;21536:244::-;20813:12;:10;:12::i;:::-;20803:6;;-1:-1:-1;;;;;20803:6:0;;;:22;;;20795:67;;;;;-1:-1:-1;;;20795:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20795:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;21625:22:0;::::1;21617:73;;;;-1:-1:-1::0;;;21617:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21727:6;::::0;;21706:38:::1;::::0;-1:-1:-1;;;;;21706:38:0;;::::1;::::0;21727:6;::::1;::::0;21706:38:::1;::::0;::::1;21755:6;:17:::0;;-1:-1:-1;;;;;;21755:17:0::1;-1:-1:-1::0;;;;;21755:17:0;;;::::1;::::0;;;::::1;::::0;;21536:244::o;1419:106::-;1507:10;1419:106;:::o;5326:181::-;5384:7;5416:5;;;5440:6;;;;5432:46;;;;;-1:-1:-1;;;5432:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5498:1;5326:181;-1:-1:-1;;;5326:181:0:o;6680:471::-;6738:7;6983:6;6979:47;;-1:-1:-1;7013:1:0;7006:8;;6979:47;7050:5;;;7054:1;7050;:5;:1;7074:5;;;;;:10;7066:56;;;;-1:-1:-1;;;7066:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7627:132;7685:7;7712:39;7716:1;7719;7712:39;;;;;;;;;;;;;;;;;:3;:39::i;5790:136::-;5848:7;5875:43;5879:1;5882;5875:43;;;;;;;;;;;;;;;;;:3;:43::i;41611:292::-;41709:6;;:31;;;-1:-1:-1;;;41709:31:0;;41734:4;41709:31;;;;;;41689:17;;-1:-1:-1;;;;;41709:6:0;;:16;;:31;;;;;;;;;;;;;;:6;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41709:31:0;;-1:-1:-1;41755:19:0;;;41751:145;;;41791:6;;:31;;;-1:-1:-1;;;41791:31:0;;-1:-1:-1;;;;;41791:31:0;;;;;;;;;;;;;;;:6;;;;;:15;;:31;;;;;;;;;;;;;;:6;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41751:145:0;;-1:-1:-1;41751:145:0;;41855:6;;:29;;;-1:-1:-1;;;41855:29:0;;-1:-1:-1;;;;;41855:29:0;;;;;;;;;;;;;;;:6;;;;;:15;;:29;;;;;;;;;;;;;;:6;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41751:145;41611:292;;;:::o;16506:177::-;16616:58;;;-1:-1:-1;;;;;16616:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16616:58:0;-1:-1:-1;;;16616:58:0;;;16589:86;;16609:5;;16589:19;:86::i;16691:205::-;16819:68;;;-1:-1:-1;;;;;16819:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16819:68:0;-1:-1:-1;;;16819:68:0;;;16792:96;;16812:5;;16792:19;:96::i;:::-;16691:205;;;;:::o;8255:278::-;8341:7;8376:12;8369:5;8361:28;;;;-1:-1:-1;;;8361:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8400:9;8416:1;8412;:5;;;;;;;8255:278;-1:-1:-1;;;;;8255:278:0:o;6229:192::-;6315:7;6351:12;6343:6;;;;6335:29;;;;-1:-1:-1;;;6335:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6387:5:0;;;6229:192::o;18811:761::-;19235:23;19261:69;19289:4;19261:69;;;;;;;;;;;;;;;;;19269:5;-1:-1:-1;;;;;19261:27:0;;;:69;;;;;:::i;:::-;19345:17;;19235:95;;-1:-1:-1;19345:21:0;19341:224;;19487:10;19476:30;;;;;;;;;;;;;;;-1:-1:-1;19476:30:0;19468:85;;;;-1:-1:-1;;;19468:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13584:196;13687:12;13719:53;13742:6;13750:4;13756:1;13759:12;13719:22;:53::i;:::-;13712:60;13584:196;-1:-1:-1;;;;13584:196:0:o;14961:979::-;15091:12;15124:18;15135:6;15124:10;:18::i;:::-;15116:60;;;;;-1:-1:-1;;;15116:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15250:12;15264:23;15291:6;-1:-1:-1;;;;;15291:11:0;15311:8;15322:4;15291:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15291:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15249:78;;;;15342:7;15338:595;;;15373:10;-1:-1:-1;15366:17:0;;-1:-1:-1;15366:17:0;15338:595;15487:17;;:21;15483:439;;15750:10;15744:17;15811:15;15798:10;15794:2;15790:19;15783:44;15698:148;15886:20;;-1:-1:-1;;;15886:20:0;;;;;;;;;;;;;;;;;15893:12;;15886:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10469:619;10529:4;10997:20;;10840:66;11037:23;;;;;;:42;;-1:-1:-1;;11064:15:0;;;11029:51;-1:-1:-1;;10469:619:0:o
Swarm Source
ipfs://c94b65b62225c7b49b200acaa2409270e95b81c03e9d82473f216b2d82fb2808
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 83.31% | $160,282,041.74 | 0.00719868 | $1,153,819.33 | |
ETH | 9.49% | $0.000024 | 5,546,334,015.2676 | $131,392.65 | |
ETH | 4.29% | $152.03 | 390.9331 | $59,431.89 | |
ETH | 1.29% | $0.011729 | 1,517,877.522 | $17,803.53 | |
ETH | 0.81% | $167,135,217.78 | 0.00006741 | $11,266.45 | |
ETH | 0.68% | $155.15 | 60.7939 | $9,431.93 | |
ETH | 0.13% | $17,147.06 | 0.104 | $1,783.97 | |
ETH | <0.01% | $1 | 6 | $6.01 |
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.