@@ -10,21 +10,25 @@ import type { AbiMessage, BlueprintOptions, ContractCallOutcome, ContractOptions
1010
1111export interface BlueprintDeploy < ApiType extends ApiTypes > {
1212 ( options : BlueprintOptions , ...params : unknown [ ] ) : SubmittableExtrinsic < ApiType > ;
13+ // @deprecated Use options form (to be dropped in a major update)
1314 ( value : bigint | string | number | BN , gasLimit : bigint | string | number | BN , ...params : unknown [ ] ) : SubmittableExtrinsic < ApiType > ;
1415}
1516
1617export interface ContractQuery < ApiType extends ApiTypes > {
1718 ( origin : AccountId | string | Uint8Array , options : ContractOptions , ...params : unknown [ ] ) : ContractCallResult < ApiType , ContractCallOutcome > ;
19+ // @deprecated Use options form (to be dropped in a major update)
1820 ( origin : AccountId | string | Uint8Array , value : bigint | BN | string | number , gasLimit : bigint | BN | string | number , ...params : unknown [ ] ) : ContractCallResult < ApiType , ContractCallOutcome > ;
1921}
2022
2123export interface ContractTx < ApiType extends ApiTypes > {
2224 ( options : ContractOptions , ...params : unknown [ ] ) : SubmittableExtrinsic < ApiType > ;
25+ // @deprecated Use options form (to be dropped in a major update)
2326 ( value : bigint | BN | string | number , gasLimit : bigint | BN | string | number , ...params : unknown [ ] ) : SubmittableExtrinsic < ApiType > ;
2427}
2528
2629export interface ContractGeneric < O , T > {
2730 ( messageOrId : AbiMessage | string | number , options : O , ...params : unknown [ ] ) : T ;
31+ // @deprecated Use options form (to be dropped in a major update)
2832 ( messageOrId : AbiMessage | string | number , value : bigint | BN | string | number , gasLimit : bigint | BN | string | number , ...params : unknown [ ] ) : T ;
2933}
3034
0 commit comments