3. emit cc-tx event 1. Subscribe 4. submit cc-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_transactions ?
5 gateway_processing ?
6 initiated ?
7 received_cross_chain_transactions ?
8 received_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 CROSS_CHAIN_EVENTS {CROSS_CHAIN_EVENTS1,CROSS_CHAIN_EVENTS2}
2 CROSS_CHAIN_TRANSACTIONS {CROSS_CHAIN_TRANSACTIONS1,CROSS_CHAIN_TRANSACTIONS2}
3 GATEWAYS {gateway,GATEWAYS2}
4 TRANSACTIONS {TRANSACTIONS1,TRANSACTIONS2}
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_transactions={},gateway_processing=0,initiated=0,...
3SUBSCRIBE_SMART_CONTRACT_EVENTS_IN_FABRIC
4CREATE_ADDRESS_IN_ETHEREUM(gateway_address)
5INITIATE_CC_TX_IN_FABRIC(TRANSACTIONS1)
6EMIT_CC_TX_EVENT_IN_FABRIC(CROSS_CHAIN_EVENTS1,TRANSACTIONS1)
7LISTEN_CC_TX_EVENT_IN_FABRIC(CROSS_CHAIN_EVENTS1,CROSS_CHAIN_TRANSACTIONS1)
8DEPOSIT_CRYPTOCURRENCY_IN_ETHEREUM(3,gateway_address)
9SUBMIT_CC_TX_TO_ETHEREUM(CROSS_CHAIN_TRANSACTIONS1,3)
Generated on 4/4/2024 at 13:10 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 4/4/2024 at 13:08)
VisB SVG file: gateway-event-b-fabric-ethereum-animation.svg (modified on 4/4/2024 at 13:07)