code.vegaprotocol.io/vega@v0.79.0/datanode/integration/testdata/golden/TestOracles_OracleDataSourceExternal (about)

     1  {
     2  	"TestName": "TestOracles_OracleDataSourceExternal",
     3  	"Query": "{ oracleSpecsConnection { edges { node { dataSourceSpec { spec { id createdAt updatedAt status data { sourceType { ... on DataSourceDefinitionExternal { sourceType { ... on DataSourceSpecConfiguration { signers { signer { ... on ETHAddress { address } ... on PubKey { key } } } filters { key { name  type } conditions { operator value } } } } } } } } } } } } }",
     4  	"Result": {
     5  		"oracleSpecsConnection": {
     6  			"edges": [
     7  				{
     8  					"node": {
     9  						"dataSourceSpec": {
    10  							"spec": {
    11  								"createdAt": "2023-03-10T10:28:12.711669Z",
    12  								"data": {
    13  									"sourceType": {
    14  										"sourceType": {
    15  											"filters": [
    16  												{
    17  													"conditions": [
    18  														{
    19  															"operator": "OPERATOR_GREATER_THAN_OR_EQUAL",
    20  															"value": "0"
    21  														}
    22  													],
    23  													"key": {
    24  														"name": "oracle.test.settlement07116",
    25  														"type": "TYPE_INTEGER"
    26  													}
    27  												}
    28  											],
    29  											"signers": [
    30  												{
    31  													"signer": {
    32  														"key": "abbb79deea6dc6bb5b532d0641730d2366864bf349744663e750f64422ca5ebb"
    33  													}
    34  												}
    35  											]
    36  										}
    37  									}
    38  								},
    39  								"id": "ae14ccd9f8df5b0eb43d43fbe6625d4020f4cc609d6ee1235db48e94fa789e85",
    40  								"status": "STATUS_ACTIVE",
    41  								"updatedAt": null
    42  							}
    43  						}
    44  					}
    45  				},
    46  				{
    47  					"node": {
    48  						"dataSourceSpec": {
    49  							"spec": {
    50  								"createdAt": "2023-03-10T10:23:18.09062Z",
    51  								"data": {
    52  									"sourceType": {
    53  										"sourceType": {
    54  											"filters": [
    55  												{
    56  													"conditions": [
    57  														{
    58  															"operator": "OPERATOR_EQUALS",
    59  															"value": "True"
    60  														}
    61  													],
    62  													"key": {
    63  														"name": "oracle.test.terminationDDB00",
    64  														"type": "TYPE_BOOLEAN"
    65  													}
    66  												}
    67  											],
    68  											"signers": [
    69  												{
    70  													"signer": {
    71  														"key": "c2071f9874933829eb432b1af0d776b5d49d5d4a7feefffa7d1e9642d9d5ed19"
    72  													}
    73  												}
    74  											]
    75  										}
    76  									}
    77  								},
    78  								"id": "a59ef4c8e651c5aebc81cb82c665b94d47735da1d2aff8868a79f1e25b354d6d",
    79  								"status": "STATUS_ACTIVE",
    80  								"updatedAt": null
    81  							}
    82  						}
    83  					}
    84  				},
    85  				{
    86  					"node": {
    87  						"dataSourceSpec": {
    88  							"spec": {
    89  								"createdAt": "2023-03-10T10:24:05.588573Z",
    90  								"data": {
    91  									"sourceType": {
    92  										"sourceType": {
    93  											"filters": [
    94  												{
    95  													"conditions": [
    96  														{
    97  															"operator": "OPERATOR_EQUALS",
    98  															"value": "True"
    99  														}
   100  													],
   101  													"key": {
   102  														"name": "oracle.test.terminationAEEF3",
   103  														"type": "TYPE_BOOLEAN"
   104  													}
   105  												}
   106  											],
   107  											"signers": [
   108  												{
   109  													"signer": {
   110  														"key": "c2071f9874933829eb432b1af0d776b5d49d5d4a7feefffa7d1e9642d9d5ed19"
   111  													}
   112  												}
   113  											]
   114  										}
   115  									}
   116  								},
   117  								"id": "36c0d99cee5d8c2b974995818e4bcb095bfa38558c5485b935dc7781ed954ce6",
   118  								"status": "STATUS_DEACTIVATED",
   119  								"updatedAt": null
   120  							}
   121  						}
   122  					}
   123  				},
   124  				{
   125  					"node": {
   126  						"dataSourceSpec": {
   127  							"spec": {
   128  								"createdAt": "2023-03-10T10:28:12.711669Z",
   129  								"data": {
   130  									"sourceType": {
   131  										"sourceType": {
   132  											"filters": [
   133  												{
   134  													"conditions": [
   135  														{
   136  															"operator": "OPERATOR_EQUALS",
   137  															"value": "True"
   138  														}
   139  													],
   140  													"key": {
   141  														"name": "oracle.test.terminationA6CCC",
   142  														"type": "TYPE_BOOLEAN"
   143  													}
   144  												}
   145  											],
   146  											"signers": [
   147  												{
   148  													"signer": {
   149  														"key": "abbb79deea6dc6bb5b532d0641730d2366864bf349744663e750f64422ca5ebb"
   150  													}
   151  												}
   152  											]
   153  										}
   154  									}
   155  								},
   156  								"id": "31020fd12ab5ea856a1b9e9d464c98205f7d9ac0d8b287c7b5ed5bdfbceb30cf",
   157  								"status": "STATUS_ACTIVE",
   158  								"updatedAt": null
   159  							}
   160  						}
   161  					}
   162  				},
   163  				{
   164  					"node": {
   165  						"dataSourceSpec": {
   166  							"spec": {
   167  								"createdAt": "2023-03-10T10:24:05.588573Z",
   168  								"data": {
   169  									"sourceType": {
   170  										"sourceType": {
   171  											"filters": [
   172  												{
   173  													"conditions": [
   174  														{
   175  															"operator": "OPERATOR_GREATER_THAN",
   176  															"value": "100"
   177  														}
   178  													],
   179  													"key": {
   180  														"name": "oracle.test.settlementD3915",
   181  														"type": "TYPE_INTEGER"
   182  													}
   183  												}
   184  											],
   185  											"signers": [
   186  												{
   187  													"signer": {
   188  														"key": "c2071f9874933829eb432b1af0d776b5d49d5d4a7feefffa7d1e9642d9d5ed19"
   189  													}
   190  												}
   191  											]
   192  										}
   193  									}
   194  								},
   195  								"id": "1937e8eceed19c8b5cdb92fe87cb062f2fd80b230d7cc441312d1b1af318481d",
   196  								"status": "STATUS_DEACTIVATED",
   197  								"updatedAt": null
   198  							}
   199  						}
   200  					}
   201  				},
   202  				{
   203  					"node": {
   204  						"dataSourceSpec": {
   205  							"spec": {
   206  								"createdAt": "2023-03-10T10:23:18.09062Z",
   207  								"data": {
   208  									"sourceType": {
   209  										"sourceType": {
   210  											"filters": [
   211  												{
   212  													"conditions": [
   213  														{
   214  															"operator": "OPERATOR_GREATER_THAN_OR_EQUAL",
   215  															"value": "0"
   216  														}
   217  													],
   218  													"key": {
   219  														"name": "oracle.test.settlementABBAF",
   220  														"type": "TYPE_INTEGER"
   221  													}
   222  												}
   223  											],
   224  											"signers": [
   225  												{
   226  													"signer": {
   227  														"key": "c2071f9874933829eb432b1af0d776b5d49d5d4a7feefffa7d1e9642d9d5ed19"
   228  													}
   229  												}
   230  											]
   231  										}
   232  									}
   233  								},
   234  								"id": "1152f1fad600a97069e35d24bcd94e4883ea6d48e96573707766333b01f08f14",
   235  								"status": "STATUS_ACTIVE",
   236  								"updatedAt": null
   237  							}
   238  						}
   239  					}
   240  				}
   241  			]
   242  		}
   243  	},
   244  	"Duration": 1824739
   245  }