From f74fa7a07df39c42b6bf55d92645baf9491fed9b Mon Sep 17 00:00:00 2001 From: lthiery Date: Fri, 25 Oct 2024 18:08:37 +0000 Subject: [PATCH] idl-update: program-helium-entity-manager-0.3.1 --- idl/helium_entity_manager.json | 528 +--------------------- programs/helium-entity-manager/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 527 deletions(-) diff --git a/idl/helium_entity_manager.json b/idl/helium_entity_manager.json index da39a5a..c8a6d5b 100644 --- a/idl/helium_entity_manager.json +++ b/idl/helium_entity_manager.json @@ -1,5 +1,5 @@ { - "version": "0.2.11", + "version": "0.2.4", "name": "helium_entity_manager", "instructions": [ { @@ -2623,7 +2623,7 @@ }, { "name": "dataOnlyConfig", - "isMut": false, + "isMut": true, "isSigner": false, "pda": { "seeds": [ @@ -2996,312 +2996,6 @@ } ], "args": [] - }, - { - "name": "tempStandardizeEntity", - "accounts": [ - { - "name": "keyToAsset", - "isMut": false, - "isSigner": false - }, - { - "name": "merkleTree", - "isMut": true, - "isSigner": false - }, - { - "name": "maker", - "isMut": true, - "isSigner": false, - "isOptional": true - }, - { - "name": "dataOnlyConfig", - "isMut": false, - "isSigner": false - }, - { - "name": "treeAuthority", - "isMut": false, - "isSigner": false, - "pda": { - "seeds": [ - { - "kind": "account", - "type": "publicKey", - "path": "merkle_tree" - } - ], - "programId": { - "kind": "account", - "type": "publicKey", - "path": "bubblegum_program" - } - } - }, - { - "name": "authority", - "isMut": false, - "isSigner": true - }, - { - "name": "collection", - "isMut": false, - "isSigner": false - }, - { - "name": "collectionMetadata", - "isMut": true, - "isSigner": false, - "pda": { - "seeds": [ - { - "kind": "const", - "type": "string", - "value": "metadata" - }, - { - "kind": "account", - "type": "publicKey", - "path": "token_metadata_program" - }, - { - "kind": "account", - "type": "publicKey", - "account": "Mint", - "path": "collection" - } - ], - "programId": { - "kind": "account", - "type": "publicKey", - "path": "token_metadata_program" - } - } - }, - { - "name": "leafOwner", - "isMut": false, - "isSigner": false - }, - { - "name": "payer", - "isMut": false, - "isSigner": true - }, - { - "name": "logWrapper", - "isMut": false, - "isSigner": false - }, - { - "name": "compressionProgram", - "isMut": false, - "isSigner": false - }, - { - "name": "bubblegumProgram", - "isMut": false, - "isSigner": false - }, - { - "name": "tokenMetadataProgram", - "isMut": false, - "isSigner": false - }, - { - "name": "systemProgram", - "isMut": false, - "isSigner": false - } - ], - "args": [ - { - "name": "args", - "type": { - "defined": "TempStandardizeEntityArgs" - } - } - ] - }, - { - "name": "onboardDataOnlyMobileHotspotV0", - "accounts": [ - { - "name": "payer", - "isMut": true, - "isSigner": true - }, - { - "name": "dcFeePayer", - "isMut": true, - "isSigner": true - }, - { - "name": "mobileInfo", - "isMut": true, - "isSigner": false - }, - { - "name": "hotspotOwner", - "isMut": true, - "isSigner": true - }, - { - "name": "merkleTree", - "isMut": false, - "isSigner": false - }, - { - "name": "dcBurner", - "isMut": true, - "isSigner": false - }, - { - "name": "dntBurner", - "isMut": true, - "isSigner": false - }, - { - "name": "rewardableEntityConfig", - "isMut": false, - "isSigner": false, - "relations": [ - "sub_dao" - ] - }, - { - "name": "dataOnlyConfig", - "isMut": false, - "isSigner": false, - "pda": { - "seeds": [ - { - "kind": "const", - "type": "string", - "value": "data_only_config" - }, - { - "kind": "account", - "type": "publicKey", - "account": "DaoV0", - "path": "dao" - } - ] - }, - "relations": [ - "merkle_tree", - "dao" - ] - }, - { - "name": "dao", - "isMut": false, - "isSigner": false, - "relations": [ - "dc_mint" - ] - }, - { - "name": "keyToAsset", - "isMut": false, - "isSigner": false, - "relations": [ - "dao" - ] - }, - { - "name": "subDao", - "isMut": true, - "isSigner": false, - "relations": [ - "dao", - "dnt_mint" - ] - }, - { - "name": "dcMint", - "isMut": true, - "isSigner": false - }, - { - "name": "dntMint", - "isMut": true, - "isSigner": false - }, - { - "name": "dntPrice", - "isMut": false, - "isSigner": false - }, - { - "name": "dc", - "isMut": false, - "isSigner": false, - "pda": { - "seeds": [ - { - "kind": "const", - "type": "string", - "value": "dc" - }, - { - "kind": "account", - "type": "publicKey", - "account": "Mint", - "path": "dc_mint" - } - ], - "programId": { - "kind": "account", - "type": "publicKey", - "path": "data_credits_program" - } - }, - "relations": [ - "dc_mint" - ] - }, - { - "name": "compressionProgram", - "isMut": false, - "isSigner": false - }, - { - "name": "dataCreditsProgram", - "isMut": false, - "isSigner": false - }, - { - "name": "tokenProgram", - "isMut": false, - "isSigner": false - }, - { - "name": "associatedTokenProgram", - "isMut": false, - "isSigner": false - }, - { - "name": "systemProgram", - "isMut": false, - "isSigner": false - }, - { - "name": "heliumSubDaosProgram", - "isMut": false, - "isSigner": false - } - ], - "args": [ - { - "name": "args", - "type": { - "defined": "OnboardDataOnlyMobileHotspotArgsV0" - } - } - ] } ], "accounts": [ @@ -3587,14 +3281,6 @@ "type": { "defined": "MobileDeviceTypeV0" } - }, - { - "name": "deploymentInfo", - "type": { - "option": { - "defined": "MobileDeploymentInfoV0" - } - } } ] } @@ -3814,51 +3500,6 @@ ] } }, - { - "name": "OnboardDataOnlyMobileHotspotArgsV0", - "type": { - "kind": "struct", - "fields": [ - { - "name": "dataHash", - "type": { - "array": [ - "u8", - 32 - ] - } - }, - { - "name": "creatorHash", - "type": { - "array": [ - "u8", - 32 - ] - } - }, - { - "name": "root", - "type": { - "array": [ - "u8", - 32 - ] - } - }, - { - "name": "index", - "type": "u32" - }, - { - "name": "location", - "type": { - "option": "u64" - } - } - ] - } - }, { "name": "OnboardIotHotspotArgsV0", "type": { @@ -3963,14 +3604,6 @@ "type": { "defined": "MobileDeviceTypeV0" } - }, - { - "name": "deploymentInfo", - "type": { - "option": { - "defined": "MobileDeploymentInfoV0" - } - } } ] } @@ -4019,90 +3652,6 @@ ] } }, - { - "name": "MetadataArgs", - "type": { - "kind": "struct", - "fields": [ - { - "name": "name", - "docs": [ - "The name of the asset" - ], - "type": "string" - }, - { - "name": "symbol", - "docs": [ - "The symbol for the asset" - ], - "type": "string" - }, - { - "name": "uri", - "docs": [ - "URI pointing to JSON representing the asset" - ], - "type": "string" - }, - { - "name": "creators", - "type": { - "vec": { - "defined": "Creator" - } - } - } - ] - } - }, - { - "name": "Creator", - "type": { - "kind": "struct", - "fields": [ - { - "name": "address", - "type": "publicKey" - }, - { - "name": "verified", - "type": "bool" - }, - { - "name": "share", - "type": "u8" - } - ] - } - }, - { - "name": "TempStandardizeEntityArgs", - "type": { - "kind": "struct", - "fields": [ - { - "name": "root", - "type": { - "array": [ - "u8", - 32 - ] - } - }, - { - "name": "index", - "type": "u32" - }, - { - "name": "currentMetadata", - "type": { - "defined": "MetadataArgs" - } - } - ] - } - }, { "name": "UpdateIotInfoArgsV0", "type": { @@ -4237,14 +3786,6 @@ { "name": "index", "type": "u32" - }, - { - "name": "deploymentInfo", - "type": { - "option": { - "defined": "MobileDeploymentInfoV0" - } - } } ] } @@ -4334,22 +3875,6 @@ ] } }, - { - "name": "RadioInfoV0", - "type": { - "kind": "struct", - "fields": [ - { - "name": "radioId", - "type": "string" - }, - { - "name": "elevation", - "type": "i32" - } - ] - } - }, { "name": "MobileDeviceTypeV0", "type": { @@ -4363,9 +3888,6 @@ }, { "name": "WifiOutdoor" - }, - { - "name": "WifiDataOnly" } ] } @@ -4451,52 +3973,6 @@ } ] } - }, - { - "name": "MobileDeploymentInfoV0", - "type": { - "kind": "enum", - "variants": [ - { - "name": "WifiInfoV0", - "fields": [ - { - "name": "antenna", - "type": "u32" - }, - { - "name": "elevation", - "type": "i32" - }, - { - "name": "azimuth", - "type": "u16" - }, - { - "name": "mechanicalDownTilt", - "type": "u16" - }, - { - "name": "electricalDownTilt", - "type": "u16" - } - ] - }, - { - "name": "CbrsInfoV0", - "fields": [ - { - "name": "radioInfos", - "type": { - "vec": { - "defined": "RadioInfoV0" - } - } - } - ] - } - ] - } } ], "errors": [ diff --git a/programs/helium-entity-manager/Cargo.toml b/programs/helium-entity-manager/Cargo.toml index 00421f9..bd4913a 100644 --- a/programs/helium-entity-manager/Cargo.toml +++ b/programs/helium-entity-manager/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "helium-entity-manager" -version = "0.2.11" +version = "0.3.1" edition = "2021" authors = ["Louis Thiery "] license = "Apache-2.0"