20 Commits

Author SHA1 Message Date
Zitao Xiong
29ed9ec3a4 chore: update remappings 2024-12-19 20:52:20 +08:00
Zitao Xiong
3b397aefdf chore: update openzeppelin import path 2024-12-19 20:15:31 +08:00
Zitao Xiong
69415e087d feat: move erc6551 reference impl into main repo 2024-12-19 20:09:45 +08:00
Zitao Xiong
6372f31307 feat: add minAmountOut 2024-12-17 19:50:58 +08:00
Zitao Xiong
e5bfa459cd fix: swap withdraw success 2024-12-17 19:30:53 +08:00
Zitao Xiong
221efc9939 feat: swap deployment (#10)
* chore: format all source file with forge fmt

* feat: create upgrade with swap script

* feat: prepare deploy swap feature, storage layout changed

* feat: deploy to sepolia, add one more convenient method for GiftedBox

* feat: update config, deploy for staging

* feat: update token config and add WETH

* feat: use WETH/USDC pool

* feat: upgrade WETH/USDC pool
2024-12-16 18:24:54 +08:00
Zitao Xiong
c8cb928737 feat: swap USDC to ETH and send (#9)
* feat: swap and send with uniswap

* chore: reorganize order of functions in GiftedBox

* fix: lint error

* feat: add sponsor method to swapAndSend
2024-12-16 12:12:38 +08:00
Zitao Xiong
e25d8ffeb9 feat: batch transfer for withdraw anything (#5)
* feat: add transfer erc20

* feat: add transfer native ether

* chore: add region comment in test file

* chore: refactor to move effect to internal call

* feat: implement batch transfer with sponsors
2024-10-27 21:48:16 +08:00
Zitao Xiong
2938502e7c feat: add minting fee book keeping (#3)
* feat: add minting fee book keeping

* feat: add upgrade script

* feat: update all chains
2024-10-10 15:33:30 +08:00
Zitao Xiong
3ef6d26ae8 feat: support for custom operator (#2)
* feat: add custom operator set for send gift

* feat: deploy upgraded gifted box
2024-08-25 13:52:14 +08:00
Zitao Xiong
976d9d7217 feat: add NFT Vault 2024-08-24 11:33:06 +08:00
Zitao Xiong
fef67d5ebd feat: deploy to sepolia 2024-06-14 01:22:51 +08:00
Zitao Xiong
f495e00cc2 feat: add sponsor ticket handles 2024-06-13 15:09:40 +08:00
Zitao Xiong
74c8c9ed9d feat: withdraw token sponsor 2024-06-13 01:10:17 +08:00
Zitao Xiong
47badff12c chore: rename to Claimer 2024-06-12 15:00:34 +08:00
Zitao Xiong
4de6a7a5d2 feat: add operator into gifting flow 2024-06-12 14:07:39 +08:00
Zitao Xiong
d1390b73e0 feat: add token bound account handling 2024-06-11 01:30:46 +08:00
Zitao Xiong
e4a063363a feat: add multi env and keystores 2024-06-10 19:06:25 +08:00
Zitao Xiong
5aac18aa55 feat: add GiftedBox 2024-06-10 18:06:57 +08:00
Zitao Xiong
c41e880446 chore: forge init 2024-06-10 16:14:50 +08:00