Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Multi Chain
Multichain Addresses
1 address found via BlockscanLatest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 11230317 | 861 days 6 hrs ago | IN | Create: WSFactory | 0 ETH | 0.17808271 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
WSFactory
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-11-10 */ // SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.6.12; interface IWSFactory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IWSController { function getLogicForPair() external view returns(address); function getCurrentAdmin() external view returns(address); function updatePairLogic(address _logic) external; function updateCurrentAdmin(address _newAdmin) external; function updateProxyPair(address _proxy) external; function setAdminForProxy(address _proxy) external; } interface IWSProxy { function initialize(address _implementation, address _admin, bytes calldata _data) external; function upgradeTo(address _proxy) external; function upgradeToAndCall(address _proxy, bytes calldata data) external payable; function changeAdmin(address newAdmin) external; function admin() external returns (address); function implementation() external returns (address); } /** * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to * be specified by overriding the virtual {_implementation} function. * * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a * different contract through the {_delegate} function. * * The success and return data of the delegated call will be returned back to the caller of the proxy. */ abstract contract Proxy { /** * @dev Delegates the current call to `implementation`. * * This function does not return to its internall call site, it will return directly to the external caller. */ function _delegate(address implementation) internal { // solhint-disable-next-line no-inline-assembly assembly { // Copy msg.data. We take full control of memory in this inline assembly // block because it will not return to Solidity code. We overwrite the // Solidity scratch pad at memory position 0. calldatacopy(0, 0, calldatasize()) // Call the implementation. // out and outsize are 0 because we don't know the size yet. let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0) // Copy the returned data. returndatacopy(0, 0, returndatasize()) switch result // delegatecall returns 0 on error. case 0 { revert(0, returndatasize()) } default { return(0, returndatasize()) } } } /** * @dev This is a virtual function that should be overriden so it returns the address to which the fallback function * and {_fallback} should delegate. */ function _implementation() internal virtual view returns (address); /** * @dev Delegates the current call to the address returned by `_implementation()`. * * This function does not return to its internall call site, it will return directly to the external caller. */ function _fallback() internal { _delegate(_implementation()); } /** * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other * function in the contract matches the call data. */ fallback () payable external { _delegate(_implementation()); } /** * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data * is empty. */ receive () payable external { _delegate(_implementation()); } } /** * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an * implementation address that can be changed. This address is stored in storage in the location specified by * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the * implementation behind the proxy. * * Upgradeability is only provided internally through {_upgradeTo}. For an externally upgradeable proxy see * {TransparentUpgradeableProxy}. */ contract UpgradeableProxy is Proxy { /** * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`. * * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded * function call, and allows initializating the storage of the proxy like a Solidity constructor. */ constructor() public payable { assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1)); } /** * @dev Emitted when the implementation is upgraded. */ event Upgraded(address indexed implementation); /** * @dev Storage slot with the address of the current implementation. * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is * validated in the constructor. */ bytes32 private constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; /** * @dev Returns the current implementation address. */ function _implementation() internal override view returns (address impl) { bytes32 slot = _IMPLEMENTATION_SLOT; // solhint-disable-next-line no-inline-assembly assembly { impl := sload(slot) } } /** * @dev Upgrades the proxy to a new implementation. * * Emits an {Upgraded} event. */ function _upgradeTo(address newImplementation) virtual internal { _setImplementation(newImplementation); emit Upgraded(newImplementation); } /** * @dev Stores a new address in the EIP1967 implementation slot. */ function _setImplementation(address newImplementation) private { address implementation = _implementation(); require(implementation != newImplementation, "WSProxy: Attemps update proxy with the same implementation"); bytes32 slot = _IMPLEMENTATION_SLOT; // solhint-disable-next-line no-inline-assembly assembly { sstore(slot, newImplementation) } } } /** * @dev This contract implements a proxy that is upgradeable by an admin. * * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector * clashing], which can potentially be used in an attack, this contract uses the * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two * things that go hand in hand: * * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if * that call matches one of the admin functions exposed by the proxy itself. * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the * implementation. If the admin tries to call a function on the implementation it will fail with an error that says * "admin cannot fallback to proxy target". * * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due * to sudden errors when trying to call a function from the proxy implementation. * * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way, * you should think of the `ProxyAdmin` instance as the real administrative inerface of your proxy. */ contract TransparentUpgradeableProxy is UpgradeableProxy, IWSProxy { /** * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and * optionally initialized with `_data` as explained in {UpgradeableProxy-constructor}. */ constructor() public payable UpgradeableProxy() { require(_ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1), "Wrong admin slot"); _setAdmin(msg.sender); } /** * @dev Emitted when the admin account has changed. */ event AdminChanged(address previousAdmin, address newAdmin); /** * @dev Storage slot with the admin of the contract. * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is * validated in the constructor. */ bytes32 private constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103; /** * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin. */ modifier ifAdmin() { if (msg.sender == _admin()) { _; } else { _fallback(); } } /** * @dev Returns the current admin. * * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}. * * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103` */ function admin() external override ifAdmin returns (address) { return _admin(); } function initialize(address _newImplementation, address _admin, bytes calldata _data) external override ifAdmin { _upgradeTo(_newImplementation); _setAdmin(_admin); if(_data.length > 0) { // solhint-disable-next-line avoid-low-level-calls (bool success,) = _implementation().delegatecall(_data); require(success); } } /** * @dev Returns the current implementation. * * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}. * * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc` */ function implementation() external override ifAdmin returns (address) { return _implementation(); } /** * @dev Changes the admin of the proxy. * * Emits an {AdminChanged} event. * * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}. */ function changeAdmin(address newAdmin) external override ifAdmin { require(newAdmin != _admin(), "WSProxy: new admin is the same admin."); emit AdminChanged(_admin(), newAdmin); _setAdmin(newAdmin); } /** * @dev Upgrade the implementation of the proxy. * * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}. */ function upgradeTo(address newImplementation) external override ifAdmin { _upgradeTo(newImplementation); } /** * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the * proxied contract. * * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}. */ function upgradeToAndCall(address newImplementation, bytes calldata data) external override payable ifAdmin { _upgradeTo(newImplementation); // solhint-disable-next-line avoid-low-level-calls (bool success,) = newImplementation.delegatecall(data); require(success); } /** * @dev Returns the current admin. */ function _admin() internal view returns (address adm) { bytes32 slot = _ADMIN_SLOT; // solhint-disable-next-line no-inline-assembly assembly { adm := sload(slot) } } /** * @dev Stores a new address in the EIP1967 admin slot. */ function _setAdmin(address newAdmin) private { bytes32 slot = _ADMIN_SLOT; require(newAdmin != address(0), "WSProxy: Can't set admin to zero address."); // solhint-disable-next-line no-inline-assembly assembly { sstore(slot, newAdmin) } } } contract WSProxyPair is TransparentUpgradeableProxy { constructor() public payable TransparentUpgradeableProxy() { } } interface IWSPair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function isLocked() external view returns (uint); function initialize(address _factory, address _token0, address _token1) external returns(bool); } interface IWSImplementation { function getImplementationType() external pure returns(uint256); } contract WSFactory is IWSFactory, IWSImplementation { bool private initialized; address public override feeTo; address public override feeToSetter; address public controller; mapping(address => mapping(address => address)) public override getPair; address[] public override allPairs; event PairCreated(address indexed token0, address indexed token1, address pair, uint); function initialize(address _feeToSetter, address _controller) public returns(bool) { require(initialized == false, "WSFactory: Factory was already initialized."); require(_controller != address(0), "WSFactory: controller should not bo zero address."); require(_feeToSetter != address(0), "WSFactory: _feeToSetter should not be zero address."); feeToSetter = _feeToSetter; controller = _controller; initialized = true; return true; } function allPairsLength() external override view returns (uint) { return allPairs.length; } function createPair(address tokenA, address tokenB) external override returns (address pair) { require(tokenA != tokenB, 'WSwap: IDENTICAL_ADDRESSES'); (address token0, address token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA); require(token0 != address(0), 'WSwap: ZERO_ADDRESS'); require(getPair[token0][token1] == address(0), 'WSwap: PAIR_EXISTS'); // single check is sufficient bytes memory bytecode = type(WSProxyPair).creationCode; bytes32 salt = keccak256(abi.encodePacked(token0, token1)); assembly { pair := create2(0, add(bytecode, 32), mload(bytecode), salt) } // Factory as current proxypair admin initializes proxy with logic and right admin IWSProxy(pair).initialize(IWSController(controller).getLogicForPair(), IWSController(controller).getCurrentAdmin(), ""); // Factory initialized created pair with tokens variables require(IWSPair(pair).initialize(address(this), token0, token1) == true, "WSFactory: Pair initialize not succeed."); getPair[token0][token1] = pair; getPair[token1][token0] = pair; // populate mapping in the reverse direction allPairs.push(pair); emit PairCreated(token0, token1, pair, allPairs.length); } function setFeeTo(address _feeTo) external override { require(msg.sender == feeToSetter, 'WSwap: FORBIDDEN'); feeTo = _feeTo; } function setFeeToSetter(address _feeToSetter) external override { require(msg.sender == feeToSetter, 'WSwap: FORBIDDEN'); feeToSetter = _feeToSetter; } function getImplementationType() external pure override returns(uint256) { /// 1 is a factory type return 1; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token0","type":"address"},{"indexed":true,"internalType":"address","name":"token1","type":"address"},{"indexed":false,"internalType":"address","name":"pair","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"PairCreated","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"allPairs","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allPairsLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controller","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"}],"name":"createPair","outputs":[{"internalType":"address","name":"pair","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeTo","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeToSetter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getImplementationType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"getPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_feeToSetter","type":"address"},{"internalType":"address","name":"_controller","type":"address"}],"name":"initialize","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeTo","type":"address"}],"name":"setFeeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeToSetter","type":"address"}],"name":"setFeeToSetter","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506117f0806100206000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c8063574f2ba311610081578063e6a439051161005b578063e6a4390514610205578063f46901ed14610240578063f77c479114610273576100c9565b8063574f2ba31461018d578063a2e74af614610195578063c9c65396146101ca576100c9565b80631e3dd18b116100b25780631e3dd18b146101075780632a2767e514610124578063485cc9551461013e576100c9565b8063017e7e58146100ce578063094b7415146100ff575b600080fd5b6100d661027b565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100d661029c565b6100d66004803603602081101561011d57600080fd5b50356102b8565b61012c6102ec565b60408051918252519081900360200190f35b6101796004803603604081101561015457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166102f1565b604080519115158252519081900360200190f35b61012c6104a8565b6101c8600480360360208110156101ab57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166104ae565b005b6100d6600480360360408110156101e057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661057b565b6100d66004803603604081101561021b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610bf5565b6101c86004803603602081101561025657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610c28565b6100d6610cfa565b600054610100900473ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b600481815481106102c557fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b600190565b6000805460ff161561034e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180611769602b913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166103ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806117056031913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8316610426576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260338152602001806117366033913960400191505060405180910390fd5b506001805473ffffffffffffffffffffffffffffffffffffffff8085167fffffffffffffffffffffffff00000000000000000000000000000000000000009283161783556002805491851691909216179055600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168217905592915050565b60045490565b60015473ffffffffffffffffffffffffffffffffffffffff16331461053457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f57537761703a20464f5242494444454e00000000000000000000000000000000604482015290519081900360640190fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60008173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561061857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f57537761703a204944454e544943414c5f414444524553534553000000000000604482015290519081900360640190fd5b6000808373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1610610655578385610658565b84845b909250905073ffffffffffffffffffffffffffffffffffffffff82166106df57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f57537761703a205a45524f5f4144445245535300000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff82811660009081526003602090815260408083208585168452909152902054161561078057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f57537761703a20504149525f4558495354530000000000000000000000000000604482015290519081900360640190fd5b60606040518060200161079290610d16565b6020820181038252601f19601f82011660405250905060008383604051602001808373ffffffffffffffffffffffffffffffffffffffff1660601b81526014018273ffffffffffffffffffffffffffffffffffffffff1660601b815260140192505050604051602081830303815290604052805190602001209050808251602084016000f594508473ffffffffffffffffffffffffffffffffffffffff1663cf7a1d77600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663be7a76f56040518163ffffffff1660e01b815260040160206040518083038186803b15801561089d57600080fd5b505afa1580156108b1573d6000803e3d6000fd5b505050506040513d60208110156108c757600080fd5b5051600254604080517f643d430c000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9092169163643d430c91600480820192602092909190829003018186803b15801561093457600080fd5b505afa158015610948573d6000803e3d6000fd5b505050506040513d602081101561095e57600080fd5b5051604080517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff938416600482015292909116602483015260606044830152600060648301819052905160a48084019382900301818387803b1580156109e057600080fd5b505af11580156109f4573d6000803e3d6000fd5b5050604080517fc0c53b8b00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff888116602483015287811660448301529151918916935063c0c53b8b92506064808201926020929091908290030181600087803b158015610a7857600080fd5b505af1158015610a8c573d6000803e3d6000fd5b505050506040513d6020811015610aa257600080fd5b50511515600114610afe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806117946027913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff80851660008181526003602081815260408084208987168086529083528185208054978d167fffffffffffffffffffffffff000000000000000000000000000000000000000098891681179091559383528185208686528352818520805488168517905560048054600181018255958190527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b90950180549097168417909655925483519283529082015281517f0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9929181900390910190a35050505092915050565b600360209081526000928352604080842090915290825290205473ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff163314610cae57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f57537761703a20464f5242494444454e00000000000000000000000000000000604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b6109e180610d248339019056fe608060405261000d33610012565b61007b565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036001600160a01b0382166100785760405162461bcd60e51b81526004018080602001828103825260298152602001806109b86029913960400191505060405180910390fd5b55565b61092e8061008a6000396000f3fe6080604052600436106100695760003560e01c80638f283970116100435780638f28397014610196578063cf7a1d77146101d6578063f851a4401461027957610080565b80633659cfe61461008b5780634f1ef286146100cb5780635c60da1b1461015857610080565b366100805761007e61007961028e565b6102b3565b005b61007e61007961028e565b34801561009757600080fd5b5061007e600480360360208110156100ae57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166102dc565b61007e600480360360408110156100e157600080fd5b73ffffffffffffffffffffffffffffffffffffffff823516919081019060408101602082013564010000000081111561011957600080fd5b82018360208201111561012b57600080fd5b8035906020019184600183028401116401000000008311171561014d57600080fd5b509092509050610330565b34801561016457600080fd5b5061016d6103ff565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156101a257600080fd5b5061007e600480360360208110156101b957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610456565b3480156101e257600080fd5b5061007e600480360360608110156101f957600080fd5b73ffffffffffffffffffffffffffffffffffffffff823581169260208101359091169181019060608101604082013564010000000081111561023a57600080fd5b82018360208201111561024c57600080fd5b8035906020019184600183028401116401000000008311171561026e57600080fd5b50909250905061057e565b34801561028557600080fd5b5061016d61066a565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e8080156102d2573d6000f35b3d6000fd5b505050565b6102e46106ab565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561032557610320816106d0565b61032d565b61032d61071d565b50565b6103386106ab565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156103f757610374836106d0565b60008373ffffffffffffffffffffffffffffffffffffffff1683836040518083838082843760405192019450600093509091505080830381855af49150503d80600081146103de576040519150601f19603f3d011682016040523d82523d6000602084013e6103e3565b606091505b50509050806103f157600080fd5b506102d7565b6102d761071d565b60006104096106ab565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561044b5761044461028e565b9050610453565b61045361071d565b90565b61045e6106ab565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610325576104996106ab565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561051d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806108716025913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6105466106ab565b6040805173ffffffffffffffffffffffffffffffffffffffff928316815291841660208301528051918290030190a16103208161072a565b6105866106ab565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561065c576105c2846106d0565b6105cb8361072a565b80156106575760006105db61028e565b73ffffffffffffffffffffffffffffffffffffffff1683836040518083838082843760405192019450600093509091505080830381855af49150503d8060008114610642576040519150601f19603f3d011682016040523d82523d6000602084013e610647565b606091505b505090508061065557600080fd5b505b610664565b61066461071d565b50505050565b60006106746106ab565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561044b576104445b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b6106d9816107ba565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b61072861007961028e565b565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610373ffffffffffffffffffffffffffffffffffffffff82166107b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806108d06029913960400191505060405180910390fd5b55565b60006107c461028e565b90508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561084b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a815260200180610896603a913960400191505060405180910390fd5b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5556fe575350726f78793a206e65772061646d696e206973207468652073616d652061646d696e2e575350726f78793a20417474656d7073207570646174652070726f78792077697468207468652073616d6520696d706c656d656e746174696f6e575350726f78793a2043616e2774207365742061646d696e20746f207a65726f20616464726573732ea2646970667358221220687d0738850e5aa90dec08be36fa0ada9c697aab51c9f0e17c0c1b3d3fab4d9c64736f6c634300060c0033575350726f78793a2043616e2774207365742061646d696e20746f207a65726f20616464726573732e5753466163746f72793a20636f6e74726f6c6c65722073686f756c64206e6f7420626f207a65726f20616464726573732e5753466163746f72793a205f666565546f5365747465722073686f756c64206e6f74206265207a65726f20616464726573732e5753466163746f72793a20466163746f72792077617320616c726561647920696e697469616c697a65642e5753466163746f72793a205061697220696e697469616c697a65206e6f7420737563636565642ea2646970667358221220d26fcec3f6f240486eb0b55b059482af8e70467838f53239f9cc7e759415907b64736f6c634300060c0033
Deployed ByteCode Sourcemap
15263:2838:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15353:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;15389:35;;;:::i;15543:34::-;;;;;;;;;;;;;;;;-1:-1:-1;15543:34:0;;:::i;17965:133::-;;;:::i;:::-;;;;;;;;;;;;;;;;15680:501;;;;;;;;;;;;;;;;-1:-1:-1;15680:501:0;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;16189:105;;;:::i;17783:174::-;;;;;;;;;;;;;;;;-1:-1:-1;17783:174:0;;;;:::i;:::-;;16302:1315;;;;;;;;;;;;;;;;-1:-1:-1;16302:1315:0;;;;;;;;;;;:::i;15465:71::-;;;;;;;;;;;;;;;;-1:-1:-1;15465:71:0;;;;;;;;;;;:::i;17625:150::-;;;;;;;;;;;;;;;;-1:-1:-1;17625:150:0;;;;:::i;15431:25::-;;;:::i;15353:29::-;;;;;;;;;:::o;15389:35::-;;;;;;:::o;15543:34::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15543:34:0;:::o;17965:133::-;18089:1;17965:133;:::o;15680:501::-;15758:4;15783:11;;;;:20;15775:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15870:25;;;15862:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15968:26;;;15960:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16061:11:0;:26;;;;;;;;;;;;;16098:10;:24;;;;;;;;;;;;16061:11;16133:18;;;;;;;;15680:501;;;;:::o;16189:105::-;16271:8;:15;16189:105;:::o;17783:174::-;17880:11;;;;17866:10;:25;17858:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17923:11;:26;;;;;;;;;;;;;;;17783:174::o;16302:1315::-;16381:12;16424:6;16414:16;;:6;:16;;;;16406:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16473:14;16489;16516:6;16507:15;;:6;:15;;;:53;;16545:6;16553;16507:53;;;16526:6;16534;16507:53;16472:88;;-1:-1:-1;16472:88:0;-1:-1:-1;16579:20:0;;;16571:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16642:37;:15;;;16677:1;16642:15;;;:7;:15;;;;;;;;:23;;;;;;;;;;;;:37;16634:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16743:21;16767:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;16743:54;;16808:12;16850:6;16858;16833:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16823:43;;;;;;16808:58;;16956:4;16945:8;16939:15;16934:2;16924:8;16920:17;16917:1;16909:52;16901:60;;17083:4;17074:25;;;17114:10;;;;;;;;;;;17100:41;;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17100:43:0;17159:10;;17145:43;;;;;;;;17159:10;;;;;17145:41;;:43;;;;;17100;;17145;;;;;;;;17159:10;17145:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17145:43:0;17074:119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17074:119:0;;;;;;;;;;;;;;;;;;-1:-1:-1;17074:119:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;17279:55:0;;;;;;17312:4;17279:55;;;;:24;:55;;;;;;;;;;;;;;;;:24;;;;-1:-1:-1;17279:24:0;;-1:-1:-1;17279:55:0;;;;;;;;;;;;;;;-1:-1:-1;17279:24:0;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17279:55:0;:63;;17338:4;17279:63;17271:115;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17397:15;;;;;;;;:7;:15;;;;;;;;:23;;;;;;;;;;;;:30;;;;;;;;;;;;;;17438:15;;;;;;:23;;;;;;;;:30;;;;;;;;17524:8;:19;;17397:30;17524:19;;;;;;;;;;;;;;;;;;;;;;17593:15;;17559:50;;;;;;;;;;;;;;;;;;;;;;16302:1315;;;;;;;;:::o;15465:71::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;17625:150::-;17710:11;;;;17696:10;:25;17688:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17753:5;:14;;;;;;;;;;;;;;;;;;17625:150::o;15431:25::-;;;;;;:::o;-1:-1:-1:-;;;;;;;;:::o
Swarm Source
ipfs://d26fcec3f6f240486eb0b55b059482af8e70467838f53239f9cc7e759415907b
Loading...
Loading
Loading...
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.
[ 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.