Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,591 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Unstake And With... | 12302483 | 1235 days ago | IN | 0 ETH | 0.00405698 | ||||
Unstake And With... | 12302426 | 1235 days ago | IN | 0 ETH | 0.00432302 | ||||
Unstake And With... | 12302395 | 1235 days ago | IN | 0 ETH | 0.00419 | ||||
Unstake And With... | 12302389 | 1235 days ago | IN | 0 ETH | 0.00419 | ||||
Unstake And With... | 12302383 | 1235 days ago | IN | 0 ETH | 0.00405698 | ||||
Unstake And With... | 12302379 | 1235 days ago | IN | 0 ETH | 0.00425651 | ||||
Unstake And With... | 12302369 | 1235 days ago | IN | 0 ETH | 0.00452254 | ||||
Unstake And With... | 12302366 | 1235 days ago | IN | 0 ETH | 0.00452254 | ||||
Unstake And With... | 12302362 | 1235 days ago | IN | 0 ETH | 0.00419 | ||||
Unstake And With... | 12302357 | 1235 days ago | IN | 0 ETH | 0.00478857 | ||||
Unstake And With... | 12302351 | 1235 days ago | IN | 0 ETH | 0.00478857 | ||||
Unstake And With... | 12302340 | 1235 days ago | IN | 0 ETH | 0.00412349 | ||||
Unstake And With... | 12302336 | 1235 days ago | IN | 0 ETH | 0.00399048 | ||||
Unstake And With... | 12302329 | 1235 days ago | IN | 0 ETH | 0.00399048 | ||||
Unstake And With... | 12215094 | 1248 days ago | IN | 0 ETH | 0.00526464 | ||||
Unstake And With... | 12215088 | 1248 days ago | IN | 0 ETH | 0.00526464 | ||||
Unstake And With... | 12215075 | 1248 days ago | IN | 0 ETH | 0.00533044 | ||||
Unstake And With... | 12215067 | 1248 days ago | IN | 0 ETH | 0.00519883 | ||||
Unstake And With... | 12215062 | 1248 days ago | IN | 0 ETH | 0.0050014 | ||||
Unstake And With... | 12215055 | 1248 days ago | IN | 0 ETH | 0.00506721 | ||||
Unstake And With... | 12215051 | 1248 days ago | IN | 0 ETH | 0.00506629 | ||||
Unstake And With... | 12215039 | 1248 days ago | IN | 0 ETH | 0.00533044 | ||||
Unstake And With... | 12215029 | 1248 days ago | IN | 0 ETH | 0.00526464 | ||||
Unstake And With... | 12215004 | 1248 days ago | IN | 0 ETH | 0.00479082 | ||||
Unstake And With... | 12214989 | 1248 days ago | IN | 0 ETH | 0.00480398 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
This contract contains unverified libraries: Hasher
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.
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x6f36A563...E015473C2 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
ERC20Tornado
Compiler Version
v0.5.17+commit.d19bba13
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// https://tornado.cash /* * d888888P dP a88888b. dP * 88 88 d8' `88 88 * 88 .d8888b. 88d888b. 88d888b. .d8888b. .d888b88 .d8888b. 88 .d8888b. .d8888b. 88d888b. * 88 88' `88 88' `88 88' `88 88' `88 88' `88 88' `88 88 88' `88 Y8ooooo. 88' `88 * 88 88. .88 88 88 88 88. .88 88. .88 88. .88 dP Y8. .88 88. .88 88 88 88 * dP `88888P' dP dP dP `88888P8 `88888P8 `88888P' 88 Y88888P' `88888P8 `88888P' dP dP * ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo */ pragma solidity 0.5.17; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "./Tornado.sol"; contract ERC20Tornado is Tornado { using SafeERC20 for IERC20; address public token; constructor( IVerifier _verifier, uint256 _denomination, uint32 _merkleTreeHeight, address _operator, address _governance, address _reserve, address _token ) Tornado(_verifier, _denomination, _merkleTreeHeight, _operator, _governance, _reserve) public { token = _token; } function _processDeposit() internal { require(msg.value == 0, "ETH value is supposed to be 0 for ERC20 instance"); _safeErc20TransferFrom(msg.sender, address(this), denomination); } function _processWithdraw(address payable _recipient, uint256 _withdraw_fee, address payable _relayer, uint256 _fee, uint256 _refund) internal { require(msg.value == _refund, "Incorrect refund amount received by the contract"); _safeErc20Transfer(reserve, _withdraw_fee); _safeErc20Transfer(_recipient, denomination - _withdraw_fee - _fee); if (_fee > 0) { _safeErc20Transfer(_relayer, _fee); } if (_refund > 0) { (bool success, ) = _recipient.call.value(_refund)(""); if (!success) { // let's return _refund back to the relayer _relayer.transfer(_refund); } } } function _safeErc20TransferFrom(address _from, address _to, uint256 _amount) internal { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd /* transferFrom */, _from, _to, _amount)); require(success, "not enough allowed tokens"); // if contract returns some data lets make sure that is `true` according to standard if (data.length > 0) { require(data.length == 32, "data length should be either 0 or 32 bytes"); success = abi.decode(data, (bool)); require(success, "not enough allowed tokens. Token returns false."); } } function _safeErc20Transfer(address _to, uint256 _amount) internal { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb /* transfer */, _to, _amount)); require(success, "not enough tokens"); // if contract returns some data lets make sure that is `true` according to standard if (data.length > 0) { require(data.length == 32, "data length should be either 0 or 32 bytes"); success = abi.decode(data, (bool)); require(success, "not enough tokens. Token returns false."); } } /** @dev seize accidental sent token */ function seize(IERC20 _token, uint amount) external onlyGovernance { require(address(_token) != token, "cannot be token"); _token.safeTransfer(governance, amount); } }
pragma solidity 0.5.17; import "@openzeppelin/contracts/math/SafeMath.sol"; library Counters { using SafeMath for uint256; struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { // The {SafeMath} overflow check can be skipped here, see the comment at the top counter._value += 1; } function decrement(Counter storage counter) internal { counter._value = counter._value.sub(1); } }
// https://tornado.cash /* * d888888P dP a88888b. dP * 88 88 d8' `88 88 * 88 .d8888b. 88d888b. 88d888b. .d8888b. .d888b88 .d8888b. 88 .d8888b. .d8888b. 88d888b. * 88 88' `88 88' `88 88' `88 88' `88 88' `88 88' `88 88 88' `88 Y8ooooo. 88' `88 * 88 88. .88 88 88 88 88. .88 88. .88 88. .88 dP Y8. .88 88. .88 88 88 88 * dP `88888P' dP dP dP `88888P8 `88888P8 `88888P' 88 Y88888P' `88888P8 `88888P' dP dP * ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo */ pragma solidity 0.5.17; library Hasher { function MiMCSponge(uint256 in_xL, uint256 in_xR) public pure returns (uint256 xL, uint256 xR); } contract MerkleTreeWithHistory { uint256 public constant FIELD_SIZE = 21888242871839275222246405745257275088548364400416034343698204186575808495617; uint256 public constant ZERO_VALUE = 21663839004416932945382355908790599225266501822907911457504978515578255421292; // = keccak256("tornado") % FIELD_SIZE uint32 public levels; // the following variables are made public for easier testing and debugging and // are not supposed to be accessed in regular code bytes32[] public filledSubtrees; bytes32[] public zeros; uint32 public currentRootIndex = 0; uint32 public nextIndex = 0; uint32 public constant ROOT_HISTORY_SIZE = 100; bytes32[ROOT_HISTORY_SIZE] public roots; constructor(uint32 _treeLevels) public { require(_treeLevels > 0, "_treeLevels should be greater than zero"); require(_treeLevels < 32, "_treeLevels should be less than 32"); levels = _treeLevels; bytes32 currentZero = bytes32(ZERO_VALUE); zeros.push(currentZero); filledSubtrees.push(currentZero); for (uint32 i = 1; i < levels; i++) { currentZero = hashLeftRight(currentZero, currentZero); zeros.push(currentZero); filledSubtrees.push(currentZero); } roots[0] = hashLeftRight(currentZero, currentZero); } /** @dev Hash 2 tree leaves, returns MiMC(_left, _right) */ function hashLeftRight(bytes32 _left, bytes32 _right) public pure returns (bytes32) { require(uint256(_left) < FIELD_SIZE, "_left should be inside the field"); require(uint256(_right) < FIELD_SIZE, "_right should be inside the field"); uint256 R = uint256(_left); uint256 C = 0; (R, C) = Hasher.MiMCSponge(R, C); R = addmod(R, uint256(_right), FIELD_SIZE); (R, C) = Hasher.MiMCSponge(R, C); return bytes32(R); } function _insert(bytes32 _leaf) internal returns(uint32 index) { uint32 currentIndex = nextIndex; require(currentIndex != uint32(2)**levels, "Merkle tree is full. No more leafs can be added"); nextIndex += 1; bytes32 currentLevelHash = _leaf; bytes32 left; bytes32 right; for (uint32 i = 0; i < levels; i++) { if (currentIndex % 2 == 0) { left = currentLevelHash; right = zeros[i]; filledSubtrees[i] = currentLevelHash; } else { left = filledSubtrees[i]; right = currentLevelHash; } currentLevelHash = hashLeftRight(left, right); currentIndex /= 2; } currentRootIndex = (currentRootIndex + 1) % ROOT_HISTORY_SIZE; roots[currentRootIndex] = currentLevelHash; return nextIndex - 1; } /** @dev Whether the root is present in the root history */ function isKnownRoot(bytes32 _root) public view returns(bool) { if (_root == 0) { return false; } uint32 i = currentRootIndex; do { if (_root == roots[i]) { return true; } if (i == 0) { i = ROOT_HISTORY_SIZE; } i--; } while (i != currentRootIndex); return false; } /** @dev Returns the last root */ function getLastRoot() public view returns(bytes32) { return roots[currentRootIndex]; } }
// https://tornado.cash /* * d888888P dP a88888b. dP * 88 88 d8' `88 88 * 88 .d8888b. 88d888b. 88d888b. .d8888b. .d888b88 .d8888b. 88 .d8888b. .d8888b. 88d888b. * 88 88' `88 88' `88 88' `88 88' `88 88' `88 88' `88 88 88' `88 Y8ooooo. 88' `88 * 88 88. .88 88 88 88 88. .88 88. .88 88. .88 dP Y8. .88 88. .88 88 88 88 * dP `88888P' dP dP dP `88888P8 `88888P8 `88888P' 88 Y88888P' `88888P8 `88888P' dP dP * ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo */ pragma solidity 0.5.17; import "./MerkleTreeWithHistory.sol"; import "./Counter.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; contract IVerifier { function verifyProof(bytes memory _proof, uint256[6] memory _input) public returns(bool); } interface IReward { function stake(bytes32 _nullifierHash) external; function withdraw(bytes32 _nullifierHash, address payable _recipient) external; } contract Tornado is MerkleTreeWithHistory, ReentrancyGuard { using SafeMath for uint256; using Counters for Counters.Counter; Counters.Counter private _stakedCounter; uint256 public denomination; mapping(bytes32 => bool) public nullifierHashes; // we store all commitments just to prevent accidental deposits with the same commitment mapping(bytes32 => bool) public commitments; IVerifier public verifier; IReward public rewarder; mapping(address => mapping(bytes32 => bool)) public stakedNullifierHashes; mapping(bytes32 => address) public stakedNullifierHashOwner; // reserve pool address address public reserve; // operator can update snark verification key // after the final trusted setup ceremony operator rights are supposed to be transferred to zero address address public operator; modifier onlyOperator { require(msg.sender == operator, "Only operator can call this function."); _; } address public governance; modifier onlyGovernance { require(msg.sender == governance, "Only governance can call this function."); _; } uint public withdrawalFee = 50; uint constant public withdrawalMax = 10000; event Deposit(bytes32 indexed commitment, uint32 leafIndex, uint256 timestamp); event Withdrawal(address to, bytes32 nullifierHash, address indexed relayer, uint256 fee); event StakedWithdrawal(address indexed recipient, bytes32 nullifierHash, uint256 timestamp); event UnstakedWithdrawal(address indexed recipient, bytes32 nullifierHash); /** @dev The constructor @param _verifier the address of SNARK verifier for this contract @param _denomination transfer amount for each deposit @param _merkleTreeHeight the height of deposits' Merkle Tree @param _operator operator address (see operator comment above) */ constructor( IVerifier _verifier, uint256 _denomination, uint32 _merkleTreeHeight, address _operator, address _governance, address _reserve ) MerkleTreeWithHistory(_merkleTreeHeight) public { require(_denomination > 0, "denomination should be greater than 0"); verifier = _verifier; operator = _operator; governance = _governance; denomination = _denomination; reserve = _reserve; } /** @dev Deposit funds into the contract. The caller must send (for ETH) or approve (for ERC20) value equal to or `denomination` of this instance. @param _commitment the note commitment, which is PedersenHash(nullifier + secret) */ function deposit(bytes32 _commitment) external payable nonReentrant { require(!commitments[_commitment], "The commitment has been submitted"); uint32 insertedIndex = _insert(_commitment); commitments[_commitment] = true; _processDeposit(); emit Deposit(_commitment, insertedIndex, block.timestamp); } /** @dev this function is defined in a child contract */ function _processDeposit() internal; /** @dev Withdraw a deposit from the contract. `proof` is a zkSNARK proof data, and input is an array of circuit public inputs `input` array consists of: - merkle root of all deposits in the contract - hash of unique deposit nullifier to prevent double spends - the recipient of funds - optional fee that goes to the transaction sender (usually a relay) */ function withdraw(bytes calldata _proof, bytes32 _root, bytes32 _nullifierHash, address payable _recipient, address payable _relayer, uint256 _fee, uint256 _refund) external payable nonReentrant { uint256 _withdraw_fee = denomination.mul(withdrawalFee).div(withdrawalMax); require(_withdraw_fee + _fee <= denomination, "Fee exceeds transfer value"); require(!nullifierHashes[_nullifierHash], "The note has been already spent"); require(isKnownRoot(_root), "Cannot find your merkle root"); // Make sure to use a recent one require(verifier.verifyProof(_proof, [uint256(_root), uint256(_nullifierHash), uint256(_recipient), uint256(_relayer), _fee, _refund]), "Invalid withdraw proof"); nullifierHashes[_nullifierHash] = true; _processWithdraw(_recipient, _withdraw_fee, _relayer, _fee, _refund); emit Withdrawal(_recipient, _nullifierHash, _relayer, _fee); } function stakeWithdraw(bytes calldata _proof, bytes32 _root, bytes32 _nullifierHash, address payable _recipient) external payable nonReentrant { uint256 _withdraw_fee = denomination.mul(withdrawalFee).div(withdrawalMax); require(_withdraw_fee <= denomination, "Fee exceeds transfer value"); require(!nullifierHashes[_nullifierHash], "The note has been already spent"); require(isKnownRoot(_root), "Cannot find your merkle root"); // Make sure to use a recent one require(verifier.verifyProof(_proof, [uint256(_root), uint256(_nullifierHash), uint256(_recipient), uint256(address(0)), 0, 0]), "Invalid withdraw proof"); nullifierHashes[_nullifierHash] = true; rewarder.stake(_nullifierHash); stakedNullifierHashOwner[_nullifierHash] = _recipient; stakedNullifierHashes[_recipient][_nullifierHash] = true; _stakedCounter.increment(); emit StakedWithdrawal(_recipient, _nullifierHash, block.timestamp); } function unstakeAndWithdraw(bytes32 _nullifierHash) external payable nonReentrant { require(stakedNullifierHashes[msg.sender][_nullifierHash]); uint256 _withdraw_fee = denomination.mul(withdrawalFee).div(withdrawalMax); require(_withdraw_fee <= denomination, "Fee exceeds transfer value"); _processWithdraw(msg.sender, _withdraw_fee, address(0), 0, 0); emit Withdrawal(msg.sender, _nullifierHash, address(0), 0); rewarder.withdraw(_nullifierHash, msg.sender); stakedNullifierHashes[msg.sender][_nullifierHash] = false; _stakedCounter.decrement(); emit UnstakedWithdrawal(msg.sender, _nullifierHash); } /** @dev this function is defined in a child contract */ function _processWithdraw(address payable _recipient, uint256 _withdraw_fee, address payable _relayer, uint256 _fee, uint256 _refund) internal; /** @dev whether a note is already spent */ function isSpent(bytes32 _nullifierHash) public view returns(bool) { return nullifierHashes[_nullifierHash]; } /** @dev whether an array of notes is already spent */ function isSpentArray(bytes32[] calldata _nullifierHashes) external view returns(bool[] memory spent) { spent = new bool[](_nullifierHashes.length); for(uint i = 0; i < _nullifierHashes.length; i++) { if (isSpent(_nullifierHashes[i])) { spent[i] = true; } } } /** @dev allow operator to update SNARK verification keys. This is needed to update keys after the final trusted setup ceremony is held. After that operator rights are supposed to be transferred to zero address */ function updateVerifier(address _newVerifier) external onlyOperator { verifier = IVerifier(_newVerifier); } function updateRewarder(address _newRewarder) external onlyOperator { rewarder = IReward(_newRewarder); } /** @dev operator can change his address */ function changeOperator(address _newOperator) external onlyOperator { operator = _newOperator; } /** @dev get current staked count */ function getStakedCount() public view returns (uint256) { return _stakedCounter.current(); } /** @dev set governance address */ function setGovernance(address _governance) external onlyGovernance { governance = _governance; } /** @dev set withdraw fee */ function setWithdrawalFee(uint _withdrawalFee) external onlyGovernance { withdrawalFee = _withdrawalFee; } function setReserveAddress(address _newReserve) external onlyGovernance { reserve = _newReserve; } }
pragma solidity ^0.5.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. * * _Available since v2.4.0._ */ 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. * * _Available since v2.4.0._ */ 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. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
pragma solidity ^0.5.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ 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); }
pragma solidity ^0.5.0; import "./IERC20.sol"; import "../../math/SafeMath.sol"; import "../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for 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"); } } }
pragma solidity ^0.5.5; /** * @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 Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } /** * @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]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } }
pragma solidity ^0.5.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]. * * _Since v2.5.0:_ this module is now much more gas efficient, given net gas * metering changes introduced in the Istanbul hardfork. */ contract ReentrancyGuard { bool private _notEntered; constructor () internal { // Storing an initial 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 percetange 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. _notEntered = true; } /** * @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 make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_notEntered, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _notEntered = false; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _notEntered = true; } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "istanbul", "libraries": { "/Users/jack/Desktop/program/typhoon-finance-contracts/contracts/Hasher.sol": { "Hasher": "0xc4eb4781436362600eDee633Ac656D649109eCBf" } }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IVerifier","name":"_verifier","type":"address"},{"internalType":"uint256","name":"_denomination","type":"uint256"},{"internalType":"uint32","name":"_merkleTreeHeight","type":"uint32"},{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"_governance","type":"address"},{"internalType":"address","name":"_reserve","type":"address"},{"internalType":"address","name":"_token","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"commitment","type":"bytes32"},{"indexed":false,"internalType":"uint32","name":"leafIndex","type":"uint32"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"bytes32","name":"nullifierHash","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"StakedWithdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"bytes32","name":"nullifierHash","type":"bytes32"}],"name":"UnstakedWithdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"bytes32","name":"nullifierHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"relayer","type":"address"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Withdrawal","type":"event"},{"constant":true,"inputs":[],"name":"FIELD_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ROOT_HISTORY_SIZE","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ZERO_VALUE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_newOperator","type":"address"}],"name":"changeOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"commitments","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"currentRootIndex","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"denomination","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"_commitment","type":"bytes32"}],"name":"deposit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"filledSubtrees","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getLastRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getStakedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"_left","type":"bytes32"},{"internalType":"bytes32","name":"_right","type":"bytes32"}],"name":"hashLeftRight","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"isKnownRoot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"_nullifierHash","type":"bytes32"}],"name":"isSpent","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32[]","name":"_nullifierHashes","type":"bytes32[]"}],"name":"isSpentArray","outputs":[{"internalType":"bool[]","name":"spent","type":"bool[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"levels","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"nextIndex","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"nullifierHashes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"reserve","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewarder","outputs":[{"internalType":"contract IReward","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"roots","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"seize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_newReserve","type":"address"}],"name":"setReserveAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_withdrawalFee","type":"uint256"}],"name":"setWithdrawalFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"_proof","type":"bytes"},{"internalType":"bytes32","name":"_root","type":"bytes32"},{"internalType":"bytes32","name":"_nullifierHash","type":"bytes32"},{"internalType":"address payable","name":"_recipient","type":"address"}],"name":"stakeWithdraw","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"stakedNullifierHashOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"stakedNullifierHashes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"_nullifierHash","type":"bytes32"}],"name":"unstakeAndWithdraw","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_newRewarder","type":"address"}],"name":"updateRewarder","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_newVerifier","type":"address"}],"name":"updateVerifier","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"verifier","outputs":[{"internalType":"contract IVerifier","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"_proof","type":"bytes"},{"internalType":"bytes32","name":"_root","type":"bytes32"},{"internalType":"bytes32","name":"_nullifierHash","type":"bytes32"},{"internalType":"address payable","name":"_recipient","type":"address"},{"internalType":"address payable","name":"_relayer","type":"address"},{"internalType":"uint256","name":"_fee","type":"uint256"},{"internalType":"uint256","name":"_refund","type":"uint256"}],"name":"withdraw","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"withdrawalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"withdrawalMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"zeros","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"}]
Deployed Bytecode
0x6080604052600436106102305760003560e01c806397d147141161012e578063cd87a3b4116100ab578063eb9253c01161006f578063eb9253c014610d55578063ec73295914610db0578063f178e47c14610ddb578063fc0c546a14610e2a578063fc7e9c6f14610e8157610230565b8063cd87a3b414610bfa578063d5c1ff7314610c31578063dcc3e06e14610c5c578063e5285dcc14610cb3578063e829558814610d0657610230565b8063b214faa5116100f2578063b214faa514610a88578063ba70f75714610ab6578063bdd016f814610ae1578063c2b40ae414610b54578063cd3293de14610ba357610230565b806397d147141461087f57806397fc007c146108d05780639fa12d0b14610921578063ab033ea9146109fc578063ac1e502514610a4d57610230565b8063414a37ba116101bc578063839df94511610180578063839df9451461077457806386d17082146107c75780638bc7e8c4146107f25780638bca6d161461081d57806390eeb02b1461084857610230565b8063414a37ba146106115780634ecf518b1461063c578063570ca735146106735780635aa6e675146106ca5780636d9833e31461072157610230565b806318948ab01161020357806318948ab0146103d757806321a0adb6146104525780632b7ac3f314610533578063305154fd1461058a57806338bf282e146105b857610230565b806306394c9b1461023557806314673d311461028657806316a80711146102d757806317cc915c14610384575b600080fd5b34801561024157600080fd5b506102846004803603602081101561025857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610eb8565b005b34801561029257600080fd5b506102d5600480360360208110156102a957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fa2565b005b610382600480360360808110156102ed57600080fd5b810190808035906020019064010000000081111561030a57600080fd5b82018360208201111561031c57600080fd5b8035906020019184600183028401116401000000008311171561033e57600080fd5b90919293919293908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061108c565b005b34801561039057600080fd5b506103bd600480360360208110156103a757600080fd5b81019080803590602001909291905050506116b5565b604051808215151515815260200191505060405180910390f35b3480156103e357600080fd5b50610410600480360360208110156103fa57600080fd5b81019080803590602001909291905050506116d5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610531600480360360e081101561046857600080fd5b810190808035906020019064010000000081111561048557600080fd5b82018360208201111561049757600080fd5b803590602001918460018302840111640100000000831117156104b957600080fd5b90919293919293908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190505050611708565b005b34801561053f57600080fd5b50610548611c22565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105b6600480360360208110156105a057600080fd5b8101908080359060200190929190505050611c48565b005b3480156105c457600080fd5b506105fb600480360360408110156105db57600080fd5b81019080803590602001909291908035906020019092919050505061202f565b6040518082815260200191505060405180910390f35b34801561061d57600080fd5b506106266122d5565b6040518082815260200191505060405180910390f35b34801561064857600080fd5b506106516122f9565b604051808263ffffffff1663ffffffff16815260200191505060405180910390f35b34801561067f57600080fd5b5061068861230e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156106d657600080fd5b506106df612334565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561072d57600080fd5b5061075a6004803603602081101561074457600080fd5b810190808035906020019092919050505061235a565b604051808215151515815260200191505060405180910390f35b34801561078057600080fd5b506107ad6004803603602081101561079757600080fd5b81019080803590602001909291905050506123fc565b604051808215151515815260200191505060405180910390f35b3480156107d357600080fd5b506107dc61241c565b6040518082815260200191505060405180910390f35b3480156107fe57600080fd5b5061080761242d565b6040518082815260200191505060405180910390f35b34801561082957600080fd5b50610832612433565b6040518082815260200191505060405180910390f35b34801561085457600080fd5b5061085d612439565b604051808263ffffffff1663ffffffff16815260200191505060405180910390f35b34801561088b57600080fd5b506108ce600480360360208110156108a257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061244f565b005b3480156108dc57600080fd5b5061091f600480360360208110156108f357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612539565b005b34801561092d57600080fd5b506109a56004803603602081101561094457600080fd5b810190808035906020019064010000000081111561096157600080fd5b82018360208201111561097357600080fd5b8035906020019184602083028401116401000000008311171561099557600080fd5b9091929391929390505050612623565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156109e85780820151818401526020810190506109cd565b505050509050019250505060405180910390f35b348015610a0857600080fd5b50610a4b60048036036020811015610a1f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506126c0565b005b348015610a5957600080fd5b50610a8660048036036020811015610a7057600080fd5b81019080803590602001909291905050506127aa565b005b610ab460048036036020811015610a9e57600080fd5b810190808035906020019092919050505061285a565b005b348015610ac257600080fd5b50610acb612a1a565b6040518082815260200191505060405180910390f35b348015610aed57600080fd5b50610b3a60048036036040811015610b0457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612a48565b604051808215151515815260200191505060405180910390f35b348015610b6057600080fd5b50610b8d60048036036020811015610b7757600080fd5b8101908080359060200190929190505050612a77565b6040518082815260200191505060405180910390f35b348015610baf57600080fd5b50610bb8612a8f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610c0657600080fd5b50610c0f612ab5565b604051808263ffffffff1663ffffffff16815260200191505060405180910390f35b348015610c3d57600080fd5b50610c46612aba565b6040518082815260200191505060405180910390f35b348015610c6857600080fd5b50610c71612ac0565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610cbf57600080fd5b50610cec60048036036020811015610cd657600080fd5b8101908080359060200190929190505050612ae6565b604051808215151515815260200191505060405180910390f35b348015610d1257600080fd5b50610d3f60048036036020811015610d2957600080fd5b8101908080359060200190929190505050612b10565b6040518082815260200191505060405180910390f35b348015610d6157600080fd5b50610dae60048036036040811015610d7857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612b31565b005b348015610dbc57600080fd5b50610dc5612cec565b6040518082815260200191505060405180910390f35b348015610de757600080fd5b50610e1460048036036020811015610dfe57600080fd5b8101908080359060200190929190505050612d10565b6040518082815260200191505060405180910390f35b348015610e3657600080fd5b50610e3f612d31565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610e8d57600080fd5b50610e96612d57565b604051808263ffffffff1663ffffffff16815260200191505060405180910390f35b607260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613f446025913960400191505060405180910390fd5b80607260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b607360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611048576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180613f696027913960400191505060405180910390fd5b80607160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606860009054906101000a900460ff1661110e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6000606860006101000a81548160ff0219169083151502179055506000611156612710611148607454606a54612d6d90919063ffffffff16565b612df390919063ffffffff16565b9050606a548111156111d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f4665652065786365656473207472616e736665722076616c756500000000000081525060200191505060405180910390fd5b606b600084815260200190815260200160002060009054906101000a900460ff1615611264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f546865206e6f746520686173206265656e20616c7265616479207370656e740081525060200191505060405180910390fd5b61126d8461235a565b6112df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f43616e6e6f742066696e6420796f7572206d65726b6c6520726f6f740000000081525060200191505060405180910390fd5b606d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663695ef6f987876040518060c001604052808960001c81526020018860001c81526020018773ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152506040518463ffffffff1660e01b8152600401808060200183600660200280838360005b838110156113bf5780820151818401526020810190506113a4565b505050509050018281038252858582818152602001925080828437600081840152601f19601f820116905080830192505050945050505050602060405180830381600087803b15801561141157600080fd5b505af1158015611425573d6000803e3d6000fd5b505050506040513d602081101561143b57600080fd5b81019080805190602001909291905050506114be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f496e76616c69642077697468647261772070726f6f660000000000000000000081525060200191505060405180910390fd5b6001606b600085815260200190815260200160002060006101000a81548160ff021916908315150217905550606e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c0d64a87846040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561155f57600080fd5b505af1158015611573573d6000803e3d6000fd5b50505050816070600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001606f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060006101000a81548160ff02191690831515021790555061163c6069612e3d565b8173ffffffffffffffffffffffffffffffffffffffff167f71ec99cf8957eb0a020131dc9be47872d6c5c41064a8b51f5dd9e06ce3f7e5478442604051808381526020018281526020019250505060405180910390a2506001606860006101000a81548160ff0219169083151502179055505050505050565b606b6020528060005260406000206000915054906101000a900460ff1681565b60706020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606860009054906101000a900460ff1661178a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6000606860006101000a81548160ff02191690831515021790555060006117d26127106117c4607454606a54612d6d90919063ffffffff16565b612df390919063ffffffff16565b9050606a54838201111561184e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f4665652065786365656473207472616e736665722076616c756500000000000081525060200191505060405180910390fd5b606b600087815260200190815260200160002060009054906101000a900460ff16156118e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f546865206e6f746520686173206265656e20616c7265616479207370656e740081525060200191505060405180910390fd5b6118eb8761235a565b61195d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f43616e6e6f742066696e6420796f7572206d65726b6c6520726f6f740000000081525060200191505060405180910390fd5b606d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663695ef6f98a8a6040518060c001604052808c60001c81526020018b60001c81526020018a73ffffffffffffffffffffffffffffffffffffffff1681526020018973ffffffffffffffffffffffffffffffffffffffff168152602001888152602001878152506040518463ffffffff1660e01b8152600401808060200183600660200280838360005b83811015611a3a578082015181840152602081019050611a1f565b505050509050018281038252858582818152602001925080828437600081840152601f19601f820116905080830192505050945050505050602060405180830381600087803b158015611a8c57600080fd5b505af1158015611aa0573d6000803e3d6000fd5b505050506040513d6020811015611ab657600080fd5b8101908080519060200190929190505050611b39576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f496e76616c69642077697468647261772070726f6f660000000000000000000081525060200191505060405180910390fd5b6001606b600088815260200190815260200160002060006101000a81548160ff021916908315150217905550611b728582868686612e53565b8373ffffffffffffffffffffffffffffffffffffffff167fe9e508bad6d4c3227e881ca19068f099da81b5164dd6d62b2eaf1e8bc6c34931868886604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390a2506001606860006101000a81548160ff0219169083151502179055505050505050505050565b606d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606860009054906101000a900460ff16611cca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6000606860006101000a81548160ff021916908315150217905550606f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff16611d4c57600080fd5b6000611d79612710611d6b607454606a54612d6d90919063ffffffff16565b612df390919063ffffffff16565b9050606a54811115611df3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f4665652065786365656473207472616e736665722076616c756500000000000081525060200191505060405180910390fd5b611e0233826000806000612e53565b600073ffffffffffffffffffffffffffffffffffffffff167fe9e508bad6d4c3227e881ca19068f099da81b5164dd6d62b2eaf1e8bc6c3493133846000604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390a2606e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631b258d5083336040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200192505050600060405180830381600087803b158015611f3757600080fd5b505af1158015611f4b573d6000803e3d6000fd5b505050506000606f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060006101000a81548160ff021916908315150217905550611fc26069612fc3565b3373ffffffffffffffffffffffffffffffffffffffff167fa79727a9a6120b523496126ad516aa81a5ec0e8b61d310b155fdb53bc0388973836040518082815260200191505060405180910390a2506001606860006101000a81548160ff02191690831515021790555050565b60007f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000018360001c106120c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5f6c6566742073686f756c6420626520696e7369646520746865206669656c6481525060200191505060405180910390fd5b7f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000018260001c10612144576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613e586021913960400191505060405180910390fd5b60008360001c9050600080905073c4eb4781436362600edee633ac656d649109ecbf63f47d33b583836040518363ffffffff1660e01b81526004018083815260200182815260200192505050604080518083038186803b1580156121a757600080fd5b505af41580156121bb573d6000803e3d6000fd5b505050506040513d60408110156121d157600080fd5b81019080805190602001909291908051906020019092919050505080925081935050507f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000018061221c57fe5b8460001c8308915073c4eb4781436362600edee633ac656d649109ecbf63f47d33b583836040518363ffffffff1660e01b81526004018083815260200182815260200192505050604080518083038186803b15801561227a57600080fd5b505af415801561228e573d6000803e3d6000fd5b505050506040513d60408110156122a457600080fd5b81019080805190602001909291908051906020019092919050505080925081935050508160001b9250505092915050565b7f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000181565b6000809054906101000a900463ffffffff1681565b607260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b607360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060001b82141561237057600090506123f7565b6000600360009054906101000a900463ffffffff1690505b60048163ffffffff166064811061239b57fe5b01548314156123ae5760019150506123f7565b60008163ffffffff1614156123c257606490505b808060019003915050600360009054906101000a900463ffffffff1663ffffffff168163ffffffff1614156123885760009150505b919050565b606c6020528060005260406000206000915054906101000a900460ff1681565b60006124286069612fe6565b905090565b60745481565b606a5481565b600360009054906101000a900463ffffffff1681565b607260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146124f5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613f446025913960400191505060405180910390fd5b80606e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b607260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146125df576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613f446025913960400191505060405180910390fd5b80606d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060828290506040519080825280602002602001820160405280156126575781602001602082028038833980820191505090505b50905060008090505b838390508110156126b95761268684848381811061267a57fe5b90506020020135612ae6565b156126ac57600182828151811061269957fe5b6020026020010190151590811515815250505b8080600101915050612660565b5092915050565b607360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612766576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180613f696027913960400191505060405180910390fd5b80607360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b607360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612850576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180613f696027913960400191505060405180910390fd5b8060748190555050565b606860009054906101000a900460ff166128dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6000606860006101000a81548160ff021916908315150217905550606c600082815260200190815260200160002060009054906101000a900460ff161561296e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613ec96021913960400191505060405180910390fd5b600061297982612ff4565b90506001606c600084815260200190815260200160002060006101000a81548160ff0219169083151502179055506129af61324d565b817fa945e51eec50ab98c161376f0db4cf2aeba3ec92755fe2fcd388bdbbb80ff1968242604051808363ffffffff1663ffffffff1681526020018281526020019250505060405180910390a2506001606860006101000a81548160ff02191690831515021790555050565b60006004600360009054906101000a900463ffffffff1663ffffffff1660648110612a4157fe5b0154905090565b606f6020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b60048160648110612a8457fe5b016000915090505481565b607160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606481565b61271081565b606e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000606b600083815260200190815260200160002060009054906101000a900460ff169050919050565b60028181548110612b1d57fe5b906000526020600020016000915090505481565b607360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612bd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180613f696027913960400191505060405180910390fd5b607560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c9b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f63616e6e6f7420626520746f6b656e000000000000000000000000000000000081525060200191505060405180910390fd5b612ce8607360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828473ffffffffffffffffffffffffffffffffffffffff166132b59092919063ffffffff16565b5050565b7f2fe54c60d3acabf3343a35b6eba15db4821b340f76e741e2249685ed4899af6c81565b60018181548110612d1d57fe5b906000526020600020016000915090505481565b607560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360049054906101000a900463ffffffff1681565b600080831415612d805760009050612ded565b6000828402905082848281612d9157fe5b0414612de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613ea86021913960400191505060405180910390fd5b809150505b92915050565b6000612e3583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613386565b905092915050565b6001816000016000828254019250508190555050565b803414612eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180613e016030913960400191505060405180910390fd5b612ed7607160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168561344c565b612ee7858386606a54030361344c565b6000821115612efb57612efa838361344c565b5b6000811115612fbc5760008573ffffffffffffffffffffffffffffffffffffffff168260405180600001905060006040518083038185875af1925050503d8060008114612f64576040519150601f19603f3d011682016040523d82523d6000602084013e612f69565b606091505b5050905080612fba578373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015612fb8573d6000803e3d6000fd5b505b505b5050505050565b612fdb6001826000015461370f90919063ffffffff16565b816000018190555050565b600081600001549050919050565b600080600360049054906101000a900463ffffffff1690506000809054906101000a900463ffffffff1663ffffffff16600263ffffffff160a63ffffffff168163ffffffff161415613091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613da8602f913960400191505060405180910390fd5b6001600360048282829054906101000a900463ffffffff160192506101000a81548163ffffffff021916908363ffffffff160217905550600083905060008060008090505b6000809054906101000a900463ffffffff1663ffffffff168163ffffffff1610156131b457600060028663ffffffff168161310d57fe5b0663ffffffff1614156131645783925060028163ffffffff168154811061313057fe5b906000526020600020015491508360018263ffffffff168154811061315157fe5b9060005260206000200181905550613188565b60018163ffffffff168154811061317757fe5b906000526020600020015492508391505b613192838361202f565b935060028563ffffffff16816131a457fe5b04945080806001019150506130d6565b50606463ffffffff166001600360009054906101000a900463ffffffff160163ffffffff16816131e057fe5b06600360006101000a81548163ffffffff021916908363ffffffff160217905550826004600360009054906101000a900463ffffffff1663ffffffff166064811061322757fe5b01819055506001600360049054906101000a900463ffffffff1603945050505050919050565b600034146132a6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180613eea6030913960400191505060405180910390fd5b6132b33330606a54613759565b565b613381838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613a51565b505050565b60008083118290613432576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156133f75780820151818401526020810190506133dc565b50505050905090810190601f1680156134245780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161343e57fe5b049050809150509392505050565b60006060607560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001925050506040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b602083106135475780518252602082019150602081019050602083039250613524565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146135a9576040519150601f19603f3d011682016040523d82523d6000602084013e6135ae565b606091505b509150915081613626576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f6e6f7420656e6f75676820746f6b656e7300000000000000000000000000000081525060200191505060405180910390fd5b60008151111561370957602081511461368a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613dd7602a913960400191505060405180910390fd5b80806020019051602081101561369f57600080fd5b8101908080519060200190929190505050915081613708576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180613e316027913960400191505060405180910390fd5b5b50505050565b600061375183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613c9c565b905092915050565b60006060607560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200193505050506040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b602083106138885780518252602082019150602081019050602083039250613865565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146138ea576040519150601f19603f3d011682016040523d82523d6000602084013e6138ef565b606091505b509150915081613967576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f6e6f7420656e6f75676820616c6c6f77656420746f6b656e730000000000000081525060200191505060405180910390fd5b600081511115613a4a5760208151146139cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613dd7602a913960400191505060405180910390fd5b8080602001905160208110156139e057600080fd5b8101908080519060200190929190505050915081613a49576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613e79602f913960400191505060405180910390fd5b5b5050505050565b613a708273ffffffffffffffffffffffffffffffffffffffff16613d5c565b613ae2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b60208310613b315780518252602082019150602081019050602083039250613b0e565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613b93576040519150601f19603f3d011682016040523d82523d6000602084013e613b98565b606091505b509150915081613c10576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b600081511115613c9657808060200190516020811015613c2f57600080fd5b8101908080519060200190929190505050613c95576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613f1a602a913960400191505060405180910390fd5b5b50505050565b6000838311158290613d49576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613d0e578082015181840152602081019050613cf3565b50505050905090810190601f168015613d3b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f9150808214158015613d9e57506000801b8214155b9250505091905056fe4d65726b6c6520747265652069732066756c6c2e204e6f206d6f7265206c656166732063616e20626520616464656464617461206c656e6774682073686f756c64206265206569746865722030206f72203332206279746573496e636f727265637420726566756e6420616d6f756e742072656365697665642062792074686520636f6e74726163746e6f7420656e6f75676820746f6b656e732e20546f6b656e2072657475726e732066616c73652e5f72696768742073686f756c6420626520696e7369646520746865206669656c646e6f7420656e6f75676820616c6c6f77656420746f6b656e732e20546f6b656e2072657475726e732066616c73652e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7754686520636f6d6d69746d656e7420686173206265656e207375626d69747465644554482076616c756520697320737570706f73656420746f206265203020666f7220455243323020696e7374616e63655361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565644f6e6c79206f70657261746f722063616e2063616c6c20746869732066756e6374696f6e2e4f6e6c7920676f7665726e616e63652063616e2063616c6c20746869732066756e6374696f6e2ea265627a7a723158202f38989d0247264ad3424b2c167a7185bd68290b6073875c4b02264b777add2064736f6c63430005110032
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.