Skip to content

Commit

Permalink
example
Browse files Browse the repository at this point in the history
  • Loading branch information
ebuchman committed Apr 28, 2017
1 parent 2c18204 commit 7facc47
Show file tree
Hide file tree
Showing 4 changed files with 133 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Examples

`templates/` contain markdown templates.

`engagements/` contain output of `cflow`.



19 changes: 19 additions & 0 deletions examples/engagements/john/params.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This is a TOML file containing parameters for this contract



[meta]
# This must match the hash of the local template.md file. DO NOT CHANGE IT
template = "92C717D972698D79140F54B29AB01EC009624ECADAC6CA9660522C7E7DB10816"

[var]
date = "2017-01-01"
consultant = "John Smith"
schedule = "Full time"
start-date = "2017-01-15"


[exhibit]
services = "Software engineering"
compensation = "$100/hr"
expenses = "$500/month"
53 changes: 53 additions & 0 deletions examples/engagements/john/template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# My Corp Inc.
# CONSULTING AGREEMENT

This Consulting Agreement (this "Agreement") is made as of {{date}}, by and between My Corp, Inc., a Delaware corporation (the "Company"), and {{consultant}} ("Consultant").

# Consulting Relationship.

During the term of this Agreement, Consultant will provide consulting services to the Company as described on {{exhibit.services}} hereto (the "Services"). Consultant represents that Consultant is duly licensed (as applicable) and has the qualifications, the experience and the ability to properly perform the Services. Consultant shall use Consultant’s best efforts to perform the Services such that the results are satisfactory to the Company. {{schedule}}, or updated with 14 days prior notice.

# Fees.

As consideration for the Services to be provided by Consultant and other obligations, the Company shall pay to Consultant the amounts specified in {{exhibit.compensation}} hereto at the times specified therein.

# Expenses.

Consultant shall not be authorized to incur on behalf of the Company any expenses and will be responsible for all expenses incurred while performing the Services except as expressly specified in {{exhibit.expenses}} hereto unless otherwise agreed to by the Company's CEO, which consent shall be evidenced in writing for any such expenses in excess of $0.00. As a condition to receipt of reimbursement, Consultant shall be required to submit to the Company reasonable evidence that the amount involved was both reasonable and necessary to the Services provided under this Agreement.

# Term and Termination.

Consultant shall serve as a consultant to the Company for a period commencing on {{start-date}} and terminating on the earlier of (a) the date Consultant completes the provision of the Services to the Company under this Agreement, or (b) the date Consultant shall have been paid the maximum amount of consulting fees as provided in {{exhibit.compensation}} hereto.

---

\pagebreak

# {{exhibit.services}}

## DESCRIPTION OF CONSULTING SERVICES

{{exhibit.services.value}}

---

\pagebreak

# {{exhibit.compensation}}

## COMPENSATION

{{exhibit.compensation.value}}

---

\pagebreak

# {{exhibit.expenses}}

## ALLOWABLE EXPENSES

{{exhibit.expenses.value}}

---

53 changes: 53 additions & 0 deletions examples/templates/consultant.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# My Corp Inc.
# CONSULTING AGREEMENT

This Consulting Agreement (this "Agreement") is made as of {{date}}, by and between My Corp, Inc., a Delaware corporation (the "Company"), and {{consultant}} ("Consultant").

# Consulting Relationship.

During the term of this Agreement, Consultant will provide consulting services to the Company as described on {{exhibit.services}} hereto (the "Services"). Consultant represents that Consultant is duly licensed (as applicable) and has the qualifications, the experience and the ability to properly perform the Services. Consultant shall use Consultant’s best efforts to perform the Services such that the results are satisfactory to the Company. {{schedule}}, or updated with 14 days prior notice.

# Fees.

As consideration for the Services to be provided by Consultant and other obligations, the Company shall pay to Consultant the amounts specified in {{exhibit.compensation}} hereto at the times specified therein.

# Expenses.

Consultant shall not be authorized to incur on behalf of the Company any expenses and will be responsible for all expenses incurred while performing the Services except as expressly specified in {{exhibit.expenses}} hereto unless otherwise agreed to by the Company's CEO, which consent shall be evidenced in writing for any such expenses in excess of $0.00. As a condition to receipt of reimbursement, Consultant shall be required to submit to the Company reasonable evidence that the amount involved was both reasonable and necessary to the Services provided under this Agreement.

# Term and Termination.

Consultant shall serve as a consultant to the Company for a period commencing on {{start-date}} and terminating on the earlier of (a) the date Consultant completes the provision of the Services to the Company under this Agreement, or (b) the date Consultant shall have been paid the maximum amount of consulting fees as provided in {{exhibit.compensation}} hereto.

---

\pagebreak

# {{exhibit.services}}

## DESCRIPTION OF CONSULTING SERVICES

{{exhibit.services.value}}

---

\pagebreak

# {{exhibit.compensation}}

## COMPENSATION

{{exhibit.compensation.value}}

---

\pagebreak

# {{exhibit.expenses}}

## ALLOWABLE EXPENSES

{{exhibit.expenses.value}}

---

0 comments on commit 7facc47

Please sign in to comment.