Contract Overview
Balance:
0 MATIC
MATIC Value:
$0.00
My Name Tag:
Not Available, login to update
Txn Hash |
Method
|
Block
|
From
|
To
|
Value | [Txn Fee] | |||
---|---|---|---|---|---|---|---|---|---|
0xf92d3a31a007bbec221c7ccd911d33270627655dd93fe18e920eb2767a30b508 | 0x60806040 | 21971905 | 480 days 10 hrs ago | 0xc415b9ac56c2587c4f9cb40a85ec448b74f4efc1 | IN | Create: FxBridgeLogic | 0 MATIC | 0.09068748 |
[ Download CSV Export ]
Contract Name:
FxBridgeLogic
Compiler Version
v0.6.6+commit.6c089d02
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma experimental ABIEncoderV2; pragma solidity ^0.6.6; import "./interfaces/SafeMathUpgradeable.sol"; import "./interfaces/IBEP20MetadataUpgradeable.sol"; import "./interfaces/SafeBEP20Upgradeable.sol"; import "./interfaces/AddressUpgradeable.sol"; import "./interfaces/ReentrancyGuardUpgradeable.sol"; import "./interfaces/OwnableUpgradeable.sol"; import "./interfaces/PausableUpgradeable.sol"; contract FxBridgeLogic is ReentrancyGuardUpgradeable, OwnableUpgradeable, PausableUpgradeable { using SafeMathUpgradeable for uint256; using SafeBEP20Upgradeable for IBEP20MetadataUpgradeable; using AddressUpgradeable for address; bytes32 public state_fxBridgeId; uint256 public state_powerThreshold; uint256 public state_lastEventNonce; bytes32 public state_lastOracleSetCheckpoint; uint256 public state_lastOracleSetNonce; mapping(address => uint256) public state_lastBatchNonces; address[] public bridgeTokens; mapping(address => TokenStatus) public tokenStatus; struct TokenStatus { bool isOriginated; bool isActive; bool isExist; } struct TransferInfo { uint256 amount; address destination; uint256 fee; address exchange; uint256 minExchange; } struct BridgeToken { address addr; string name; string symbol; uint8 decimals; } /* =============== INIT =============== */ function init(bytes32 _fxBridgeId, uint256 _powerThreshold, address[] memory _oracles, uint256[] memory _powers) public initializer { __Pausable_init(); __Ownable_init(); __ReentrancyGuard_init(); require(_oracles.length == _powers.length, "Malformed current oracle set"); uint256 cumulativePower = 0; for (uint256 i = 0; i < _powers.length; i++) { cumulativePower = cumulativePower + _powers[i]; if (cumulativePower > _powerThreshold) { break; } } require(cumulativePower > _powerThreshold, "Submitted oracle set signatures do not have enough power."); bytes32 newCheckpoint = makeCheckpoint(_oracles, _powers, 0, _fxBridgeId); state_fxBridgeId = _fxBridgeId; state_powerThreshold = _powerThreshold; state_lastOracleSetCheckpoint = newCheckpoint; state_lastOracleSetNonce = 0; state_lastEventNonce = 1; emit OracleSetUpdatedEvent(state_lastOracleSetNonce, state_lastEventNonce, _oracles, _powers); } /* =============== MUTATIVE FUNCTIONS =============== */ function addBridgeToken(address _tokenAddr, bytes32 _channelIBC, bool _isOriginated) public onlyOwner returns (bool) { require(_tokenAddr != address(0), "Invalid token address" ); require(tokenStatus[_tokenAddr].isExist == false, "Bridge token already exists"); _handlerAddBridgeToken(_tokenAddr, TokenStatus(_isOriginated, true, true)); emit AddBridgeTokenEvent(_tokenAddr, IBEP20MetadataUpgradeable(_tokenAddr).name(), IBEP20MetadataUpgradeable(_tokenAddr).symbol(), IBEP20MetadataUpgradeable(_tokenAddr).decimals(), state_lastEventNonce, _channelIBC); return true; } function _handlerAddBridgeToken(address _tokenAddr, TokenStatus memory _tokenStatus) internal { bridgeTokens.push(_tokenAddr); tokenStatus[_tokenAddr] = _tokenStatus; state_lastEventNonce = state_lastEventNonce.add(1); } function pauseBridgeToken(address _tokenAddr) public onlyOwner returns (bool) { require(tokenStatus[_tokenAddr].isExist == true, "Bridge token doesn't exists"); require(tokenStatus[_tokenAddr].isActive == true, "Bridge token already paused"); tokenStatus[_tokenAddr].isActive = false; return true; } function activeBridgeToken(address _tokenAddr) public onlyOwner returns (bool) { require(tokenStatus[_tokenAddr].isExist == true, "Bridge token doesn't exists"); require(tokenStatus[_tokenAddr].isActive == false, "Bridge token already actived"); tokenStatus[_tokenAddr].isActive = true; return true; } function updateOracleSet(address[] memory _newOracles, uint256[] memory _newPowers, uint256 _newOracleSetNonce, address[] memory _currentOracles, uint256[] memory _currentPowers, uint256 _currentOracleSetNonce, uint8[] memory _v, bytes32[] memory _r, bytes32[] memory _s ) public { require(_newOracleSetNonce > _currentOracleSetNonce, "New oracle set nonce must be greater than the current nonce"); require(_newOracles.length == _newPowers.length, "Malformed new oracle set"); require( _currentOracles.length == _currentPowers.length && _currentOracles.length == _v.length && _currentOracles.length == _r.length && _currentOracles.length == _s.length, "Malformed current oracle set" ); require( makeCheckpoint(_currentOracles, _currentPowers, _currentOracleSetNonce, state_fxBridgeId) == state_lastOracleSetCheckpoint, "Supplied current oracles and powers do not match checkpoint." ); bytes32 newCheckpoint = makeCheckpoint(_newOracles, _newPowers, _newOracleSetNonce, state_fxBridgeId); checkOracleSignatures(_currentOracles, _currentPowers, _v, _r, _s, newCheckpoint, state_powerThreshold); state_lastOracleSetCheckpoint = newCheckpoint; state_lastOracleSetNonce = _newOracleSetNonce; state_lastEventNonce = state_lastEventNonce.add(1); emit OracleSetUpdatedEvent(_newOracleSetNonce, state_lastEventNonce, _newOracles, _newPowers); } function sendToFx(address _tokenContract, bytes32 _destination, bytes32 _targetIBC, uint256 _amount) public payable nonReentrant whenNotPaused { require( _amount > 0, "amount should be greater than zero "); TokenStatus memory _tokenStatus = tokenStatus[_tokenContract]; require(_tokenStatus.isExist, "Unsupported token address"); require(_tokenStatus.isActive, "token was paused"); IBEP20MetadataUpgradeable(_tokenContract).safeTransferFrom(msg.sender, address(this), _amount); if (_tokenStatus.isOriginated == true) { IBEP20MetadataUpgradeable(_tokenContract).burn(_amount); } state_lastEventNonce = state_lastEventNonce.add(1); emit SendToFxEvent(_tokenContract, msg.sender, _destination, _targetIBC, _amount, state_lastEventNonce); } function submitBatch(address[] memory _currentOracles, uint256[] memory _currentPowers, uint8[] memory _v, bytes32[] memory _r, bytes32[] memory _s, uint256[] memory _amounts, address[] memory _destinations, uint256[] memory _fees, uint256[2] memory _nonceArray, address _tokenContract, uint256 _batchTimeout, address _feeReceive ) public nonReentrant { { TokenStatus memory _tokenStatus = tokenStatus[_tokenContract]; require(_tokenStatus.isExist, "Unsupported token address"); require(_tokenStatus.isActive, "Token was paused"); require( state_lastBatchNonces[_tokenContract] < _nonceArray[1], "New batch nonce must be greater than the current nonce." ); require( block.number < _batchTimeout, "Batch timeout must be greater than the current block height." ); require( _currentOracles.length == _currentPowers.length && _currentOracles.length == _v.length && _currentOracles.length == _r.length && _currentOracles.length == _s.length, "Malformed current oracle set." ); require( makeCheckpoint(_currentOracles, _currentPowers, _nonceArray[0], state_fxBridgeId) == state_lastOracleSetCheckpoint, "Supplied current oracles and powers do not match checkpoint." ); require( _amounts.length == _destinations.length && _amounts.length == _fees.length, "Malformed batch of transactions." ); checkOracleSignatures( _currentOracles, _currentPowers, _v, _r, _s, keccak256(abi.encode( state_fxBridgeId, // bytes32 encoding of "transactionBatch" 0x7472616e73616374696f6e426174636800000000000000000000000000000000, _amounts, _destinations, _fees, _nonceArray[1], _tokenContract, _batchTimeout, _feeReceive )), state_powerThreshold ); state_lastBatchNonces[_tokenContract] = _nonceArray[1]; { uint256 totalFee; for (uint256 i = 0; i < _amounts.length; i++) { totalFee = totalFee.add(_fees[i]); if (_tokenStatus.isOriginated == true) { IBEP20MetadataUpgradeable(_tokenContract).mint(address(this), _amounts[i]); } IBEP20MetadataUpgradeable(_tokenContract).safeTransfer(_destinations[i], _amounts[i]); } if (_tokenStatus.isOriginated == true) { IBEP20MetadataUpgradeable(_tokenContract).mint(address(this), totalFee); } IBEP20MetadataUpgradeable(_tokenContract).safeTransfer(_feeReceive, totalFee); } } { state_lastEventNonce = state_lastEventNonce.add(1); emit TransactionBatchExecutedEvent(_nonceArray[1], _tokenContract, state_lastEventNonce); } } function transferOwner(address _token, address _newOwner) public onlyOwner returns (bool){ IBEP20MetadataUpgradeable(_token).transferOwnership(_newOwner); emit TransferOwnerEvent(_token, _newOwner); return true; } /* =============== QUERY FUNCTIONS =============== */ function lastBatchNonce(address _erc20Address) public view returns (uint256) { return state_lastBatchNonces[_erc20Address]; } function checkAssetStatus(address _tokenAddr) public view returns (bool) { return tokenStatus[_tokenAddr].isExist; } /* ============== HELP FUNCTIONS =============== */ function verifySig(address _signer, bytes32 _theHash, uint8 _v, bytes32 _r, bytes32 _s) private pure returns (bool) { bytes32 messageDigest = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", _theHash)); return _signer == ecrecover(messageDigest, _v, _r, _s); } function makeCheckpoint(address[] memory _oracles, uint256[] memory _powers, uint256 _oracleSetNonce, bytes32 _fxBridgeId) public pure returns (bytes32) { // bytes32 encoding of the string "checkpoint" bytes32 methodName = 0x636865636b706f696e7400000000000000000000000000000000000000000000; return keccak256(abi.encode(_fxBridgeId, methodName, _oracleSetNonce, _oracles, _powers)); } function checkOracleSignatures(address[] memory _currentOracles, uint256[] memory _currentPowers, uint8[] memory _v, bytes32[] memory _r, bytes32[] memory _s, bytes32 _theHash, uint256 _powerThreshold ) public pure { uint256 cumulativePower = 0; for (uint256 i = 0; i < _currentOracles.length; i++) { if (_v[i] != 0) { require(verifySig(_currentOracles[i], _theHash, _v[i], _r[i], _s[i]), "Oracle signature does not match."); cumulativePower = cumulativePower + _currentPowers[i]; if (cumulativePower > _powerThreshold) { break; } } } require(cumulativePower > _powerThreshold, "Submitted oracle set signatures do not have enough power."); } function pause() public onlyOwner whenNotPaused { _pause(); } function unpause() public onlyOwner whenPaused { _unpause(); } function getBridgeTokenList() public view returns (BridgeToken[] memory) { BridgeToken[] memory result = new BridgeToken[](bridgeTokens.length); for (uint256 i = 0; i < bridgeTokens.length; i++) { address _tokenAddr = address(bridgeTokens[i]); BridgeToken memory bridgeToken = BridgeToken( _tokenAddr, IBEP20MetadataUpgradeable(_tokenAddr).name(), IBEP20MetadataUpgradeable(_tokenAddr).symbol(), IBEP20MetadataUpgradeable(_tokenAddr).decimals()); result[i] = bridgeToken; } return result; } /* =============== EVENTS =============== */ event TransactionBatchExecutedEvent( uint256 indexed _batchNonce, address indexed _token, uint256 _eventNonce ); event SendToFxEvent( address indexed _tokenContract, address indexed _sender, bytes32 indexed _destination, bytes32 _targetIBC, uint256 _amount, uint256 _eventNonce ); event AddBridgeTokenEvent( address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce, bytes32 _channelIBC ); event OracleSetUpdatedEvent( uint256 indexed _newOracleSetNonce, uint256 _eventNonce, address[] _oracles, uint256[] _powers ); event TransferOwnerEvent( address _token, address _newOwner ); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.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 SafeMathUpgradeable { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @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) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "./IBEP20Upgradeable.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IBEP20MetadataUpgradeable is IBEP20Upgradeable { function mint(address account, uint256 amount) external; function burn(uint256 amount) external; function transferOwnership(address newOwner) external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "./IBEP20Upgradeable.sol"; import "./SafeMathUpgradeable.sol"; import "./AddressUpgradeable.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 IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeBEP20Upgradeable { using SafeMathUpgradeable for uint256; using AddressUpgradeable for address; function safeTransfer(IBEP20Upgradeable token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IBEP20Upgradeable token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IBEP20Upgradeable 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(IBEP20Upgradeable 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(IBEP20Upgradeable 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(IBEP20Upgradeable 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. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "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"); } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @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) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "./Initializable.sol"; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuardUpgradeable is Initializable { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; function __ReentrancyGuard_init() internal initializer { __ReentrancyGuard_init_unchained(); } function __ReentrancyGuard_init_unchained() internal initializer { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "./ContextUpgradeable.sol"; import "./Initializable.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal initializer { __Context_init_unchained(); __Ownable_init_unchained(); } function __Ownable_init_unchained() internal initializer { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "./ContextUpgradeable.sol"; import "./Initializable.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract PausableUpgradeable is Initializable, ContextUpgradeable { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ function __Pausable_init() internal initializer { __Context_init_unchained(); __Pausable_init_unchained(); } function __Pausable_init_unchained() internal initializer { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; interface IBEP20Upgradeable { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the token name. */ function name() external view returns (string memory); /** * @dev Returns the bep token owner. */ function getOwner() external view returns (address); /** * @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); }
// SPDX-License-Identifier: MIT // solhint-disable-next-line compiler-version pragma solidity >=0.4.24 <0.8.0; import "./AddressUpgradeable.sol"; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { require(_initializing || _isConstructor() || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } /// @dev Returns true if and only if the function is running in the constructor function _isConstructor() private view returns (bool) { return !AddressUpgradeable.isContract(address(this)); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "./Initializable.sol"; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract ContextUpgradeable is Initializable { function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } uint256[50] private __gap; }
{ "optimizer": { "enabled": true, "runs": 200, "details": { "yul": true, "yulDetails": { "stackAllocation": true } } }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_tokenContract","type":"address"},{"indexed":false,"internalType":"string","name":"_name","type":"string"},{"indexed":false,"internalType":"string","name":"_symbol","type":"string"},{"indexed":false,"internalType":"uint8","name":"_decimals","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"_eventNonce","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"_channelIBC","type":"bytes32"}],"name":"AddBridgeTokenEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_newOracleSetNonce","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_eventNonce","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"_oracles","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"_powers","type":"uint256[]"}],"name":"OracleSetUpdatedEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_tokenContract","type":"address"},{"indexed":true,"internalType":"address","name":"_sender","type":"address"},{"indexed":true,"internalType":"bytes32","name":"_destination","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"_targetIBC","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_eventNonce","type":"uint256"}],"name":"SendToFxEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_batchNonce","type":"uint256"},{"indexed":true,"internalType":"address","name":"_token","type":"address"},{"indexed":false,"internalType":"uint256","name":"_eventNonce","type":"uint256"}],"name":"TransactionBatchExecutedEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_token","type":"address"},{"indexed":false,"internalType":"address","name":"_newOwner","type":"address"}],"name":"TransferOwnerEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"_tokenAddr","type":"address"}],"name":"activeBridgeToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddr","type":"address"},{"internalType":"bytes32","name":"_channelIBC","type":"bytes32"},{"internalType":"bool","name":"_isOriginated","type":"bool"}],"name":"addBridgeToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bridgeTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddr","type":"address"}],"name":"checkAssetStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_currentOracles","type":"address[]"},{"internalType":"uint256[]","name":"_currentPowers","type":"uint256[]"},{"internalType":"uint8[]","name":"_v","type":"uint8[]"},{"internalType":"bytes32[]","name":"_r","type":"bytes32[]"},{"internalType":"bytes32[]","name":"_s","type":"bytes32[]"},{"internalType":"bytes32","name":"_theHash","type":"bytes32"},{"internalType":"uint256","name":"_powerThreshold","type":"uint256"}],"name":"checkOracleSignatures","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getBridgeTokenList","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"internalType":"struct FxBridgeLogic.BridgeToken[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_fxBridgeId","type":"bytes32"},{"internalType":"uint256","name":"_powerThreshold","type":"uint256"},{"internalType":"address[]","name":"_oracles","type":"address[]"},{"internalType":"uint256[]","name":"_powers","type":"uint256[]"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_erc20Address","type":"address"}],"name":"lastBatchNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_oracles","type":"address[]"},{"internalType":"uint256[]","name":"_powers","type":"uint256[]"},{"internalType":"uint256","name":"_oracleSetNonce","type":"uint256"},{"internalType":"bytes32","name":"_fxBridgeId","type":"bytes32"}],"name":"makeCheckpoint","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddr","type":"address"}],"name":"pauseBridgeToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenContract","type":"address"},{"internalType":"bytes32","name":"_destination","type":"bytes32"},{"internalType":"bytes32","name":"_targetIBC","type":"bytes32"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"sendToFx","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"state_fxBridgeId","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"state_lastBatchNonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"state_lastEventNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"state_lastOracleSetCheckpoint","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"state_lastOracleSetNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"state_powerThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_currentOracles","type":"address[]"},{"internalType":"uint256[]","name":"_currentPowers","type":"uint256[]"},{"internalType":"uint8[]","name":"_v","type":"uint8[]"},{"internalType":"bytes32[]","name":"_r","type":"bytes32[]"},{"internalType":"bytes32[]","name":"_s","type":"bytes32[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"},{"internalType":"address[]","name":"_destinations","type":"address[]"},{"internalType":"uint256[]","name":"_fees","type":"uint256[]"},{"internalType":"uint256[2]","name":"_nonceArray","type":"uint256[2]"},{"internalType":"address","name":"_tokenContract","type":"address"},{"internalType":"uint256","name":"_batchTimeout","type":"uint256"},{"internalType":"address","name":"_feeReceive","type":"address"}],"name":"submitBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenStatus","outputs":[{"internalType":"bool","name":"isOriginated","type":"bool"},{"internalType":"bool","name":"isActive","type":"bool"},{"internalType":"bool","name":"isExist","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_newOracles","type":"address[]"},{"internalType":"uint256[]","name":"_newPowers","type":"uint256[]"},{"internalType":"uint256","name":"_newOracleSetNonce","type":"uint256"},{"internalType":"address[]","name":"_currentOracles","type":"address[]"},{"internalType":"uint256[]","name":"_currentPowers","type":"uint256[]"},{"internalType":"uint256","name":"_currentOracleSetNonce","type":"uint256"},{"internalType":"uint8[]","name":"_v","type":"uint8[]"},{"internalType":"bytes32[]","name":"_r","type":"bytes32[]"},{"internalType":"bytes32[]","name":"_s","type":"bytes32[]"}],"name":"updateOracleSet","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506135bb806100206000396000f3fe60806040526004361061019c5760003560e01c8063715018a6116100ec578063bb83bf961161008a578063e5a2b5d211610064578063e5a2b5d21461045f578063f1099f6114610474578063f2fde38b14610494578063f92367fd146104b45761019c565b8063bb83bf961461040a578063dde65aea1461041f578063df97174b1461043f5761019c565b80638456cb59116100c65780638456cb59146103a05780638da5cb5b146103b5578063a36a4ab0146103ca578063aa63a894146103ea5761019c565b8063715018a61461035657806371cbf3811461036b57806373b205471461038b5761019c565b80633a08e299116101595780635c975abb116101335780635c975abb146102ec5780636189d1071461030157806370a0eb941461031457806370e5a898146103295761019c565b80633a08e299146102975780633f4ba83a146102b7578063474d561c146102cc5761019c565b8063011b2174146101a15780630acac942146101d7578063283040b414610206578063285a190a1461022857806331678cf61461024a578063332caa1f14610277575b600080fd5b3480156101ad57600080fd5b506101c16101bc366004612406565b6104c9565b6040516101ce9190612c5e565b60405180910390f35b3480156101e357600080fd5b506101f76101f2366004612406565b6104e4565b6040516101ce93929190612c44565b34801561021257600080fd5b5061021b61050c565b6040516101ce9190612b92565b34801561023457600080fd5b5061024861024336600461267a565b610750565b005b34801561025657600080fd5b5061026a610265366004612421565b610850565b6040516101ce9190612c39565b34801561028357600080fd5b506102486102923660046124ce565b610932565b3480156102a357600080fd5b506102486102b2366004612758565b610d82565b3480156102c357600080fd5b50610248610ec7565b3480156102d857600080fd5b5061026a6102e7366004612406565b610f34565b3480156102f857600080fd5b5061026a610f58565b61024861030f366004612495565b610f61565b34801561032057600080fd5b506101c1611159565b34801561033557600080fd5b50610349610344366004612a08565b61115f565b6040516101ce9190612b27565b34801561036257600080fd5b50610248611186565b34801561037757600080fd5b506101c161038636600461287e565b61120f565b34801561039757600080fd5b506101c161125b565b3480156103ac57600080fd5b50610248611261565b3480156103c157600080fd5b506103496112cd565b3480156103d657600080fd5b5061026a6103e5366004612406565b6112dc565b3480156103f657600080fd5b5061024861040536600461290a565b6113c9565b34801561041657600080fd5b506101c1611550565b34801561042b57600080fd5b5061026a61043a366004612406565b611556565b34801561044b57600080fd5b506101c161045a366004612406565b611642565b34801561046b57600080fd5b506101c1611654565b34801561048057600080fd5b5061026a61048f366004612455565b61165a565b3480156104a057600080fd5b506102486104af366004612406565b6118da565b3480156104c057600080fd5b506101c161199b565b6001600160a01b0316600090815260ce602052604090205490565b60d06020526000908152604090205460ff808216916101008104821691620100009091041683565b60cf5460609081906001600160401b038111801561052957600080fd5b5060405190808252806020026020018201604052801561056357816020015b610550612207565b8152602001906001900390816105485790505b50905060005b60cf5481101561074a57600060cf828154811061058257fe5b6000918252602090912001546001600160a01b031690506105a1612207565b6040518060800160405280836001600160a01b03168152602001836001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b1580156105f457600080fd5b505afa158015610608573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610630919081019061297d565b8152602001836001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561066e57600080fd5b505afa158015610682573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106aa919081019061297d565b8152602001836001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156106e857600080fd5b505afa1580156106fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107209190612a20565b60ff1681525090508084848151811061073557fe5b60209081029190910101525050600101610569565b50905090565b6000805b88518110156108265786818151811061076957fe5b602002602001015160ff1660001461081e576107d489828151811061078a57fe5b60200260200101518589848151811061079f57fe5b60200260200101518985815181106107b357fe5b60200260200101518986815181106107c757fe5b60200260200101516119a1565b6107f95760405162461bcd60e51b81526004016107f090612e68565b60405180910390fd5b87818151811061080557fe5b6020026020010151820191508282111561081e57610826565b600101610754565b508181116108465760405162461bcd60e51b81526004016107f090612e0b565b5050505050505050565b600061085a611a3c565b6001600160a01b031661086b6112cd565b6001600160a01b0316146108915760405162461bcd60e51b81526004016107f090613263565b60405163f2fde38b60e01b81526001600160a01b0384169063f2fde38b906108bd908590600401612b27565b600060405180830381600087803b1580156108d757600080fd5b505af11580156108eb573d6000803e3d6000fd5b505050507fb0f1bf050fff9d249d22389b0f2673295260c8deca341a2755d95318f9fbc6998383604051610920929190612b3b565b60405180910390a15060015b92915050565b600260015414156109555760405162461bcd60e51b81526004016107f09061341f565b600260015561096261223b565b506001600160a01b038316600090815260d060209081526040918290208251606081018452905460ff80821615158352610100820481161515938301939093526201000090049091161515918101829052906109d05760405162461bcd60e51b81526004016107f090613456565b80602001516109f15760405162461bcd60e51b81526004016107f090613062565b6020808601516001600160a01b038616600090815260ce90925260409091205410610a2e5760405162461bcd60e51b81526004016107f0906130b6565b824310610a4d5760405162461bcd60e51b81526004016107f090613198565b8b518d51148015610a5f57508a518d51145b8015610a6c575089518d51145b8015610a79575088518d51145b610a955760405162461bcd60e51b81526004016107f0906131f5565b60cc54610aad8e8e886000602002015160c95461120f565b14610aca5760405162461bcd60e51b81526004016107f090613312565b86518851148015610adc575085518851145b610af85760405162461bcd60e51b81526004016107f09061348d565b610b658d8d8d8d8d60c9546f0e8e4c2dce6c2c6e8d2dedc84c2e8c6d60831b8f8f8f8f600160028110610b2757fe5b60200201518f8f8f604051602001610b4799989796959493929190612caa565b6040516020818303038152906040528051906020012060ca54610750565b6020808601516001600160a01b038616600090815260ce9092526040822055805b8951811015610c8457610bb5888281518110610b9e57fe5b602002602001015183611a4090919063ffffffff16565b8351909250151560011415610c3857856001600160a01b03166340c10f19308c8481518110610be057fe5b60200260200101516040518363ffffffff1660e01b8152600401610c05929190612b79565b600060405180830381600087803b158015610c1f57600080fd5b505af1158015610c33573d6000803e3d6000fd5b505050505b610c7c898281518110610c4757fe5b60200260200101518b8381518110610c5b57fe5b6020026020010151886001600160a01b0316611a659092919063ffffffff16565b600101610b86565b508151151560011415610cf2576040516340c10f1960e01b81526001600160a01b038616906340c10f1990610cbf9030908590600401612b79565b600060405180830381600087803b158015610cd957600080fd5b505af1158015610ced573d6000803e3d6000fd5b505050505b610d0c6001600160a01b038616848363ffffffff611a6516565b505060cb54610d2290600163ffffffff611a4016565b60cb556001600160a01b03831684600160200201517f02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab70860cb54604051610d689190612c5e565b60405180910390a350506001805550505050505050505050565b838711610da15760405162461bcd60e51b81526004016107f090612f88565b8751895114610dc25760405162461bcd60e51b81526004016107f090612e9d565b84518651148015610dd4575082518651145b8015610de1575081518651145b8015610dee575080518651145b610e0a5760405162461bcd60e51b81526004016107f09061322c565b60cc54610e1b87878760c95461120f565b14610e385760405162461bcd60e51b81526004016107f090613312565b6000610e488a8a8a60c95461120f565b9050610e5b87878686868660ca54610750565b60cc81905560cd88905560cb54610e7990600163ffffffff611a4016565b60cb81905560405189917f36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b391610eb391908e908e906134c2565b60405180910390a250505050505050505050565b610ecf611a3c565b6001600160a01b0316610ee06112cd565b6001600160a01b031614610f065760405162461bcd60e51b81526004016107f090613263565b610f0e610f58565b610f2a5760405162461bcd60e51b81526004016107f090612ddd565b610f32611ac0565b565b6001600160a01b0316600090815260d0602052604090205462010000900460ff1690565b60975460ff1690565b60026001541415610f845760405162461bcd60e51b81526004016107f09061341f565b6002600155610f91610f58565b15610fae5760405162461bcd60e51b81526004016107f09061308c565b60008111610fce5760405162461bcd60e51b81526004016107f090613298565b610fd661223b565b506001600160a01b038416600090815260d060209081526040918290208251606081018452905460ff80821615158352610100820481161515938301939093526201000090049091161515918101829052906110445760405162461bcd60e51b81526004016107f090613456565b80602001516110655760405162461bcd60e51b81526004016107f090612db3565b6110806001600160a01b03861633308563ffffffff611b2e16565b80511515600114156110eb57604051630852cd8d60e31b81526001600160a01b038616906342966c68906110b8908590600401612c5e565b600060405180830381600087803b1580156110d257600080fd5b505af11580156110e6573d6000803e3d6000fd5b505050505b60cb546110ff90600163ffffffff611a4016565b60cb819055604051859133916001600160a01b038916917f034c5b22dd525a50d0a6b15549df0a6ac83b833a6c3da57ea16890832c72507c91611146918991899190612d26565b60405180910390a4505060018055505050565b60cc5481565b60cf818154811061116c57fe5b6000918252602090912001546001600160a01b0316905081565b61118e611a3c565b6001600160a01b031661119f6112cd565b6001600160a01b0316146111c55760405162461bcd60e51b81526004016107f090613263565b6065546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3606580546001600160a01b0319169055565b6040516000906918da1958dadc1bda5b9d60b21b9061123a908490839087908a908a90602001612c67565b60405160208183030381529060405280519060200120915050949350505050565b60cb5481565b611269611a3c565b6001600160a01b031661127a6112cd565b6001600160a01b0316146112a05760405162461bcd60e51b81526004016107f090613263565b6112a8610f58565b156112c55760405162461bcd60e51b81526004016107f09061308c565b610f32611b55565b6065546001600160a01b031690565b60006112e6611a3c565b6001600160a01b03166112f76112cd565b6001600160a01b03161461131d5760405162461bcd60e51b81526004016107f090613263565b6001600160a01b038216600090815260d0602052604090205462010000900460ff1615156001146113605760405162461bcd60e51b81526004016107f090612f51565b6001600160a01b038216600090815260d0602052604090205460ff6101009091041615156001146113a35760405162461bcd60e51b81526004016107f09061302b565b506001600160a01b0316600090815260d060205260409020805461ff0019169055600190565b600054610100900460ff16806113e257506113e2611bb0565b806113f0575060005460ff16155b61140c5760405162461bcd60e51b81526004016107f090613113565b600054610100900460ff16158015611437576000805460ff1961ff0019909116610100171660011790555b61143f611bc1565b611447611c54565b61144f611cd2565b81518351146114705760405162461bcd60e51b81526004016107f09061322c565b6000805b83518110156114aa5783818151811061148957fe5b602002602001015182019150858211156114a2576114aa565b600101611474565b508481116114ca5760405162461bcd60e51b81526004016107f090612e0b565b60006114d9858560008a61120f565b60c988905560ca87905560cc819055600060cd819055600160cb81905560405192935090917f36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b39161152d91899089906134c2565b60405180910390a250508015611549576000805461ff00191690555b5050505050565b60cd5481565b6000611560611a3c565b6001600160a01b03166115716112cd565b6001600160a01b0316146115975760405162461bcd60e51b81526004016107f090613263565b6001600160a01b038216600090815260d0602052604090205462010000900460ff1615156001146115da5760405162461bcd60e51b81526004016107f090612f51565b6001600160a01b038216600090815260d06020526040902054610100900460ff16156116185760405162461bcd60e51b81526004016107f0906132db565b506001600160a01b0316600090815260d060205260409020805461ff001916610100179055600190565b60ce6020526000908152604090205481565b60ca5481565b6000611664611a3c565b6001600160a01b03166116756112cd565b6001600160a01b03161461169b5760405162461bcd60e51b81526004016107f090613263565b6001600160a01b0384166116c15760405162461bcd60e51b81526004016107f0906133a6565b6001600160a01b038416600090815260d0602052604090205462010000900460ff16156117005760405162461bcd60e51b81526004016107f090613161565b61172c846040518060600160405280851515815260200160011515815260200160011515815250611d48565b836001600160a01b03167f2da8f37eaabc4d44ba4fcc438e404bbed3344322280d6c67497e9c668c87ec0f856001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b15801561179057600080fd5b505afa1580156117a4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117cc919081019061297d565b866001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561180557600080fd5b505afa158015611819573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611841919081019061297d565b876001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561187a57600080fd5b505afa15801561188e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118b29190612a20565b60cb54886040516118c7959493929190612d6d565b60405180910390a25060015b9392505050565b6118e2611a3c565b6001600160a01b03166118f36112cd565b6001600160a01b0316146119195760405162461bcd60e51b81526004016107f090613263565b6001600160a01b03811661193f5760405162461bcd60e51b81526004016107f090612ed4565b6065546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606580546001600160a01b0319166001600160a01b0392909216919091179055565b60c95481565b600080856040516020016119b59190612af6565b604051602081830303815290604052805190602001209050600181868686604051600081526020016040526040516119f09493929190612d3c565b6020604051602081039080840390855afa158015611a12573d6000803e3d6000fd5b505050602060405103516001600160a01b0316876001600160a01b03161491505095945050505050565b3390565b6000828201838110156118d35760405162461bcd60e51b81526004016107f090612f1a565b611abb8363a9059cbb60e01b8484604051602401611a84929190612b79565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611df4565b505050565b611ac8610f58565b611ae45760405162461bcd60e51b81526004016107f090612ddd565b6097805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611b17611a3c565b604051611b249190612b27565b60405180910390a1565b611b4f846323b872dd60e01b858585604051602401611a8493929190612b55565b50505050565b611b5d610f58565b15611b7a5760405162461bcd60e51b81526004016107f09061308c565b6097805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611b17611a3c565b6000611bbb30611e83565b15905090565b600054610100900460ff1680611bda5750611bda611bb0565b80611be8575060005460ff16155b611c045760405162461bcd60e51b81526004016107f090613113565b600054610100900460ff16158015611c2f576000805460ff1961ff0019909116610100171660011790555b611c37611e89565b611c3f611f0a565b8015611c51576000805461ff00191690555b50565b600054610100900460ff1680611c6d5750611c6d611bb0565b80611c7b575060005460ff16155b611c975760405162461bcd60e51b81526004016107f090613113565b600054610100900460ff16158015611cc2576000805460ff1961ff0019909116610100171660011790555b611cca611e89565b611c3f611f96565b600054610100900460ff1680611ceb5750611ceb611bb0565b80611cf9575060005460ff16155b611d155760405162461bcd60e51b81526004016107f090613113565b600054610100900460ff16158015611d40576000805460ff1961ff0019909116610100171660011790555b611c3f612070565b60cf805460018082019092557facb8d954e2cfef495862221e91bd7523613cf8808827cb33edfe4904cc51bf290180546001600160a01b0319166001600160a01b038516908117909155600090815260d0602090815260409182902084518154928601519386015160ff199093169015151761ff001916610100931515939093029290921762ff00001916620100009115159190910217905560cb54611ded91611a40565b60cb555050565b6060611e49826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166120f69092919063ffffffff16565b805190915015611abb5780806020019051810190611e6791906128ee565b611abb5760405162461bcd60e51b81526004016107f0906133d5565b3b151590565b600054610100900460ff1680611ea25750611ea2611bb0565b80611eb0575060005460ff16155b611ecc5760405162461bcd60e51b81526004016107f090613113565b600054610100900460ff16158015611c3f576000805460ff1961ff0019909116610100171660011790558015611c51576000805461ff001916905550565b600054610100900460ff1680611f235750611f23611bb0565b80611f31575060005460ff16155b611f4d5760405162461bcd60e51b81526004016107f090613113565b600054610100900460ff16158015611f78576000805460ff1961ff0019909116610100171660011790555b6097805460ff191690558015611c51576000805461ff001916905550565b600054610100900460ff1680611faf5750611faf611bb0565b80611fbd575060005460ff16155b611fd95760405162461bcd60e51b81526004016107f090613113565b600054610100900460ff16158015612004576000805460ff1961ff0019909116610100171660011790555b600061200e611a3c565b606580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508015611c51576000805461ff001916905550565b600054610100900460ff16806120895750612089611bb0565b80612097575060005460ff16155b6120b35760405162461bcd60e51b81526004016107f090613113565b600054610100900460ff161580156120de576000805460ff1961ff0019909116610100171660011790555b600180558015611c51576000805461ff001916905550565b6060612105848460008561210d565b949350505050565b60608247101561212f5760405162461bcd60e51b81526004016107f090612fe5565b61213885611e83565b6121545760405162461bcd60e51b81526004016107f09061336f565b60006060866001600160a01b031685876040516121719190612ada565b60006040518083038185875af1925050503d80600081146121ae576040519150601f19603f3d011682016040523d82523d6000602084013e6121b3565b606091505b50915091506121c38282866121ce565b979650505050505050565b606083156121dd5750816118d3565b8251156121ed5782518084602001fd5b8160405162461bcd60e51b81526004016107f09190612d5a565b604051806080016040528060006001600160a01b031681526020016060815260200160608152602001600060ff1681525090565b604080516060810182526000808252602082018190529181019190915290565b80356001600160a01b038116811461092c57600080fd5b600082601f830112612282578081fd5b81356122956122908261351d565b6134f7565b8181529150602080830190848101818402860182018710156122b657600080fd5b60005b848110156122dd576122cb888361225b565b845292820192908201906001016122b9565b505050505092915050565b600082601f8301126122f8578081fd5b81356123066122908261351d565b81815291506020808301908481018184028601820187101561232757600080fd5b60005b848110156122dd5781358452928201929082019060010161232a565b600082601f830112612356578081fd5b61236060406134f7565b905080828460408501111561237457600080fd5b60005b6002811015612396578135835260209283019290910190600101612377565b50505092915050565b600082601f8301126123af578081fd5b81356123bd6122908261351d565b8181529150602080830190848101818402860182018710156123de57600080fd5b60005b848110156122dd5781356123f481613576565b845292820192908201906001016123e1565b600060208284031215612417578081fd5b6118d3838361225b565b60008060408385031215612433578081fd5b61243d848461225b565b915061244c846020850161225b565b90509250929050565b600080600060608486031215612469578081fd5b612473858561225b565b925060208401359150604084013561248a81613568565b809150509250925092565b600080600080608085870312156124aa578081fd5b6124b4868661225b565b966020860135965060408601359560600135945092505050565b6000806000806000806000806000806000806101a08d8f0312156124f0578788fd5b6001600160401b038d351115612504578788fd5b6125118e8e358f01612272565b9b506001600160401b0360208e0135111561252a578788fd5b61253a8e60208f01358f016122e8565b9a506001600160401b0360408e01351115612553578788fd5b6125638e60408f01358f0161239f565b99506001600160401b0360608e0135111561257c578788fd5b61258c8e60608f01358f016122e8565b98506001600160401b0360808e013511156125a5578788fd5b6125b58e60808f01358f016122e8565b97506001600160401b0360a08e013511156125ce578687fd5b6125de8e60a08f01358f016122e8565b96506001600160401b0360c08e013511156125f7578586fd5b6126078e60c08f01358f01612272565b95506001600160401b0360e08e01351115612620578485fd5b6126308e60e08f01358f016122e8565b94506126408e6101008f01612346565b93506126508e6101408f0161225b565b92506101608d013591506126688e6101808f0161225b565b90509295989b509295989b509295989b565b600080600080600080600060e0888a031215612694578081fd5b87356001600160401b03808211156126aa578283fd5b6126b68b838c01612272565b985060208a01359150808211156126cb578283fd5b6126d78b838c016122e8565b975060408a01359150808211156126ec578283fd5b6126f88b838c0161239f565b965060608a013591508082111561270d578283fd5b6127198b838c016122e8565b955060808a013591508082111561272e578283fd5b5061273b8a828b016122e8565b93505060a0880135915060c0880135905092959891949750929550565b60008060008060008060008060006101208a8c031215612776578283fd5b89356001600160401b038082111561278c578485fd5b6127988d838e01612272565b9a5060208c01359150808211156127ad578485fd5b6127b98d838e016122e8565b995060408c0135985060608c01359150808211156127d5578485fd5b6127e18d838e01612272565b975060808c01359150808211156127f6578485fd5b6128028d838e016122e8565b965060a08c0135955060c08c013591508082111561281e578485fd5b61282a8d838e0161239f565b945060e08c013591508082111561283f578384fd5b61284b8d838e016122e8565b93506101008c0135915080821115612861578283fd5b5061286e8c828d016122e8565b9150509295985092959850929598565b60008060008060808587031215612893578182fd5b84356001600160401b03808211156128a9578384fd5b6128b588838901612272565b955060208701359150808211156128ca578384fd5b506128d7878288016122e8565b949794965050505060408301359260600135919050565b6000602082840312156128ff578081fd5b81516118d381613568565b6000806000806080858703121561291f578182fd5b843593506020850135925060408501356001600160401b0380821115612943578384fd5b61294f88838901612272565b93506060870135915080821115612964578283fd5b50612971878288016122e8565b91505092959194509250565b60006020828403121561298e578081fd5b81516001600160401b03808211156129a4578283fd5b81840185601f8201126129b5578384fd5b80519250818311156129c5578384fd5b6129d8601f8401601f19166020016134f7565b91508282528560208483010111156129ee578384fd5b6129ff83602084016020840161353c565b50949350505050565b600060208284031215612a19578081fd5b5035919050565b600060208284031215612a31578081fd5b81516118d381613576565b6000815180845260208085019450808401835b83811015612a745781516001600160a01b031687529582019590820190600101612a4f565b509495945050505050565b6000815180845260208085019450808401835b83811015612a7457815187529582019590820190600101612a92565b60008151808452612ac681602086016020860161353c565b601f01601f19169290920160200192915050565b60008251612aec81846020870161353c565b9190910192915050565b7f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b60208082528251828201819052600091906040908185019080840286018301878501865b83811015612c2b57888303603f19018552815180516001600160a01b0316845287810151608089860181905290612bef82870182612aae565b8984015192508681038a880152612c068184612aae565b60609485015160ff169790940196909652505094870194925090860190600101612bb6565b509098975050505050505050565b901515815260200190565b921515835290151560208301521515604082015260600190565b90815260200190565b600086825285602083015284604083015260a06060830152612c8c60a0830185612a3c565b8281036080840152612c9e8185612a7f565b98975050505050505050565b60006101208b83528a6020840152806040840152612cca8184018b612a7f565b8381036060850152612cdc818b612a3c565b9150508281036080840152612cf18189612a7f565b60a084019790975250506001600160a01b0393841660c082015260e08101929092529091166101009091015295945050505050565b9283526020830191909152604082015260600190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082526118d36020830184612aae565b600060a08252612d8060a0830188612aae565b8281036020840152612d928188612aae565b60ff9690961660408401525050606081019290925260809091015292915050565b60208082526010908201526f1d1bdad95b881dd85cc81c185d5cd95960821b604082015260600190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526039908201527f5375626d6974746564206f7261636c6520736574207369676e6174757265732060408201527f646f206e6f74206861766520656e6f75676820706f7765722e00000000000000606082015260800190565b6020808252818101527f4f7261636c65207369676e617475726520646f6573206e6f74206d617463682e604082015260600190565b60208082526018908201527f4d616c666f726d6564206e6577206f7261636c65207365740000000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601b908201527f42726964676520746f6b656e20646f65736e2774206578697374730000000000604082015260600190565b6020808252603b908201527f4e6577206f7261636c6520736574206e6f6e6365206d7573742062652067726560408201527f61746572207468616e207468652063757272656e74206e6f6e63650000000000606082015260800190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601b908201527f42726964676520746f6b656e20616c7265616479207061757365640000000000604082015260600190565b60208082526010908201526f151bdad95b881dd85cc81c185d5cd95960821b604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526037908201527f4e6577206261746368206e6f6e6365206d75737420626520677265617465722060408201527f7468616e207468652063757272656e74206e6f6e63652e000000000000000000606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252601b908201527f42726964676520746f6b656e20616c7265616479206578697374730000000000604082015260600190565b6020808252603c908201527f42617463682074696d656f7574206d757374206265206772656174657220746860408201527f616e207468652063757272656e7420626c6f636b206865696768742e00000000606082015260800190565b6020808252601d908201527f4d616c666f726d65642063757272656e74206f7261636c65207365742e000000604082015260600190565b6020808252601c908201527f4d616c666f726d65642063757272656e74206f7261636c652073657400000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526023908201527f616d6f756e742073686f756c642062652067726561746572207468616e207a6560408201526203937960ed1b606082015260800190565b6020808252601c908201527f42726964676520746f6b656e20616c7265616479206163746976656400000000604082015260600190565b6020808252603c908201527f537570706c6965642063757272656e74206f7261636c657320616e6420706f7760408201527f65727320646f206e6f74206d6174636820636865636b706f696e742e00000000606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b602080825260159082015274496e76616c696420746f6b656e206164647265737360581b604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526019908201527f556e737570706f7274656420746f6b656e206164647265737300000000000000604082015260600190565b6020808252818101527f4d616c666f726d6564206261746368206f66207472616e73616374696f6e732e604082015260600190565b6000848252606060208301526134db6060830185612a3c565b82810360408401526134ed8185612a7f565b9695505050505050565b6040518181016001600160401b038111828210171561351557600080fd5b604052919050565b60006001600160401b03821115613532578081fd5b5060209081020190565b60005b8381101561355757818101518382015260200161353f565b83811115611b4f5750506000910152565b8015158114611c5157600080fd5b60ff81168114611c5157600080fdfea2646970667358221220905353bcdce9bb3b3f72c4d3d8516b5164a8b5cef6829d6627e50103be9d455964736f6c63430006060033
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.