Developer Guide
Update Token Contract
Update Token Contract Overview
This guide gives a step-by-step process to update a Token Contract with new functions or existing functions. The guide will cover the following steps:
- Creating new PackageDeploying new PackagePublishing the Package to Updates RepositoryUpdating the Token Contract with new Package
- 1
Create New Package
A New Package will be a smart contract which inherits an IPackage interface. The package will have the new functions or updated functions. You can define the following functions in the new package; these functions update the _methodImplementation mapping to store the package address against the function signature.
`applyUpdateToSpecificVersion` - `version` - Specified version (eg. "1.0.1") ```solidity function applyUpdateToSpecificVersion(string calldata version) external; ````applyUpdate` ```solidity function applyUpdate() external; ```