ERC-20
Overview
Max Total Supply
53,881,687.538826023909320093 SSSIP-UNO
Holders
96
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,050 SSSIP-UNOValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x29B4b867...3c378aCF4 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
RiskPool
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 800 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./RiskPoolERC20.sol"; import "./interfaces/ISingleSidedReinsurancePool.sol"; import "./interfaces/IRiskPool.sol"; import "./libraries/TransferHelper.sol"; contract RiskPool is IRiskPool, RiskPoolERC20 { // ERC20 attributes string public name; string public symbol; address public SSRP; address public override currency; // for now we should accept only UNO uint256 public override lpPriceUno; uint256 public MIN_LP_CAPITAL = 1e20; event LogCancelWithdrawRequest(address indexed _user, uint256 _amount, uint256 _amountInUno); event LogPolicyClaim(address indexed _user, uint256 _amount); event LogMigrateLP(address indexed _user, address indexed _migrateTo, uint256 _unoAmount); event LogLeaveFromPending(address indexed _user, uint256 _withdrawLpAmount, uint256 _withdrawUnoAmount); constructor( string memory _name, string memory _symbol, address _SSRP, address _currency ) { require(_SSRP != address(0), "UnoRe: zero pool address"); name = _name; symbol = _symbol; SSRP = _SSRP; currency = _currency; lpPriceUno = 1e18; if (_currency == address(0)) { MIN_LP_CAPITAL = 7 * 1e15; } } modifier onlySSRP() { require(msg.sender == SSRP, "UnoRe: RiskPool Forbidden"); _; } receive() external payable {} /** * @dev Users can stake only through Cohort */ function enter(address _from, uint256 _amount) external override onlySSRP { _mint(_from, (_amount * 1e18) / lpPriceUno); } /** * @param _amount UNO amount to withdraw */ function leaveFromPoolInPending(address _to, uint256 _amount) external override onlySSRP { require(totalSupply() > 0, "UnoRe: There's no remaining in the pool"); uint256 requestAmountInLP = (_amount * 1e18) / lpPriceUno; require( (requestAmountInLP + uint256(withdrawRequestPerUser[_to].pendingAmount)) <= balanceOf(_to), "UnoRe: lp balance overflow" ); _withdrawRequest(_to, requestAmountInLP, _amount); } function leaveFromPending(address _to) external override onlySSRP returns (uint256, uint256) { uint256 cryptoBalance = currency != address(0) ? IERC20(currency).balanceOf(address(this)) : address(this).balance; uint256 pendingAmount = uint256(withdrawRequestPerUser[_to].pendingAmount); require(cryptoBalance > 0, "UnoRe: zero uno balance"); require(balanceOf(_to) >= pendingAmount, "UnoRe: lp balance overflow"); uint256 pendingAmountInUno = (pendingAmount * lpPriceUno) / 1e18; if (cryptoBalance - MIN_LP_CAPITAL > pendingAmountInUno) { _withdrawImplement(_to); if (currency != address(0)) { TransferHelper.safeTransfer(currency, _to, pendingAmountInUno); } else { TransferHelper.safeTransferETH(_to, pendingAmountInUno); } emit LogLeaveFromPending(_to, pendingAmount, pendingAmountInUno); return (pendingAmount, pendingAmountInUno); } else { _withdrawImplementIrregular(_to, ((cryptoBalance - MIN_LP_CAPITAL) * 1e18) / lpPriceUno); if (currency != address(0)) { TransferHelper.safeTransfer(currency, _to, cryptoBalance - MIN_LP_CAPITAL); } else { TransferHelper.safeTransferETH(_to, cryptoBalance - MIN_LP_CAPITAL); } emit LogLeaveFromPending(_to, ((cryptoBalance - MIN_LP_CAPITAL) * 1e18) / lpPriceUno, cryptoBalance - MIN_LP_CAPITAL); return (((cryptoBalance - MIN_LP_CAPITAL) * 1e18) / lpPriceUno, cryptoBalance - MIN_LP_CAPITAL); } } function cancelWithrawRequest(address _to) external override onlySSRP returns (uint256, uint256) { uint256 _pendingAmount = uint256(withdrawRequestPerUser[_to].pendingAmount); require(_pendingAmount > 0, "UnoRe: zero amount"); _cancelWithdrawRequest(_to); emit LogCancelWithdrawRequest(_to, _pendingAmount, (_pendingAmount * lpPriceUno) / 1e18); return (_pendingAmount, (_pendingAmount * lpPriceUno) / 1e18); } function policyClaim(address _to, uint256 _amount) external override onlySSRP returns (uint256 realClaimAmount) { uint256 cryptoBalance = currency != address(0) ? IERC20(currency).balanceOf(address(this)) : address(this).balance; require(totalSupply() > 0, "UnoRe: zero lp balance"); require(cryptoBalance > MIN_LP_CAPITAL, "UnoRe: minimum UNO capital underflow"); if (cryptoBalance - MIN_LP_CAPITAL > _amount) { if (currency != address(0)) { TransferHelper.safeTransfer(currency, _to, _amount); } else { TransferHelper.safeTransferETH(_to, _amount); } realClaimAmount = _amount; emit LogPolicyClaim(_to, _amount); } else { if (currency != address(0)) { TransferHelper.safeTransfer(currency, _to, cryptoBalance - MIN_LP_CAPITAL); } else { TransferHelper.safeTransferETH(_to, cryptoBalance - MIN_LP_CAPITAL); } realClaimAmount = cryptoBalance - MIN_LP_CAPITAL; emit LogPolicyClaim(_to, cryptoBalance - MIN_LP_CAPITAL); } cryptoBalance = currency != address(0) ? IERC20(currency).balanceOf(address(this)) : address(this).balance; lpPriceUno = (cryptoBalance * 1e18) / totalSupply(); // UNO value per lp } function migrateLP( address _to, address _migrateTo, bool _isUnLocked ) external override onlySSRP returns (uint256) { require(_migrateTo != address(0), "UnoRe: zero address"); if (_isUnLocked && withdrawRequestPerUser[_to].pendingAmount > 0) { uint256 pendingAmountInUno = (uint256(withdrawRequestPerUser[_to].pendingAmount) * lpPriceUno) / 1e18; uint256 cryptoBalance = currency != address(0) ? IERC20(currency).balanceOf(address(this)) : address(this).balance; if (pendingAmountInUno < cryptoBalance - MIN_LP_CAPITAL) { if (currency != address(0)) { TransferHelper.safeTransfer(currency, _to, pendingAmountInUno); } else { TransferHelper.safeTransferETH(_to, pendingAmountInUno); } _withdrawImplement(_to); } else { if (currency != address(0)) { TransferHelper.safeTransfer(currency, _to, cryptoBalance - MIN_LP_CAPITAL); } else { TransferHelper.safeTransferETH(_to, cryptoBalance - MIN_LP_CAPITAL); } _withdrawImplementIrregular(_to, ((cryptoBalance - MIN_LP_CAPITAL) * 1e18) / lpPriceUno); } } else { if (withdrawRequestPerUser[_to].pendingAmount > 0) { _cancelWithdrawRequest(_to); } } uint256 unoBalance = (balanceOf(_to) * lpPriceUno) / 1e18; if (currency != address(0)) { TransferHelper.safeTransfer(currency, _migrateTo, unoBalance); } else { TransferHelper.safeTransferETH(_migrateTo, unoBalance); } _burn(_to, balanceOf(_to)); emit LogMigrateLP(_to, _migrateTo, unoBalance); return unoBalance; } function setMinLPCapital(uint256 _minLPCapital) external override onlySSRP { require(_minLPCapital > 0, "UnoRe: not allow zero value"); MIN_LP_CAPITAL = _minLPCapital; } function getWithdrawRequest(address _to) external view override onlySSRP returns ( uint256, uint256, uint256 ) { return ( uint256(withdrawRequestPerUser[_to].pendingAmount), uint256(withdrawRequestPerUser[_to].requestTime), withdrawRequestPerUser[_to].pendingUno ); } function getTotalWithdrawRequestAmount() external view override onlySSRP returns (uint256) { return totalWithdrawPending; } function transfer(address recipient, uint256 amount) external override returns (bool) { require( balanceOf(msg.sender) - uint256(withdrawRequestPerUser[msg.sender].pendingAmount) >= amount, "ERC20: transfer amount exceeds balance or pending WR" ); _transfer(msg.sender, recipient, amount); ISingleSidedReinsurancePool(SSRP).lpTransfer(msg.sender, recipient, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) external override returns (bool) { require( balanceOf(sender) - uint256(withdrawRequestPerUser[sender].pendingAmount) >= amount, "ERC20: transfer amount exceeds balance or pending WR" ); _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][msg.sender]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); _approve(sender, msg.sender, currentAllowance - amount); ISingleSidedReinsurancePool(SSRP).lpTransfer(sender, recipient, amount); return true; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "./interfaces/IRiskPoolERC20.sol"; import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin 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 RiskPoolERC20 is Context, IRiskPoolERC20 { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) internal _allowances; struct UserWithdrawRequestInfo { uint128 pendingAmount; uint128 requestTime; uint256 pendingUno; } mapping(address => UserWithdrawRequestInfo) internal withdrawRequestPerUser; uint256 internal totalWithdrawPending; uint256 private _totalSupply; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor() {} /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() external view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) external virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) external 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) external 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 ) external virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); _approve(sender, _msgSender(), currentAllowance - amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) external virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) external virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); _approve(_msgSender(), spender, currentAllowance - subtractedValue); return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `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); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); _balances[sender] = senderBalance - amount; _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(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: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); _balances[account] = accountBalance - amount; _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} function _withdrawRequest( address _user, uint256 _amount, uint256 _amountInUno ) internal { require(balanceOf(_user) >= _amount, "UnoRe: balance overflow"); if (withdrawRequestPerUser[_user].pendingAmount == 0 && withdrawRequestPerUser[_user].requestTime == 0) { withdrawRequestPerUser[_user] = UserWithdrawRequestInfo({ pendingAmount: uint128(_amount), requestTime: uint128(block.timestamp), pendingUno: _amountInUno }); } else { withdrawRequestPerUser[_user].pendingAmount += uint128(_amount); withdrawRequestPerUser[_user].pendingUno += _amountInUno; withdrawRequestPerUser[_user].requestTime = uint128(block.timestamp); } totalWithdrawPending += _amount; } function _withdrawImplement(address _user) internal { require(uint256(withdrawRequestPerUser[_user].pendingAmount) > 0, "UnoRe: zero claim amount"); uint256 _pendingAmount = withdrawRequestPerUser[_user].pendingAmount; totalWithdrawPending -= _pendingAmount; _burn(_user, _pendingAmount); delete withdrawRequestPerUser[_user]; } function _withdrawImplementIrregular(address _user, uint256 _amount) internal { require(uint256(withdrawRequestPerUser[_user].pendingAmount) > 0, "UnoRe: zero claim amount"); require(uint256(withdrawRequestPerUser[_user].pendingAmount) >= _amount, "UnoRe: pending amount overflow"); uint256 _pendingAmount = withdrawRequestPerUser[_user].pendingAmount; totalWithdrawPending -= _pendingAmount; _burn(_user, _amount); delete withdrawRequestPerUser[_user]; } function _cancelWithdrawRequest(address _user) internal { uint256 _pendingAmount = withdrawRequestPerUser[_user].pendingAmount; totalWithdrawPending -= _pendingAmount; delete withdrawRequestPerUser[_user]; } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.0; interface ISingleSidedReinsurancePool { function updatePool() external; function enterInPool(uint256 _amount) external; function leaveFromPoolInPending(uint256 _amount) external; function leaveFromPending() external; function harvest(address _to) external; function lpTransfer( address _from, address _to, uint256 _amount ) external; function riskPool() external view returns (address); }
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.0; interface IRiskPool { function enter(address _from, uint256 _amount) external; function leaveFromPoolInPending(address _to, uint256 _amount) external; function leaveFromPending(address _to) external returns (uint256, uint256); function cancelWithrawRequest(address _to) external returns (uint256, uint256); function policyClaim(address _to, uint256 _amount) external returns (uint256 realClaimAmount); function migrateLP( address _to, address _migrateTo, bool _isUnLocked ) external returns (uint256); function setMinLPCapital(uint256 _minLPCapital) external; function currency() external view returns (address); function getTotalWithdrawRequestAmount() external view returns (uint256); function getWithdrawRequest(address _to) external view returns ( uint256, uint256, uint256 ); function lpPriceUno() external view returns (uint256); }
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.0; // from Uniswap TransferHelper library library TransferHelper { function safeApprove( address token, address to, uint256 value ) internal { // bytes4(keccak256(bytes('approve(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), "TransferHelper::safeApprove: approve failed"); } function safeTransfer( address token, address to, uint256 value ) internal { // bytes4(keccak256(bytes('transfer(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), "TransferHelper::safeTransfer: transfer failed"); } function safeTransferFrom( address token, address from, address to, uint256 value ) internal { // bytes4(keccak256(bytes('transferFrom(address,address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), "TransferHelper::transferFrom: transferFrom failed"); } function safeTransferETH(address to, uint256 value) internal { (bool success, ) = to.call{value: value}(new bytes(0)); require(success, "TransferHelper::safeTransferETH: ETH transfer failed"); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IRiskPoolERC20 { /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 800 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_SSRP","type":"address"},{"internalType":"address","name":"_currency","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_amountInUno","type":"uint256"}],"name":"LogCancelWithdrawRequest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_withdrawLpAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_withdrawUnoAmount","type":"uint256"}],"name":"LogLeaveFromPending","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":true,"internalType":"address","name":"_migrateTo","type":"address"},{"indexed":false,"internalType":"uint256","name":"_unoAmount","type":"uint256"}],"name":"LogMigrateLP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"LogPolicyClaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MIN_LP_CAPITAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SSRP","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"cancelWithrawRequest","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currency","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"enter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getTotalWithdrawRequestAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"getWithdrawRequest","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"leaveFromPending","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"leaveFromPoolInPending","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lpPriceUno","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"address","name":"_migrateTo","type":"address"},{"internalType":"bool","name":"_isUnLocked","type":"bool"}],"name":"migrateLP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"policyClaim","outputs":[{"internalType":"uint256","name":"realClaimAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minLPCapital","type":"uint256"}],"name":"setMinLPCapital","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405268056bc75e2d63100000600a553480156200001e57600080fd5b5060405162002c3338038062002c33833981016040819052620000419162000262565b6001600160a01b038216620000735760405162461bcd60e51b81526004016200006a90620002ee565b60405180910390fd5b835162000088906005906020870190620000f4565b5082516200009e906006906020860190620000f4565b50600780546001600160a01b038085166001600160a01b031992831617909255600880549284169290911682179055670de0b6b3a7640000600955620000ea576618de76816d8000600a555b5050505062000378565b828054620001029062000325565b90600052602060002090601f01602090048101928262000126576000855562000171565b82601f106200014157805160ff191683800117855562000171565b8280016001018555821562000171579182015b828111156200017157825182559160200191906001019062000154565b506200017f92915062000183565b5090565b5b808211156200017f576000815560010162000184565b80516001600160a01b0381168114620001b257600080fd5b919050565b600082601f830112620001c8578081fd5b81516001600160401b0380821115620001e557620001e562000362565b6040516020601f8401601f19168201810183811183821017156200020d576200020d62000362565b604052838252858401810187101562000224578485fd5b8492505b8383101562000247578583018101518284018201529182019162000228565b838311156200025857848185840101525b5095945050505050565b6000806000806080858703121562000278578384fd5b84516001600160401b03808211156200028f578586fd5b6200029d88838901620001b7565b95506020870151915080821115620002b3578485fd5b50620002c287828801620001b7565b935050620002d3604086016200019a565b9150620002e3606086016200019a565b905092959194509250565b60208082526018908201527f556e6f52653a207a65726f20706f6f6c20616464726573730000000000000000604082015260600190565b6002810460018216806200033a57607f821691505b602082108114156200035c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6128ab80620003886000396000f3fe60806040526004361061018f5760003560e01c80637e348b7d116100d6578063d7e3655a1161007f578063e5a6b10f11610059578063e5a6b10f14610462578063e95aa8d314610477578063f53fb2001461048c57610196565b8063d7e3655a1461040d578063dcd0532014610422578063dd62ed3e1461044257610196565b8063a457c2d7116100b0578063a457c2d71461039f578063a9059cbb146103bf578063b20ecd15146103df57610196565b80637e348b7d1461034a57806393b6b86c1461036a57806395d89b411461038a57610196565b80632e4a014211610138578063395093511161011257806339509351146102e857806347bcdb2a1461030857806370a082311461032a57610196565b80632e4a014214610286578063313ce567146102a65780633613302f146102c857610196565b806318160ddd1161016957806318160ddd1461021557806323b872dd146102375780632ccae8961461025757610196565b806306fdde031461019b578063095ea7b3146101c657806311ca7399146101f357610196565b3661019657005b600080fd5b3480156101a757600080fd5b506101b06104a1565b6040516101bd919061200b565b60405180910390f35b3480156101d257600080fd5b506101e66101e1366004611f1e565b61052f565b6040516101bd9190612000565b3480156101ff57600080fd5b5061020861054c565b6040516101bd9190611faf565b34801561022157600080fd5b5061022a61055b565b6040516101bd9190612713565b34801561024357600080fd5b506101e6610252366004611ee3565b610561565b34801561026357600080fd5b50610277610272366004611e4a565b610692565b6040516101bd9392919061272a565b34801561029257600080fd5b5061022a6102a1366004611f1e565b6106fd565b3480156102b257600080fd5b506102bb610a18565b6040516101bd9190612740565b3480156102d457600080fd5b5061022a6102e3366004611e9d565b610a1d565b3480156102f457600080fd5b506101e6610303366004611f1e565b610d5e565b34801561031457600080fd5b50610328610323366004611f1e565b610dad565b005b34801561033657600080fd5b5061022a610345366004611e4a565b610e85565b34801561035657600080fd5b50610328610365366004611f1e565b610ea4565b34801561037657600080fd5b50610328610385366004611f63565b610efc565b34801561039657600080fd5b506101b0610f4b565b3480156103ab57600080fd5b506101e66103ba366004611f1e565b610f58565b3480156103cb57600080fd5b506101e66103da366004611f1e565b610fd3565b3480156103eb57600080fd5b506103ff6103fa366004611e4a565b61109b565b6040516101bd92919061271c565b34801561041957600080fd5b5061022a6113b4565b34801561042e57600080fd5b506103ff61043d366004611e4a565b6113ba565b34801561044e57600080fd5b5061022a61045d366004611e6b565b6114c0565b34801561046e57600080fd5b506102086114eb565b34801561048357600080fd5b5061022a6114fa565b34801561049857600080fd5b5061022a61152e565b600580546104ae90612813565b80601f01602080910402602001604051908101604052809291908181526020018280546104da90612813565b80156105275780601f106104fc57610100808354040283529160200191610527565b820191906000526020600020905b81548152906001019060200180831161050a57829003601f168201915b505050505081565b600061054361053c611534565b8484611538565b50600192915050565b6007546001600160a01b031681565b60045490565b6001600160a01b03831660009081526002602052604081205482906001600160801b031661058e86610e85565b61059891906127d0565b10156105bf5760405162461bcd60e51b81526004016105b6906124a5565b60405180910390fd5b6105ca8484846115ec565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561060e5760405162461bcd60e51b81526004016105b6906123aa565b610622853361061d86856127d0565b611538565b6007546040516274d72160e51b81526001600160a01b0390911690630e9ae4209061065590889088908890600401611fc3565b600060405180830381600087803b15801561066f57600080fd5b505af1158015610683573d6000803e3d6000fd5b50600198975050505050505050565b600754600090819081906001600160a01b031633146106c35760405162461bcd60e51b81526004016105b6906125da565b5050506001600160a01b0316600090815260026020526040902080546001909101546001600160801b0380831693600160801b9093041691565b6007546000906001600160a01b0316331461072a5760405162461bcd60e51b81526004016105b6906125da565b6008546000906001600160a01b031661074357476107c3565b6008546040516370a0823160e01b81526001600160a01b03909116906370a0823190610773903090600401611faf565b60206040518083038186803b15801561078b57600080fd5b505afa15801561079f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c39190611f7b565b905060006107cf61055b565b116107ec5760405162461bcd60e51b81526004016105b690612081565b600a54811161080d5760405162461bcd60e51b81526004016105b6906120b8565b82600a548261081c91906127d0565b11156108a2576008546001600160a01b03161561084f5760085461084a906001600160a01b0316858561171f565b610859565b6108598484611821565b829150836001600160a01b03167f3eff38a5593bd626ebea5fa8096047f41bed92d9c75cf4a4050216aea6def362846040516108959190612713565b60405180910390a2610952565b6008546001600160a01b0316156108dd57600854600a546108d8916001600160a01b03169086906108d390856127d0565b61171f565b6108f4565b6108f484600a54836108ef91906127d0565b611821565b600a5461090190826127d0565b9150836001600160a01b03167f3eff38a5593bd626ebea5fa8096047f41bed92d9c75cf4a4050216aea6def362600a548361093c91906127d0565b6040516109499190612713565b60405180910390a25b6008546001600160a01b031661096857476109e8565b6008546040516370a0823160e01b81526001600160a01b03909116906370a0823190610998903090600401611faf565b60206040518083038186803b1580156109b057600080fd5b505afa1580156109c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e89190611f7b565b90506109f261055b565b610a0482670de0b6b3a76400006127b1565b610a0e9190612791565b6009555092915050565b601290565b6007546000906001600160a01b03163314610a4a5760405162461bcd60e51b81526004016105b6906125da565b6001600160a01b038316610a705760405162461bcd60e51b81526004016105b690612180565b818015610a9d57506001600160a01b0384166000908152600260205260409020546001600160801b031615155b15610c64576009546001600160a01b0385166000908152600260205260408120549091670de0b6b3a764000091610add91906001600160801b03166127b1565b610ae79190612791565b6008549091506000906001600160a01b0316610b035747610b83565b6008546040516370a0823160e01b81526001600160a01b03909116906370a0823190610b33903090600401611faf565b60206040518083038186803b158015610b4b57600080fd5b505afa158015610b5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b839190611f7b565b9050600a5481610b9391906127d0565b821015610bdf576008546001600160a01b031615610bc757600854610bc2906001600160a01b0316878461171f565b610bd1565b610bd18683611821565b610bda866118ae565b610c5d565b6008546001600160a01b031615610c1557600854600a54610c10916001600160a01b03169088906108d390856127d0565b610c27565b610c2786600a54836108ef91906127d0565b610c5d86600954600a5484610c3c91906127d0565b610c4e90670de0b6b3a76400006127b1565b610c589190612791565b611953565b5050610c94565b6001600160a01b0384166000908152600260205260409020546001600160801b031615610c9457610c9484611a3a565b6000670de0b6b3a7640000600954610cab87610e85565b610cb591906127b1565b610cbf9190612791565b6008549091506001600160a01b031615610cef57600854610cea906001600160a01b0316858361171f565b610cf9565b610cf98482611821565b610d0b85610d0687610e85565b611a96565b836001600160a01b0316856001600160a01b03167fb644c280a27f46639994a63e4feb334394bfd8ca28bb6b0cda104f57d541981983604051610d4e9190612713565b60405180910390a3949350505050565b6000610543610d6b611534565b848460016000610d79611534565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205461061d9190612779565b6007546001600160a01b03163314610dd75760405162461bcd60e51b81526004016105b6906125da565b6000610de161055b565b11610dfe5760405162461bcd60e51b81526004016105b69061234d565b600954600090610e1683670de0b6b3a76400006127b1565b610e209190612791565b9050610e2b83610e85565b6001600160a01b038416600090815260026020526040902054610e57906001600160801b031683612779565b1115610e755760405162461bcd60e51b81526004016105b690612546565b610e80838284611b90565b505050565b6001600160a01b0381166000908152602081905260409020545b919050565b6007546001600160a01b03163314610ece5760405162461bcd60e51b81526004016105b6906125da565b610ef88260095483670de0b6b3a7640000610ee991906127b1565b610ef39190612791565b611d6b565b5050565b6007546001600160a01b03163314610f265760405162461bcd60e51b81526004016105b6906125da565b60008111610f465760405162461bcd60e51b81526004016105b6906126a5565b600a55565b600680546104ae90612813565b60008060016000610f67611534565b6001600160a01b0390811682526020808301939093526040918201600090812091881681529252902054905082811015610fb35760405162461bcd60e51b81526004016105b690612648565b610fc9610fbe611534565b8561061d86856127d0565b5060019392505050565b33600081815260026020526040812054909183916001600160801b031690610ffa90610e85565b61100491906127d0565b10156110225760405162461bcd60e51b81526004016105b6906124a5565b61102d3384846115ec565b6007546040516274d72160e51b81526001600160a01b0390911690630e9ae4209061106090339087908790600401611fc3565b600060405180830381600087803b15801561107a57600080fd5b505af115801561108e573d6000803e3d6000fd5b5060019695505050505050565b60075460009081906001600160a01b031633146110ca5760405162461bcd60e51b81526004016105b6906125da565b6008546000906001600160a01b03166110e35747611163565b6008546040516370a0823160e01b81526001600160a01b03909116906370a0823190611113903090600401611faf565b60206040518083038186803b15801561112b57600080fd5b505afa15801561113f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111639190611f7b565b6001600160a01b0385166000908152600260205260409020549091506001600160801b0316816111a55760405162461bcd60e51b81526004016105b690612611565b806111af86610e85565b10156111cd5760405162461bcd60e51b81526004016105b690612546565b6000670de0b6b3a7640000600954836111e691906127b1565b6111f09190612791565b905080600a548461120191906127d0565b111561129657611210866118ae565b6008546001600160a01b03161561123d57600854611238906001600160a01b0316878361171f565b611247565b6112478682611821565b856001600160a01b03167f535c1088af46a351970267b3e201e5a9b53e365fec02e4fe54e6eb22496f1ea0838360405161128292919061271c565b60405180910390a290935091506113af9050565b6112ab86600954600a5486610c3c91906127d0565b6008546001600160a01b0316156112e157600854600a546112dc916001600160a01b03169088906108d390876127d0565b6112f3565b6112f386600a54856108ef91906127d0565b856001600160a01b03167f535c1088af46a351970267b3e201e5a9b53e365fec02e4fe54e6eb22496f1ea0600954600a548661132f91906127d0565b61134190670de0b6b3a76400006127b1565b61134b9190612791565b600a5461135890876127d0565b60405161136692919061271c565b60405180910390a2600954600a5461137e90856127d0565b61139090670de0b6b3a76400006127b1565b61139a9190612791565b600a546113a790856127d0565b945094505050505b915091565b600a5481565b60075460009081906001600160a01b031633146113e95760405162461bcd60e51b81526004016105b6906125da565b6001600160a01b0383166000908152600260205260409020546001600160801b0316806114285760405162461bcd60e51b81526004016105b6906122df565b61143184611a3a565b836001600160a01b03167f09c6481cb228ea7f61ceb67c8e708038eb74bbb68cfcc54a9cfca199087ecfb782670de0b6b3a76400006009548561147491906127b1565b61147e9190612791565b60405161148c92919061271c565b60405180910390a280670de0b6b3a7640000600954836114ac91906127b1565b6114b69190612791565b9250925050915091565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6008546001600160a01b031681565b6007546000906001600160a01b031633146115275760405162461bcd60e51b81526004016105b6906125da565b5060035490565b60095481565b3390565b6001600160a01b03831661155e5760405162461bcd60e51b81526004016105b690612502565b6001600160a01b0382166115845760405162461bcd60e51b81526004016105b69061213e565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906115df908590612713565b60405180910390a3505050565b6001600160a01b0383166116125760405162461bcd60e51b81526004016105b690612448565b6001600160a01b0382166116385760405162461bcd60e51b81526004016105b69061203e565b611643838383610e80565b6001600160a01b0383166000908152602081905260409020548181101561167c5760405162461bcd60e51b81526004016105b6906121ee565b61168682826127d0565b6001600160a01b0380861660009081526020819052604080822093909355908516815290812080548492906116bc908490612779565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117069190612713565b60405180910390a3611719848484610e80565b50505050565b600080846001600160a01b031663a9059cbb8585604051602401611744929190611fe7565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516117929190611f93565b6000604051808303816000865af19150503d80600081146117cf576040519150601f19603f3d011682016040523d82523d6000602084013e6117d4565b606091505b50915091508180156117fe5750805115806117fe5750808060200190518101906117fe9190611f47565b61181a5760405162461bcd60e51b81526004016105b69061257d565b5050505050565b604080516000808252602082019092526001600160a01b03841690839060405161184b9190611f93565b60006040518083038185875af1925050503d8060008114611888576040519150601f19603f3d011682016040523d82523d6000602084013e61188d565b606091505b5050905080610e805760405162461bcd60e51b81526004016105b69061224b565b6001600160a01b0381166000908152600260205260409020546001600160801b03166118ec5760405162461bcd60e51b81526004016105b6906121b7565b6001600160a01b038116600090815260026020526040812054600380546001600160801b039092169283926119229084906127d0565b9091555061193290508282611a96565b506001600160a01b0316600090815260026020526040812081815560010155565b6001600160a01b0382166000908152600260205260409020546001600160801b03166119915760405162461bcd60e51b81526004016105b6906121b7565b6001600160a01b0382166000908152600260205260409020546001600160801b03168111156119d25760405162461bcd60e51b81526004016105b690612316565b6001600160a01b038216600090815260026020526040812054600380546001600160801b03909216928392611a089084906127d0565b90915550611a1890508383611a96565b50506001600160a01b0316600090815260026020526040812081815560010155565b6001600160a01b038116600090815260026020526040812054600380546001600160801b03909216928392611a709084906127d0565b9091555050506001600160a01b0316600090815260026020526040812081815560010155565b6001600160a01b038216611abc5760405162461bcd60e51b81526004016105b690612407565b611ac882600083610e80565b6001600160a01b03821660009081526020819052604090205481811015611b015760405162461bcd60e51b81526004016105b6906120fc565b611b0b82826127d0565b6001600160a01b03841660009081526020819052604081209190915560048054849290611b399084906127d0565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611b7c908690612713565b60405180910390a3610e8083600084610e80565b81611b9a84610e85565b1015611bb85760405162461bcd60e51b81526004016105b6906122a8565b6001600160a01b0383166000908152600260205260409020546001600160801b0316158015611c0d57506001600160a01b038316600090815260026020526040902054600160801b90046001600160801b0316155b15611c8c57604080516060810182526001600160801b03848116825242811660208084019182528385018681526001600160a01b038916600090815260029092529490209251835491516fffffffffffffffffffffffffffffffff19909216908316178216600160801b91909216021781559051600190910155611d4f565b6001600160a01b03831660009081526002602052604081208054849290611cbd9084906001600160801b031661274e565b92506101000a8154816001600160801b0302191690836001600160801b031602179055508060026000856001600160a01b03166001600160a01b031681526020019081526020016000206001016000828254611d199190612779565b90915550506001600160a01b038316600090815260026020526040902080546001600160801b03428116600160801b0291161790555b8160036000828254611d619190612779565b9091555050505050565b6001600160a01b038216611d915760405162461bcd60e51b81526004016105b6906126dc565b611d9d60008383610e80565b8060046000828254611daf9190612779565b90915550506001600160a01b03821660009081526020819052604081208054839290611ddc908490612779565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611e1f908590612713565b60405180910390a3610ef860008383610e80565b80356001600160a01b0381168114610e9f57600080fd5b600060208284031215611e5b578081fd5b611e6482611e33565b9392505050565b60008060408385031215611e7d578081fd5b611e8683611e33565b9150611e9460208401611e33565b90509250929050565b600080600060608486031215611eb1578081fd5b611eba84611e33565b9250611ec860208501611e33565b91506040840135611ed881612864565b809150509250925092565b600080600060608486031215611ef7578283fd5b611f0084611e33565b9250611f0e60208501611e33565b9150604084013590509250925092565b60008060408385031215611f30578182fd5b611f3983611e33565b946020939093013593505050565b600060208284031215611f58578081fd5b8151611e6481612864565b600060208284031215611f74578081fd5b5035919050565b600060208284031215611f8c578081fd5b5051919050565b60008251611fa58184602087016127e7565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b600060208252825180602084015261202a8160408501602087016127e7565b601f01601f19169190910160400192915050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526016908201527f556e6f52653a207a65726f206c702062616c616e636500000000000000000000604082015260600190565b60208082526024908201527f556e6f52653a206d696e696d756d20554e4f206361706974616c20756e646572604082015263666c6f7760e01b606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526013908201527f556e6f52653a207a65726f206164647265737300000000000000000000000000604082015260600190565b60208082526018908201527f556e6f52653a207a65726f20636c61696d20616d6f756e740000000000000000604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260408201527f616c616e63650000000000000000000000000000000000000000000000000000606082015260800190565b60208082526034908201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60408201527f20455448207472616e73666572206661696c6564000000000000000000000000606082015260800190565b60208082526017908201527f556e6f52653a2062616c616e6365206f766572666c6f77000000000000000000604082015260600190565b60208082526012908201527f556e6f52653a207a65726f20616d6f756e740000000000000000000000000000604082015260600190565b6020808252601e908201527f556e6f52653a2070656e64696e6720616d6f756e74206f766572666c6f770000604082015260600190565b60208082526027908201527f556e6f52653a2054686572652773206e6f2072656d61696e696e6720696e207460408201527f686520706f6f6c00000000000000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160408201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526034908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260408201527f616c616e6365206f722070656e64696e67205752000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601a908201527f556e6f52653a206c702062616c616e6365206f766572666c6f77000000000000604082015260600190565b6020808252602d908201527f5472616e7366657248656c7065723a3a736166655472616e736665723a20747260408201527f616e73666572206661696c656400000000000000000000000000000000000000606082015260800190565b60208082526019908201527f556e6f52653a205269736b506f6f6c20466f7262696464656e00000000000000604082015260600190565b60208082526017908201527f556e6f52653a207a65726f20756e6f2062616c616e6365000000000000000000604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760408201527f207a65726f000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f556e6f52653a206e6f7420616c6c6f77207a65726f2076616c75650000000000604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b918252602082015260400190565b9283526020830191909152604082015260600190565b60ff91909116815260200190565b60006001600160801b038083168185168083038211156127705761277061284e565b01949350505050565b6000821982111561278c5761278c61284e565b500190565b6000826127ac57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156127cb576127cb61284e565b500290565b6000828210156127e2576127e261284e565b500390565b60005b838110156128025781810151838201526020016127ea565b838111156117195750506000910152565b60028104600182168061282757607f821691505b6020821081141561284857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b801515811461287257600080fd5b5056fea2646970667358221220cc374554a9c8ef8a3a7f8dcf1f8f0639fda531013d0a71b00f0c2e2fcb17b12564736f6c63430008000033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000001342b3daec4f54f5af01aaa34839626f959b362a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001253796e74686574696320535349502d4554480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000953535349502d4554480000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061018f5760003560e01c80637e348b7d116100d6578063d7e3655a1161007f578063e5a6b10f11610059578063e5a6b10f14610462578063e95aa8d314610477578063f53fb2001461048c57610196565b8063d7e3655a1461040d578063dcd0532014610422578063dd62ed3e1461044257610196565b8063a457c2d7116100b0578063a457c2d71461039f578063a9059cbb146103bf578063b20ecd15146103df57610196565b80637e348b7d1461034a57806393b6b86c1461036a57806395d89b411461038a57610196565b80632e4a014211610138578063395093511161011257806339509351146102e857806347bcdb2a1461030857806370a082311461032a57610196565b80632e4a014214610286578063313ce567146102a65780633613302f146102c857610196565b806318160ddd1161016957806318160ddd1461021557806323b872dd146102375780632ccae8961461025757610196565b806306fdde031461019b578063095ea7b3146101c657806311ca7399146101f357610196565b3661019657005b600080fd5b3480156101a757600080fd5b506101b06104a1565b6040516101bd919061200b565b60405180910390f35b3480156101d257600080fd5b506101e66101e1366004611f1e565b61052f565b6040516101bd9190612000565b3480156101ff57600080fd5b5061020861054c565b6040516101bd9190611faf565b34801561022157600080fd5b5061022a61055b565b6040516101bd9190612713565b34801561024357600080fd5b506101e6610252366004611ee3565b610561565b34801561026357600080fd5b50610277610272366004611e4a565b610692565b6040516101bd9392919061272a565b34801561029257600080fd5b5061022a6102a1366004611f1e565b6106fd565b3480156102b257600080fd5b506102bb610a18565b6040516101bd9190612740565b3480156102d457600080fd5b5061022a6102e3366004611e9d565b610a1d565b3480156102f457600080fd5b506101e6610303366004611f1e565b610d5e565b34801561031457600080fd5b50610328610323366004611f1e565b610dad565b005b34801561033657600080fd5b5061022a610345366004611e4a565b610e85565b34801561035657600080fd5b50610328610365366004611f1e565b610ea4565b34801561037657600080fd5b50610328610385366004611f63565b610efc565b34801561039657600080fd5b506101b0610f4b565b3480156103ab57600080fd5b506101e66103ba366004611f1e565b610f58565b3480156103cb57600080fd5b506101e66103da366004611f1e565b610fd3565b3480156103eb57600080fd5b506103ff6103fa366004611e4a565b61109b565b6040516101bd92919061271c565b34801561041957600080fd5b5061022a6113b4565b34801561042e57600080fd5b506103ff61043d366004611e4a565b6113ba565b34801561044e57600080fd5b5061022a61045d366004611e6b565b6114c0565b34801561046e57600080fd5b506102086114eb565b34801561048357600080fd5b5061022a6114fa565b34801561049857600080fd5b5061022a61152e565b600580546104ae90612813565b80601f01602080910402602001604051908101604052809291908181526020018280546104da90612813565b80156105275780601f106104fc57610100808354040283529160200191610527565b820191906000526020600020905b81548152906001019060200180831161050a57829003601f168201915b505050505081565b600061054361053c611534565b8484611538565b50600192915050565b6007546001600160a01b031681565b60045490565b6001600160a01b03831660009081526002602052604081205482906001600160801b031661058e86610e85565b61059891906127d0565b10156105bf5760405162461bcd60e51b81526004016105b6906124a5565b60405180910390fd5b6105ca8484846115ec565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561060e5760405162461bcd60e51b81526004016105b6906123aa565b610622853361061d86856127d0565b611538565b6007546040516274d72160e51b81526001600160a01b0390911690630e9ae4209061065590889088908890600401611fc3565b600060405180830381600087803b15801561066f57600080fd5b505af1158015610683573d6000803e3d6000fd5b50600198975050505050505050565b600754600090819081906001600160a01b031633146106c35760405162461bcd60e51b81526004016105b6906125da565b5050506001600160a01b0316600090815260026020526040902080546001909101546001600160801b0380831693600160801b9093041691565b6007546000906001600160a01b0316331461072a5760405162461bcd60e51b81526004016105b6906125da565b6008546000906001600160a01b031661074357476107c3565b6008546040516370a0823160e01b81526001600160a01b03909116906370a0823190610773903090600401611faf565b60206040518083038186803b15801561078b57600080fd5b505afa15801561079f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c39190611f7b565b905060006107cf61055b565b116107ec5760405162461bcd60e51b81526004016105b690612081565b600a54811161080d5760405162461bcd60e51b81526004016105b6906120b8565b82600a548261081c91906127d0565b11156108a2576008546001600160a01b03161561084f5760085461084a906001600160a01b0316858561171f565b610859565b6108598484611821565b829150836001600160a01b03167f3eff38a5593bd626ebea5fa8096047f41bed92d9c75cf4a4050216aea6def362846040516108959190612713565b60405180910390a2610952565b6008546001600160a01b0316156108dd57600854600a546108d8916001600160a01b03169086906108d390856127d0565b61171f565b6108f4565b6108f484600a54836108ef91906127d0565b611821565b600a5461090190826127d0565b9150836001600160a01b03167f3eff38a5593bd626ebea5fa8096047f41bed92d9c75cf4a4050216aea6def362600a548361093c91906127d0565b6040516109499190612713565b60405180910390a25b6008546001600160a01b031661096857476109e8565b6008546040516370a0823160e01b81526001600160a01b03909116906370a0823190610998903090600401611faf565b60206040518083038186803b1580156109b057600080fd5b505afa1580156109c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e89190611f7b565b90506109f261055b565b610a0482670de0b6b3a76400006127b1565b610a0e9190612791565b6009555092915050565b601290565b6007546000906001600160a01b03163314610a4a5760405162461bcd60e51b81526004016105b6906125da565b6001600160a01b038316610a705760405162461bcd60e51b81526004016105b690612180565b818015610a9d57506001600160a01b0384166000908152600260205260409020546001600160801b031615155b15610c64576009546001600160a01b0385166000908152600260205260408120549091670de0b6b3a764000091610add91906001600160801b03166127b1565b610ae79190612791565b6008549091506000906001600160a01b0316610b035747610b83565b6008546040516370a0823160e01b81526001600160a01b03909116906370a0823190610b33903090600401611faf565b60206040518083038186803b158015610b4b57600080fd5b505afa158015610b5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b839190611f7b565b9050600a5481610b9391906127d0565b821015610bdf576008546001600160a01b031615610bc757600854610bc2906001600160a01b0316878461171f565b610bd1565b610bd18683611821565b610bda866118ae565b610c5d565b6008546001600160a01b031615610c1557600854600a54610c10916001600160a01b03169088906108d390856127d0565b610c27565b610c2786600a54836108ef91906127d0565b610c5d86600954600a5484610c3c91906127d0565b610c4e90670de0b6b3a76400006127b1565b610c589190612791565b611953565b5050610c94565b6001600160a01b0384166000908152600260205260409020546001600160801b031615610c9457610c9484611a3a565b6000670de0b6b3a7640000600954610cab87610e85565b610cb591906127b1565b610cbf9190612791565b6008549091506001600160a01b031615610cef57600854610cea906001600160a01b0316858361171f565b610cf9565b610cf98482611821565b610d0b85610d0687610e85565b611a96565b836001600160a01b0316856001600160a01b03167fb644c280a27f46639994a63e4feb334394bfd8ca28bb6b0cda104f57d541981983604051610d4e9190612713565b60405180910390a3949350505050565b6000610543610d6b611534565b848460016000610d79611534565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205461061d9190612779565b6007546001600160a01b03163314610dd75760405162461bcd60e51b81526004016105b6906125da565b6000610de161055b565b11610dfe5760405162461bcd60e51b81526004016105b69061234d565b600954600090610e1683670de0b6b3a76400006127b1565b610e209190612791565b9050610e2b83610e85565b6001600160a01b038416600090815260026020526040902054610e57906001600160801b031683612779565b1115610e755760405162461bcd60e51b81526004016105b690612546565b610e80838284611b90565b505050565b6001600160a01b0381166000908152602081905260409020545b919050565b6007546001600160a01b03163314610ece5760405162461bcd60e51b81526004016105b6906125da565b610ef88260095483670de0b6b3a7640000610ee991906127b1565b610ef39190612791565b611d6b565b5050565b6007546001600160a01b03163314610f265760405162461bcd60e51b81526004016105b6906125da565b60008111610f465760405162461bcd60e51b81526004016105b6906126a5565b600a55565b600680546104ae90612813565b60008060016000610f67611534565b6001600160a01b0390811682526020808301939093526040918201600090812091881681529252902054905082811015610fb35760405162461bcd60e51b81526004016105b690612648565b610fc9610fbe611534565b8561061d86856127d0565b5060019392505050565b33600081815260026020526040812054909183916001600160801b031690610ffa90610e85565b61100491906127d0565b10156110225760405162461bcd60e51b81526004016105b6906124a5565b61102d3384846115ec565b6007546040516274d72160e51b81526001600160a01b0390911690630e9ae4209061106090339087908790600401611fc3565b600060405180830381600087803b15801561107a57600080fd5b505af115801561108e573d6000803e3d6000fd5b5060019695505050505050565b60075460009081906001600160a01b031633146110ca5760405162461bcd60e51b81526004016105b6906125da565b6008546000906001600160a01b03166110e35747611163565b6008546040516370a0823160e01b81526001600160a01b03909116906370a0823190611113903090600401611faf565b60206040518083038186803b15801561112b57600080fd5b505afa15801561113f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111639190611f7b565b6001600160a01b0385166000908152600260205260409020549091506001600160801b0316816111a55760405162461bcd60e51b81526004016105b690612611565b806111af86610e85565b10156111cd5760405162461bcd60e51b81526004016105b690612546565b6000670de0b6b3a7640000600954836111e691906127b1565b6111f09190612791565b905080600a548461120191906127d0565b111561129657611210866118ae565b6008546001600160a01b03161561123d57600854611238906001600160a01b0316878361171f565b611247565b6112478682611821565b856001600160a01b03167f535c1088af46a351970267b3e201e5a9b53e365fec02e4fe54e6eb22496f1ea0838360405161128292919061271c565b60405180910390a290935091506113af9050565b6112ab86600954600a5486610c3c91906127d0565b6008546001600160a01b0316156112e157600854600a546112dc916001600160a01b03169088906108d390876127d0565b6112f3565b6112f386600a54856108ef91906127d0565b856001600160a01b03167f535c1088af46a351970267b3e201e5a9b53e365fec02e4fe54e6eb22496f1ea0600954600a548661132f91906127d0565b61134190670de0b6b3a76400006127b1565b61134b9190612791565b600a5461135890876127d0565b60405161136692919061271c565b60405180910390a2600954600a5461137e90856127d0565b61139090670de0b6b3a76400006127b1565b61139a9190612791565b600a546113a790856127d0565b945094505050505b915091565b600a5481565b60075460009081906001600160a01b031633146113e95760405162461bcd60e51b81526004016105b6906125da565b6001600160a01b0383166000908152600260205260409020546001600160801b0316806114285760405162461bcd60e51b81526004016105b6906122df565b61143184611a3a565b836001600160a01b03167f09c6481cb228ea7f61ceb67c8e708038eb74bbb68cfcc54a9cfca199087ecfb782670de0b6b3a76400006009548561147491906127b1565b61147e9190612791565b60405161148c92919061271c565b60405180910390a280670de0b6b3a7640000600954836114ac91906127b1565b6114b69190612791565b9250925050915091565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6008546001600160a01b031681565b6007546000906001600160a01b031633146115275760405162461bcd60e51b81526004016105b6906125da565b5060035490565b60095481565b3390565b6001600160a01b03831661155e5760405162461bcd60e51b81526004016105b690612502565b6001600160a01b0382166115845760405162461bcd60e51b81526004016105b69061213e565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906115df908590612713565b60405180910390a3505050565b6001600160a01b0383166116125760405162461bcd60e51b81526004016105b690612448565b6001600160a01b0382166116385760405162461bcd60e51b81526004016105b69061203e565b611643838383610e80565b6001600160a01b0383166000908152602081905260409020548181101561167c5760405162461bcd60e51b81526004016105b6906121ee565b61168682826127d0565b6001600160a01b0380861660009081526020819052604080822093909355908516815290812080548492906116bc908490612779565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117069190612713565b60405180910390a3611719848484610e80565b50505050565b600080846001600160a01b031663a9059cbb8585604051602401611744929190611fe7565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516117929190611f93565b6000604051808303816000865af19150503d80600081146117cf576040519150601f19603f3d011682016040523d82523d6000602084013e6117d4565b606091505b50915091508180156117fe5750805115806117fe5750808060200190518101906117fe9190611f47565b61181a5760405162461bcd60e51b81526004016105b69061257d565b5050505050565b604080516000808252602082019092526001600160a01b03841690839060405161184b9190611f93565b60006040518083038185875af1925050503d8060008114611888576040519150601f19603f3d011682016040523d82523d6000602084013e61188d565b606091505b5050905080610e805760405162461bcd60e51b81526004016105b69061224b565b6001600160a01b0381166000908152600260205260409020546001600160801b03166118ec5760405162461bcd60e51b81526004016105b6906121b7565b6001600160a01b038116600090815260026020526040812054600380546001600160801b039092169283926119229084906127d0565b9091555061193290508282611a96565b506001600160a01b0316600090815260026020526040812081815560010155565b6001600160a01b0382166000908152600260205260409020546001600160801b03166119915760405162461bcd60e51b81526004016105b6906121b7565b6001600160a01b0382166000908152600260205260409020546001600160801b03168111156119d25760405162461bcd60e51b81526004016105b690612316565b6001600160a01b038216600090815260026020526040812054600380546001600160801b03909216928392611a089084906127d0565b90915550611a1890508383611a96565b50506001600160a01b0316600090815260026020526040812081815560010155565b6001600160a01b038116600090815260026020526040812054600380546001600160801b03909216928392611a709084906127d0565b9091555050506001600160a01b0316600090815260026020526040812081815560010155565b6001600160a01b038216611abc5760405162461bcd60e51b81526004016105b690612407565b611ac882600083610e80565b6001600160a01b03821660009081526020819052604090205481811015611b015760405162461bcd60e51b81526004016105b6906120fc565b611b0b82826127d0565b6001600160a01b03841660009081526020819052604081209190915560048054849290611b399084906127d0565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611b7c908690612713565b60405180910390a3610e8083600084610e80565b81611b9a84610e85565b1015611bb85760405162461bcd60e51b81526004016105b6906122a8565b6001600160a01b0383166000908152600260205260409020546001600160801b0316158015611c0d57506001600160a01b038316600090815260026020526040902054600160801b90046001600160801b0316155b15611c8c57604080516060810182526001600160801b03848116825242811660208084019182528385018681526001600160a01b038916600090815260029092529490209251835491516fffffffffffffffffffffffffffffffff19909216908316178216600160801b91909216021781559051600190910155611d4f565b6001600160a01b03831660009081526002602052604081208054849290611cbd9084906001600160801b031661274e565b92506101000a8154816001600160801b0302191690836001600160801b031602179055508060026000856001600160a01b03166001600160a01b031681526020019081526020016000206001016000828254611d199190612779565b90915550506001600160a01b038316600090815260026020526040902080546001600160801b03428116600160801b0291161790555b8160036000828254611d619190612779565b9091555050505050565b6001600160a01b038216611d915760405162461bcd60e51b81526004016105b6906126dc565b611d9d60008383610e80565b8060046000828254611daf9190612779565b90915550506001600160a01b03821660009081526020819052604081208054839290611ddc908490612779565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611e1f908590612713565b60405180910390a3610ef860008383610e80565b80356001600160a01b0381168114610e9f57600080fd5b600060208284031215611e5b578081fd5b611e6482611e33565b9392505050565b60008060408385031215611e7d578081fd5b611e8683611e33565b9150611e9460208401611e33565b90509250929050565b600080600060608486031215611eb1578081fd5b611eba84611e33565b9250611ec860208501611e33565b91506040840135611ed881612864565b809150509250925092565b600080600060608486031215611ef7578283fd5b611f0084611e33565b9250611f0e60208501611e33565b9150604084013590509250925092565b60008060408385031215611f30578182fd5b611f3983611e33565b946020939093013593505050565b600060208284031215611f58578081fd5b8151611e6481612864565b600060208284031215611f74578081fd5b5035919050565b600060208284031215611f8c578081fd5b5051919050565b60008251611fa58184602087016127e7565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b600060208252825180602084015261202a8160408501602087016127e7565b601f01601f19169190910160400192915050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526016908201527f556e6f52653a207a65726f206c702062616c616e636500000000000000000000604082015260600190565b60208082526024908201527f556e6f52653a206d696e696d756d20554e4f206361706974616c20756e646572604082015263666c6f7760e01b606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526013908201527f556e6f52653a207a65726f206164647265737300000000000000000000000000604082015260600190565b60208082526018908201527f556e6f52653a207a65726f20636c61696d20616d6f756e740000000000000000604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260408201527f616c616e63650000000000000000000000000000000000000000000000000000606082015260800190565b60208082526034908201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60408201527f20455448207472616e73666572206661696c6564000000000000000000000000606082015260800190565b60208082526017908201527f556e6f52653a2062616c616e6365206f766572666c6f77000000000000000000604082015260600190565b60208082526012908201527f556e6f52653a207a65726f20616d6f756e740000000000000000000000000000604082015260600190565b6020808252601e908201527f556e6f52653a2070656e64696e6720616d6f756e74206f766572666c6f770000604082015260600190565b60208082526027908201527f556e6f52653a2054686572652773206e6f2072656d61696e696e6720696e207460408201527f686520706f6f6c00000000000000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160408201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526034908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260408201527f616c616e6365206f722070656e64696e67205752000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601a908201527f556e6f52653a206c702062616c616e6365206f766572666c6f77000000000000604082015260600190565b6020808252602d908201527f5472616e7366657248656c7065723a3a736166655472616e736665723a20747260408201527f616e73666572206661696c656400000000000000000000000000000000000000606082015260800190565b60208082526019908201527f556e6f52653a205269736b506f6f6c20466f7262696464656e00000000000000604082015260600190565b60208082526017908201527f556e6f52653a207a65726f20756e6f2062616c616e6365000000000000000000604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760408201527f207a65726f000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f556e6f52653a206e6f7420616c6c6f77207a65726f2076616c75650000000000604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b918252602082015260400190565b9283526020830191909152604082015260600190565b60ff91909116815260200190565b60006001600160801b038083168185168083038211156127705761277061284e565b01949350505050565b6000821982111561278c5761278c61284e565b500190565b6000826127ac57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156127cb576127cb61284e565b500290565b6000828210156127e2576127e261284e565b500390565b60005b838110156128025781810151838201526020016127ea565b838111156117195750506000910152565b60028104600182168061282757607f821691505b6020821081141561284857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b801515811461287257600080fd5b5056fea2646970667358221220cc374554a9c8ef8a3a7f8dcf1f8f0639fda531013d0a71b00f0c2e2fcb17b12564736f6c63430008000033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.