false
false
false
true
0
0
0
CreationContract
{ProjectStart}
PT10S
{MaxInterval}
AvailableAmount<=0
Start...
Starts the project.
Are you sure you want to start the project? You cannot undo this operation.
]]>
Release...
Releases funds in accordance with compliance of contract.
Funds to release:
<[Amount]>
]]>
Project Escrow
Example
Example token used to demonstrate how to model *crowdfunding* for a project, including an *escrow* function for
controlling how funds can be used by the project, using a *state machine*. The *project owner* creates tokens to a *singleton*
*state machine*, and sells them. If sufficient funds are not reached within a given amount of time, the crowdfunding fails, and
collected funds are returned to investors (minus commissions). If the threshold is met, the project is started. Funds are then released
to the project owner for the duration of the project, with a cap of how much can be released during a specified interval. Releasing
funds is done using external XML notes on the token.
iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABHNCSVQICAgIfAhkiAAABFFJREFUeJztWU1IMlsYfrqTFmgLIb5yEURlLQo3YVZUCi1qFUFQUKt2QURWm7IgIkhqJ9IP1EIIWkWuIugPLIh0GVFUBC5SocCkEM2/uYvv3oPDNNM43Thwv3lgYM77d57zeI7nzEwBy7Is/mD8RZsAbSgC0CZAG4oAtAnQhiIAbQK0oQhAmwBtKALQJkAbigC0CdCGIgBtArShCECbAG0oAtAmQBuKALQJ0EahkCMYDGJpaQklJSV5F43H4+jr60NHRwfPNz8/j3g8jmw2i5qaGoyMjORdHwBSqRScTicODg5wfX2N19dXqNVqVFRUoLGxET09Pejv7/+6ECsAn8/HApB9LS4u8mo+PT3x4vJFJpNh29vbJfPY2dkRrSe4BL77uSCTyfBs4+PjPNvCwoLkmqenp2AYBufn55JzHh8fRf0FQh9G3t7ecHx8jOLiYo69tLQUZrOZtLe3t/Hr1y+k02liSyaTMBqNqKqq4nZWUAAA0Gg0iMVixC5FbK/XC6vVyrE1Nzdjbm4O3d3dYBiG2O/v77G7u4vZ2VlMT0/D4XAIF857Dv5mS65oNCopx+FwkBy73c5arVbS3t/fz6tPAOzt7a2kfgOBgHhdSVVEyITD4bxzYrEYe3R0RNoGg0E0d2BggJOfTCbl0P6cl6ykPAXIHWx1dfWndV5eXiT153K55FAWri0rKU8BGhoaSLzH4yF2u91O7ENDQ5/mer3eb+0aX+HHBYhGo6ID+GpwKysrxF9fXy+Hrih+/CRos9nI/dTUFM+fe1hyOp08fygUIvcGg0Fyv3V1dWhtbYXJZBIPlKMa8pgBubHpdJrn9/v9xM8wDM9vs9mIv7e3VxZHMfzoDFhdXSX3FouFs1f/C5PJBI1GA+D34eni4oLjLysrI/eBQOA/5yh4EBJN+udAAwDhcBjl5eWfxhUVFSGZTAIAlpeX0dbWhkQiwYnRarXY2trC5uYmAKCpqQk+n4/4Dw8P0dXVRdpS6eZyFM2RPKcEppfQEri8vJT9HPHx8SHY397eXt4cReOkDVm4uJAALS0tsgUYHR3l1LJYLHlvhVLjf2QJpNNpqFQq0na73UilUoJTkWEYPD8/Y2ZmhthyY6PRKHQ6HWmr1WrEYjEUFgo+zdNdAmNjY8RvNpsl19VqtSTP7XZzfGtra7yZMjg4yPr9fl4dj8dDdwnk+s/OziTXXV9fJ3k6nY7ndzqdspaU6Fgks8tNyikeDAY5PpfL9a2ja27uZ79uKBRia2trJQ++srJStD/hRSSCiYkJqFQqvL+/816ZJRIJTE5OIpvNcrYvqXC73bi6ukI2m8XDwwPvJKfX63F3d4dIJIKNjQ2cnJzg5uYGkUgEDMNAr9fDaDSis7MTw8PD5IwhBFl/gv8n/PFvhRUBaBOgDUUA2gRoQxGANgHaUASgTYA2FAFoE6ANRQDaBGhDEYA2AdpQBKBNgDYUAWgToA1FANoEaONve9o8PVvYS2AAAAAASUVORK5CYII=
The part that creates the
Project Escrow
token and the corresponding state-machine that protects invested capital.
The owner of the project, who is legally responsible for execution of the project, and who gets access to invested capital in accordance with rules setup in the
escrow
arrangement.
The
escrow agent
is an independent party, responsible for releasing investe funds to the
project owner
, in according to this agreement. The
escrow agent
also acts as a
certifier
of the token and its legal framework.
The part that acts as a host of the token and approves its creation.
The ID of the singleton state machine associated with the tokens.
The initial value of the token.
The currency of the token.
The commission the Trust Provider gets for creating the token and managing the
calculator
.
When token expires.
Invested capital at the time of project start must reach this amount. If not, invested capital, minus commissions, will be returned to investors, and project closed. If threshold is reached, project is started, and invested capital is used in accordance with this agreement.
The maximum amount of money that can be transferred to the project owner during the specified interval.
The interval over which the maximum amount limit is enforced.
When the project is scheduled to start.
This contract creates a token representing a crowd-funded
project
with an escrow function. Invested capital is released to the
project owner
in a controlled manner by the
escrow agent
in accordance with this contract. If invested capital does not reach the
threshold investment amount
of
, the project is cancelled, and invested funds minus commission (
%) is returned to the investor.