Skip to content

Commit

Permalink
regenerated contract
Browse files Browse the repository at this point in the history
  • Loading branch information
mranilrai committed Sep 12, 2023
1 parent 2d52d63 commit 79aebb1
Show file tree
Hide file tree
Showing 10 changed files with 2,224 additions and 5 deletions.
1,165 changes: 1,165 additions & 0 deletions src/contracts/GovernanceTimelock.ts

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions src/contracts/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,12 @@ export interface OnEvent<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;

export type PromiseOrValue<T> = T | Promise<T>;
2 changes: 1 addition & 1 deletion src/contracts/factories/AuraLocker__factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1342,7 +1342,7 @@ const _abi = [
stateMutability: 'view',
type: 'function',
},
];
] as const;

export class AuraLocker__factory {
static readonly abi = _abi;
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/factories/BadgerPeakSwap__factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ const _abi = [
payable: false,
type: 'function',
},
];
] as const;

export class BadgerPeakSwap__factory {
static readonly abi = _abi;
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/factories/CurveFactoryPool__factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ const _abi = [
},
],
},
];
] as const;

export class CurveFactoryPool__factory {
static readonly abi = _abi;
Expand Down
Loading

0 comments on commit 79aebb1

Please sign in to comment.