|
325 | 325 | }
|
326 | 326 | },
|
327 | 327 | "additionalProperties": false
|
| 328 | + }, |
| 329 | + { |
| 330 | + "description": "Update contract configuration.\n\nThis message can be called by the admin only. All fields are optional - only provided fields will be updated. Updated values must pass the same validation as during instantiation.", |
| 331 | + "type": "object", |
| 332 | + "required": [ |
| 333 | + "update_config" |
| 334 | + ], |
| 335 | + "properties": { |
| 336 | + "update_config": { |
| 337 | + "type": "object", |
| 338 | + "properties": { |
| 339 | + "bsn_activation_height": { |
| 340 | + "description": "New BSN activation height (if provided)", |
| 341 | + "type": [ |
| 342 | + "integer", |
| 343 | + "null" |
| 344 | + ], |
| 345 | + "format": "uint64", |
| 346 | + "minimum": 0.0 |
| 347 | + }, |
| 348 | + "finality_signature_interval": { |
| 349 | + "description": "New finality signature interval (if provided)", |
| 350 | + "type": [ |
| 351 | + "integer", |
| 352 | + "null" |
| 353 | + ], |
| 354 | + "format": "uint64", |
| 355 | + "minimum": 0.0 |
| 356 | + }, |
| 357 | + "max_msgs_per_interval": { |
| 358 | + "description": "New maximum messages per finality provider per interval (if provided)", |
| 359 | + "type": [ |
| 360 | + "integer", |
| 361 | + "null" |
| 362 | + ], |
| 363 | + "format": "uint32", |
| 364 | + "minimum": 0.0 |
| 365 | + }, |
| 366 | + "min_pub_rand": { |
| 367 | + "description": "New minimum number of public randomness values required (if provided)", |
| 368 | + "type": [ |
| 369 | + "integer", |
| 370 | + "null" |
| 371 | + ], |
| 372 | + "format": "uint64", |
| 373 | + "minimum": 0.0 |
| 374 | + }, |
| 375 | + "rate_limiting_interval": { |
| 376 | + "description": "New rate limiting interval in blocks (if provided)", |
| 377 | + "type": [ |
| 378 | + "integer", |
| 379 | + "null" |
| 380 | + ], |
| 381 | + "format": "uint64", |
| 382 | + "minimum": 0.0 |
| 383 | + } |
| 384 | + }, |
| 385 | + "additionalProperties": false |
| 386 | + } |
| 387 | + }, |
| 388 | + "additionalProperties": false |
328 | 389 | }
|
329 | 390 | ],
|
330 | 391 | "definitions": {
|
|
485 | 546 | },
|
486 | 547 | "additionalProperties": false
|
487 | 548 | },
|
| 549 | + { |
| 550 | + "description": "`HighestVotedHeight` returns the highest rollup block height that the given finality provider has voted on.\n\n`btc_pk_hex` is the BTC public key of the finality provider, in hex format. Returns None if the finality provider has never submitted a finality signature.", |
| 551 | + "type": "object", |
| 552 | + "required": [ |
| 553 | + "highest_voted_height" |
| 554 | + ], |
| 555 | + "properties": { |
| 556 | + "highest_voted_height": { |
| 557 | + "type": "object", |
| 558 | + "required": [ |
| 559 | + "btc_pk_hex" |
| 560 | + ], |
| 561 | + "properties": { |
| 562 | + "btc_pk_hex": { |
| 563 | + "type": "string" |
| 564 | + } |
| 565 | + }, |
| 566 | + "additionalProperties": false |
| 567 | + } |
| 568 | + }, |
| 569 | + "additionalProperties": false |
| 570 | + }, |
488 | 571 | {
|
489 | 572 | "type": "object",
|
490 | 573 | "required": [
|
|
780 | 863 | }
|
781 | 864 | }
|
782 | 865 | },
|
| 866 | + "highest_voted_height": { |
| 867 | + "$schema": "http://json-schema.org/draft-07/schema#", |
| 868 | + "title": "Nullable_uint64", |
| 869 | + "type": [ |
| 870 | + "integer", |
| 871 | + "null" |
| 872 | + ], |
| 873 | + "format": "uint64", |
| 874 | + "minimum": 0.0 |
| 875 | + }, |
783 | 876 | "last_pub_rand_commit": {
|
784 | 877 | "$schema": "http://json-schema.org/draft-07/schema#",
|
785 | 878 | "title": "Nullable_PubRandCommit",
|
|
0 commit comments