Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
This contract has been verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- CFil
- Optimization enabled
- true
- Compiler version
- v0.7.6+commit.7338295f
- Optimization runs
- 200
- EVM Version
- istanbul
- Verified at
- 2026-05-07T22:37:18.211239Z
Constructor Arguments
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000008848812bd31aeee33313c10a840ffc3169078c5b0000000000000000000000000000000000000000000000000000000000000000
Arg [0] (address[]) : []
Arg [1] (address) : 0x8848812bd31aeee33313c10a840ffc3169078c5b
all_cfil.sol
// File: @openzeppelin/contracts/utils/Context.sol
pragma solidity >=0.6.0 <0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with 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 Context {
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;
}
}
// File: @openzeppelin/contracts/token/ERC777/IERC777.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC777Token standard as defined in the EIP.
*
* This contract uses the
* https://eips.ethereum.org/EIPS/eip-1820[ERC1820 registry standard] to let
* token holders and recipients react to token movements by using setting implementers
* for the associated interfaces in said registry. See {IERC1820Registry} and
* {ERC1820Implementer}.
*/
interface IERC777 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the smallest part of the token that is not divisible. This
* means all token operations (creation, movement and destruction) must have
* amounts that are a multiple of this number.
*
* For most token contracts, this value will equal 1.
*/
function granularity() external view returns (uint256);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by an account (`owner`).
*/
function balanceOf(address owner) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* If send or receive hooks are registered for the caller and `recipient`,
* the corresponding functions will be called with `data` and empty
* `operatorData`. See {IERC777Sender} and {IERC777Recipient}.
*
* Emits a {Sent} event.
*
* Requirements
*
* - the caller must have at least `amount` tokens.
* - `recipient` cannot be the zero address.
* - if `recipient` is a contract, it must implement the {IERC777Recipient}
* interface.
*/
function send(address recipient, uint256 amount, bytes calldata data) external;
/**
* @dev Destroys `amount` tokens from the caller's account, reducing the
* total supply.
*
* If a send hook is registered for the caller, the corresponding function
* will be called with `data` and empty `operatorData`. See {IERC777Sender}.
*
* Emits a {Burned} event.
*
* Requirements
*
* - the caller must have at least `amount` tokens.
*/
function burn(uint256 amount, bytes calldata data) external;
/**
* @dev Returns true if an account is an operator of `tokenHolder`.
* Operators can send and burn tokens on behalf of their owners. All
* accounts are their own operator.
*
* See {operatorSend} and {operatorBurn}.
*/
function isOperatorFor(address operator, address tokenHolder) external view returns (bool);
/**
* @dev Make an account an operator of the caller.
*
* See {isOperatorFor}.
*
* Emits an {AuthorizedOperator} event.
*
* Requirements
*
* - `operator` cannot be calling address.
*/
function authorizeOperator(address operator) external;
/**
* @dev Revoke an account's operator status for the caller.
*
* See {isOperatorFor} and {defaultOperators}.
*
* Emits a {RevokedOperator} event.
*
* Requirements
*
* - `operator` cannot be calling address.
*/
function revokeOperator(address operator) external;
/**
* @dev Returns the list of default operators. These accounts are operators
* for all token holders, even if {authorizeOperator} was never called on
* them.
*
* This list is immutable, but individual holders may revoke these via
* {revokeOperator}, in which case {isOperatorFor} will return false.
*/
function defaultOperators() external view returns (address[] memory);
/**
* @dev Moves `amount` tokens from `sender` to `recipient`. The caller must
* be an operator of `sender`.
*
* If send or receive hooks are registered for `sender` and `recipient`,
* the corresponding functions will be called with `data` and
* `operatorData`. See {IERC777Sender} and {IERC777Recipient}.
*
* Emits a {Sent} event.
*
* Requirements
*
* - `sender` cannot be the zero address.
* - `sender` must have at least `amount` tokens.
* - the caller must be an operator for `sender`.
* - `recipient` cannot be the zero address.
* - if `recipient` is a contract, it must implement the {IERC777Recipient}
* interface.
*/
function operatorSend(
address sender,
address recipient,
uint256 amount,
bytes calldata data,
bytes calldata operatorData
) external;
/**
* @dev Destroys `amount` tokens from `account`, reducing the total supply.
* The caller must be an operator of `account`.
*
* If a send hook is registered for `account`, the corresponding function
* will be called with `data` and `operatorData`. See {IERC777Sender}.
*
* Emits a {Burned} event.
*
* Requirements
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
* - the caller must be an operator for `account`.
*/
function operatorBurn(
address account,
uint256 amount,
bytes calldata data,
bytes calldata operatorData
) external;
event Sent(
address indexed operator,
address indexed from,
address indexed to,
uint256 amount,
bytes data,
bytes operatorData
);
event Minted(address indexed operator, address indexed to, uint256 amount, bytes data, bytes operatorData);
event Burned(address indexed operator, address indexed from, uint256 amount, bytes data, bytes operatorData);
event AuthorizedOperator(address indexed operator, address indexed tokenHolder);
event RevokedOperator(address indexed operator, address indexed tokenHolder);
}
// File: @openzeppelin/contracts/token/ERC777/IERC777Recipient.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC777TokensRecipient standard as defined in the EIP.
*
* Accounts can be notified of {IERC777} tokens being sent to them by having a
* contract implement this interface (contract holders can be their own
* implementer) and registering it on the
* https://eips.ethereum.org/EIPS/eip-1820[ERC1820 global registry].
*
* See {IERC1820Registry} and {ERC1820Implementer}.
*/
interface IERC777Recipient {
/**
* @dev Called by an {IERC777} token contract whenever tokens are being
* moved or created into a registered account (`to`). The type of operation
* is conveyed by `from` being the zero address or not.
*
* This call occurs _after_ the token contract's state is updated, so
* {IERC777-balanceOf}, etc., can be used to query the post-operation state.
*
* This function may revert to prevent the operation from being executed.
*/
function tokensReceived(
address operator,
address from,
address to,
uint256 amount,
bytes calldata userData,
bytes calldata operatorData
) external;
}
// File: @openzeppelin/contracts/token/ERC777/IERC777Sender.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC777TokensSender standard as defined in the EIP.
*
* {IERC777} Token holders can be notified of operations performed on their
* tokens by having a contract implement this interface (contract holders can be
* their own implementer) and registering it on the
* https://eips.ethereum.org/EIPS/eip-1820[ERC1820 global registry].
*
* See {IERC1820Registry} and {ERC1820Implementer}.
*/
interface IERC777Sender {
/**
* @dev Called by an {IERC777} token contract whenever a registered holder's
* (`from`) tokens are about to be moved or destroyed. The type of operation
* is conveyed by `to` being the zero address or not.
*
* This call occurs _before_ the token contract's state is updated, so
* {IERC777-balanceOf}, etc., can be used to query the pre-operation state.
*
* This function may revert to prevent the operation from being executed.
*/
function tokensToSend(
address operator,
address from,
address to,
uint256 amount,
bytes calldata userData,
bytes calldata operatorData
) external;
}
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}
// File: @openzeppelin/contracts/math/SafeMath.sol
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 SafeMath {
/**
* @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;
}
}
// File: @openzeppelin/contracts/utils/ReentrancyGuard.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor () internal {
_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;
}
}
// File: @openzeppelin/contracts/utils/Address.sol
pragma solidity >=0.6.2 <0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
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);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.delegatecall(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);
}
}
}
}
// File: @openzeppelin/contracts/introspection/IERC1820Registry.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the global ERC1820 Registry, as defined in the
* https://eips.ethereum.org/EIPS/eip-1820[EIP]. Accounts may register
* implementers for interfaces in this registry, as well as query support.
*
* Implementers may be shared by multiple accounts, and can also implement more
* than a single interface for each account. Contracts can implement interfaces
* for themselves, but externally-owned accounts (EOA) must delegate this to a
* contract.
*
* {IERC165} interfaces can also be queried via the registry.
*
* For an in-depth explanation and source code analysis, see the EIP text.
*/
interface IERC1820Registry {
/**
* @dev Sets `newManager` as the manager for `account`. A manager of an
* account is able to set interface implementers for it.
*
* By default, each account is its own manager. Passing a value of `0x0` in
* `newManager` will reset the manager to this initial state.
*
* Emits a {ManagerChanged} event.
*
* Requirements:
*
* - the caller must be the current manager for `account`.
*/
function setManager(address account, address newManager) external;
/**
* @dev Returns the manager for `account`.
*
* See {setManager}.
*/
function getManager(address account) external view returns (address);
/**
* @dev Sets the `implementer` contract as ``account``'s implementer for
* `interfaceHash`.
*
* `account` being the zero address is an alias for the caller's address.
* The zero address can also be used in `implementer` to remove an old one.
*
* See {interfaceHash} to learn how these are created.
*
* Emits an {InterfaceImplementerSet} event.
*
* Requirements:
*
* - the caller must be the current manager for `account`.
* - `interfaceHash` must not be an {IERC165} interface id (i.e. it must not
* end in 28 zeroes).
* - `implementer` must implement {IERC1820Implementer} and return true when
* queried for support, unless `implementer` is the caller. See
* {IERC1820Implementer-canImplementInterfaceForAddress}.
*/
function setInterfaceImplementer(address account, bytes32 _interfaceHash, address implementer) external;
/**
* @dev Returns the implementer of `interfaceHash` for `account`. If no such
* implementer is registered, returns the zero address.
*
* If `interfaceHash` is an {IERC165} interface id (i.e. it ends with 28
* zeroes), `account` will be queried for support of it.
*
* `account` being the zero address is an alias for the caller's address.
*/
function getInterfaceImplementer(address account, bytes32 _interfaceHash) external view returns (address);
/**
* @dev Returns the interface hash for an `interfaceName`, as defined in the
* corresponding
* https://eips.ethereum.org/EIPS/eip-1820#interface-name[section of the EIP].
*/
function interfaceHash(string calldata interfaceName) external pure returns (bytes32);
/**
* @notice Updates the cache with whether the contract implements an ERC165 interface or not.
* @param account Address of the contract for which to update the cache.
* @param interfaceId ERC165 interface for which to update the cache.
*/
function updateERC165Cache(address account, bytes4 interfaceId) external;
/**
* @notice Checks whether a contract implements an ERC165 interface or not.
* If the result is not cached a direct lookup on the contract address is performed.
* If the result is not cached or the cached value is out-of-date, the cache MUST be updated manually by calling
* {updateERC165Cache} with the contract address.
* @param account Address of the contract to check.
* @param interfaceId ERC165 interface to check.
* @return True if `account` implements `interfaceId`, false otherwise.
*/
function implementsERC165Interface(address account, bytes4 interfaceId) external view returns (bool);
/**
* @notice Checks whether a contract implements an ERC165 interface or not without using nor updating the cache.
* @param account Address of the contract to check.
* @param interfaceId ERC165 interface to check.
* @return True if `account` implements `interfaceId`, false otherwise.
*/
function implementsERC165InterfaceNoCache(address account, bytes4 interfaceId) external view returns (bool);
event InterfaceImplementerSet(address indexed account, bytes32 indexed interfaceHash, address indexed implementer);
event ManagerChanged(address indexed account, address indexed newManager);
}
// File: cfil/cfil.sol
pragma solidity >=0.6.2 <0.8.0;
contract CFil is Context, IERC777, IERC20, ReentrancyGuard, IERC777Recipient {
//////////////////// using
using SafeMath for uint256;
using Address for address;
//////////////////// const
IERC1820Registry constant internal _ERC1820_REGISTRY = IERC1820Registry(0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24);
// We inline the result of the following hashes because Solidity doesn't resolve them at compile time.
// See https://github.com/ethereum/solidity/issues/4024.
// keccak256("ERC777TokensSender")
bytes32 constant private _TOKENS_SENDER_INTERFACE_HASH =
0x29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe895;
// keccak256("ERC777TokensRecipient")
bytes32 constant private _TOKENS_RECIPIENT_INTERFACE_HASH =
0xb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b;
IERC777 CRFI;
uint256 constant calcDecimals = 1e18;
//////////////////// for admin
address public superAdmin;
mapping(address => uint256) public admins;
// only effect erc20 interface.
// when erc777mode equal 0, the erc777 feature is disabled;
// when erc777mode equal 1, the erc777 feature is enabled by whitelist.
// when erc777 mode equal 2, the erc777 feature is disabled by blacklist.
// when erc777 mode equal 3, the erc777 feature is enabled;
// in whitelist or black list mode, whether "from" or "to" address in list, the feature would be effected.
enum Erc777ModeType {disabled, whitelist, blacklist, enabled}
Erc777ModeType public erc777Mode;
mapping(address=>bool) public blacklist;
mapping(address=>bool) public whitelist;
//////////////////// for coin
mapping(address => uint256) private _balances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
// ERC20-allowances
mapping (address => mapping (address => uint256)) private _allowances;
mapping(address=>bool) private _freezeAddress;
//////////////////// for operator
// This isn't ever read from - it's only used to respond to the defaultOperators query.
address[] private _defaultOperatorsArray;
// Immutable, but accounts may revoke them (tracked in __revokedDefaultOperators).
mapping(address => bool) private _defaultOperators;
// For each account, a mapping of its operators and revoked default operators.
mapping(address => mapping(address => bool)) private _operators;
mapping(address => mapping(address => bool)) private _revokedDefaultOperators;
//////////////////// for burn
uint256 public burnCFilRateCRFI;
uint256 public burnCFilFee;
//////////////////// constructor
/**
* @dev `defaultOperators` may be an empty array.
*/
constructor(address[] memory defaultOperators_,
address CRFIAddr
)
{
require(CRFIAddr.isContract(), "CRFIAddr error");
CRFI = IERC777(CRFIAddr);
_name = "CFIL";
_symbol = "CFIL";
_defaultOperatorsArray = defaultOperators_;
for (uint256 i = 0; i < _defaultOperatorsArray.length; i++) {
_defaultOperators[_defaultOperatorsArray[i]] = true;
}
// register interfaces
_ERC1820_REGISTRY.setInterfaceImplementer(address(this), keccak256("ERC777Token"), address(this));
_ERC1820_REGISTRY.setInterfaceImplementer(address(this), keccak256("ERC20Token"), address(this));
superAdmin = msg.sender;
// init mode
ChangeMode(Erc777ModeType.disabled);
burnCFilRateCRFI = calcDecimals / 100;
_ERC1820_REGISTRY.setInterfaceImplementer(address(this), _TOKENS_RECIPIENT_INTERFACE_HASH, address(this));
}
//////////////////// modifier
modifier IsAdmin() {
require(msg.sender == superAdmin || admins[msg.sender] == 1, "only admin");
_;
}
modifier IsSuperAdmin() {
require(superAdmin == msg.sender, "only super admin");
_;
}
modifier CheckFreeze(address addr){
require(_freezeAddress[addr] == false, "account is freeze");
_;
}
//////////////////// super admin func
function AddAdmin(address adminAddr)
public
IsSuperAdmin(){
require(admins[adminAddr] == 0, "already add this admin");
admins[adminAddr] = 1;
}
function DelAdmin(address adminAddr)
public
IsSuperAdmin(){
require(admins[adminAddr] == 1, "this addr is not admin");
admins[adminAddr] = 0;
}
function ChangeSuperAdmin(address suAdminAddr)
public
IsSuperAdmin(){
require(suAdminAddr != address(0x0), "empty new super admin");
superAdmin = suAdminAddr;
}
//////////////////// for admin func
function ChangeBurnCFilRateCRFI(uint256 rate)
public
IsAdmin(){
burnCFilRateCRFI = rate;
}
function ChangeBurnCFilFee(uint256 fee)
public
IsAdmin(){
burnCFilFee = fee;
}
function AddBlackList(address[] memory addrs)
public
IsAdmin(){
for(uint256 i = 0; i < addrs.length; i++){
address addr = addrs[i];
if(blacklist[addr]){
continue;
}
blacklist[addr] = true;
}
}
function DelBlackList(address[] memory addrs)
public
IsAdmin(){
for(uint256 i = 0; i < addrs.length; i++){
address addr = addrs[i];
if(!blacklist[addr]){
continue;
}
blacklist[addr] = false;
}
}
function AddWhiteList(address[] memory addrs)
public
IsAdmin(){
for(uint256 i = 0; i < addrs.length; i++){
address addr = addrs[i];
if(whitelist[addr]){
continue;
}
whitelist[addr] = true;
}
}
function DelWhiteList(address[] memory addrs)
public
IsAdmin(){
for(uint256 i = 0; i < addrs.length; i++){
address addr = addrs[i];
if(!whitelist[addr] ){
continue;
}
whitelist[addr] = false;
}
}
function ChangeMode(Erc777ModeType mode)
public
IsAdmin(){
erc777Mode = mode;
}
function FreezeAddr(address[] memory addrs)
public
IsAdmin(){
for(uint256 i = 0; i < addrs.length; i++){
address addr = addrs[i];
if(_freezeAddress[addr] == true){
continue;
}
_freezeAddress[addr] = true;
}
}
function UnfreezeAddr(address[] memory addrs)
public
IsAdmin(){
for(uint256 i = 0; i < addrs.length; i++){
address addr = addrs[i];
if(_freezeAddress[addr] == false){
continue;
}
_freezeAddress[addr] = false;
}
}
//////////////////// event
event BurnedCRFICFil(address indexed account,
uint256 amount,
bytes data);
//////////////////// interface implement
/**
* @dev See {IERC777-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC777-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {ERC20-decimals}.
*
* Always returns 18, as per the
* [ERC777 EIP](https://eips.ethereum.org/EIPS/eip-777#backward-compatibility).
*/
function decimals() public pure virtual returns (uint8) {
return 18;
}
/**
* @dev See {IERC777-granularity}.
*
* This implementation always returns `1`.
*/
function granularity() public view virtual override returns (uint256) {
return 1;
}
/**
* @dev See {IERC777-totalSupply}.
*/
function totalSupply() public view virtual override(IERC20, IERC777) returns (uint256) {
return _totalSupply;
}
/**
* @dev Returns the amount of tokens owned by an account (`tokenHolder`).
*/
function balanceOf(address tokenHolder) public view virtual override(IERC20, IERC777) returns (uint256) {
return _balances[tokenHolder];
}
function tokensReceived(
address operator,
address from,
address to,
uint256 amount,
bytes calldata userData,
bytes calldata operatorData)
public
override
nonReentrant(){
require(msg.sender == address(CRFI), "only receive CRFI");
require(burnCFilRateCRFI > 0, "burn cfil rate CRFI is zero, should use burn directly");
uint256 burnCFil = _calcBurnCFil(amount);
require(balanceOf(from) >= burnCFil, "not enough cfil");
_burn(from, burnCFil, userData, operatorData);
CRFI.burn(amount, userData);
// for ensure call this method;
_emitBurn(from, burnCFil, userData);
}
/**
* @dev See {IERC777-send}.
*
* Also emits a {IERC20-Transfer} event for ERC20 compatibility.
*/
function send(address recipient, uint256 amount, bytes memory data) public virtual override CheckFreeze(_msgSender()){
_send(_msgSender(), recipient, amount, data, "", true);
}
/**
* @dev See {IERC20-transfer}.
*
* Unlike `send`, `recipient` is _not_ required to implement the {IERC777Recipient}
* interface if it is a contract.
*
* Also emits a {Sent} event.
*/
function transfer(address recipient, uint256 amount)
public
virtual
override
CheckFreeze(_msgSender())
returns (bool) {
require(recipient != address(0), "ERC777: transfer to the zero address");
address from = _msgSender();
bool erc777Enable = _enableERC777(from, recipient);
if(erc777Enable){
_callTokensToSend(from, from, recipient, amount, "", "");
}
_move(from, from, recipient, amount, "", "", erc777Enable);
if(erc777Enable){
_callTokensReceived(from, from, recipient, amount, "", "", false);
}
return true;
}
/**
* @dev See {IERC777-burn}.
*
* Also emits a {IERC20-Transfer} event for ERC20 compatibility.
*/
function burn(uint256 amount, bytes memory data) public virtual override CheckFreeze(_msgSender()){
_burn(_msgSender(), amount, data, "");
if(burnCFilRateCRFI == 0){
_emitBurn(_msgSender(), amount, data);
}
}
/**
* @dev See {IERC777-isOperatorFor}.
*/
function isOperatorFor(address operator, address tokenHolder) public view virtual override returns (bool) {
return operator == tokenHolder ||
(_defaultOperators[operator] && !_revokedDefaultOperators[tokenHolder][operator]) ||
_operators[tokenHolder][operator];
}
/**
* @dev See {IERC777-authorizeOperator}.
*/
function authorizeOperator(address operator) public virtual override {
require(_msgSender() != operator, "ERC777: authorizing self as operator");
if (_defaultOperators[operator]) {
delete _revokedDefaultOperators[_msgSender()][operator];
} else {
_operators[_msgSender()][operator] = true;
}
emit AuthorizedOperator(operator, _msgSender());
}
/**
* @dev See {IERC777-revokeOperator}.
*/
function revokeOperator(address operator) public virtual override {
require(operator != _msgSender(), "ERC777: revoking self as operator");
if (_defaultOperators[operator]) {
_revokedDefaultOperators[_msgSender()][operator] = true;
} else {
delete _operators[_msgSender()][operator];
}
emit RevokedOperator(operator, _msgSender());
}
/**
* @dev See {IERC777-defaultOperators}.
*/
function defaultOperators() public view virtual override returns (address[] memory) {
return _defaultOperatorsArray;
}
/**
* @dev See {IERC777-operatorSend}.
*
* Emits {Sent} and {IERC20-Transfer} events.
*/
function operatorSend(
address sender,
address recipient,
uint256 amount,
bytes memory data,
bytes memory operatorData
)
public
virtual
override
CheckFreeze(sender)
{
require(isOperatorFor(_msgSender(), sender), "ERC777: caller is not an operator for holder");
_send(sender, recipient, amount, data, operatorData, true);
}
/**
* @dev See {IERC777-operatorBurn}.
*
* Emits {Burned} and {IERC20-Transfer} events.
*/
function operatorBurn(address account, uint256 amount, bytes memory data, bytes memory operatorData) public virtual override CheckFreeze(account){
require(isOperatorFor(_msgSender(), account), "ERC777: caller is not an operator for holder");
_burn(account, amount, data, operatorData);
}
/**
* @dev See {IERC20-allowance}.
*
* Note that operator and allowance concepts are orthogonal: operators may
* not have allowance, and accounts with allowance may not be operators
* themselves.
*/
function allowance(address holder, address spender) public view virtual override returns (uint256) {
return _allowances[holder][spender];
}
/**
* @dev See {IERC20-approve}.
*
* Note that accounts cannot have allowance issued by their operators.
*/
function approve(address spender, uint256 value) public virtual override returns (bool) {
address holder = _msgSender();
_approve(holder, spender, value);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Note that operator and allowance concepts are orthogonal: operators cannot
* call `transferFrom` (unless they have allowance), and accounts with
* allowance cannot call `operatorSend` (unless they are operators).
*
* Emits {Sent}, {IERC20-Transfer} and {IERC20-Approval} events.
*/
function transferFrom(address holder, address recipient, uint256 amount) public virtual override CheckFreeze(holder) returns (bool) {
require(recipient != address(0), "ERC777: transfer to the zero address");
require(holder != address(0), "ERC777: transfer from the zero address");
address spender = _msgSender();
bool erc777Enable = _enableERC777(holder, recipient);
if(erc777Enable){
_callTokensToSend(spender, holder, recipient, amount, "", "");
}
_move(spender, holder, recipient, amount, "", "", erc777Enable);
_approve(holder, spender, _allowances[holder][spender].sub(amount, "ERC777: transfer amount exceeds allowance"));
if(erc777Enable){
_callTokensReceived(spender, holder, recipient, amount, "", "", false);
}
return true;
}
function mint(address account,
uint256 amount,
bytes memory userData)
public
IsAdmin(){
_mint(account, amount, userData, "");
}
/**
* @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* If a send hook is registered for `account`, the corresponding function
* will be called with `operator`, `data` and `operatorData`.
*
* See {IERC777Sender} and {IERC777Recipient}.
*
* Emits {Minted} and {IERC20-Transfer} events.
*
* Requirements
*
* - `account` cannot be the zero address.
* - if `account` is a contract, it must implement the {IERC777Recipient}
* interface.
*/
function _mint(
address account,
uint256 amount,
bytes memory userData,
bytes memory operatorData
)
internal
virtual
{
require(account != address(0), "ERC777: mint to the zero address");
address operator = _msgSender();
_beforeTokenTransfer(operator, address(0), account, amount);
// Update state variables
_totalSupply = _totalSupply.add(amount);
_balances[account] = _balances[account].add(amount);
_callTokensReceived(operator, address(0), account, amount, userData, operatorData, true);
emit Minted(operator, account, amount, userData, operatorData);
emit Transfer(address(0), account, amount);
}
/**
* @dev Send tokens
* @param from address token holder address
* @param to address recipient address
* @param amount uint256 amount of tokens to transfer
* @param userData bytes extra information provided by the token holder (if any)
* @param operatorData bytes extra information provided by the operator (if any)
* @param requireReceptionAck if true, contract recipients are required to implement ERC777TokensRecipient
*/
function _send(
address from,
address to,
uint256 amount,
bytes memory userData,
bytes memory operatorData,
bool requireReceptionAck
)
internal
virtual
{
require(from != address(0), "ERC777: send from the zero address");
require(to != address(0), "ERC777: send to the zero address");
address operator = _msgSender();
_callTokensToSend(operator, from, to, amount, userData, operatorData);
_move(operator, from, to, amount, userData, operatorData, true);
_callTokensReceived(operator, from, to, amount, userData, operatorData, requireReceptionAck);
}
/**
* @dev Burn tokens
* @param from address token holder address
* @param amount uint256 amount of tokens to burn
* @param data bytes extra information provided by the token holder
* @param operatorData bytes extra information provided by the operator (if any)
*/
function _burn(
address from,
uint256 amount,
bytes memory data,
bytes memory operatorData
)
internal
virtual
{
require(from != address(0), "ERC777: burn from the zero address");
address operator = _msgSender();
_callTokensToSend(operator, from, address(0), amount, data, operatorData);
_beforeTokenTransfer(operator, from, address(0), amount);
// Update state variables
_balances[from] = _balances[from].sub(amount, "ERC777: burn amount exceeds balance");
_totalSupply = _totalSupply.sub(amount);
emit Burned(operator, from, amount, data, operatorData);
emit Transfer(from, address(0), amount);
}
function _move(
address operator,
address from,
address to,
uint256 amount,
bytes memory userData,
bytes memory operatorData,
bool erc777Enable
)
private
{
if(erc777Enable){
_beforeTokenTransfer(operator, from, to, amount);
}
_balances[from] = _balances[from].sub(amount, "ERC777: transfer amount exceeds balance");
_balances[to] = _balances[to].add(amount);
emit Sent(operator, from, to, amount, userData, operatorData);
emit Transfer(from, to, amount);
}
/**
* @dev See {ERC20-_approve}.
*
* Note that accounts cannot have allowance issued by their operators.
*/
function _approve(address holder, address spender, uint256 value) internal {
require(holder != address(0), "ERC777: approve from the zero address");
require(spender != address(0), "ERC777: approve to the zero address");
_allowances[holder][spender] = value;
emit Approval(holder, spender, value);
}
/**
* @dev Call from.tokensToSend() if the interface is registered
* @param operator address operator requesting the transfer
* @param from address token holder address
* @param to address recipient address
* @param amount uint256 amount of tokens to transfer
* @param userData bytes extra information provided by the token holder (if any)
* @param operatorData bytes extra information provided by the operator (if any)
*/
function _callTokensToSend(
address operator,
address from,
address to,
uint256 amount,
bytes memory userData,
bytes memory operatorData
)
private
{
address implementer = _ERC1820_REGISTRY.getInterfaceImplementer(from, _TOKENS_SENDER_INTERFACE_HASH);
if (implementer != address(0)) {
IERC777Sender(implementer).tokensToSend(operator, from, to, amount, userData, operatorData);
}
}
/**
* @dev Call to.tokensReceived() if the interface is registered. Reverts if the recipient is a contract but
* tokensReceived() was not registered for the recipient
* @param operator address operator requesting the transfer
* @param from address token holder address
* @param to address recipient address
* @param amount uint256 amount of tokens to transfer
* @param userData bytes extra information provided by the token holder (if any)
* @param operatorData bytes extra information provided by the operator (if any)
* @param requireReceptionAck if true, contract recipients are required to implement ERC777TokensRecipient
*/
function _callTokensReceived(
address operator,
address from,
address to,
uint256 amount,
bytes memory userData,
bytes memory operatorData,
bool requireReceptionAck
)
private
{
address implementer = _ERC1820_REGISTRY.getInterfaceImplementer(to, _TOKENS_RECIPIENT_INTERFACE_HASH);
if (implementer != address(0)) {
IERC777Recipient(implementer).tokensReceived(operator, from, to, amount, userData, operatorData);
} else if (requireReceptionAck) {
require(!to.isContract(), "ERC777: token recipient contract has no implementer for ERC777TokensRecipient");
}
}
/**
* @dev Hook that is called before any token transfer. This includes
* calls to {send}, {transfer}, {operatorSend}, minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be to transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address operator, address from, address to, uint256 amount) internal virtual { }
function _enableERC777(address from, address to)
internal
view
returns(bool){
if(erc777Mode == Erc777ModeType.disabled){
return false;
}
if(erc777Mode == Erc777ModeType.enabled){
return true;
}
if(erc777Mode == Erc777ModeType.whitelist){
return whitelist[from] || whitelist[to];
}
if(erc777Mode == Erc777ModeType.blacklist){
return (!blacklist[from]) && (!blacklist[to]);
}
return false;
}
function _calcBurnCFil(uint256 CRFINum)
public
view
returns(uint256 CFilNum){
return CRFINum.mul(calcDecimals) / burnCFilRateCRFI;
}
function _calcNeedBurnCRFI(uint256 CFilNum)
public
view
returns(uint256 CRFINum){
return CFilNum.mul(burnCFilRateCRFI) / calcDecimals;
}
function _emitBurn(address from, uint256 amount, bytes memory data)
internal{
require(amount >= burnCFilFee, "amount <= burnCFilFee");
require(data.length > 0, "no user data");
amount = amount.sub(burnCFilFee);
if(amount > 0){
emit BurnedCRFICFil(from, amount, data);
}
}
}
Compiler Settings
{"remappings":[],"optimizer":{"runs":200,"enabled":true},"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"evmVersion":"istanbul","compilationTarget":{"all_cfil.sol":"CFil"}}
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address[]","name":"defaultOperators_","internalType":"address[]"},{"type":"address","name":"CRFIAddr","internalType":"address"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"AuthorizedOperator","inputs":[{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"address","name":"tokenHolder","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Burned","inputs":[{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false},{"type":"bytes","name":"data","internalType":"bytes","indexed":false},{"type":"bytes","name":"operatorData","internalType":"bytes","indexed":false}],"anonymous":false},{"type":"event","name":"BurnedCRFICFil","inputs":[{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false},{"type":"bytes","name":"data","internalType":"bytes","indexed":false}],"anonymous":false},{"type":"event","name":"Minted","inputs":[{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false},{"type":"bytes","name":"data","internalType":"bytes","indexed":false},{"type":"bytes","name":"operatorData","internalType":"bytes","indexed":false}],"anonymous":false},{"type":"event","name":"RevokedOperator","inputs":[{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"address","name":"tokenHolder","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Sent","inputs":[{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false},{"type":"bytes","name":"data","internalType":"bytes","indexed":false},{"type":"bytes","name":"operatorData","internalType":"bytes","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"AddAdmin","inputs":[{"type":"address","name":"adminAddr","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"AddBlackList","inputs":[{"type":"address[]","name":"addrs","internalType":"address[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"AddWhiteList","inputs":[{"type":"address[]","name":"addrs","internalType":"address[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"ChangeBurnCFilFee","inputs":[{"type":"uint256","name":"fee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"ChangeBurnCFilRateCRFI","inputs":[{"type":"uint256","name":"rate","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"ChangeMode","inputs":[{"type":"uint8","name":"mode","internalType":"enum CFil.Erc777ModeType"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"ChangeSuperAdmin","inputs":[{"type":"address","name":"suAdminAddr","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"DelAdmin","inputs":[{"type":"address","name":"adminAddr","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"DelBlackList","inputs":[{"type":"address[]","name":"addrs","internalType":"address[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"DelWhiteList","inputs":[{"type":"address[]","name":"addrs","internalType":"address[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"FreezeAddr","inputs":[{"type":"address[]","name":"addrs","internalType":"address[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"UnfreezeAddr","inputs":[{"type":"address[]","name":"addrs","internalType":"address[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"CFilNum","internalType":"uint256"}],"name":"_calcBurnCFil","inputs":[{"type":"uint256","name":"CRFINum","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"CRFINum","internalType":"uint256"}],"name":"_calcNeedBurnCRFI","inputs":[{"type":"uint256","name":"CFilNum","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"admins","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"holder","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"authorizeOperator","inputs":[{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"tokenHolder","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"blacklist","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"burnCFilFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"burnCFilRateCRFI","inputs":[]},{"type":"function","stateMutability":"pure","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address[]","name":"","internalType":"address[]"}],"name":"defaultOperators","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"enum CFil.Erc777ModeType"}],"name":"erc777Mode","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"granularity","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isOperatorFor","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"address","name":"tokenHolder","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"bytes","name":"userData","internalType":"bytes"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"operatorBurn","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"bytes","name":"data","internalType":"bytes"},{"type":"bytes","name":"operatorData","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"operatorSend","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"bytes","name":"data","internalType":"bytes"},{"type":"bytes","name":"operatorData","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"revokeOperator","inputs":[{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"send","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"superAdmin","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"tokensReceived","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"bytes","name":"userData","internalType":"bytes"},{"type":"bytes","name":"operatorData","internalType":"bytes"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"holder","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"whitelist","inputs":[{"type":"address","name":"","internalType":"address"}]}]
Contract Creation Code
0x60806040523480156200001157600080fd5b506040516200419a3803806200419a833981810160405260408110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82518660208202830111640100000000821117156200008c57600080fd5b82525081516020918201928201910280838360005b83811015620000bb578181015183820152602001620000a1565b50505050919091016040525060209081015160016000559250620000f491506001600160a01b038316906200282262000421821b17901c565b62000137576040805162461bcd60e51b815260206004820152600e60248201526d21a92324a0b232391032b93937b960911b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0383161790556040805180820190915260048082526310d1925360e21b60209092019182526200017f91600991620004b1565b506040805180820190915260048082526310d1925360e21b6020909201918252620001ad91600a91620004b1565b508151620001c390600d90602085019062000546565b5060005b600d5481101562000223576001600e6000600d8481548110620001e657fe5b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff1916911515919091179055600101620001c7565b50604080516329965a1d60e01b815230600482018190527fac7fbab5f54a3ca8194167523c6753bfeb96a445279294b6125b68cce2177054602483015260448201529051731820a4b7618bde71dce8cdc73aab6c95905fad24916329965a1d91606480830192600092919082900301818387803b158015620002a457600080fd5b505af1158015620002b9573d6000803e3d6000fd5b5050604080516329965a1d60e01b815230600482018190527faea199e31a596269b42cdafd93407f14436db6e4cad65417994c2eb37381e05a602483015260448201529051731820a4b7618bde71dce8cdc73aab6c95905fad2493506329965a1d9250606480830192600092919082900301818387803b1580156200033d57600080fd5b505af115801562000352573d6000803e3d6000fd5b5050600280546001600160a01b0319163317905550620003759050600062000427565b662386f26fc10000601155604080516329965a1d60e01b815230600482018190527fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b602483015260448201529051731820a4b7618bde71dce8cdc73aab6c95905fad24916329965a1d91606482810192600092919082900301818387803b1580156200040057600080fd5b505af115801562000415573d6000803e3d6000fd5b505050505050620005b5565b3b151590565b6002546001600160a01b0316331480620004505750336000908152600360205260409020546001145b6200048f576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b6004805482919060ff19166001836003811115620004a957fe5b021790555050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620004e9576000855562000534565b82601f106200050457805160ff191683800117855562000534565b8280016001018555821562000534579182015b828111156200053457825182559160200191906001019062000517565b50620005429291506200059e565b5090565b82805482825590600052602060002090810192821562000534579160200282015b828111156200053457825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000567565b5b808211156200054257600081556001016200059f565b613bd580620005c56000396000f3fe608060405234801561001057600080fd5b50600436106102525760003560e01c806370a0823111610146578063b6932914116100c3578063dd62ed3e11610087578063dd62ed3e14610d07578063e6a3c37714610d35578063f9f92be414610dd6578063fad8b32a14610dfc578063fc673c4f14610e22578063fe9d930314610f6057610252565b8063b693291414610bd8578063b9ee753414610bfe578063c4d21b1e14610c1b578063c505409114610c38578063d95b637114610cd957610252565b806395d89b411161010a57806395d89b4114610a9f5780639b19251a14610aa75780639bd9bbc614610acd578063a9059cbb14610b86578063ad6de44514610bb257610252565b806370a08231146108d0578063782ab642146108f657806391af82a31461099757806394d008ef146109c0578063959b8c3f14610a7957610252565b806329575f6a116101d457806351c595f41161019857806351c595f4146106b9578063556f0dc7146106c157806362ad1b83146106c957806368b18d71146108125780636e3c4e24146108b357610252565b806329575f6a14610590578063313ce567146105b457806331a21fc6146105d25780633920521a14610673578063429b62e51461069357610252565b806318160ddd1161021b57806318160ddd1461047a5780631a5653a31461049457806323b872dd1461049c5780632572ac57146104d2578063258ba0361461057357610252565b806223de291461025757806306e485381461033f57806306fdde0314610397578063095ea7b31461041457806312efe4b314610454575b600080fd5b61033d600480360360c081101561026d57600080fd5b6001600160a01b03823581169260208101358216926040820135909216916060820135919081019060a081016080820135600160201b8111156102af57600080fd5b8201836020820111156102c157600080fd5b803590602001918460018302840111600160201b831117156102e257600080fd5b919390929091602081019035600160201b8111156102ff57600080fd5b82018360208201111561031157600080fd5b803590602001918460018302840111600160201b8311171561033257600080fd5b50909250905061100b565b005b6103476112b6565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561038357818101518382015260200161036b565b505050509050019250505060405180910390f35b61039f611318565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103d95781810151838201526020016103c1565b50505050905090810190601f1680156104065780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104406004803603604081101561042a57600080fd5b506001600160a01b0381351690602001356113a5565b604080519115158252519081900360200190f35b61033d6004803603602081101561046a57600080fd5b50356001600160a01b03166113c9565b610482611490565b60408051918252519081900360200190f35b610482611496565b610440600480360360608110156104b257600080fd5b506001600160a01b0381358116916020810135909116906040013561149c565b61033d600480360360208110156104e857600080fd5b810190602081018135600160201b81111561050257600080fd5b82018360208201111561051457600080fd5b803590602001918460208302840111600160201b8311171561053557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611698945050505050565b61033d6004803603602081101561058957600080fd5b503561177a565b6105986117e5565b604080516001600160a01b039092168252519081900360200190f35b6105bc6117f4565b6040805160ff9092168252519081900360200190f35b61033d600480360360208110156105e857600080fd5b810190602081018135600160201b81111561060257600080fd5b82018360208201111561061457600080fd5b803590602001918460208302840111600160201b8311171561063557600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506117f9945050505050565b61033d6004803603602081101561068957600080fd5b503560ff166118db565b610482600480360360208110156106a957600080fd5b50356001600160a01b0316611962565b610482611974565b61048261197a565b61033d600480360360a08110156106df57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561071957600080fd5b82018360208201111561072b57600080fd5b803590602001918460018302840111600160201b8311171561074c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561079e57600080fd5b8201836020820111156107b057600080fd5b803590602001918460018302840111600160201b831117156107d157600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061197f945050505050565b61033d6004803603602081101561082857600080fd5b810190602081018135600160201b81111561084257600080fd5b82018360208201111561085457600080fd5b803590602001918460208302840111600160201b8311171561087557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611a46945050505050565b610482600480360360208110156108c957600080fd5b5035611b24565b610482600480360360208110156108e657600080fd5b50356001600160a01b0316611b52565b61033d6004803603602081101561090c57600080fd5b810190602081018135600160201b81111561092657600080fd5b82018360208201111561093857600080fd5b803590602001918460208302840111600160201b8311171561095957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611b6d945050505050565b61099f611c4f565b604051808260038111156109af57fe5b815260200191505060405180910390f35b61033d600480360360608110156109d657600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b811115610a0557600080fd5b820183602082011115610a1757600080fd5b803590602001918460018302840111600160201b83111715610a3857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611c58945050505050565b61033d60048036036020811015610a8f57600080fd5b50356001600160a01b0316611cde565b61039f611e2a565b61044060048036036020811015610abd57600080fd5b50356001600160a01b0316611e8b565b61033d60048036036060811015610ae357600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b811115610b1257600080fd5b820183602082011115610b2457600080fd5b803590602001918460018302840111600160201b83111715610b4557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611ea0945050505050565b61044060048036036040811015610b9c57600080fd5b506001600160a01b038135169060200135611f35565b61033d60048036036020811015610bc857600080fd5b50356001600160a01b031661209f565b61033d60048036036020811015610bee57600080fd5b50356001600160a01b0316612172565b61033d60048036036020811015610c1457600080fd5b5035612244565b61048260048036036020811015610c3157600080fd5b50356122af565b61033d60048036036020811015610c4e57600080fd5b810190602081018135600160201b811115610c6857600080fd5b820183602082011115610c7a57600080fd5b803590602001918460208302840111600160201b83111715610c9b57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506122c7945050505050565b61044060048036036040811015610cef57600080fd5b506001600160a01b03813581169160200135166123ae565b61048260048036036040811015610d1d57600080fd5b506001600160a01b0381358116916020013516612450565b61033d60048036036020811015610d4b57600080fd5b810190602081018135600160201b811115610d6557600080fd5b820183602082011115610d7757600080fd5b803590602001918460208302840111600160201b83111715610d9857600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061247b945050505050565b61044060048036036020811015610dec57600080fd5b50356001600160a01b0316612559565b61033d60048036036020811015610e1257600080fd5b50356001600160a01b031661256e565b61033d60048036036080811015610e3857600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b811115610e6757600080fd5b820183602082011115610e7957600080fd5b803590602001918460018302840111600160201b83111715610e9a57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610eec57600080fd5b820183602082011115610efe57600080fd5b803590602001918460018302840111600160201b83111715610f1f57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506126ba945050505050565b61033d60048036036040811015610f7657600080fd5b81359190810190604081016020820135600160201b811115610f9757600080fd5b820183602082011115610fa957600080fd5b803590602001918460018302840111600160201b83111715610fca57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061277d945050505050565b60026000541415611063576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000556001546001600160a01b031633146110bb576040805162461bcd60e51b81526020600482015260116024820152706f6e6c792072656365697665204352464960781b604482015290519081900360640190fd5b6000601154116110fc5760405162461bcd60e51b81526004018080602001828103825260358152602001806139b16035913960400191505060405180910390fd5b6000611107866122af565b90508061111389611b52565b1015611158576040805162461bcd60e51b815260206004820152600f60248201526e1b9bdd08195b9bdd59da0818d99a5b608a1b604482015290519081900360640190fd5b6111cd888287878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8b01819004810282018101909252898152925089915088908190840183828082843760009201919091525061282892505050565b6001546040805163fe9d930360e01b81526004810189815260248201928352604482018890526001600160a01b039093169263fe9d9303928a928a928a929091606401848480828437600081840152601f19601f820116905080830192505050945050505050600060405180830381600087803b15801561124d57600080fd5b505af1158015611261573d6000803e3d6000fd5b505050506112a6888287878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612a6292505050565b5050600160005550505050505050565b6060600d80548060200260200160405190810160405280929190818152602001828054801561130e57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116112f0575b5050505050905090565b60098054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561130e5780601f106113795761010080835404028352916020019161130e565b820191906000526020600020905b81548152906001019060200180831161138757509395945050505050565b6000806113b0612bbc565b90506113bd818585612bc0565b60019150505b92915050565b6002546001600160a01b0316331461141b576040805162461bcd60e51b815260206004820152601060248201526f37b7363c9039bab832b91030b236b4b760811b604482015290519081900360640190fd5b6001600160a01b03811661146e576040805162461bcd60e51b815260206004820152601560248201527432b6b83a3c903732bb9039bab832b91030b236b4b760591b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60085490565b60125481565b6001600160a01b0383166000908152600c6020526040812054849060ff1615611500576040805162461bcd60e51b81526020600482015260116024820152706163636f756e7420697320667265657a6560781b604482015290519081900360640190fd5b6001600160a01b0384166115455760405162461bcd60e51b8152600401808060200182810382526024815260200180613abb6024913960400191505060405180910390fd5b6001600160a01b03851661158a5760405162461bcd60e51b8152600401808060200182810382526026815260200180613b346026913960400191505060405180910390fd5b6000611594612bbc565b905060006115a28787612cac565b905080156115d6576115d6828888886040518060200160405280600081525060405180602001604052806000815250612db7565b61160382888888604051806020016040528060008152506040518060200160405280600081525087612fe4565b611657878361165288604051806060016040528060298152602001613b0b602991396001600160a01b03808e166000908152600b60209081526040808320938c16835292905220549190613205565b612bc0565b801561168b5761168b828888886040518060200160405280600081525060405180602001604052806000815250600061329c565b5060019695505050505050565b6002546001600160a01b03163314806116c05750336000908152600360205260409020546001145b6116fe576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b60005b815181101561177657600082828151811061171857fe5b6020908102919091018101516001600160a01b0381166000908152600690925260409091205490915060ff1661174e575061176e565b6001600160a01b03166000908152600660205260409020805460ff191690555b600101611701565b5050565b6002546001600160a01b03163314806117a25750336000908152600360205260409020546001145b6117e0576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b601255565b6002546001600160a01b031681565b601290565b6002546001600160a01b03163314806118215750336000908152600360205260409020546001145b61185f576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b60005b815181101561177657600082828151811061187957fe5b6020908102919091018101516001600160a01b0381166000908152600690925260409091205490915060ff16156118b057506118d3565b6001600160a01b03166000908152600660205260409020805460ff191660011790555b600101611862565b6002546001600160a01b03163314806119035750336000908152600360205260409020546001145b611941576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b6004805482919060ff1916600183600381111561195a57fe5b021790555050565b60036020526000908152604090205481565b60115481565b600190565b6001600160a01b0385166000908152600c6020526040902054859060ff16156119e3576040805162461bcd60e51b81526020600482015260116024820152706163636f756e7420697320667265657a6560781b604482015290519081900360640190fd5b6119f46119ee612bbc565b876123ae565b611a2f5760405162461bcd60e51b815260040180806020018281038252602c815260200180613adf602c913960400191505060405180910390fd5b611a3e86868686866001613521565b505050505050565b6002546001600160a01b0316331480611a6e5750336000908152600360205260409020546001145b611aac576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b60005b8151811015611776576000828281518110611ac657fe5b6020908102919091018101516001600160a01b0381166000908152600590925260409091205490915060ff16611afc5750611b1c565b6001600160a01b03166000908152600560205260409020805460ff191690555b600101611aaf565b6000670de0b6b3a7640000611b44601154846135fa90919063ffffffff16565b81611b4b57fe5b0492915050565b6001600160a01b031660009081526007602052604090205490565b6002546001600160a01b0316331480611b955750336000908152600360205260409020546001145b611bd3576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b60005b8151811015611776576000828281518110611bed57fe5b6020908102919091018101516001600160a01b0381166000908152600590925260409091205490915060ff1615611c245750611c47565b6001600160a01b03166000908152600560205260409020805460ff191660011790555b600101611bd6565b60045460ff1681565b6002546001600160a01b0316331480611c805750336000908152600360205260409020546001145b611cbe576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b611cd983838360405180602001604052806000815250613653565b505050565b806001600160a01b0316611cf0612bbc565b6001600160a01b03161415611d365760405162461bcd60e51b8152600401808060200182810382526024815260200180613a086024913960400191505060405180910390fd5b6001600160a01b0381166000908152600e602052604090205460ff1615611d995760106000611d63612bbc565b6001600160a01b03908116825260208083019390935260409182016000908120918516815292529020805460ff19169055611de0565b6001600f6000611da7612bbc565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020805460ff19169115159190911790555b611de8612bbc565b6001600160a01b0316816001600160a01b03167ff4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f960405160405180910390a350565b600a8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561130e5780601f106113795761010080835404028352916020019161130e565b60066020526000908152604090205460ff1681565b611ea8612bbc565b6001600160a01b0381166000908152600c602052604090205460ff1615611f0a576040805162461bcd60e51b81526020600482015260116024820152706163636f756e7420697320667265657a6560781b604482015290519081900360640190fd5b611f2f611f15612bbc565b858585604051806020016040528060008152506001613521565b50505050565b6000611f3f612bbc565b6001600160a01b0381166000908152600c602052604090205460ff1615611fa1576040805162461bcd60e51b81526020600482015260116024820152706163636f756e7420697320667265657a6560781b604482015290519081900360640190fd5b6001600160a01b038416611fe65760405162461bcd60e51b8152600401808060200182810382526024815260200180613abb6024913960400191505060405180910390fd5b6000611ff0612bbc565b90506000611ffe8287612cac565b9050801561203257612032828388886040518060200160405280600081525060405180602001604052806000815250612db7565b61205f82838888604051806020016040528060008152506040518060200160405280600081525087612fe4565b801561209357612093828388886040518060200160405280600081525060405180602001604052806000815250600061329c565b50600195945050505050565b6002546001600160a01b031633146120f1576040805162461bcd60e51b815260206004820152601060248201526f37b7363c9039bab832b91030b236b4b760811b604482015290519081900360640190fd5b6001600160a01b03811660009081526003602052604090205415612155576040805162461bcd60e51b815260206004820152601660248201527530b63932b0b23c9030b232103a3434b99030b236b4b760511b604482015290519081900360640190fd5b6001600160a01b0316600090815260036020526040902060019055565b6002546001600160a01b031633146121c4576040805162461bcd60e51b815260206004820152601060248201526f37b7363c9039bab832b91030b236b4b760811b604482015290519081900360640190fd5b6001600160a01b03811660009081526003602052604090205460011461222a576040805162461bcd60e51b81526020600482015260166024820152753a3434b99030b232391034b9903737ba1030b236b4b760511b604482015290519081900360640190fd5b6001600160a01b0316600090815260036020526040812055565b6002546001600160a01b031633148061226c5750336000908152600360205260409020546001145b6122aa576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b601155565b601154600090611b4483670de0b6b3a76400006135fa565b6002546001600160a01b03163314806122ef5750336000908152600360205260409020546001145b61232d576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b60005b815181101561177657600082828151811061234757fe5b6020908102919091018101516001600160a01b0381166000908152600c90925260409091205490915060ff1615156001141561238357506123a6565b6001600160a01b03166000908152600c60205260409020805460ff191660011790555b600101612330565b6000816001600160a01b0316836001600160a01b0316148061241957506001600160a01b0383166000908152600e602052604090205460ff16801561241957506001600160a01b0380831660009081526010602090815260408083209387168352929052205460ff16155b8061244957506001600160a01b038083166000908152600f602090815260408083209387168352929052205460ff165b9392505050565b6001600160a01b039182166000908152600b6020908152604080832093909416825291909152205490565b6002546001600160a01b03163314806124a35750336000908152600360205260409020546001145b6124e1576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b60005b81518110156117765760008282815181106124fb57fe5b6020908102919091018101516001600160a01b0381166000908152600c90925260409091205490915060ff166125315750612551565b6001600160a01b03166000908152600c60205260409020805460ff191690555b6001016124e4565b60056020526000908152604090205460ff1681565b612576612bbc565b6001600160a01b0316816001600160a01b031614156125c65760405162461bcd60e51b8152600401808060200182810382526021815260200180613a2c6021913960400191505060405180910390fd5b6001600160a01b0381166000908152600e602052604090205460ff1615612632576001601060006125f5612bbc565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020805460ff1916911515919091179055612670565b600f600061263e612bbc565b6001600160a01b03908116825260208083019390935260409182016000908120918516815292529020805460ff191690555b612678612bbc565b6001600160a01b0316816001600160a01b03167f50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa160405160405180910390a350565b6001600160a01b0384166000908152600c6020526040902054849060ff161561271e576040805162461bcd60e51b81526020600482015260116024820152706163636f756e7420697320667265657a6560781b604482015290519081900360640190fd5b61272f612729612bbc565b866123ae565b61276a5760405162461bcd60e51b815260040180806020018281038252602c815260200180613adf602c913960400191505060405180910390fd5b61277685858585612828565b5050505050565b612785612bbc565b6001600160a01b0381166000908152600c602052604090205460ff16156127e7576040805162461bcd60e51b81526020600482015260116024820152706163636f756e7420697320667265657a6560781b604482015290519081900360640190fd5b6128096127f2612bbc565b848460405180602001604052806000815250612828565b601154611cd957611cd961281b612bbc565b8484612a62565b3b151590565b6001600160a01b03841661286d5760405162461bcd60e51b81526004018080602001828103825260228152602001806139e66022913960400191505060405180910390fd5b6000612877612bbc565b905061288881866000878787612db7565b6128958186600087611f2f565b6128d284604051806060016040528060238152602001613b5a602391396001600160a01b0388166000908152600760205260409020549190613205565b6001600160a01b0386166000908152600760205260409020556008546128f8908561388b565b600881905550846001600160a01b0316816001600160a01b03167fa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098868686604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b8381101561297d578181015183820152602001612965565b50505050905090810190601f1680156129aa5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b838110156129dd5781810151838201526020016129c5565b50505050905090810190601f168015612a0a5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a36040805185815290516000916001600160a01b038816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050505050565b601254821015612ab1576040805162461bcd60e51b8152602060048201526015602482015274616d6f756e74203c3d206275726e4346696c46656560581b604482015290519081900360640190fd5b6000815111612af6576040805162461bcd60e51b815260206004820152600c60248201526b6e6f2075736572206461746160a01b604482015290519081900360640190fd5b601254612b0490839061388b565b91508115611cd957826001600160a01b03167f7efac874f7fba47ca69d635804b82cedc8c9751a5b7d8102f99b307b3efeecf783836040518083815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612b7c578181015183820152602001612b64565b50505050905090810190601f168015612ba95780820380516001836020036101000a031916815260200191505b50935050505060405180910390a2505050565b3390565b6001600160a01b038316612c055760405162461bcd60e51b81526004018080602001828103825260258152602001806139436025913960400191505060405180910390fd5b6001600160a01b038216612c4a5760405162461bcd60e51b8152600401808060200182810382526023815260200180613b7d6023913960400191505060405180910390fd5b6001600160a01b038084166000818152600b6020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60008060045460ff166003811115612cc057fe5b1415612cce575060006113c3565b600360045460ff166003811115612ce157fe5b1415612cef575060016113c3565b600160045460ff166003811115612d0257fe5b1415612d4e576001600160a01b03831660009081526006602052604090205460ff1680612d4757506001600160a01b03821660009081526006602052604090205460ff165b90506113c3565b600260045460ff166003811115612d6157fe5b1415612dae576001600160a01b03831660009081526005602052604090205460ff16158015612d475750506001600160a01b03811660009081526005602052604090205460ff16156113c3565b50600092915050565b6040805163555ddc6560e11b81526001600160a01b03871660048201527f29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe89560248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b158015612e3b57600080fd5b505afa158015612e4f573d6000803e3d6000fd5b505050506040513d6020811015612e6557600080fd5b505190506001600160a01b03811615612fdb57806001600160a01b03166375ab97828888888888886040518763ffffffff1660e01b815260040180876001600160a01b03168152602001866001600160a01b03168152602001856001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015612f10578181015183820152602001612ef8565b50505050905090810190601f168015612f3d5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015612f70578181015183820152602001612f58565b50505050905090810190601f168015612f9d5780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b158015612fc257600080fd5b505af1158015612fd6573d6000803e3d6000fd5b505050505b50505050505050565b8015612ff657612ff687878787611f2f565b6130338460405180606001604052806027815260200161398a602791396001600160a01b0389166000908152600760205260409020549190613205565b6001600160a01b03808816600090815260076020526040808220939093559087168152205461306290856138e8565b60076000876001600160a01b03166001600160a01b0316815260200190815260200160002081905550846001600160a01b0316866001600160a01b0316886001600160a01b03167f06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987878787604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156131145781810151838201526020016130fc565b50505050905090810190601f1680156131415780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561317457818101518382015260200161315c565b50505050905090810190601f1680156131a15780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a4846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040518082815260200191505060405180910390a350505050505050565b600081848411156132945760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613259578181015183820152602001613241565b50505050905090810190601f1680156132865780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805163555ddc6560e11b81526001600160a01b03871660048201527fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b60248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b15801561332057600080fd5b505afa158015613334573d6000803e3d6000fd5b505050506040513d602081101561334a57600080fd5b505190506001600160a01b038116156134c357806001600160a01b03166223de298989898989896040518763ffffffff1660e01b815260040180876001600160a01b03168152602001866001600160a01b03168152602001856001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156133f45781810151838201526020016133dc565b50505050905090810190601f1680156134215780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561345457818101518382015260200161343c565b50505050905090810190601f1680156134815780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b1580156134a657600080fd5b505af11580156134ba573d6000803e3d6000fd5b50505050613517565b8115613517576134db866001600160a01b0316612822565b156135175760405162461bcd60e51b815260040180806020018281038252604d815260200180613a6e604d913960600191505060405180910390fd5b5050505050505050565b6001600160a01b0386166135665760405162461bcd60e51b81526004018080602001828103825260228152602001806139686022913960400191505060405180910390fd5b6001600160a01b0385166135c1576040805162461bcd60e51b815260206004820181905260248201527f4552433737373a2073656e6420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b60006135cb612bbc565b90506135db818888888888612db7565b6135eb8188888888886001612fe4565b612fdb8188888888888861329c565b600082613609575060006113c3565b8282028284828161361657fe5b04146124495760405162461bcd60e51b8152600401808060200182810382526021815260200180613a4d6021913960400191505060405180910390fd5b6001600160a01b0384166136ae576040805162461bcd60e51b815260206004820181905260248201527f4552433737373a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b60006136b8612bbc565b90506136c78160008787611f2f565b6008546136d490856138e8565b6008556001600160a01b0385166000908152600760205260409020546136fa90856138e8565b6001600160a01b03861660009081526007602052604081209190915561372790829087878787600161329c565b846001600160a01b0316816001600160a01b03167f2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d868686604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156137a657818101518382015260200161378e565b50505050905090810190601f1680156137d35780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b838110156138065781810151838201526020016137ee565b50505050905090810190601f1680156138335780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a36040805185815290516001600160a01b038716916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050505050565b6000828211156138e2576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082820183811015612449576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fdfe4552433737373a20617070726f76652066726f6d20746865207a65726f20616464726573734552433737373a2073656e642066726f6d20746865207a65726f20616464726573734552433737373a207472616e7366657220616d6f756e7420657863656564732062616c616e63656275726e206366696c20726174652043524649206973207a65726f2c2073686f756c6420757365206275726e206469726563746c794552433737373a206275726e2066726f6d20746865207a65726f20616464726573734552433737373a20617574686f72697a696e672073656c66206173206f70657261746f724552433737373a207265766f6b696e672073656c66206173206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433737373a20746f6b656e20726563697069656e7420636f6e747261637420686173206e6f20696d706c656d656e74657220666f7220455243373737546f6b656e73526563697069656e744552433737373a207472616e7366657220746f20746865207a65726f20616464726573734552433737373a2063616c6c6572206973206e6f7420616e206f70657261746f7220666f7220686f6c6465724552433737373a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654552433737373a207472616e736665722066726f6d20746865207a65726f20616464726573734552433737373a206275726e20616d6f756e7420657863656564732062616c616e63654552433737373a20617070726f766520746f20746865207a65726f2061646472657373a2646970667358221220c4474ec837d57b9b4af203841040431a603cbe99f4f2501ee547b0db8af4132a64736f6c6343000706003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000008848812bd31aeee33313c10a840ffc3169078c5b0000000000000000000000000000000000000000000000000000000000000000
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106102525760003560e01c806370a0823111610146578063b6932914116100c3578063dd62ed3e11610087578063dd62ed3e14610d07578063e6a3c37714610d35578063f9f92be414610dd6578063fad8b32a14610dfc578063fc673c4f14610e22578063fe9d930314610f6057610252565b8063b693291414610bd8578063b9ee753414610bfe578063c4d21b1e14610c1b578063c505409114610c38578063d95b637114610cd957610252565b806395d89b411161010a57806395d89b4114610a9f5780639b19251a14610aa75780639bd9bbc614610acd578063a9059cbb14610b86578063ad6de44514610bb257610252565b806370a08231146108d0578063782ab642146108f657806391af82a31461099757806394d008ef146109c0578063959b8c3f14610a7957610252565b806329575f6a116101d457806351c595f41161019857806351c595f4146106b9578063556f0dc7146106c157806362ad1b83146106c957806368b18d71146108125780636e3c4e24146108b357610252565b806329575f6a14610590578063313ce567146105b457806331a21fc6146105d25780633920521a14610673578063429b62e51461069357610252565b806318160ddd1161021b57806318160ddd1461047a5780631a5653a31461049457806323b872dd1461049c5780632572ac57146104d2578063258ba0361461057357610252565b806223de291461025757806306e485381461033f57806306fdde0314610397578063095ea7b31461041457806312efe4b314610454575b600080fd5b61033d600480360360c081101561026d57600080fd5b6001600160a01b03823581169260208101358216926040820135909216916060820135919081019060a081016080820135600160201b8111156102af57600080fd5b8201836020820111156102c157600080fd5b803590602001918460018302840111600160201b831117156102e257600080fd5b919390929091602081019035600160201b8111156102ff57600080fd5b82018360208201111561031157600080fd5b803590602001918460018302840111600160201b8311171561033257600080fd5b50909250905061100b565b005b6103476112b6565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561038357818101518382015260200161036b565b505050509050019250505060405180910390f35b61039f611318565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103d95781810151838201526020016103c1565b50505050905090810190601f1680156104065780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104406004803603604081101561042a57600080fd5b506001600160a01b0381351690602001356113a5565b604080519115158252519081900360200190f35b61033d6004803603602081101561046a57600080fd5b50356001600160a01b03166113c9565b610482611490565b60408051918252519081900360200190f35b610482611496565b610440600480360360608110156104b257600080fd5b506001600160a01b0381358116916020810135909116906040013561149c565b61033d600480360360208110156104e857600080fd5b810190602081018135600160201b81111561050257600080fd5b82018360208201111561051457600080fd5b803590602001918460208302840111600160201b8311171561053557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611698945050505050565b61033d6004803603602081101561058957600080fd5b503561177a565b6105986117e5565b604080516001600160a01b039092168252519081900360200190f35b6105bc6117f4565b6040805160ff9092168252519081900360200190f35b61033d600480360360208110156105e857600080fd5b810190602081018135600160201b81111561060257600080fd5b82018360208201111561061457600080fd5b803590602001918460208302840111600160201b8311171561063557600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506117f9945050505050565b61033d6004803603602081101561068957600080fd5b503560ff166118db565b610482600480360360208110156106a957600080fd5b50356001600160a01b0316611962565b610482611974565b61048261197a565b61033d600480360360a08110156106df57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561071957600080fd5b82018360208201111561072b57600080fd5b803590602001918460018302840111600160201b8311171561074c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561079e57600080fd5b8201836020820111156107b057600080fd5b803590602001918460018302840111600160201b831117156107d157600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061197f945050505050565b61033d6004803603602081101561082857600080fd5b810190602081018135600160201b81111561084257600080fd5b82018360208201111561085457600080fd5b803590602001918460208302840111600160201b8311171561087557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611a46945050505050565b610482600480360360208110156108c957600080fd5b5035611b24565b610482600480360360208110156108e657600080fd5b50356001600160a01b0316611b52565b61033d6004803603602081101561090c57600080fd5b810190602081018135600160201b81111561092657600080fd5b82018360208201111561093857600080fd5b803590602001918460208302840111600160201b8311171561095957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611b6d945050505050565b61099f611c4f565b604051808260038111156109af57fe5b815260200191505060405180910390f35b61033d600480360360608110156109d657600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b811115610a0557600080fd5b820183602082011115610a1757600080fd5b803590602001918460018302840111600160201b83111715610a3857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611c58945050505050565b61033d60048036036020811015610a8f57600080fd5b50356001600160a01b0316611cde565b61039f611e2a565b61044060048036036020811015610abd57600080fd5b50356001600160a01b0316611e8b565b61033d60048036036060811015610ae357600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b811115610b1257600080fd5b820183602082011115610b2457600080fd5b803590602001918460018302840111600160201b83111715610b4557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611ea0945050505050565b61044060048036036040811015610b9c57600080fd5b506001600160a01b038135169060200135611f35565b61033d60048036036020811015610bc857600080fd5b50356001600160a01b031661209f565b61033d60048036036020811015610bee57600080fd5b50356001600160a01b0316612172565b61033d60048036036020811015610c1457600080fd5b5035612244565b61048260048036036020811015610c3157600080fd5b50356122af565b61033d60048036036020811015610c4e57600080fd5b810190602081018135600160201b811115610c6857600080fd5b820183602082011115610c7a57600080fd5b803590602001918460208302840111600160201b83111715610c9b57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506122c7945050505050565b61044060048036036040811015610cef57600080fd5b506001600160a01b03813581169160200135166123ae565b61048260048036036040811015610d1d57600080fd5b506001600160a01b0381358116916020013516612450565b61033d60048036036020811015610d4b57600080fd5b810190602081018135600160201b811115610d6557600080fd5b820183602082011115610d7757600080fd5b803590602001918460208302840111600160201b83111715610d9857600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061247b945050505050565b61044060048036036020811015610dec57600080fd5b50356001600160a01b0316612559565b61033d60048036036020811015610e1257600080fd5b50356001600160a01b031661256e565b61033d60048036036080811015610e3857600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b811115610e6757600080fd5b820183602082011115610e7957600080fd5b803590602001918460018302840111600160201b83111715610e9a57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610eec57600080fd5b820183602082011115610efe57600080fd5b803590602001918460018302840111600160201b83111715610f1f57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506126ba945050505050565b61033d60048036036040811015610f7657600080fd5b81359190810190604081016020820135600160201b811115610f9757600080fd5b820183602082011115610fa957600080fd5b803590602001918460018302840111600160201b83111715610fca57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061277d945050505050565b60026000541415611063576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000556001546001600160a01b031633146110bb576040805162461bcd60e51b81526020600482015260116024820152706f6e6c792072656365697665204352464960781b604482015290519081900360640190fd5b6000601154116110fc5760405162461bcd60e51b81526004018080602001828103825260358152602001806139b16035913960400191505060405180910390fd5b6000611107866122af565b90508061111389611b52565b1015611158576040805162461bcd60e51b815260206004820152600f60248201526e1b9bdd08195b9bdd59da0818d99a5b608a1b604482015290519081900360640190fd5b6111cd888287878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8b01819004810282018101909252898152925089915088908190840183828082843760009201919091525061282892505050565b6001546040805163fe9d930360e01b81526004810189815260248201928352604482018890526001600160a01b039093169263fe9d9303928a928a928a929091606401848480828437600081840152601f19601f820116905080830192505050945050505050600060405180830381600087803b15801561124d57600080fd5b505af1158015611261573d6000803e3d6000fd5b505050506112a6888287878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612a6292505050565b5050600160005550505050505050565b6060600d80548060200260200160405190810160405280929190818152602001828054801561130e57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116112f0575b5050505050905090565b60098054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561130e5780601f106113795761010080835404028352916020019161130e565b820191906000526020600020905b81548152906001019060200180831161138757509395945050505050565b6000806113b0612bbc565b90506113bd818585612bc0565b60019150505b92915050565b6002546001600160a01b0316331461141b576040805162461bcd60e51b815260206004820152601060248201526f37b7363c9039bab832b91030b236b4b760811b604482015290519081900360640190fd5b6001600160a01b03811661146e576040805162461bcd60e51b815260206004820152601560248201527432b6b83a3c903732bb9039bab832b91030b236b4b760591b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60085490565b60125481565b6001600160a01b0383166000908152600c6020526040812054849060ff1615611500576040805162461bcd60e51b81526020600482015260116024820152706163636f756e7420697320667265657a6560781b604482015290519081900360640190fd5b6001600160a01b0384166115455760405162461bcd60e51b8152600401808060200182810382526024815260200180613abb6024913960400191505060405180910390fd5b6001600160a01b03851661158a5760405162461bcd60e51b8152600401808060200182810382526026815260200180613b346026913960400191505060405180910390fd5b6000611594612bbc565b905060006115a28787612cac565b905080156115d6576115d6828888886040518060200160405280600081525060405180602001604052806000815250612db7565b61160382888888604051806020016040528060008152506040518060200160405280600081525087612fe4565b611657878361165288604051806060016040528060298152602001613b0b602991396001600160a01b03808e166000908152600b60209081526040808320938c16835292905220549190613205565b612bc0565b801561168b5761168b828888886040518060200160405280600081525060405180602001604052806000815250600061329c565b5060019695505050505050565b6002546001600160a01b03163314806116c05750336000908152600360205260409020546001145b6116fe576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b60005b815181101561177657600082828151811061171857fe5b6020908102919091018101516001600160a01b0381166000908152600690925260409091205490915060ff1661174e575061176e565b6001600160a01b03166000908152600660205260409020805460ff191690555b600101611701565b5050565b6002546001600160a01b03163314806117a25750336000908152600360205260409020546001145b6117e0576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b601255565b6002546001600160a01b031681565b601290565b6002546001600160a01b03163314806118215750336000908152600360205260409020546001145b61185f576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b60005b815181101561177657600082828151811061187957fe5b6020908102919091018101516001600160a01b0381166000908152600690925260409091205490915060ff16156118b057506118d3565b6001600160a01b03166000908152600660205260409020805460ff191660011790555b600101611862565b6002546001600160a01b03163314806119035750336000908152600360205260409020546001145b611941576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b6004805482919060ff1916600183600381111561195a57fe5b021790555050565b60036020526000908152604090205481565b60115481565b600190565b6001600160a01b0385166000908152600c6020526040902054859060ff16156119e3576040805162461bcd60e51b81526020600482015260116024820152706163636f756e7420697320667265657a6560781b604482015290519081900360640190fd5b6119f46119ee612bbc565b876123ae565b611a2f5760405162461bcd60e51b815260040180806020018281038252602c815260200180613adf602c913960400191505060405180910390fd5b611a3e86868686866001613521565b505050505050565b6002546001600160a01b0316331480611a6e5750336000908152600360205260409020546001145b611aac576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b60005b8151811015611776576000828281518110611ac657fe5b6020908102919091018101516001600160a01b0381166000908152600590925260409091205490915060ff16611afc5750611b1c565b6001600160a01b03166000908152600560205260409020805460ff191690555b600101611aaf565b6000670de0b6b3a7640000611b44601154846135fa90919063ffffffff16565b81611b4b57fe5b0492915050565b6001600160a01b031660009081526007602052604090205490565b6002546001600160a01b0316331480611b955750336000908152600360205260409020546001145b611bd3576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b60005b8151811015611776576000828281518110611bed57fe5b6020908102919091018101516001600160a01b0381166000908152600590925260409091205490915060ff1615611c245750611c47565b6001600160a01b03166000908152600560205260409020805460ff191660011790555b600101611bd6565b60045460ff1681565b6002546001600160a01b0316331480611c805750336000908152600360205260409020546001145b611cbe576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b611cd983838360405180602001604052806000815250613653565b505050565b806001600160a01b0316611cf0612bbc565b6001600160a01b03161415611d365760405162461bcd60e51b8152600401808060200182810382526024815260200180613a086024913960400191505060405180910390fd5b6001600160a01b0381166000908152600e602052604090205460ff1615611d995760106000611d63612bbc565b6001600160a01b03908116825260208083019390935260409182016000908120918516815292529020805460ff19169055611de0565b6001600f6000611da7612bbc565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020805460ff19169115159190911790555b611de8612bbc565b6001600160a01b0316816001600160a01b03167ff4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f960405160405180910390a350565b600a8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561130e5780601f106113795761010080835404028352916020019161130e565b60066020526000908152604090205460ff1681565b611ea8612bbc565b6001600160a01b0381166000908152600c602052604090205460ff1615611f0a576040805162461bcd60e51b81526020600482015260116024820152706163636f756e7420697320667265657a6560781b604482015290519081900360640190fd5b611f2f611f15612bbc565b858585604051806020016040528060008152506001613521565b50505050565b6000611f3f612bbc565b6001600160a01b0381166000908152600c602052604090205460ff1615611fa1576040805162461bcd60e51b81526020600482015260116024820152706163636f756e7420697320667265657a6560781b604482015290519081900360640190fd5b6001600160a01b038416611fe65760405162461bcd60e51b8152600401808060200182810382526024815260200180613abb6024913960400191505060405180910390fd5b6000611ff0612bbc565b90506000611ffe8287612cac565b9050801561203257612032828388886040518060200160405280600081525060405180602001604052806000815250612db7565b61205f82838888604051806020016040528060008152506040518060200160405280600081525087612fe4565b801561209357612093828388886040518060200160405280600081525060405180602001604052806000815250600061329c565b50600195945050505050565b6002546001600160a01b031633146120f1576040805162461bcd60e51b815260206004820152601060248201526f37b7363c9039bab832b91030b236b4b760811b604482015290519081900360640190fd5b6001600160a01b03811660009081526003602052604090205415612155576040805162461bcd60e51b815260206004820152601660248201527530b63932b0b23c9030b232103a3434b99030b236b4b760511b604482015290519081900360640190fd5b6001600160a01b0316600090815260036020526040902060019055565b6002546001600160a01b031633146121c4576040805162461bcd60e51b815260206004820152601060248201526f37b7363c9039bab832b91030b236b4b760811b604482015290519081900360640190fd5b6001600160a01b03811660009081526003602052604090205460011461222a576040805162461bcd60e51b81526020600482015260166024820152753a3434b99030b232391034b9903737ba1030b236b4b760511b604482015290519081900360640190fd5b6001600160a01b0316600090815260036020526040812055565b6002546001600160a01b031633148061226c5750336000908152600360205260409020546001145b6122aa576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b601155565b601154600090611b4483670de0b6b3a76400006135fa565b6002546001600160a01b03163314806122ef5750336000908152600360205260409020546001145b61232d576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b60005b815181101561177657600082828151811061234757fe5b6020908102919091018101516001600160a01b0381166000908152600c90925260409091205490915060ff1615156001141561238357506123a6565b6001600160a01b03166000908152600c60205260409020805460ff191660011790555b600101612330565b6000816001600160a01b0316836001600160a01b0316148061241957506001600160a01b0383166000908152600e602052604090205460ff16801561241957506001600160a01b0380831660009081526010602090815260408083209387168352929052205460ff16155b8061244957506001600160a01b038083166000908152600f602090815260408083209387168352929052205460ff165b9392505050565b6001600160a01b039182166000908152600b6020908152604080832093909416825291909152205490565b6002546001600160a01b03163314806124a35750336000908152600360205260409020546001145b6124e1576040805162461bcd60e51b815260206004820152600a60248201526937b7363c9030b236b4b760b11b604482015290519081900360640190fd5b60005b81518110156117765760008282815181106124fb57fe5b6020908102919091018101516001600160a01b0381166000908152600c90925260409091205490915060ff166125315750612551565b6001600160a01b03166000908152600c60205260409020805460ff191690555b6001016124e4565b60056020526000908152604090205460ff1681565b612576612bbc565b6001600160a01b0316816001600160a01b031614156125c65760405162461bcd60e51b8152600401808060200182810382526021815260200180613a2c6021913960400191505060405180910390fd5b6001600160a01b0381166000908152600e602052604090205460ff1615612632576001601060006125f5612bbc565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020805460ff1916911515919091179055612670565b600f600061263e612bbc565b6001600160a01b03908116825260208083019390935260409182016000908120918516815292529020805460ff191690555b612678612bbc565b6001600160a01b0316816001600160a01b03167f50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa160405160405180910390a350565b6001600160a01b0384166000908152600c6020526040902054849060ff161561271e576040805162461bcd60e51b81526020600482015260116024820152706163636f756e7420697320667265657a6560781b604482015290519081900360640190fd5b61272f612729612bbc565b866123ae565b61276a5760405162461bcd60e51b815260040180806020018281038252602c815260200180613adf602c913960400191505060405180910390fd5b61277685858585612828565b5050505050565b612785612bbc565b6001600160a01b0381166000908152600c602052604090205460ff16156127e7576040805162461bcd60e51b81526020600482015260116024820152706163636f756e7420697320667265657a6560781b604482015290519081900360640190fd5b6128096127f2612bbc565b848460405180602001604052806000815250612828565b601154611cd957611cd961281b612bbc565b8484612a62565b3b151590565b6001600160a01b03841661286d5760405162461bcd60e51b81526004018080602001828103825260228152602001806139e66022913960400191505060405180910390fd5b6000612877612bbc565b905061288881866000878787612db7565b6128958186600087611f2f565b6128d284604051806060016040528060238152602001613b5a602391396001600160a01b0388166000908152600760205260409020549190613205565b6001600160a01b0386166000908152600760205260409020556008546128f8908561388b565b600881905550846001600160a01b0316816001600160a01b03167fa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098868686604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b8381101561297d578181015183820152602001612965565b50505050905090810190601f1680156129aa5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b838110156129dd5781810151838201526020016129c5565b50505050905090810190601f168015612a0a5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a36040805185815290516000916001600160a01b038816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050505050565b601254821015612ab1576040805162461bcd60e51b8152602060048201526015602482015274616d6f756e74203c3d206275726e4346696c46656560581b604482015290519081900360640190fd5b6000815111612af6576040805162461bcd60e51b815260206004820152600c60248201526b6e6f2075736572206461746160a01b604482015290519081900360640190fd5b601254612b0490839061388b565b91508115611cd957826001600160a01b03167f7efac874f7fba47ca69d635804b82cedc8c9751a5b7d8102f99b307b3efeecf783836040518083815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612b7c578181015183820152602001612b64565b50505050905090810190601f168015612ba95780820380516001836020036101000a031916815260200191505b50935050505060405180910390a2505050565b3390565b6001600160a01b038316612c055760405162461bcd60e51b81526004018080602001828103825260258152602001806139436025913960400191505060405180910390fd5b6001600160a01b038216612c4a5760405162461bcd60e51b8152600401808060200182810382526023815260200180613b7d6023913960400191505060405180910390fd5b6001600160a01b038084166000818152600b6020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60008060045460ff166003811115612cc057fe5b1415612cce575060006113c3565b600360045460ff166003811115612ce157fe5b1415612cef575060016113c3565b600160045460ff166003811115612d0257fe5b1415612d4e576001600160a01b03831660009081526006602052604090205460ff1680612d4757506001600160a01b03821660009081526006602052604090205460ff165b90506113c3565b600260045460ff166003811115612d6157fe5b1415612dae576001600160a01b03831660009081526005602052604090205460ff16158015612d475750506001600160a01b03811660009081526005602052604090205460ff16156113c3565b50600092915050565b6040805163555ddc6560e11b81526001600160a01b03871660048201527f29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe89560248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b158015612e3b57600080fd5b505afa158015612e4f573d6000803e3d6000fd5b505050506040513d6020811015612e6557600080fd5b505190506001600160a01b03811615612fdb57806001600160a01b03166375ab97828888888888886040518763ffffffff1660e01b815260040180876001600160a01b03168152602001866001600160a01b03168152602001856001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015612f10578181015183820152602001612ef8565b50505050905090810190601f168015612f3d5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015612f70578181015183820152602001612f58565b50505050905090810190601f168015612f9d5780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b158015612fc257600080fd5b505af1158015612fd6573d6000803e3d6000fd5b505050505b50505050505050565b8015612ff657612ff687878787611f2f565b6130338460405180606001604052806027815260200161398a602791396001600160a01b0389166000908152600760205260409020549190613205565b6001600160a01b03808816600090815260076020526040808220939093559087168152205461306290856138e8565b60076000876001600160a01b03166001600160a01b0316815260200190815260200160002081905550846001600160a01b0316866001600160a01b0316886001600160a01b03167f06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987878787604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156131145781810151838201526020016130fc565b50505050905090810190601f1680156131415780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561317457818101518382015260200161315c565b50505050905090810190601f1680156131a15780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a4846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040518082815260200191505060405180910390a350505050505050565b600081848411156132945760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613259578181015183820152602001613241565b50505050905090810190601f1680156132865780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805163555ddc6560e11b81526001600160a01b03871660048201527fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b60248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b15801561332057600080fd5b505afa158015613334573d6000803e3d6000fd5b505050506040513d602081101561334a57600080fd5b505190506001600160a01b038116156134c357806001600160a01b03166223de298989898989896040518763ffffffff1660e01b815260040180876001600160a01b03168152602001866001600160a01b03168152602001856001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156133f45781810151838201526020016133dc565b50505050905090810190601f1680156134215780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561345457818101518382015260200161343c565b50505050905090810190601f1680156134815780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b1580156134a657600080fd5b505af11580156134ba573d6000803e3d6000fd5b50505050613517565b8115613517576134db866001600160a01b0316612822565b156135175760405162461bcd60e51b815260040180806020018281038252604d815260200180613a6e604d913960600191505060405180910390fd5b5050505050505050565b6001600160a01b0386166135665760405162461bcd60e51b81526004018080602001828103825260228152602001806139686022913960400191505060405180910390fd5b6001600160a01b0385166135c1576040805162461bcd60e51b815260206004820181905260248201527f4552433737373a2073656e6420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b60006135cb612bbc565b90506135db818888888888612db7565b6135eb8188888888886001612fe4565b612fdb8188888888888861329c565b600082613609575060006113c3565b8282028284828161361657fe5b04146124495760405162461bcd60e51b8152600401808060200182810382526021815260200180613a4d6021913960400191505060405180910390fd5b6001600160a01b0384166136ae576040805162461bcd60e51b815260206004820181905260248201527f4552433737373a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b60006136b8612bbc565b90506136c78160008787611f2f565b6008546136d490856138e8565b6008556001600160a01b0385166000908152600760205260409020546136fa90856138e8565b6001600160a01b03861660009081526007602052604081209190915561372790829087878787600161329c565b846001600160a01b0316816001600160a01b03167f2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d868686604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156137a657818101518382015260200161378e565b50505050905090810190601f1680156137d35780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b838110156138065781810151838201526020016137ee565b50505050905090810190601f1680156138335780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a36040805185815290516001600160a01b038716916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050505050565b6000828211156138e2576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082820183811015612449576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fdfe4552433737373a20617070726f76652066726f6d20746865207a65726f20616464726573734552433737373a2073656e642066726f6d20746865207a65726f20616464726573734552433737373a207472616e7366657220616d6f756e7420657863656564732062616c616e63656275726e206366696c20726174652043524649206973207a65726f2c2073686f756c6420757365206275726e206469726563746c794552433737373a206275726e2066726f6d20746865207a65726f20616464726573734552433737373a20617574686f72697a696e672073656c66206173206f70657261746f724552433737373a207265766f6b696e672073656c66206173206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433737373a20746f6b656e20726563697069656e7420636f6e747261637420686173206e6f20696d706c656d656e74657220666f7220455243373737546f6b656e73526563697069656e744552433737373a207472616e7366657220746f20746865207a65726f20616464726573734552433737373a2063616c6c6572206973206e6f7420616e206f70657261746f7220666f7220686f6c6465724552433737373a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654552433737373a207472616e736665722066726f6d20746865207a65726f20616464726573734552433737373a206275726e20616d6f756e7420657863656564732062616c616e63654552433737373a20617070726f766520746f20746865207a65726f2061646472657373a2646970667358221220c4474ec837d57b9b4af203841040431a603cbe99f4f2501ee547b0db8af4132a64736f6c63430007060033