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

feat: adds accredited investor restriction to backed token #179

Merged
merged 2 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 4 additions & 1 deletion src/constants/tokenRestrictions.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { SupportedChainId } from './chains'
import TokenRestrictionCache from './TokenRestrictionLookupTable'
import { EURS, OUT2 } from './tokens'
import { bIB01_MAINNET,EURS, OUT2 } from './tokens'

export enum TOKEN_RESTRICTION_TYPE {
NONE = -1,
Expand All @@ -19,6 +19,9 @@ export const TOKEN_RESTRICTIONS: {
[SupportedChainId.SEPOLIA]: {
[EURS.address]: TOKEN_RESTRICTION_TYPE.ACCREDITED_INVESTOR,
},
[SupportedChainId.MAINNET]: {
[bIB01_MAINNET.address]: TOKEN_RESTRICTION_TYPE.ACCREDITED_INVESTOR,
},
}

if (!process.env.REACT_APP_SUMSUB_ACCREDITED_INVESTOR_FORM_URL) {
Expand Down
7 changes: 7 additions & 0 deletions src/constants/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ export const STETH_MAINNET = new Token(
'stETH',
'Liquid staked Ether 2.0'
)
export const bIB01_MAINNET = new Token(
SupportedChainId.MAINNET,
"0xca30c93b02514f86d5c86a6e375e3a330b435fb5",
18,
'bIB01',
'Backed IB01 $ Treasury Bond 0-1yr'
)
export const OUT1 = new Token(
SupportedChainId.OPTIMISM_GOERLI,
'0x32307adfFE088e383AFAa721b06436aDaBA47DBE',
Expand Down
Loading