generated from PolymeshAssociation/typescript-boilerplate
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: msdk-313 refactor transfers namespace
The following breaking changes are from earlier commits BREAKING CHANGE: - `SigningKey` interface renamed to `SecondaryKey`: - `getSigningKeys()` and `removeSigningKeys()` in `CurrentIdentity` renamed to `getSecondaryKeys()` and `removeSecondaryKeys()` - `api.registerIdentity()` arguments changed from `{ targetAccount: string | Account; expiry?: Date; signingKeys?: SigningKey[] }` to `{ targetAccount: string | Account; secondaryKeys?: SecondaryKey[] }` - `getMasterKey()` in `Identity` renamed to `getPrimaryKey` - `AttestMasterKeyRotation` and `RotateMasterKey` in the `AuthorizationType` enum renamed to `AttestPrimaryKeyRotation` and `RotatePrimaryKey` respectively - `Rule` interface renamed to `Requirement` - `RuleCompliance` interface renamed to `RequirementCompliance` (`rules` key changed to `requirements`) - `rules` namespace in `securityToken.compliance` renamed to `requirements` - `requirements.set()` arguments changed from `{ rules: Condition[][] }` to `{ requirements: Condition[][] }` - `checkMint()` removed from `securityToken.compliance.requirements` - `canMint()` and `transfer()` removed from `securityToken.transfers` - `treasuryIdentity` in `SecurityTokenDetails` renamed to `primaryIssuanceAgent` - `api.governance` namespace deleted, and all governance/proposal related classes/functionality disabled - `securityToken.issuance.issue()` arguments changed from `{ issuanceData: IssuanceData }` to `{ amount: BigNumber }` - `tickerReservation.createSecurityToken()` arguments no longer accept a `treasury` parameter. The treasury DID is now always the issuer by default - Jurisdiction claim interface changed to `{ type: ClaimType.Jurisdiction; code: CountryCode; scope: Scope }`
- Loading branch information
1 parent
c2797f6
commit ec725b1
Showing
7 changed files
with
171 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.