-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(dep) Switch to Concerto 1.0 & New Ergo compiler
Signed-off-by: Jerome Simeon <[email protected]>
- Loading branch information
1 parent
ac3c463
commit e110f94
Showing
493 changed files
with
39,772 additions
and
61,275 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
.../cicero-cli/test/data/helloemit/model/@models.accordproject.org.accordproject.runtime.cto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
concerto version ">= 1.0.0-alpha.3" | ||
|
||
namespace org.accordproject.runtime | ||
|
||
import org.accordproject.contract.Party from https://models.accordproject.org/accordproject/contract.cto | ||
import org.accordproject.contract.Contract from https://models.accordproject.org/accordproject/contract.cto | ||
|
||
/** | ||
* Runtime API | ||
* -- Describes input and output of calls to a contract's clause | ||
*/ | ||
|
||
/* A request is a transaction */ | ||
transaction Request { | ||
} | ||
|
||
/* A response is a transaction */ | ||
transaction Response { | ||
} | ||
|
||
/* An event that represents an obligation that needs to be fulfilled */ | ||
abstract event Obligation identified { | ||
/* A back reference to the governing contract that emitted this obligation */ | ||
--> Contract contract | ||
|
||
/* The party that is obligated */ | ||
--> Party promisor optional | ||
|
||
/* The party that receives the performance */ | ||
--> Party promisee optional | ||
|
||
/* The time before which the obligation is fulfilled */ | ||
o DateTime deadline optional | ||
} | ||
|
||
/* A contract state is an asset -- The runtime state of the contract */ | ||
asset State { | ||
} |
82 changes: 0 additions & 82 deletions
82
packages/cicero-cli/test/data/helloemit/model/@models.accordproject.org.cicero.runtime.cto
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.