Commit 804deef 1 parent 40bd760 commit 804deef Copy full SHA for 804deef
File tree 3 files changed +35
-353
lines changed
3 files changed +35
-353
lines changed Original file line number Diff line number Diff line change 1
1
import { C } from "../core/mod.js" ;
2
- type CostModel = Record < string , number > ;
3
- export type CostModels = Record < PlutusVersion , CostModel > ;
2
+ export type CostModels = Record < PlutusVersion , Array < number > > ;
4
3
export interface Configuration {
5
4
enableChangeSplitting : boolean ;
6
5
changeNativeAssetChunkSize : number ;
@@ -252,4 +251,3 @@ export type Metadata = {
252
251
decimals ?: number ;
253
252
} ;
254
253
} ;
255
- export { } ;
Original file line number Diff line number Diff line change 1
1
import { C } from "../core/mod.ts" ;
2
2
3
- type CostModel = Record < string , number > ;
4
-
5
- export type CostModels = Record < PlutusVersion , CostModel > ;
3
+ export type CostModels = Record < PlutusVersion , Array < number > > ;
6
4
7
5
export interface Configuration {
8
6
enableChangeSplitting : boolean ;
@@ -37,7 +35,7 @@ export interface Provider {
37
35
/** Query UTxOs by address or payment credential filtered by a specific unit. */
38
36
getUtxosWithUnit (
39
37
addressOrCredential : Address | Credential ,
40
- unit : Unit
38
+ unit : Unit ,
41
39
) : Promise < UTxO [ ] > ;
42
40
/** Query a UTxO by a unit. It needs to be an NFT (or optionally the entire supply in one UTxO). */
43
41
getUtxoByUnit ( unit : Unit ) : Promise < UTxO > ;
@@ -189,7 +187,7 @@ export interface Wallet {
189
187
signTx ( tx : C . Transaction ) : Promise < C . TransactionWitnessSet > ;
190
188
signMessage (
191
189
address : Address | RewardAddress ,
192
- payload : Payload
190
+ payload : Payload ,
193
191
) : Promise < SignedMessage > ;
194
192
submitTx ( signedTx : Transaction ) : Promise < TxHash > ;
195
193
}
You can’t perform that action at this time.
0 commit comments