How to use overrides method in stryker-parent

Best JavaScript code snippet using stryker-parent

RUSD.d.ts

Source:RUSD.d.ts Github

copy

Full Screen

1/* Autogenerated file. Do not edit manually. */2/* tslint:disable */3/* eslint-disable */4import {5 ethers,6 EventFilter,7 Signer,8 BigNumber,9 BigNumberish,10 PopulatedTransaction,11 BaseContract,12 ContractTransaction,13 Overrides,14 CallOverrides,15} from "ethers";16import { BytesLike } from "@ethersproject/bytes";17import { Listener, Provider } from "@ethersproject/providers";18import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi";19import { TypedEventFilter, TypedEvent, TypedListener } from "./commons";20interface RUSDInterface extends ethers.utils.Interface {21 functions: {22 "allowance(address,address)": FunctionFragment;23 "approve(address,uint256)": FunctionFragment;24 "balanceOf(address)": FunctionFragment;25 "burn(uint256)": FunctionFragment;26 "burnFrom(address,uint256)": FunctionFragment;27 "creditBalanceOf(address)": FunctionFragment;28 "creditLimitLeftOf(address)": FunctionFragment;29 "creditLimitOf(address)": FunctionFragment;30 "decimals()": FunctionFragment;31 "decreaseAllowance(address,uint256)": FunctionFragment;32 "increaseAllowance(address,uint256)": FunctionFragment;33 "initialize(string,string)": FunctionFragment;34 "initializeRUSD(address,uint256)": FunctionFragment;35 "name()": FunctionFragment;36 "owner()": FunctionFragment;37 "registry()": FunctionFragment;38 "removeRestrictions()": FunctionFragment;39 "renounceOwnership()": FunctionFragment;40 "restrictPositiveBalance()": FunctionFragment;41 "restrictRegistered()": FunctionFragment;42 "restrictionState()": FunctionFragment;43 "setCreditLimit(address,uint256)": FunctionFragment;44 "symbol()": FunctionFragment;45 "totalSupply()": FunctionFragment;46 "transfer(address,uint256)": FunctionFragment;47 "transferFrom(address,address,uint256)": FunctionFragment;48 "transferOwnership(address)": FunctionFragment;49 "updateRestrictionExpiration()": FunctionFragment;50 };51 encodeFunctionData(52 functionFragment: "allowance",53 values: [string, string]54 ): string;55 encodeFunctionData(56 functionFragment: "approve",57 values: [string, BigNumberish]58 ): string;59 encodeFunctionData(functionFragment: "balanceOf", values: [string]): string;60 encodeFunctionData(functionFragment: "burn", values: [BigNumberish]): string;61 encodeFunctionData(62 functionFragment: "burnFrom",63 values: [string, BigNumberish]64 ): string;65 encodeFunctionData(66 functionFragment: "creditBalanceOf",67 values: [string]68 ): string;69 encodeFunctionData(70 functionFragment: "creditLimitLeftOf",71 values: [string]72 ): string;73 encodeFunctionData(74 functionFragment: "creditLimitOf",75 values: [string]76 ): string;77 encodeFunctionData(functionFragment: "decimals", values?: undefined): string;78 encodeFunctionData(79 functionFragment: "decreaseAllowance",80 values: [string, BigNumberish]81 ): string;82 encodeFunctionData(83 functionFragment: "increaseAllowance",84 values: [string, BigNumberish]85 ): string;86 encodeFunctionData(87 functionFragment: "initialize",88 values: [string, string]89 ): string;90 encodeFunctionData(91 functionFragment: "initializeRUSD",92 values: [string, BigNumberish]93 ): string;94 encodeFunctionData(functionFragment: "name", values?: undefined): string;95 encodeFunctionData(functionFragment: "owner", values?: undefined): string;96 encodeFunctionData(functionFragment: "registry", values?: undefined): string;97 encodeFunctionData(98 functionFragment: "removeRestrictions",99 values?: undefined100 ): string;101 encodeFunctionData(102 functionFragment: "renounceOwnership",103 values?: undefined104 ): string;105 encodeFunctionData(106 functionFragment: "restrictPositiveBalance",107 values?: undefined108 ): string;109 encodeFunctionData(110 functionFragment: "restrictRegistered",111 values?: undefined112 ): string;113 encodeFunctionData(114 functionFragment: "restrictionState",115 values?: undefined116 ): string;117 encodeFunctionData(118 functionFragment: "setCreditLimit",119 values: [string, BigNumberish]120 ): string;121 encodeFunctionData(functionFragment: "symbol", values?: undefined): string;122 encodeFunctionData(123 functionFragment: "totalSupply",124 values?: undefined125 ): string;126 encodeFunctionData(127 functionFragment: "transfer",128 values: [string, BigNumberish]129 ): string;130 encodeFunctionData(131 functionFragment: "transferFrom",132 values: [string, string, BigNumberish]133 ): string;134 encodeFunctionData(135 functionFragment: "transferOwnership",136 values: [string]137 ): string;138 encodeFunctionData(139 functionFragment: "updateRestrictionExpiration",140 values?: undefined141 ): string;142 decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;143 decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;144 decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;145 decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result;146 decodeFunctionResult(functionFragment: "burnFrom", data: BytesLike): Result;147 decodeFunctionResult(148 functionFragment: "creditBalanceOf",149 data: BytesLike150 ): Result;151 decodeFunctionResult(152 functionFragment: "creditLimitLeftOf",153 data: BytesLike154 ): Result;155 decodeFunctionResult(156 functionFragment: "creditLimitOf",157 data: BytesLike158 ): Result;159 decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;160 decodeFunctionResult(161 functionFragment: "decreaseAllowance",162 data: BytesLike163 ): Result;164 decodeFunctionResult(165 functionFragment: "increaseAllowance",166 data: BytesLike167 ): Result;168 decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;169 decodeFunctionResult(170 functionFragment: "initializeRUSD",171 data: BytesLike172 ): Result;173 decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;174 decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;175 decodeFunctionResult(functionFragment: "registry", data: BytesLike): Result;176 decodeFunctionResult(177 functionFragment: "removeRestrictions",178 data: BytesLike179 ): Result;180 decodeFunctionResult(181 functionFragment: "renounceOwnership",182 data: BytesLike183 ): Result;184 decodeFunctionResult(185 functionFragment: "restrictPositiveBalance",186 data: BytesLike187 ): Result;188 decodeFunctionResult(189 functionFragment: "restrictRegistered",190 data: BytesLike191 ): Result;192 decodeFunctionResult(193 functionFragment: "restrictionState",194 data: BytesLike195 ): Result;196 decodeFunctionResult(197 functionFragment: "setCreditLimit",198 data: BytesLike199 ): Result;200 decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;201 decodeFunctionResult(202 functionFragment: "totalSupply",203 data: BytesLike204 ): Result;205 decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;206 decodeFunctionResult(207 functionFragment: "transferFrom",208 data: BytesLike209 ): Result;210 decodeFunctionResult(211 functionFragment: "transferOwnership",212 data: BytesLike213 ): Result;214 decodeFunctionResult(215 functionFragment: "updateRestrictionExpiration",216 data: BytesLike217 ): Result;218 events: {219 "Approval(address,address,uint256)": EventFragment;220 "CreditLimitUpdate(address,uint256)": EventFragment;221 "OwnershipTransferred(address,address)": EventFragment;222 "RestrictionExpirationUpdated(uint256)": EventFragment;223 "RestrictionUpdated(uint8)": EventFragment;224 "Transfer(address,address,uint256)": EventFragment;225 };226 getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment;227 getEvent(nameOrSignatureOrTopic: "CreditLimitUpdate"): EventFragment;228 getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;229 getEvent(230 nameOrSignatureOrTopic: "RestrictionExpirationUpdated"231 ): EventFragment;232 getEvent(nameOrSignatureOrTopic: "RestrictionUpdated"): EventFragment;233 getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment;234}235export class RUSD extends BaseContract {236 connect(signerOrProvider: Signer | Provider | string): this;237 attach(addressOrName: string): this;238 deployed(): Promise<this>;239 listeners<EventArgsArray extends Array<any>, EventArgsObject>(240 eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject>241 ): Array<TypedListener<EventArgsArray, EventArgsObject>>;242 off<EventArgsArray extends Array<any>, EventArgsObject>(243 eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,244 listener: TypedListener<EventArgsArray, EventArgsObject>245 ): this;246 on<EventArgsArray extends Array<any>, EventArgsObject>(247 eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,248 listener: TypedListener<EventArgsArray, EventArgsObject>249 ): this;250 once<EventArgsArray extends Array<any>, EventArgsObject>(251 eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,252 listener: TypedListener<EventArgsArray, EventArgsObject>253 ): this;254 removeListener<EventArgsArray extends Array<any>, EventArgsObject>(255 eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,256 listener: TypedListener<EventArgsArray, EventArgsObject>257 ): this;258 removeAllListeners<EventArgsArray extends Array<any>, EventArgsObject>(259 eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>260 ): this;261 listeners(eventName?: string): Array<Listener>;262 off(eventName: string, listener: Listener): this;263 on(eventName: string, listener: Listener): this;264 once(eventName: string, listener: Listener): this;265 removeListener(eventName: string, listener: Listener): this;266 removeAllListeners(eventName?: string): this;267 queryFilter<EventArgsArray extends Array<any>, EventArgsObject>(268 event: TypedEventFilter<EventArgsArray, EventArgsObject>,269 fromBlockOrBlockhash?: string | number | undefined,270 toBlock?: string | number | undefined271 ): Promise<Array<TypedEvent<EventArgsArray & EventArgsObject>>>;272 interface: RUSDInterface;273 functions: {274 allowance(275 owner: string,276 spender: string,277 overrides?: CallOverrides278 ): Promise<[BigNumber]>;279 approve(280 spender: string,281 amount: BigNumberish,282 overrides?: Overrides & { from?: string | Promise<string> }283 ): Promise<ContractTransaction>;284 balanceOf(account: string, overrides?: CallOverrides): Promise<[BigNumber]>;285 burn(286 amount: BigNumberish,287 overrides?: Overrides & { from?: string | Promise<string> }288 ): Promise<ContractTransaction>;289 burnFrom(290 account: string,291 amount: BigNumberish,292 overrides?: Overrides & { from?: string | Promise<string> }293 ): Promise<ContractTransaction>;294 creditBalanceOf(295 _member: string,296 overrides?: CallOverrides297 ): Promise<[BigNumber]>;298 creditLimitLeftOf(299 _member: string,300 overrides?: CallOverrides301 ): Promise<[BigNumber]>;302 creditLimitOf(303 _member: string,304 overrides?: CallOverrides305 ): Promise<[BigNumber]>;306 decimals(overrides?: CallOverrides): Promise<[number]>;307 decreaseAllowance(308 spender: string,309 subtractedValue: BigNumberish,310 overrides?: Overrides & { from?: string | Promise<string> }311 ): Promise<ContractTransaction>;312 increaseAllowance(313 spender: string,314 addedValue: BigNumberish,315 overrides?: Overrides & { from?: string | Promise<string> }316 ): Promise<ContractTransaction>;317 initialize(318 name_: string,319 symbol_: string,320 overrides?: Overrides & { from?: string | Promise<string> }321 ): Promise<ContractTransaction>;322 initializeRUSD(323 registryAddress: string,324 _expiration: BigNumberish,325 overrides?: Overrides & { from?: string | Promise<string> }326 ): Promise<ContractTransaction>;327 name(overrides?: CallOverrides): Promise<[string]>;328 owner(overrides?: CallOverrides): Promise<[string]>;329 registry(overrides?: CallOverrides): Promise<[string]>;330 removeRestrictions(331 overrides?: Overrides & { from?: string | Promise<string> }332 ): Promise<ContractTransaction>;333 renounceOwnership(334 overrides?: Overrides & { from?: string | Promise<string> }335 ): Promise<ContractTransaction>;336 restrictPositiveBalance(337 overrides?: Overrides & { from?: string | Promise<string> }338 ): Promise<ContractTransaction>;339 restrictRegistered(340 overrides?: Overrides & { from?: string | Promise<string> }341 ): Promise<ContractTransaction>;342 restrictionState(overrides?: CallOverrides): Promise<[number]>;343 setCreditLimit(344 _member: string,345 _limit: BigNumberish,346 overrides?: Overrides & { from?: string | Promise<string> }347 ): Promise<ContractTransaction>;348 symbol(overrides?: CallOverrides): Promise<[string]>;349 totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>;350 transfer(351 recipient: string,352 amount: BigNumberish,353 overrides?: Overrides & { from?: string | Promise<string> }354 ): Promise<ContractTransaction>;355 transferFrom(356 sender: string,357 recipient: string,358 amount: BigNumberish,359 overrides?: Overrides & { from?: string | Promise<string> }360 ): Promise<ContractTransaction>;361 transferOwnership(362 newOwner: string,363 overrides?: Overrides & { from?: string | Promise<string> }364 ): Promise<ContractTransaction>;365 updateRestrictionExpiration(366 overrides?: Overrides & { from?: string | Promise<string> }367 ): Promise<ContractTransaction>;368 };369 allowance(370 owner: string,371 spender: string,372 overrides?: CallOverrides373 ): Promise<BigNumber>;374 approve(375 spender: string,376 amount: BigNumberish,377 overrides?: Overrides & { from?: string | Promise<string> }378 ): Promise<ContractTransaction>;379 balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>;380 burn(381 amount: BigNumberish,382 overrides?: Overrides & { from?: string | Promise<string> }383 ): Promise<ContractTransaction>;384 burnFrom(385 account: string,386 amount: BigNumberish,387 overrides?: Overrides & { from?: string | Promise<string> }388 ): Promise<ContractTransaction>;389 creditBalanceOf(390 _member: string,391 overrides?: CallOverrides392 ): Promise<BigNumber>;393 creditLimitLeftOf(394 _member: string,395 overrides?: CallOverrides396 ): Promise<BigNumber>;397 creditLimitOf(_member: string, overrides?: CallOverrides): Promise<BigNumber>;398 decimals(overrides?: CallOverrides): Promise<number>;399 decreaseAllowance(400 spender: string,401 subtractedValue: BigNumberish,402 overrides?: Overrides & { from?: string | Promise<string> }403 ): Promise<ContractTransaction>;404 increaseAllowance(405 spender: string,406 addedValue: BigNumberish,407 overrides?: Overrides & { from?: string | Promise<string> }408 ): Promise<ContractTransaction>;409 initialize(410 name_: string,411 symbol_: string,412 overrides?: Overrides & { from?: string | Promise<string> }413 ): Promise<ContractTransaction>;414 initializeRUSD(415 registryAddress: string,416 _expiration: BigNumberish,417 overrides?: Overrides & { from?: string | Promise<string> }418 ): Promise<ContractTransaction>;419 name(overrides?: CallOverrides): Promise<string>;420 owner(overrides?: CallOverrides): Promise<string>;421 registry(overrides?: CallOverrides): Promise<string>;422 removeRestrictions(423 overrides?: Overrides & { from?: string | Promise<string> }424 ): Promise<ContractTransaction>;425 renounceOwnership(426 overrides?: Overrides & { from?: string | Promise<string> }427 ): Promise<ContractTransaction>;428 restrictPositiveBalance(429 overrides?: Overrides & { from?: string | Promise<string> }430 ): Promise<ContractTransaction>;431 restrictRegistered(432 overrides?: Overrides & { from?: string | Promise<string> }433 ): Promise<ContractTransaction>;434 restrictionState(overrides?: CallOverrides): Promise<number>;435 setCreditLimit(436 _member: string,437 _limit: BigNumberish,438 overrides?: Overrides & { from?: string | Promise<string> }439 ): Promise<ContractTransaction>;440 symbol(overrides?: CallOverrides): Promise<string>;441 totalSupply(overrides?: CallOverrides): Promise<BigNumber>;442 transfer(443 recipient: string,444 amount: BigNumberish,445 overrides?: Overrides & { from?: string | Promise<string> }446 ): Promise<ContractTransaction>;447 transferFrom(448 sender: string,449 recipient: string,450 amount: BigNumberish,451 overrides?: Overrides & { from?: string | Promise<string> }452 ): Promise<ContractTransaction>;453 transferOwnership(454 newOwner: string,455 overrides?: Overrides & { from?: string | Promise<string> }456 ): Promise<ContractTransaction>;457 updateRestrictionExpiration(458 overrides?: Overrides & { from?: string | Promise<string> }459 ): Promise<ContractTransaction>;460 callStatic: {461 allowance(462 owner: string,463 spender: string,464 overrides?: CallOverrides465 ): Promise<BigNumber>;466 approve(467 spender: string,468 amount: BigNumberish,469 overrides?: CallOverrides470 ): Promise<boolean>;471 balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>;472 burn(amount: BigNumberish, overrides?: CallOverrides): Promise<void>;473 burnFrom(474 account: string,475 amount: BigNumberish,476 overrides?: CallOverrides477 ): Promise<void>;478 creditBalanceOf(479 _member: string,480 overrides?: CallOverrides481 ): Promise<BigNumber>;482 creditLimitLeftOf(483 _member: string,484 overrides?: CallOverrides485 ): Promise<BigNumber>;486 creditLimitOf(487 _member: string,488 overrides?: CallOverrides489 ): Promise<BigNumber>;490 decimals(overrides?: CallOverrides): Promise<number>;491 decreaseAllowance(492 spender: string,493 subtractedValue: BigNumberish,494 overrides?: CallOverrides495 ): Promise<boolean>;496 increaseAllowance(497 spender: string,498 addedValue: BigNumberish,499 overrides?: CallOverrides500 ): Promise<boolean>;501 initialize(502 name_: string,503 symbol_: string,504 overrides?: CallOverrides505 ): Promise<void>;506 initializeRUSD(507 registryAddress: string,508 _expiration: BigNumberish,509 overrides?: CallOverrides510 ): Promise<void>;511 name(overrides?: CallOverrides): Promise<string>;512 owner(overrides?: CallOverrides): Promise<string>;513 registry(overrides?: CallOverrides): Promise<string>;514 removeRestrictions(overrides?: CallOverrides): Promise<void>;515 renounceOwnership(overrides?: CallOverrides): Promise<void>;516 restrictPositiveBalance(overrides?: CallOverrides): Promise<void>;517 restrictRegistered(overrides?: CallOverrides): Promise<void>;518 restrictionState(overrides?: CallOverrides): Promise<number>;519 setCreditLimit(520 _member: string,521 _limit: BigNumberish,522 overrides?: CallOverrides523 ): Promise<void>;524 symbol(overrides?: CallOverrides): Promise<string>;525 totalSupply(overrides?: CallOverrides): Promise<BigNumber>;526 transfer(527 recipient: string,528 amount: BigNumberish,529 overrides?: CallOverrides530 ): Promise<boolean>;531 transferFrom(532 sender: string,533 recipient: string,534 amount: BigNumberish,535 overrides?: CallOverrides536 ): Promise<boolean>;537 transferOwnership(538 newOwner: string,539 overrides?: CallOverrides540 ): Promise<void>;541 updateRestrictionExpiration(overrides?: CallOverrides): Promise<void>;542 };543 filters: {544 Approval(545 owner?: string | null,546 spender?: string | null,547 value?: null548 ): TypedEventFilter<549 [string, string, BigNumber],550 { owner: string; spender: string; value: BigNumber }551 >;552 CreditLimitUpdate(553 member?: null,554 limit?: null555 ): TypedEventFilter<556 [string, BigNumber],557 { member: string; limit: BigNumber }558 >;559 OwnershipTransferred(560 previousOwner?: string | null,561 newOwner?: string | null562 ): TypedEventFilter<563 [string, string],564 { previousOwner: string; newOwner: string }565 >;566 RestrictionExpirationUpdated(567 restrictionRenewal?: null568 ): TypedEventFilter<[BigNumber], { restrictionRenewal: BigNumber }>;569 RestrictionUpdated(570 state?: BigNumberish | null571 ): TypedEventFilter<[number], { state: number }>;572 Transfer(573 from?: string | null,574 to?: string | null,575 value?: null576 ): TypedEventFilter<577 [string, string, BigNumber],578 { from: string; to: string; value: BigNumber }579 >;580 };581 estimateGas: {582 allowance(583 owner: string,584 spender: string,585 overrides?: CallOverrides586 ): Promise<BigNumber>;587 approve(588 spender: string,589 amount: BigNumberish,590 overrides?: Overrides & { from?: string | Promise<string> }591 ): Promise<BigNumber>;592 balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>;593 burn(594 amount: BigNumberish,595 overrides?: Overrides & { from?: string | Promise<string> }596 ): Promise<BigNumber>;597 burnFrom(598 account: string,599 amount: BigNumberish,600 overrides?: Overrides & { from?: string | Promise<string> }601 ): Promise<BigNumber>;602 creditBalanceOf(603 _member: string,604 overrides?: CallOverrides605 ): Promise<BigNumber>;606 creditLimitLeftOf(607 _member: string,608 overrides?: CallOverrides609 ): Promise<BigNumber>;610 creditLimitOf(611 _member: string,612 overrides?: CallOverrides613 ): Promise<BigNumber>;614 decimals(overrides?: CallOverrides): Promise<BigNumber>;615 decreaseAllowance(616 spender: string,617 subtractedValue: BigNumberish,618 overrides?: Overrides & { from?: string | Promise<string> }619 ): Promise<BigNumber>;620 increaseAllowance(621 spender: string,622 addedValue: BigNumberish,623 overrides?: Overrides & { from?: string | Promise<string> }624 ): Promise<BigNumber>;625 initialize(626 name_: string,627 symbol_: string,628 overrides?: Overrides & { from?: string | Promise<string> }629 ): Promise<BigNumber>;630 initializeRUSD(631 registryAddress: string,632 _expiration: BigNumberish,633 overrides?: Overrides & { from?: string | Promise<string> }634 ): Promise<BigNumber>;635 name(overrides?: CallOverrides): Promise<BigNumber>;636 owner(overrides?: CallOverrides): Promise<BigNumber>;637 registry(overrides?: CallOverrides): Promise<BigNumber>;638 removeRestrictions(639 overrides?: Overrides & { from?: string | Promise<string> }640 ): Promise<BigNumber>;641 renounceOwnership(642 overrides?: Overrides & { from?: string | Promise<string> }643 ): Promise<BigNumber>;644 restrictPositiveBalance(645 overrides?: Overrides & { from?: string | Promise<string> }646 ): Promise<BigNumber>;647 restrictRegistered(648 overrides?: Overrides & { from?: string | Promise<string> }649 ): Promise<BigNumber>;650 restrictionState(overrides?: CallOverrides): Promise<BigNumber>;651 setCreditLimit(652 _member: string,653 _limit: BigNumberish,654 overrides?: Overrides & { from?: string | Promise<string> }655 ): Promise<BigNumber>;656 symbol(overrides?: CallOverrides): Promise<BigNumber>;657 totalSupply(overrides?: CallOverrides): Promise<BigNumber>;658 transfer(659 recipient: string,660 amount: BigNumberish,661 overrides?: Overrides & { from?: string | Promise<string> }662 ): Promise<BigNumber>;663 transferFrom(664 sender: string,665 recipient: string,666 amount: BigNumberish,667 overrides?: Overrides & { from?: string | Promise<string> }668 ): Promise<BigNumber>;669 transferOwnership(670 newOwner: string,671 overrides?: Overrides & { from?: string | Promise<string> }672 ): Promise<BigNumber>;673 updateRestrictionExpiration(674 overrides?: Overrides & { from?: string | Promise<string> }675 ): Promise<BigNumber>;676 };677 populateTransaction: {678 allowance(679 owner: string,680 spender: string,681 overrides?: CallOverrides682 ): Promise<PopulatedTransaction>;683 approve(684 spender: string,685 amount: BigNumberish,686 overrides?: Overrides & { from?: string | Promise<string> }687 ): Promise<PopulatedTransaction>;688 balanceOf(689 account: string,690 overrides?: CallOverrides691 ): Promise<PopulatedTransaction>;692 burn(693 amount: BigNumberish,694 overrides?: Overrides & { from?: string | Promise<string> }695 ): Promise<PopulatedTransaction>;696 burnFrom(697 account: string,698 amount: BigNumberish,699 overrides?: Overrides & { from?: string | Promise<string> }700 ): Promise<PopulatedTransaction>;701 creditBalanceOf(702 _member: string,703 overrides?: CallOverrides704 ): Promise<PopulatedTransaction>;705 creditLimitLeftOf(706 _member: string,707 overrides?: CallOverrides708 ): Promise<PopulatedTransaction>;709 creditLimitOf(710 _member: string,711 overrides?: CallOverrides712 ): Promise<PopulatedTransaction>;713 decimals(overrides?: CallOverrides): Promise<PopulatedTransaction>;714 decreaseAllowance(715 spender: string,716 subtractedValue: BigNumberish,717 overrides?: Overrides & { from?: string | Promise<string> }718 ): Promise<PopulatedTransaction>;719 increaseAllowance(720 spender: string,721 addedValue: BigNumberish,722 overrides?: Overrides & { from?: string | Promise<string> }723 ): Promise<PopulatedTransaction>;724 initialize(725 name_: string,726 symbol_: string,727 overrides?: Overrides & { from?: string | Promise<string> }728 ): Promise<PopulatedTransaction>;729 initializeRUSD(730 registryAddress: string,731 _expiration: BigNumberish,732 overrides?: Overrides & { from?: string | Promise<string> }733 ): Promise<PopulatedTransaction>;734 name(overrides?: CallOverrides): Promise<PopulatedTransaction>;735 owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;736 registry(overrides?: CallOverrides): Promise<PopulatedTransaction>;737 removeRestrictions(738 overrides?: Overrides & { from?: string | Promise<string> }739 ): Promise<PopulatedTransaction>;740 renounceOwnership(741 overrides?: Overrides & { from?: string | Promise<string> }742 ): Promise<PopulatedTransaction>;743 restrictPositiveBalance(744 overrides?: Overrides & { from?: string | Promise<string> }745 ): Promise<PopulatedTransaction>;746 restrictRegistered(747 overrides?: Overrides & { from?: string | Promise<string> }748 ): Promise<PopulatedTransaction>;749 restrictionState(overrides?: CallOverrides): Promise<PopulatedTransaction>;750 setCreditLimit(751 _member: string,752 _limit: BigNumberish,753 overrides?: Overrides & { from?: string | Promise<string> }754 ): Promise<PopulatedTransaction>;755 symbol(overrides?: CallOverrides): Promise<PopulatedTransaction>;756 totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>;757 transfer(758 recipient: string,759 amount: BigNumberish,760 overrides?: Overrides & { from?: string | Promise<string> }761 ): Promise<PopulatedTransaction>;762 transferFrom(763 sender: string,764 recipient: string,765 amount: BigNumberish,766 overrides?: Overrides & { from?: string | Promise<string> }767 ): Promise<PopulatedTransaction>;768 transferOwnership(769 newOwner: string,770 overrides?: Overrides & { from?: string | Promise<string> }771 ): Promise<PopulatedTransaction>;772 updateRestrictionExpiration(773 overrides?: Overrides & { from?: string | Promise<string> }774 ): Promise<PopulatedTransaction>;775 };...

Full Screen

Full Screen

Course.d.ts

Source:Course.d.ts Github

copy

Full Screen

1/* Autogenerated file. Do not edit manually. */2/* tslint:disable */3/* eslint-disable */4import {5 ethers,6 EventFilter,7 Signer,8 BigNumber,9 BigNumberish,10 PopulatedTransaction,11} from "ethers";12import {13 Contract,14 ContractTransaction,15 Overrides,16 CallOverrides,17} from "@ethersproject/contracts";18import { BytesLike } from "@ethersproject/bytes";19import { Listener, Provider } from "@ethersproject/providers";20import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi";21interface CourseInterface extends ethers.utils.Interface {22 functions: {23 "getCourseCID()": FunctionFragment;24 "graduate(bytes32,string)": FunctionFragment;25 "initialize(string,address)": FunctionFragment;26 "isCertified(bytes32[],bytes32,bytes32)": FunctionFragment;27 "owner()": FunctionFragment;28 "renounceOwnership()": FunctionFragment;29 "transferOwnership(address)": FunctionFragment;30 };31 encodeFunctionData(32 functionFragment: "getCourseCID",33 values?: undefined34 ): string;35 encodeFunctionData(36 functionFragment: "graduate",37 values: [BytesLike, string]38 ): string;39 encodeFunctionData(40 functionFragment: "initialize",41 values: [string, string]42 ): string;43 encodeFunctionData(44 functionFragment: "isCertified",45 values: [BytesLike[], BytesLike, BytesLike]46 ): string;47 encodeFunctionData(functionFragment: "owner", values?: undefined): string;48 encodeFunctionData(49 functionFragment: "renounceOwnership",50 values?: undefined51 ): string;52 encodeFunctionData(53 functionFragment: "transferOwnership",54 values: [string]55 ): string;56 decodeFunctionResult(57 functionFragment: "getCourseCID",58 data: BytesLike59 ): Result;60 decodeFunctionResult(functionFragment: "graduate", data: BytesLike): Result;61 decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;62 decodeFunctionResult(63 functionFragment: "isCertified",64 data: BytesLike65 ): Result;66 decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;67 decodeFunctionResult(68 functionFragment: "renounceOwnership",69 data: BytesLike70 ): Result;71 decodeFunctionResult(72 functionFragment: "transferOwnership",73 data: BytesLike74 ): Result;75 events: {76 "Graduate(bytes32,string)": EventFragment;77 "OwnershipTransferred(address,address)": EventFragment;78 };79 getEvent(nameOrSignatureOrTopic: "Graduate"): EventFragment;80 getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;81}82export class Course extends Contract {83 connect(signerOrProvider: Signer | Provider | string): this;84 attach(addressOrName: string): this;85 deployed(): Promise<this>;86 on(event: EventFilter | string, listener: Listener): this;87 once(event: EventFilter | string, listener: Listener): this;88 addListener(eventName: EventFilter | string, listener: Listener): this;89 removeAllListeners(eventName: EventFilter | string): this;90 removeListener(eventName: any, listener: Listener): this;91 interface: CourseInterface;92 functions: {93 getCourseCID(overrides?: CallOverrides): Promise<{94 0: string;95 }>;96 "getCourseCID()"(overrides?: CallOverrides): Promise<{97 0: string;98 }>;99 graduate(100 _hash: BytesLike,101 _cid: string,102 overrides?: Overrides103 ): Promise<ContractTransaction>;104 "graduate(bytes32,string)"(105 _hash: BytesLike,106 _cid: string,107 overrides?: Overrides108 ): Promise<ContractTransaction>;109 initialize(110 _courseCID: string,111 _owner: string,112 overrides?: Overrides113 ): Promise<ContractTransaction>;114 "initialize(string,address)"(115 _courseCID: string,116 _owner: string,117 overrides?: Overrides118 ): Promise<ContractTransaction>;119 isCertified(120 proof: BytesLike[],121 leaf: BytesLike,122 root: BytesLike,123 overrides?: CallOverrides124 ): Promise<{125 0: boolean;126 }>;127 "isCertified(bytes32[],bytes32,bytes32)"(128 proof: BytesLike[],129 leaf: BytesLike,130 root: BytesLike,131 overrides?: CallOverrides132 ): Promise<{133 0: boolean;134 }>;135 owner(overrides?: CallOverrides): Promise<{136 0: string;137 }>;138 "owner()"(overrides?: CallOverrides): Promise<{139 0: string;140 }>;141 renounceOwnership(overrides?: Overrides): Promise<ContractTransaction>;142 "renounceOwnership()"(overrides?: Overrides): Promise<ContractTransaction>;143 transferOwnership(144 newOwner: string,145 overrides?: Overrides146 ): Promise<ContractTransaction>;147 "transferOwnership(address)"(148 newOwner: string,149 overrides?: Overrides150 ): Promise<ContractTransaction>;151 };152 getCourseCID(overrides?: CallOverrides): Promise<string>;153 "getCourseCID()"(overrides?: CallOverrides): Promise<string>;154 graduate(155 _hash: BytesLike,156 _cid: string,157 overrides?: Overrides158 ): Promise<ContractTransaction>;159 "graduate(bytes32,string)"(160 _hash: BytesLike,161 _cid: string,162 overrides?: Overrides163 ): Promise<ContractTransaction>;164 initialize(165 _courseCID: string,166 _owner: string,167 overrides?: Overrides168 ): Promise<ContractTransaction>;169 "initialize(string,address)"(170 _courseCID: string,171 _owner: string,172 overrides?: Overrides173 ): Promise<ContractTransaction>;174 isCertified(175 proof: BytesLike[],176 leaf: BytesLike,177 root: BytesLike,178 overrides?: CallOverrides179 ): Promise<boolean>;180 "isCertified(bytes32[],bytes32,bytes32)"(181 proof: BytesLike[],182 leaf: BytesLike,183 root: BytesLike,184 overrides?: CallOverrides185 ): Promise<boolean>;186 owner(overrides?: CallOverrides): Promise<string>;187 "owner()"(overrides?: CallOverrides): Promise<string>;188 renounceOwnership(overrides?: Overrides): Promise<ContractTransaction>;189 "renounceOwnership()"(overrides?: Overrides): Promise<ContractTransaction>;190 transferOwnership(191 newOwner: string,192 overrides?: Overrides193 ): Promise<ContractTransaction>;194 "transferOwnership(address)"(195 newOwner: string,196 overrides?: Overrides197 ): Promise<ContractTransaction>;198 callStatic: {199 getCourseCID(overrides?: CallOverrides): Promise<string>;200 "getCourseCID()"(overrides?: CallOverrides): Promise<string>;201 graduate(202 _hash: BytesLike,203 _cid: string,204 overrides?: CallOverrides205 ): Promise<void>;206 "graduate(bytes32,string)"(207 _hash: BytesLike,208 _cid: string,209 overrides?: CallOverrides210 ): Promise<void>;211 initialize(212 _courseCID: string,213 _owner: string,214 overrides?: CallOverrides215 ): Promise<void>;216 "initialize(string,address)"(217 _courseCID: string,218 _owner: string,219 overrides?: CallOverrides220 ): Promise<void>;221 isCertified(222 proof: BytesLike[],223 leaf: BytesLike,224 root: BytesLike,225 overrides?: CallOverrides226 ): Promise<boolean>;227 "isCertified(bytes32[],bytes32,bytes32)"(228 proof: BytesLike[],229 leaf: BytesLike,230 root: BytesLike,231 overrides?: CallOverrides232 ): Promise<boolean>;233 owner(overrides?: CallOverrides): Promise<string>;234 "owner()"(overrides?: CallOverrides): Promise<string>;235 renounceOwnership(overrides?: CallOverrides): Promise<void>;236 "renounceOwnership()"(overrides?: CallOverrides): Promise<void>;237 transferOwnership(238 newOwner: string,239 overrides?: CallOverrides240 ): Promise<void>;241 "transferOwnership(address)"(242 newOwner: string,243 overrides?: CallOverrides244 ): Promise<void>;245 };246 filters: {247 Graduate(merkelProof: null, courseCID: null): EventFilter;248 OwnershipTransferred(249 previousOwner: string | null,250 newOwner: string | null251 ): EventFilter;252 };253 estimateGas: {254 getCourseCID(overrides?: CallOverrides): Promise<BigNumber>;255 "getCourseCID()"(overrides?: CallOverrides): Promise<BigNumber>;256 graduate(257 _hash: BytesLike,258 _cid: string,259 overrides?: Overrides260 ): Promise<BigNumber>;261 "graduate(bytes32,string)"(262 _hash: BytesLike,263 _cid: string,264 overrides?: Overrides265 ): Promise<BigNumber>;266 initialize(267 _courseCID: string,268 _owner: string,269 overrides?: Overrides270 ): Promise<BigNumber>;271 "initialize(string,address)"(272 _courseCID: string,273 _owner: string,274 overrides?: Overrides275 ): Promise<BigNumber>;276 isCertified(277 proof: BytesLike[],278 leaf: BytesLike,279 root: BytesLike,280 overrides?: CallOverrides281 ): Promise<BigNumber>;282 "isCertified(bytes32[],bytes32,bytes32)"(283 proof: BytesLike[],284 leaf: BytesLike,285 root: BytesLike,286 overrides?: CallOverrides287 ): Promise<BigNumber>;288 owner(overrides?: CallOverrides): Promise<BigNumber>;289 "owner()"(overrides?: CallOverrides): Promise<BigNumber>;290 renounceOwnership(overrides?: Overrides): Promise<BigNumber>;291 "renounceOwnership()"(overrides?: Overrides): Promise<BigNumber>;292 transferOwnership(293 newOwner: string,294 overrides?: Overrides295 ): Promise<BigNumber>;296 "transferOwnership(address)"(297 newOwner: string,298 overrides?: Overrides299 ): Promise<BigNumber>;300 };301 populateTransaction: {302 getCourseCID(overrides?: CallOverrides): Promise<PopulatedTransaction>;303 "getCourseCID()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;304 graduate(305 _hash: BytesLike,306 _cid: string,307 overrides?: Overrides308 ): Promise<PopulatedTransaction>;309 "graduate(bytes32,string)"(310 _hash: BytesLike,311 _cid: string,312 overrides?: Overrides313 ): Promise<PopulatedTransaction>;314 initialize(315 _courseCID: string,316 _owner: string,317 overrides?: Overrides318 ): Promise<PopulatedTransaction>;319 "initialize(string,address)"(320 _courseCID: string,321 _owner: string,322 overrides?: Overrides323 ): Promise<PopulatedTransaction>;324 isCertified(325 proof: BytesLike[],326 leaf: BytesLike,327 root: BytesLike,328 overrides?: CallOverrides329 ): Promise<PopulatedTransaction>;330 "isCertified(bytes32[],bytes32,bytes32)"(331 proof: BytesLike[],332 leaf: BytesLike,333 root: BytesLike,334 overrides?: CallOverrides335 ): Promise<PopulatedTransaction>;336 owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;337 "owner()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;338 renounceOwnership(overrides?: Overrides): Promise<PopulatedTransaction>;339 "renounceOwnership()"(overrides?: Overrides): Promise<PopulatedTransaction>;340 transferOwnership(341 newOwner: string,342 overrides?: Overrides343 ): Promise<PopulatedTransaction>;344 "transferOwnership(address)"(345 newOwner: string,346 overrides?: Overrides347 ): Promise<PopulatedTransaction>;348 };...

Full Screen

Full Screen

Bootcamp.d.ts

Source:Bootcamp.d.ts Github

copy

Full Screen

1/* Autogenerated file. Do not edit manually. */2/* tslint:disable */3/* eslint-disable */4import {5 ethers,6 EventFilter,7 Signer,8 BigNumber,9 BigNumberish,10 PopulatedTransaction,11} from "ethers";12import {13 Contract,14 ContractTransaction,15 Overrides,16 CallOverrides,17} from "@ethersproject/contracts";18import { BytesLike } from "@ethersproject/bytes";19import { Listener, Provider } from "@ethersproject/providers";20import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi";21interface BootcampInterface extends ethers.utils.Interface {22 functions: {23 "cid()": FunctionFragment;24 "courses(uint256)": FunctionFragment;25 "createCourse(string)": FunctionFragment;26 "getCourses()": FunctionFragment;27 "getImplementationAddress()": FunctionFragment;28 "owner()": FunctionFragment;29 "renounceOwnership()": FunctionFragment;30 "transferOwnership(address)": FunctionFragment;31 };32 encodeFunctionData(functionFragment: "cid", values?: undefined): string;33 encodeFunctionData(34 functionFragment: "courses",35 values: [BigNumberish]36 ): string;37 encodeFunctionData(38 functionFragment: "createCourse",39 values: [string]40 ): string;41 encodeFunctionData(42 functionFragment: "getCourses",43 values?: undefined44 ): string;45 encodeFunctionData(46 functionFragment: "getImplementationAddress",47 values?: undefined48 ): string;49 encodeFunctionData(functionFragment: "owner", values?: undefined): string;50 encodeFunctionData(51 functionFragment: "renounceOwnership",52 values?: undefined53 ): string;54 encodeFunctionData(55 functionFragment: "transferOwnership",56 values: [string]57 ): string;58 decodeFunctionResult(functionFragment: "cid", data: BytesLike): Result;59 decodeFunctionResult(functionFragment: "courses", data: BytesLike): Result;60 decodeFunctionResult(61 functionFragment: "createCourse",62 data: BytesLike63 ): Result;64 decodeFunctionResult(functionFragment: "getCourses", data: BytesLike): Result;65 decodeFunctionResult(66 functionFragment: "getImplementationAddress",67 data: BytesLike68 ): Result;69 decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;70 decodeFunctionResult(71 functionFragment: "renounceOwnership",72 data: BytesLike73 ): Result;74 decodeFunctionResult(75 functionFragment: "transferOwnership",76 data: BytesLike77 ): Result;78 events: {79 "CourseCreated(address,string)": EventFragment;80 "OwnershipTransferred(address,address)": EventFragment;81 };82 getEvent(nameOrSignatureOrTopic: "CourseCreated"): EventFragment;83 getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;84}85export class Bootcamp extends Contract {86 connect(signerOrProvider: Signer | Provider | string): this;87 attach(addressOrName: string): this;88 deployed(): Promise<this>;89 on(event: EventFilter | string, listener: Listener): this;90 once(event: EventFilter | string, listener: Listener): this;91 addListener(eventName: EventFilter | string, listener: Listener): this;92 removeAllListeners(eventName: EventFilter | string): this;93 removeListener(eventName: any, listener: Listener): this;94 interface: BootcampInterface;95 functions: {96 cid(overrides?: CallOverrides): Promise<{97 0: string;98 }>;99 "cid()"(overrides?: CallOverrides): Promise<{100 0: string;101 }>;102 courses(103 arg0: BigNumberish,104 overrides?: CallOverrides105 ): Promise<{106 0: string;107 }>;108 "courses(uint256)"(109 arg0: BigNumberish,110 overrides?: CallOverrides111 ): Promise<{112 0: string;113 }>;114 createCourse(115 _courseCID: string,116 overrides?: Overrides117 ): Promise<ContractTransaction>;118 "createCourse(string)"(119 _courseCID: string,120 overrides?: Overrides121 ): Promise<ContractTransaction>;122 getCourses(overrides?: CallOverrides): Promise<{123 0: string[];124 }>;125 "getCourses()"(overrides?: CallOverrides): Promise<{126 0: string[];127 }>;128 getImplementationAddress(overrides?: CallOverrides): Promise<{129 0: string;130 }>;131 "getImplementationAddress()"(overrides?: CallOverrides): Promise<{132 0: string;133 }>;134 owner(overrides?: CallOverrides): Promise<{135 0: string;136 }>;137 "owner()"(overrides?: CallOverrides): Promise<{138 0: string;139 }>;140 renounceOwnership(overrides?: Overrides): Promise<ContractTransaction>;141 "renounceOwnership()"(overrides?: Overrides): Promise<ContractTransaction>;142 transferOwnership(143 newOwner: string,144 overrides?: Overrides145 ): Promise<ContractTransaction>;146 "transferOwnership(address)"(147 newOwner: string,148 overrides?: Overrides149 ): Promise<ContractTransaction>;150 };151 cid(overrides?: CallOverrides): Promise<string>;152 "cid()"(overrides?: CallOverrides): Promise<string>;153 courses(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;154 "courses(uint256)"(155 arg0: BigNumberish,156 overrides?: CallOverrides157 ): Promise<string>;158 createCourse(159 _courseCID: string,160 overrides?: Overrides161 ): Promise<ContractTransaction>;162 "createCourse(string)"(163 _courseCID: string,164 overrides?: Overrides165 ): Promise<ContractTransaction>;166 getCourses(overrides?: CallOverrides): Promise<string[]>;167 "getCourses()"(overrides?: CallOverrides): Promise<string[]>;168 getImplementationAddress(overrides?: CallOverrides): Promise<string>;169 "getImplementationAddress()"(overrides?: CallOverrides): Promise<string>;170 owner(overrides?: CallOverrides): Promise<string>;171 "owner()"(overrides?: CallOverrides): Promise<string>;172 renounceOwnership(overrides?: Overrides): Promise<ContractTransaction>;173 "renounceOwnership()"(overrides?: Overrides): Promise<ContractTransaction>;174 transferOwnership(175 newOwner: string,176 overrides?: Overrides177 ): Promise<ContractTransaction>;178 "transferOwnership(address)"(179 newOwner: string,180 overrides?: Overrides181 ): Promise<ContractTransaction>;182 callStatic: {183 cid(overrides?: CallOverrides): Promise<string>;184 "cid()"(overrides?: CallOverrides): Promise<string>;185 courses(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;186 "courses(uint256)"(187 arg0: BigNumberish,188 overrides?: CallOverrides189 ): Promise<string>;190 createCourse(191 _courseCID: string,192 overrides?: CallOverrides193 ): Promise<string>;194 "createCourse(string)"(195 _courseCID: string,196 overrides?: CallOverrides197 ): Promise<string>;198 getCourses(overrides?: CallOverrides): Promise<string[]>;199 "getCourses()"(overrides?: CallOverrides): Promise<string[]>;200 getImplementationAddress(overrides?: CallOverrides): Promise<string>;201 "getImplementationAddress()"(overrides?: CallOverrides): Promise<string>;202 owner(overrides?: CallOverrides): Promise<string>;203 "owner()"(overrides?: CallOverrides): Promise<string>;204 renounceOwnership(overrides?: CallOverrides): Promise<void>;205 "renounceOwnership()"(overrides?: CallOverrides): Promise<void>;206 transferOwnership(207 newOwner: string,208 overrides?: CallOverrides209 ): Promise<void>;210 "transferOwnership(address)"(211 newOwner: string,212 overrides?: CallOverrides213 ): Promise<void>;214 };215 filters: {216 CourseCreated(courseAddress: null, courseCID: null): EventFilter;217 OwnershipTransferred(218 previousOwner: string | null,219 newOwner: string | null220 ): EventFilter;221 };222 estimateGas: {223 cid(overrides?: CallOverrides): Promise<BigNumber>;224 "cid()"(overrides?: CallOverrides): Promise<BigNumber>;225 courses(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;226 "courses(uint256)"(227 arg0: BigNumberish,228 overrides?: CallOverrides229 ): Promise<BigNumber>;230 createCourse(_courseCID: string, overrides?: Overrides): Promise<BigNumber>;231 "createCourse(string)"(232 _courseCID: string,233 overrides?: Overrides234 ): Promise<BigNumber>;235 getCourses(overrides?: CallOverrides): Promise<BigNumber>;236 "getCourses()"(overrides?: CallOverrides): Promise<BigNumber>;237 getImplementationAddress(overrides?: CallOverrides): Promise<BigNumber>;238 "getImplementationAddress()"(overrides?: CallOverrides): Promise<BigNumber>;239 owner(overrides?: CallOverrides): Promise<BigNumber>;240 "owner()"(overrides?: CallOverrides): Promise<BigNumber>;241 renounceOwnership(overrides?: Overrides): Promise<BigNumber>;242 "renounceOwnership()"(overrides?: Overrides): Promise<BigNumber>;243 transferOwnership(244 newOwner: string,245 overrides?: Overrides246 ): Promise<BigNumber>;247 "transferOwnership(address)"(248 newOwner: string,249 overrides?: Overrides250 ): Promise<BigNumber>;251 };252 populateTransaction: {253 cid(overrides?: CallOverrides): Promise<PopulatedTransaction>;254 "cid()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;255 courses(256 arg0: BigNumberish,257 overrides?: CallOverrides258 ): Promise<PopulatedTransaction>;259 "courses(uint256)"(260 arg0: BigNumberish,261 overrides?: CallOverrides262 ): Promise<PopulatedTransaction>;263 createCourse(264 _courseCID: string,265 overrides?: Overrides266 ): Promise<PopulatedTransaction>;267 "createCourse(string)"(268 _courseCID: string,269 overrides?: Overrides270 ): Promise<PopulatedTransaction>;271 getCourses(overrides?: CallOverrides): Promise<PopulatedTransaction>;272 "getCourses()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;273 getImplementationAddress(274 overrides?: CallOverrides275 ): Promise<PopulatedTransaction>;276 "getImplementationAddress()"(277 overrides?: CallOverrides278 ): Promise<PopulatedTransaction>;279 owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;280 "owner()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;281 renounceOwnership(overrides?: Overrides): Promise<PopulatedTransaction>;282 "renounceOwnership()"(overrides?: Overrides): Promise<PopulatedTransaction>;283 transferOwnership(284 newOwner: string,285 overrides?: Overrides286 ): Promise<PopulatedTransaction>;287 "transferOwnership(address)"(288 newOwner: string,289 overrides?: Overrides290 ): Promise<PopulatedTransaction>;291 };...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1const { overrides } = require('stryker-parent');2module.exports = overrides({3 jest: {4 config: require('./jest.config.js'),5 },6});7module.exports = function(config) {8 config.set({9 jest: {10 config: require('./jest.config.js'),11 },12 });13};

Full Screen

Using AI Code Generation

copy

Full Screen

1module.exports = function (config) {2 config.set({3 jest: {4 },5 thresholds: { high: 80, low: 70, break: 70 }6 });7};8module.exports = function (config) {9 config.set({10 jest: {11 },12 thresholds: { high: 80, low: 70, break: 70 }13 });14};15module.exports = {16 transform: {17 }18};19module.exports = {20 {21 targets: {22 }23 }24};25{26 "scripts": {27 },28 "devDependencies": {

Full Screen

Using AI Code Generation

copy

Full Screen

1var strykerParent = require('stryker-parent');2strykerParent.overrides('test.js');3var strykerParent = require('stryker-parent');4strykerParent.overrides('test.js');5var strykerParent = require('stryker-parent');6strykerParent.overrides('test.js');7var strykerParent = require('stryker-parent');8strykerParent.overrides('test.js');9var strykerParent = require('stryker-parent');10strykerParent.overrides('test.js');11var strykerParent = require('stryker-parent');12strykerParent.overrides('test.js');13var strykerParent = require('stryker-parent');14strykerParent.overrides('test.js');15var strykerParent = require('stryker-parent');16strykerParent.overrides('test.js');17var strykerParent = require('stryker-parent');18strykerParent.overrides('test.js');19var strykerParent = require('stryker-parent');20strykerParent.overrides('test.js');21var strykerParent = require('stryker-parent');22strykerParent.overrides('test.js');23var strykerParent = require('stryker-parent');24strykerParent.overrides('test.js');25var strykerParent = require('stryker-parent');26strykerParent.overrides('test.js');

Full Screen

Using AI Code Generation

copy

Full Screen

1const { override } = require('stryker-parent');2module.exports = override({3 jest: {4 },5});6module.exports = {7};8module.exports = override({9 jest: {10 },11});12module.exports = override({13 jest: {14 },15});

Full Screen

Using AI Code Generation

copy

Full Screen

1const { overrides } = require('stryker-parent');2module.exports = overrides({3});4overrides({ karmaConfig: { ... } })5overrides({ karmaConfig: original => ({ ...original, ... }) })6const { overrides } = require('stryker-parent');7module.exports = overrides({8 karmaConfig: {9 }10});11overrides({ karmaConfig: { ... } })12overrides({ karmaConfig: original => ({ ...original, ... }) })

Full Screen

Using AI Code Generation

copy

Full Screen

1const strykerParent = require('stryker-parent');2const overrides = strykerParent.overrides;3const config = overrides({4});5module.exports = config;6const strykerParent = require('stryker-parent');7const overrides = strykerParent.overrides;8const config = overrides({9});10module.exports = config;11const strykerParent = require('stryker-parent');12const overrides = strykerParent.overrides;13const config = overrides({14});15module.exports = config;16const strykerParent = require('stryker-parent');17const overrides = strykerParent.overrides;18const config = overrides({19});20module.exports = config;21const strykerParent = require('stryker-parent');22const overrides = strykerParent.overrides;23const config = overrides({24});25module.exports = config;26const strykerParent = require('stryker-parent');27const overrides = strykerParent.overrides;28const config = overrides({29});30module.exports = config;

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run stryker-parent automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful