3. emit event 1. Subscribe 4. submit tx 2. initiate cc-tx User Source smart contract Target smart contract Gateway

Nr Name Value
1 accounts ?
2 emitted ?
3 emitted_events ?
4 gateway_pending_events ?
5 gateway_processing ?
6 initiated ?
7 received_source_transactions ?
8 received_target_transactions ?
9 submit_cc_tx ?
10 subscribed ?
11 subscriptions ?
12 wallet_amount ?
13 wallet_created ?
Nr Name Value
1 target_smart_contract source_smart_contract
Nr Name Value
1 TARGET_TRANSACTIONS {TARGET_TRANSACTIONS1,TARGET_TRANSACTIONS2}
2 GATEWAYS {gateway,GATEWAYS2}
3 SOURCE_TRANSACTIONS {SOURCE_TRANSACTIONS1,SOURCE_TRANSACTIONS2}
4 SMART_CONTRACT_EVENTS {SMART_CONTRACT_EVENTS1,SMART_CONTRACT_EVENTS2}
5 CROSS_CHAIN_SMART_CONTRACTS {source_smart_contract,CROSS_CHAIN_SMART_CONTRACTS2}
6 ADDRESS {gateway_address,ADDRESS2}
Nr Event Target State ID
1SETUP_CONSTANTS(target_smart_contract=source_smart_contract)State 0
2INITIALISATION(accounts={},emitted=0,emitted_events={},gateway_pending_events={},gateway_processing=0,initiated=0,receiv...
3SUBSCRIBE_SMART_CONTRACT_EVENTS_IN_FABRIC
4CREATE_ADDRESS_IN_ETHEREUM(gateway_address)
5INITIATE_CC_TX_IN_FABRIC(SOURCE_TRANSACTIONS1)
6EMIT_EVENT_IN_FABRIC(SMART_CONTRACT_EVENTS1,SOURCE_TRANSACTIONS1)
7LISTEN_EVENT_IN_FABRIC(TARGET_TRANSACTIONS1,SMART_CONTRACT_EVENTS1)
8DEPOSIT_CRYPTOCURRENCY_IN_ETHEREUM(3,gateway_address)
9SUBMIT_TX_TO_ETHEREUM(TARGET_TRANSACTIONS1,TARGET_TRANSACTIONS1,3)
Generated on 6/4/2024 at 19:54 using ProB version 1.12.2-final
Main specification package: event_b_project
Main specification name: CCTx_Fabric_Ethereum_Animation_m3
Main VisB JSON file: gateway-vis-file.json (modified on 6/4/2024 at 19:52)
VisB SVG file: gateway-event-b-fabric-ethereum-animation.svg (modified on 6/4/2024 at 19:51)