@steerprotocol/curator-tools 1.4.0 → 1.5.0
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/README.md +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -58,9 +58,9 @@ Canonical overrides are stored on **Arbitrum One**, and the payload’s `chainId
|
|
|
58
58
|
- **Schema string**: `address vault,uint256 chainId,uint256 strategyTokenId,string manifestCid`
|
|
59
59
|
- **Semantics**: `chainId` is `targetChainId` (it may differ from `block.chainid`)
|
|
60
60
|
- **SchemaRegistry (Arbitrum One)**: `0xA310da9c5B885E7fb3fbA9D66E9Ba6Df512b78eB`
|
|
61
|
-
- **Resolver (Arbitrum One)**: `
|
|
61
|
+
- **Resolver (Arbitrum One)**: `0x6628d1Bf82F34de132d0e1c60DEB574C1352d5A7`
|
|
62
62
|
- **Schema revocable**: `true`
|
|
63
|
-
- **Schema UID**: `
|
|
63
|
+
- **Schema UID**: `0xf1a6a394d1f3dd832a15e5b750963d929812e2b74d2dcea68ddf9f75691f16bf`
|
|
64
64
|
- **Deprecated schema (no resolver)**: `0x62b656756a16bd3d2ef501cd9493c603fd90b050d6e9cfffc8e450639ce30a27` (registered with resolver `address(0)`, so it enforces no on-chain curator checks)
|
|
65
65
|
|
|
66
66
|
## User Flows
|
package/dist/index.d.mts
CHANGED
|
@@ -6,8 +6,8 @@ interface StrategyStoreConfig {
|
|
|
6
6
|
registryAddress?: string;
|
|
7
7
|
}
|
|
8
8
|
declare class StrategyStore {
|
|
9
|
-
static readonly ARBITRUM_ONE_RESOLVER_ADDRESS = "
|
|
10
|
-
static readonly ARBITRUM_ONE_CROSSCHAIN_SCHEMA_UID = "
|
|
9
|
+
static readonly ARBITRUM_ONE_RESOLVER_ADDRESS = "0x6628d1Bf82F34de132d0e1c60DEB574C1352d5A7";
|
|
10
|
+
static readonly ARBITRUM_ONE_CROSSCHAIN_SCHEMA_UID = "0xf1a6a394d1f3dd832a15e5b750963d929812e2b74d2dcea68ddf9f75691f16bf";
|
|
11
11
|
static encodeOverrideAttestationData(vault: string, targetChainId: number | bigint, strategyTokenId: bigint, manifestCid: string): string;
|
|
12
12
|
private resolver;
|
|
13
13
|
private registry?;
|
package/dist/index.mjs
CHANGED
|
@@ -15,8 +15,8 @@ var REGISTRY_ABI = [
|
|
|
15
15
|
"function getVaultDetails(address _address) view returns (tuple(uint8 state, uint256 tokenId, uint256 vaultID, string payloadIpfs, address vaultAddress, string beaconName))"
|
|
16
16
|
];
|
|
17
17
|
var StrategyStore = class _StrategyStore {
|
|
18
|
-
static ARBITRUM_ONE_RESOLVER_ADDRESS = "
|
|
19
|
-
static ARBITRUM_ONE_CROSSCHAIN_SCHEMA_UID = "
|
|
18
|
+
static ARBITRUM_ONE_RESOLVER_ADDRESS = "0x6628d1Bf82F34de132d0e1c60DEB574C1352d5A7";
|
|
19
|
+
static ARBITRUM_ONE_CROSSCHAIN_SCHEMA_UID = "0xf1a6a394d1f3dd832a15e5b750963d929812e2b74d2dcea68ddf9f75691f16bf";
|
|
20
20
|
static encodeOverrideAttestationData(vault, targetChainId, strategyTokenId, manifestCid) {
|
|
21
21
|
const validatedVault = AddressSchema.parse(vault);
|
|
22
22
|
return ethers.AbiCoder.defaultAbiCoder().encode(
|