ERC-20
Overview
Max Total Supply
66,709,876.41798632141543274 DFP2
Holders
446
Market
Price
$0.01 @ 0.000006 ETH (+2.44%)
Onchain Market Cap
$999,797.60
Circulating Supply Market Cap
$996,029.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
5,002.420588823323929009 DFP2Value
$74.97 ( ~0.0285670811948688 Eth) [0.0075%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DFPgov
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
Yes with 100000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; import "../interfaces/IDeFiPlazaGov.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /** * @title DeFi Plaza governance token (DFPgov) * @author Jazzer 9F * @notice Implements lean on gas liquidity reward program for DeFi Plaza */ contract DFPgov is IDeFiPlazaGov, Ownable, ERC20 { // global staking contract state parameters squeezed in 256 bits struct StakingState { uint96 totalStake; // Total LP tokens currently staked uint96 rewardsAccumulatedPerLP; // Rewards accumulated per staked LP token (16.80 bits) uint32 lastUpdate; // Timestamp of last update uint32 startTime; // Timestamp rewards started } // data per staker, some bits remaining available struct StakeData { uint96 stake; // Amount of LPs staked for this staker uint96 rewardsPerLPAtTimeStaked; // Baseline rewards at the time these LPs were staked } address public founder; address public multisig; address public indexToken; StakingState public stakingState; mapping(address => StakeData) public stakerData; uint256 public multisigAllocationClaimed; uint256 public founderAllocationClaimed; /** * Basic setup */ constructor(address founderAddress, uint256 mintAmount, uint32 startTime) ERC20("Defi Plaza governance", "DFP2") { // contains the global state of the staking progress StakingState memory state; state.startTime = startTime; stakingState = state; // generate the initial 4M founder allocation founder = founderAddress; _mint(founderAddress, mintAmount); } /** * For staking LPs to accumulate governance token rewards. * Maintains a single stake per user, but allows to add on top of existing stake. */ function stake(uint96 LPamount) external override returns(bool success) { // Collect LPs require( IERC20(indexToken).transferFrom(msg.sender, address(this), LPamount), "DFP: Transfer failed" ); // Update global staking state StakingState memory state = stakingState; if ((block.timestamp >= state.startTime) && (state.lastUpdate < 365 days)) { uint256 t1 = block.timestamp - state.startTime; // calculate time relative to start time uint256 t0 = uint256(state.lastUpdate); t1 = (t1 > 365 days) ? 365 days : t1; // clamp at 1 year uint256 R1 = 100e24 * t1 / 365 days - 50e24 * t1 * t1 / (365 days)**2; uint256 R0 = 100e24 * t0 / 365 days - 50e24 * t0 * t0 / (365 days)**2; uint256 totalStake = (state.totalStake < 1600e18) ? 1600e18 : state.totalStake; // Clamp at 1600 for numerical reasons state.rewardsAccumulatedPerLP += uint96(((R1 - R0) << 80) / totalStake); state.lastUpdate = uint32(t1); } state.totalStake += LPamount; stakingState = state; // Update staker data for this user StakeData memory staker = stakerData[msg.sender]; if (staker.stake == 0) { staker.stake = LPamount; staker.rewardsPerLPAtTimeStaked = state.rewardsAccumulatedPerLP; } else { uint256 LP1 = staker.stake + LPamount; uint256 RLP0_ = (uint256(LPamount) * state.rewardsAccumulatedPerLP + uint256(staker.stake) * staker.rewardsPerLPAtTimeStaked) / LP1; staker.stake = uint96(LP1); staker.rewardsPerLPAtTimeStaked = uint96(RLP0_); } stakerData[msg.sender] = staker; // Emit staking event emit Staked(msg.sender, LPamount); return true; } /** * For unstaking LPs and collecting rewards accumulated up to this point. * Any unstake action distributes and resets rewards. Simply claiming rewards * without unstaking can be done by unstaking zero LPs. */ function unstake(uint96 LPamount) external override returns(uint256 rewards) { // Collect data for this user StakeData memory staker = stakerData[msg.sender]; require( staker.stake >= LPamount, "DFP: Insufficient stake" ); // Update the global staking state StakingState memory state = stakingState; if ((block.timestamp >= state.startTime) && (state.lastUpdate < 365 days)) { uint256 t1 = block.timestamp - state.startTime; // calculate time relative to start time uint256 t0 = uint256(state.lastUpdate); t1 = (t1 > 365 days) ? 365 days : t1; // clamp at 1 year uint256 R1 = 100e24 * t1 / 365 days - 50e24 * t1 * t1 / (365 days)**2; uint256 R0 = 100e24 * t0 / 365 days - 50e24 * t0 * t0 / (365 days)**2; uint256 totalStake = (state.totalStake < 1600e18) ? 1600e18 : state.totalStake; // Clamp at 1600 for numerical reasons state.rewardsAccumulatedPerLP += uint96(((R1 - R0) << 80) / totalStake); state.lastUpdate = uint32(t1); } state.totalStake -= LPamount; stakingState = state; // Calculate rewards rewards = ((uint256(state.rewardsAccumulatedPerLP) - staker.rewardsPerLPAtTimeStaked) * staker.stake) >> 80; // Update user data if (LPamount == staker.stake) delete stakerData[msg.sender]; else { staker.stake -= LPamount; staker.rewardsPerLPAtTimeStaked = state.rewardsAccumulatedPerLP; stakerData[msg.sender] = staker; } // Distribute reward and emit event _mint(msg.sender, rewards); require( IERC20(indexToken).transfer(msg.sender, LPamount), "DFP: Kernel panic" ); emit Unstaked(msg.sender, LPamount, rewards); } /** * Helper function to check unclaimed rewards for any address */ function rewardsQuote(address stakerAddress) external view override returns(uint256 rewards) { // Collect user data StakeData memory staker = stakerData[stakerAddress]; // Calculate distribution since last on chain update StakingState memory state = stakingState; if ((block.timestamp >= state.startTime) && (state.lastUpdate < 365 days)) { uint256 t1 = block.timestamp - state.startTime; // calculate time relative to start time uint256 t0 = uint256(state.lastUpdate); t1 = (t1 > 365 days) ? 365 days : t1; // clamp at 1 year uint256 R1 = 100e24 * t1 / 365 days - 50e24 * t1 * t1 / (365 days)**2; uint256 R0 = 100e24 * t0 / 365 days - 50e24 * t0 * t0 / (365 days)**2; uint256 totalStake = (state.totalStake < 1600e18) ? 1600e18 : state.totalStake; // Clamp at 1600 for numerical reasons state.rewardsAccumulatedPerLP += uint96(((R1 - R0) << 80) / totalStake); } // Calculate unclaimed rewards rewards = ((uint256(state.rewardsAccumulatedPerLP) - staker.rewardsPerLPAtTimeStaked) * staker.stake) >> 80; } /** * Configure which token is accepted as stake. Can only be done once. */ function setIndexToken(address indexTokenAddress) external onlyOwner returns(bool success) { require(indexToken==address(0), "Already configured"); indexToken = indexTokenAddress; _mint(indexTokenAddress, 36e23); return true; } /** * Set community multisig address */ function setMultisigAddress(address multisigAddress) external onlyOwner returns(bool success) { multisig = multisigAddress; return true; } /** * Community is allocated 5M governance tokens which are released on the same * curve as the tokens that users can stake for. No staking required for this. * Rewards accumulated can be claimed into the multisig address anytime. */ function claimMultisigAllocation() external returns(uint256 amountReleased) { // Collect global staking state StakingState memory state = stakingState; require(block.timestamp > state.startTime, "Too early guys"); // Calculate total community allocation until now uint256 t1 = block.timestamp - state.startTime; // calculate time relative to start time t1 = (t1 > 365 days) ? 365 days : t1; // clamp at 1 year uint256 R1 = 5e24 * t1 / 365 days - 25e23 * t1 * t1 / (365 days)**2; // Calculate how much is to be released now & update released counter amountReleased = R1 - multisigAllocationClaimed; multisigAllocationClaimed = R1; // Grant rewards and emit event for logging _mint(multisig, amountReleased); emit MultisigClaim(multisig, amountReleased); } /** * Founder is granted 5M governance tokens after 1 year. */ function claimFounderAllocation(uint256 amount, address destination) external returns(uint256 actualAmount) { // Basic validity checks require(msg.sender == founder, "Not yours man"); StakingState memory state = stakingState; require(block.timestamp - state.startTime >= 365 days, "Too early man"); // Calculate how many rewards are still available & update claimed counter uint256 availableAmount = 25e23 - founderAllocationClaimed; actualAmount = (amount > availableAmount) ? availableAmount : amount; founderAllocationClaimed += actualAmount; // Grant rewards and emit event for logging _mint(destination, actualAmount); emit FounderClaim(destination, actualAmount); } /** * Freeze program (makes it easier to migrate if required) * This is a one-way thing, only to be used in case of migration. */ function stopProgram() external onlyOwner() { // Update the global staking state StakingState memory state = stakingState; if ((block.timestamp >= state.startTime) && (state.lastUpdate < 365 days)) { uint256 t1 = block.timestamp - state.startTime; // calculate time relative to start time uint256 t0 = uint256(state.lastUpdate); t1 = (t1 > 365 days) ? 365 days : t1; // clamp at 1 year uint256 R1 = 100e24 * t1 / 365 days - 50e24 * t1 * t1 / (365 days)**2; uint256 R0 = 100e24 * t0 / 365 days - 50e24 * t0 * t0 / (365 days)**2; uint256 totalStake = (state.totalStake < 1600e18) ? 1600e18 : state.totalStake; // Clamp at 1600 for numerical reasons state.rewardsAccumulatedPerLP += uint96(((R1 - R0) << 80) / totalStake); state.lastUpdate = uint32(t1); } // Freeze by setting the startTime when we're all going to be dead state.startTime = type(uint32).max; stakingState = state; } }
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.6; interface IDeFiPlazaGov { function stake( uint96 LPamount ) external returns(bool success); function unstake( uint96 LPamount ) external returns(uint256 rewards); function rewardsQuote( address stakerAddress ) external view returns(uint256 rewards); event Staked( address staker, uint256 LPamount ); event Unstaked( address staker, uint256 LPamount, uint256 rewards ); event MultisigClaim( address multisig, uint256 amount ); event FounderClaim( address claimant, uint256 amount ); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) 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); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 100000 }, "evmVersion": "berlin", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"founderAddress","type":"address"},{"internalType":"uint256","name":"mintAmount","type":"uint256"},{"internalType":"uint32","name":"startTime","type":"uint32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"claimant","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FounderClaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"multisig","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MultisigClaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"LPamount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"LPamount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rewards","type":"uint256"}],"name":"Unstaked","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"destination","type":"address"}],"name":"claimFounderAllocation","outputs":[{"internalType":"uint256","name":"actualAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimMultisigAllocation","outputs":[{"internalType":"uint256","name":"amountReleased","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"founder","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"founderAllocationClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"indexToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"multisig","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"multisigAllocationClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"stakerAddress","type":"address"}],"name":"rewardsQuote","outputs":[{"internalType":"uint256","name":"rewards","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"indexTokenAddress","type":"address"}],"name":"setIndexToken","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"multisigAddress","type":"address"}],"name":"setMultisigAddress","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"LPamount","type":"uint96"}],"name":"stake","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stakerData","outputs":[{"internalType":"uint96","name":"stake","type":"uint96"},{"internalType":"uint96","name":"rewardsPerLPAtTimeStaked","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingState","outputs":[{"internalType":"uint96","name":"totalStake","type":"uint96"},{"internalType":"uint96","name":"rewardsAccumulatedPerLP","type":"uint96"},{"internalType":"uint32","name":"lastUpdate","type":"uint32"},{"internalType":"uint32","name":"startTime","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stopProgram","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"LPamount","type":"uint96"}],"name":"unstake","outputs":[{"internalType":"uint256","name":"rewards","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620030ed380380620030ed833981016040819052620000349162000317565b6040518060400160405280601581526020017f4465666920506c617a6120676f7665726e616e63650000000000000000000000815250604051806040016040528060048152602001632223281960e11b815250620000a16200009b6200013560201b60201c565b62000139565b8151620000b690600490602085019062000271565b508051620000cc90600590602084019062000271565b5050604080516080810182526000808252602082018190529181019190915263ffffffff831660608201819052600160e01b02600955600680546001600160a01b0319166001600160a01b03871617905590506200012b848462000189565b50505050620003d6565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620001e45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060036000828254620001f8919062000372565b90915550506001600160a01b038216600090815260016020526040812080548392906200022790849062000372565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200027f9062000399565b90600052602060002090601f016020900481019282620002a35760008555620002ee565b82601f10620002be57805160ff1916838001178555620002ee565b82800160010185558215620002ee579182015b82811115620002ee578251825591602001919060010190620002d1565b50620002fc92915062000300565b5090565b5b80821115620002fc576000815560010162000301565b6000806000606084860312156200032d57600080fd5b83516001600160a01b03811681146200034557600080fd5b60208501516040860151919450925063ffffffff811681146200036757600080fd5b809150509250925092565b600082198211156200039457634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620003ae57607f821691505b60208210811415620003d057634e487b7160e01b600052602260045260246000fd5b50919050565b612d0780620003e66000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063a9059cbb116100a2578063dea4ccf211610071578063dea4ccf21461047b578063e082f1d41461048e578063e7d015f21461053e578063f2fde38b1461055e57600080fd5b8063a9059cbb146103a8578063b82a35c5146103bb578063ce9972aa146103ce578063dd62ed3e1461043557600080fd5b80638319be75116100de5780638319be75146103665780638da5cb5b1461036f57806395d89b411461038d578063a457c2d71461039557600080fd5b806370a0823114610315578063715018a61461034b57806379224ed61461035357600080fd5b806339509351116101715780634783c35b1161014b5780634783c35b146102955780634d853ee5146102da57806361f129ad146102fa578063641cee401461030d57600080fd5b8063395093511461026f5780633c5202ce1461028257806347377e161461028c57600080fd5b80630adeccc5116101ad5780630adeccc51461022457806318160ddd1461024557806323b872dd1461024d578063313ce5671461026057600080fd5b806305540534146101d457806306fdde03146101fc578063095ea7b314610211575b600080fd5b6101e76101e23660046129a9565b610571565b60405190151581526020015b60405180910390f35b610204610641565b6040516101f39190612ad7565b6101e761021f366004612a3a565b6106d3565b6102376102323660046129a9565b6106e9565b6040519081526020016101f3565b600354610237565b6101e761025b3660046129fe565b6109bf565b604051601281526020016101f3565b6101e761027d366004612a3a565b610aa5565b61028a610aee565b005b610237600b5481565b6007546102b59073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101f3565b6006546102b59073ffffffffffffffffffffffffffffffffffffffff1681565b6101e7610308366004612aa9565b610ea0565b6102376114b4565b6102376103233660046129a9565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205490565b61028a6116d2565b610237610361366004612a86565b61175f565b610237600c5481565b60005473ffffffffffffffffffffffffffffffffffffffff166102b5565b61020461198b565b6101e76103a3366004612a3a565b61199a565b6101e76103b6366004612a3a565b611a72565b6101e76103c93660046129a9565b611a7f565b6104106103dc3660046129a9565b600a602052600090815260409020546bffffffffffffffffffffffff808216916c0100000000000000000000000090041682565b604080516bffffffffffffffffffffffff9384168152929091166020830152016101f3565b6102376104433660046129cb565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205490565b610237610489366004612aa9565b611bde565b600954610502906bffffffffffffffffffffffff808216916c0100000000000000000000000081049091169063ffffffff780100000000000000000000000000000000000000000000000082048116917c010000000000000000000000000000000000000000000000000000000090041684565b604080516bffffffffffffffffffffffff958616815294909316602085015263ffffffff918216928401929092521660608201526080016101f3565b6008546102b59073ffffffffffffffffffffffffffffffffffffffff1681565b61028a61056c3660046129a9565b612259565b6000805473ffffffffffffffffffffffffffffffffffffffff1633146105f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b50600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831617905560015b919050565b60606004805461065090612c4e565b80601f016020809104026020016040519081016040528092919081815260200182805461067c90612c4e565b80156106c95780601f1061069e576101008083540402835291602001916106c9565b820191906000526020600020905b8154815290600101906020018083116106ac57829003601f168201915b5050505050905090565b60006106e0338484612389565b50600192915050565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a602090815260408083208151808301835290546bffffffffffffffffffffffff80821683526c0100000000000000000000000091829004811683860152835160808101855260095480831682529283049091169481019490945263ffffffff780100000000000000000000000000000000000000000000000082048116938501939093527c010000000000000000000000000000000000000000000000000000000090049091166060830181905290919042108015906107d457506301e13380816040015163ffffffff16105b15610966576000816060015163ffffffff16426107f19190612c0a565b604083015190915063ffffffff166301e1338082116108105781610816565b6301e133805b9150600066038882915c400083610838816a295be96e64066972000000612bcd565b6108429190612bcd565b61084c9190612b92565b6301e13380610866856a52b7d2dcc80cd2e4000000612bcd565b6108709190612b92565b61087a9190612c0a565b9050600066038882915c40008361089c816a295be96e64066972000000612bcd565b6108a69190612bcd565b6108b09190612b92565b6301e133806108ca856a52b7d2dcc80cd2e4000000612bcd565b6108d49190612b92565b6108de9190612c0a565b905060006856bc75e2d63100000086600001516bffffffffffffffffffffffff161061090b578551610916565b6856bc75e2d6310000005b6bffffffffffffffffffffffff1690508060506109338486612c0a565b61093e92911b612b92565b8660200181815161094f9190612b62565b6bffffffffffffffffffffffff1690525050505050505b605082600001516bffffffffffffffffffffffff1683602001516bffffffffffffffffffffffff1683602001516bffffffffffffffffffffffff166109ab9190612c0a565b6109b59190612bcd565b901c949350505050565b60006109cc84848461253c565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260026020908152604080832033845290915290205482811015610a8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084016105ef565b610a9a8533858403612389565b506001949350505050565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490916106e0918590610ae9908690612b4a565b612389565b60005473ffffffffffffffffffffffffffffffffffffffff163314610b6f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105ef565b604080516080810182526009546bffffffffffffffffffffffff80821683526c01000000000000000000000000820416602083015263ffffffff780100000000000000000000000000000000000000000000000082048116938301939093527c01000000000000000000000000000000000000000000000000000000009004909116606082018190524210801590610c1457506301e13380816040015163ffffffff16105b15610db2576000816060015163ffffffff1642610c319190612c0a565b604083015190915063ffffffff166301e133808211610c505781610c56565b6301e133805b9150600066038882915c400083610c78816a295be96e64066972000000612bcd565b610c829190612bcd565b610c8c9190612b92565b6301e13380610ca6856a52b7d2dcc80cd2e4000000612bcd565b610cb09190612b92565b610cba9190612c0a565b9050600066038882915c400083610cdc816a295be96e64066972000000612bcd565b610ce69190612bcd565b610cf09190612b92565b6301e13380610d0a856a52b7d2dcc80cd2e4000000612bcd565b610d149190612b92565b610d1e9190612c0a565b905060006856bc75e2d63100000086600001516bffffffffffffffffffffffff1610610d4b578551610d56565b6856bc75e2d6310000005b6bffffffffffffffffffffffff169050806050610d738486612c0a565b610d7e92911b612b92565b86602001818151610d8f9190612b62565b6bffffffffffffffffffffffff16905250505063ffffffff909216604084015250505b63ffffffff6060820181905281516009805460208501516040909501517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff94167801000000000000000000000000000000000000000000000000029390931677ffffffffffffffffffffffffffffffffffffffffffffffff6bffffffffffffffffffffffff9586166c01000000000000000000000000027fffffffffffffffff00000000000000000000000000000000000000000000000090951695909316949094179290921716919091177fffffffff00000000000000000000000000000000000000000000000000000000179055565b6008546040517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201523060248201526bffffffffffffffffffffffff8316604482015260009173ffffffffffffffffffffffffffffffffffffffff16906323b872dd90606401602060405180830381600087803b158015610f2657600080fd5b505af1158015610f3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5e9190612a64565b610fc4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4446503a205472616e73666572206661696c656400000000000000000000000060448201526064016105ef565b604080516080810182526009546bffffffffffffffffffffffff80821683526c01000000000000000000000000820416602083015263ffffffff780100000000000000000000000000000000000000000000000082048116938301939093527c0100000000000000000000000000000000000000000000000000000000900490911660608201819052421080159061106957506301e13380816040015163ffffffff16105b15611207576000816060015163ffffffff16426110869190612c0a565b604083015190915063ffffffff166301e1338082116110a557816110ab565b6301e133805b9150600066038882915c4000836110cd816a295be96e64066972000000612bcd565b6110d79190612bcd565b6110e19190612b92565b6301e133806110fb856a52b7d2dcc80cd2e4000000612bcd565b6111059190612b92565b61110f9190612c0a565b9050600066038882915c400083611131816a295be96e64066972000000612bcd565b61113b9190612bcd565b6111459190612b92565b6301e1338061115f856a52b7d2dcc80cd2e4000000612bcd565b6111699190612b92565b6111739190612c0a565b905060006856bc75e2d63100000086600001516bffffffffffffffffffffffff16106111a05785516111ab565b6856bc75e2d6310000005b6bffffffffffffffffffffffff1690508060506111c88486612c0a565b6111d392911b612b92565b866020018181516111e49190612b62565b6bffffffffffffffffffffffff16905250505063ffffffff909216604084015250505b82816000018181516112199190612b62565b6bffffffffffffffffffffffff90811690915282516009805460208087015160408089015160608a01519688167fffffffffffffffff000000000000000000000000000000000000000000000000909516949094176c0100000000000000000000000092881683021777ffffffffffffffffffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000063ffffffff958616027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16177c0100000000000000000000000000000000000000000000000000000000949096169390930294909417909255336000908152600a83528190208151808301909252548085168083529390049093169083015290915061135c576bffffffffffffffffffffffff80851682526020808401519091169082015261140b565b805160009061136c908690612b62565b6bffffffffffffffffffffffff16905060008183602001516bffffffffffffffffffffffff1684600001516bffffffffffffffffffffffff166113af9190612bcd565b85602001516bffffffffffffffffffffffff16886bffffffffffffffffffffffff166113db9190612bcd565b6113e59190612b4a565b6113ef9190612b92565b6bffffffffffffffffffffffff92831684529091166020830152505b336000818152600a602090815260409182902084518154868401516bffffffffffffffffffffffff9081166c01000000000000000000000000027fffffffffffffffff000000000000000000000000000000000000000000000000909216928116929092171790915582519384528716908301527f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d910160405180910390a15060019392505050565b604080516080810182526009546bffffffffffffffffffffffff80821683526c01000000000000000000000000820416602083015263ffffffff780100000000000000000000000000000000000000000000000082048116938301939093527c01000000000000000000000000000000000000000000000000000000009004909116606082018190526000919042116115a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f546f6f206561726c79206775797300000000000000000000000000000000000060448201526064016105ef565b6000816060015163ffffffff16426115c19190612c0a565b90506301e1338081116115d457806115da565b6301e133805b9050600066038882915c4000826115fc816a0211654585005212800000612bcd565b6116069190612bcd565b6116109190612b92565b6301e1338061162a846a0422ca8b0a00a425000000612bcd565b6116349190612b92565b61163e9190612c0a565b9050600b548161164e9190612c0a565b600b8290556007549094506116799073ffffffffffffffffffffffffffffffffffffffff16856127f0565b6007546040805173ffffffffffffffffffffffffffffffffffffffff9092168252602082018690527f12ed450bcc3fbbe60547c4b6ad842d061208aff7023a3412658688a87978aa38910160405180910390a150505090565b60005473ffffffffffffffffffffffffffffffffffffffff163314611753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105ef565b61175d6000612910565b565b60065460009073ffffffffffffffffffffffffffffffffffffffff1633146117e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f4e6f7420796f757273206d616e0000000000000000000000000000000000000060448201526064016105ef565b604080516080810182526009546bffffffffffffffffffffffff80821683526c01000000000000000000000000820416602083015263ffffffff780100000000000000000000000000000000000000000000000082048116938301939093527c01000000000000000000000000000000000000000000000000000000009004909116606082018190526301e133809061187c9042612c0a565b10156118e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f546f6f206561726c79206d616e0000000000000000000000000000000000000060448201526064016105ef565b6000600c546a02116545850052128000006118ff9190612c0a565b905080851161190e5784611910565b805b925082600c60008282546119249190612b4a565b90915550611934905084846127f0565b6040805173ffffffffffffffffffffffffffffffffffffffff86168152602081018590527fe3fb82e12e4abf3decadf77f5be0447abeb73345b301196a9256a00bc46a1c4e910160405180910390a1505092915050565b60606005805461065090612c4e565b33600090815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff8616845290915281205482811015611a5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016105ef565b611a683385858403612389565b5060019392505050565b60006106e033848461253c565b6000805473ffffffffffffffffffffffffffffffffffffffff163314611b01576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105ef565b60085473ffffffffffffffffffffffffffffffffffffffff1615611b81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f416c726561647920636f6e66696775726564000000000000000000000000000060448201526064016105ef565b600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416179055611bd6826a02fa54641bae8aaa0000006127f0565b506001919050565b336000908152600a602090815260408083208151808301909252546bffffffffffffffffffffffff8082168084526c01000000000000000000000000909204811693830193909352909184161115611c92576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4446503a20496e73756666696369656e74207374616b6500000000000000000060448201526064016105ef565b604080516080810182526009546bffffffffffffffffffffffff80821683526c01000000000000000000000000820416602083015263ffffffff780100000000000000000000000000000000000000000000000082048116938301939093527c01000000000000000000000000000000000000000000000000000000009004909116606082018190524210801590611d3757506301e13380816040015163ffffffff16105b15611ed5576000816060015163ffffffff1642611d549190612c0a565b604083015190915063ffffffff166301e133808211611d735781611d79565b6301e133805b9150600066038882915c400083611d9b816a295be96e64066972000000612bcd565b611da59190612bcd565b611daf9190612b92565b6301e13380611dc9856a52b7d2dcc80cd2e4000000612bcd565b611dd39190612b92565b611ddd9190612c0a565b9050600066038882915c400083611dff816a295be96e64066972000000612bcd565b611e099190612bcd565b611e139190612b92565b6301e13380611e2d856a52b7d2dcc80cd2e4000000612bcd565b611e379190612b92565b611e419190612c0a565b905060006856bc75e2d63100000086600001516bffffffffffffffffffffffff1610611e6e578551611e79565b6856bc75e2d6310000005b6bffffffffffffffffffffffff169050806050611e968486612c0a565b611ea192911b612b92565b86602001818151611eb29190612b62565b6bffffffffffffffffffffffff16905250505063ffffffff909216604084015250505b8381600001818151611ee79190612c21565b6bffffffffffffffffffffffff908116909152825160098054602080870151604088015160608901519587167fffffffffffffffff000000000000000000000000000000000000000000000000909416939093176c010000000000000000000000009187169182021777ffffffffffffffffffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000063ffffffff948516027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16177c01000000000000000000000000000000000000000000000000000000009390951692909202939093179091558551918601516050945091831692611ff2921690612c0a565b611ffc9190612bcd565b8351911c93506bffffffffffffffffffffffff8581169116141561205457336000908152600a6020526040902080547fffffffffffffffff0000000000000000000000000000000000000000000000001690556120dd565b83826000018181516120669190612c21565b6bffffffffffffffffffffffff9081169091526020808401518216858201908152336000908152600a909252604090912085518154925184166c01000000000000000000000000027fffffffffffffffff000000000000000000000000000000000000000000000000909316931692909217179055505b6120e733846127f0565b6008546040517fa9059cbb0000000000000000000000000000000000000000000000000000000081523360048201526bffffffffffffffffffffffff8616602482015273ffffffffffffffffffffffffffffffffffffffff9091169063a9059cbb90604401602060405180830381600087803b15801561216657600080fd5b505af115801561217a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219e9190612a64565b612204576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4446503a204b65726e656c2070616e696300000000000000000000000000000060448201526064016105ef565b604080513381526bffffffffffffffffffffffff861660208201529081018490527f7fc4727e062e336010f2c282598ef5f14facb3de68cf8195c2f23e1454b2b74e9060600160405180910390a15050919050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146122da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105ef565b73ffffffffffffffffffffffffffffffffffffffff811661237d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105ef565b61238681612910565b50565b73ffffffffffffffffffffffffffffffffffffffff831661242b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016105ef565b73ffffffffffffffffffffffffffffffffffffffff82166124ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016105ef565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166125df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016105ef565b73ffffffffffffffffffffffffffffffffffffffff8216612682576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016105ef565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604090205481811015612738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016105ef565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526001602052604080822085850390559185168152908120805484929061277c908490612b4a565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516127e291815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff821661286d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105ef565b806003600082825461287f9190612b4a565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600090815260016020526040812080548392906128b9908490612b4a565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461063c57600080fd5b6000602082840312156129bb57600080fd5b6129c482612985565b9392505050565b600080604083850312156129de57600080fd5b6129e783612985565b91506129f560208401612985565b90509250929050565b600080600060608486031215612a1357600080fd5b612a1c84612985565b9250612a2a60208501612985565b9150604084013590509250925092565b60008060408385031215612a4d57600080fd5b612a5683612985565b946020939093013593505050565b600060208284031215612a7657600080fd5b815180151581146129c457600080fd5b60008060408385031215612a9957600080fd5b823591506129f560208401612985565b600060208284031215612abb57600080fd5b81356bffffffffffffffffffffffff811681146129c457600080fd5b600060208083528351808285015260005b81811015612b0457858101830151858201604001528201612ae8565b81811115612b16576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60008219821115612b5d57612b5d612ca2565b500190565b60006bffffffffffffffffffffffff808316818516808303821115612b8957612b89612ca2565b01949350505050565b600082612bc8577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612c0557612c05612ca2565b500290565b600082821015612c1c57612c1c612ca2565b500390565b60006bffffffffffffffffffffffff83811690831681811015612c4657612c46612ca2565b039392505050565b600181811c90821680612c6257607f821691505b60208210811415612c9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212207112144987113c8a1a0ed27bdc04b72723b3c796b287cf6f4ee6261fb7b3601564736f6c634300080600330000000000000000000000002f7ab204f3675353f37c70f180944a65b9890a9a00000000000000000000000000000000000000000007ba3a3a16b10b7e8c000000000000000000000000000000000000000000000000000000000000615d73a0
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063a9059cbb116100a2578063dea4ccf211610071578063dea4ccf21461047b578063e082f1d41461048e578063e7d015f21461053e578063f2fde38b1461055e57600080fd5b8063a9059cbb146103a8578063b82a35c5146103bb578063ce9972aa146103ce578063dd62ed3e1461043557600080fd5b80638319be75116100de5780638319be75146103665780638da5cb5b1461036f57806395d89b411461038d578063a457c2d71461039557600080fd5b806370a0823114610315578063715018a61461034b57806379224ed61461035357600080fd5b806339509351116101715780634783c35b1161014b5780634783c35b146102955780634d853ee5146102da57806361f129ad146102fa578063641cee401461030d57600080fd5b8063395093511461026f5780633c5202ce1461028257806347377e161461028c57600080fd5b80630adeccc5116101ad5780630adeccc51461022457806318160ddd1461024557806323b872dd1461024d578063313ce5671461026057600080fd5b806305540534146101d457806306fdde03146101fc578063095ea7b314610211575b600080fd5b6101e76101e23660046129a9565b610571565b60405190151581526020015b60405180910390f35b610204610641565b6040516101f39190612ad7565b6101e761021f366004612a3a565b6106d3565b6102376102323660046129a9565b6106e9565b6040519081526020016101f3565b600354610237565b6101e761025b3660046129fe565b6109bf565b604051601281526020016101f3565b6101e761027d366004612a3a565b610aa5565b61028a610aee565b005b610237600b5481565b6007546102b59073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101f3565b6006546102b59073ffffffffffffffffffffffffffffffffffffffff1681565b6101e7610308366004612aa9565b610ea0565b6102376114b4565b6102376103233660046129a9565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205490565b61028a6116d2565b610237610361366004612a86565b61175f565b610237600c5481565b60005473ffffffffffffffffffffffffffffffffffffffff166102b5565b61020461198b565b6101e76103a3366004612a3a565b61199a565b6101e76103b6366004612a3a565b611a72565b6101e76103c93660046129a9565b611a7f565b6104106103dc3660046129a9565b600a602052600090815260409020546bffffffffffffffffffffffff808216916c0100000000000000000000000090041682565b604080516bffffffffffffffffffffffff9384168152929091166020830152016101f3565b6102376104433660046129cb565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205490565b610237610489366004612aa9565b611bde565b600954610502906bffffffffffffffffffffffff808216916c0100000000000000000000000081049091169063ffffffff780100000000000000000000000000000000000000000000000082048116917c010000000000000000000000000000000000000000000000000000000090041684565b604080516bffffffffffffffffffffffff958616815294909316602085015263ffffffff918216928401929092521660608201526080016101f3565b6008546102b59073ffffffffffffffffffffffffffffffffffffffff1681565b61028a61056c3660046129a9565b612259565b6000805473ffffffffffffffffffffffffffffffffffffffff1633146105f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b50600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831617905560015b919050565b60606004805461065090612c4e565b80601f016020809104026020016040519081016040528092919081815260200182805461067c90612c4e565b80156106c95780601f1061069e576101008083540402835291602001916106c9565b820191906000526020600020905b8154815290600101906020018083116106ac57829003601f168201915b5050505050905090565b60006106e0338484612389565b50600192915050565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a602090815260408083208151808301835290546bffffffffffffffffffffffff80821683526c0100000000000000000000000091829004811683860152835160808101855260095480831682529283049091169481019490945263ffffffff780100000000000000000000000000000000000000000000000082048116938501939093527c010000000000000000000000000000000000000000000000000000000090049091166060830181905290919042108015906107d457506301e13380816040015163ffffffff16105b15610966576000816060015163ffffffff16426107f19190612c0a565b604083015190915063ffffffff166301e1338082116108105781610816565b6301e133805b9150600066038882915c400083610838816a295be96e64066972000000612bcd565b6108429190612bcd565b61084c9190612b92565b6301e13380610866856a52b7d2dcc80cd2e4000000612bcd565b6108709190612b92565b61087a9190612c0a565b9050600066038882915c40008361089c816a295be96e64066972000000612bcd565b6108a69190612bcd565b6108b09190612b92565b6301e133806108ca856a52b7d2dcc80cd2e4000000612bcd565b6108d49190612b92565b6108de9190612c0a565b905060006856bc75e2d63100000086600001516bffffffffffffffffffffffff161061090b578551610916565b6856bc75e2d6310000005b6bffffffffffffffffffffffff1690508060506109338486612c0a565b61093e92911b612b92565b8660200181815161094f9190612b62565b6bffffffffffffffffffffffff1690525050505050505b605082600001516bffffffffffffffffffffffff1683602001516bffffffffffffffffffffffff1683602001516bffffffffffffffffffffffff166109ab9190612c0a565b6109b59190612bcd565b901c949350505050565b60006109cc84848461253c565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260026020908152604080832033845290915290205482811015610a8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084016105ef565b610a9a8533858403612389565b506001949350505050565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490916106e0918590610ae9908690612b4a565b612389565b60005473ffffffffffffffffffffffffffffffffffffffff163314610b6f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105ef565b604080516080810182526009546bffffffffffffffffffffffff80821683526c01000000000000000000000000820416602083015263ffffffff780100000000000000000000000000000000000000000000000082048116938301939093527c01000000000000000000000000000000000000000000000000000000009004909116606082018190524210801590610c1457506301e13380816040015163ffffffff16105b15610db2576000816060015163ffffffff1642610c319190612c0a565b604083015190915063ffffffff166301e133808211610c505781610c56565b6301e133805b9150600066038882915c400083610c78816a295be96e64066972000000612bcd565b610c829190612bcd565b610c8c9190612b92565b6301e13380610ca6856a52b7d2dcc80cd2e4000000612bcd565b610cb09190612b92565b610cba9190612c0a565b9050600066038882915c400083610cdc816a295be96e64066972000000612bcd565b610ce69190612bcd565b610cf09190612b92565b6301e13380610d0a856a52b7d2dcc80cd2e4000000612bcd565b610d149190612b92565b610d1e9190612c0a565b905060006856bc75e2d63100000086600001516bffffffffffffffffffffffff1610610d4b578551610d56565b6856bc75e2d6310000005b6bffffffffffffffffffffffff169050806050610d738486612c0a565b610d7e92911b612b92565b86602001818151610d8f9190612b62565b6bffffffffffffffffffffffff16905250505063ffffffff909216604084015250505b63ffffffff6060820181905281516009805460208501516040909501517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff94167801000000000000000000000000000000000000000000000000029390931677ffffffffffffffffffffffffffffffffffffffffffffffff6bffffffffffffffffffffffff9586166c01000000000000000000000000027fffffffffffffffff00000000000000000000000000000000000000000000000090951695909316949094179290921716919091177fffffffff00000000000000000000000000000000000000000000000000000000179055565b6008546040517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201523060248201526bffffffffffffffffffffffff8316604482015260009173ffffffffffffffffffffffffffffffffffffffff16906323b872dd90606401602060405180830381600087803b158015610f2657600080fd5b505af1158015610f3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5e9190612a64565b610fc4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4446503a205472616e73666572206661696c656400000000000000000000000060448201526064016105ef565b604080516080810182526009546bffffffffffffffffffffffff80821683526c01000000000000000000000000820416602083015263ffffffff780100000000000000000000000000000000000000000000000082048116938301939093527c0100000000000000000000000000000000000000000000000000000000900490911660608201819052421080159061106957506301e13380816040015163ffffffff16105b15611207576000816060015163ffffffff16426110869190612c0a565b604083015190915063ffffffff166301e1338082116110a557816110ab565b6301e133805b9150600066038882915c4000836110cd816a295be96e64066972000000612bcd565b6110d79190612bcd565b6110e19190612b92565b6301e133806110fb856a52b7d2dcc80cd2e4000000612bcd565b6111059190612b92565b61110f9190612c0a565b9050600066038882915c400083611131816a295be96e64066972000000612bcd565b61113b9190612bcd565b6111459190612b92565b6301e1338061115f856a52b7d2dcc80cd2e4000000612bcd565b6111699190612b92565b6111739190612c0a565b905060006856bc75e2d63100000086600001516bffffffffffffffffffffffff16106111a05785516111ab565b6856bc75e2d6310000005b6bffffffffffffffffffffffff1690508060506111c88486612c0a565b6111d392911b612b92565b866020018181516111e49190612b62565b6bffffffffffffffffffffffff16905250505063ffffffff909216604084015250505b82816000018181516112199190612b62565b6bffffffffffffffffffffffff90811690915282516009805460208087015160408089015160608a01519688167fffffffffffffffff000000000000000000000000000000000000000000000000909516949094176c0100000000000000000000000092881683021777ffffffffffffffffffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000063ffffffff958616027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16177c0100000000000000000000000000000000000000000000000000000000949096169390930294909417909255336000908152600a83528190208151808301909252548085168083529390049093169083015290915061135c576bffffffffffffffffffffffff80851682526020808401519091169082015261140b565b805160009061136c908690612b62565b6bffffffffffffffffffffffff16905060008183602001516bffffffffffffffffffffffff1684600001516bffffffffffffffffffffffff166113af9190612bcd565b85602001516bffffffffffffffffffffffff16886bffffffffffffffffffffffff166113db9190612bcd565b6113e59190612b4a565b6113ef9190612b92565b6bffffffffffffffffffffffff92831684529091166020830152505b336000818152600a602090815260409182902084518154868401516bffffffffffffffffffffffff9081166c01000000000000000000000000027fffffffffffffffff000000000000000000000000000000000000000000000000909216928116929092171790915582519384528716908301527f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d910160405180910390a15060019392505050565b604080516080810182526009546bffffffffffffffffffffffff80821683526c01000000000000000000000000820416602083015263ffffffff780100000000000000000000000000000000000000000000000082048116938301939093527c01000000000000000000000000000000000000000000000000000000009004909116606082018190526000919042116115a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f546f6f206561726c79206775797300000000000000000000000000000000000060448201526064016105ef565b6000816060015163ffffffff16426115c19190612c0a565b90506301e1338081116115d457806115da565b6301e133805b9050600066038882915c4000826115fc816a0211654585005212800000612bcd565b6116069190612bcd565b6116109190612b92565b6301e1338061162a846a0422ca8b0a00a425000000612bcd565b6116349190612b92565b61163e9190612c0a565b9050600b548161164e9190612c0a565b600b8290556007549094506116799073ffffffffffffffffffffffffffffffffffffffff16856127f0565b6007546040805173ffffffffffffffffffffffffffffffffffffffff9092168252602082018690527f12ed450bcc3fbbe60547c4b6ad842d061208aff7023a3412658688a87978aa38910160405180910390a150505090565b60005473ffffffffffffffffffffffffffffffffffffffff163314611753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105ef565b61175d6000612910565b565b60065460009073ffffffffffffffffffffffffffffffffffffffff1633146117e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f4e6f7420796f757273206d616e0000000000000000000000000000000000000060448201526064016105ef565b604080516080810182526009546bffffffffffffffffffffffff80821683526c01000000000000000000000000820416602083015263ffffffff780100000000000000000000000000000000000000000000000082048116938301939093527c01000000000000000000000000000000000000000000000000000000009004909116606082018190526301e133809061187c9042612c0a565b10156118e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f546f6f206561726c79206d616e0000000000000000000000000000000000000060448201526064016105ef565b6000600c546a02116545850052128000006118ff9190612c0a565b905080851161190e5784611910565b805b925082600c60008282546119249190612b4a565b90915550611934905084846127f0565b6040805173ffffffffffffffffffffffffffffffffffffffff86168152602081018590527fe3fb82e12e4abf3decadf77f5be0447abeb73345b301196a9256a00bc46a1c4e910160405180910390a1505092915050565b60606005805461065090612c4e565b33600090815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff8616845290915281205482811015611a5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016105ef565b611a683385858403612389565b5060019392505050565b60006106e033848461253c565b6000805473ffffffffffffffffffffffffffffffffffffffff163314611b01576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105ef565b60085473ffffffffffffffffffffffffffffffffffffffff1615611b81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f416c726561647920636f6e66696775726564000000000000000000000000000060448201526064016105ef565b600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416179055611bd6826a02fa54641bae8aaa0000006127f0565b506001919050565b336000908152600a602090815260408083208151808301909252546bffffffffffffffffffffffff8082168084526c01000000000000000000000000909204811693830193909352909184161115611c92576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4446503a20496e73756666696369656e74207374616b6500000000000000000060448201526064016105ef565b604080516080810182526009546bffffffffffffffffffffffff80821683526c01000000000000000000000000820416602083015263ffffffff780100000000000000000000000000000000000000000000000082048116938301939093527c01000000000000000000000000000000000000000000000000000000009004909116606082018190524210801590611d3757506301e13380816040015163ffffffff16105b15611ed5576000816060015163ffffffff1642611d549190612c0a565b604083015190915063ffffffff166301e133808211611d735781611d79565b6301e133805b9150600066038882915c400083611d9b816a295be96e64066972000000612bcd565b611da59190612bcd565b611daf9190612b92565b6301e13380611dc9856a52b7d2dcc80cd2e4000000612bcd565b611dd39190612b92565b611ddd9190612c0a565b9050600066038882915c400083611dff816a295be96e64066972000000612bcd565b611e099190612bcd565b611e139190612b92565b6301e13380611e2d856a52b7d2dcc80cd2e4000000612bcd565b611e379190612b92565b611e419190612c0a565b905060006856bc75e2d63100000086600001516bffffffffffffffffffffffff1610611e6e578551611e79565b6856bc75e2d6310000005b6bffffffffffffffffffffffff169050806050611e968486612c0a565b611ea192911b612b92565b86602001818151611eb29190612b62565b6bffffffffffffffffffffffff16905250505063ffffffff909216604084015250505b8381600001818151611ee79190612c21565b6bffffffffffffffffffffffff908116909152825160098054602080870151604088015160608901519587167fffffffffffffffff000000000000000000000000000000000000000000000000909416939093176c010000000000000000000000009187169182021777ffffffffffffffffffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000063ffffffff948516027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16177c01000000000000000000000000000000000000000000000000000000009390951692909202939093179091558551918601516050945091831692611ff2921690612c0a565b611ffc9190612bcd565b8351911c93506bffffffffffffffffffffffff8581169116141561205457336000908152600a6020526040902080547fffffffffffffffff0000000000000000000000000000000000000000000000001690556120dd565b83826000018181516120669190612c21565b6bffffffffffffffffffffffff9081169091526020808401518216858201908152336000908152600a909252604090912085518154925184166c01000000000000000000000000027fffffffffffffffff000000000000000000000000000000000000000000000000909316931692909217179055505b6120e733846127f0565b6008546040517fa9059cbb0000000000000000000000000000000000000000000000000000000081523360048201526bffffffffffffffffffffffff8616602482015273ffffffffffffffffffffffffffffffffffffffff9091169063a9059cbb90604401602060405180830381600087803b15801561216657600080fd5b505af115801561217a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219e9190612a64565b612204576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4446503a204b65726e656c2070616e696300000000000000000000000000000060448201526064016105ef565b604080513381526bffffffffffffffffffffffff861660208201529081018490527f7fc4727e062e336010f2c282598ef5f14facb3de68cf8195c2f23e1454b2b74e9060600160405180910390a15050919050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146122da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105ef565b73ffffffffffffffffffffffffffffffffffffffff811661237d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105ef565b61238681612910565b50565b73ffffffffffffffffffffffffffffffffffffffff831661242b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016105ef565b73ffffffffffffffffffffffffffffffffffffffff82166124ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016105ef565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166125df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016105ef565b73ffffffffffffffffffffffffffffffffffffffff8216612682576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016105ef565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604090205481811015612738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016105ef565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526001602052604080822085850390559185168152908120805484929061277c908490612b4a565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516127e291815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff821661286d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105ef565b806003600082825461287f9190612b4a565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600090815260016020526040812080548392906128b9908490612b4a565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461063c57600080fd5b6000602082840312156129bb57600080fd5b6129c482612985565b9392505050565b600080604083850312156129de57600080fd5b6129e783612985565b91506129f560208401612985565b90509250929050565b600080600060608486031215612a1357600080fd5b612a1c84612985565b9250612a2a60208501612985565b9150604084013590509250925092565b60008060408385031215612a4d57600080fd5b612a5683612985565b946020939093013593505050565b600060208284031215612a7657600080fd5b815180151581146129c457600080fd5b60008060408385031215612a9957600080fd5b823591506129f560208401612985565b600060208284031215612abb57600080fd5b81356bffffffffffffffffffffffff811681146129c457600080fd5b600060208083528351808285015260005b81811015612b0457858101830151858201604001528201612ae8565b81811115612b16576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60008219821115612b5d57612b5d612ca2565b500190565b60006bffffffffffffffffffffffff808316818516808303821115612b8957612b89612ca2565b01949350505050565b600082612bc8577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612c0557612c05612ca2565b500290565b600082821015612c1c57612c1c612ca2565b500390565b60006bffffffffffffffffffffffff83811690831681811015612c4657612c46612ca2565b039392505050565b600181811c90821680612c6257607f821691505b60208210811415612c9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212207112144987113c8a1a0ed27bdc04b72723b3c796b287cf6f4ee6261fb7b3601564736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002f7ab204f3675353f37c70f180944a65b9890a9a00000000000000000000000000000000000000000007ba3a3a16b10b7e8c000000000000000000000000000000000000000000000000000000000000615d73a0
-----Decoded View---------------
Arg [0] : founderAddress (address): 0x2f7ab204f3675353F37c70f180944a65b9890a9a
Arg [1] : mintAmount (uint256): 9341915000000000000000000
Arg [2] : startTime (uint32): 1633514400
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000002f7ab204f3675353f37c70f180944a65b9890a9a
Arg [1] : 00000000000000000000000000000000000000000007ba3a3a16b10b7e8c0000
Arg [2] : 00000000000000000000000000000000000000000000000000000000615d73a0
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.