1pragma solidity 0.8.17;2 3/**4 * @dev Provides information about the current execution context, including the5 * sender of the transaction and its data. While these are generally available6 * via msg.sender and msg.data, they should not be accessed in such a direct7 * manner, since when dealing with meta-transactions the account sending and8 * paying for execution may not be the actual sender (as far as an application9 * is concerned).10 *11 * This contract is only required for intermediate, library-like contracts.12 */13abstract contract Context {14 function _msgSender() internal view virtual returns (address) {15 return msg.sender;16 }17 18 function _msgData() internal view virtual returns (bytes calldata) {19 return msg.data;20 }21 22 function _contextSuffixLength() internal view virtual returns (uint256) {23 return 0;24 }25}26 27/**28 * @dev Contract module which provides a basic access control mechanism, where29 * there is an account (an owner) that can be granted exclusive access to30 * specific functions.31 *32 * By default, the owner account will be the one that deploys the contract. This33 * can later be changed with {transferOwnership}.34 *35 * This module is used through inheritance. It will make available the modifier36 * `onlyOwner`, which can be applied to your functions to restrict their use to37 * the owner.38 */39abstract contract Ownable is Context {40 address private _owner;41 42 event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);43 44 /**45 * @dev Initializes the contract setting the deployer as the initial owner.46 */47 constructor() {48 _transferOwnership(_msgSender());49 }50 51 /**52 * @dev Throws if called by any account other than the owner.53 */54 modifier onlyOwner() {55 _checkOwner();56 _;57 }58 59 /**60 * @dev Returns the address of the current owner.61 */62 function owner() public view virtual returns (address) {63 return _owner;64 }65 66 /**67 * @dev Throws if the sender is not the owner.68 */69 function _checkOwner() internal view virtual {70 require(owner() == _msgSender(), "Ownable: caller is not the owner");71 }72 73 /**74 * @dev Leaves the contract without owner. It will not be possible to call75 * `onlyOwner` functions. Can only be called by the current owner.76 *77 * NOTE: Renouncing ownership will leave the contract without an owner,78 * thereby disabling any functionality that is only available to the owner.79 */80 function renounceOwnership() public virtual onlyOwner {81 _transferOwnership(address(0));82 }83 84 /**85 * @dev Transfers ownership of the contract to a new account (`newOwner`).86 * Can only be called by the current owner.87 */88 function transferOwnership(address newOwner) public virtual onlyOwner {89 require(newOwner != address(0), "Ownable: new owner is the zero address");90 _transferOwnership(newOwner);91 }92 93 /**94 * @dev Transfers ownership of the contract to a new account (`newOwner`).95 * Internal function without access restriction.96 */97 function _transferOwnership(address newOwner) internal virtual {98 address oldOwner = _owner;99 _owner = newOwner;100 emit OwnershipTransferred(oldOwner, newOwner);101 }102}103 104/**105 * @dev Interface of the ERC20 standard as defined in the EIP.106 */107interface IERC20 {108 /**109 * @dev Emitted when `value` tokens are moved from one account (`from`) to110 * another (`to`).111 *112 * Note that `value` may be zero.113 */114 event Transfer(address indexed from, address indexed to, uint256 value);115 116 /**117 * @dev Emitted when the allowance of a `spender` for an `owner` is set by118 * a call to {approve}. `value` is the new allowance.119 */120 event Approval(address indexed owner, address indexed spender, uint256 value);121 122 /**123 * @dev Returns the amount of tokens in existence.124 */125 function totalSupply() external view returns (uint256);126 127 /**128 * @dev Returns the amount of tokens owned by `account`.129 */130 function balanceOf(address account) external view returns (uint256);131 132 /**133 * @dev Moves `amount` tokens from the caller's account to `to`.134 *135 * Returns a boolean value indicating whether the operation succeeded.136 *137 * Emits a {Transfer} event.138 */139 function transfer(address to, uint256 amount) external returns (bool);140 141 /**142 * @dev Returns the remaining number of tokens that `spender` will be143 * allowed to spend on behalf of `owner` through {transferFrom}. This is144 * zero by default.145 *146 * This value changes when {approve} or {transferFrom} are called.147 */148 function allowance(address owner, address spender) external view returns (uint256);149 150 /**151 * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.152 *153 * Returns a boolean value indicating whether the operation succeeded.154 *155 * IMPORTANT: Beware that changing an allowance with this method brings the risk156 * that someone may use both the old and the new allowance by unfortunate157 * transaction ordering. One possible solution to mitigate this race158 * condition is to first reduce the spender's allowance to 0 and set the159 * desired value afterwards:160 * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729161 *162 * Emits an {Approval} event.163 */164 function approve(address spender, uint256 amount) external returns (bool);165 166 /**167 * @dev Moves `amount` tokens from `from` to `to` using the168 * allowance mechanism. `amount` is then deducted from the caller's169 * allowance.170 *171 * Returns a boolean value indicating whether the operation succeeded.172 *173 * Emits a {Transfer} event.174 */175 function transferFrom(address from, address to, uint256 amount) external returns (bool);176}177 178/**179 * @dev Interface for the optional metadata functions from the ERC20 standard.180 *181 * _Available since v4.1._182 */183interface IERC20Metadata is IERC20 {184 /**185 * @dev Returns the name of the token.186 */187 function name() external view returns (string memory);188 189 /**190 * @dev Returns the symbol of the token.191 */192 function symbol() external view returns (string memory);193 194 /**195 * @dev Returns the decimals places of the token.196 */197 function decimals() external view returns (uint8);198}199 200/**201 * @dev Implementation of the {IERC20} interface.202 *203 * This implementation is agnostic to the way tokens are created. This means204 * that a supply mechanism has to be added in a derived contract using {_mint}.205 * For a generic mechanism see {ERC20PresetMinterPauser}.206 *207 * TIP: For a detailed writeup see our guide208 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How209 * to implement supply mechanisms].210 *211 * The default value of {decimals} is 18. To change this, you should override212 * this function so it returns a different value.213 *214 * We have followed general OpenZeppelin Contracts guidelines: functions revert215 * instead returning `false` on failure. This behavior is nonetheless216 * conventional and does not conflict with the expectations of ERC20217 * applications.218 *219 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.220 * This allows applications to reconstruct the allowance for all accounts just221 * by listening to said events. Other implementations of the EIP may not emit222 * these events, as it isn't required by the specification.223 *224 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}225 * functions have been added to mitigate the well-known issues around setting226 * allowances. See {IERC20-approve}.227 */228contract ERC20 is Context, IERC20, IERC20Metadata {229 mapping(address => uint256) private _balances;230 231 mapping(address => mapping(address => uint256)) private _allowances;232 233 uint256 private _totalSupply;234 235 string private _name;236 string private _symbol;237 238 /**239 * @dev Sets the values for {name} and {symbol}.240 *241 * All two of these values are immutable: they can only be set once during242 * construction.243 */244 constructor(string memory name_, string memory symbol_) {245 _name = name_;246 _symbol = symbol_;247 }248 249 /**250 * @dev Returns the name of the token.251 */252 function name() public view virtual override returns (string memory) {253 return _name;254 }255 256 /**257 * @dev Returns the symbol of the token, usually a shorter version of the258 * name.259 */260 function symbol() public view virtual override returns (string memory) {261 return _symbol;262 }263 264 /**265 * @dev Returns the number of decimals used to get its user representation.266 * For example, if `decimals` equals `2`, a balance of `505` tokens should267 * be displayed to a user as `5.05` (`505 / 10 ** 2`).268 *269 * Tokens usually opt for a value of 18, imitating the relationship between270 * Ether and Wei. This is the default value returned by this function, unless271 * it's overridden.272 *273 * NOTE: This information is only used for _display_ purposes: it in274 * no way affects any of the arithmetic of the contract, including275 * {IERC20-balanceOf} and {IERC20-transfer}.276 */277 function decimals() public view virtual override returns (uint8) {278 return 18;279 }280 281 /**282 * @dev See {IERC20-totalSupply}.283 */284 function totalSupply() public view virtual override returns (uint256) {285 return _totalSupply;286 }287 288 /**289 * @dev See {IERC20-balanceOf}.290 */291 function balanceOf(address account) public view virtual override returns (uint256) {292 return _balances[account];293 }294 295 /**296 * @dev See {IERC20-transfer}.297 *298 * Requirements:299 *300 * - `to` cannot be the zero address.301 * - the caller must have a balance of at least `amount`.302 */303 function transfer(address to, uint256 amount) public virtual override returns (bool) {304 address owner = _msgSender();305 _transfer(owner, to, amount);306 return true;307 }308 309 /**310 * @dev See {IERC20-allowance}.311 */312 function allowance(address owner, address spender) public view virtual override returns (uint256) {313 return _allowances[owner][spender];314 }315 316 /**317 * @dev See {IERC20-approve}.318 *319 * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on320 * `transferFrom`. This is semantically equivalent to an infinite approval.321 *322 * Requirements:323 *324 * - `spender` cannot be the zero address.325 */326 function approve(address spender, uint256 amount) public virtual override returns (bool) {327 address owner = _msgSender();328 _approve(owner, spender, amount);329 return true;330 }331 332 /**333 * @dev See {IERC20-transferFrom}.334 *335 * Emits an {Approval} event indicating the updated allowance. This is not336 * required by the EIP. See the note at the beginning of {ERC20}.337 *338 * NOTE: Does not update the allowance if the current allowance339 * is the maximum `uint256`.340 *341 * Requirements:342 *343 * - `from` and `to` cannot be the zero address.344 * - `from` must have a balance of at least `amount`.345 * - the caller must have allowance for ``from``'s tokens of at least346 * `amount`.347 */348 function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {349 address spender = _msgSender();350 _spendAllowance(from, spender, amount);351 _transfer(from, to, amount);352 return true;353 }354 355 /**356 * @dev Atomically increases the allowance granted to `spender` by the caller.357 *358 * This is an alternative to {approve} that can be used as a mitigation for359 * problems described in {IERC20-approve}.360 *361 * Emits an {Approval} event indicating the updated allowance.362 *363 * Requirements:364 *365 * - `spender` cannot be the zero address.366 */367 function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {368 address owner = _msgSender();369 _approve(owner, spender, allowance(owner, spender) + addedValue);370 return true;371 }372 373 /**374 * @dev Atomically decreases the allowance granted to `spender` by the caller.375 *376 * This is an alternative to {approve} that can be used as a mitigation for377 * problems described in {IERC20-approve}.378 *379 * Emits an {Approval} event indicating the updated allowance.380 *381 * Requirements:382 *383 * - `spender` cannot be the zero address.384 * - `spender` must have allowance for the caller of at least385 * `subtractedValue`.386 */387 function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {388 address owner = _msgSender();389 uint256 currentAllowance = allowance(owner, spender);390 require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");391 unchecked {392 _approve(owner, spender, currentAllowance - subtractedValue);393 }394 395 return true;396 }397 398 /**399 * @dev Moves `amount` of tokens from `from` to `to`.400 *401 * This internal function is equivalent to {transfer}, and can be used to402 * e.g. implement automatic token fees, slashing mechanisms, etc.403 *404 * Emits a {Transfer} event.405 *406 * Requirements:407 *408 * - `from` cannot be the zero address.409 * - `to` cannot be the zero address.410 * - `from` must have a balance of at least `amount`.411 */412 function _transfer(address from, address to, uint256 amount) internal virtual {413 require(from != address(0), "ERC20: transfer from the zero address");414 require(to != address(0), "ERC20: transfer to the zero address");415 416 _beforeTokenTransfer(from, to, amount);417 418 uint256 fromBalance = _balances[from];419 require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");420 unchecked {421 _balances[from] = fromBalance - amount;422 // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by423 // decrementing then incrementing.424 _balances[to] += amount;425 }426 427 emit Transfer(from, to, amount);428 429 _afterTokenTransfer(from, to, amount);430 }431 432 /** @dev Creates `amount` tokens and assigns them to `account`, increasing433 * the total supply.434 *435 * Emits a {Transfer} event with `from` set to the zero address.436 *437 * Requirements:438 *439 * - `account` cannot be the zero address.440 */441 function _mint(address account, uint256 amount) internal virtual {442 require(account != address(0), "ERC20: mint to the zero address");443 444 _beforeTokenTransfer(address(0), account, amount);445 446 _totalSupply += amount;447 unchecked {448 // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.449 _balances[account] += amount;450 }451 emit Transfer(address(0), account, amount);452 453 _afterTokenTransfer(address(0), account, amount);454 }455 456 /**457 * @dev Destroys `amount` tokens from `account`, reducing the458 * total supply.459 *460 * Emits a {Transfer} event with `to` set to the zero address.461 *462 * Requirements:463 *464 * - `account` cannot be the zero address.465 * - `account` must have at least `amount` tokens.466 */467 function _burn(address account, uint256 amount) internal virtual {468 require(account != address(0), "ERC20: burn from the zero address");469 470 _beforeTokenTransfer(account, address(0), amount);471 472 uint256 accountBalance = _balances[account];473 require(accountBalance >= amount, "ERC20: burn amount exceeds balance");474 unchecked {475 _balances[account] = accountBalance - amount;476 // Overflow not possible: amount <= accountBalance <= totalSupply.477 _totalSupply -= amount;478 }479 480 emit Transfer(account, address(0), amount);481 482 _afterTokenTransfer(account, address(0), amount);483 }484 485 /**486 * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.487 *488 * This internal function is equivalent to `approve`, and can be used to489 * e.g. set automatic allowances for certain subsystems, etc.490 *491 * Emits an {Approval} event.492 *493 * Requirements:494 *495 * - `owner` cannot be the zero address.496 * - `spender` cannot be the zero address.497 */498 function _approve(address owner, address spender, uint256 amount) internal virtual {499 require(owner != address(0), "ERC20: approve from the zero address");500 require(spender != address(0), "ERC20: approve to the zero address");501 502 _allowances[owner][spender] = amount;503 emit Approval(owner, spender, amount);504 }505 506 /**507 * @dev Updates `owner` s allowance for `spender` based on spent `amount`.508 *509 * Does not update the allowance amount in case of infinite allowance.510 * Revert if not enough allowance is available.511 *512 * Might emit an {Approval} event.513 */514 function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {515 uint256 currentAllowance = allowance(owner, spender);516 if (currentAllowance != type(uint256).max) {517 require(currentAllowance >= amount, "ERC20: insufficient allowance");518 unchecked {519 _approve(owner, spender, currentAllowance - amount);520 }521 }522 }523 524 /**525 * @dev Hook that is called before any transfer of tokens. This includes526 * minting and burning.527 *528 * Calling conditions:529 *530 * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens531 * will be transferred to `to`.532 * - when `from` is zero, `amount` tokens will be minted for `to`.533 * - when `to` is zero, `amount` of ``from``'s tokens will be burned.534 * - `from` and `to` are never both zero.535 *536 * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].537 */538 function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}539 540 /**541 * @dev Hook that is called after any transfer of tokens. This includes542 * minting and burning.543 *544 * Calling conditions:545 *546 * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens547 * has been transferred to `to`.548 * - when `from` is zero, `amount` tokens have been minted for `to`.549 * - when `to` is zero, `amount` of ``from``'s tokens have been burned.550 * - `from` and `to` are never both zero.551 *552 * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].553 */554 function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}555}556 557// Graphite Contracts558 559interface IFilterContract {560 function filter(address _sender, address _destination) external view returns(bool);561}562 563contract GraphiteToken is ERC20, Ownable {564 constructor(string memory name, string memory symbol)565 ERC20(name, symbol)566 Ownable() {}567 568 function mint(address to, uint256 amount) public onlyOwner {569 _mint(to, amount);570 }571 572 function _checkOwner() internal view override {573 require(owner() == _msgSender(), "LS103");574 }575}576 577contract WrappedGraphiteToken is GraphiteToken {578 address public immutable filterContract;579 580 constructor(string memory name, string memory symbol, address filter) GraphiteToken(name, symbol) {581 filterContract = filter; 582 }583 584 function _beforeTokenTransfer(address from, address to, uint256 amount) internal override {585 if (filterContract != address(0) && from != address(0)) {586 require(IFilterContract(filterContract).filter(from, to), "LS104");587 }588 }589 590 function withdraw(uint256 amount) external {591 _burn(msg.sender, amount);592 payable(msg.sender).transfer(amount);593 }594 595 function deposit() external payable {596 _mint(msg.sender, msg.value);597 }598}599 600/**601 * @title LiquidityStorager smart-contract602 * @notice Smart-contract stores liquidity for exchange crypto from one (source) chain to another603 * one (destination chain). When you need to exchange chain A native currency from chain A to604 * chain B currency to chain B you only need to call `swap` function with appropriate parameters605 * (check description of `swap` function for more details). Our backend is listening for606 * `SwapInitialized` event and if one has been emitted, they will call `redeem` function on the607 * destination chain with appropriate parameters (check description of `redeem` function for more details).608 */609contract LiquidityStoragerNative is WrappedGraphiteToken {610 uint256 public exchangeRoyalty = 1;611 uint256 private ownerBalance;612 uint256 internal minTransferAmount;613 614 enum RedeemStatus {615 UNKNOWN,616 HANDLED617 }618 619 mapping(bytes => RedeemStatus) public redeems;620 621 constructor(622 address newOwner,623 string memory name,624 string memory symbol,625 address filter,626 uint256 _minTransferAmount627 ) payable WrappedGraphiteToken(name, symbol, filter) {628 transferOwnership(newOwner);629 minTransferAmount = _minTransferAmount;630 }631 632 /**633 * EVENTS634 */635 636 /**637 * @notice emitted from `swap` function638 */639 event Swap(address to, uint256 chainId, uint256 value);640 641 /**642 * @notice emitted from `redeem` function643 */644 event Redeem(address to, uint256 value, RedeemStatus status);645 646 /**647 * FUNCTIONS648 */649 650 /**651 * @notice Allows you to start "swap" process from one chain to dest chain.652 * You need to call this function with value653 *654 * @param to address from dest chain to which one value will be sent655 * @param destChainId id of the dest chain656 */657 function swap(658 address to,659 uint256 destChainId660 ) external payable {661 require(destChainId != block.chainid, "LS203");662 require(msg.value >= minTransferAmount, "LS204");663 664 uint256 royalty = (msg.value / 100) * exchangeRoyalty;665 uint256 swapAmount = msg.value - royalty;666 667 ownerBalance += royalty;668 669 emit Swap(to, destChainId, swapAmount);670 }671 672 /**673 * @notice This function called by watcher in the destination network when they got `SwapInitialized` event.674 * if `signatures` are correct and if such message wasn't handled before, `to` address gets675 * `value.676 *677 * @param to address from dest chain to which one value will be sent678 * @param value value of currency that contract must send679 */680 function redeem(681 address to,682 uint256 value,683 bytes calldata redeemUID684 ) external onlyOwner {685 require(redeems[redeemUID] == RedeemStatus.UNKNOWN, "LS001");686 687 redeems[redeemUID] = RedeemStatus.HANDLED;688 payable(to).transfer(value);689 690 emit Redeem(to, value, redeems[redeemUID]);691 }692 693 /**694 * @notice Allows the Watcher to withdraw all liquidity or only some part (check amount desc)695 *696 * @param amount amount of liquidity that need to withdraw. If amount is equal to zero, then all available balance697 * will be withdraw698 */699 function withdrawRoyalty(uint256 amount) external onlyOwner {700 uint256 balance = getOwnerBalance();701 require(amount <= balance, "LS002");702 703 amount = amount == 0 ? balance : amount;704 ownerBalance -= amount;705 payable(msg.sender).transfer(amount);706 }707 708 /**709 * @notice This function called by owner to set new exchange royalty value710 * 711 * @param amount new percentage value of 712 */713 function setExchangeRoyalty(uint256 amount) external onlyOwner {714 require(amount >= 0 && amount <= 100, "LS003");715 716 exchangeRoyalty = amount;717 }718 719 /**720 * @notice This function called by owner to set new minimal transfer amount721 * 722 * @param amount new minimal transfer amount 723 */724 function setMinTransferAmount(uint256 amount) external onlyOwner {725 minTransferAmount = amount;726 }727 728 /**729 * VIEWS FUNCTIONS730 */731 732 /**733 * @notice This function returns the owner balance734 */735 function getOwnerBalance() public view returns (uint256) {736 return ownerBalance;737 }738 739 /**740 * @notice This function returns the minimal transfer amount741 */742 function getMinTransferAmount() external view returns (uint256) {743 return minTransferAmount;744 }745}
[ { "type": "constructor", "inputs": [ { "name": "newOwner", "type": "address", "internalType": "address" }, { "name": "name", "type": "string", "internalType": "string" }, { "name": "symbol", "type": "string", "internalType": "string" }, { "name": "filter", "type": "address", "internalType": "address" }, { "name": "_minTransferAmount", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "payable" }, { "name": "Approval", "type": "event", "inputs": [ { "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "spender", "type": "address", "indexed": true, "internalType": "address" }, { "name": "value", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "name": "OwnershipTransferred", "type": "event", "inputs": [ { "name": "previousOwner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "newOwner", "type": "address", "indexed": true, "internalType": "address" } ], "anonymous": false }, { "name": "Redeem", "type": "event", "inputs": [ { "name": "to", "type": "address", "indexed": false, "internalType": "address" }, { "name": "value", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "status", "type": "uint8", "indexed": false, "internalType": "enum LiquidityStoragerNative.RedeemStatus" } ], "anonymous": false }, { "name": "Swap", "type": "event", "inputs": [ { "name": "to", "type": "address", "indexed": false, "internalType": "address" }, { "name": "chainId", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "value", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "name": "Transfer", "type": "event", "inputs": [ { "name": "from", "type": "address", "indexed": true, "internalType": "address" }, { "name": "to", "type": "address", "indexed": true, "internalType": "address" }, { "name": "value", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "name": "allowance", "type": "function", "inputs": [ { "name": "owner", "type": "address", "internalType": "address" }, { "name": "spender", "type": "address", "internalType": "address" } ], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "name": "approve", "type": "function", "inputs": [ { "name": "spender", "type": "address", "internalType": "address" }, { "name": "amount", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "nonpayable" }, { "name": "balanceOf", "type": "function", "inputs": [ { "name": "account", "type": "address", "internalType": "address" } ], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "name": "decimals", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "name": "decreaseAllowance", "type": "function", "inputs": [ { "name": "spender", "type": "address", "internalType": "address" }, { "name": "subtractedValue", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "nonpayable" }, { "name": "deposit", "type": "function", "inputs": [], "outputs": [], "stateMutability": "payable" }, { "name": "exchangeRoyalty", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "name": "filterContract", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "name": "getMinTransferAmount", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "name": "getOwnerBalance", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "name": "increaseAllowance", "type": "function", "inputs": [ { "name": "spender", "type": "address", "internalType": "address" }, { "name": "addedValue", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "nonpayable" }, { "name": "mint", "type": "function", "inputs": [ { "name": "to", "type": "address", "internalType": "address" }, { "name": "amount", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" }, { "name": "name", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "string", "internalType": "string" } ], "stateMutability": "view" }, { "name": "owner", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "name": "redeem", "type": "function", "inputs": [ { "name": "to", "type": "address", "internalType": "address" }, { "name": "value", "type": "uint256", "internalType": "uint256" }, { "name": "redeemUID", "type": "bytes", "internalType": "bytes" } ], "outputs": [], "stateMutability": "nonpayable" }, { "name": "redeems", "type": "function", "inputs": [ { "name": "", "type": "bytes", "internalType": "bytes" } ], "outputs": [ { "name": "", "type": "uint8", "internalType": "enum LiquidityStoragerNative.RedeemStatus" } ], "stateMutability": "view" }, { "name": "renounceOwnership", "type": "function", "inputs": [], "outputs": [], "stateMutability": "nonpayable" }, { "name": "setExchangeRoyalty", "type": "function", "inputs": [ { "name": "amount", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" }, { "name": "setMinTransferAmount", "type": "function", "inputs": [ { "name": "amount", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" }, { "name": "swap", "type": "function", "inputs": [ { "name": "to", "type": "address", "internalType": "address" }, { "name": "destChainId", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "payable" }, { "name": "symbol", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "string", "internalType": "string" } ], "stateMutability": "view" }, { "name": "totalSupply", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "name": "transfer", "type": "function", "inputs": [ { "name": "to", "type": "address", "internalType": "address" }, { "name": "amount", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "nonpayable" }, { "name": "transferFrom", "type": "function", "inputs": [ { "name": "from", "type": "address", "internalType": "address" }, { "name": "to", "type": "address", "internalType": "address" }, { "name": "amount", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "nonpayable" }, { "name": "transferOwnership", "type": "function", "inputs": [ { "name": "newOwner", "type": "address", "internalType": "address" } ], "outputs": [], "stateMutability": "nonpayable" }, { "name": "withdraw", "type": "function", "inputs": [ { "name": "amount", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" }, { "name": "withdrawRoyalty", "type": "function", "inputs": [ { "name": "amount", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" }]
0x60a06040526001600655604051620036243803806200362483398181016040528101906200002e919062000529565b83838382828181816003908162000046919062000830565b50806004908162000058919062000830565b5050506200007b6200006f620000d760201b60201c565b620000df60201b60201c565b50508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050505050620000c585620001a560201b60201c565b80600881905550505050505062000a32565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001b56200023b60201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000227576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200021e906200099e565b60405180910390fd5b6200023881620000df60201b60201c565b50565b6200024b620000d760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000271620002cc60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002ca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002c19062000a10565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000337826200030a565b9050919050565b62000349816200032a565b81146200035557600080fd5b50565b60008151905062000369816200033e565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003c48262000379565b810181811067ffffffffffffffff82111715620003e657620003e56200038a565b5b80604052505050565b6000620003fb620002f6565b9050620004098282620003b9565b919050565b600067ffffffffffffffff8211156200042c576200042b6200038a565b5b620004378262000379565b9050602081019050919050565b60005b838110156200046457808201518184015260208101905062000447565b60008484015250505050565b60006200048762000481846200040e565b620003ef565b905082815260208101848484011115620004a657620004a562000374565b5b620004b384828562000444565b509392505050565b600082601f830112620004d357620004d26200036f565b5b8151620004e584826020860162000470565b91505092915050565b6000819050919050565b6200050381620004ee565b81146200050f57600080fd5b50565b6000815190506200052381620004f8565b92915050565b600080600080600060a0868803121562000548576200054762000300565b5b6000620005588882890162000358565b955050602086015167ffffffffffffffff8111156200057c576200057b62000305565b5b6200058a88828901620004bb565b945050604086015167ffffffffffffffff811115620005ae57620005ad62000305565b5b620005bc88828901620004bb565b9350506060620005cf8882890162000358565b9250506080620005e28882890162000512565b9150509295509295909350565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200064257607f821691505b602082108103620006585762000657620005fa565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006c27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000683565b620006ce868362000683565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620007116200070b6200070584620004ee565b620006e6565b620004ee565b9050919050565b6000819050919050565b6200072d83620006f0565b620007456200073c8262000718565b84845462000690565b825550505050565b600090565b6200075c6200074d565b6200076981848462000722565b505050565b5b8181101562000791576200078560008262000752565b6001810190506200076f565b5050565b601f821115620007e057620007aa816200065e565b620007b58462000673565b81016020851015620007c5578190505b620007dd620007d48562000673565b8301826200076e565b50505b505050565b600082821c905092915050565b60006200080560001984600802620007e5565b1980831691505092915050565b6000620008208383620007f2565b9150826002028217905092915050565b6200083b82620005ef565b67ffffffffffffffff8111156200085757620008566200038a565b5b62000863825462000629565b6200087082828562000795565b600060209050601f831160018114620008a8576000841562000893578287015190505b6200089f858262000812565b8655506200090f565b601f198416620008b8866200065e565b60005b82811015620008e257848901518255600182019150602085019450602081019050620008bb565b86831015620009025784890151620008fe601f891682620007f2565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006200098660268362000917565b9150620009938262000928565b604082019050919050565b60006020820190508181036000830152620009b98162000977565b9050919050565b7f4c53313033000000000000000000000000000000000000000000000000000000600082015250565b6000620009f860058362000917565b915062000a0582620009c0565b602082019050919050565b6000602082019050818103600083015262000a2b81620009e9565b9050919050565b608051612bc862000a5c60003960008181610b020152818161184b01526118c20152612bc86000f3fe60806040526004361061016c5760003560e01c80637f201581116100cc578063a9059cbb1161007a578063a9059cbb1461051b578063b92e639614610558578063d004f0f714610581578063d0e30db01461059d578063d3524a95146105a7578063dd62ed3e146105d2578063f2fde38b1461060f5761016c565b80637f201581146103cc578063847a18bb146103f5578063873c852a146104205780638da5cb5b1461045d578063913a4bc51461048857806395d89b41146104b3578063a457c2d7146104de5761016c565b8063313ce56711610129578063313ce5671461029357806339509351146102be57806340c10f19146102fb57806357a2eda914610324578063590791f21461034d57806370a0823114610378578063715018a6146103b55761016c565b806306fdde0314610171578063095ea7b31461019c57806310badf4e146101d957806318160ddd1461020257806323b872dd1461022d5780632e1a7d4d1461026a575b600080fd5b34801561017d57600080fd5b50610186610638565b6040516101939190611a36565b60405180910390f35b3480156101a857600080fd5b506101c360048036038101906101be9190611b00565b6106ca565b6040516101d09190611b5b565b60405180910390f35b3480156101e557600080fd5b5061020060048036038101906101fb9190611bdb565b6106ed565b005b34801561020e57600080fd5b50610217610887565b6040516102249190611c5e565b60405180910390f35b34801561023957600080fd5b50610254600480360381019061024f9190611c79565b610891565b6040516102619190611b5b565b60405180910390f35b34801561027657600080fd5b50610291600480360381019061028c9190611ccc565b6108c0565b005b34801561029f57600080fd5b506102a8610914565b6040516102b59190611d15565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190611b00565b61091d565b6040516102f29190611b5b565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190611b00565b610954565b005b34801561033057600080fd5b5061034b60048036038101906103469190611ccc565b61096a565b005b34801561035957600080fd5b50610362610a37565b60405161036f9190611c5e565b60405180910390f35b34801561038457600080fd5b5061039f600480360381019061039a9190611d30565b610a41565b6040516103ac9190611c5e565b60405180910390f35b3480156103c157600080fd5b506103ca610a89565b005b3480156103d857600080fd5b506103f360048036038101906103ee9190611ccc565b610a9d565b005b34801561040157600080fd5b5061040a610b00565b6040516104179190611d6c565b60405180910390f35b34801561042c57600080fd5b5061044760048036038101906104429190611eb7565b610b24565b6040516104549190611f77565b60405180910390f35b34801561046957600080fd5b50610472610b5a565b60405161047f9190611d6c565b60405180910390f35b34801561049457600080fd5b5061049d610b84565b6040516104aa9190611c5e565b60405180910390f35b3480156104bf57600080fd5b506104c8610b8e565b6040516104d59190611a36565b60405180910390f35b3480156104ea57600080fd5b5061050560048036038101906105009190611b00565b610c20565b6040516105129190611b5b565b60405180910390f35b34801561052757600080fd5b50610542600480360381019061053d9190611b00565b610c97565b60405161054f9190611b5b565b60405180910390f35b34801561056457600080fd5b5061057f600480360381019061057a9190611ccc565b610cba565b005b61059b60048036038101906105969190611b00565b610ccc565b005b6105a5610ddb565b005b3480156105b357600080fd5b506105bc610de7565b6040516105c99190611c5e565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f49190611f92565b610ded565b6040516106069190611c5e565b60405180910390f35b34801561061b57600080fd5b5061063660048036038101906106319190611d30565b610e74565b005b60606003805461064790612001565b80601f016020809104026020016040519081016040528092919081815260200182805461067390612001565b80156106c05780601f10610695576101008083540402835291602001916106c0565b820191906000526020600020905b8154815290600101906020018083116106a357829003601f168201915b5050505050905090565b6000806106d5610ef7565b90506106e2818585610eff565b600191505092915050565b6106f56110c8565b6000600181111561070957610708611f00565b5b6009838360405161071b929190612062565b908152602001604051809103902060009054906101000a900460ff16600181111561074957610748611f00565b5b14610789576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610780906120c7565b60405180910390fd5b60016009838360405161079d929190612062565b908152602001604051809103902060006101000a81548160ff021916908360018111156107cd576107cc611f00565b5b02179055508373ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f19350505050158015610818573d6000803e3d6000fd5b507f6de3539db832d0d4eeb992f4ee0b66dd5e3e70ba3239246f9699bb8c7488e70b84846009858560405161084e929190612062565b908152602001604051809103902060009054906101000a900460ff16604051610879939291906120e7565b60405180910390a150505050565b6000600254905090565b60008061089c610ef7565b90506108a9858285611146565b6108b48585856111d2565b60019150509392505050565b6108ca3382611448565b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610910573d6000803e3d6000fd5b5050565b60006012905090565b600080610928610ef7565b905061094981858561093a8589610ded565b610944919061214d565b610eff565b600191505092915050565b61095c6110c8565b6109668282611615565b5050565b6109726110c8565b600061097c610a37565b9050808211156109c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b8906121cd565b60405180910390fd5b600082146109cf57816109d1565b805b915081600760008282546109e591906121ed565b925050819055503373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610a32573d6000803e3d6000fd5b505050565b6000600754905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a916110c8565b610a9b600061176b565b565b610aa56110c8565b60008110158015610ab7575060648111155b610af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aed9061226d565b60405180910390fd5b8060068190555050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6009818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600854905090565b606060048054610b9d90612001565b80601f0160208091040260200160405190810160405280929190818152602001828054610bc990612001565b8015610c165780601f10610beb57610100808354040283529160200191610c16565b820191906000526020600020905b815481529060010190602001808311610bf957829003601f168201915b5050505050905090565b600080610c2b610ef7565b90506000610c398286610ded565b905083811015610c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c75906122ff565b60405180910390fd5b610c8b8286868403610eff565b60019250505092915050565b600080610ca2610ef7565b9050610caf8185856111d2565b600191505092915050565b610cc26110c8565b8060088190555050565b468103610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d059061236b565b60405180910390fd5b600854341015610d53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4a906123d7565b60405180910390fd5b6000600654606434610d659190612426565b610d6f9190612457565b905060008134610d7f91906121ed565b90508160076000828254610d93919061214d565b925050819055507f77f92a1b6a1a11de8ca49515ad4c1fad45632dd3442167d74b90b304a3c7a758848483604051610dcd93929190612499565b60405180910390a150505050565b610de53334611615565b565b60065481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610e7c6110c8565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee290612542565b60405180910390fd5b610ef48161176b565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f65906125d4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd490612666565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516110bb9190611c5e565b60405180910390a3505050565b6110d0610ef7565b73ffffffffffffffffffffffffffffffffffffffff166110ee610b5a565b73ffffffffffffffffffffffffffffffffffffffff1614611144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113b906126d2565b60405180910390fd5b565b60006111528484610ded565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146111cc57818110156111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b59061273e565b60405180910390fd5b6111cb8484848403610eff565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611241576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611238906127d0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a790612862565b60405180910390fd5b6112bb838383611831565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611341576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611338906128f4565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161142f9190611c5e565b60405180910390a36114428484846119a1565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ae90612986565b60405180910390fd5b6114c382600083611831565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154090612a18565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516115fc9190611c5e565b60405180910390a3611610836000846119a1565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167b90612a84565b60405180910390fd5b61169060008383611831565b80600260008282546116a2919061214d565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117539190611c5e565b60405180910390a3611767600083836119a1565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16141580156118bb5750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b1561199c577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e1917fda84846040518363ffffffff1660e01b815260040161191b929190612aa4565b602060405180830381865afa158015611938573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195c9190612af9565b61199b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199290612b72565b60405180910390fd5b5b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156119e05780820151818401526020810190506119c5565b60008484015250505050565b6000601f19601f8301169050919050565b6000611a08826119a6565b611a1281856119b1565b9350611a228185602086016119c2565b611a2b816119ec565b840191505092915050565b60006020820190508181036000830152611a5081846119fd565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611a9782611a6c565b9050919050565b611aa781611a8c565b8114611ab257600080fd5b50565b600081359050611ac481611a9e565b92915050565b6000819050919050565b611add81611aca565b8114611ae857600080fd5b50565b600081359050611afa81611ad4565b92915050565b60008060408385031215611b1757611b16611a62565b5b6000611b2585828601611ab5565b9250506020611b3685828601611aeb565b9150509250929050565b60008115159050919050565b611b5581611b40565b82525050565b6000602082019050611b706000830184611b4c565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112611b9b57611b9a611b76565b5b8235905067ffffffffffffffff811115611bb857611bb7611b7b565b5b602083019150836001820283011115611bd457611bd3611b80565b5b9250929050565b60008060008060608587031215611bf557611bf4611a62565b5b6000611c0387828801611ab5565b9450506020611c1487828801611aeb565b935050604085013567ffffffffffffffff811115611c3557611c34611a67565b5b611c4187828801611b85565b925092505092959194509250565b611c5881611aca565b82525050565b6000602082019050611c736000830184611c4f565b92915050565b600080600060608486031215611c9257611c91611a62565b5b6000611ca086828701611ab5565b9350506020611cb186828701611ab5565b9250506040611cc286828701611aeb565b9150509250925092565b600060208284031215611ce257611ce1611a62565b5b6000611cf084828501611aeb565b91505092915050565b600060ff82169050919050565b611d0f81611cf9565b82525050565b6000602082019050611d2a6000830184611d06565b92915050565b600060208284031215611d4657611d45611a62565b5b6000611d5484828501611ab5565b91505092915050565b611d6681611a8c565b82525050565b6000602082019050611d816000830184611d5d565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611dc4826119ec565b810181811067ffffffffffffffff82111715611de357611de2611d8c565b5b80604052505050565b6000611df6611a58565b9050611e028282611dbb565b919050565b600067ffffffffffffffff821115611e2257611e21611d8c565b5b611e2b826119ec565b9050602081019050919050565b82818337600083830152505050565b6000611e5a611e5584611e07565b611dec565b905082815260208101848484011115611e7657611e75611d87565b5b611e81848285611e38565b509392505050565b600082601f830112611e9e57611e9d611b76565b5b8135611eae848260208601611e47565b91505092915050565b600060208284031215611ecd57611ecc611a62565b5b600082013567ffffffffffffffff811115611eeb57611eea611a67565b5b611ef784828501611e89565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60028110611f4057611f3f611f00565b5b50565b6000819050611f5182611f2f565b919050565b6000611f6182611f43565b9050919050565b611f7181611f56565b82525050565b6000602082019050611f8c6000830184611f68565b92915050565b60008060408385031215611fa957611fa8611a62565b5b6000611fb785828601611ab5565b9250506020611fc885828601611ab5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061201957607f821691505b60208210810361202c5761202b611fd2565b5b50919050565b600081905092915050565b60006120498385612032565b9350612056838584611e38565b82840190509392505050565b600061206f82848661203d565b91508190509392505050565b7f4c53303031000000000000000000000000000000000000000000000000000000600082015250565b60006120b16005836119b1565b91506120bc8261207b565b602082019050919050565b600060208201905081810360008301526120e0816120a4565b9050919050565b60006060820190506120fc6000830186611d5d565b6121096020830185611c4f565b6121166040830184611f68565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061215882611aca565b915061216383611aca565b925082820190508082111561217b5761217a61211e565b5b92915050565b7f4c53303032000000000000000000000000000000000000000000000000000000600082015250565b60006121b76005836119b1565b91506121c282612181565b602082019050919050565b600060208201905081810360008301526121e6816121aa565b9050919050565b60006121f882611aca565b915061220383611aca565b925082820390508181111561221b5761221a61211e565b5b92915050565b7f4c53303033000000000000000000000000000000000000000000000000000000600082015250565b60006122576005836119b1565b915061226282612221565b602082019050919050565b600060208201905081810360008301526122868161224a565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006122e96025836119b1565b91506122f48261228d565b604082019050919050565b60006020820190508181036000830152612318816122dc565b9050919050565b7f4c53323033000000000000000000000000000000000000000000000000000000600082015250565b60006123556005836119b1565b91506123608261231f565b602082019050919050565b6000602082019050818103600083015261238481612348565b9050919050565b7f4c53323034000000000000000000000000000000000000000000000000000000600082015250565b60006123c16005836119b1565b91506123cc8261238b565b602082019050919050565b600060208201905081810360008301526123f0816123b4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061243182611aca565b915061243c83611aca565b92508261244c5761244b6123f7565b5b828204905092915050565b600061246282611aca565b915061246d83611aca565b925082820261247b81611aca565b915082820484148315176124925761249161211e565b5b5092915050565b60006060820190506124ae6000830186611d5d565b6124bb6020830185611c4f565b6124c86040830184611c4f565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061252c6026836119b1565b9150612537826124d0565b604082019050919050565b6000602082019050818103600083015261255b8161251f565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006125be6024836119b1565b91506125c982612562565b604082019050919050565b600060208201905081810360008301526125ed816125b1565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006126506022836119b1565b915061265b826125f4565b604082019050919050565b6000602082019050818103600083015261267f81612643565b9050919050565b7f4c53313033000000000000000000000000000000000000000000000000000000600082015250565b60006126bc6005836119b1565b91506126c782612686565b602082019050919050565b600060208201905081810360008301526126eb816126af565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612728601d836119b1565b9150612733826126f2565b602082019050919050565b600060208201905081810360008301526127578161271b565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006127ba6025836119b1565b91506127c58261275e565b604082019050919050565b600060208201905081810360008301526127e9816127ad565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061284c6023836119b1565b9150612857826127f0565b604082019050919050565b6000602082019050818103600083015261287b8161283f565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006128de6026836119b1565b91506128e982612882565b604082019050919050565b6000602082019050818103600083015261290d816128d1565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006129706021836119b1565b915061297b82612914565b604082019050919050565b6000602082019050818103600083015261299f81612963565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a026022836119b1565b9150612a0d826129a6565b604082019050919050565b60006020820190508181036000830152612a31816129f5565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612a6e601f836119b1565b9150612a7982612a38565b602082019050919050565b60006020820190508181036000830152612a9d81612a61565b9050919050565b6000604082019050612ab96000830185611d5d565b612ac66020830184611d5d565b9392505050565b612ad681611b40565b8114612ae157600080fd5b50565b600081519050612af381612acd565b92915050565b600060208284031215612b0f57612b0e611a62565b5b6000612b1d84828501612ae4565b91505092915050565b7f4c53313034000000000000000000000000000000000000000000000000000000600082015250565b6000612b5c6005836119b1565b9150612b6782612b26565b602082019050919050565b60006020820190508181036000830152612b8b81612b4f565b905091905056fea2646970667358221220f81361f7a77ae4bca47eb9a42ca0de70eb88816924962113046768df5de3178464736f6c63430008110033000000000000000000000000e18413ad71866cf6322d0b68b78e0995a78d8fbb00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000010020000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000000000000000000004574740470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024047000000000000000000000000000000000000000000000000000000000000