address
: an address of a smart contract on Ethereum. This contract should implement the fact registry pattern.fact
: a fact that should be registered in this smart contract in order to approve the conditional transfer.fact
is true in the address
, her transaction will be valid and the Application will be able to execute it.
See here for Conditional Transfer structure.address
is transacted and results in the registration of the fact
as valid.fact
will be the hash of Alice's Ethereum Address, the type of token and the amount. When a transaction to the fact registry contract at address
is made, the contract will first transfer the necessary amount of funds from the sender to Alice's Ethereum Address, and will then register fact
as true.
Alice knows that her off-chain conditional transfer will only be valid after the required amount of funds are transferred to her on-chain.fact
is registered as true in address
, the Application sends the Conditional Transfer transaction to StarkEx. Then, the same validity checks as in transfer are donestateUpdate
on-chain transaction includes as calldata the address
and the fact
. If this fact is not registered as true, the state update is rejected.