Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 2,123 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer | 24600649 | 5 hrs ago | IN | 0 ETH | 0.0000024 | ||||
| Approve | 24591769 | 35 hrs ago | IN | 0 ETH | 0.00010638 | ||||
| Approve | 24567645 | 4 days ago | IN | 0 ETH | 0.00000197 | ||||
| Approve | 24567642 | 4 days ago | IN | 0 ETH | 0.00000206 | ||||
| Approve | 24554219 | 6 days ago | IN | 0 ETH | 0.00001018 | ||||
| Approve | 24553035 | 6 days ago | IN | 0 ETH | 0.00000212 | ||||
| Approve | 24553024 | 6 days ago | IN | 0 ETH | 0.00000466 | ||||
| Approve | 24540195 | 8 days ago | IN | 0 ETH | 0.0000029 | ||||
| Approve | 24534405 | 9 days ago | IN | 0 ETH | 0.0000493 | ||||
| Approve | 24473521 | 17 days ago | IN | 0 ETH | 0.00000104 | ||||
| Approve | 24473520 | 17 days ago | IN | 0 ETH | 0.00000104 | ||||
| Approve | 24473519 | 17 days ago | IN | 0 ETH | 0.00000096 | ||||
| Approve | 24463774 | 19 days ago | IN | 0 ETH | 0.0000504 | ||||
| Approve | 24455656 | 20 days ago | IN | 0 ETH | 0.00000164 | ||||
| Approve | 24452776 | 20 days ago | IN | 0 ETH | 0.0000017 | ||||
| Approve | 24452054 | 20 days ago | IN | 0 ETH | 0.00000219 | ||||
| Approve | 24442919 | 22 days ago | IN | 0 ETH | 0.00005177 | ||||
| Approve | 24441633 | 22 days ago | IN | 0 ETH | 0.00006343 | ||||
| Approve | 24441626 | 22 days ago | IN | 0 ETH | 0.0001071 | ||||
| Approve | 24423923 | 24 days ago | IN | 0 ETH | 0.00000236 | ||||
| Approve | 24414133 | 26 days ago | IN | 0 ETH | 0.00000131 | ||||
| Approve | 24414132 | 26 days ago | IN | 0 ETH | 0.00000131 | ||||
| Approve | 24414131 | 26 days ago | IN | 0 ETH | 0.0000013 | ||||
| Approve | 24395549 | 28 days ago | IN | 0 ETH | 0.00010691 | ||||
| Approve | 24395522 | 28 days ago | IN | 0 ETH | 0.00010825 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
VUSD
Compiler Version
v0.8.3+commit.8d00100c
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity 0.8.3;
import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./Governed.sol";
/// @title VUSD, A stablecoin pegged to the US Dollar, backed by interest-generating collateral.
contract VUSD is ERC20Permit, ERC20Burnable, Governed {
using SafeERC20 for IERC20;
address public minter;
address public treasury;
event UpdatedMinter(address indexed previousMinter, address indexed newMinter);
event UpdatedTreasury(address indexed previousTreasury, address indexed newTreasury);
constructor(address _treasury) ERC20Permit("VUSD") ERC20("VUSD", "VUSD") {
require(_treasury != address(0), "treasury-address-is-zero");
treasury = _treasury;
emit UpdatedTreasury(address(0), _treasury);
}
modifier onlyMinter() {
require(_msgSender() == minter, "caller-is-not-minter");
_;
}
/**
* @notice Mint VUSD, only minter can call this.
* @param _to Address where VUSD will be minted
* @param _amount VUSD amount to mint
*/
function mint(address _to, uint256 _amount) external onlyMinter {
_mint(_to, _amount);
}
/**
* @notice Transfer tokens to multiple recipient
* @dev Address array and amount array are 1:1 and are in order.
* @param _recipients array of recipient addresses
* @param _amounts array of token amounts
* @return true/false
*/
function multiTransfer(address[] memory _recipients, uint256[] memory _amounts) external returns (bool) {
require(_recipients.length == _amounts.length, "input-length-mismatch");
for (uint256 i = 0; i < _recipients.length; i++) {
require(transfer(_recipients[i], _amounts[i]), "multi-transfer-failed");
}
return true;
}
/**
* @notice Update VUSD minter address
* @param _newMinter new minter address
*/
function updateMinter(address _newMinter) external onlyGovernor {
require(_newMinter != address(0), "minter-address-is-zero");
require(minter != _newMinter, "same-minter");
emit UpdatedMinter(minter, _newMinter);
minter = _newMinter;
}
/**
* @notice Update VUSD treasury address
* @param _newTreasury new treasury address
*/
function updateTreasury(address _newTreasury) external onlyGovernor {
require(_newTreasury != address(0), "treasury-address-is-zero");
require(treasury != _newTreasury, "same-treasury");
emit UpdatedTreasury(treasury, _newTreasury);
treasury = _newTreasury;
}
}// 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 defaut 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");
_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");
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
return true;
}
/**
* @dev Moves tokens `amount` from `sender` to `recipient`.
*
* This is internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `sender` cannot be the zero address.
* - `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
*/
function _transfer(address sender, address recipient, uint256 amount) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
uint256 senderBalance = _balances[sender];
require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
_balances[sender] = senderBalance - amount;
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `to` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
_balances[account] = accountBalance - amount;
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(address owner, address spender, uint256 amount) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be to transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}// 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 "../ERC20.sol";
import "../../../utils/Context.sol";
/**
* @dev Extension of {ERC20} that allows token holders to destroy both their own
* tokens and those that they have an allowance for, in a way that can be
* recognized off-chain (via event analysis).
*/
abstract contract ERC20Burnable is Context, ERC20 {
/**
* @dev Destroys `amount` tokens from the caller.
*
* See {ERC20-_burn}.
*/
function burn(uint256 amount) public virtual {
_burn(_msgSender(), amount);
}
/**
* @dev Destroys `amount` tokens from `account`, deducting from the caller's
* allowance.
*
* See {ERC20-_burn} and {ERC20-allowance}.
*
* Requirements:
*
* - the caller must have allowance for ``accounts``'s tokens of at least
* `amount`.
*/
function burnFrom(address account, uint256 amount) public virtual {
uint256 currentAllowance = allowance(account, _msgSender());
require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
_approve(account, _msgSender(), currentAllowance - amount);
_burn(account, amount);
}
}// 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;
import "./draft-IERC20Permit.sol";
import "../ERC20.sol";
import "../../../utils/cryptography/draft-EIP712.sol";
import "../../../utils/cryptography/ECDSA.sol";
import "../../../utils/Counters.sol";
/**
* @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*
* _Available since v3.4._
*/
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
using Counters for Counters.Counter;
mapping (address => Counters.Counter) private _nonces;
// solhint-disable-next-line var-name-mixedcase
bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
/**
* @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
*
* It's a good idea to use the same `name` that is defined as the ERC20 token name.
*/
constructor(string memory name) EIP712(name, "1") {
}
/**
* @dev See {IERC20Permit-permit}.
*/
function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual override {
// solhint-disable-next-line not-rely-on-time
require(block.timestamp <= deadline, "ERC20Permit: expired deadline");
bytes32 structHash = keccak256(
abi.encode(
_PERMIT_TYPEHASH,
owner,
spender,
value,
_useNonce(owner),
deadline
)
);
bytes32 hash = _hashTypedDataV4(structHash);
address signer = ECDSA.recover(hash, v, r, s);
require(signer == owner, "ERC20Permit: invalid signature");
_approve(owner, spender, value);
}
/**
* @dev See {IERC20Permit-nonces}.
*/
function nonces(address owner) public view virtual override returns (uint256) {
return _nonces[owner].current();
}
/**
* @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view override returns (bytes32) {
return _domainSeparatorV4();
}
/**
* @dev "Consume a nonce": return the current value and increment.
*
* _Available since v4.1._
*/
function _useNonce(address owner) internal virtual returns (uint256 current) {
Counters.Counter storage nonce = _nonces[owner];
current = nonce.current();
nonce.increment();
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*/
function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../IERC20.sol";
import "../../../utils/Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using Address for address;
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(IERC20 token, address spender, uint256 value) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
// solhint-disable-next-line max-line-length
require((value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender) + value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
unchecked {
uint256 oldAllowance = token.allowance(address(this), spender);
require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
uint256 newAllowance = oldAllowance - value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
if (returndata.length > 0) { // Return data is optional
// solhint-disable-next-line max-line-length
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
// solhint-disable-next-line no-inline-assembly
assembly { size := extcodesize(account) }
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain`call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{ value: value }(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// 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) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSA {
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
// Divide the signature in r, s and v variables
bytes32 r;
bytes32 s;
uint8 v;
// Check the signature length
// - case 65: r,s,v signature (standard)
// - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
if (signature.length == 65) {
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
// solhint-disable-next-line no-inline-assembly
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
} else if (signature.length == 64) {
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
// solhint-disable-next-line no-inline-assembly
assembly {
let vs := mload(add(signature, 0x40))
r := mload(add(signature, 0x20))
s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
v := add(shr(255, vs), 27)
}
} else {
revert("ECDSA: invalid signature length");
}
return recover(hash, v, r, s);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
// EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
// unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
// the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
// signatures from current libraries generate a unique signature with an s-value in the lower half order.
//
// If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
// with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
// vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
// these malleable signatures as well.
require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
require(signer != address(0), "ECDSA: invalid signature");
return signer;
}
/**
* @dev Returns an Ethereum Signed Message, created from a `hash`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
// 32 is the length in bytes of hash,
// enforced by the type signature above
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
}
/**
* @dev Returns an Ethereum Signed Typed Data, created from a
* `domainSeparator` and a `structHash`. This produces hash corresponding
* to the one signed with the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
* JSON-RPC method as part of EIP-712.
*
* See {recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ECDSA.sol";
/**
* @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
*
* The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
* thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
* they need in their contracts using a combination of `abi.encode` and `keccak256`.
*
* This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
* scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
* ({_hashTypedDataV4}).
*
* The implementation of the domain separator was designed to be as efficient as possible while still properly updating
* the chain id to protect against replay attacks on an eventual fork of the chain.
*
* NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
*
* _Available since v3.4._
*/
abstract contract EIP712 {
/* solhint-disable var-name-mixedcase */
// Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
// invalidate the cached domain separator if the chain id changes.
bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
uint256 private immutable _CACHED_CHAIN_ID;
bytes32 private immutable _HASHED_NAME;
bytes32 private immutable _HASHED_VERSION;
bytes32 private immutable _TYPE_HASH;
/* solhint-enable var-name-mixedcase */
/**
* @dev Initializes the domain separator and parameter caches.
*
* The meaning of `name` and `version` is specified in
* https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
*
* - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
* - `version`: the current major version of the signing domain.
*
* NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
* contract upgrade].
*/
constructor(string memory name, string memory version) {
bytes32 hashedName = keccak256(bytes(name));
bytes32 hashedVersion = keccak256(bytes(version));
bytes32 typeHash = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
_HASHED_NAME = hashedName;
_HASHED_VERSION = hashedVersion;
_CACHED_CHAIN_ID = block.chainid;
_CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
_TYPE_HASH = typeHash;
}
/**
* @dev Returns the domain separator for the current chain.
*/
function _domainSeparatorV4() internal view returns (bytes32) {
if (block.chainid == _CACHED_CHAIN_ID) {
return _CACHED_DOMAIN_SEPARATOR;
} else {
return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
}
}
function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) {
return keccak256(
abi.encode(
typeHash,
name,
version,
block.chainid,
address(this)
)
);
}
/**
* @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
* function returns the hash of the fully encoded EIP712 message for this domain.
*
* This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
*
* ```solidity
* bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
* keccak256("Mail(address to,string contents)"),
* mailTo,
* keccak256(bytes(mailContents))
* )));
* address signer = ECDSA.recover(digest, signature);
* ```
*/
function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
}
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.3;
import "@openzeppelin/contracts/utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (governor) that can be granted exclusive access to
* specific functions.
*
* By default, the governor account will be the one that deploys the contract. This
* can later be changed with {transferGovernorship}.
*
*/
contract Governed is Context {
address public governor;
address private proposedGovernor;
event UpdatedGovernor(address indexed previousGovernor, address indexed proposedGovernor);
/**
* @dev Initializes the contract setting the deployer as the initial governor.
*/
constructor() {
address msgSender = _msgSender();
governor = msgSender;
emit UpdatedGovernor(address(0), msgSender);
}
/**
* @dev Throws if called by any account other than the governor.
*/
modifier onlyGovernor {
require(governor == _msgSender(), "caller-is-not-the-governor");
_;
}
/**
* @dev Transfers governorship of the contract to a new account (`proposedGovernor`).
* Can only be called by the current owner.
*/
function transferGovernorship(address _proposedGovernor) external onlyGovernor {
//solhint-disable-next-line reason-string
require(_proposedGovernor != address(0), "proposed-governor-is-zero-address");
proposedGovernor = _proposedGovernor;
}
/**
* @dev Allows new governor to accept governorship of the contract.
*/
function acceptGovernorship() external {
//solhint-disable-next-line reason-string
require(proposedGovernor == _msgSender(), "caller-is-not-the-proposed-governor");
emit UpdatedGovernor(governor, proposedGovernor);
governor = proposedGovernor;
proposedGovernor = address(0);
}
}{
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs",
"useLiteralContent": true
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": [],
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":true,"internalType":"address","name":"previousGovernor","type":"address"},{"indexed":true,"internalType":"address","name":"proposedGovernor","type":"address"}],"name":"UpdatedGovernor","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousMinter","type":"address"},{"indexed":true,"internalType":"address","name":"newMinter","type":"address"}],"name":"UpdatedMinter","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousTreasury","type":"address"},{"indexed":true,"internalType":"address","name":"newTreasury","type":"address"}],"name":"UpdatedTreasury","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptGovernorship","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"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":"governor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_recipients","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"multiTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","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":"_proposedGovernor","type":"address"}],"name":"transferGovernorship","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newMinter","type":"address"}],"name":"updateMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newTreasury","type":"address"}],"name":"updateTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6101406040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120908152503480156200003a57600080fd5b5060405162003f2738038062003f278339818101604052810190620000609190620004bd565b6040518060400160405280600481526020017f5655534400000000000000000000000000000000000000000000000000000000815250806040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f56555344000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f5655534400000000000000000000000000000000000000000000000000000000815250816003908051906020019062000151929190620003f6565b5080600490805190602001906200016a929190620003f6565b50505060008280519060200120905060008280519060200120905060007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90508260c081815250508160e081815250504660a08181525050620001d5818484620003b260201b60201c565b608081815250508061010081815250505050505050506000620001fd620003ee60201b60201c565b905080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fd4459d5b8b913cab0244230fd9b1c08b6ceace7fe9230e60d0f74cbffdf849d060405160405180910390a350600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200030f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200030690620005a0565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f2ac12ebf7dfd56173c73b2e43941f0faed1c3f7fb6f959191a4ab4bdd3d32e2160405160405180910390a350620006c3565b60008383834630604051602001620003cf95949392919062000543565b6040516020818303038152906040528051906020012090509392505050565b600033905090565b82805462000404906200061b565b90600052602060002090601f01602090048101928262000428576000855562000474565b82601f106200044357805160ff191683800117855562000474565b8280016001018555821562000474579182015b828111156200047357825182559160200191906001019062000456565b5b50905062000483919062000487565b5090565b5b80821115620004a257600081600090555060010162000488565b5090565b600081519050620004b781620006a9565b92915050565b600060208284031215620004d057600080fd5b6000620004e084828501620004a6565b91505092915050565b620004f481620005d3565b82525050565b6200050581620005e7565b82525050565b60006200051a601883620005c2565b9150620005278262000680565b602082019050919050565b6200053d8162000611565b82525050565b600060a0820190506200055a6000830188620004fa565b620005696020830187620004fa565b620005786040830186620004fa565b62000587606083018562000532565b620005966080830184620004e9565b9695505050505050565b60006020820190508181036000830152620005bb816200050b565b9050919050565b600082825260208201905092915050565b6000620005e082620005f1565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060028204905060018216806200063457607f821691505b602082108114156200064b576200064a62000651565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f74726561737572792d616464726573732d69732d7a65726f0000000000000000600082015250565b620006b481620005d3565b8114620006c057600080fd5b50565b60805160a05160c05160e05161010051610120516138146200071360003960006112cb01526000611ad201526000611b1401526000611af301526000611a7f01526000611aa701526138146000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80634eb03f6e116100de57806395d89b4111610097578063b6aa515b11610071578063b6aa515b14610474578063d505accf14610490578063dd62ed3e146104ac578063f3b27bc3146104dc57610173565b806395d89b41146103f6578063a457c2d714610414578063a9059cbb1461044457610173565b80634eb03f6e1461032457806361d027b31461034057806370a082311461035e57806379cc67901461038e5780637ecebe00146103aa5780637f51bb1f146103da57610173565b806323b872dd1161013057806323b872dd14610250578063313ce567146102805780633644e5151461029e57806339509351146102bc57806340c10f19146102ec57806342966c681461030857610173565b806306fdde03146101785780630754617214610196578063095ea7b3146101b45780630c340a24146101e457806318160ddd146102025780631e89d54514610220575b600080fd5b6101806104e6565b60405161018d9190612a6f565b60405180910390f35b61019e610578565b6040516101ab9190612925565b60405180910390f35b6101ce60048036038101906101c991906123d1565b61059e565b6040516101db9190612940565b60405180910390f35b6101ec6105bc565b6040516101f99190612925565b60405180910390f35b61020a6105e2565b6040516102179190612dd1565b60405180910390f35b61023a6004803603810190610235919061240d565b6105ec565b6040516102479190612940565b60405180910390f35b61026a600480360381019061026591906122e4565b610725565b6040516102779190612940565b60405180910390f35b610288610826565b6040516102959190612dec565b60405180910390f35b6102a661082f565b6040516102b3919061295b565b60405180910390f35b6102d660048036038101906102d191906123d1565b61083e565b6040516102e39190612940565b60405180910390f35b610306600480360381019061030191906123d1565b6108ea565b005b610322600480360381019061031d9190612479565b61098f565b005b61033e6004803603810190610339919061227f565b6109a3565b005b610348610bfb565b6040516103559190612925565b60405180910390f35b6103786004803603810190610373919061227f565b610c21565b6040516103859190612dd1565b60405180910390f35b6103a860048036038101906103a391906123d1565b610c69565b005b6103c460048036038101906103bf919061227f565b610ced565b6040516103d19190612dd1565b60405180910390f35b6103f460048036038101906103ef919061227f565b610d3d565b005b6103fe610f95565b60405161040b9190612a6f565b60405180910390f35b61042e600480360381019061042991906123d1565b611027565b60405161043b9190612940565b60405180910390f35b61045e600480360381019061045991906123d1565b61111b565b60405161046b9190612940565b60405180910390f35b61048e6004803603810190610489919061227f565b611139565b005b6104aa60048036038101906104a59190612333565b611284565b005b6104c660048036038101906104c191906122a8565b6113c6565b6040516104d39190612dd1565b60405180910390f35b6104e461144d565b005b6060600380546104f590612fc7565b80601f016020809104026020016040519081016040528092919081815260200182805461052190612fc7565b801561056e5780601f106105435761010080835404028352916020019161056e565b820191906000526020600020905b81548152906001019060200180831161055157829003601f168201915b5050505050905090565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006105b26105ab611629565b8484611631565b6001905092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600254905090565b60008151835114610632576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062990612af1565b60405180910390fd5b60005b835181101561071a576106c884828151811061067a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518483815181106106bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161111b565b610707576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106fe90612c71565b60405180910390fd5b80806107129061302a565b915050610635565b506001905092915050565b60006107328484846117fc565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061077d611629565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156107fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f490612c51565b60405180910390fd5b61081a85610809611629565b85846108159190612f01565b611631565b60019150509392505050565b60006012905090565b6000610839611a7b565b905090565b60006108e061084b611629565b848460016000610859611629565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108db9190612eab565b611631565b6001905092915050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661092b611629565b73ffffffffffffffffffffffffffffffffffffffff1614610981576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097890612d71565b60405180910390fd5b61098b8282611b3e565b5050565b6109a061099a611629565b82611c92565b50565b6109ab611629565b73ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3190612bd1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa190612d51565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3290612bf1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fc5ece8a171463bd0e4cdac17bf1a8d6bee9fb5ff323566870c8112eb01bb5e4160405160405180910390a380600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610c7c83610c77611629565b6113c6565b905081811015610cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb890612c91565b60405180910390fd5b610cde83610ccd611629565b8484610cd99190612f01565b611631565b610ce88383611c92565b505050565b6000610d36600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611e66565b9050919050565b610d45611629565b73ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcb90612bd1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3b90612b31565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecc90612b51565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f2ac12ebf7dfd56173c73b2e43941f0faed1c3f7fb6f959191a4ab4bdd3d32e2160405160405180910390a380600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060048054610fa490612fc7565b80601f0160208091040260200160405190810160405280929190818152602001828054610fd090612fc7565b801561101d5780601f10610ff25761010080835404028352916020019161101d565b820191906000526020600020905b81548152906001019060200180831161100057829003601f168201915b5050505050905090565b60008060016000611036611629565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156110f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ea90612d91565b60405180910390fd5b6111106110fe611629565b85858461110b9190612f01565b611631565b600191505092915050565b600061112f611128611629565b84846117fc565b6001905092915050565b611141611629565b73ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c790612bd1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123790612d31565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b834211156112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112be90612b71565b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000008888886112f68c611e74565b8960405160200161130c96959493929190612976565b604051602081830303815290604052805190602001209050600061132f82611ed2565b9050600061133f82878787611eec565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a690612c31565b60405180910390fd5b6113ba8a8a8a611631565b50505050505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611455611629565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146114e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114db90612cf1565b60405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fd4459d5b8b913cab0244230fd9b1c08b6ceace7fe9230e60d0f74cbffdf849d060405160405180910390a3600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156116a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169890612d11565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611711576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170890612b11565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117ef9190612dd1565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561186c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186390612cd1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d390612ab1565b60405180910390fd5b6118e7838383612077565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561196d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196490612b91565b60405180910390fd5b81816119799190612f01565b6000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a099190612eab565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a6d9190612dd1565b60405180910390a350505050565b60007f0000000000000000000000000000000000000000000000000000000000000000461415611acd577f00000000000000000000000000000000000000000000000000000000000000009050611b3b565b611b387f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000061207c565b90505b90565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba590612db1565b60405180910390fd5b611bba60008383612077565b8060026000828254611bcc9190612eab565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c219190612eab565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611c869190612dd1565b60405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf990612cb1565b60405180910390fd5b611d0e82600083612077565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8b90612ad1565b60405180910390fd5b8181611da09190612f01565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254611df49190612f01565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e599190612dd1565b60405180910390a3505050565b600081600001549050919050565b600080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611ec181611e66565b9150611ecc816120b6565b50919050565b6000611ee5611edf611a7b565b836120cc565b9050919050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c1115611f54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4b90612bb1565b60405180910390fd5b601b8460ff161480611f695750601c8460ff16145b611fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9f90612c11565b60405180910390fd5b600060018686868660405160008152602001604052604051611fcd9493929190612a2a565b6020604051602081039080840390855afa158015611fef573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561206b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206290612a91565b60405180910390fd5b80915050949350505050565b505050565b600083838346306040516020016120979594939291906129d7565b6040516020818303038152906040528051906020012090509392505050565b6001816000016000828254019250508190555050565b600082826040516020016120e19291906128ee565b60405160208183030381529060405280519060200120905092915050565b600061211261210d84612e2c565b612e07565b9050808382526020820190508285602086028201111561213157600080fd5b60005b85811015612161578161214788826121d7565b845260208401935060208301925050600181019050612134565b5050509392505050565b600061217e61217984612e58565b612e07565b9050808382526020820190508285602086028201111561219d57600080fd5b60005b858110156121cd57816121b38882612255565b8452602084019350602083019250506001810190506121a0565b5050509392505050565b6000813590506121e681613782565b92915050565b600082601f8301126121fd57600080fd5b813561220d8482602086016120ff565b91505092915050565b600082601f83011261222757600080fd5b813561223784826020860161216b565b91505092915050565b60008135905061224f81613799565b92915050565b600081359050612264816137b0565b92915050565b600081359050612279816137c7565b92915050565b60006020828403121561229157600080fd5b600061229f848285016121d7565b91505092915050565b600080604083850312156122bb57600080fd5b60006122c9858286016121d7565b92505060206122da858286016121d7565b9150509250929050565b6000806000606084860312156122f957600080fd5b6000612307868287016121d7565b9350506020612318868287016121d7565b925050604061232986828701612255565b9150509250925092565b600080600080600080600060e0888a03121561234e57600080fd5b600061235c8a828b016121d7565b975050602061236d8a828b016121d7565b965050604061237e8a828b01612255565b955050606061238f8a828b01612255565b94505060806123a08a828b0161226a565b93505060a06123b18a828b01612240565b92505060c06123c28a828b01612240565b91505092959891949750929550565b600080604083850312156123e457600080fd5b60006123f2858286016121d7565b925050602061240385828601612255565b9150509250929050565b6000806040838503121561242057600080fd5b600083013567ffffffffffffffff81111561243a57600080fd5b612446858286016121ec565b925050602083013567ffffffffffffffff81111561246357600080fd5b61246f85828601612216565b9150509250929050565b60006020828403121561248b57600080fd5b600061249984828501612255565b91505092915050565b6124ab81612f35565b82525050565b6124ba81612f47565b82525050565b6124c981612f53565b82525050565b6124e06124db82612f53565b613073565b82525050565b60006124f182612e84565b6124fb8185612e8f565b935061250b818560208601612f94565b6125148161310a565b840191505092915050565b600061252c601883612e8f565b91506125378261311b565b602082019050919050565b600061254f602383612e8f565b915061255a82613144565b604082019050919050565b6000612572602283612e8f565b915061257d82613193565b604082019050919050565b6000612595601583612e8f565b91506125a0826131e2565b602082019050919050565b60006125b8602283612e8f565b91506125c38261320b565b604082019050919050565b60006125db600283612ea0565b91506125e68261325a565b600282019050919050565b60006125fe601883612e8f565b915061260982613283565b602082019050919050565b6000612621600d83612e8f565b915061262c826132ac565b602082019050919050565b6000612644601d83612e8f565b915061264f826132d5565b602082019050919050565b6000612667602683612e8f565b9150612672826132fe565b604082019050919050565b600061268a602283612e8f565b91506126958261334d565b604082019050919050565b60006126ad601a83612e8f565b91506126b88261339c565b602082019050919050565b60006126d0600b83612e8f565b91506126db826133c5565b602082019050919050565b60006126f3602283612e8f565b91506126fe826133ee565b604082019050919050565b6000612716601e83612e8f565b91506127218261343d565b602082019050919050565b6000612739602883612e8f565b915061274482613466565b604082019050919050565b600061275c601583612e8f565b9150612767826134b5565b602082019050919050565b600061277f602483612e8f565b915061278a826134de565b604082019050919050565b60006127a2602183612e8f565b91506127ad8261352d565b604082019050919050565b60006127c5602583612e8f565b91506127d08261357c565b604082019050919050565b60006127e8602383612e8f565b91506127f3826135cb565b604082019050919050565b600061280b602483612e8f565b91506128168261361a565b604082019050919050565b600061282e602183612e8f565b915061283982613669565b604082019050919050565b6000612851601683612e8f565b915061285c826136b8565b602082019050919050565b6000612874601483612e8f565b915061287f826136e1565b602082019050919050565b6000612897602583612e8f565b91506128a28261370a565b604082019050919050565b60006128ba601f83612e8f565b91506128c582613759565b602082019050919050565b6128d981612f7d565b82525050565b6128e881612f87565b82525050565b60006128f9826125ce565b915061290582856124cf565b60208201915061291582846124cf565b6020820191508190509392505050565b600060208201905061293a60008301846124a2565b92915050565b600060208201905061295560008301846124b1565b92915050565b600060208201905061297060008301846124c0565b92915050565b600060c08201905061298b60008301896124c0565b61299860208301886124a2565b6129a560408301876124a2565b6129b260608301866128d0565b6129bf60808301856128d0565b6129cc60a08301846128d0565b979650505050505050565b600060a0820190506129ec60008301886124c0565b6129f960208301876124c0565b612a0660408301866124c0565b612a1360608301856128d0565b612a2060808301846124a2565b9695505050505050565b6000608082019050612a3f60008301876124c0565b612a4c60208301866128df565b612a5960408301856124c0565b612a6660608301846124c0565b95945050505050565b60006020820190508181036000830152612a8981846124e6565b905092915050565b60006020820190508181036000830152612aaa8161251f565b9050919050565b60006020820190508181036000830152612aca81612542565b9050919050565b60006020820190508181036000830152612aea81612565565b9050919050565b60006020820190508181036000830152612b0a81612588565b9050919050565b60006020820190508181036000830152612b2a816125ab565b9050919050565b60006020820190508181036000830152612b4a816125f1565b9050919050565b60006020820190508181036000830152612b6a81612614565b9050919050565b60006020820190508181036000830152612b8a81612637565b9050919050565b60006020820190508181036000830152612baa8161265a565b9050919050565b60006020820190508181036000830152612bca8161267d565b9050919050565b60006020820190508181036000830152612bea816126a0565b9050919050565b60006020820190508181036000830152612c0a816126c3565b9050919050565b60006020820190508181036000830152612c2a816126e6565b9050919050565b60006020820190508181036000830152612c4a81612709565b9050919050565b60006020820190508181036000830152612c6a8161272c565b9050919050565b60006020820190508181036000830152612c8a8161274f565b9050919050565b60006020820190508181036000830152612caa81612772565b9050919050565b60006020820190508181036000830152612cca81612795565b9050919050565b60006020820190508181036000830152612cea816127b8565b9050919050565b60006020820190508181036000830152612d0a816127db565b9050919050565b60006020820190508181036000830152612d2a816127fe565b9050919050565b60006020820190508181036000830152612d4a81612821565b9050919050565b60006020820190508181036000830152612d6a81612844565b9050919050565b60006020820190508181036000830152612d8a81612867565b9050919050565b60006020820190508181036000830152612daa8161288a565b9050919050565b60006020820190508181036000830152612dca816128ad565b9050919050565b6000602082019050612de660008301846128d0565b92915050565b6000602082019050612e0160008301846128df565b92915050565b6000612e11612e22565b9050612e1d8282612ff9565b919050565b6000604051905090565b600067ffffffffffffffff821115612e4757612e466130db565b5b602082029050602081019050919050565b600067ffffffffffffffff821115612e7357612e726130db565b5b602082029050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000612eb682612f7d565b9150612ec183612f7d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612ef657612ef561307d565b5b828201905092915050565b6000612f0c82612f7d565b9150612f1783612f7d565b925082821015612f2a57612f2961307d565b5b828203905092915050565b6000612f4082612f5d565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b83811015612fb2578082015181840152602081019050612f97565b83811115612fc1576000848401525b50505050565b60006002820490506001821680612fdf57607f821691505b60208210811415612ff357612ff26130ac565b5b50919050565b6130028261310a565b810181811067ffffffffffffffff82111715613021576130206130db565b5b80604052505050565b600061303582612f7d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156130685761306761307d565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f696e7075742d6c656e6774682d6d69736d617463680000000000000000000000600082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f74726561737572792d616464726573732d69732d7a65726f0000000000000000600082015250565b7f73616d652d747265617375727900000000000000000000000000000000000000600082015250565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f63616c6c65722d69732d6e6f742d7468652d676f7665726e6f72000000000000600082015250565b7f73616d652d6d696e746572000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f6d756c74692d7472616e736665722d6661696c65640000000000000000000000600082015250565b7f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f63616c6c65722d69732d6e6f742d7468652d70726f706f7365642d676f76657260008201527f6e6f720000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f70726f706f7365642d676f7665726e6f722d69732d7a65726f2d61646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f6d696e7465722d616464726573732d69732d7a65726f00000000000000000000600082015250565b7f63616c6c65722d69732d6e6f742d6d696e746572000000000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61378b81612f35565b811461379657600080fd5b50565b6137a281612f53565b81146137ad57600080fd5b50565b6137b981612f7d565b81146137c457600080fd5b50565b6137d081612f87565b81146137db57600080fd5b5056fea26469706673582212202bc6bdc8c439c3bbcf46baf03bf8e7b05aa66cb88192eeab3ed6d475dfeb0b9764736f6c63430008030033000000000000000000000000b5abdabe50b5193d4db92a16011792b22ba3ef51
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c80634eb03f6e116100de57806395d89b4111610097578063b6aa515b11610071578063b6aa515b14610474578063d505accf14610490578063dd62ed3e146104ac578063f3b27bc3146104dc57610173565b806395d89b41146103f6578063a457c2d714610414578063a9059cbb1461044457610173565b80634eb03f6e1461032457806361d027b31461034057806370a082311461035e57806379cc67901461038e5780637ecebe00146103aa5780637f51bb1f146103da57610173565b806323b872dd1161013057806323b872dd14610250578063313ce567146102805780633644e5151461029e57806339509351146102bc57806340c10f19146102ec57806342966c681461030857610173565b806306fdde03146101785780630754617214610196578063095ea7b3146101b45780630c340a24146101e457806318160ddd146102025780631e89d54514610220575b600080fd5b6101806104e6565b60405161018d9190612a6f565b60405180910390f35b61019e610578565b6040516101ab9190612925565b60405180910390f35b6101ce60048036038101906101c991906123d1565b61059e565b6040516101db9190612940565b60405180910390f35b6101ec6105bc565b6040516101f99190612925565b60405180910390f35b61020a6105e2565b6040516102179190612dd1565b60405180910390f35b61023a6004803603810190610235919061240d565b6105ec565b6040516102479190612940565b60405180910390f35b61026a600480360381019061026591906122e4565b610725565b6040516102779190612940565b60405180910390f35b610288610826565b6040516102959190612dec565b60405180910390f35b6102a661082f565b6040516102b3919061295b565b60405180910390f35b6102d660048036038101906102d191906123d1565b61083e565b6040516102e39190612940565b60405180910390f35b610306600480360381019061030191906123d1565b6108ea565b005b610322600480360381019061031d9190612479565b61098f565b005b61033e6004803603810190610339919061227f565b6109a3565b005b610348610bfb565b6040516103559190612925565b60405180910390f35b6103786004803603810190610373919061227f565b610c21565b6040516103859190612dd1565b60405180910390f35b6103a860048036038101906103a391906123d1565b610c69565b005b6103c460048036038101906103bf919061227f565b610ced565b6040516103d19190612dd1565b60405180910390f35b6103f460048036038101906103ef919061227f565b610d3d565b005b6103fe610f95565b60405161040b9190612a6f565b60405180910390f35b61042e600480360381019061042991906123d1565b611027565b60405161043b9190612940565b60405180910390f35b61045e600480360381019061045991906123d1565b61111b565b60405161046b9190612940565b60405180910390f35b61048e6004803603810190610489919061227f565b611139565b005b6104aa60048036038101906104a59190612333565b611284565b005b6104c660048036038101906104c191906122a8565b6113c6565b6040516104d39190612dd1565b60405180910390f35b6104e461144d565b005b6060600380546104f590612fc7565b80601f016020809104026020016040519081016040528092919081815260200182805461052190612fc7565b801561056e5780601f106105435761010080835404028352916020019161056e565b820191906000526020600020905b81548152906001019060200180831161055157829003601f168201915b5050505050905090565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006105b26105ab611629565b8484611631565b6001905092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600254905090565b60008151835114610632576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062990612af1565b60405180910390fd5b60005b835181101561071a576106c884828151811061067a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518483815181106106bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161111b565b610707576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106fe90612c71565b60405180910390fd5b80806107129061302a565b915050610635565b506001905092915050565b60006107328484846117fc565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061077d611629565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156107fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f490612c51565b60405180910390fd5b61081a85610809611629565b85846108159190612f01565b611631565b60019150509392505050565b60006012905090565b6000610839611a7b565b905090565b60006108e061084b611629565b848460016000610859611629565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108db9190612eab565b611631565b6001905092915050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661092b611629565b73ffffffffffffffffffffffffffffffffffffffff1614610981576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097890612d71565b60405180910390fd5b61098b8282611b3e565b5050565b6109a061099a611629565b82611c92565b50565b6109ab611629565b73ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3190612bd1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa190612d51565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3290612bf1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fc5ece8a171463bd0e4cdac17bf1a8d6bee9fb5ff323566870c8112eb01bb5e4160405160405180910390a380600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610c7c83610c77611629565b6113c6565b905081811015610cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb890612c91565b60405180910390fd5b610cde83610ccd611629565b8484610cd99190612f01565b611631565b610ce88383611c92565b505050565b6000610d36600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611e66565b9050919050565b610d45611629565b73ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcb90612bd1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3b90612b31565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecc90612b51565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f2ac12ebf7dfd56173c73b2e43941f0faed1c3f7fb6f959191a4ab4bdd3d32e2160405160405180910390a380600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060048054610fa490612fc7565b80601f0160208091040260200160405190810160405280929190818152602001828054610fd090612fc7565b801561101d5780601f10610ff25761010080835404028352916020019161101d565b820191906000526020600020905b81548152906001019060200180831161100057829003601f168201915b5050505050905090565b60008060016000611036611629565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156110f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ea90612d91565b60405180910390fd5b6111106110fe611629565b85858461110b9190612f01565b611631565b600191505092915050565b600061112f611128611629565b84846117fc565b6001905092915050565b611141611629565b73ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c790612bd1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123790612d31565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b834211156112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112be90612b71565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886112f68c611e74565b8960405160200161130c96959493929190612976565b604051602081830303815290604052805190602001209050600061132f82611ed2565b9050600061133f82878787611eec565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a690612c31565b60405180910390fd5b6113ba8a8a8a611631565b50505050505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611455611629565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146114e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114db90612cf1565b60405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fd4459d5b8b913cab0244230fd9b1c08b6ceace7fe9230e60d0f74cbffdf849d060405160405180910390a3600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156116a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169890612d11565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611711576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170890612b11565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117ef9190612dd1565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561186c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186390612cd1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d390612ab1565b60405180910390fd5b6118e7838383612077565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561196d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196490612b91565b60405180910390fd5b81816119799190612f01565b6000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a099190612eab565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a6d9190612dd1565b60405180910390a350505050565b60007f0000000000000000000000000000000000000000000000000000000000000001461415611acd577f99c5f819631b542be10b06242a53f20d0438b16c8d49d160e3ba469f86c03fa59050611b3b565b611b387f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f1f7397d35c1be9e4ef3bdb08e98b0bed9fd73441069cf5968f53c20286d94a327fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc661207c565b90505b90565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba590612db1565b60405180910390fd5b611bba60008383612077565b8060026000828254611bcc9190612eab565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c219190612eab565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611c869190612dd1565b60405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf990612cb1565b60405180910390fd5b611d0e82600083612077565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8b90612ad1565b60405180910390fd5b8181611da09190612f01565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254611df49190612f01565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e599190612dd1565b60405180910390a3505050565b600081600001549050919050565b600080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611ec181611e66565b9150611ecc816120b6565b50919050565b6000611ee5611edf611a7b565b836120cc565b9050919050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c1115611f54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4b90612bb1565b60405180910390fd5b601b8460ff161480611f695750601c8460ff16145b611fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9f90612c11565b60405180910390fd5b600060018686868660405160008152602001604052604051611fcd9493929190612a2a565b6020604051602081039080840390855afa158015611fef573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561206b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206290612a91565b60405180910390fd5b80915050949350505050565b505050565b600083838346306040516020016120979594939291906129d7565b6040516020818303038152906040528051906020012090509392505050565b6001816000016000828254019250508190555050565b600082826040516020016120e19291906128ee565b60405160208183030381529060405280519060200120905092915050565b600061211261210d84612e2c565b612e07565b9050808382526020820190508285602086028201111561213157600080fd5b60005b85811015612161578161214788826121d7565b845260208401935060208301925050600181019050612134565b5050509392505050565b600061217e61217984612e58565b612e07565b9050808382526020820190508285602086028201111561219d57600080fd5b60005b858110156121cd57816121b38882612255565b8452602084019350602083019250506001810190506121a0565b5050509392505050565b6000813590506121e681613782565b92915050565b600082601f8301126121fd57600080fd5b813561220d8482602086016120ff565b91505092915050565b600082601f83011261222757600080fd5b813561223784826020860161216b565b91505092915050565b60008135905061224f81613799565b92915050565b600081359050612264816137b0565b92915050565b600081359050612279816137c7565b92915050565b60006020828403121561229157600080fd5b600061229f848285016121d7565b91505092915050565b600080604083850312156122bb57600080fd5b60006122c9858286016121d7565b92505060206122da858286016121d7565b9150509250929050565b6000806000606084860312156122f957600080fd5b6000612307868287016121d7565b9350506020612318868287016121d7565b925050604061232986828701612255565b9150509250925092565b600080600080600080600060e0888a03121561234e57600080fd5b600061235c8a828b016121d7565b975050602061236d8a828b016121d7565b965050604061237e8a828b01612255565b955050606061238f8a828b01612255565b94505060806123a08a828b0161226a565b93505060a06123b18a828b01612240565b92505060c06123c28a828b01612240565b91505092959891949750929550565b600080604083850312156123e457600080fd5b60006123f2858286016121d7565b925050602061240385828601612255565b9150509250929050565b6000806040838503121561242057600080fd5b600083013567ffffffffffffffff81111561243a57600080fd5b612446858286016121ec565b925050602083013567ffffffffffffffff81111561246357600080fd5b61246f85828601612216565b9150509250929050565b60006020828403121561248b57600080fd5b600061249984828501612255565b91505092915050565b6124ab81612f35565b82525050565b6124ba81612f47565b82525050565b6124c981612f53565b82525050565b6124e06124db82612f53565b613073565b82525050565b60006124f182612e84565b6124fb8185612e8f565b935061250b818560208601612f94565b6125148161310a565b840191505092915050565b600061252c601883612e8f565b91506125378261311b565b602082019050919050565b600061254f602383612e8f565b915061255a82613144565b604082019050919050565b6000612572602283612e8f565b915061257d82613193565b604082019050919050565b6000612595601583612e8f565b91506125a0826131e2565b602082019050919050565b60006125b8602283612e8f565b91506125c38261320b565b604082019050919050565b60006125db600283612ea0565b91506125e68261325a565b600282019050919050565b60006125fe601883612e8f565b915061260982613283565b602082019050919050565b6000612621600d83612e8f565b915061262c826132ac565b602082019050919050565b6000612644601d83612e8f565b915061264f826132d5565b602082019050919050565b6000612667602683612e8f565b9150612672826132fe565b604082019050919050565b600061268a602283612e8f565b91506126958261334d565b604082019050919050565b60006126ad601a83612e8f565b91506126b88261339c565b602082019050919050565b60006126d0600b83612e8f565b91506126db826133c5565b602082019050919050565b60006126f3602283612e8f565b91506126fe826133ee565b604082019050919050565b6000612716601e83612e8f565b91506127218261343d565b602082019050919050565b6000612739602883612e8f565b915061274482613466565b604082019050919050565b600061275c601583612e8f565b9150612767826134b5565b602082019050919050565b600061277f602483612e8f565b915061278a826134de565b604082019050919050565b60006127a2602183612e8f565b91506127ad8261352d565b604082019050919050565b60006127c5602583612e8f565b91506127d08261357c565b604082019050919050565b60006127e8602383612e8f565b91506127f3826135cb565b604082019050919050565b600061280b602483612e8f565b91506128168261361a565b604082019050919050565b600061282e602183612e8f565b915061283982613669565b604082019050919050565b6000612851601683612e8f565b915061285c826136b8565b602082019050919050565b6000612874601483612e8f565b915061287f826136e1565b602082019050919050565b6000612897602583612e8f565b91506128a28261370a565b604082019050919050565b60006128ba601f83612e8f565b91506128c582613759565b602082019050919050565b6128d981612f7d565b82525050565b6128e881612f87565b82525050565b60006128f9826125ce565b915061290582856124cf565b60208201915061291582846124cf565b6020820191508190509392505050565b600060208201905061293a60008301846124a2565b92915050565b600060208201905061295560008301846124b1565b92915050565b600060208201905061297060008301846124c0565b92915050565b600060c08201905061298b60008301896124c0565b61299860208301886124a2565b6129a560408301876124a2565b6129b260608301866128d0565b6129bf60808301856128d0565b6129cc60a08301846128d0565b979650505050505050565b600060a0820190506129ec60008301886124c0565b6129f960208301876124c0565b612a0660408301866124c0565b612a1360608301856128d0565b612a2060808301846124a2565b9695505050505050565b6000608082019050612a3f60008301876124c0565b612a4c60208301866128df565b612a5960408301856124c0565b612a6660608301846124c0565b95945050505050565b60006020820190508181036000830152612a8981846124e6565b905092915050565b60006020820190508181036000830152612aaa8161251f565b9050919050565b60006020820190508181036000830152612aca81612542565b9050919050565b60006020820190508181036000830152612aea81612565565b9050919050565b60006020820190508181036000830152612b0a81612588565b9050919050565b60006020820190508181036000830152612b2a816125ab565b9050919050565b60006020820190508181036000830152612b4a816125f1565b9050919050565b60006020820190508181036000830152612b6a81612614565b9050919050565b60006020820190508181036000830152612b8a81612637565b9050919050565b60006020820190508181036000830152612baa8161265a565b9050919050565b60006020820190508181036000830152612bca8161267d565b9050919050565b60006020820190508181036000830152612bea816126a0565b9050919050565b60006020820190508181036000830152612c0a816126c3565b9050919050565b60006020820190508181036000830152612c2a816126e6565b9050919050565b60006020820190508181036000830152612c4a81612709565b9050919050565b60006020820190508181036000830152612c6a8161272c565b9050919050565b60006020820190508181036000830152612c8a8161274f565b9050919050565b60006020820190508181036000830152612caa81612772565b9050919050565b60006020820190508181036000830152612cca81612795565b9050919050565b60006020820190508181036000830152612cea816127b8565b9050919050565b60006020820190508181036000830152612d0a816127db565b9050919050565b60006020820190508181036000830152612d2a816127fe565b9050919050565b60006020820190508181036000830152612d4a81612821565b9050919050565b60006020820190508181036000830152612d6a81612844565b9050919050565b60006020820190508181036000830152612d8a81612867565b9050919050565b60006020820190508181036000830152612daa8161288a565b9050919050565b60006020820190508181036000830152612dca816128ad565b9050919050565b6000602082019050612de660008301846128d0565b92915050565b6000602082019050612e0160008301846128df565b92915050565b6000612e11612e22565b9050612e1d8282612ff9565b919050565b6000604051905090565b600067ffffffffffffffff821115612e4757612e466130db565b5b602082029050602081019050919050565b600067ffffffffffffffff821115612e7357612e726130db565b5b602082029050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000612eb682612f7d565b9150612ec183612f7d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612ef657612ef561307d565b5b828201905092915050565b6000612f0c82612f7d565b9150612f1783612f7d565b925082821015612f2a57612f2961307d565b5b828203905092915050565b6000612f4082612f5d565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b83811015612fb2578082015181840152602081019050612f97565b83811115612fc1576000848401525b50505050565b60006002820490506001821680612fdf57607f821691505b60208210811415612ff357612ff26130ac565b5b50919050565b6130028261310a565b810181811067ffffffffffffffff82111715613021576130206130db565b5b80604052505050565b600061303582612f7d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156130685761306761307d565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f696e7075742d6c656e6774682d6d69736d617463680000000000000000000000600082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f74726561737572792d616464726573732d69732d7a65726f0000000000000000600082015250565b7f73616d652d747265617375727900000000000000000000000000000000000000600082015250565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f63616c6c65722d69732d6e6f742d7468652d676f7665726e6f72000000000000600082015250565b7f73616d652d6d696e746572000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f6d756c74692d7472616e736665722d6661696c65640000000000000000000000600082015250565b7f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f63616c6c65722d69732d6e6f742d7468652d70726f706f7365642d676f76657260008201527f6e6f720000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f70726f706f7365642d676f7665726e6f722d69732d7a65726f2d61646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f6d696e7465722d616464726573732d69732d7a65726f00000000000000000000600082015250565b7f63616c6c65722d69732d6e6f742d6d696e746572000000000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61378b81612f35565b811461379657600080fd5b50565b6137a281612f53565b81146137ad57600080fd5b50565b6137b981612f7d565b81146137c457600080fd5b50565b6137d081612f87565b81146137db57600080fd5b5056fea26469706673582212202bc6bdc8c439c3bbcf46baf03bf8e7b05aa66cb88192eeab3ed6d475dfeb0b9764736f6c63430008030033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b5abdabe50b5193d4db92a16011792b22ba3ef51
-----Decoded View---------------
Arg [0] : _treasury (address): 0xB5AbDABE50b5193d4dB92a16011792B22bA3Ef51
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b5abdabe50b5193d4db92a16011792b22ba3ef51
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.