Newer
Older
{
"svg": "gateway-event-b-fabric-ethereum-animation.svg",
"items": [
{
"id": "subscription",
"attr": "visibility",
"value": "IF subscribed=1 THEN \"visible\" ELSE \"hidden\" END"
},
{
"id": "initiate-cc-tx",
"attr": "stroke",
"value": "IF initiated=1 THEN \"red\" ELSE \"black\" END"
},
{
"value": "IF emitted=1 THEN \"red\" ELSE \"black\" END"
},
{
"id": "gateway",
"attr": "fill",
"value": "IF gateway_processing=1 THEN \"green\" ELSE \"white\" END"
},
{
"attr": "stroke",
"value": "IF submit_cc_tx=1 THEN \"red\" ELSE \"black\" END"
},
{
"id": "wallet",
"attr": "visibility",
"value": "IF wallet_created=1 THEN \"visible\" ELSE \"hidden\" END"
},
{
"id": "crypto_amount",
"attr": "fill",
"value": "IF wallet_amount>0 THEN \"green\" ELSE \"red\" END"
},
{
"id": "crypto_amount",
"attr": "visibility",
"value": "IF wallet_created=1 THEN \"visible\" ELSE \"hidden\" END"
}
],
"events": [
{
"id": "subscription",
"event": "SUBSCRIBE_SMART_CONTRACT_EVENTS_IN_FABRIC"
},
{
"id": "initiate-cc-tx",
"event": "INITIATE_CC_TX_IN_FABRIC"
},
{
"id": "submit-tx",
"event": "SUBMIT_TX_TO_ETHEREUM"
},
{
"id": "wallet",
"event": "CREATE_ADDRESS_IN_ETHEREUM"
},
{
"id": "crypto_amount",
"event": "DEPOSIT_CRYPTOCURRENCY_IN_ETHEREUM"
},
{
"id": "crypto_amount",
"event": "SUBMIT_TRANSFER_TRANSACTION_IN_ETHEREUM"
}
]
}