-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add typechain types generation to tests
- Loading branch information
Grigoriy Simonov
committed
Oct 1, 2022
1 parent
239c99e
commit 6c2a904
Showing
15 changed files
with
1,268 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
import type BN from "bn.js"; | ||
import type { ContractOptions } from "web3-eth-contract"; | ||
import type { EventLog } from "web3-core"; | ||
import type { EventEmitter } from "events"; | ||
import type { | ||
Callback, | ||
PayableTransactionObject, | ||
NonPayableTransactionObject, | ||
BlockType, | ||
ContractEventLog, | ||
BaseContract, | ||
} from "./types"; | ||
|
||
export interface EventOptions { | ||
filter?: object; | ||
fromBlock?: BlockType; | ||
topics?: string[]; | ||
} | ||
|
||
export type CollectionCreated = ContractEventLog<{ | ||
owner: string; | ||
collectionId: string; | ||
0: string; | ||
1: string; | ||
}>; | ||
|
||
export interface CollectionHelpersAbi extends BaseContract { | ||
constructor( | ||
jsonInterface: any[], | ||
address?: string, | ||
options?: ContractOptions | ||
): CollectionHelpersAbi; | ||
clone(): CollectionHelpersAbi; | ||
methods: { | ||
collectionCreationFee(): NonPayableTransactionObject<string>; | ||
|
||
createERC721MetadataCompatibleCollection( | ||
name: string, | ||
description: string, | ||
tokenPrefix: string, | ||
baseUri: string | ||
): PayableTransactionObject<string>; | ||
|
||
createERC721MetadataCompatibleRFTCollection( | ||
name: string, | ||
description: string, | ||
tokenPrefix: string, | ||
baseUri: string | ||
): PayableTransactionObject<string>; | ||
|
||
createNonfungibleCollection( | ||
name: string, | ||
description: string, | ||
tokenPrefix: string | ||
): PayableTransactionObject<string>; | ||
|
||
createRFTCollection( | ||
name: string, | ||
description: string, | ||
tokenPrefix: string | ||
): PayableTransactionObject<string>; | ||
|
||
isCollectionExist( | ||
collectionAddress: string | ||
): NonPayableTransactionObject<boolean>; | ||
|
||
supportsInterface( | ||
interfaceID: string | number[] | ||
): NonPayableTransactionObject<boolean>; | ||
}; | ||
events: { | ||
CollectionCreated(cb?: Callback<CollectionCreated>): EventEmitter; | ||
CollectionCreated( | ||
options?: EventOptions, | ||
cb?: Callback<CollectionCreated> | ||
): EventEmitter; | ||
|
||
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter; | ||
}; | ||
|
||
once(event: "CollectionCreated", cb: Callback<CollectionCreated>): void; | ||
once( | ||
event: "CollectionCreated", | ||
options: EventOptions, | ||
cb: Callback<CollectionCreated> | ||
): void; | ||
} |
Oops, something went wrong.