@pafi-dev/issuer 0.12.3 → 0.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4653,20 +4653,20 @@ var IssuerStateValidator = class _IssuerStateValidator {
|
|
|
4653
4653
|
}
|
|
4654
4654
|
async fetchIssuerState(tokenAddr) {
|
|
4655
4655
|
const issuerAddr = await this.getIssuerAddressForPointToken(tokenAddr);
|
|
4656
|
-
const
|
|
4656
|
+
const issuerStruct = await this.provider.readContract({
|
|
4657
4657
|
address: this.registryAddress,
|
|
4658
|
-
abi: import_core20.
|
|
4658
|
+
abi: import_core20.issuerRegistryAbi,
|
|
4659
4659
|
functionName: "getIssuer",
|
|
4660
4660
|
args: [issuerAddr]
|
|
4661
4661
|
});
|
|
4662
4662
|
const issuer = {
|
|
4663
|
-
issuerAddress:
|
|
4664
|
-
signerAddress:
|
|
4665
|
-
name:
|
|
4666
|
-
symbol:
|
|
4667
|
-
active:
|
|
4668
|
-
pointToken:
|
|
4669
|
-
mintingOracle:
|
|
4663
|
+
issuerAddress: issuerStruct.issuerAddress,
|
|
4664
|
+
signerAddress: issuerStruct.signerAddress,
|
|
4665
|
+
name: issuerStruct.name,
|
|
4666
|
+
symbol: issuerStruct.symbol,
|
|
4667
|
+
active: issuerStruct.active,
|
|
4668
|
+
pointToken: issuerStruct.pointToken,
|
|
4669
|
+
mintingOracle: issuerStruct.mintingOracle
|
|
4670
4670
|
};
|
|
4671
4671
|
const [tokenCap, totalSupply] = await Promise.all([
|
|
4672
4672
|
(0, import_core20.getTokenCap)(this.provider, issuer.mintingOracle, tokenAddr),
|