|
19 | 19 | { "pos": 5, "name": "safety_score", "scvType": "scvU32", "encoding": "AAAAB3UAAABK" }, |
20 | 20 | { "pos": 6, "name": "base_amount", "scvType": "scvI128", "encoding": "AAAACQAAAAAAAAAAAAAAAO5rKAA=" }, |
21 | 21 | { "pos": 7, "name": "asset", "scvType": "scvAddress", "encoding": "AAAAEgAAAAIAAAAA" }, |
22 | | - { "pos": 8, "name": "beneficiary", "scvType": "scvVoid", "encoding": "AAAAAQ==" } |
| 22 | + { "pos": 8, "name": "beneficiary", "scvType": "scvVoid", "encoding": "AAAAAQ==" }, |
| 23 | + { "pos": 9, "name": "deductible", "scvType": "scvVoid", "encoding": "AAAAAQ==" } |
23 | 24 | ], |
24 | | - "argCount": 9, |
| 25 | + "argCount": 10, |
25 | 26 | "inputs": { |
26 | 27 | "holder": "GDVOEGATQV4FGUJKDEBEYT5NAPWJ55MEMJVLC5TU7Y74WD73PPAS4TYW", |
27 | 28 | "policy_type": "Auto", |
|
31 | 32 | "safety_score": 74, |
32 | 33 | "base_amount": "1000000000", |
33 | 34 | "asset": "CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC", |
34 | | - "beneficiary": null |
| 35 | + "beneficiary": null, |
| 36 | + "deductible": null |
35 | 37 | } |
36 | 38 | }, |
37 | 39 | { |
|
47 | 49 | { "pos": 5, "name": "safety_score", "scvType": "scvU32", "encoding": "AAAAB3UAAAAB" }, |
48 | 50 | { "pos": 6, "name": "base_amount", "scvType": "scvI128", "encoding": "AAAACQAAAAAAAAAAAAAABN+AAAA=" }, |
49 | 51 | { "pos": 7, "name": "asset", "scvType": "scvAddress", "encoding": "AAAAEgAAAAIAAAAA" }, |
50 | | - { "pos": 8, "name": "beneficiary", "scvType": "scvVoid", "encoding": "AAAAAQ==" } |
| 52 | + { "pos": 8, "name": "beneficiary", "scvType": "scvVoid", "encoding": "AAAAAQ==" }, |
| 53 | + { "pos": 9, "name": "deductible", "scvType": "scvVoid", "encoding": "AAAAAQ==" } |
51 | 54 | ], |
52 | | - "argCount": 9, |
| 55 | + "argCount": 10, |
53 | 56 | "inputs": { |
54 | 57 | "holder": "GDVOEGATQV4FGUJKDEBEYT5NAPWJ55MEMJVLC5TU7Y74WD73PPAS4TYW", |
55 | 58 | "policy_type": "Health", |
|
59 | 62 | "safety_score": 1, |
60 | 63 | "base_amount": "5000000000", |
61 | 64 | "asset": "CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC", |
62 | | - "beneficiary": null |
| 65 | + "beneficiary": null, |
| 66 | + "deductible": null |
63 | 67 | } |
64 | 68 | }, |
65 | 69 | { |
|
123 | 127 | "negativeVectors": [ |
124 | 128 | { |
125 | 129 | "id": "initiate_policy__wrong_arg_count", |
126 | | - "description": "Builder must reject calls with fewer than 9 args", |
| 130 | + "description": "Builder must reject calls with fewer than 10 args", |
127 | 131 | "function": "initiate_policy", |
128 | 132 | "expectError": "ARG_COUNT_MISMATCH", |
129 | | - "badArgCount": 8 |
| 133 | + "badArgCount": 9 |
130 | 134 | }, |
131 | 135 | { |
132 | 136 | "id": "initiate_policy__enum_wrong_type", |
|
0 commit comments