This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(illuvium): Extract Illuvium to Studio and fix the staked/claimab…
…le amounts (#273)
- Loading branch information
1 parent
8c8d04c
commit 3da8a03
Showing
19 changed files
with
9,404 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
806 changes: 806 additions & 0 deletions
806
src/apps/illuvium/contracts/abis/illuvium-core-pool.json
Large diffs are not rendered by default.
Oops, something went wrong.
623 changes: 623 additions & 0 deletions
623
src/apps/illuvium/contracts/abis/illuvium-ilv-pool-v-2.json
Large diffs are not rendered by default.
Oops, something went wrong.
519 changes: 519 additions & 0 deletions
519
src/apps/illuvium/contracts/abis/illuvium-sushi-lp-pool-v-2.json
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
1,568 changes: 1,568 additions & 0 deletions
1,568
src/apps/illuvium/contracts/ethers/IlluviumIlvPoolV2.ts
Large diffs are not rendered by default.
Oops, something went wrong.
1,290 changes: 1,290 additions & 0 deletions
1,290
src/apps/illuvium/contracts/ethers/IlluviumSushiLpPoolV2.ts
Large diffs are not rendered by default.
Oops, something went wrong.
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,30 @@ | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import type { Listener } from '@ethersproject/providers'; | ||
import type { Event, EventFilter } from 'ethers'; | ||
|
||
export interface TypedEvent<TArgsArray extends Array<any> = any, TArgsObject = any> extends Event { | ||
args: TArgsArray & TArgsObject; | ||
} | ||
|
||
export interface TypedEventFilter<_TEvent extends TypedEvent> extends EventFilter {} | ||
|
||
export interface TypedListener<TEvent extends TypedEvent> { | ||
(...listenerArg: [...__TypechainArgsArray<TEvent>, TEvent]): void; | ||
} | ||
|
||
type __TypechainArgsArray<T> = T extends TypedEvent<infer U> ? U : never; | ||
|
||
export interface OnEvent<TRes> { | ||
<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>, listener: TypedListener<TEvent>): TRes; | ||
(eventName: string, listener: Listener): TRes; | ||
} | ||
|
||
export type MinEthersFactory<C, ARGS> = { | ||
deploy(...a: ARGS[]): Promise<C>; | ||
}; | ||
|
||
export type GetContractTypeFromFactory<F> = F extends MinEthersFactory<infer C, any> ? C : never; | ||
|
||
export type GetARGsTypeFromFactory<F> = F extends MinEthersFactory<any, any> ? Parameters<F['deploy']> : never; |
Oops, something went wrong.