Contract Overview
Balance:
0 MATIC
My Name Tag:
Not Available
Txn Hash |
Method
|
Block
|
From
|
To
|
Value | [Txn Fee] | |||
---|---|---|---|---|---|---|---|---|---|
0x869ba3787971c2c7cdd1e429735f561f28243c8600c990e8e51cfb927fc02550 | 0x60806040 | 23912795 | 431 days 10 hrs ago | 0x8e1d4ee6c2948316fe34b76613284eeea8f5aff0 | IN | Create: StableCoinFactory | 0 MATIC | 0.003558953996 |
[ Download CSV Export ]
Contract Name:
StableCoinFactory
Compiler Version
v0.8.10+commit.fc410830
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "Ownable.sol"; import {StableCoin} from "StableCoin.sol"; contract StableCoinFactory is Ownable{ address[] private allCoins; mapping(uint => address) private _getCoin; mapping(string => address) _getCoinByName; mapping(address => string) private _getSymbol; mapping(address => uint) private _getCurrency; function createStableCoin(string memory name, string memory symbol) external onlyOwner{ require (_getCoinByName[name] == address(0), "Coin already exists!"); uint currency = allCoins.length; StableCoin coin = new StableCoin(name, symbol, currency); coin.transferOwnership(owner()); _getCoin[currency] = address(coin); _getSymbol[address(coin)] = symbol; _getCurrency[address(coin)] = currency; _getCoinByName[name] = address(coin); allCoins.push(address(coin)); } function latestCoin() external view returns(address){ return allCoins[allCoins.length -1]; } function getCoin(uint currency) public view returns(address){ return _getCoin[currency]; } function getSymbol(address coin) public view returns(string memory){ return _getSymbol[coin]; } function getCurrency(address coin) public view returns(uint){ return _getCurrency[coin]; } function getCoinByName(string memory name) public view returns(address){ return _getCoinByName[name]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "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() { _transferOwnership(_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 { _transferOwnership(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"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) 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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import { ERC20 } from "ERC20.sol"; import "Ownable.sol"; contract StableCoin is ERC20, Ownable{ string private _name; string private _symbol; uint private _currency; uint8 private _decimals; address private _factory; function _initialize(string memory nameArg, string memory symbolArg, uint currencyArg, uint8 decimalsArg) internal { _name = nameArg; _symbol = symbolArg; _decimals = decimalsArg; _currency = currencyArg; _factory = msg.sender; } function name() public override view returns (string memory) { return _name; } function symbol() public override view returns (string memory) { return _symbol; } function currency() public view returns (uint) { return _currency; } function decimals() public override view returns (uint8) { return _decimals; } function factory() public view returns (address) { return _factory; } mapping(address => mapping(address => uint)) private _indexWiseCoinBorrowed; mapping(address => mapping(address => uint)) private _indexWiseCollateral; address[] private borrowers; constructor(string memory _name, string memory _symbol, uint _currency) ERC20(_name, _symbol){ _initialize(_name, _symbol, _currency, 18); } function mint(address _account, address _token, uint borrowedAmount, uint collateralAmount) external onlyOwner{ if (borrowedAmount > 0){ _mint(_account, borrowedAmount); } _indexWiseCoinBorrowed[_account][_token] += borrowedAmount; _indexWiseCollateral[_account][_token] += collateralAmount; borrowers.push(_account); // can contain duplicate entrees } function burn(address _account, address _token, uint borrowedAmount, uint collateralAmount) external onlyOwner{ if (borrowedAmount > 0){ _burn(_account, borrowedAmount); } _indexWiseCoinBorrowed[_account][_token] -= borrowedAmount; _indexWiseCollateral[_account][_token] -= collateralAmount; } function getIndexWiseCoinBorrowed(address _account, address _token) external view returns (uint){ return _indexWiseCoinBorrowed[_account][_token]; } function getIndexWiseCollateral(address _account, address _token) external view returns (uint){ return _indexWiseCollateral[_account][_token]; } function getBorrowers() external view onlyOwner returns (address[] memory) { return borrowers; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "IERC20.sol"; import "IERC20Metadata.sol"; import "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 Contracts guidelines: functions revert * instead 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 // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) 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); }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "libraries": { "StableCoinFactory.sol": {} }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"name":"createStableCoin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"currency","type":"uint256"}],"name":"getCoin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"}],"name":"getCoinByName","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"coin","type":"address"}],"name":"getCurrency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"coin","type":"address"}],"name":"getSymbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestCoin","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611ed08061007e6000396000f3fe60806040523480156200001157600080fd5b50600436106200009f5760003560e01c80639c90720f116200006e5780639c90720f1462000100578063c9b2e5221462000117578063da311588146200013d578063dfa141631462000169578063f2fde38b14620001a457600080fd5b8063469567c714620000a45780635314d34514620000d8578063715018a614620000e25780638da5cb5b14620000ee575b600080fd5b620000bb620000b5366004620007d0565b620001bb565b6040516001600160a01b0390911681526020015b60405180910390f35b620000bb620001ee565b620000ec62000230565b005b6000546001600160a01b0316620000bb565b620000ec6200011136600462000811565b62000274565b6200012e620001283660046200087c565b620004cb565b604051620000cf91906200090f565b620000bb6200014e36600462000924565b6000908152600260205260409020546001600160a01b031690565b620001956200017a3660046200087c565b6001600160a01b031660009081526005602052604090205490565b604051908152602001620000cf565b620000ec620001b53660046200087c565b6200057f565b6000600382604051620001cf91906200093e565b908152604051908190036020019020546001600160a01b031692915050565b6001805460009190620002039082906200095c565b8154811062000216576200021662000982565b6000918252602090912001546001600160a01b0316919050565b6000546001600160a01b03163314620002665760405162461bcd60e51b81526004016200025d9062000998565b60405180910390fd5b62000272600062000621565b565b6000546001600160a01b03163314620002a15760405162461bcd60e51b81526004016200025d9062000998565b60006001600160a01b0316600383604051620002be91906200093e565b908152604051908190036020019020546001600160a01b0316146200031d5760405162461bcd60e51b8152602060048201526014602482015273436f696e20616c7265616479206578697374732160601b60448201526064016200025d565b600154604051600090849084908490620003379062000671565b6200034593929190620009cd565b604051809103906000f08015801562000362573d6000803e3d6000fd5b509050806001600160a01b031663f2fde38b620003876000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b158015620003c957600080fd5b505af1158015620003de573d6000803e3d6000fd5b505050600083815260026020908152604080832080546001600160a01b0319166001600160a01b03871690811790915583526004825290912085516200042a935090918601906200067f565b506001600160a01b038116600090815260056020526040908190208390555181906003906200045b9087906200093e565b90815260405190819003602001902080546001600160a01b039283166001600160a01b0319918216179091556001805480820182556000919091527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6018054939092169216919091179055505050565b6001600160a01b0381166000908152600460205260409020805460609190620004f49062000a07565b80601f0160208091040260200160405190810160405280929190818152602001828054620005229062000a07565b8015620005735780601f10620005475761010080835404028352916020019162000573565b820191906000526020600020905b8154815290600101906020018083116200055557829003601f168201915b50505050509050919050565b6000546001600160a01b03163314620005ac5760405162461bcd60e51b81526004016200025d9062000998565b6001600160a01b038116620006135760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016200025d565b6200061e8162000621565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6114568062000a4583390190565b8280546200068d9062000a07565b90600052602060002090601f016020900481019282620006b15760008555620006fc565b82601f10620006cc57805160ff1916838001178555620006fc565b82800160010185558215620006fc579182015b82811115620006fc578251825591602001919060010190620006df565b506200070a9291506200070e565b5090565b5b808211156200070a57600081556001016200070f565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200074d57600080fd5b813567ffffffffffffffff808211156200076b576200076b62000725565b604051601f8301601f19908116603f0116810190828211818310171562000796576200079662000725565b81604052838152866020858801011115620007b057600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215620007e357600080fd5b813567ffffffffffffffff811115620007fb57600080fd5b62000809848285016200073b565b949350505050565b600080604083850312156200082557600080fd5b823567ffffffffffffffff808211156200083e57600080fd5b6200084c868387016200073b565b935060208501359150808211156200086357600080fd5b5062000872858286016200073b565b9150509250929050565b6000602082840312156200088f57600080fd5b81356001600160a01b0381168114620008a757600080fd5b9392505050565b60005b83811015620008cb578181015183820152602001620008b1565b83811115620008db576000848401525b50505050565b60008151808452620008fb816020860160208601620008ae565b601f01601f19169290920160200192915050565b602081526000620008a76020830184620008e1565b6000602082840312156200093757600080fd5b5035919050565b6000825162000952818460208701620008ae565b9190910192915050565b6000828210156200097d57634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b606081526000620009e26060830186620008e1565b8281036020840152620009f68186620008e1565b915050826040830152949350505050565b600181811c9082168062000a1c57607f821691505b6020821081141562000a3e57634e487b7160e01b600052602260045260246000fd5b5091905056fe60806040523480156200001157600080fd5b5060405162001456380380620014568339810160408190526200003491620002b9565b8251839083906200004d90600390602085019062000146565b5080516200006390600490602084019062000146565b505050620000806200007a6200009860201b60201c565b6200009c565b6200008f8383836012620000ee565b50505062000369565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b83516200010390600690602087019062000146565b5082516200011990600790602086019062000146565b506009805460089390935560ff919091166001600160a81b03199092169190911761010033021790555050565b82805462000154906200032c565b90600052602060002090601f016020900481019282620001785760008555620001c3565b82601f106200019357805160ff1916838001178555620001c3565b82800160010185558215620001c3579182015b82811115620001c3578251825591602001919060010190620001a6565b50620001d1929150620001d5565b5090565b5b80821115620001d15760008155600101620001d6565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200021457600080fd5b81516001600160401b0380821115620002315762000231620001ec565b604051601f8301601f19908116603f011681019082821181831017156200025c576200025c620001ec565b816040528381526020925086838588010111156200027957600080fd5b600091505b838210156200029d57858201830151818301840152908201906200027e565b83821115620002af5760008385830101525b9695505050505050565b600080600060608486031215620002cf57600080fd5b83516001600160401b0380821115620002e757600080fd5b620002f58783880162000202565b945060208601519150808211156200030c57600080fd5b506200031b8682870162000202565b925050604084015190509250925092565b600181811c908216806200034157607f821691505b602082108114156200036357634e487b7160e01b600052602260045260246000fd5b50919050565b6110dd80620003796000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806395d89b41116100b8578063c712cdd91161007c578063c712cdd91461028e578063d7020d0a146102c7578063dd62ed3e146102da578063e26edb1914610313578063e5a6b10f1461034c578063f2fde38b1461035457600080fd5b806395d89b4114610237578063a457c2d71461023f578063a9059cbb14610252578063b3f1c93d14610265578063c45a01551461027857600080fd5b806339509351116100ff57806339509351146101b75780636854786a146101ca57806370a08231146101df578063715018a6146102085780638da5cb5b1461021257600080fd5b806306fdde031461013c578063095ea7b31461015a57806318160ddd1461017d57806323b872dd1461018f578063313ce567146101a2575b600080fd5b610144610367565b6040516101519190610e37565b60405180910390f35b61016d610168366004610ea8565b6103f9565b6040519015158152602001610151565b6002545b604051908152602001610151565b61016d61019d366004610ed2565b61040f565b60095460405160ff9091168152602001610151565b61016d6101c5366004610ea8565b6104be565b6101d26104fa565b6040516101519190610f0e565b6101816101ed366004610f5b565b6001600160a01b031660009081526020819052604090205490565b610210610586565b005b6005546001600160a01b03165b6040516001600160a01b039091168152602001610151565b6101446105bc565b61016d61024d366004610ea8565b6105cb565b61016d610260366004610ea8565b610664565b610210610273366004610f7d565b610671565b60095461010090046001600160a01b031661021f565b61018161029c366004610fbf565b6001600160a01b039182166000908152600b6020908152604080832093909416825291909152205490565b6102106102d5366004610f7d565b610779565b6101816102e8366004610fbf565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610181610321366004610fbf565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205490565b600854610181565b610210610362366004610f5b565b610831565b60606006805461037690610ff2565b80601f01602080910402602001604051908101604052809291908181526020018280546103a290610ff2565b80156103ef5780601f106103c4576101008083540402835291602001916103ef565b820191906000526020600020905b8154815290600101906020018083116103d257829003601f168201915b5050505050905090565b60006104063384846108cc565b50600192915050565b600061041c8484846109f1565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104a65760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6104b385338584036108cc565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104069185906104f5908690611043565b6108cc565b6005546060906001600160a01b031633146105275760405162461bcd60e51b815260040161049d9061105b565b600c8054806020026020016040519081016040528092919081815260200182805480156103ef57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161055f575050505050905090565b6005546001600160a01b031633146105b05760405162461bcd60e51b815260040161049d9061105b565b6105ba6000610bc0565b565b60606007805461037690610ff2565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561064d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161049d565b61065a33858584036108cc565b5060019392505050565b60006104063384846109f1565b6005546001600160a01b0316331461069b5760405162461bcd60e51b815260040161049d9061105b565b81156106ab576106ab8483610c12565b6001600160a01b038085166000908152600a60209081526040808320938716835292905290812080548492906106e2908490611043565b90915550506001600160a01b038085166000908152600b602090815260408083209387168352929052908120805483929061071e908490611043565b9091555050600c80546001810182556000919091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319166001600160a01b039590951694909417909355505050565b6005546001600160a01b031633146107a35760405162461bcd60e51b815260040161049d9061105b565b81156107b3576107b38483610cf1565b6001600160a01b038085166000908152600a60209081526040808320938716835292905290812080548492906107ea908490611090565b90915550506001600160a01b038085166000908152600b6020908152604080832093871683529290529081208054839290610826908490611090565b909155505050505050565b6005546001600160a01b0316331461085b5760405162461bcd60e51b815260040161049d9061105b565b6001600160a01b0381166108c05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161049d565b6108c981610bc0565b50565b6001600160a01b03831661092e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161049d565b6001600160a01b03821661098f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161049d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610a555760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161049d565b6001600160a01b038216610ab75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161049d565b6001600160a01b03831660009081526020819052604090205481811015610b2f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161049d565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610b66908490611043565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610bb291815260200190565b60405180910390a350505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216610c685760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161049d565b8060026000828254610c7a9190611043565b90915550506001600160a01b03821660009081526020819052604081208054839290610ca7908490611043565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610d515760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161049d565b6001600160a01b03821660009081526020819052604090205481811015610dc55760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161049d565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610df4908490611090565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016109e4565b600060208083528351808285015260005b81811015610e6457858101830151858201604001528201610e48565b81811115610e76576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610ea357600080fd5b919050565b60008060408385031215610ebb57600080fd5b610ec483610e8c565b946020939093013593505050565b600080600060608486031215610ee757600080fd5b610ef084610e8c565b9250610efe60208501610e8c565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b81811015610f4f5783516001600160a01b031683529284019291840191600101610f2a565b50909695505050505050565b600060208284031215610f6d57600080fd5b610f7682610e8c565b9392505050565b60008060008060808587031215610f9357600080fd5b610f9c85610e8c565b9350610faa60208601610e8c565b93969395505050506040820135916060013590565b60008060408385031215610fd257600080fd5b610fdb83610e8c565b9150610fe960208401610e8c565b90509250929050565b600181811c9082168061100657607f821691505b6020821081141561102757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156110565761105661102d565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000828210156110a2576110a261102d565b50039056fea2646970667358221220cfad6e912a6b57dbe81ca3bdeb5e89b3bad73beddbc1b7ca4ece4026bd5821c464736f6c634300080a0033a26469706673582212200a7914330344f9527937adc119248929f2dbc9e57f3cb12d78887d41b08f981264736f6c634300080a0033
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|