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

Nr Name Value
1 authenticated_transactions ?
2 authenticated_users ?
3 emitted ?
4 emitted_events ?
5 gateway_pending_events ?
6 gateway_processing ?
7 grants ?
8 initiated ?
9 received_source_transactions ?
10 received_target_transactions ?
11 submit_cc_tx ?
12 subscribed ?
13 subscriptions ?
14 user_created ?
15 write_granted ?
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 USERS {gateway_user,USERS2}
7 PERMISSIONS {read,write}
Nr Event Target State ID
1SETUP_CONSTANTS(target_smart_contract=source_smart_contract)State 0
2INITIALISATION(authenticated_transactions={},authenticated_users={},emitted=0,emitted_events={},gateway_pending_events={...
3SUBSCRIBE_SMART_CONTRACT_EVENTS_IN_ETHEREUM
4CREATE_GATEWAY_USER
5INITIATE_CC_TX_IN_ETHEREUM(SOURCE_TRANSACTIONS1)
6EMIT_EVENT_IN_ETHEREUM(SMART_CONTRACT_EVENTS1,SOURCE_TRANSACTIONS1)
7LISTEN_EVENT_IN_ETHEREUM(TARGET_TRANSACTIONS1,SMART_CONTRACT_EVENTS1)
8GRANT_PERMISSION(write,gateway_user)
9SUBMIT_TX_TO_FABRIC(TARGET_TRANSACTIONS1,TARGET_TRANSACTIONS1,gateway_user)
Generated on 6/4/2024 at 19:50 using ProB version 1.12.2-final
Main specification package: event_b_project
Main specification name: CCTx_Ethereum_Fabric_Animation_m3
Main VisB JSON file: gateway-vis-file.json (modified on 6/4/2024 at 19:49)
VisB SVG file: gateway-event-b-ethereum-fabric-animation.svg (modified on 6/4/2024 at 19:48)