Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove amount #1241

Merged
merged 1 commit into from
Jan 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/factories/NFTFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ interface Template {
export interface TokenOrder {
tokenAddress: string
consumer: string
ammount: string
serviceIndex: number
_providerFees: ProviderFees
}
Expand Down
1 change: 0 additions & 1 deletion src/tokens/Datatoken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ interface Roles {
export interface OrderParams {
consumer: string
serviceIndex: number
ammount: string
_providerFees: ProviderFees
}

Expand Down
6 changes: 2 additions & 4 deletions test/unit/NftFactory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,15 +403,13 @@ describe('Nft Factory test', () => {
tokenAddress: dtAddress,
consumer: consumer,
serviceIndex: serviceIndex,
_providerFees: providerFees,
ammount: dtAmount
_providerFees: providerFees
},
{
tokenAddress: dtAddress2,
consumer: consumer,
serviceIndex: serviceIndex,
_providerFees: providerFees,
ammount: dtAmount
_providerFees: providerFees
}
]
await nftFactory.startMultipleTokenOrder(user2, orders)
Expand Down
4 changes: 1 addition & 3 deletions test/unit/tokens/Datatoken.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,7 @@ describe('Datatoken', () => {
const order: OrderParams = {
consumer: user1,
serviceIndex: 1,
_providerFees: providerFees,
ammount: dtAmount
_providerFees: providerFees
}
const buyFromDispenseTx = await datatoken.buyFromDispenserAndOrder(
datatokenAddress,
Expand Down Expand Up @@ -450,7 +449,6 @@ describe('Datatoken', () => {
const order: OrderParams = {
consumer: user1,
serviceIndex: 1,
ammount: dtAmount,
_providerFees: providerFees
}

Expand Down