Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 21 from a total of 21 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Register Swap | 10647789 | 2040 days ago | IN | 0 ETH | 0.0349305 | ||||
| Register Swap | 10647357 | 2040 days ago | IN | 0 ETH | 0.00626918 | ||||
| Register Swap | 10647357 | 2040 days ago | IN | 0 ETH | 0.03252326 | ||||
| Register Swap | 10646577 | 2040 days ago | IN | 0 ETH | 0.00495908 | ||||
| Register Swap | 10646577 | 2040 days ago | IN | 0 ETH | 0.00495908 | ||||
| Register Swap | 10646577 | 2040 days ago | IN | 0 ETH | 0.02577775 | ||||
| Execute Swap | 10632214 | 2043 days ago | IN | 0 ETH | 0.00246468 | ||||
| Execute Swap | 10632214 | 2043 days ago | IN | 0 ETH | 0.00889786 | ||||
| Register Swap | 10632122 | 2043 days ago | IN | 0 ETH | 0.00276318 | ||||
| Register Swap | 10632122 | 2043 days ago | IN | 0 ETH | 0.0029099 | ||||
| Register Swap | 10632122 | 2043 days ago | IN | 0 ETH | 0.00276318 | ||||
| Register Swap | 10631909 | 2043 days ago | IN | 0 ETH | 0.01511395 | ||||
| Cancel Swap | 10631832 | 2043 days ago | IN | 0 ETH | 0.00447854 | ||||
| Register Swap | 10631678 | 2043 days ago | IN | 0 ETH | 0.01358728 | ||||
| Execute Swap | 10627806 | 2043 days ago | IN | 0 ETH | 0.00570542 | ||||
| Execute Swap | 10627782 | 2043 days ago | IN | 0 ETH | 0.00453684 | ||||
| Register Swap | 10627701 | 2043 days ago | IN | 0 ETH | 0.0128278 | ||||
| Register Swap | 10627548 | 2043 days ago | IN | 0 ETH | 0.0127008 | ||||
| Execute Swap | 10627335 | 2043 days ago | IN | 0 ETH | 0.00497297 | ||||
| Register Swap | 10624349 | 2044 days ago | IN | 0 ETH | 0.00126843 | ||||
| Register Swap | 10624349 | 2044 days ago | IN | 0 ETH | 0.00660129 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
P2pSwap
Compiler Version
v0.6.2+commit.bacdbe57
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2020-08-09
*/
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}
// File: @openzeppelin/contracts/math/SafeMath.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
// Solidity only automatically asserts when dividing by 0
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts with custom message when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
// File: @openzeppelin/contracts/utils/Address.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// According to EIP-1052, 0x0 is the value returned for not-yet created accounts
// and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
// for accounts without code, i.e. `keccak256('')`
bytes32 codehash;
bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
// solhint-disable-next-line no-inline-assembly
assembly { codehash := extcodehash(account) }
return (codehash != accountHash && codehash != 0x0);
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
}
// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using SafeMath for uint256;
using Address for address;
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
function safeApprove(IERC20 token, address spender, uint256 value) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
// solhint-disable-next-line max-line-length
require((value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).add(value);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves.
// A Solidity high level call has three parts:
// 1. The target address is checked to verify it contains contract code
// 2. The call itself is made, and success asserted
// 3. The return value is decoded, which in turn checks the size of the returned data.
// solhint-disable-next-line max-line-length
require(address(token).isContract(), "SafeERC20: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = address(token).call(data);
require(success, "SafeERC20: low-level call failed");
if (returndata.length > 0) { // Return data is optional
// solhint-disable-next-line max-line-length
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}
// File: contracts/P2pSwap.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;
/**
* @title P2pSwap
* @dev Basic peer to per swap. Alice exchanging X tok1 with Y tok2 with Bob
**/
contract P2pSwap {
using SafeERC20 for IERC20;
struct Swap {
address aliceAddress;
address token1;
uint256 value1;
address token2;
uint256 value2;
uint8 executed; // 0 - pending, 1 - executed, 2 - canceled
}
mapping(uint256 => Swap) swaps;
function getSwap(uint256 _id)
public view returns (address, address, uint256, address, uint256, uint8) {
Swap memory swap = swaps[_id];
return (
swap.aliceAddress,
swap.token1,
swap.value1,
swap.token2,
swap.value2,
swap.executed
);
}
function registerSwap(
uint256 _id,
address _aliceAddress,
address _token1,
uint256 _value1,
address _token2,
uint256 _value2)
public returns (bool) {
require(_id != 0);
require(_aliceAddress != address(0));
require(_token1 != address(0));
require(_value1 != 0);
require(_token2 != address(0));
require(_value2 != 0);
Swap storage swap = swaps[_id];
require(swap.aliceAddress == address(0), "Swap already exists");
swap.aliceAddress = _aliceAddress;
swap.token1 = _token1;
swap.value1 = _value1;
swap.token2 = _token2;
swap.value2 = _value2;
return true;
}
function cancelSwap(uint256 _id) public returns (bool) {
Swap storage swap = swaps[_id];
require(swap.executed == 0, "Swap not available");
swap.executed = 2;
}
function executeSwap(uint256 _id, address _bob)
public returns (bool) {
require(_bob != address(0));
Swap storage swap = swaps[_id];
require(swap.aliceAddress != address(0), "Swap does not exists");
require(swap.executed == 0, "Swap not available");
IERC20 Token1 = IERC20(swap.token1);
IERC20 Token2 = IERC20(swap.token2);
// Swap. Make sure to set the allowances in advance
Token1.safeTransferFrom(swap.aliceAddress, _bob, swap.value1);
Token2.safeTransferFrom(_bob, swap.aliceAddress, swap.value2);
swap.executed = 1;
return true;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"cancelSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"address","name":"_bob","type":"address"}],"name":"executeSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getSwap","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"address","name":"_aliceAddress","type":"address"},{"internalType":"address","name":"_token1","type":"address"},{"internalType":"uint256","name":"_value1","type":"uint256"},{"internalType":"address","name":"_token2","type":"address"},{"internalType":"uint256","name":"_value2","type":"uint256"}],"name":"registerSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b50610795806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80632fe69784146100515780634a0d89ba1461009157806354d6a2b7146100f557806357cf760014610112575b600080fd5b61007d6004803603604081101561006757600080fd5b50803590602001356001600160a01b031661015c565b604080519115158252519081900360200190f35b6100ae600480360360208110156100a757600080fd5b503561029c565b604080516001600160a01b039788168152958716602087015285810194909452919094166060840152608083019390935260ff90921660a082015290519081900360c00190f35b61007d6004803603602081101561010b57600080fd5b5035610328565b61007d600480360360c081101561012857600080fd5b508035906001600160a01b036020820135811691604081013582169160608201359160808101359091169060a00135610398565b60006001600160a01b03821661017157600080fd5b600083815260208190526040902080546001600160a01b03166101d2576040805162461bcd60e51b81526020600482015260146024820152735377617020646f6573206e6f742065786973747360601b604482015290519081900360640190fd5b600581015460ff1615610221576040805162461bcd60e51b815260206004820152601260248201527153776170206e6f7420617661696c61626c6560701b604482015290519081900360640190fd5b60018101546003820154825460028401546001600160a01b039384169392831692610258928592911690889063ffffffff6104ac16565b82546004840154610281916001600160a01b03848116928992919091169063ffffffff6104ac16565b5050600501805460ff19166001908117909155905092915050565b6000806000806000806102ad610700565b50505060009485525050506020828152604092839020835160c08101855281546001600160a01b0390811680835260018401548216948301859052600284015496830187905260038401549091166060830181905260048401546080840181905260059094015460ff1660a090930183905290969395945092565b6000818152602081905260408120600581015460ff1615610385576040805162461bcd60e51b815260206004820152601260248201527153776170206e6f7420617661696c61626c6560701b604482015290519081900360640190fd5b600501805460ff19166002179055919050565b6000866103a457600080fd5b6001600160a01b0386166103b757600080fd5b6001600160a01b0385166103ca57600080fd5b836103d457600080fd5b6001600160a01b0383166103e757600080fd5b816103f157600080fd5b600087815260208190526040902080546001600160a01b031615610452576040805162461bcd60e51b81526020600482015260136024820152725377617020616c72656164792065786973747360681b604482015290519081900360640190fd5b80546001600160a01b03199081166001600160a01b03988916178255600180830180548316988a16989098179097556002820195909555600381018054909516939096169290921790925550600490920191909155919050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261050690859061050c565b50505050565b61051e826001600160a01b03166106c4565b61056f576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106105ad5780518252601f19909201916020918201910161058e565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461060f576040519150601f19603f3d011682016040523d82523d6000602084013e610614565b606091505b50915091508161066b576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156105065780806020019051602081101561068757600080fd5b50516105065760405162461bcd60e51b815260040180806020018281038252602a815260200180610736602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906106f857508115155b949350505050565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a08101919091529056fe5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220183852a8855ecab66a88d6480e7c16eb37a16c9e2301ce6c42c18fbbd8a11a3064736f6c63430006020033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80632fe69784146100515780634a0d89ba1461009157806354d6a2b7146100f557806357cf760014610112575b600080fd5b61007d6004803603604081101561006757600080fd5b50803590602001356001600160a01b031661015c565b604080519115158252519081900360200190f35b6100ae600480360360208110156100a757600080fd5b503561029c565b604080516001600160a01b039788168152958716602087015285810194909452919094166060840152608083019390935260ff90921660a082015290519081900360c00190f35b61007d6004803603602081101561010b57600080fd5b5035610328565b61007d600480360360c081101561012857600080fd5b508035906001600160a01b036020820135811691604081013582169160608201359160808101359091169060a00135610398565b60006001600160a01b03821661017157600080fd5b600083815260208190526040902080546001600160a01b03166101d2576040805162461bcd60e51b81526020600482015260146024820152735377617020646f6573206e6f742065786973747360601b604482015290519081900360640190fd5b600581015460ff1615610221576040805162461bcd60e51b815260206004820152601260248201527153776170206e6f7420617661696c61626c6560701b604482015290519081900360640190fd5b60018101546003820154825460028401546001600160a01b039384169392831692610258928592911690889063ffffffff6104ac16565b82546004840154610281916001600160a01b03848116928992919091169063ffffffff6104ac16565b5050600501805460ff19166001908117909155905092915050565b6000806000806000806102ad610700565b50505060009485525050506020828152604092839020835160c08101855281546001600160a01b0390811680835260018401548216948301859052600284015496830187905260038401549091166060830181905260048401546080840181905260059094015460ff1660a090930183905290969395945092565b6000818152602081905260408120600581015460ff1615610385576040805162461bcd60e51b815260206004820152601260248201527153776170206e6f7420617661696c61626c6560701b604482015290519081900360640190fd5b600501805460ff19166002179055919050565b6000866103a457600080fd5b6001600160a01b0386166103b757600080fd5b6001600160a01b0385166103ca57600080fd5b836103d457600080fd5b6001600160a01b0383166103e757600080fd5b816103f157600080fd5b600087815260208190526040902080546001600160a01b031615610452576040805162461bcd60e51b81526020600482015260136024820152725377617020616c72656164792065786973747360681b604482015290519081900360640190fd5b80546001600160a01b03199081166001600160a01b03988916178255600180830180548316988a16989098179097556002820195909555600381018054909516939096169290921790925550600490920191909155919050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261050690859061050c565b50505050565b61051e826001600160a01b03166106c4565b61056f576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106105ad5780518252601f19909201916020918201910161058e565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461060f576040519150601f19603f3d011682016040523d82523d6000602084013e610614565b606091505b50915091508161066b576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156105065780806020019051602081101561068757600080fd5b50516105065760405162461bcd60e51b815260040180806020018281038252602a815260200180610736602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906106f857508115155b949350505050565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a08101919091529056fe5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220183852a8855ecab66a88d6480e7c16eb37a16c9e2301ce6c42c18fbbd8a11a3064736f6c63430006020033
Deployed Bytecode Sourcemap
15069:2281:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15069:2281:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16703:644;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16703:644:0;;;;;;-1:-1:-1;;;;;16703:644:0;;:::i;:::-;;;;;;;;;;;;;;;;;;15392:349;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15392:349:0;;:::i;:::-;;;;-1:-1:-1;;;;;15392:349:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16503:192;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16503:192:0;;:::i;15749:746::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;15749:746:0;;;-1:-1:-1;;;;;15749:746:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;16703:644::-;16772:4;-1:-1:-1;;;;;16797:18:0;;16789:27;;;;;;16827:17;16847:10;;;;;;;;;;16876:17;;-1:-1:-1;;;;;16876:17:0;16868:64;;;;;-1:-1:-1;;;16868:64:0;;;;;;;;;;;;-1:-1:-1;;;16868:64:0;;;;;;;;;;;;;;;16951:13;;;;;;:18;16943:49;;;;;-1:-1:-1;;;16943:49:0;;;;;;;;;;;;-1:-1:-1;;;16943:49:0;;;;;;;;;;;;;;;17026:11;;;;17072;;;;17180:17;;17205:11;;;;-1:-1:-1;;;;;17026:11:0;;;;17072;;;;17156:61;;17026:11;;17180:17;;;17199:4;;17156:61;:23;:61;:::i;:::-;17258:17;;17277:11;;;;17228:61;;-1:-1:-1;;;;;17228:23:0;;;;17252:4;;17258:17;;;;;17228:61;:23;:61;:::i;:::-;-1:-1:-1;;17300:13:0;;:17;;-1:-1:-1;;17300:17:0;17316:1;17300:17;;;;;;17316:1;-1:-1:-1;16703:644:0;;;;:::o;15392:349::-;15448:7;15457;15466;15475;15484;15493:5;15511:16;;:::i;:::-;-1:-1:-1;;;15530:5:0;:10;;;-1:-1:-1;;;15530:10:0;;;;;;;;;15511:29;;;;;;;;;-1:-1:-1;;;;;15511:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15511:29:0;15392:349::o;16503:192::-;16552:4;16589:10;;;;;;;;;;16618:13;;;;;;:18;16610:49;;;;;-1:-1:-1;;;16610:49:0;;;;;;;;;;;;-1:-1:-1;;;16610:49:0;;;;;;;;;;;;;;;16670:13;;:17;;-1:-1:-1;;16670:17:0;16686:1;16670:17;;;16503:192;;-1:-1:-1;16503:192:0:o;15749:746::-;15951:4;15976:8;15968:17;;;;;;-1:-1:-1;;;;;16004:27:0;;15996:36;;;;;;-1:-1:-1;;;;;16051:21:0;;16043:30;;;;;;16092:12;16084:21;;;;;;-1:-1:-1;;;;;16124:21:0;;16116:30;;;;;;16165:12;16157:21;;;;;;16189:17;16209:10;;;;;;;;;;16238:17;;-1:-1:-1;;;;;16238:17:0;:31;16230:63;;;;;-1:-1:-1;;;16230:63:0;;;;;;;;;;;;-1:-1:-1;;;16230:63:0;;;;;;;;;;;;;;;16304:33;;-1:-1:-1;;;;;;16304:33:0;;;-1:-1:-1;;;;;16304:33:0;;;;;;-1:-1:-1;16348:11:0;;;:21;;;;;;;;;;;;;;16380:11;;;:21;;;;16412:11;;;:21;;;;;;;;;;;;;;;;-1:-1:-1;16444:11:0;;;;:21;;;;-1:-1:-1;15749:746:0;-1:-1:-1;15749:746:0:o;11881:205::-;12009:68;;;-1:-1:-1;;;;;12009:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12009:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;11982:96:0;;12002:5;;11982:19;:96::i;:::-;11881:205;;;;:::o;13740:1115::-;14345:27;14353:5;-1:-1:-1;;;;;14345:25:0;;:27::i;:::-;14337:71;;;;;-1:-1:-1;;;14337:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14482:12;14496:23;14531:5;-1:-1:-1;;;;;14523:19:0;14543:4;14523:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;14523:25:0;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;14481:67:0;;;;14567:7;14559:52;;;;;-1:-1:-1;;;14559:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14628:17;;:21;14624:224;;14770:10;14759:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14759:30:0;14751:85;;;;-1:-1:-1;;;14751:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9050:619;9110:4;9578:20;;9421:66;9618:23;;;;;;:42;;-1:-1:-1;9645:15:0;;;9618:42;9610:51;9050:619;-1:-1:-1;;;;9050:619:0:o;15069:2281::-;;;;;;;;;-1:-1:-1;15069:2281:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://183852a8855ecab66a88d6480e7c16eb37a16c9e2301ce6c42c18fbbd8a11a30
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.