Source Code
Latest 25 from a total of 205 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Migrate | 19146502 | 752 days ago | IN | 0 ETH | 0.00540336 | ||||
| Migrate | 18645058 | 822 days ago | IN | 0 ETH | 0.00813278 | ||||
| Migrate | 18527939 | 839 days ago | IN | 0 ETH | 0.01458742 | ||||
| Migrate | 18422002 | 854 days ago | IN | 0 ETH | 0.00835143 | ||||
| Migrate | 18417960 | 854 days ago | IN | 0 ETH | 0.00670186 | ||||
| Migrate | 18401810 | 857 days ago | IN | 0 ETH | 0.00247361 | ||||
| Migrate | 18373436 | 860 days ago | IN | 0 ETH | 0.00191935 | ||||
| Migrate | 18165541 | 890 days ago | IN | 0 ETH | 0.00603046 | ||||
| Migrate | 18162754 | 890 days ago | IN | 0 ETH | 0.00373692 | ||||
| Migrate | 18157846 | 891 days ago | IN | 0 ETH | 0.00332896 | ||||
| Migrate | 18150989 | 892 days ago | IN | 0 ETH | 0.00372 | ||||
| Migrate | 18147266 | 892 days ago | IN | 0 ETH | 0.00068337 | ||||
| Migrate | 18147236 | 892 days ago | IN | 0 ETH | 0.00062833 | ||||
| Migrate | 18147013 | 892 days ago | IN | 0 ETH | 0.00063841 | ||||
| Migrate | 18146963 | 892 days ago | IN | 0 ETH | 0.00071669 | ||||
| Migrate | 18146861 | 892 days ago | IN | 0 ETH | 0.00066005 | ||||
| Migrate | 18146847 | 892 days ago | IN | 0 ETH | 0.00058342 | ||||
| Migrate | 18146822 | 892 days ago | IN | 0 ETH | 0.000633 | ||||
| Migrate | 18146815 | 892 days ago | IN | 0 ETH | 0.00067101 | ||||
| Migrate | 18146787 | 892 days ago | IN | 0 ETH | 0.00189069 | ||||
| Migrate | 18146773 | 892 days ago | IN | 0 ETH | 0.00060544 | ||||
| Migrate | 18145008 | 892 days ago | IN | 0 ETH | 0.00186039 | ||||
| Migrate | 18144858 | 892 days ago | IN | 0 ETH | 0.00204375 | ||||
| Migrate | 18144539 | 893 days ago | IN | 0 ETH | 0.00241702 | ||||
| Migrate | 18144360 | 893 days ago | IN | 0 ETH | 0.00087465 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Migration
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
contract Migration is Ownable, ReentrancyGuard {
ERC20 public token = ERC20(0x97271AC2d46513A31eD41793191F08011abfC1A6);
ERC20 public prevToken = ERC20(0x68300309047f8bC213f10e238eA6Badb700cb193);
bool public paused;
uint256 public rate = 500;
uint256 public constant DENOMINATOR = 1000;
function setPaused(bool _status) external onlyOwner {
paused = _status;
}
function setRate(uint256 _rate) external onlyOwner {
rate = _rate;
}
function setToken(address _token) external onlyOwner {
token = ERC20(_token);
}
function setOld(address _token) external onlyOwner {
prevToken = ERC20(_token);
}
function _migrate() internal {
require(!paused, 'Paused');
uint256 balance = prevToken.balanceOf(msg.sender);
uint256 balanceBefore = prevToken.balanceOf(address(this));
prevToken.transferFrom(msg.sender, address(this), balance);
uint256 received = prevToken.balanceOf(address(this)) - balanceBefore;
uint256 newAmount = received * rate / DENOMINATOR;
token.transfer(msg.sender, newAmount);
emit Migrated(msg.sender, balance, newAmount);
}
function migrate() public nonReentrant {
_migrate();
}
function recoverBEP20(address tokenAddress, uint256 tokenAmount) external onlyOwner {
IERC20(tokenAddress).transfer(owner(), tokenAmount);
}
function releaseFunds() external onlyOwner {
payable(msg.sender).transfer(address(this).balance);
}
event Migrated(address account, uint256 oldAmount, uint256 newAmount);
}// 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) (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be _NOT_ENTERED
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
/**
* @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
* `nonReentrant` function in the call stack.
*/
function _reentrancyGuardEntered() internal view returns (bool) {
return _status == _ENTERED;
}
}// 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 (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 (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) (utils/Address.sol)
pragma solidity >=0.6.0 <0.9.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
*
* Furthermore, `isContract` will also return true if the target contract within
* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
* which only has an effect at the end of a transaction.
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 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://consensys.net/diligence/blog/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.8.0/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");
(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 functionCallWithValue(target, data, 0, "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");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, 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) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, 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) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// 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
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}// 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;
}
}{
"remappings": [],
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "istanbul",
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"oldAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newAmount","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":[],"name":"DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prevToken","outputs":[{"internalType":"contract ERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverBEP20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"setOld","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"setRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"setToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract ERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6080604052600280546001600160a01b03199081167397271ac2d46513a31ed41793191f08011abfc1a617909155600380549091167368300309047f8bc213f10e238ea6badb700cb1931790556101f460045534801561005e57600080fd5b5061006f61006a610078565b61007c565b600180556100cc565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610ab4806100db6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063715018a611610097578063efa0880611610066578063efa08806146101b0578063f2fde38b146101c3578063fc0c546a146101d6578063fc316285146101de576100f5565b8063715018a6146101835780638da5cb5b1461018b5780638fd3ab80146101a0578063918f8674146101a8576100f5565b80632c4e722e116100d35780632c4e722e1461013557806334fcf437146101535780635c975abb1461016657806369d895751461017b576100f5565b8063144fa6d7146100fa57806316c38b3c1461010f578063242d81f014610122575b600080fd5b61010d6101083660046107fa565b6101e6565b005b61010d61011d366004610844565b610210565b61010d6101303660046107fa565b610236565b61013d610260565b60405161014a91906109fb565b60405180910390f35b61010d61016136600461087c565b610266565b61016e610273565b60405161014a919061091e565b61010d610283565b61010d6102ba565b6101936102ce565b60405161014a91906108ac565b61010d6102dd565b61013d6102f5565b61010d6101be36600461081b565b6102fb565b61010d6101d13660046107fa565b61038f565b6101936103cf565b6101936103de565b6101ee6103ed565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6102186103ed565b60038054911515600160a01b0260ff60a01b19909216919091179055565b61023e6103ed565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60045481565b61026e6103ed565b600455565b600354600160a01b900460ff1681565b61028b6103ed565b60405133904780156108fc02916000818181858888f193505050501580156102b7573d6000803e3d6000fd5b50565b6102c26103ed565b6102cc600061042c565b565b6000546001600160a01b031690565b6102e561047c565b6102ed6104a6565b6102cc6107d4565b6103e881565b6103036103ed565b816001600160a01b031663a9059cbb61031a6102ce565b836040518363ffffffff1660e01b81526004016103389291906108e4565b602060405180830381600087803b15801561035257600080fd5b505af1158015610366573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061038a9190610860565b505050565b6103976103ed565b6001600160a01b0381166103c65760405162461bcd60e51b81526004016103bd90610949565b60405180910390fd5b6102b78161042c565b6002546001600160a01b031681565b6003546001600160a01b031681565b6103f56107da565b6001600160a01b03166104066102ce565b6001600160a01b0316146102cc5760405162461bcd60e51b81526004016103bd9061098f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6002600154141561049f5760405162461bcd60e51b81526004016103bd906109c4565b6002600155565b600354600160a01b900460ff16156104d05760405162461bcd60e51b81526004016103bd90610929565b6003546040516370a0823160e01b81526000916001600160a01b0316906370a08231906105019033906004016108ac565b60206040518083038186803b15801561051957600080fd5b505afa15801561052d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190610894565b6003546040516370a0823160e01b81529192506000916001600160a01b03909116906370a08231906105879030906004016108ac565b60206040518083038186803b15801561059f57600080fd5b505afa1580156105b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d79190610894565b6003546040516323b872dd60e01b81529192506001600160a01b0316906323b872dd9061060c903390309087906004016108c0565b602060405180830381600087803b15801561062657600080fd5b505af115801561063a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065e9190610860565b506003546040516370a0823160e01b815260009183916001600160a01b03909116906370a08231906106949030906004016108ac565b60206040518083038186803b1580156106ac57600080fd5b505afa1580156106c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e49190610894565b6106ee9190610a43565b905060006103e8600454836107039190610a24565b61070d9190610a04565b60025460405163a9059cbb60e01b81529192506001600160a01b03169063a9059cbb9061074090339085906004016108e4565b602060405180830381600087803b15801561075a57600080fd5b505af115801561076e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107929190610860565b507fd083678824038160bef3975359ab29f19c3f0e9bcf9d7ead540a492d4d678b633385836040516107c6939291906108fd565b60405180910390a150505050565b60018055565b3390565b80356001600160a01b03811681146107f557600080fd5b919050565b60006020828403121561080b578081fd5b610814826107de565b9392505050565b6000806040838503121561082d578081fd5b610836836107de565b946020939093013593505050565b600060208284031215610855578081fd5b813561081481610a70565b600060208284031215610871578081fd5b815161081481610a70565b60006020828403121561088d578081fd5b5035919050565b6000602082840312156108a5578081fd5b5051919050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039390931683526020830191909152604082015260600190565b901515815260200190565b60208082526006908201526514185d5cd95960d21b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b90815260200190565b600082610a1f57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610a3e57610a3e610a5a565b500290565b600082821015610a5557610a55610a5a565b500390565b634e487b7160e01b600052601160045260246000fd5b80151581146102b757600080fdfea264697066735822122093d9cea3b14ed38a8c3c278514db8f11cd3a4691046aeb41e238fcf725b2f3b964736f6c63430008000033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100f55760003560e01c8063715018a611610097578063efa0880611610066578063efa08806146101b0578063f2fde38b146101c3578063fc0c546a146101d6578063fc316285146101de576100f5565b8063715018a6146101835780638da5cb5b1461018b5780638fd3ab80146101a0578063918f8674146101a8576100f5565b80632c4e722e116100d35780632c4e722e1461013557806334fcf437146101535780635c975abb1461016657806369d895751461017b576100f5565b8063144fa6d7146100fa57806316c38b3c1461010f578063242d81f014610122575b600080fd5b61010d6101083660046107fa565b6101e6565b005b61010d61011d366004610844565b610210565b61010d6101303660046107fa565b610236565b61013d610260565b60405161014a91906109fb565b60405180910390f35b61010d61016136600461087c565b610266565b61016e610273565b60405161014a919061091e565b61010d610283565b61010d6102ba565b6101936102ce565b60405161014a91906108ac565b61010d6102dd565b61013d6102f5565b61010d6101be36600461081b565b6102fb565b61010d6101d13660046107fa565b61038f565b6101936103cf565b6101936103de565b6101ee6103ed565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6102186103ed565b60038054911515600160a01b0260ff60a01b19909216919091179055565b61023e6103ed565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60045481565b61026e6103ed565b600455565b600354600160a01b900460ff1681565b61028b6103ed565b60405133904780156108fc02916000818181858888f193505050501580156102b7573d6000803e3d6000fd5b50565b6102c26103ed565b6102cc600061042c565b565b6000546001600160a01b031690565b6102e561047c565b6102ed6104a6565b6102cc6107d4565b6103e881565b6103036103ed565b816001600160a01b031663a9059cbb61031a6102ce565b836040518363ffffffff1660e01b81526004016103389291906108e4565b602060405180830381600087803b15801561035257600080fd5b505af1158015610366573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061038a9190610860565b505050565b6103976103ed565b6001600160a01b0381166103c65760405162461bcd60e51b81526004016103bd90610949565b60405180910390fd5b6102b78161042c565b6002546001600160a01b031681565b6003546001600160a01b031681565b6103f56107da565b6001600160a01b03166104066102ce565b6001600160a01b0316146102cc5760405162461bcd60e51b81526004016103bd9061098f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6002600154141561049f5760405162461bcd60e51b81526004016103bd906109c4565b6002600155565b600354600160a01b900460ff16156104d05760405162461bcd60e51b81526004016103bd90610929565b6003546040516370a0823160e01b81526000916001600160a01b0316906370a08231906105019033906004016108ac565b60206040518083038186803b15801561051957600080fd5b505afa15801561052d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190610894565b6003546040516370a0823160e01b81529192506000916001600160a01b03909116906370a08231906105879030906004016108ac565b60206040518083038186803b15801561059f57600080fd5b505afa1580156105b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d79190610894565b6003546040516323b872dd60e01b81529192506001600160a01b0316906323b872dd9061060c903390309087906004016108c0565b602060405180830381600087803b15801561062657600080fd5b505af115801561063a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065e9190610860565b506003546040516370a0823160e01b815260009183916001600160a01b03909116906370a08231906106949030906004016108ac565b60206040518083038186803b1580156106ac57600080fd5b505afa1580156106c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e49190610894565b6106ee9190610a43565b905060006103e8600454836107039190610a24565b61070d9190610a04565b60025460405163a9059cbb60e01b81529192506001600160a01b03169063a9059cbb9061074090339085906004016108e4565b602060405180830381600087803b15801561075a57600080fd5b505af115801561076e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107929190610860565b507fd083678824038160bef3975359ab29f19c3f0e9bcf9d7ead540a492d4d678b633385836040516107c6939291906108fd565b60405180910390a150505050565b60018055565b3390565b80356001600160a01b03811681146107f557600080fd5b919050565b60006020828403121561080b578081fd5b610814826107de565b9392505050565b6000806040838503121561082d578081fd5b610836836107de565b946020939093013593505050565b600060208284031215610855578081fd5b813561081481610a70565b600060208284031215610871578081fd5b815161081481610a70565b60006020828403121561088d578081fd5b5035919050565b6000602082840312156108a5578081fd5b5051919050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039390931683526020830191909152604082015260600190565b901515815260200190565b60208082526006908201526514185d5cd95960d21b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b90815260200190565b600082610a1f57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610a3e57610a3e610a5a565b500290565b600082821015610a5557610a55610a5a565b500390565b634e487b7160e01b600052601160045260246000fd5b80151581146102b757600080fdfea264697066735822122093d9cea3b14ed38a8c3c278514db8f11cd3a4691046aeb41e238fcf725b2f3b964736f6c63430008000033
Deployed Bytecode Sourcemap
340:1622:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;830:91;;;;;;:::i;:::-;;:::i;:::-;;653:85;;;;;;:::i;:::-;;:::i;927:93::-;;;;;;:::i;:::-;;:::i;573:25::-;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;744:80;;;;;;:::i;:::-;;:::i;549:18::-;;;:::i;:::-;;;;;;;:::i;1773:111::-;;;:::i;1824:101:0:-;;;:::i;1201:85::-;;;:::i;:::-;;;;;;;:::i;1543:66:7:-;;;:::i;604:42::-;;;:::i;1615:152::-;;;;;;:::i;:::-;;:::i;2074:198:0:-;;;;;;:::i;:::-;;:::i;393:70:7:-;;;:::i;469:74::-;;;:::i;830:91::-;1094:13:0;:11;:13::i;:::-;893:5:7::1;:21:::0;;-1:-1:-1;;;;;;893:21:7::1;-1:-1:-1::0;;;;;893:21:7;;;::::1;::::0;;;::::1;::::0;;830:91::o;653:85::-;1094:13:0;:11;:13::i;:::-;715:6:7::1;:16:::0;;;::::1;;-1:-1:-1::0;;;715:16:7::1;-1:-1:-1::0;;;;715:16:7;;::::1;::::0;;;::::1;::::0;;653:85::o;927:93::-;1094:13:0;:11;:13::i;:::-;988:9:7::1;:25:::0;;-1:-1:-1;;;;;;988:25:7::1;-1:-1:-1::0;;;;;988:25:7;;;::::1;::::0;;;::::1;::::0;;927:93::o;573:25::-;;;;:::o;744:80::-;1094:13:0;:11;:13::i;:::-;805:4:7::1;:12:::0;744:80::o;549:18::-;;;-1:-1:-1;;;549:18:7;;;;;:::o;1773:111::-;1094:13:0;:11;:13::i;:::-;1826:51:7::1;::::0;1834:10:::1;::::0;1855:21:::1;1826:51:::0;::::1;;;::::0;::::1;::::0;;;1855:21;1834:10;1826:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;1773:111::o:0;1824:101:0:-;1094:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;:::-;1824:101::o:0;1201:85::-;1247:7;1273:6;-1:-1:-1;;;;;1273:6:0;1201:85;:::o;1543:66:7:-;2261:21:1;:19;:21::i;:::-;1592:10:7::1;:8;:10::i;:::-;2303:20:1::0;:18;:20::i;604:42:7:-;642:4;604:42;:::o;1615:152::-;1094:13:0;:11;:13::i;:::-;1716:12:7::1;-1:-1:-1::0;;;;;1709:29:7::1;;1739:7;:5;:7::i;:::-;1748:11;1709:51;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1615:152:::0;;:::o;2074:198:0:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2162:22:0;::::1;2154:73;;;;-1:-1:-1::0;;;2154:73:0::1;;;;;;;:::i;:::-;;;;;;;;;2237:28;2256:8;2237:18;:28::i;393:70:7:-:0;;;-1:-1:-1;;;;;393:70:7;;:::o;469:74::-;;;-1:-1:-1;;;;;469:74:7;;:::o;1359:130:0:-;1433:12;:10;:12::i;:::-;-1:-1:-1;;;;;1422:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1422:23:0;;1414:68;;;;-1:-1:-1;;;1414:68:0;;;;;;;:::i;2426:187::-;2499:16;2518:6;;-1:-1:-1;;;;;2534:17:0;;;-1:-1:-1;;;;;;2534:17:0;;;;;;2566:40;;2518:6;;;;;;;2566:40;;2499:16;2566:40;2426:187;;:::o;2336:287:1:-;1759:1;2468:7;;:19;;2460:63;;;;-1:-1:-1;;;2460:63:1;;;;;;;:::i;:::-;1759:1;2598:7;:18;2336:287::o;1026:511:7:-;1074:6;;-1:-1:-1;;;1074:6:7;;;;1073:7;1065:26;;;;-1:-1:-1;;;1065:26:7;;;;;;;:::i;:::-;1120:9;;:31;;-1:-1:-1;;;1120:31:7;;1102:15;;-1:-1:-1;;;;;1120:9:7;;:19;;:31;;1140:10;;1120:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1185:9;;:34;;-1:-1:-1;;;1185:34:7;;1102:49;;-1:-1:-1;1161:21:7;;-1:-1:-1;;;;;1185:9:7;;;;:19;;:34;;1213:4;;1185:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1229:9;;:58;;-1:-1:-1;;;1229:58:7;;1161;;-1:-1:-1;;;;;;1229:9:7;;:22;;:58;;1252:10;;1272:4;;1279:7;;1229:58;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;1316:9:7;;:34;;-1:-1:-1;;;1316:34:7;;1297:16;;1353:13;;-1:-1:-1;;;;;1316:9:7;;;;:19;;:34;;1344:4;;1316:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:50;;;;:::i;:::-;1297:69;;1377:17;642:4;1408;;1397:8;:15;;;;:::i;:::-;:29;;;;:::i;:::-;1437:5;;:37;;-1:-1:-1;;;1437:37:7;;1377:49;;-1:-1:-1;;;;;;1437:5:7;;:14;;:37;;1452:10;;1377:49;;1437:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1490:40;1499:10;1511:7;1520:9;1490:40;;;;;;;;:::i;:::-;;;;;;;;1026:511;;;;:::o;2629:209:1:-;1716:1;2809:22;;2629:209::o;640:96:6:-;719:10;640:96;:::o;14:175:8:-;84:20;;-1:-1:-1;;;;;133:31:8;;123:42;;113:2;;179:1;176;169:12;113:2;65:124;;;:::o;194:198::-;;306:2;294:9;285:7;281:23;277:32;274:2;;;327:6;319;312:22;274:2;355:31;376:9;355:31;:::i;:::-;345:41;264:128;-1:-1:-1;;;264:128:8:o;397:266::-;;;526:2;514:9;505:7;501:23;497:32;494:2;;;547:6;539;532:22;494:2;575:31;596:9;575:31;:::i;:::-;565:41;653:2;638:18;;;;625:32;;-1:-1:-1;;;484:179:8:o;668:253::-;;777:2;765:9;756:7;752:23;748:32;745:2;;;798:6;790;783:22;745:2;842:9;829:23;861:30;885:5;861:30;:::i;926:257::-;;1046:2;1034:9;1025:7;1021:23;1017:32;1014:2;;;1067:6;1059;1052:22;1014:2;1104:9;1098:16;1123:30;1147:5;1123:30;:::i;1188:190::-;;1300:2;1288:9;1279:7;1275:23;1271:32;1268:2;;;1321:6;1313;1306:22;1268:2;-1:-1:-1;1349:23:8;;1258:120;-1:-1:-1;1258:120:8:o;1383:194::-;;1506:2;1494:9;1485:7;1481:23;1477:32;1474:2;;;1527:6;1519;1512:22;1474:2;-1:-1:-1;1555:16:8;;1464:113;-1:-1:-1;1464:113:8:o;1582:203::-;-1:-1:-1;;;;;1746:32:8;;;;1728:51;;1716:2;1701:18;;1683:102::o;1790:375::-;-1:-1:-1;;;;;2048:15:8;;;2030:34;;2100:15;;;;2095:2;2080:18;;2073:43;2147:2;2132:18;;2125:34;;;;1980:2;1965:18;;1947:218::o;2170:274::-;-1:-1:-1;;;;;2362:32:8;;;;2344:51;;2426:2;2411:18;;2404:34;2332:2;2317:18;;2299:145::o;2449:345::-;-1:-1:-1;;;;;2669:32:8;;;;2651:51;;2733:2;2718:18;;2711:34;;;;2776:2;2761:18;;2754:34;2639:2;2624:18;;2606:188::o;2799:187::-;2964:14;;2957:22;2939:41;;2927:2;2912:18;;2894:92::o;3212:329::-;3414:2;3396:21;;;3453:1;3433:18;;;3426:29;-1:-1:-1;;;3486:2:8;3471:18;;3464:36;3532:2;3517:18;;3386:155::o;3546:402::-;3748:2;3730:21;;;3787:2;3767:18;;;3760:30;3826:34;3821:2;3806:18;;3799:62;-1:-1:-1;;;3892:2:8;3877:18;;3870:36;3938:3;3923:19;;3720:228::o;3953:356::-;4155:2;4137:21;;;4174:18;;;4167:30;4233:34;4228:2;4213:18;;4206:62;4300:2;4285:18;;4127:182::o;4314:355::-;4516:2;4498:21;;;4555:2;4535:18;;;4528:30;4594:33;4589:2;4574:18;;4567:61;4660:2;4645:18;;4488:181::o;4674:177::-;4820:25;;;4808:2;4793:18;;4775:76::o;4856:217::-;;4922:1;4912:2;;-1:-1:-1;;;4947:31:8;;5001:4;4998:1;4991:15;5029:4;4954:1;5019:15;4912:2;-1:-1:-1;5058:9:8;;4902:171::o;5078:168::-;;5184:1;5180;5176:6;5172:14;5169:1;5166:21;5161:1;5154:9;5147:17;5143:45;5140:2;;;5191:18;;:::i;:::-;-1:-1:-1;5231:9:8;;5130:116::o;5251:125::-;;5319:1;5316;5313:8;5310:2;;;5324:18;;:::i;:::-;-1:-1:-1;5361:9:8;;5300:76::o;5381:127::-;5442:10;5437:3;5433:20;5430:1;5423:31;5473:4;5470:1;5463:15;5497:4;5494:1;5487:15;5513:120;5601:5;5594:13;5587:21;5580:5;5577:32;5567:2;;5623:1;5620;5613:12
Swarm Source
ipfs://93d9cea3b14ed38a8c3c278514db8f11cd3a4691046aeb41e238fcf725b2f3b9
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 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.