Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
CurveLpHardMigration
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.17; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/token/ERC20/ERC20.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import 'contracts/interfaces/IStableCoin.sol'; import 'contracts/interfaces/curve/ICurveStableSwapNG.sol'; contract CurveLpHardMigration is Ownable { uint internal constant SCALE = 1e18; ICurveStableSwapNG public immutable oldPool; ICurveStableSwapNG public immutable newPool; IStableCoin public immutable oldStablecoin; IStableCoin public immutable newStablecoin; IERC20 public immutable pairedAsset; mapping(address => bool) public blacklisted; uint public immutable oldLpSupply; uint public chargedAmount; error NotWhitelisted(); event Blacklisted(address user, bool blacklisted); event Migrated(address user, uint oldLpBalance, uint newLpBalance); constructor( address _oldPool, address _newPool, address _oldStablecoin, address _newStablecoin, address _pairedAsset ) Ownable() { oldPool = ICurveStableSwapNG(_oldPool); newPool = ICurveStableSwapNG(_newPool); oldStablecoin = IStableCoin(_oldStablecoin); newStablecoin = IStableCoin(_newStablecoin); pairedAsset = IERC20(_pairedAsset); oldLpSupply = oldPool.totalSupply(); } function chargePairedAsset(uint _amount) external onlyOwner { require(chargedAmount == 0, 'Already charged'); pairedAsset.transferFrom(msg.sender, address(this), _amount); chargedAmount += _amount; } function rescue(IERC20 _token, address _to) external onlyOwner { _token.transfer(_to, _token.balanceOf(address(this))); } function setBlacklisted( address[] memory _users, bool _blacklisted ) external onlyOwner { for (uint256 i = 0; i < _users.length; i++) { blacklisted[_users[i]] = _blacklisted; emit Blacklisted(_users[i], _blacklisted); } } function migrate() external { if (blacklisted[msg.sender]) revert NotWhitelisted(); oldStablecoin.unpause(); // Pull old LP uint lpBal = oldPool.balanceOf(msg.sender); oldPool.transferFrom(msg.sender, address(this), lpBal); // Exit old pool uint[] memory amounts = new uint[](2); oldPool.remove_liquidity(lpBal, amounts); oldStablecoin.pause(); // Migrate old stablecoin oldStablecoin.approve( address(newStablecoin), oldStablecoin.balanceOf(address(this)) ); newStablecoin.migrate(); // Join new pool, assume tokens ratio is 1:1 uint pairedBal = (lpBal * chargedAmount) / oldLpSupply; uint stableBal = (pairedBal * SCALE) / ERC20(address(pairedAsset)).decimals(); newStablecoin.approve(address(newPool), stableBal); pairedAsset.approve(address(newPool), pairedBal); amounts[0] = stableBal; amounts[1] = pairedBal; newPool.add_liquidity(amounts, 0); newPool.transfer(msg.sender, newPool.balanceOf(address(this))); newStablecoin.burn(newStablecoin.balanceOf(address(this))); emit Migrated(msg.sender, lpBal, newPool.balanceOf(msg.sender)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev 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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) 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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * 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 default value returned by this function, unless * it's 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: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, 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}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, 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}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, 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) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, 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) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev 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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.17; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; interface ICurveStableSwapNG is IERC20 { function coins(uint) external view returns (address); function exchange( int128 i, int128 j, uint _dx, uint _min_dy ) external returns (uint); function exchange( uint i, uint j, uint _dx, uint _min_dy ) external returns (uint); function remove_liquidity( uint _burn_amount, uint[] memory _min_amounts ) external; function add_liquidity( uint[] memory _amounts, uint _min_mint_amount ) external; }
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.17; import '@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol'; interface IStableCoin is IERC20Upgradeable { function mint(address _to, uint256 _value) external; function burn(uint256 _value) external; function burnFrom(address _from, uint256 _value) external; function pause() external; function unpause() external; function migrate() external; }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_oldPool","type":"address"},{"internalType":"address","name":"_newPool","type":"address"},{"internalType":"address","name":"_oldStablecoin","type":"address"},{"internalType":"address","name":"_newStablecoin","type":"address"},{"internalType":"address","name":"_pairedAsset","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"NotWhitelisted","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"blacklisted","type":"bool"}],"name":"Blacklisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"oldLpBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newLpBalance","type":"uint256"}],"name":"Migrated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"chargePairedAsset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"chargedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"newPool","outputs":[{"internalType":"contract ICurveStableSwapNG","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newStablecoin","outputs":[{"internalType":"contract IStableCoin","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oldLpSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oldPool","outputs":[{"internalType":"contract ICurveStableSwapNG","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oldStablecoin","outputs":[{"internalType":"contract IStableCoin","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pairedAsset","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"rescue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"},{"internalType":"bool","name":"_blacklisted","type":"bool"}],"name":"setBlacklisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101406040523480156200001257600080fd5b50604051620016ee380380620016ee833981016040819052620000359162000148565b6200004033620000db565b6001600160a01b03808616608081905285821660a05284821660c05283821660e05290821661010052604080516318160ddd60e01b815290516318160ddd916004808201926020929091908290030181865afa158015620000a5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000cb9190620001b8565b6101205250620001d29350505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200014357600080fd5b919050565b600080600080600060a086880312156200016157600080fd5b6200016c866200012b565b94506200017c602087016200012b565b93506200018c604087016200012b565b92506200019c606087016200012b565b9150620001ac608087016200012b565b90509295509295909350565b600060208284031215620001cb57600080fd5b5051919050565b60805160a05160c05160e0516101005161012051611448620002a66000396000818161019e015261083301526000818161015a0152818161087001528181610a0e0152610e6c015260008181610285015281816106e0015281816107be015281816109580152610c53015260008181610224015281816103ef0152818161062901526106ad01526000818160ff01528181610926015281816109df01528181610ad201528181610b4f0152610d6201526000818161025e015281816104770152818161051001526105b601526114486000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80638fd3ab8011610097578063e1baae1f11610066578063e1baae1f14610246578063f0e71c8414610259578063f23bb4ba14610280578063f2fde38b146102a757600080fd5b80638fd3ab80146101d1578063a0d82e70146101d9578063dbac26e9146101ec578063dfc3fc291461021f57600080fd5b80634fdf5d1d116100d35780634fdf5d1d1461017c578063715018a6146101915780637be7c227146101995780638da5cb5b146101c057600080fd5b80630f11779b146100fa578063311061401461013e57806339191d7b14610155575b600080fd5b6101217f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b61014760025481565b604051908152602001610135565b6101217f000000000000000000000000000000000000000000000000000000000000000081565b61018f61018a366004611128565b6102ba565b005b61018f6103a8565b6101477f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b0316610121565b61018f6103bc565b61018f6101e7366004611161565b610dfb565b61020f6101fa36600461117a565b60016020526000908152604090205460ff1681565b6040519015158152602001610135565b6101217f000000000000000000000000000000000000000000000000000000000000000081565b61018f6102543660046111cd565b610efc565b6101217f000000000000000000000000000000000000000000000000000000000000000081565b6101217f000000000000000000000000000000000000000000000000000000000000000081565b61018f6102b536600461117a565b610fe0565b6102c2611059565b6040516370a0823160e01b81523060048201526001600160a01b0383169063a9059cbb90839083906370a0823190602401602060405180830381865afa158015610310573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033491906112a4565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af115801561037f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a391906112bd565b505050565b6103b0611059565b6103ba60006110b3565b565b3360009081526001602052604090205460ff16156103ed57604051630b094f2760e31b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633f4ba83a6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561044857600080fd5b505af115801561045c573d6000803e3d6000fd5b50506040516370a0823160e01b8152336004820152600092507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691506370a0823190602401602060405180830381865afa1580156104c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104eb91906112a4565b6040516323b872dd60e01b8152336004820152306024820152604481018290529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303816000875af1158015610561573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058591906112bd565b50604080516002808252606082018352600092602083019080368337505060405163350376e360e21b8152919250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d40ddb8c906105f59085908590600401611315565b600060405180830381600087803b15801561060f57600080fd5b505af1158015610623573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638456cb596040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561068257600080fd5b505af1158015610696573d6000803e3d6000fd5b50506040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316925063095ea7b391507f00000000000000000000000000000000000000000000000000000000000000009083906370a0823190602401602060405180830381865afa158015610728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074c91906112a4565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610797573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107bb91906112bd565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638fd3ab806040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561081757600080fd5b505af115801561082b573d6000803e3d6000fd5b5050505060007f000000000000000000000000000000000000000000000000000000000000000060025484610860919061134c565b61086a9190611369565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f0919061138b565b60ff16610905670de0b6b3a76400008461134c565b61090f9190611369565b60405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018390529192507f00000000000000000000000000000000000000000000000000000000000000009091169063095ea7b3906044016020604051808303816000875af11580156109a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c791906112bd565b5060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018490527f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b3906044016020604051808303816000875af1158015610a57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7b91906112bd565b508083600081518110610a9057610a906113ae565b6020026020010181815250508183600181518110610ab057610ab06113ae565b6020908102919091010152604051635b96faef60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063b72df5de90610b0a9086906000906004016113c4565b600060405180830381600087803b158015610b2457600080fd5b505af1158015610b38573d6000803e3d6000fd5b50506040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316925063a9059cbb9150339083906370a0823190602401602060405180830381865afa158015610baa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bce91906112a4565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d91906112bd565b506040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c689082906370a0823190602401602060405180830381865afa158015610caa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cce91906112a4565b6040518263ffffffff1660e01b8152600401610cec91815260200190565b600060405180830381600087803b158015610d0657600080fd5b505af1158015610d1a573d6000803e3d6000fd5b50506040516370a0823160e01b815233600482018190527fd083678824038160bef3975359ab29f19c3f0e9bcf9d7ead540a492d4d678b639350915086906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610da9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcd91906112a4565b604080516001600160a01b03909416845260208401929092529082015260600160405180910390a150505050565b610e03611059565b60025415610e4a5760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818da185c99d959608a1b60448201526064015b60405180910390fd5b6040516323b872dd60e01b8152336004820152306024820152604481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303816000875af1158015610ebd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee191906112bd565b508060026000828254610ef491906113e6565b909155505050565b610f04611059565b60005b82518110156103a3578160016000858481518110610f2757610f276113ae565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055507fcf3473b85df1594d47b6958f29a32bea0abff9dd68296f7bf33443646793cfd8838281518110610f9957610f996113ae565b602002602001015183604051610fc69291906001600160a01b039290921682521515602082015260400190565b60405180910390a180610fd8816113f9565b915050610f07565b610fe8611059565b6001600160a01b03811661104d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e41565b611056816110b3565b50565b6000546001600160a01b031633146103ba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e41565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461105657600080fd5b803561112381611103565b919050565b6000806040838503121561113b57600080fd5b823561114681611103565b9150602083013561115681611103565b809150509250929050565b60006020828403121561117357600080fd5b5035919050565b60006020828403121561118c57600080fd5b813561119781611103565b9392505050565b634e487b7160e01b600052604160045260246000fd5b801515811461105657600080fd5b8035611123816111b4565b600080604083850312156111e057600080fd5b823567ffffffffffffffff808211156111f857600080fd5b818501915085601f83011261120c57600080fd5b81356020828211156112205761122061119e565b8160051b604051601f19603f830116810181811086821117156112455761124561119e565b60405292835281830193508481018201928984111561126357600080fd5b948201945b838610156112885761127986611118565b85529482019493820193611268565b965061129790508782016111c2565b9450505050509250929050565b6000602082840312156112b657600080fd5b5051919050565b6000602082840312156112cf57600080fd5b8151611197816111b4565b600081518084526020808501945080840160005b8381101561130a578151875295820195908201906001016112ee565b509495945050505050565b82815260406020820152600061132e60408301846112da565b949350505050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761136357611363611336565b92915050565b60008261138657634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561139d57600080fd5b815160ff8116811461119757600080fd5b634e487b7160e01b600052603260045260246000fd5b6040815260006113d760408301856112da565b90508260208301529392505050565b8082018082111561136357611363611336565b60006001820161140b5761140b611336565b506001019056fea26469706673582212209de85538218e47f17dc0478349dace6f9684225f75b632aa62f818454916dff164736f6c6343000811003300000000000000000000000066267c6e24fbcdebf06ae9104e0ccfb9c8b2ae080000000000000000000000000418205c250a5eb1f4ecaab5f7c76c08b57b5aaf000000000000000000000000d60eea80c83779a8a5bfcdac1f3323548e6bb62d0000000000000000000000007f4b66ff703336cfc35b901144614496ae0b0d27000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80638fd3ab8011610097578063e1baae1f11610066578063e1baae1f14610246578063f0e71c8414610259578063f23bb4ba14610280578063f2fde38b146102a757600080fd5b80638fd3ab80146101d1578063a0d82e70146101d9578063dbac26e9146101ec578063dfc3fc291461021f57600080fd5b80634fdf5d1d116100d35780634fdf5d1d1461017c578063715018a6146101915780637be7c227146101995780638da5cb5b146101c057600080fd5b80630f11779b146100fa578063311061401461013e57806339191d7b14610155575b600080fd5b6101217f0000000000000000000000000418205c250a5eb1f4ecaab5f7c76c08b57b5aaf81565b6040516001600160a01b0390911681526020015b60405180910390f35b61014760025481565b604051908152602001610135565b6101217f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b61018f61018a366004611128565b6102ba565b005b61018f6103a8565b6101477f0000000000000000000000000000000000000000000113fcabd4ce198a02b97581565b6000546001600160a01b0316610121565b61018f6103bc565b61018f6101e7366004611161565b610dfb565b61020f6101fa36600461117a565b60016020526000908152604090205460ff1681565b6040519015158152602001610135565b6101217f000000000000000000000000d60eea80c83779a8a5bfcdac1f3323548e6bb62d81565b61018f6102543660046111cd565b610efc565b6101217f00000000000000000000000066267c6e24fbcdebf06ae9104e0ccfb9c8b2ae0881565b6101217f0000000000000000000000007f4b66ff703336cfc35b901144614496ae0b0d2781565b61018f6102b536600461117a565b610fe0565b6102c2611059565b6040516370a0823160e01b81523060048201526001600160a01b0383169063a9059cbb90839083906370a0823190602401602060405180830381865afa158015610310573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033491906112a4565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af115801561037f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a391906112bd565b505050565b6103b0611059565b6103ba60006110b3565b565b3360009081526001602052604090205460ff16156103ed57604051630b094f2760e31b815260040160405180910390fd5b7f000000000000000000000000d60eea80c83779a8a5bfcdac1f3323548e6bb62d6001600160a01b0316633f4ba83a6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561044857600080fd5b505af115801561045c573d6000803e3d6000fd5b50506040516370a0823160e01b8152336004820152600092507f00000000000000000000000066267c6e24fbcdebf06ae9104e0ccfb9c8b2ae086001600160a01b031691506370a0823190602401602060405180830381865afa1580156104c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104eb91906112a4565b6040516323b872dd60e01b8152336004820152306024820152604481018290529091507f00000000000000000000000066267c6e24fbcdebf06ae9104e0ccfb9c8b2ae086001600160a01b0316906323b872dd906064016020604051808303816000875af1158015610561573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058591906112bd565b50604080516002808252606082018352600092602083019080368337505060405163350376e360e21b8152919250507f00000000000000000000000066267c6e24fbcdebf06ae9104e0ccfb9c8b2ae086001600160a01b03169063d40ddb8c906105f59085908590600401611315565b600060405180830381600087803b15801561060f57600080fd5b505af1158015610623573d6000803e3d6000fd5b505050507f000000000000000000000000d60eea80c83779a8a5bfcdac1f3323548e6bb62d6001600160a01b0316638456cb596040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561068257600080fd5b505af1158015610696573d6000803e3d6000fd5b50506040516370a0823160e01b81523060048201527f000000000000000000000000d60eea80c83779a8a5bfcdac1f3323548e6bb62d6001600160a01b0316925063095ea7b391507f0000000000000000000000007f4b66ff703336cfc35b901144614496ae0b0d279083906370a0823190602401602060405180830381865afa158015610728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074c91906112a4565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610797573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107bb91906112bd565b507f0000000000000000000000007f4b66ff703336cfc35b901144614496ae0b0d276001600160a01b0316638fd3ab806040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561081757600080fd5b505af115801561082b573d6000803e3d6000fd5b5050505060007f0000000000000000000000000000000000000000000113fcabd4ce198a02b97560025484610860919061134c565b61086a9190611369565b905060007f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f0919061138b565b60ff16610905670de0b6b3a76400008461134c565b61090f9190611369565b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000418205c250a5eb1f4ecaab5f7c76c08b57b5aaf81166004830152602482018390529192507f0000000000000000000000007f4b66ff703336cfc35b901144614496ae0b0d279091169063095ea7b3906044016020604051808303816000875af11580156109a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c791906112bd565b5060405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000418205c250a5eb1f4ecaab5f7c76c08b57b5aaf81166004830152602482018490527f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48169063095ea7b3906044016020604051808303816000875af1158015610a57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7b91906112bd565b508083600081518110610a9057610a906113ae565b6020026020010181815250508183600181518110610ab057610ab06113ae565b6020908102919091010152604051635b96faef60e11b81526001600160a01b037f0000000000000000000000000418205c250a5eb1f4ecaab5f7c76c08b57b5aaf169063b72df5de90610b0a9086906000906004016113c4565b600060405180830381600087803b158015610b2457600080fd5b505af1158015610b38573d6000803e3d6000fd5b50506040516370a0823160e01b81523060048201527f0000000000000000000000000418205c250a5eb1f4ecaab5f7c76c08b57b5aaf6001600160a01b0316925063a9059cbb9150339083906370a0823190602401602060405180830381865afa158015610baa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bce91906112a4565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d91906112bd565b506040516370a0823160e01b81523060048201527f0000000000000000000000007f4b66ff703336cfc35b901144614496ae0b0d276001600160a01b0316906342966c689082906370a0823190602401602060405180830381865afa158015610caa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cce91906112a4565b6040518263ffffffff1660e01b8152600401610cec91815260200190565b600060405180830381600087803b158015610d0657600080fd5b505af1158015610d1a573d6000803e3d6000fd5b50506040516370a0823160e01b815233600482018190527fd083678824038160bef3975359ab29f19c3f0e9bcf9d7ead540a492d4d678b639350915086906001600160a01b037f0000000000000000000000000418205c250a5eb1f4ecaab5f7c76c08b57b5aaf16906370a0823190602401602060405180830381865afa158015610da9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcd91906112a4565b604080516001600160a01b03909416845260208401929092529082015260600160405180910390a150505050565b610e03611059565b60025415610e4a5760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818da185c99d959608a1b60448201526064015b60405180910390fd5b6040516323b872dd60e01b8152336004820152306024820152604481018290527f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486001600160a01b0316906323b872dd906064016020604051808303816000875af1158015610ebd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee191906112bd565b508060026000828254610ef491906113e6565b909155505050565b610f04611059565b60005b82518110156103a3578160016000858481518110610f2757610f276113ae565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055507fcf3473b85df1594d47b6958f29a32bea0abff9dd68296f7bf33443646793cfd8838281518110610f9957610f996113ae565b602002602001015183604051610fc69291906001600160a01b039290921682521515602082015260400190565b60405180910390a180610fd8816113f9565b915050610f07565b610fe8611059565b6001600160a01b03811661104d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e41565b611056816110b3565b50565b6000546001600160a01b031633146103ba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e41565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461105657600080fd5b803561112381611103565b919050565b6000806040838503121561113b57600080fd5b823561114681611103565b9150602083013561115681611103565b809150509250929050565b60006020828403121561117357600080fd5b5035919050565b60006020828403121561118c57600080fd5b813561119781611103565b9392505050565b634e487b7160e01b600052604160045260246000fd5b801515811461105657600080fd5b8035611123816111b4565b600080604083850312156111e057600080fd5b823567ffffffffffffffff808211156111f857600080fd5b818501915085601f83011261120c57600080fd5b81356020828211156112205761122061119e565b8160051b604051601f19603f830116810181811086821117156112455761124561119e565b60405292835281830193508481018201928984111561126357600080fd5b948201945b838610156112885761127986611118565b85529482019493820193611268565b965061129790508782016111c2565b9450505050509250929050565b6000602082840312156112b657600080fd5b5051919050565b6000602082840312156112cf57600080fd5b8151611197816111b4565b600081518084526020808501945080840160005b8381101561130a578151875295820195908201906001016112ee565b509495945050505050565b82815260406020820152600061132e60408301846112da565b949350505050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761136357611363611336565b92915050565b60008261138657634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561139d57600080fd5b815160ff8116811461119757600080fd5b634e487b7160e01b600052603260045260246000fd5b6040815260006113d760408301856112da565b90508260208301529392505050565b8082018082111561136357611363611336565b60006001820161140b5761140b611336565b506001019056fea26469706673582212209de85538218e47f17dc0478349dace6f9684225f75b632aa62f818454916dff164736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000066267c6e24fbcdebf06ae9104e0ccfb9c8b2ae080000000000000000000000000418205c250a5eb1f4ecaab5f7c76c08b57b5aaf000000000000000000000000d60eea80c83779a8a5bfcdac1f3323548e6bb62d0000000000000000000000007f4b66ff703336cfc35b901144614496ae0b0d27000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
-----Decoded View---------------
Arg [0] : _oldPool (address): 0x66267c6E24fBcdeBf06AE9104e0ccFb9C8b2AE08
Arg [1] : _newPool (address): 0x0418205C250A5Eb1F4ECAab5f7C76C08b57b5aaf
Arg [2] : _oldStablecoin (address): 0xD60EeA80C83779a8A5BFCDAc1F3323548e6BB62d
Arg [3] : _newStablecoin (address): 0x7F4B66FF703336CfC35b901144614496Ae0b0D27
Arg [4] : _pairedAsset (address): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000066267c6e24fbcdebf06ae9104e0ccfb9c8b2ae08
Arg [1] : 0000000000000000000000000418205c250a5eb1f4ecaab5f7c76c08b57b5aaf
Arg [2] : 000000000000000000000000d60eea80c83779a8a5bfcdac1f3323548e6bb62d
Arg [3] : 0000000000000000000000007f4b66ff703336cfc35b901144614496ae0b0d27
Arg [4] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.