|
| 1 | +aqua Deals declares * |
| 2 | + |
| 3 | +data MyDeployment2: |
| 4 | + chainNetworkId: u64 |
| 5 | + dealId: string |
| 6 | + dealIdOriginal: string |
| 7 | + definition: string |
| 8 | + matched: bool |
| 9 | + timestamp: string |
| 10 | + |
| 11 | +data MyDeployment3: |
| 12 | + chainNetworkId: u64 |
| 13 | + dealId: string |
| 14 | + dealIdOriginal: string |
| 15 | + definition: string |
| 16 | + matched: bool |
| 17 | + timestamp: string |
| 18 | + |
| 19 | +data MyDeployment: |
| 20 | + chainNetworkId: u64 |
| 21 | + dealId: string |
| 22 | + dealIdOriginal: string |
| 23 | + definition: string |
| 24 | + timestamp: string |
| 25 | + |
| 26 | +data Deals: |
| 27 | + myDeployment2: ?MyDeployment2 |
| 28 | + myDeployment3: ?MyDeployment3 |
| 29 | + myDeployment: ?MyDeployment |
| 30 | + |
| 31 | +func get() -> Deals: |
| 32 | + <- Deals( |
| 33 | + myDeployment3=?[MyDeployment3( |
| 34 | + definition="bafkreihwjgur2lhrlho54ioamyzyqe7qxnkl4r7eyhvupkpnlsnrv4jqfq", |
| 35 | + timestamp="2024-05-31T11:31:37.412Z", |
| 36 | + dealIdOriginal="0xadeb03C7f210900A7f0521b73A013935C8943C6a", |
| 37 | + dealId="adeb03c7f210900a7f0521b73a013935c8943c6a", |
| 38 | + chainNetworkId=2358716091832359, |
| 39 | + matched=true |
| 40 | + )], |
| 41 | + myDeployment=?[MyDeployment( |
| 42 | + definition="bafkreihwjgur2lhrlho54ioamyzyqe7qxnkl4r7eyhvupkpnlsnrv4jqfq", |
| 43 | + timestamp="2024-05-31T11:16:30.226Z", |
| 44 | + dealIdOriginal="0x2cD0091c6a04613386af1966aea8183C1070171B", |
| 45 | + dealId="2cd0091c6a04613386af1966aea8183c1070171b", |
| 46 | + chainNetworkId=2358716091832359 |
| 47 | + )], |
| 48 | + myDeployment2=?[MyDeployment2( |
| 49 | + definition="bafkreihwjgur2lhrlho54ioamyzyqe7qxnkl4r7eyhvupkpnlsnrv4jqfq", |
| 50 | + timestamp="2024-05-31T11:26:59.551Z", |
| 51 | + dealIdOriginal="0x3d0276bD4e2370B56133AE9B3Ebb5ed9ea0b9BED", |
| 52 | + dealId="3d0276bd4e2370b56133ae9b3ebb5ed9ea0b9bed", |
| 53 | + chainNetworkId=2358716091832359, |
| 54 | + matched=false |
| 55 | + )] |
| 56 | + ) |
0 commit comments