Graphite Testnet
token-icon

WG@G

Token

Overview[ERC-20]

Max Total Supply
35.22
@G
Holders
5+150.00%
Transfers
21

Profile Summary

Decimals
18

Market

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