@atomiqlabs/chain-evm
Version:
EVM specific base implementation
17 lines (11 loc) • 484 B
text/typescript
import {BaseContract} from "ethers";
import {EVMModule} from "../chain/EVMModule";
import {EVMChainInterface} from "../chain/EVMChainInterface";
import {EVMContractBase} from "./EVMContractBase";
export class EVMContractModule<T extends BaseContract> extends EVMModule<any> {
readonly contract: EVMContractBase<T>;
constructor(chainInterface: EVMChainInterface<any>, contract: EVMContractBase<T>) {
super(chainInterface)
this.contract = contract;
}
}