UpgradeProposal Constructor

Initializes a new instance of the UpgradeProposal class.

Namespace:  SecretNET.Tx
Assembly:  SecretNET (in SecretNET.dll)

Syntax


public UpgradeProposal(
	string title,
	string description,
	Plan plan,
	Any upgradedClientState,
	Coin[] initialDeposit
)

Parameters

title
Type: String
The title.
description
Type: String
The description.
plan
Type: Plan
The plan.
upgradedClientState
Type: Any
An UpgradedClientState must be provided to perform an IBC breaking upgrade. This will make the chain commit to the correct upgraded (self) client state before the upgrade occurs, so that connecting chains can verify that the new upgraded client is valid by verifying a proof on the previous version of the chain. This will allow IBC connections to persist smoothly across planned chain upgrades
initialDeposit
Type: array<Coin>[]()[][]
The initial deposit.