migrate
near-bindgen • Docs
near-sdk-js v2.0.0 / near-bindgen / migrate
Function: migrate()
migrate(
_empty
):DecoratorFunction
Tells the SDK to use this function as the migration function of the contract. The migration function will ignore te existing state.
Parameters
• _empty: EmptyParameterObject
An empty object.
Returns
DecoratorFunction
Defined in
Last updated