Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration/bos #442

Draft
wants to merge 97 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
367dc4f
wip: working aave
brucedonovan Sep 5, 2023
d0532d3
move bos src to props
brucedonovan Sep 5, 2023
a005ebc
wip
brucedonovan Sep 6, 2023
8ffb740
wip: fix provider
brucedonovan Sep 7, 2023
93a14a0
add in extra test
brucedonovan Sep 11, 2023
ad01de5
more test bow-widgets
brucedonovan Sep 13, 2023
c23aecf
Merge branch 'dev' into integration/BOS
brucedonovan Sep 13, 2023
633716c
Merge branch 'dev' into integration/BOS
brucedonovan Sep 13, 2023
2d5c6e6
wip: less abstarction
brucedonovan Sep 14, 2023
7339196
WIP
brucedonovan Sep 14, 2023
86ab18d
upgrade packages
brucedonovan Sep 14, 2023
27bf57d
first pass
brucedonovan Sep 14, 2023
ff3770a
updates
brucedonovan Sep 14, 2023
5925d72
package: update viem
marcomariscal Sep 14, 2023
630a836
fix: update to solely use viem
marcomariscal Sep 14, 2023
9f925c7
feat: update to use viem types
marcomariscal Sep 14, 2023
08f556a
fix: remove unused ethers types
marcomariscal Sep 14, 2023
56884bc
feat: use prepare contract write type
marcomariscal Sep 14, 2023
6e49155
fix: update to use viem
marcomariscal Sep 14, 2023
b357810
chore: remove unused
marcomariscal Sep 14, 2023
c629dc1
fix: use prepare contract write type
marcomariscal Sep 14, 2023
add1b34
fix: update to use viem
marcomariscal Sep 14, 2023
595f69e
feat: update to use viem
marcomariscal Sep 14, 2023
389b69b
fix: update to use viem
marcomariscal Sep 14, 2023
363f199
chore: delete legacy/unused buy nft component
marcomariscal Sep 14, 2023
5618450
fix: update to use viem
marcomariscal Sep 14, 2023
5023c2d
fix: update to use viem
marcomariscal Sep 14, 2023
12792b8
fix: use viem
marcomariscal Sep 14, 2023
e097aa9
type poly
brucedonovan Sep 15, 2023
d8fdb71
add in ts no-checks
brucedonovan Sep 15, 2023
df36a98
latest rainbow
brucedonovan Sep 15, 2023
4c53898
connection wrapper update
brucedonovan Sep 15, 2023
b69bd69
minimum working wagmi
brucedonovan Sep 15, 2023
b782382
ethersAdapter
brucedonovan Sep 15, 2023
a28390c
feat: use viem
marcomariscal Sep 14, 2023
8207d57
feat: use viem
marcomariscal Sep 15, 2023
f99a937
chore: remove unused
marcomariscal Sep 15, 2023
a62f2db
feat: remove ethers
marcomariscal Sep 15, 2023
cdeae88
feat: remove ethers
marcomariscal Sep 15, 2023
7fe19d3
feat: use transaction request base type from wagmi/viem
marcomariscal Sep 15, 2023
7551bf8
Merge branch 'feat/newWagmiViem' into feat/newWagmiViem-yield
marcomariscal Sep 15, 2023
bf53e67
feat: trying to update to use solely viem
marcomariscal Sep 15, 2023
fe7807f
feat: update to use viem
marcomariscal Sep 15, 2023
cb713d4
feat: update to only use viem
marcomariscal Sep 15, 2023
17836c2
chore: remove buyNft
marcomariscal Sep 18, 2023
53a26c7
chore: remove buy nft from legacy
marcomariscal Sep 18, 2023
bfc62ea
feat: update to use viem
marcomariscal Sep 18, 2023
66a1095
feat: update to use viem
marcomariscal Sep 18, 2023
b863c30
feat: use wallet client from wagmi
marcomariscal Sep 18, 2023
259ad22
feat: get spender using viem
marcomariscal Sep 18, 2023
da1c44d
feat: add walletClient to signer adapter
marcomariscal Sep 18, 2023
3b812af
feat: use viem
marcomariscal Sep 18, 2023
ffe60ae
feat: use viem
marcomariscal Sep 18, 2023
bc90f12
chore: remove unused
marcomariscal Sep 18, 2023
07fdb42
feat: use viem zeroAddress
marcomariscal Sep 18, 2023
9f7e54d
feat: use account
marcomariscal Sep 18, 2023
44a1a02
feat: update yp-borrow for viem
marcomariscal Sep 18, 2023
5abe4f3
feat: handle viem
marcomariscal Sep 18, 2023
70e76e9
feat: use TxRequestBase
marcomariscal Sep 18, 2023
9e3599c
feat: clean
marcomariscal Sep 18, 2023
aadce51
fix: type
marcomariscal Sep 18, 2023
78e2aa3
feat: update to use viem
marcomariscal Sep 19, 2023
484d0ce
feat: update to use viem
marcomariscal Sep 19, 2023
d3aa29a
feat: use bigint
marcomariscal Sep 19, 2023
bc4c9d2
chore: remove unused legacy components (so we don't have to update to…
marcomariscal Sep 19, 2023
0da8b19
chore: remove legacy
marcomariscal Sep 19, 2023
4fdbda9
chore: remove legacy
marcomariscal Sep 19, 2023
1ef2405
feat: update so that we can use viem (even tho these are legacy and n…
marcomariscal Sep 19, 2023
718e759
feat: update to use viem
marcomariscal Sep 19, 2023
3710389
chore: uncomment yp components
marcomariscal Sep 19, 2023
5fbd3a0
fix: use provider
marcomariscal Sep 20, 2023
1e69f06
fix: use viem
marcomariscal Sep 20, 2023
cb72438
fix: use viem
marcomariscal Sep 20, 2023
5d238c6
fix: condense signer logic
marcomariscal Sep 20, 2023
710413b
chore: remove unused
marcomariscal Sep 20, 2023
c602ad5
chore: remove unused
marcomariscal Sep 20, 2023
b0388ca
feat: get ethers signer
marcomariscal Sep 20, 2023
58c4465
package: ethers v5
marcomariscal Sep 20, 2023
37f6f5f
fix: use ethers provider
marcomariscal Sep 20, 2023
64b3906
fix: remove fallback logic for now until we find a better way to hand…
marcomariscal Sep 20, 2023
ded8ea0
fix: handle new wagmi/viem prepare send tx hook
marcomariscal Sep 20, 2023
f87cba8
feat: sim contract to get proper wagmi request
marcomariscal Sep 20, 2023
1b05032
Merge pull request #454 from yieldprotocol/feat/newWagmiViem-yield
marcomariscal Sep 21, 2023
c90735a
Merge branch 'feat/newWagmiViem-yield' into feat/newWagmiViem
marcomariscal Sep 21, 2023
06dc444
Merge branch 'dev' into feat/newWagmiViem
marcomariscal Sep 21, 2023
1444ece
fix: use ethers provider for mint button
marcomariscal Sep 21, 2023
84683d3
chore: remove unused import
marcomariscal Sep 21, 2023
16ec020
fix: clean up
marcomariscal Sep 21, 2023
d9adc88
feat: try catch the cleanValue
marcomariscal Sep 21, 2023
5227997
fix: clean up and comment to figure out withdraw func
marcomariscal Sep 21, 2023
dfc2392
useApproval bugfix
brucedonovan Sep 25, 2023
26921c6
Merge branch 'dev' into feat/newWagmiViem
brucedonovan Sep 26, 2023
ad06c11
bugfix/transfer eth apporal
brucedonovan Sep 26, 2023
82336d8
WIp:withdrawREth
brucedonovan Sep 26, 2023
1ad6e27
Merge branch 'feat/newWagmiViem' into integration/BOS
brucedonovan Sep 26, 2023
d47cb41
remove yarn lock
brucedonovan Sep 26, 2023
93b0096
WIP
brucedonovan Sep 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,34 @@
"@hop-protocol/sdk": "^0.0.1-beta.535",
"@liquity/lib-base": "^3.0.0",
"@liquity/lib-ethers": "^3.4.0",
"@near-wallet-selector/core": "^8.5.1",
"@near-wallet-selector/modal-ui": "^8.5.1",
"@near-wallet-selector/near-wallet": "^8.5.1",
"@near-wallet-selector/neth": "^8.5.1",
"@near-wallet-selector/nightly": "^8.5.1",
"@near-wallet-selector/sender": "^8.5.1",
"@next/font": "13.1.2",
"@rainbow-me/rainbowkit": "^0.12.0",
"@rainbow-me/rainbowkit": "^1.0.11",
"@types/node": "18.11.18",
"@types/react": "18.0.27",
"@types/react-dom": "18.0.10",
"@uniswap/sdk-core": "<=4.0.3 || >4.0.6",
"@uniswap/smart-order-router": "^3.11.0",
"@uniswap/v3-periphery": "^1.4.3",
"@web3-onboard/injected-wallets": "^2.10.5",
"@web3-onboard/ledger": "^2.5.2",
"@web3-onboard/react": "^2.8.11",
"@web3-onboard/walletconnect": "^2.4.6",
"copy-to-clipboard": "^3.3.3",
"date-fns": "^2.30.0",
"eslint": "8.32.0",
"eslint-config-next": "13.1.2",
"ethers": "^5.7.2",
"ethers": "5",
"graphql-request": "^6.1.0",
"json-bigint": "^1.0.0",
"local-storage": "^2.0.0",
"near-api-js": "^2.1.4",
"near-social-vm": "^2.3.1",
"next": "13.1.2",
"next-auth": "^4.22.1",
"react": "18.2.0",
Expand All @@ -53,14 +66,15 @@
"react-loading-skeleton": "^3.2.0",
"react-markdown": "^8.0.7",
"react-query": "^3.39.3",
"react-singleton-hook": "^4.0.1",
"react-textarea-autosize": "^8.4.1",
"react-toastify": "^9.1.2",
"react-use-websocket": "^4.3.1",
"siwe": "^2.1.4",
"swr": "^2.0.4",
"typescript": "^5.2.2",
"viem": "^1.9.3",
"wagmi": "^0.12.0",
"viem": "^1.10.13",
"wagmi": "^1.4.1",
"zksync-web3": "^0.14.3"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/abi/SeaportAbi.json → src/abi/SeaportAbi.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[
export default[
{
"inputs": [
{
Expand Down Expand Up @@ -2255,4 +2255,4 @@
"name": "OrdersMatched",
"type": "event"
}
]
] as const
Loading