Algorithm 3 Supervise cross-chain smart contract A(SCSC-A) |
Input H(S); Ds; PA; SCSC-B; V; IR 1: func Certification(H(S))//Verify Permissions 2: func Pretreatment(D)//Cross-chain request preprocessing 3: func Integration(Data)//Form a supervised cross-chain data Data 4: func Slice(DATA)//DATA slices are stored in the relay chain 5: func Storage(IR)//Interactive record storage 6: func Destroy(S)//Call SCSC-B, decrypt, and get S 7: func Determine(V)//Time lock trigger design, including trigger conditions and trigger results |