Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 439 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Transfer Rigel O... | 11638543 | 1276 days ago | IN | 0 ETH | 0.00193068 | ||||
Transfer | 11630453 | 1277 days ago | IN | 0.2 ETH | 0.0021888 | ||||
Transfer | 11630150 | 1277 days ago | IN | 0.1 ETH | 0.001428 | ||||
Transfer | 11628999 | 1277 days ago | IN | 1 ETH | 0.00175104 | ||||
End Crowdsale | 11628828 | 1277 days ago | IN | 0 ETH | 0.00198464 | ||||
Withdraw Funds | 11628822 | 1277 days ago | IN | 0 ETH | 0.0018846 | ||||
Transfer | 11628662 | 1277 days ago | IN | 0.11 ETH | 0.002625 | ||||
Transfer | 11628660 | 1277 days ago | IN | 0.1 ETH | 0.0072599 | ||||
Transfer | 11628643 | 1277 days ago | IN | 0.3 ETH | 0.00393831 | ||||
Buy Rigel Tokens | 11628614 | 1277 days ago | IN | 2 ETH | 0.00874938 | ||||
Transfer | 11628543 | 1277 days ago | IN | 74.11 ETH | 0.01038165 | ||||
Transfer | 11628538 | 1277 days ago | IN | 74.11 ETH | 0.003003 | ||||
Transfer | 11628341 | 1277 days ago | IN | 0.5 ETH | 0.001617 | ||||
Transfer | 11628337 | 1277 days ago | IN | 0.5 ETH | 0.001617 | ||||
Transfer | 11627661 | 1277 days ago | IN | 0.3 ETH | 0.00963589 | ||||
Transfer | 11626056 | 1277 days ago | IN | 0.1 ETH | 0.00674512 | ||||
Transfer | 11625665 | 1278 days ago | IN | 1 ETH | 0.0048191 | ||||
Transfer | 11625550 | 1278 days ago | IN | 0.8 ETH | 0.00464274 | ||||
Transfer | 11625407 | 1278 days ago | IN | 0.1 ETH | 0.00420475 | ||||
Transfer | 11624230 | 1278 days ago | IN | 0.46 ETH | 0.00508193 | ||||
Transfer | 11624205 | 1278 days ago | IN | 0 ETH | 0.00147 | ||||
Transfer | 11624078 | 1278 days ago | IN | 0.5 ETH | 0.0080591 | ||||
Transfer | 11624073 | 1278 days ago | IN | 0.5 ETH | 0.001764 | ||||
Transfer | 11624069 | 1278 days ago | IN | 0.5 ETH | 0.001764 | ||||
Transfer | 11623985 | 1278 days ago | IN | 0.52701739 ETH | 0.00471893 |
Latest 3 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
11628822 | 1277 days ago | 298.98386493 ETH | ||||
11609029 | 1280 days ago | 0.2 ETH | ||||
11406713 | 1311 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
RigelTokensCrowdsale
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity Multiple files format)
pragma solidity ^0.6.12; import './RigelToken.sol'; interface AggregatorV3Interface { function decimals() external view returns (uint8); function description() external view returns (string memory); function version() external view returns (uint256); // getRoundData and latestRoundData should both raise "No data present" // if they do not have data to report, instead of returning unset values // which could be misinterpreted as actual reported values. function getRoundData(uint80 _roundId) external view returns ( uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound ); function latestRoundData() external view returns ( uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound ); } contract RigelTokensCrowdsale { using SafeMath for uint256; AggregatorV3Interface internal priceFeed; /** * Event for RigelTokens purchase logging * @param purchaser who paid for the tokens * @param beneficiary who got the tokens * @param value weis paid for purchase * @param RigelTokenAmount amount of Rigel tokens purchased */ event TokenPurchase( address indexed purchaser, address indexed beneficiary, uint256 value, uint256 RigelTokenAmount ); bool public isEnded = false; event Ended(uint256 totalWeiRaisedInCrowdsale,uint256 unsoldTokensTransferredToOwner); uint256 public currentRigelTokenUSDRate; //RigelTokens in $USD RigelToken public Rigeltoken; // ICO Stage // ============ enum CrowdsaleStage { PreICO, ICO ,Ended} CrowdsaleStage internal stage; //0 for PreICO , 1 for ICO Stage & 2 for Ended // ============= // Rigel Token Distribution // ============================= uint256 public totalRigelTokensForSale = 4000*(1e18); // 4000 Rigel will be sold during the whole Crowdsale // ============================== // Amount of wei raised in Crowdsale // ================== uint256 public totalWeiRaisedDuringPreICO; uint256 public totalWeiRaisedDuringICO; // =================== // Rigel Token Amount remaining to Purchase // ================== uint256 public RigelRemainingForSaleInPreICO = 1800*(1e18); uint256 public RigelRemainingForSaleInICO = 2200*(1e18); // =================== // Events event EthTransferred(string text); //Modifier address payable public owner; modifier onlyOwner() { require (msg.sender == owner); _; } // Constructor // ============ constructor() public { setCurrentUSDRate(7000000000); //rate = $70 owner = msg.sender; stage = CrowdsaleStage.PreICO; // By default it's PreICO priceFeed = AggregatorV3Interface(0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419); Rigeltoken = new RigelToken(owner); // Rigel Token Deployment } // ============= // Crowdsale Stage Management // ========================================================= // Change Crowdsale Stage. Available Options: PreICO, ICO function switchToICOStage() public onlyOwner { require(stage == CrowdsaleStage.PreICO); stage = CrowdsaleStage.ICO; setCurrentUSDRate(9000000000); //rate = $90 } // Get CurrentStage of Crowdsale function currentCrowdsaleStage() public view returns(string memory) { if(stage == CrowdsaleStage.PreICO){ return 'PreICO Stage'; } else if(stage == CrowdsaleStage.ICO){ return 'ICO Stage'; } else{ return 'Crowdsale Ended'; } } // Change the current rate function setCurrentUSDRate(uint256 _usdRate) private { currentRigelTokenUSDRate = _usdRate.div(1e8); } // ================ Stage Management Over ===================== /** * @dev Validation of an incoming purchase. Use require statements to revert state when conditions are not met. Use super to concatenate validations. * @param _beneficiary Address performing the RakeFinanceToken purchase * @param _weiAmount Value in wei involved in the purchase */ function _preValidatePurchase( address _beneficiary, uint256 _weiAmount ) internal pure { require(_beneficiary != address(0)); require(_weiAmount >= 1e17 wei,"Minimum amount to invest: 0.1 ETH"); } /** * @dev Source of tokens. Override this method to modify the way in which the crowdsale ultimately gets and sends its tokens. * @param _beneficiary Address performing the RakeFinanceToken purchase * @param _tokenAmount Number of Xfarm tokens to be purchased */ function _deliverTokens( address _beneficiary, uint256 _tokenAmount ) internal { Rigeltoken.transfer(_beneficiary, _tokenAmount); } /** * @dev Executed when a purchase has been validated and is ready to be executed. Not necessarily emits/sends tokens. * @param _beneficiary Address receiving the tokens * @param _tokenAmount Number of Xfarm tokens to be purchased */ function _processPurchase( address _beneficiary, uint256 _tokenAmount ) internal { _deliverTokens(_beneficiary, _tokenAmount); } /** * @dev Override to extend the way in which ether is converted to tokens. * @param _weiAmount Value in wei to be converted into tokens * @return Number of tokens that can be purchased with the specified _weiAmount */ function _getTokenAmount(uint256 _weiAmount) internal view returns (uint256) { uint256 latestPrice = uint256(getLatestETHPrice()); return _weiAmount.mul(latestPrice).div(currentRigelTokenUSDRate.mul(1e8)); } // RigelTokens Purchase // ========================= fallback() external payable { if(isEnded){ revert(); //Block Incoming ETH Deposits if Crowdsale has ended } buyRigelTokens(msg.sender); } function buyRigelTokens(address _beneficiary) public payable { uint256 weiAmount = msg.value; if(isEnded){ revert(); } _preValidatePurchase(_beneficiary, weiAmount); uint256 RigelTokensToBePurchased = _getTokenAmount(weiAmount); if ((stage == CrowdsaleStage.PreICO) && (RigelTokensToBePurchased > RigelRemainingForSaleInPreICO)) { revert(); //Block Incoming ETH Deposits for PreICO stage if tokens to be purchased, exceeds remaining tokens for sale in Pre ICO } else if ((stage == CrowdsaleStage.ICO) && (RigelTokensToBePurchased > RigelRemainingForSaleInICO)) { revert(); //Block Incoming ETH Deposits for ICO stage if tokens to be purchased, exceeds remaining tokens for sale in ICO } _processPurchase(_beneficiary, RigelTokensToBePurchased); emit TokenPurchase( msg.sender, _beneficiary, weiAmount, RigelTokensToBePurchased ); if (stage == CrowdsaleStage.PreICO) { totalWeiRaisedDuringPreICO = totalWeiRaisedDuringPreICO.add(weiAmount); RigelRemainingForSaleInPreICO= RigelRemainingForSaleInPreICO.sub(RigelTokensToBePurchased); if(RigelRemainingForSaleInPreICO == 0){ // Switch to ICO Stage when all tokens allocated for PreICO stage are being sold out switchToICOStage(); } } else if (stage == CrowdsaleStage.ICO) { totalWeiRaisedDuringICO = totalWeiRaisedDuringICO.add(weiAmount); RigelRemainingForSaleInICO= RigelRemainingForSaleInICO.sub(RigelTokensToBePurchased); if(RigelRemainingForSaleInICO == 0){ // End Crowdsale when all tokens allocated for For Sale are being sold out endCrowdsale(); } } } // Finish: Finalizing the Crowdsale. // ==================================================================== function endCrowdsale() public onlyOwner { require(!isEnded && stage == CrowdsaleStage.ICO,"Should be at ICO Stage to Finalize the Crowdsale"); uint256 unsoldTokens = RigelRemainingForSaleInPreICO.add(RigelRemainingForSaleInICO); if (unsoldTokens > 0) { Rigeltoken.burn(unsoldTokens); } RigelRemainingForSaleInPreICO = 0; RigelRemainingForSaleInICO = 0; stage = CrowdsaleStage.Ended; emit Ended(totalWeiRaised(),unsoldTokens); isEnded = true; } // =============================== function RigelTokenBalance(address tokenHolder) external view returns(uint256 balance){ return Rigeltoken.balanceOf(tokenHolder); } function totalWeiRaised() public view returns(uint256){ return totalWeiRaisedDuringPreICO.add(totalWeiRaisedDuringICO); } /** * Returns the latest ETH-USD price */ function getLatestETHPrice() internal view returns (int) { ( uint80 roundID, int price, uint startedAt, uint timeStamp, uint80 answeredInRound ) = priceFeed.latestRoundData(); return price; } function getLatestETHUSDPriceRounded() public view returns (uint256) { ( uint80 roundID, int price, uint startedAt, uint timeStamp, uint80 answeredInRound ) = priceFeed.latestRoundData(); return uint256(price).div(1e8); } function withdrawFunds(uint256 amountInWEI) public onlyOwner { require(amountInWEI <= address(this).balance,"Insufficient Funds"); owner.transfer(amountInWEI); emit EthTransferred("Funds Withdrawn to Owner Account"); } function transferRigelOwnership(address _bigBangAddr) public onlyOwner{ return Rigeltoken.transferOwnership(_bigBangAddr); } }
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 Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view 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 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 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; 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 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 { } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @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"); } } } // RigelToken with Governance. contract RigelToken is ERC20("Rigel Finance", "RIGEL"), Ownable { using SafeERC20 for IERC20; uint256 public maxRigel = 30000; uint256 public maxSupply = maxRigel.mul(1e18); //30,000 RIGEL TOKEN address private _recoveryOwner; constructor (address _dev) public { uint256 crowdsaleSupply = 4000; uint256 premintSupply = 1800; uint256 crowdsaleAllocation = crowdsaleSupply.mul(1e18); //4,000 RIGEL TOKEN Crowdsale Supply uint256 liquidityAllocation = premintSupply.mul(1e18); //1,800 RIGEL TOKEN Premint Supply _mint(msg.sender, crowdsaleAllocation); //mint crowdsaleSupply to Crowdsale Contract _mint(_dev, liquidityAllocation); //premintSupply will be used for Providing Liquidity on Exchanges _recoveryOwner = _dev; } /** * @dev Returns the address of the current Recovery owner. */ function recoveryOwner() public view returns (address) { return _recoveryOwner; } modifier onlyRecoveryOwner() { require (msg.sender == _recoveryOwner); _; } /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (BigBang). function mint(address _to, uint256 _amount) public onlyOwner { require(totalSupply().add(_amount)<=maxSupply,"Exceeding Max Supply"); _mint(_to, _amount); _moveDelegates(address(0), _delegates[_to], _amount); } /** * @dev Destroys `_amount` tokens from `msg.sender`, reducing the * total supply. */ function burn(uint256 _amount) public { _burn(msg.sender,_amount); _moveDelegates(_delegates[msg.sender],address(0), _amount); } // Copied and modified from YAM code: // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol // Which is copied and modified from COMPOUND: // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol /// @dev A record of each accounts delegate mapping (address => address) internal _delegates; /// @notice A checkpoint for marking number of votes from a given block struct Checkpoint { uint32 fromBlock; uint256 votes; } /// @notice A record of votes checkpoints for each account, by index mapping (address => mapping (uint32 => Checkpoint)) public checkpoints; /// @notice The number of checkpoints for each account mapping (address => uint32) public numCheckpoints; /// @notice The EIP-712 typehash for the contract's domain bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)"); /// @notice The EIP-712 typehash for the delegation struct used by the contract bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); /// @notice A record of states for signing / validating signatures mapping (address => uint) public nonces; /// @notice An event thats emitted when an account changes its delegate event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /// @notice An event thats emitted when a delegate account's vote balance changes event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance); /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegator The address to get delegatee for */ function delegates(address delegator) external view returns (address) { return _delegates[delegator]; } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) external { return _delegate(msg.sender, delegatee); } /** * @notice Delegates votes from signatory to `delegatee` * @param delegatee The address to delegate votes to * @param nonce The contract state required to match the signature * @param expiry The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function delegateBySig( address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s ) external { bytes32 domainSeparator = keccak256( abi.encode( DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this) ) ); bytes32 structHash = keccak256( abi.encode( DELEGATION_TYPEHASH, delegatee, nonce, expiry ) ); bytes32 digest = keccak256( abi.encodePacked( "\x19\x01", domainSeparator, structHash ) ); address signatory = ecrecover(digest, v, r, s); require(signatory != address(0), "RIGEL::delegateBySig: invalid signature"); require(nonce == nonces[signatory]++, "RIGEL::delegateBySig: invalid nonce"); require(now <= expiry, "RIGEL::delegateBySig: signature expired"); return _delegate(signatory, delegatee); } /** * @notice Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint256) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @notice Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes(address account, uint blockNumber) external view returns (uint256) { require(blockNumber < block.number, "RIGEL::getPriorVotes: not yet determined"); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance if (checkpoints[account][0].fromBlock > blockNumber) { return 0; } uint32 lower = 0; uint32 upper = nCheckpoints - 1; while (upper > lower) { uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow Checkpoint memory cp = checkpoints[account][center]; if (cp.fromBlock == blockNumber) { return cp.votes; } else if (cp.fromBlock < blockNumber) { lower = center; } else { upper = center - 1; } } return checkpoints[account][lower].votes; } function _delegate(address delegator, address delegatee) internal { address currentDelegate = _delegates[delegator]; uint256 delegatorBalance = balanceOf(delegator); // balance of underlying RIGELs (not scaled); _delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); _moveDelegates(currentDelegate, delegatee, delegatorBalance); } function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal { if (srcRep != dstRep && amount > 0) { if (srcRep != address(0)) { // decrease old representative uint32 srcRepNum = numCheckpoints[srcRep]; uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0; uint256 srcRepNew = srcRepOld.sub(amount); _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew); } if (dstRep != address(0)) { // increase new representative uint32 dstRepNum = numCheckpoints[dstRep]; uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0; uint256 dstRepNew = dstRepOld.add(amount); _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew); } } } function _writeCheckpoint( address delegatee, uint32 nCheckpoints, uint256 oldVotes, uint256 newVotes ) internal { uint32 blockNumber = safe32(block.number, "RIGEL::_writeCheckpoint: block number exceeds 32 bits"); if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) { checkpoints[delegatee][nCheckpoints - 1].votes = newVotes; } else { checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes); numCheckpoints[delegatee] = nCheckpoints + 1; } emit DelegateVotesChanged(delegatee, oldVotes, newVotes); } function safe32(uint n, string memory errorMessage) internal pure returns (uint32) { require(n < 2**32, errorMessage); return uint32(n); } function getChainId() internal pure returns (uint) { uint256 chainId; assembly { chainId := chainid() } return chainId; } /// @dev Recover ERC20 tokens that were accidentally sent to this smart contract. /// @param token The token contract. Can be anything. This contract should not hold ERC20 tokens. /// @param to The address to send the tokens to. /// @param value The number of tokens to transfer to `to`. function recover(IERC20 token, address to, uint256 value) external onlyRecoveryOwner { token.safeTransfer(to, value); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalWeiRaisedInCrowdsale","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"unsoldTokensTransferredToOwner","type":"uint256"}],"name":"Ended","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"text","type":"string"}],"name":"EthTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"purchaser","type":"address"},{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"RigelTokenAmount","type":"uint256"}],"name":"TokenPurchase","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"RigelRemainingForSaleInICO","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RigelRemainingForSaleInPreICO","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenHolder","type":"address"}],"name":"RigelTokenBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Rigeltoken","outputs":[{"internalType":"contract RigelToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"buyRigelTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"currentCrowdsaleStage","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentRigelTokenUSDRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endCrowdsale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getLatestETHUSDPriceRounded","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isEnded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"switchToICOStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalRigelTokensForSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalWeiRaised","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalWeiRaisedDuringICO","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalWeiRaisedDuringPreICO","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_bigBangAddr","type":"address"}],"name":"transferRigelOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountInWEI","type":"uint256"}],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000805460ff60a01b1916905568d8d726b7177a800000600355686194049f30f72000006006556877432217e6836000006007553480156200004557600080fd5b50620000566401a13b860062000107565b600880546001600160a01b03199081163317918290556002805460ff60a01b1916905560008054909116735f4ec3df9cbd43714fe2740f5e3616155c5b84191790556040516001600160a01b0390911690620000b29062000223565b6001600160a01b03909116815260405190819003602001906000f080158015620000e0573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b039290921691909117905562000231565b620001256305f5e100826200012b60201b62000b0f1790919060201c565b60015550565b60006200017583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506200017c60201b60201c565b9392505050565b600081836200020c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620001d0578181015183820152602001620001b6565b50505050905090810190601f168015620001fe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816200021957fe5b0495945050505050565b6125fe806200120483390190565b610fc380620002416000396000f3fe6080604052600436106101095760003560e01c80638da5cb5b11610095578063a4fd6f5611610064578063a4fd6f56146102cc578063abe8014a146102f5578063bf48b5961461030a578063c2ad426014610394578063d7db2351146103a957610109565b80638da5cb5b1461025a5780638e5ede1f1461026f5780638e899d80146102a25780638fab0c21146102b757610109565b806345cef7cd116100dc57806345cef7cd146101c25780634ad23303146101d75780634c818e03146101ec57806353f4db011461021257806365d4fd9b1461022757610109565b80630e2d14821461012b578063155dd5ee146101525780632095f2d41461017c578063453f5f4b14610191575b600054600160a01b900460ff161561012057600080fd5b610129336103be565b005b34801561013757600080fd5b5061014061054a565b60408051918252519081900360200190f35b34801561015e57600080fd5b506101296004803603602081101561017557600080fd5b5035610550565b34801561018857600080fd5b5061012961064d565b34801561019d57600080fd5b506101a66107ca565b604080516001600160a01b039092168252519081900360200190f35b3480156101ce57600080fd5b506101406107d9565b3480156101e357600080fd5b506101296107df565b6101296004803603602081101561020257600080fd5b50356001600160a01b03166103be565b34801561021e57600080fd5b5061014061083d565b34801561023357600080fd5b506101406004803603602081101561024a57600080fd5b50356001600160a01b031661085c565b34801561026657600080fd5b506101a66108df565b34801561027b57600080fd5b506101296004803603602081101561029257600080fd5b50356001600160a01b03166108ee565b3480156102ae57600080fd5b5061014061096e565b3480156102c357600080fd5b50610140610a2a565b3480156102d857600080fd5b506102e1610a30565b604080519115158252519081900360200190f35b34801561030157600080fd5b50610140610a40565b34801561031657600080fd5b5061031f610a46565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610359578181015183820152602001610341565b50505050905090810190601f1680156103865780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103a057600080fd5b50610140610b03565b3480156103b557600080fd5b50610140610b09565b6000543490600160a01b900460ff16156103d757600080fd5b6103e18282610b5a565b60006103ec82610bb8565b9050600060028054600160a01b900460ff169081111561040857fe5b148015610416575060065481115b1561042057600080fd5b600160028054600160a01b900460ff169081111561043a57fe5b148015610448575060075481115b1561045257600080fd5b61045c8382610bf8565b604080518381526020810183905281516001600160a01b0386169233927f623b3804fa71d67900d064613da8f94b9617215ee90799290593e1745087ad18929081900390910190a3600060028054600160a01b900460ff16908111156104be57fe5b14156104f7576004546104d19083610c02565b6004556006546104e19082610c5c565b60068190556104f2576104f26107df565b610545565b600160028054600160a01b900460ff169081111561051157fe5b1415610545576005546105249083610c02565b6005556007546105349082610c5c565b60078190556105455761054561064d565b505050565b60075481565b6008546001600160a01b0316331461056757600080fd5b478111156105b1576040805162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e647360701b604482015290519081900360640190fd5b6008546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156105eb573d6000803e3d6000fd5b50604080516020808252808201527f46756e64732057697468647261776e20746f204f776e6572204163636f756e748183015290517f47af8c4076c54a76f613f82e4296a2c5e2167698d368157a82e62398393e345e9181900360600190a150565b6008546001600160a01b0316331461066457600080fd5b600054600160a01b900460ff161580156106955750600160028054600160a01b900460ff169081111561069357fe5b145b6106d05760405162461bcd60e51b8152600401808060200182810382526030815260200180610f5e6030913960400191505060405180910390fd5b60006106e9600754600654610c0290919063ffffffff16565b905080156107575760025460408051630852cd8d60e31b81526004810184905290516001600160a01b03909216916342966c689160248082019260009290919082900301818387803b15801561073e57600080fd5b505af1158015610752573d6000803e3d6000fd5b505050505b600060068190556007556002805460ff60a01b1916600160a11b1790557feadd714b167a6d432dd3d920fddab9ad589f3ccb20b9aa2c0850c7b56b43a44261079d61083d565b60408051918252602082018490528051918290030190a1506000805460ff60a01b1916600160a01b179055565b6002546001600160a01b031681565b60065481565b6008546001600160a01b031633146107f657600080fd5b600060028054600160a01b900460ff169081111561081057fe5b1461081a57600080fd5b6002805460ff60a01b1916600160a01b17905561083b640218711a00610c9e565b565b6000610856600554600454610c0290919063ffffffff16565b90505b90565b600254604080516370a0823160e01b81526001600160a01b038481166004830152915160009392909216916370a0823191602480820192602092909190829003018186803b1580156108ad57600080fd5b505afa1580156108c1573d6000803e3d6000fd5b505050506040513d60208110156108d757600080fd5b505192915050565b6008546001600160a01b031681565b6008546001600160a01b0316331461090557600080fd5b6002546040805163f2fde38b60e01b81526001600160a01b0384811660048301529151919092169163f2fde38b91602480830192600092919082900301818387803b15801561095357600080fd5b505af1158015610967573d6000803e3d6000fd5b5050505050565b60008060008060008060008054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b1580156109c357600080fd5b505afa1580156109d7573d6000803e3d6000fd5b505050506040513d60a08110156109ed57600080fd5b50805160208201516040830151606084015160809094015192985090965094509092509050610a20846305f5e100610b0f565b9550505050505090565b60035481565b600054600160a01b900460ff1681565b60045481565b6060600060028054600160a01b900460ff1690811115610a6257fe5b1415610a91575060408051808201909152600c81526b50726549434f20537461676560a01b6020820152610859565b600160028054600160a01b900460ff1690811115610aab57fe5b1415610ad7575060408051808201909152600981526849434f20537461676560b81b6020820152610859565b5060408051808201909152600f81526e10dc9bddd91cd85b1948115b991959608a1b6020820152610859565b60015481565b60055481565b6000610b5183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610cb2565b90505b92915050565b6001600160a01b038216610b6d57600080fd5b67016345785d8a0000811015610bb45760405162461bcd60e51b8152600401808060200182810382526021815260200180610f1c6021913960400191505060405180910390fd5b5050565b600080610bc3610d54565b9050610bf1610be16305f5e100600154610de290919063ffffffff16565b610beb8584610de2565b90610b0f565b9392505050565b610bb48282610e3b565b600082820183811015610b51576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000610b5183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ec1565b610cac816305f5e100610b0f565b60015550565b60008183610d3e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d03578181015183820152602001610ceb565b50505050905090810190601f168015610d305780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610d4a57fe5b0495945050505050565b60008060008060008060008054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015610da957600080fd5b505afa158015610dbd573d6000803e3d6000fd5b505050506040513d60a0811015610dd357600080fd5b50602001519550505050505090565b600082610df157506000610b54565b82820282848281610dfe57fe5b0414610b515760405162461bcd60e51b8152600401808060200182810382526021815260200180610f3d6021913960400191505060405180910390fd5b6002546040805163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015610e9157600080fd5b505af1158015610ea5573d6000803e3d6000fd5b505050506040513d6020811015610ebb57600080fd5b50505050565b60008184841115610f135760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610d03578181015183820152602001610ceb565b50505090039056fe4d696e696d756d20616d6f756e7420746f20696e766573743a20302e3120455448536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7753686f756c642062652061742049434f20537461676520746f2046696e616c697a65207468652043726f776473616c65a264697066735822122011257a2e122ff8495087d9c37dfdd5e17848b63459305b8dbd9ffc4dfa56e25e64736f6c634300060c003360806040526175306006556200002e670de0b6b3a7640000600654620001d460201b6200124f1790919060201c565b6007553480156200003e57600080fd5b50604051620025fe380380620025fe833981810160405260208110156200006457600080fd5b5051604080518082018252600d81526c526967656c2046696e616e636560981b602082810191825283518085019094526005845264149251d15360da1b908401528151919291620000b891600391620003ae565b508051620000ce906004906020840190620003ae565b50506005805460ff19166012179055506000620000ea6200023b565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350610fa061070860006200016883670de0b6b3a7640000620001d4602090811b6200124f17901c565b905060006200018e670de0b6b3a764000084620001d460201b6200124f1790919060201c565b90506200019c33836200023f565b620001a885826200023f565b5050600880546001600160a01b0319166001600160a01b039490941693909317909255506200044a9050565b600082620001e55750600062000235565b82820282848281620001f357fe5b0414620002325760405162461bcd60e51b8152600401808060200182810382526021815260200180620025dd6021913960400191505060405180910390fd5b90505b92915050565b3390565b6001600160a01b0382166200029b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620002a9600083836200034e565b620002c5816002546200035360201b620012a81790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620002f8918390620012a862000353821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b60008282018381101562000232576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620003f157805160ff191683800117855562000421565b8280016001018555821562000421579182015b828111156200042157825182559160200191906001019062000404565b506200042f92915062000433565b5090565b5b808211156200042f576000815560010162000434565b612183806200045a6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063715018a611610104578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e146105d3578063e7a324dc14610601578063f1127ed814610609578063f2fde38b1461065b576101da565b8063a9059cbb14610532578063b4b5ea571461055e578063c3cda52014610584578063d5abeb01146105cb576101da565b80638583c7c0116100de5780638583c7c0146104ee5780638da5cb5b146104f657806395d89b41146104fe578063a457c2d714610506576101da565b8063715018a614610494578063782d6fe11461049c5780637ecebe00146104c8576101da565b8063395093511161017c578063587cde1e1161014b578063587cde1e146103c75780635c19a95c146104095780636fcfff451461042f57806370a082311461046e576101da565b8063395093511461034a57806340c10f191461037657806342966c68146103a25780634b283ea8146103bf576101da565b80631ec82cb8116101b85780631ec82cb8146102b657806320606b70146102ee57806323b872dd146102f6578063313ce5671461032c576101da565b806306fdde03146101df578063095ea7b31461025c57806318160ddd1461029c575b600080fd5b6101e7610681565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610221578181015183820152602001610209565b50505050905090810190601f16801561024e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102886004803603604081101561027257600080fd5b506001600160a01b038135169060200135610717565b604080519115158252519081900360200190f35b6102a4610735565b60408051918252519081900360200190f35b6102ec600480360360608110156102cc57600080fd5b506001600160a01b0381358116916020810135909116906040013561073b565b005b6102a461076b565b6102886004803603606081101561030c57600080fd5b506001600160a01b0381358116916020810135909116906040013561078f565b610334610817565b6040805160ff9092168252519081900360200190f35b6102886004803603604081101561036057600080fd5b506001600160a01b038135169060200135610820565b6102ec6004803603604081101561038c57600080fd5b506001600160a01b03813516906020013561086e565b6102ec600480360360208110156103b857600080fd5b503561096f565b6102a46109a2565b6103ed600480360360208110156103dd57600080fd5b50356001600160a01b03166109a8565b604080516001600160a01b039092168252519081900360200190f35b6102ec6004803603602081101561041f57600080fd5b50356001600160a01b03166109c6565b6104556004803603602081101561044557600080fd5b50356001600160a01b03166109d0565b6040805163ffffffff9092168252519081900360200190f35b6102a46004803603602081101561048457600080fd5b50356001600160a01b03166109e8565b6102ec610a03565b6102a4600480360360408110156104b257600080fd5b506001600160a01b038135169060200135610ac2565b6102a4600480360360208110156104de57600080fd5b50356001600160a01b0316610cca565b6103ed610cdc565b6103ed610ceb565b6101e7610cff565b6102886004803603604081101561051c57600080fd5b506001600160a01b038135169060200135610d60565b6102886004803603604081101561054857600080fd5b506001600160a01b038135169060200135610dc8565b6102a46004803603602081101561057457600080fd5b50356001600160a01b0316610ddc565b6102ec600480360360c081101561059a57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135610e3f565b6102a46110b2565b6102a4600480360360408110156105e957600080fd5b506001600160a01b03813581169160200135166110b8565b6102a46110e3565b61063b6004803603604081101561061f57600080fd5b5080356001600160a01b0316906020013563ffffffff16611107565b6040805163ffffffff909316835260208301919091528051918290030190f35b6102ec6004803603602081101561067157600080fd5b50356001600160a01b0316611134565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561070d5780601f106106e25761010080835404028352916020019161070d565b820191906000526020600020905b8154815290600101906020018083116106f057829003601f168201915b5050505050905090565b600061072b610724611302565b8484611306565b5060015b92915050565b60025490565b6008546001600160a01b0316331461075257600080fd5b6107666001600160a01b03841683836113f2565b505050565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b600061079c848484611444565b61080c846107a8611302565b61080785604051806060016040528060288152602001611fee602891396001600160a01b038a166000908152600160205260408120906107e6611302565b6001600160a01b03168152602081019190915260400160002054919061159f565b611306565b5060015b9392505050565b60055460ff1690565b600061072b61082d611302565b84610807856001600061083e611302565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906112a8565b610876611302565b60055461010090046001600160a01b039081169116146108dd576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6007546108f2826108ec610735565b906112a8565b111561093c576040805162461bcd60e51b8152602060048201526014602482015273457863656564696e67204d617820537570706c7960601b604482015290519081900360640190fd5b6109468282611636565b6001600160a01b0380831660009081526009602052604081205461096b921683611726565b5050565b6109793382611863565b3360009081526009602052604081205461099f916001600160a01b039091169083611726565b50565b60065481565b6001600160a01b039081166000908152600960205260409020541690565b61099f338261195f565b600b6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526020819052604090205490565b610a0b611302565b60055461010090046001600160a01b03908116911614610a72576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6000438210610b025760405162461bcd60e51b8152600401808060200182810382526028815260200180611eea6028913960400191505060405180910390fd5b6001600160a01b0383166000908152600b602052604090205463ffffffff1680610b3057600091505061072f565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff600019860181168552925290912054168310610b9f576001600160a01b0384166000908152600a602090815260408083206000199490940163ffffffff1683529290522060010154905061072f565b6001600160a01b0384166000908152600a6020908152604080832083805290915290205463ffffffff16831015610bda57600091505061072f565b600060001982015b8163ffffffff168163ffffffff161115610c9357600282820363ffffffff16048103610c0c611e8d565b506001600160a01b0387166000908152600a6020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610c6e5760200151945061072f9350505050565b805163ffffffff16871115610c8557819350610c8c565b6001820392505b5050610be2565b506001600160a01b0385166000908152600a6020908152604080832063ffffffff9094168352929052206001015491505092915050565b600c6020526000908152604090205481565b6008546001600160a01b031690565b60055461010090046001600160a01b031690565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561070d5780601f106106e25761010080835404028352916020019161070d565b600061072b610d6d611302565b84610807856040518060600160405280602581526020016121296025913960016000610d97611302565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061159f565b600061072b610dd5611302565b8484611444565b6001600160a01b0381166000908152600b602052604081205463ffffffff1680610e07576000610810565b6001600160a01b0383166000908152600a6020908152604080832063ffffffff60001986011684529091529020600101549392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610e6a610681565b80519060200120610e796119f4565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa158015610fac573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610ffe5760405162461bcd60e51b81526004018080602001828103825260278152602001806120d86027913960400191505060405180910390fd5b6001600160a01b0381166000908152600c60205260409020805460018101909155891461105c5760405162461bcd60e51b81526004018080602001828103825260238152602001806120b56023913960400191505060405180910390fd5b8742111561109b5760405162461bcd60e51b8152600401808060200182810382526027815260200180611fa66027913960400191505060405180910390fd5b6110a5818b61195f565b505050505b505050505050565b60075481565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600a6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b61113c611302565b60055461010090046001600160a01b039081169116146111a3576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166111e85760405162461bcd60e51b8152600401808060200182810382526026815260200180611f126026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60008261125e5750600061072f565b8282028284828161126b57fe5b04146108105760405162461bcd60e51b8152600401808060200182810382526021815260200180611fcd6021913960400191505060405180910390fd5b600082820183811015610810576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b6001600160a01b03831661134b5760405162461bcd60e51b81526004018080602001828103825260248152602001806120916024913960400191505060405180910390fd5b6001600160a01b0382166113905760405162461bcd60e51b8152600401808060200182810382526022815260200180611f386022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526107669084906119f8565b6001600160a01b0383166114895760405162461bcd60e51b815260040180806020018281038252602581526020018061206c6025913960400191505060405180910390fd5b6001600160a01b0382166114ce5760405162461bcd60e51b8152600401808060200182810382526023815260200180611ea56023913960400191505060405180910390fd5b6114d9838383610766565b61151681604051806060016040528060268152602001611f5a602691396001600160a01b038616600090815260208190526040902054919061159f565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461154590826112a8565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561162e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115f35781810151838201526020016115db565b50505050905090810190601f1680156116205780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038216611691576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61169d60008383610766565b6002546116aa90826112a8565b6002556001600160a01b0382166000908152602081905260409020546116d090826112a8565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b816001600160a01b0316836001600160a01b0316141580156117485750600081115b15610766576001600160a01b038316156117da576001600160a01b0383166000908152600b602052604081205463ffffffff1690816117885760006117ba565b6001600160a01b0385166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b905060006117c88285611aa9565b90506117d686848484611aeb565b5050505b6001600160a01b03821615610766576001600160a01b0382166000908152600b602052604081205463ffffffff169081611815576000611847565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b9050600061185582856112a8565b90506110aa85848484611aeb565b6001600160a01b0382166118a85760405162461bcd60e51b81526004018080602001828103825260218152602001806120166021913960400191505060405180910390fd5b6118b482600083610766565b6118f181604051806060016040528060228152602001611ec8602291396001600160a01b038516600090815260208190526040902054919061159f565b6001600160a01b0383166000908152602081905260409020556002546119179082611aa9565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b0380831660009081526009602052604081205490911690611986846109e8565b6001600160a01b0385811660008181526009602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46119ee828483611726565b50505050565b4690565b6060611a4d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611c509092919063ffffffff16565b80519091501561076657808060200190516020811015611a6c57600080fd5b50516107665760405162461bcd60e51b815260040180806020018281038252602a8152602001806120ff602a913960400191505060405180910390fd5b600061081083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061159f565b6000611b0f4360405180606001604052806035815260200161203760359139611c67565b905060008463ffffffff16118015611b5857506001600160a01b0385166000908152600a6020908152604080832063ffffffff6000198901811685529252909120548282169116145b15611b95576001600160a01b0385166000908152600a6020908152604080832063ffffffff60001989011684529091529020600101829055611c06565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600a84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600b9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6060611c5f8484600085611cc5565b949350505050565b6000816401000000008410611cbd5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156115f35781810151838201526020016115db565b509192915050565b606082471015611d065760405162461bcd60e51b8152600401808060200182810382526026815260200180611f806026913960400191505060405180910390fd5b611d0f85611e21565b611d60576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611d9f5780518252601f199092019160209182019101611d80565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611e01576040519150601f19603f3d011682016040523d82523d6000602084013e611e06565b606091505b5091509150611e16828286611e27565b979650505050505050565b3b151590565b60608315611e36575081610810565b825115611e465782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156115f35781810151838201526020016115db565b60408051808201909152600080825260208201529056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365524947454c3a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e65644f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c524947454c3a3a64656c656761746542795369673a207369676e61747572652065787069726564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f2061646472657373524947454c3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373524947454c3a3a64656c656761746542795369673a20696e76616c6964206e6f6e6365524947454c3a3a64656c656761746542795369673a20696e76616c6964207369676e61747572655361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c3a0a4aba9020a0d8c2b5d6408b5b544b806c50dd5ee8e9b949080632124a8c464736f6c634300060c0033536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77
Deployed Bytecode
0x6080604052600436106101095760003560e01c80638da5cb5b11610095578063a4fd6f5611610064578063a4fd6f56146102cc578063abe8014a146102f5578063bf48b5961461030a578063c2ad426014610394578063d7db2351146103a957610109565b80638da5cb5b1461025a5780638e5ede1f1461026f5780638e899d80146102a25780638fab0c21146102b757610109565b806345cef7cd116100dc57806345cef7cd146101c25780634ad23303146101d75780634c818e03146101ec57806353f4db011461021257806365d4fd9b1461022757610109565b80630e2d14821461012b578063155dd5ee146101525780632095f2d41461017c578063453f5f4b14610191575b600054600160a01b900460ff161561012057600080fd5b610129336103be565b005b34801561013757600080fd5b5061014061054a565b60408051918252519081900360200190f35b34801561015e57600080fd5b506101296004803603602081101561017557600080fd5b5035610550565b34801561018857600080fd5b5061012961064d565b34801561019d57600080fd5b506101a66107ca565b604080516001600160a01b039092168252519081900360200190f35b3480156101ce57600080fd5b506101406107d9565b3480156101e357600080fd5b506101296107df565b6101296004803603602081101561020257600080fd5b50356001600160a01b03166103be565b34801561021e57600080fd5b5061014061083d565b34801561023357600080fd5b506101406004803603602081101561024a57600080fd5b50356001600160a01b031661085c565b34801561026657600080fd5b506101a66108df565b34801561027b57600080fd5b506101296004803603602081101561029257600080fd5b50356001600160a01b03166108ee565b3480156102ae57600080fd5b5061014061096e565b3480156102c357600080fd5b50610140610a2a565b3480156102d857600080fd5b506102e1610a30565b604080519115158252519081900360200190f35b34801561030157600080fd5b50610140610a40565b34801561031657600080fd5b5061031f610a46565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610359578181015183820152602001610341565b50505050905090810190601f1680156103865780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103a057600080fd5b50610140610b03565b3480156103b557600080fd5b50610140610b09565b6000543490600160a01b900460ff16156103d757600080fd5b6103e18282610b5a565b60006103ec82610bb8565b9050600060028054600160a01b900460ff169081111561040857fe5b148015610416575060065481115b1561042057600080fd5b600160028054600160a01b900460ff169081111561043a57fe5b148015610448575060075481115b1561045257600080fd5b61045c8382610bf8565b604080518381526020810183905281516001600160a01b0386169233927f623b3804fa71d67900d064613da8f94b9617215ee90799290593e1745087ad18929081900390910190a3600060028054600160a01b900460ff16908111156104be57fe5b14156104f7576004546104d19083610c02565b6004556006546104e19082610c5c565b60068190556104f2576104f26107df565b610545565b600160028054600160a01b900460ff169081111561051157fe5b1415610545576005546105249083610c02565b6005556007546105349082610c5c565b60078190556105455761054561064d565b505050565b60075481565b6008546001600160a01b0316331461056757600080fd5b478111156105b1576040805162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e647360701b604482015290519081900360640190fd5b6008546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156105eb573d6000803e3d6000fd5b50604080516020808252808201527f46756e64732057697468647261776e20746f204f776e6572204163636f756e748183015290517f47af8c4076c54a76f613f82e4296a2c5e2167698d368157a82e62398393e345e9181900360600190a150565b6008546001600160a01b0316331461066457600080fd5b600054600160a01b900460ff161580156106955750600160028054600160a01b900460ff169081111561069357fe5b145b6106d05760405162461bcd60e51b8152600401808060200182810382526030815260200180610f5e6030913960400191505060405180910390fd5b60006106e9600754600654610c0290919063ffffffff16565b905080156107575760025460408051630852cd8d60e31b81526004810184905290516001600160a01b03909216916342966c689160248082019260009290919082900301818387803b15801561073e57600080fd5b505af1158015610752573d6000803e3d6000fd5b505050505b600060068190556007556002805460ff60a01b1916600160a11b1790557feadd714b167a6d432dd3d920fddab9ad589f3ccb20b9aa2c0850c7b56b43a44261079d61083d565b60408051918252602082018490528051918290030190a1506000805460ff60a01b1916600160a01b179055565b6002546001600160a01b031681565b60065481565b6008546001600160a01b031633146107f657600080fd5b600060028054600160a01b900460ff169081111561081057fe5b1461081a57600080fd5b6002805460ff60a01b1916600160a01b17905561083b640218711a00610c9e565b565b6000610856600554600454610c0290919063ffffffff16565b90505b90565b600254604080516370a0823160e01b81526001600160a01b038481166004830152915160009392909216916370a0823191602480820192602092909190829003018186803b1580156108ad57600080fd5b505afa1580156108c1573d6000803e3d6000fd5b505050506040513d60208110156108d757600080fd5b505192915050565b6008546001600160a01b031681565b6008546001600160a01b0316331461090557600080fd5b6002546040805163f2fde38b60e01b81526001600160a01b0384811660048301529151919092169163f2fde38b91602480830192600092919082900301818387803b15801561095357600080fd5b505af1158015610967573d6000803e3d6000fd5b5050505050565b60008060008060008060008054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b1580156109c357600080fd5b505afa1580156109d7573d6000803e3d6000fd5b505050506040513d60a08110156109ed57600080fd5b50805160208201516040830151606084015160809094015192985090965094509092509050610a20846305f5e100610b0f565b9550505050505090565b60035481565b600054600160a01b900460ff1681565b60045481565b6060600060028054600160a01b900460ff1690811115610a6257fe5b1415610a91575060408051808201909152600c81526b50726549434f20537461676560a01b6020820152610859565b600160028054600160a01b900460ff1690811115610aab57fe5b1415610ad7575060408051808201909152600981526849434f20537461676560b81b6020820152610859565b5060408051808201909152600f81526e10dc9bddd91cd85b1948115b991959608a1b6020820152610859565b60015481565b60055481565b6000610b5183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610cb2565b90505b92915050565b6001600160a01b038216610b6d57600080fd5b67016345785d8a0000811015610bb45760405162461bcd60e51b8152600401808060200182810382526021815260200180610f1c6021913960400191505060405180910390fd5b5050565b600080610bc3610d54565b9050610bf1610be16305f5e100600154610de290919063ffffffff16565b610beb8584610de2565b90610b0f565b9392505050565b610bb48282610e3b565b600082820183811015610b51576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000610b5183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ec1565b610cac816305f5e100610b0f565b60015550565b60008183610d3e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d03578181015183820152602001610ceb565b50505050905090810190601f168015610d305780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610d4a57fe5b0495945050505050565b60008060008060008060008054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015610da957600080fd5b505afa158015610dbd573d6000803e3d6000fd5b505050506040513d60a0811015610dd357600080fd5b50602001519550505050505090565b600082610df157506000610b54565b82820282848281610dfe57fe5b0414610b515760405162461bcd60e51b8152600401808060200182810382526021815260200180610f3d6021913960400191505060405180910390fd5b6002546040805163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015610e9157600080fd5b505af1158015610ea5573d6000803e3d6000fd5b505050506040513d6020811015610ebb57600080fd5b50505050565b60008184841115610f135760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610d03578181015183820152602001610ceb565b50505090039056fe4d696e696d756d20616d6f756e7420746f20696e766573743a20302e3120455448536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7753686f756c642062652061742049434f20537461676520746f2046696e616c697a65207468652043726f776473616c65a264697066735822122011257a2e122ff8495087d9c37dfdd5e17848b63459305b8dbd9ffc4dfa56e25e64736f6c634300060c0033
Deployed Bytecode Sourcemap
876:9915:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6470:7;;-1:-1:-1;;;6470:7:1;;;;6467:101;;;6494:8;;;6467:101;6579:26;6594:10;6579:14;:26::i;:::-;876:9915;2529:55;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;10383:248;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10383:248:1;;:::i;8734:620::-;;;;;;;;;;;;;:::i;1708:28::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1708:28:1;;;;;;;;;;;;;;2463:58;;;;;;;;;;;;;:::i;3463:200::-;;;;;;;;;;;;;:::i;6628:1966::-;;;;;;;;;;;;;;;;-1:-1:-1;6628:1966:1;-1:-1:-1;;;;;6628:1966:1;;:::i;9572:137::-;;;;;;;;;;;;;:::i;9411:147::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9411:147:1;-1:-1:-1;;;;;9411:147:1;;:::i;2709:28::-;;;;;;;;;;;;;:::i;10645:140::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10645:140:1;-1:-1:-1;;;;;10645:140:1;;:::i;10061:310::-;;;;;;;;;;;;;:::i;2024:52::-;;;;;;;;;;;;;:::i;1482:27::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;2256:41;;;;;;;;;;;;;:::i;3716:334::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1625:39;;;;;;;;;;;;;:::i;2305:38::-;;;;;;;;;;;;;:::i;6628:1966::-;6701:17;6745:7;6721:9;;-1:-1:-1;;;6745:7:1;;;;6742:46;;;6767:8;;;6742:46;6799:45;6820:12;6834:9;6799:20;:45::i;:::-;6856:32;6891:26;6907:9;6891:15;:26::i;:::-;6856:61;-1:-1:-1;6943:21:1;6934:5;;;-1:-1:-1;;;6934:5:1;;;;;:30;;;;;;;;6933:94;;;;;6997:29;;6970:24;:56;6933:94;6929:525;;;7044:8;;;6929:525;7226:18;7217:5;;;-1:-1:-1;;;7217:5:1;;;;;:27;;;;;;;;7216:88;;;;;7277:26;;7250:24;:53;7216:88;7212:242;;;7320:8;;;7212:242;7478:56;7495:12;7509:24;7478:16;:56::i;:::-;7553:146;;;;;;;;;;;;;;-1:-1:-1;;;;;7553:146:1;;;7582:10;;7553:146;;;;;;;;;;;7735:21;7726:5;;;-1:-1:-1;;;7726:5:1;;;;;:30;;;;;;;;7722:864;;;7803:26;;:41;;7834:9;7803:30;:41::i;:::-;7774:26;:70;7891:29;;:59;;7925:24;7891:33;:59::i;:::-;7860:29;:90;;;7966:184;;8115:18;:16;:18::i;:::-;7722:864;;;8191:18;8182:5;;;-1:-1:-1;;;8182:5:1;;;;;:27;;;;;;;;8178:408;;;8253:23;;:38;;8281:9;8253:27;:38::i;:::-;8227:23;:64;8335:26;;:56;;8366:24;8335:30;:56::i;:::-;8307:26;:84;;;8407:167;;8543:14;:12;:14::i;:::-;6628:1966;;;:::o;2529:55::-;;;;:::o;10383:248::-;2809:5;;-1:-1:-1;;;;;2809:5:1;2795:10;:19;2786:29;;;;;;10477:21:::1;10462:11;:36;;10454:66;;;::::0;;-1:-1:-1;;;10454:66:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;10454:66:1;;;;;;;;;;;;;::::1;;10530:5;::::0;:27:::1;::::0;-1:-1:-1;;;;;10530:5:1;;::::1;::::0;:27;::::1;;;::::0;10545:11;;10530:5:::1;:27:::0;:5;:27;10545:11;10530:5;:27;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;10572:50:1::1;::::0;;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;;;;;;;::::1;10383:248:::0;:::o;8734:620::-;2809:5;;-1:-1:-1;;;;;2809:5:1;2795:10;:19;2786:29;;;;;;8796:7:::1;::::0;-1:-1:-1;;;8796:7:1;::::1;;;8795:8;:39:::0;::::1;;;-1:-1:-1::0;8816:18:1::1;8807:5;::::0;;-1:-1:-1;;;8807:5:1;::::1;;;::::0;:27;::::1;;;;;;;8795:39;8787:99;;;;-1:-1:-1::0;;;8787:99:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8901:20;8924:61;8958:26;;8924:29;;:33;;:61;;;;:::i;:::-;8901:84:::0;-1:-1:-1;9064:16:1;;9060:80:::1;;9098:10;::::0;:29:::1;::::0;;-1:-1:-1;;;9098:29:1;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;9098:10:1;;::::1;::::0;:15:::1;::::0;:29;;;;;:10:::1;::::0;:29;;;;;;;;:10;;:29;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;9060:80;9183:1;9151:29;:33:::0;;;9196:26:::1;:30:::0;9246:20:::1;9238:28:::0;;-1:-1:-1;;;;9238:28:1::1;-1:-1:-1::0;;;9238:28:1::1;::::0;;9283:36:::1;9289:16;:14;:16::i;:::-;9283:36;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;::::1;-1:-1:-1::0;9331:7:1::1;:14:::0;;-1:-1:-1;;;;9331:14:1::1;-1:-1:-1::0;;;9331:14:1::1;::::0;;8734:620::o;1708:28::-;;;-1:-1:-1;;;;;1708:28:1;;:::o;2463:58::-;;;;:::o;3463:200::-;2809:5;;-1:-1:-1;;;;;2809:5:1;2795:10;:19;2786:29;;;;;;3537:21:::1;3528:5;::::0;;-1:-1:-1;;;3528:5:1;::::1;;;::::0;:30;::::1;;;;;;;3520:39;;;::::0;::::1;;3571:5;:26:::0;;-1:-1:-1;;;;3571:26:1::1;-1:-1:-1::0;;;3571:26:1::1;::::0;;3609:29:::1;3627:10;3609:17;:29::i;:::-;3463:200::o:0;9572:137::-;9618:7;9645:55;9676:23;;9645:26;;:30;;:55;;;;:::i;:::-;9638:62;;9572:137;;:::o;9411:147::-;9516:10;;:33;;;-1:-1:-1;;;9516:33:1;;-1:-1:-1;;;;;9516:33:1;;;;;;;;;9481:15;;9516:10;;;;;:20;;:33;;;;;;;;;;;;;;;:10;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9516:33:1;;9411:147;-1:-1:-1;;9411:147:1:o;2709:28::-;;;-1:-1:-1;;;;;2709:28:1;;:::o;10645:140::-;2809:5;;-1:-1:-1;;;;;2809:5:1;2795:10;:19;2786:29;;;;;;10734:10:::1;::::0;:42:::1;::::0;;-1:-1:-1;;;10734:42:1;;-1:-1:-1;;;;;10734:42:1;;::::1;;::::0;::::1;::::0;;;:10;;;::::1;::::0;:28:::1;::::0;:42;;;;;:10:::1;::::0;:42;;;;;;;:10;;:42;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;10645:140:::0;:::o;10061:310::-;10121:7;10154:14;10183:9;10206:14;10234;10262:22;10297:9;;;;;;;;-1:-1:-1;;;;;10297:9:1;-1:-1:-1;;;;;10297:25:1;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10297:27:1;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10297:27:1;;-1:-1:-1;10297:27:1;-1:-1:-1;10297:27:1;;-1:-1:-1;10297:27:1;-1:-1:-1;10341:23:1;10297:27;10360:3;10341:18;:23::i;:::-;10334:30;;;;;;;10061:310;:::o;2024:52::-;;;;:::o;1482:27::-;;;-1:-1:-1;;;1482:27:1;;;;;:::o;2256:41::-;;;;:::o;3716:334::-;3769:13;3808:21;3799:5;;;-1:-1:-1;;;3799:5:1;;;;;:30;;;;;;;;3796:246;;;-1:-1:-1;3846:21:1;;;;;;;;;;;;-1:-1:-1;;;3846:21:1;;;;;;3796:246;3908:18;3899:5;;;-1:-1:-1;;;3899:5:1;;;;;:27;;;;;;;;3896:146;;;-1:-1:-1;3943:18:1;;;;;;;;;;;;-1:-1:-1;;;3943:18:1;;;;;;3896:146;-1:-1:-1;4005:24:1;;;;;;;;;;;;-1:-1:-1;;;4005:24:1;;;;;;1625:39;;;;:::o;2305:38::-;;;;:::o;8733:130:0:-;8791:7;8817:39;8821:1;8824;8817:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;8810:46;;8733:130;;;;;:::o;4625:255:1:-;-1:-1:-1;;;;;4767:26:1;;4759:35;;;;;;4826:8;4812:10;:22;;4804:67;;;;-1:-1:-1;;;4804:67:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4625:255;;:::o;6096:245::-;6172:7;6197:19;6227;:17;:19::i;:::-;6197:50;;6266:66;6298:33;6327:3;6298:24;;:28;;:33;;;;:::i;:::-;6266:27;:10;6281:11;6266:14;:27::i;:::-;:31;;:66::i;:::-;6259:73;6096:245;-1:-1:-1;;;6096:245:1:o;5652:178::-;5779:42;5794:12;5808;5779:14;:42::i;6506:176:0:-;6564:7;6595:5;;;6618:6;;;;6610:46;;;;;-1:-1:-1;;;6610:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;6953:134;7011:7;7037:43;7041:1;7044;7037:43;;;;;;;;;;;;;;;;;:3;:43::i;4095:121:1:-;4187:17;:8;4200:3;4187:12;:17::i;:::-;4160:24;:44;-1:-1:-1;4095:121:1:o;9345:272:0:-;9431:7;9465:12;9458:5;9450:28;;;;-1:-1:-1;;;9450:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9488:9;9504:1;9500;:5;;;;;;;9345:272;-1:-1:-1;;;;;9345:272:0:o;9771:280:1:-;9823:3;9852:14;9881:9;9904:14;9932;9960:22;9995:9;;;;;;;;-1:-1:-1;;;;;9995:9:1;-1:-1:-1;;;;;9995:25:1;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9995:27:1;;;;-1:-1:-1;;;;;;9771:280:1;:::o;7812:459:0:-;7870:7;8111:6;8107:45;;-1:-1:-1;8140:1:0;8133:8;;8107:45;8174:5;;;8178:1;8174;:5;:1;8197:5;;;;;:10;8189:56;;;;-1:-1:-1;;;8189:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5190:181:1;5315:10;;:47;;;-1:-1:-1;;;5315:47:1;;-1:-1:-1;;;;;5315:47:1;;;;;;;;;;;;;;;:10;;;;;:19;;:47;;;;;;;;;;;;;;:10;;:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;5190:181:1:o;7378:187:0:-;7464:7;7499:12;7491:6;;;;7483:29;;;;-1:-1:-1;;;7483:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7534:5:0;;;7378:187::o
Swarm Source
ipfs://c3a0a4aba9020a0d8c2b5d6408b5b544b806c50dd5ee8e9b949080632124a8c4
Loading...
Loading
Loading...
Loading
OVERVIEW
The deployer address for Rigel Finance's contract.Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.