@ixily/activ
Version:
Alpha Capture Trade Idea Verification. Blockchain ownership proven trade ideas and strategies.
32 lines (29 loc) • 829 B
text/typescript
import { ContractInterface } from 'ethers'
import { CHAIN_IDS_OPTS } from '../../constants'
import { ISupportedBlockchainNetwork } from './supported-blockchain-network.i'
export type IChain = keyof typeof CHAIN_IDS_OPTS
export interface IContractRecipe {
nameOrVersion: string
providerUrl: string
gateAbi: ContractInterface // IxilyActivV4
gateContractAddress: string // IxilyActivV4
// coreAbi: ContractInterface // IxilyActivCoreV4
coreContractAddress: string // IxilyActivCoreV4
chain: ISupportedBlockchainNetwork
uniqueKey: string
isTestnet: boolean
gasUnitsCost: {
ideaCreation: number
ideaStageCreation: number
}
errorsDealWith: {
increaseGasUnits: string[]
decreaseGasUnits: string[]
}
coinCode: 'MATIC' | 'ETH'
exhibition?: {
name: string
image: string
}
}
export { Contract } from 'ethers'