common

package
v1.0.0-beta.37 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package common is a package that contains common models & methods used by all other packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapOldContractToModel

func MapOldContractToModel(m *common.Model) *engine.Model

MapOldContractToModel will map the spv-wallet-models contract to the common SPV Wallet Model (this is deprecated and will be removed in the future)

func MapToContract

func MapToContract(m *engine.Model) *response.Model

MapToContract will map the common model to the spv-wallet-models contract

func MapToModel

func MapToModel(m *response.Model) *engine.Model

MapToModel will map the spv-wallet-models contract to the common SPV Wallet Model

func MapToOldContract

func MapToOldContract(m *engine.Model) *common.Model

MapToOldContract will map the common model to the spv-wallet-models contract (this is deprecated and will be removed in the future)

Types

This section is empty.

Jump to

Keyboard shortcuts

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