Type Aliases
WriteClient
type WriteClient: Client<Transport, Chain, Account | undefined, RpcSchema, WalletActions<Chain, Account | undefined>>;
- Defined in types/action.ts:3
ReadClient
type ReadClient: Client<Transport, Chain>;
- Defined in types/action.ts:5
WriteContractBaseProps
type WriteContractBaseProps: {
account: Address;
} & {
gas: bigint;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
} | {
gas: bigint;
gasPrice: bigint;
};
Type declaration
Name | Type | Defined in |
---|---|---|
account ? | Address | types/action.ts:8 |
- Defined in types/action.ts:7
BondingCurveType
type BondingCurveType: "linear" | "exponential";
- Defined in types/bonding-curve.ts:2
ParseExponentialParam
type ParseExponentialParam: {
initPrice: number;
finalPrice: number;
finalSupply: number;
finalTVL: never;
aValue: never;
} | {
initPrice: number;
aValue: number;
finalPrice: never;
finalSupply: never;
finalTVL: never;
} | {
finalPrice: number;
finalSupply: number;
finalTVL: number;
initPrice: never;
aValue: never;
};
- Defined in types/bonding-curve.ts:4
ParseLinearParam
type ParseLinearParam: {
initPrice: number;
finalSupply: number;
} & {
finalPrice: number;
finalTVL: never;
} | {
finalPrice: never;
finalTVL: number;
};
Type declaration
Name | Type | Defined in |
---|---|---|
initPrice | number | types/bonding-curve.ts:28 |
finalSupply | number | types/bonding-curve.ts:29 |
- Defined in types/bonding-curve.ts:27
ParseBondingCurveParam
type ParseBondingCurveParam: ParseExponentialParam | ParseLinearParam;
- Defined in types/bonding-curve.ts:41
ParseBondingCurveProps
type ParseBondingCurveProps: {
type: BondingCurveType;
param: ParseBondingCurveParam;
} | {
type: "exponential";
param: ParseExponentialParam;
} | {
type: "linear";
param: ParseLinearParam;
};
- Defined in types/bonding-curve.ts:43
EncodeExponentialParam
type EncodeExponentialParam: {
a: number;
b: number;
};
Type declaration
Name | Type | Defined in |
---|---|---|
a | number | types/bonding-curve.ts:58 |
b | number | types/bonding-curve.ts:59 |
- Defined in types/bonding-curve.ts:57
EncodeLinearParam
type EncodeLinearParam: {
k: number;
p: number;
};
Type declaration
Name | Type | Defined in |
---|---|---|
k | number | types/bonding-curve.ts:63 |
p | number | types/bonding-curve.ts:64 |
- Defined in types/bonding-curve.ts:62
EncodeBondingCurveParam
type EncodeBondingCurveParam: EncodeExponentialParam | EncodeLinearParam;
- Defined in types/bonding-curve.ts:67
EncodeBondingCurveProps
type EncodeBondingCurveProps: {
type: BondingCurveType;
param: EncodeBondingCurveParam;
} | {
type: "linear";
param: EncodeLinearParam;
} | {
type: "exponential";
param: EncodeExponentialParam;
};
- Defined in types/bonding-curve.ts:69
FormatExponentialParam
type FormatExponentialParam: EncodeExponentialParam & {
finalSupply: number;
};
Type declaration
Name | Type | Defined in |
---|---|---|
finalSupply ? | number | types/bonding-curve.ts:83 |
- Defined in types/bonding-curve.ts:83
FormatLinearParam
type FormatLinearParam: EncodeLinearParam & {
finalSupply: number;
};
Type declaration
Name | Type | Defined in |
---|---|---|
finalSupply | number | types/bonding-curve.ts:84 |
- Defined in types/bonding-curve.ts:84
FormatBondingCurveParam
type FormatBondingCurveParam: FormatExponentialParam | FormatLinearParam;
- Defined in types/bonding-curve.ts:85
FormatBondingCurveProps
type FormatBondingCurveProps: {
type: BondingCurveType;
param: FormatBondingCurveParam;
} | {
type: "exponential";
param: FormatExponentialParam;
} | {
type: "linear";
param: FormatLinearParam;
};
- Defined in types/bonding-curve.ts:87
BondingCurveProps
type BondingCurveProps: EncodeBondingCurveProps | ParseBondingCurveProps;
- Defined in types/bonding-curve.ts:101
ComputeExponentialProps
type ComputeExponentialProps: EncodeExponentialParam & {
supply: number;
};
Type declaration
Name | Type | Defined in |
---|---|---|
supply | number | types/bonding-curve.ts:104 |
- Defined in types/bonding-curve.ts:103
ComputeLinearProps
type ComputeLinearProps: EncodeLinearParam & {
supply: number;
};
Type declaration
Name | Type | Defined in |
---|---|---|
supply | number | types/bonding-curve.ts:108 |
- Defined in types/bonding-curve.ts:107
ComputeBondingCurveProps
type ComputeBondingCurveProps: {
type: BondingCurveType;
param: EncodeBondingCurveParam;
supply: number;
};
Type declaration
Name | Type | Defined in |
---|---|---|
type | BondingCurveType | types/bonding-curve.ts:112 |
param | EncodeBondingCurveParam | types/bonding-curve.ts:113 |
supply | number | types/bonding-curve.ts:114 |
- Defined in types/bonding-curve.ts:111
GenerateExponentialChartProps
type GenerateExponentialChartProps: ComputeExponentialProps & {
start: number;
count: number;
end: number;
};
Type declaration
Name | Type | Defined in |
---|---|---|
start ? | number | types/bonding-curve.ts:118 |
count ? | number | types/bonding-curve.ts:119 |
end ? | number | types/bonding-curve.ts:120 |
- Defined in types/bonding-curve.ts:117
BondingCurveChartItem
type BondingCurveChartItem: {
supply: number;
price: number;
tvl: number;
marketCap: number;
};
Type declaration
Name | Type | Defined in |
---|---|---|
supply | number | types/bonding-curve.ts:123 |
price | number | types/bonding-curve.ts:123 |
tvl | number | types/bonding-curve.ts:123 |
marketCap | number | types/bonding-curve.ts:123 |
- Defined in types/bonding-curve.ts:123
BondingCurveChart
type BondingCurveChart: BondingCurveChartItem[];
- Defined in types/bonding-curve.ts:124
GenerateLinearChartProps
type GenerateLinearChartProps: ComputeLinearProps & {
count: number;
start: number;
end: number;
};
Type declaration
Name | Type | Defined in |
---|---|---|
count ? | number | types/bonding-curve.ts:127 |
start ? | number | types/bonding-curve.ts:128 |
end ? | number | types/bonding-curve.ts:129 |
- Defined in types/bonding-curve.ts:126
GenerateBondingCurveChartProps
type GenerateBondingCurveChartProps: {
type: BondingCurveType;
param: EncodeBondingCurveParam;
supply: number;
start: number;
end: number;
count: number;
};
Type declaration
Name | Type | Defined in |
---|---|---|
type | BondingCurveType | types/bonding-curve.ts:133 |
param | EncodeBondingCurveParam | types/bonding-curve.ts:134 |
supply | number | types/bonding-curve.ts:135 |
start ? | number | types/bonding-curve.ts:136 |
end ? | number | types/bonding-curve.ts:137 |
count ? | number | types/bonding-curve.ts:138 |
- Defined in types/bonding-curve.ts:132
HookType
type HookType: "launchTime" | "limit" | "launchWhitelist";
- Defined in types/hook.ts:4
HookLaunchTimeParam
type HookLaunchTimeParam: number;
- Defined in types/hook.ts:5
HookLimitParam
type HookLimitParam: bigint;
- Defined in types/hook.ts:6
HookLaunchWhitelistParam
type HookLaunchWhitelistParam: {
startTime: number;
whiteTime: number;
startFilters: Address[];
bloomFilters: Address[];
mintAmounts: bigint[];
};
Type declaration
Name | Type | Defined in |
---|---|---|
startTime | number | types/hook.ts:8 |
whiteTime | number | types/hook.ts:9 |
startFilters | Address [] | types/hook.ts:10 |
bloomFilters | Address [] | types/hook.ts:11 |
mintAmounts | bigint [] | types/hook.ts:12 |
- Defined in types/hook.ts:7
HookParam
type HookParam: HookLaunchTimeParam | HookLimitParam | HookLaunchWhitelistParam;
- Defined in types/hook.ts:15
HookConf<T>
type HookConf<T>: {
address: Address;
param: T;
encode: string;
};
Type Parameters
Type Parameter | Default type |
---|---|
T extends HookParam | HookParam |
Type declaration
Name | Type | Defined in |
---|---|---|
address | Address | types/hook.ts:18 |
param | T | types/hook.ts:19 |
encode ? | string | types/hook.ts:20 |
- Defined in types/hook.ts:17
ERC721_Metadata
type ERC721_Metadata: {
name: string;
image: string;
description: string;
};
Type declaration
Name | Type | Defined in |
---|---|---|
name | string | types/metadata.ts:3 |
image | string | types/metadata.ts:4 |
description | string | types/metadata.ts:5 |
- Defined in types/metadata.ts:2
ERC115_Metadata
type ERC115_Metadata: ERC721_Metadata & {
decimals: number;
properties: object;
localization: object & {
uri: string;
default: string;
locales: string;
};
};
Type declaration
Name | Type | Defined in |
---|---|---|
decimals ? | number | types/metadata.ts:10 |
properties ? | object | types/metadata.ts:11 |
localization ? | object & { uri : string ; default : string ; locales : string ; } | types/metadata.ts:12 |
- Defined in types/metadata.ts:9
OpenSea_Attributes
type OpenSea_Attributes: {
display_type: "boost_number" | "boost_percentage" | "number" | "date";
trait_type: string;
value: number | string;
};
Type declaration
Name | Type | Defined in |
---|---|---|
display_type ? | "boost_number" | "boost_percentage" | "number" | "date" | types/metadata.ts:17 |
trait_type ? | string | types/metadata.ts:18 |
value | number | string | types/metadata.ts:19 |
- Defined in types/metadata.ts:16
OpenSea_Metadata
type OpenSea_Metadata: ERC721_Metadata & {
external_url: string;
image_data: string;
background_color: string;
animation_url: string;
youtube_url: string;
attributes: OpenSea_Attributes[];
};
Type declaration
Name | Type | Defined in |
---|---|---|
external_url ? | string | types/metadata.ts:24 |
image_data ? | string | types/metadata.ts:25 |
background_color ? | string | types/metadata.ts:26 |
animation_url ? | string | types/metadata.ts:27 |
youtube_url ? | string | types/metadata.ts:28 |
attributes ? | OpenSea_Attributes [] | types/metadata.ts:29 |
- Defined in types/metadata.ts:23
Curve_Metadata
type Curve_Metadata: OpenSea_Metadata & {
website_url: string;
twitter_url: string;
discord_url: string;
telegram_url: string;
};
Type declaration
Name | Type | Defined in |
---|---|---|
website_url ? | string | types/metadata.ts:33 |
twitter_url ? | string | types/metadata.ts:34 |
discord_url ? | string | types/metadata.ts:35 |
telegram_url ? | string | types/metadata.ts:36 |
- Defined in types/metadata.ts:32
MixedTokenType
type MixedTokenType: "LOL" | "ERC20" | "ERC20WithSupply";
- Defined in types/mixed-token.ts:5
EncodeMixedTokenType
type EncodeMixedTokenType: "HODL" | "LOL";
- Defined in types/mixed-token.ts:6
MetadataUrl
type MetadataUrl: "ipfs://" | string;
- Defined in types/mixed-token.ts:7
MixedTokenBaseParam
type MixedTokenBaseParam: {
type: EncodeMixedTokenType;
name: string;
symbol: string;
metadataUrl: MetadataUrl;
raisingAddress: Address;
adminAddress: Address;
treasuryAddress: Address;
hook: {
launchTime: HookConf<HookLaunchTimeParam>;
limit: HookConf<HookLimitParam>;
launchWhitelist: HookConf<HookLaunchWhitelistParam>;
};
fastMintAmount: bigint;
};
Type declaration
Name | Type | Defined in |
---|---|---|
type | EncodeMixedTokenType | types/mixed-token.ts:9 |
name | string | types/mixed-token.ts:10 |
symbol | string | types/mixed-token.ts:11 |
metadataUrl | MetadataUrl | types/mixed-token.ts:12 |
raisingAddress | Address | types/mixed-token.ts:13 |
adminAddress ? | Address | types/mixed-token.ts:14 |
treasuryAddress ? | Address | types/mixed-token.ts:15 |
hook ? | { launchTime : HookConf <HookLaunchTimeParam >; limit : HookConf <HookLimitParam >; launchWhitelist : HookConf <HookLaunchWhitelistParam >; } | types/mixed-token.ts:16 |
hook.launchTime ? | HookConf <HookLaunchTimeParam > | types/mixed-token.ts:17 |
hook.limit ? | HookConf <HookLimitParam > | types/mixed-token.ts:18 |
hook.launchWhitelist ? | HookConf <HookLaunchWhitelistParam > | types/mixed-token.ts:19 |
fastMintAmount ? | bigint | types/mixed-token.ts:21 |
- Defined in types/mixed-token.ts:8
MixedTokenHODLParam
type MixedTokenHODLParam: MixedTokenBaseParam & {
type: "HODL";
bondingCurve: BondingCurveProps;
mintTaxRate: number;
burnTaxRate: number;
maxSupply: bigint;
};
Type declaration
Name | Type | Defined in |
---|---|---|
type | "HODL" | types/mixed-token.ts:24 |
bondingCurve | BondingCurveProps | types/mixed-token.ts:25 |
mintTaxRate | number | types/mixed-token.ts:26 |
burnTaxRate | number | types/mixed-token.ts:27 |
maxSupply ? | bigint | types/mixed-token.ts:28 |
- Defined in types/mixed-token.ts:23
MixedTokenLOLParam
type MixedTokenLOLParam: MixedTokenBaseParam & {
type: "LOL";
bondingCurve: BondingCurveProps;
mintTaxRate: number;
burnTaxRate: number;
maxSupply: bigint;
};
Type declaration
Name | Type | Defined in |
---|---|---|
type | "LOL" | types/mixed-token.ts:31 |
bondingCurve ? | BondingCurveProps | types/mixed-token.ts:32 |
mintTaxRate ? | number | types/mixed-token.ts:33 |
burnTaxRate ? | number | types/mixed-token.ts:34 |
maxSupply ? | bigint | types/mixed-token.ts:35 |
- Defined in types/mixed-token.ts:30
MixedTokenParam
type MixedTokenParam: MixedTokenHODLParam | MixedTokenLOLParam;
- Defined in types/mixed-token.ts:37