Hyperledger Fabric 2.2.1 DocumentationetTransfer.js#L67], where you can see a smart contract transaction that creates a new asset: async CreateAsset(ctx, id, color, size, owner, appraisedValue) { const asset = { ID: id be disambiguated. Transaction definition Within the class, locate the issue method. JavaScript async issue(ctx, issuer, paperNumber, issueDateTime, maturityDateTime, faceValue) {...} Java The Java MagnetoCorp New owner = DigiBank Purchase time = 31 May 2020 10:00:00 EST Price = 4.94M USD JavaScript async buy(ctx, issuer, paperNumber, currentOwner, newOwner, price, purchaseTime) {...} Java The redeem0 码力 | 848 页 | 11.56 MB | 1 年前3
Hyperledger Fabric 2.2.1 DocumentationassetTransfer.js here, where you can see a smart contract transaction that creates a new asset: async CreateAsset(ctx, id, color, size, owner, appraisedValue) { const asset = { ID: id, Color: color, disambiguated. 6.4.4 Transaction definition Within the class, locate the issue method. JavaScript async issue(ctx, issuer, paperNumber, issueDateTime, maturityDateTime, faceValue) {... ˓→} Java @Transaction MagnetoCorp New owner = DigiBank Purchase time = 31 May 2020 10:00:00 EST Price = 4.94M USD JavaScript async buy(ctx, issuer, paperNumber, currentOwner, newOwner, price, purchaseTime) {...} Java @Transaction0 码力 | 601 页 | 9.48 MB | 1 年前3
Hyperledger Fabric 1.4.8 Documentationcreates a new car: async createCar(ctx, carNumber, make, model, color, owner) { const car = { color, docType: 'car', make, model, owner, }; await ctx.stub.putState(carNumber be disambiguated. Transaction definition Within the class, locate the issue method. JavaScript async issue(ctx, issuer, paperNumber, issueDateTime, maturityDateTime, faceValue) {...} Java The Java MagnetoCorp New owner = DigiBank Purchase time = 31 May 2020 10:00:00 EST Price = 4.94M USD JavaScript async buy(ctx, issuer, paperNumber, currentOwner, newOwner, price, purchaseTime) {...} Java The redeem0 码力 | 699 页 | 9.02 MB | 1 年前3
Hyperledger Fabric 1.4.9 Documentationcreates a new car: async createCar(ctx, carNumber, make, model, color, owner) { const car = { color, docType: 'car', make, model, owner, }; await ctx.stub.putState(carNumber be disambiguated. Transaction definition Within the class, locate the issue method. JavaScript async issue(ctx, issuer, paperNumber, issueDateTime, maturityDateTime, faceValue) {...} Java The Java MagnetoCorp New owner = DigiBank Purchase time = 31 May 2020 10:00:00 EST Price = 4.94M USD JavaScript async buy(ctx, issuer, paperNumber, currentOwner, newOwner, price, purchaseTime) {...} Java The redeem0 码力 | 701 页 | 9.02 MB | 1 年前3
Hyperledger Fabric 1.4 Documentationcreates a new car: async createCar(ctx, carNumber, make, model, color, owner) { const car = { color, docType: 'car', make, model, owner, }; await ctx.stub.putState(carNumber be disambiguated. Transaction definition Within the class, locate the issue method. JavaScript async issue(ctx, issuer, paperNumber, issueDateTime, maturityDateTime, faceValue) {...} Java The Java MagnetoCorp New owner = DigiBank Purchase time = 31 May 2020 10:00:00 EST Price = 4.94M USD JavaScript async buy(ctx, issuer, paperNumber, currentOwner, newOwner, price, purchaseTime) {...} Java The redeem0 码力 | 701 页 | 9.02 MB | 1 年前3
Hyperledger Fabric 1.4 Documentation
creates a new car: async createCar(ctx, carNumber, make, model, color, owner) { const car = { color, docType: 'car', make, model, owner, }; await ctx.stub.putState(carNumber transactions can be disambiguated. Transaction definition Within the class, locate the issue method. async issue(ctx, issuer, paperNumber, issueDateTime, maturityDateTime, faceValue) {...} This function can see how they map to their corresponding commercial paper transactions. The buy transaction: async buy(ctx, issuer, paperNumber, currentOwner, newOwner, price, purchaseTime) {...} Txn = buy Issuer0 码力 | 678 页 | 10.02 MB | 1 年前3
Hyperledger Fabric 1.4.9 Documentationhyperledger-fabricdocs Documentation, Release master async createCar(ctx, carNumber, make, model, color, owner) { const car = { color, docType: 'car', make, model, owner, }; await ctx.stub.putState(carNumber, Buffer disambiguated. 6.4.4 Transaction definition Within the class, locate the issue method. JavaScript async issue(ctx, issuer, paperNumber, issueDateTime, maturityDateTime, faceValue) {... ˓→} Java @Transaction MagnetoCorp New owner = DigiBank Purchase time = 31 May 2020 10:00:00 EST Price = 4.94M USD JavaScript async buy(ctx, issuer, paperNumber, currentOwner, newOwner, price, purchaseTime) {...} Java @Transaction0 码力 | 483 页 | 7.48 MB | 1 年前3
Hyperledger Fabric 1.4 Documentationhyperledger-fabricdocs Documentation, Release master async createCar(ctx, carNumber, make, model, color, owner) { const car = { color, docType: 'car', make, model, owner, }; await ctx.stub.putState(carNumber, Buffer disambiguated. 6.4.4 Transaction definition Within the class, locate the issue method. JavaScript async issue(ctx, issuer, paperNumber, issueDateTime, maturityDateTime, faceValue) {... ˓→} Java @Transaction MagnetoCorp New owner = DigiBank Purchase time = 31 May 2020 10:00:00 EST Price = 4.94M USD JavaScript async buy(ctx, issuer, paperNumber, currentOwner, newOwner, price, purchaseTime) {...} Java @Transaction0 码力 | 483 页 | 7.48 MB | 1 年前3
Hyperledger Fabric 1.4.8 Documentationhyperledger-fabricdocs Documentation, Release master async createCar(ctx, carNumber, make, model, color, owner) { const car = { color, docType: 'car', make, model, owner, }; await ctx.stub.putState(carNumber, Buffer disambiguated. 6.4.4 Transaction definition Within the class, locate the issue method. JavaScript async issue(ctx, issuer, paperNumber, issueDateTime, maturityDateTime, faceValue) {... ˓→} Java @Transaction MagnetoCorp New owner = DigiBank Purchase time = 31 May 2020 10:00:00 EST Price = 4.94M USD JavaScript async buy(ctx, issuer, paperNumber, currentOwner, newOwner, price, purchaseTime) {...} Java @Transaction0 码力 | 483 页 | 7.48 MB | 1 年前3
Hyperledger Fabric 1.4 Documentation
transaction that creates a new car: async createCar(ctx, carNumber, make, model, color, owner) { const car = { color, docType: 'car', make, model, owner, }; await ctx.stub.putState(carNumber, Buffer can be disambiguated. 6.4.3 Transaction definition Within the class, locate the issue method. async issue(ctx, issuer, paperNumber, issueDateTime, maturityDateTime, faceValue) {... ˓→} This function can see how they map to their corresponding commercial paper transactions. The buy transaction: async buy(ctx, issuer, paperNumber, currentOwner, newOwner, price, purchaseTime) {...} Txn = buy Issuer0 码力 | 461 页 | 7.37 MB | 1 年前3
共 62 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













