Msig

The Msig methods are used to interact with multisig wallets on the filecoin network.

msigAddApprove

msigAddApprove (address: string, address1: string, uint: number, address2: string, address3: string, bool: boolean): Promise<Cid>

Approves a previously proposed AddSigner message It takes the following params: , , , , ,

Parameters:

  • address: string
  • address1: string
  • uint: number
  • address2: string
  • address3: string
  • bool: boolean

Returns:

Promise<Cid>

Source: index.d.ts, line 437, character 16

msigAddCancel

msigAddCancel (address: string, address1: string, uint: number, address2: string, bool: boolean): Promise<Cid>

Cancels a previously proposed AddSigner message It takes the following params: , , , ,

Parameters:

  • address: string
  • address1: string
  • uint: number
  • address2: string
  • bool: boolean

Returns:

Promise<Cid>

Source: index.d.ts, line 443, character 15

msigAddPropose

msigAddPropose (address: string, address1: string, address2: string, bool: boolean): Promise<Cid>

Proposes adding a signer in the multisig It takes the following params: , , ,

Parameters:

  • address: string
  • address1: string
  • address2: string
  • bool: boolean

Returns:

Promise<Cid>

Source: index.d.ts, line 449, character 16

msigApprove

msigApprove (address: string, uint: number, address1: string): Promise<Cid>

Approves a previously-proposed multisig message by transaction ID It takes the following params: ,

Parameters:

  • address: string
  • uint: number
  • address1: string

Returns:

Promise<Cid>

Source: index.d.ts, line 454, character 13

msigApproveTxnHash

msigApproveTxnHash (address: string, uint: number, address1: string, address2: string, bigInt: string, address3: string, uint1: number, bytes: string): Promise<Cid>

Approves a previously-proposed multisig message, specified using both transaction ID and a hash of the parameters used in the proposal. This method of approval can be used to ensure you only approve exactly the transaction you think you are. It takes the following params: , , , , , , ,

Parameters:

  • address: string
  • uint: number
  • address1: string
  • address2: string
  • bigInt: string
  • address3: string
  • uint1: number
  • bytes: string

Returns:

Promise<Cid>

Source: index.d.ts, line 463, character 20

msigCancel

msigCancel (address: string, uint: number, address1: string, bigInt: string, address2: string, uint1: number, bytes: string): Promise<Cid>

Cancels a previously-proposed multisig message It takes the following params: , , , , , ,

Parameters:

  • address: string
  • uint: number
  • address1: string
  • bigInt: string
  • address2: string
  • uint1: number
  • bytes: string

Returns:

Promise<Cid>

Source: index.d.ts, line 469, character 12

msigCreate

msigCreate (uint: number, address: Array<string>, chainEpoch: number, bigInt: string, address1: string, bigInt1: string): Promise<Cid>

Creates a multisig wallet It takes the following params: , , , ,

Parameters:

  • uint: number
  • address: Array<string>
  • chainEpoch: number
  • bigInt: string
  • address1: string
  • bigInt1: string

Returns:

Promise<Cid>

Source: index.d.ts, line 475, character 12

msigGetAvailableBalance

msigGetAvailableBalance (address: string, tipSetKey: Cid[]): Promise<string>

Returns the portion of a multisig's balance that can be withdrawn or spent

Parameters:

  • address: string
  • tipSetKey: Cid[]

Returns:

Promise<string>

Source: index.d.ts, line 479, character 25

msigGetVested

msigGetVested (address: string, tipSetKey: Cid[], tipSetKey1: Cid[]): Promise<string>

Returns the amount of FIL that vested in a multisig in a certain period. It takes the following params: , ,

Parameters:

  • address: string
  • tipSetKey: Cid[]
  • tipSetKey1: Cid[]

Returns:

Promise<string>

Source: index.d.ts, line 484, character 15

msigGetVestingSchedule

msigGetVestingSchedule (address: string, tipSetKey: Cid[]): Promise<MsigVesting>

Returns the vesting details of a given multisig.

Parameters:

  • address: string
  • tipSetKey: Cid[]

Returns:

Promise<MsigVesting>

Source: index.d.ts, line 488, character 24

msigPropose

msigPropose (address: string, address1: string, bigInt: string, address2: string, uint: number, bytes: string): Promise<Cid>

Proposes a multisig message It takes the following params: , , , , ,

Parameters:

  • address: string
  • address1: string
  • bigInt: string
  • address2: string
  • uint: number
  • bytes: string

Returns:

Promise<Cid>

Source: index.d.ts, line 494, character 13

msigRemoveSigner

msigRemoveSigner (address: string, address1: string, address2: string, bool: boolean): Promise<Cid>

Proposes the removal of a signer from the multisig. It accepts the multisig to make the change on, the proposer address to send the message from, the address to be removed, and a boolean indicating whether or not the signing threshold should be lowered by one along with the address removal.

Parameters:

  • address: string
  • address1: string
  • address2: string
  • bool: boolean

Returns:

Promise<Cid>

Source: index.d.ts, line 502, character 18

msigSwapApprove

msigSwapApprove (address: string, address1: string, uint: number, address2: string, address3: string, address4: string): Promise<Cid>

Approves a previously proposed SwapSigner It takes the following params: , , , , ,

Parameters:

  • address: string
  • address1: string
  • uint: number
  • address2: string
  • address3: string
  • address4: string

Returns:

Promise<Cid>

Source: index.d.ts, line 508, character 17

msigSwapCancel

msigSwapCancel (address: string, address1: string, uint: number, address2: string, address3: string): Promise<Cid>

Cancels a previously proposed SwapSigner message It takes the following params: , , , ,

Parameters:

  • address: string
  • address1: string
  • uint: number
  • address2: string
  • address3: string

Returns:

Promise<Cid>

Source: index.d.ts, line 514, character 16

msigSwapPropose

msigSwapPropose (address: string, address1: string, address2: string, address3: string): Promise<Cid>

Proposes swapping 2 signers in the multisig It takes the following params: , , ,

Parameters:

  • address: string
  • address1: string
  • address2: string
  • address3: string

Returns:

Promise<Cid>

Source: index.d.ts, line 520, character 17