bundle

package
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ParamsSchemas = map[string]json.RawMessage{
	"SettlementOpened": json.RawMessage(`
		{
			"type": "object",
			"properties": {
				"settlement_id": {
					"type": "string",
					"description": "uint256"
				},
				"settlement_hash": {
					"type": "string",
					"description": "bytes32 hex"
				}
			},
			"required": [
				"settlement_id",
				"settlement_hash"
			]
		}
	`),
	"SettlementAccepted": json.RawMessage(`
		{
			"type": "object",
			"properties": {
				"settlement_id": {
					"type": "string",
					"description": "uint256"
				},
				"settlement_hash": {
					"type": "string",
					"description": "bytes32 hex"
				}
			},
			"required": [
				"settlement_id",
				"settlement_hash"
			]
		}
	`),
	"SettlementClosing": json.RawMessage(`
		{
			"type": "object",
			"properties": {
				"settlement_id": {
					"type": "string",
					"description": "uint256"
				},
				"settlement_hash": {
					"type": "string",
					"description": "bytes32 hex"
				}
			},
			"required": [
				"settlement_id",
				"settlement_hash"
			]
		}
	`),
	"SettlementSettled": json.RawMessage(`
		{
			"type": "object",
			"properties": {
				"settlement_id": {
					"type": "string",
					"description": "uint256"
				},
				"settlement_hash": {
					"type": "string",
					"description": "bytes32 hex"
				}
			},
			"required": [
				"settlement_id",
				"settlement_hash"
			]
		}
	`),
	"SettlementCanceling": json.RawMessage(`
		{
			"type": "object",
			"properties": {
				"settlement_id": {
					"type": "string",
					"description": "uint256"
				},
				"settlement_hash": {
					"type": "string",
					"description": "bytes32 hex"
				}
			},
			"required": [
				"settlement_id",
				"settlement_hash"
			]
		}
	`),
	"SettlementCanceled": json.RawMessage(`
		{
			"type": "object",
			"properties": {
				"settlement_id": {
					"type": "string",
					"description": "uint256"
				},
				"settlement_hash": {
					"type": "string",
					"description": "bytes32 hex"
				}
			},
			"required": [
				"settlement_id",
				"settlement_hash"
			]
		}
	`),
}

ParamsSchemas maps event names to their auto-generated JSON Schema derived from the Solidity ABI event parameters.

Functions

func Get

func Get() *crecbundle.Bundle

Get returns the dvp watcher bundle.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL