Skip to content

Latest commit

 

History

History
77 lines (39 loc) · 1.24 KB

MasaSBTBase.md

File metadata and controls

77 lines (39 loc) · 1.24 KB

Masa SDK v4.2.0Docs


Masa SDK v4.2.0 / MasaSBTBase

Class: MasaSBTBase

Extends

  • MasaBase

Constructors

new MasaSBTBase()

new MasaSBTBase(masa): MasaSBTBase

Parameters

masa: MasaInterface

Returns

MasaSBTBase

Inherited from

MasaBase.constructor

Properties

masa

protected readonly masa: MasaInterface

Inherited from

MasaBase.masa

Methods

attach()

attach<Contract>(contract): MasaSBTWrapper<Contract>

Type Parameters

Contract extends MasaSBT

Parameters

contract: Contract

Returns

MasaSBTWrapper<Contract>


connect()

connect<Contract>(address, factory): Promise<MasaSBTWrapper<Contract>>

Type Parameters

Contract extends MasaSBT

Parameters

address: string

factory: ContractFactory = MasaSBT__factory

Returns

Promise<MasaSBTWrapper<Contract>>