-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(PLTF-454): add sei chain support (#631)
* feat(PLTF-454): add sei chain support
- Loading branch information
Showing
24 changed files
with
146 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import { toAddress, ZERO_ADDRESS } from "@rarible/types" | ||
import { id32 } from "../common/id" | ||
import type { EthereumConfig } from "./type" | ||
import { FEE_CONFIG_URL } from "./common" | ||
|
||
export const seiArctic1Config: EthereumConfig = { | ||
basePath: "https://testnet-sei-api.rarible.org", | ||
chainId: 713715, | ||
environment: "testnet", | ||
exchange: { | ||
v1: ZERO_ADDRESS, | ||
v2: toAddress("0x5b96ddd3245aaC0cd97cFf6717985F3b9B01df3B"), | ||
openseaV1: ZERO_ADDRESS, | ||
wrapper: toAddress("0x0D7147461cef9Ce51B8ba63560Dc53f96E90638B"), | ||
looksrare: ZERO_ADDRESS, | ||
looksrareV2: ZERO_ADDRESS, | ||
x2y2: ZERO_ADDRESS, | ||
}, | ||
transferProxies: { | ||
nft: toAddress("0xA5707153b8AF346e17AF765235B054136eCf99EC"), | ||
erc20: toAddress("0xA3d49c7e2c845b792e422696FE0D9ef17a509731"), | ||
erc721Lazy: toAddress("0x74eBEEB6FBCf94f748f5999E14aCf3642A38e813"), | ||
erc1155Lazy: toAddress("0xd60D801E1E76a44f8A2E728F6d3a760626aa2cf2"), | ||
openseaV1: ZERO_ADDRESS, | ||
cryptoPunks: ZERO_ADDRESS, | ||
}, | ||
feeConfigUrl: FEE_CONFIG_URL, | ||
openSea: { | ||
metadata: id32("RARIBLE"), | ||
proxyRegistry: ZERO_ADDRESS, | ||
merkleValidator: ZERO_ADDRESS, | ||
}, | ||
factories: { | ||
erc721: toAddress("0xE5D43624116007CD79D17fB7136672A49fd33CE0"), | ||
erc1155: toAddress("0x6E6d179b1DCEaad5483edaCF907bf619FB35C7Eb"), | ||
}, | ||
cryptoPunks: { | ||
marketContract: ZERO_ADDRESS, | ||
wrapperContract: ZERO_ADDRESS, | ||
}, | ||
sudoswap: { | ||
pairFactory: ZERO_ADDRESS, | ||
pairRouter: ZERO_ADDRESS, | ||
}, | ||
weth: toAddress("0x57ee725beeb991c70c53f9642f36755ec6eb2139"), | ||
auction: ZERO_ADDRESS, | ||
looksrareOrderValidatorV2: ZERO_ADDRESS, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import { toAddress, ZERO_ADDRESS } from "@rarible/types" | ||
import { id32 } from "../common/id" | ||
import type { EthereumConfig } from "./type" | ||
import { FEE_CONFIG_URL } from "./common" | ||
|
||
export const seiPacific1Config: EthereumConfig = { | ||
basePath: "https://sei-api.rarible.org", | ||
chainId: 1329, | ||
environment: "production", | ||
exchange: { | ||
v1: ZERO_ADDRESS, | ||
v2: toAddress("0x42b8DB7aCB54B4f8690C7379Ff2Befb6caf67478"), | ||
openseaV1: ZERO_ADDRESS, | ||
wrapper: toAddress("0x4Da5504b5FD5C5073906478B2e9B66d278aB4D2C"), | ||
looksrare: ZERO_ADDRESS, | ||
looksrareV2: ZERO_ADDRESS, | ||
x2y2: ZERO_ADDRESS, | ||
}, | ||
transferProxies: { | ||
nft: toAddress("0x8dBEcA8fA7ed5424f8b8dD5945dDC62393D0a642"), | ||
erc20: toAddress("0xb1199ECB7bdB9eE082b9535A6c08c912914CaBAC"), | ||
erc721Lazy: toAddress("0x9f1e78A81fF684F034efBbd97cCE508dF19B4210"), | ||
erc1155Lazy: toAddress("0x56A3A3D3DeC25526eb54C771B15159443672602A"), | ||
openseaV1: ZERO_ADDRESS, | ||
cryptoPunks: ZERO_ADDRESS, | ||
}, | ||
feeConfigUrl: FEE_CONFIG_URL, | ||
openSea: { | ||
metadata: id32("RARIBLE"), | ||
proxyRegistry: ZERO_ADDRESS, | ||
merkleValidator: ZERO_ADDRESS, | ||
}, | ||
factories: { | ||
erc721: toAddress("0x4fA35DD15183a320254fE36aE1CC7067dDAC112f"), | ||
erc1155: toAddress("0xa008fe83286382B4D56D92A07C4E602d58AF62F1"), | ||
}, | ||
cryptoPunks: { | ||
marketContract: ZERO_ADDRESS, | ||
wrapperContract: ZERO_ADDRESS, | ||
}, | ||
sudoswap: { | ||
pairFactory: ZERO_ADDRESS, | ||
pairRouter: ZERO_ADDRESS, | ||
}, | ||
weth: toAddress("0xe30fedd158a2e3b13e9badaeabafc5516e95e8c7"), | ||
auction: ZERO_ADDRESS, | ||
looksrareOrderValidatorV2: ZERO_ADDRESS, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7047,10 +7047,10 @@ | |
dependencies: | ||
callable-instance "^2.0.0" | ||
|
||
"@rarible/[email protected].10": | ||
version "0.16.5-alpha.10" | ||
resolved "https://registry.yarnpkg.com/@rarible/api-client/-/api-client-0.16.5-alpha.10.tgz#9f9f43f3134bfd8db6507105903912fc0da8b202" | ||
integrity sha512-GPAhX86KlfOhxnzFgUH6+Pv3PG1tQzsgZ7CtQQ6xKTDJ7fm+vGftBCheuVGogynwcvJ8vQ3sQhmu+mh2M7YoZA== | ||
"@rarible/[email protected].13": | ||
version "0.16.5-alpha.13" | ||
resolved "https://registry.yarnpkg.com/@rarible/api-client/-/api-client-0.16.5-alpha.13.tgz#67333551811f8535fcf9da54e6e061c94109584f" | ||
integrity sha512-7pmHKunl4yVw5nehOBPA5FZ8QD//PpOFMHAegRAjmvl/QDMdy+1UvfJxGwCU1yx/VaEx9eInAMqiF97f2ggFJw== | ||
|
||
"@rarible/eslint-config-react@~0.10.0-alpha.37": | ||
version "0.10.0-alpha.37" | ||
|
@@ -7213,10 +7213,10 @@ | |
resolved "https://registry.yarnpkg.com/@rarible/types/-/types-0.9.3.tgz#16eac9f500b48e4bd4c43f2d93a84c46dc5a5a13" | ||
integrity sha512-lvmmqyibKNqylXr9yYMdor+onv/2z7O8LThpEsO/DpM2nawJ8f/QeEPjlyqTpjVhQyrpGwwFjuNQCTiiJi3msg== | ||
|
||
"@rarible/types@~0.9.26": | ||
version "0.9.26" | ||
resolved "https://registry.yarnpkg.com/@rarible/types/-/types-0.9.26.tgz#2d8183fd53b5cff32640185e4782d6610d00820a" | ||
integrity sha512-q4lX1wOUBDENlzhZXctrCU9O0SFaZBsnU/AIgrKixzLktzq96MG/5lOkXxsBhQzotpUnixuDHFbEDtfqtkaLzw== | ||
"@rarible/types@~0.9.27": | ||
version "0.9.27" | ||
resolved "https://registry.yarnpkg.com/@rarible/types/-/types-0.9.27.tgz#097e5620798e11411854a5e903e53a64779fd11d" | ||
integrity sha512-xUoIkr5QOVY9UvxDwwx/ylW7fLSx7cH4rA4lVAVx4lqyKJBeHxxKglSv2YGROZuM6AJGDwvNWSc9uWkpZFhtYg== | ||
|
||
"@rarible/utils@^0.9.1": | ||
version "0.9.1" | ||
|