{ "casper_contract_schema_version": 1, "toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)", "authors": [ "Jakub Płaskonka ", "Krzysztof Pobiarżyn ", "Maciej Zieliński " ], "repository": "https://github.com/odradev/odra", "homepage": null, "contract_name": "MockContract", "contract_version": "1.0.0", "types": [], "errors": [], "entry_points": [ { "name": "set_address", "description": "", "is_mutable": true, "arguments": [ { "name": "nft_contract", "description": null, "ty": "Key", "optional": false } ], "return_ty": "Unit", "is_contract_context": true, "access": "public" }, { "name": "mint", "description": "", "is_mutable": true, "arguments": [ { "name": "token_metadata", "description": null, "ty": "String", "optional": false }, { "name": "is_reverse_lookup_enabled", "description": null, "ty": "Bool", "optional": false } ], "return_ty": { "Tuple3": [ "String", "Key", "String" ] }, "is_contract_context": true, "access": "public" }, { "name": "mint_with_hash", "description": "", "is_mutable": true, "arguments": [ { "name": "token_metadata", "description": null, "ty": "String", "optional": false }, { "name": "token_hash", "description": null, "ty": "String", "optional": false } ], "return_ty": { "Tuple3": [ "String", "Key", "String" ] }, "is_contract_context": true, "access": "public" }, { "name": "burn", "description": "", "is_mutable": true, "arguments": [ { "name": "token_id", "description": null, "ty": "U64", "optional": false } ], "return_ty": "Unit", "is_contract_context": true, "access": "public" }, { "name": "mint_for", "description": "", "is_mutable": true, "arguments": [ { "name": "token_owner", "description": null, "ty": "Key", "optional": false }, { "name": "token_metadata", "description": null, "ty": "String", "optional": false } ], "return_ty": { "Tuple3": [ "String", "Key", "String" ] }, "is_contract_context": true, "access": "public" }, { "name": "transfer", "description": "", "is_mutable": true, "arguments": [ { "name": "token_id", "description": null, "ty": "U64", "optional": false }, { "name": "target", "description": null, "ty": "Key", "optional": false } ], "return_ty": { "Tuple2": [ "String", "Key" ] }, "is_contract_context": true, "access": "public" }, { "name": "transfer_from", "description": "", "is_mutable": true, "arguments": [ { "name": "token_id", "description": null, "ty": "U64", "optional": false }, { "name": "source", "description": null, "ty": "Key", "optional": false }, { "name": "target", "description": null, "ty": "Key", "optional": false } ], "return_ty": { "Tuple2": [ "String", "Key" ] }, "is_contract_context": true, "access": "public" }, { "name": "approve", "description": "", "is_mutable": true, "arguments": [ { "name": "spender", "description": null, "ty": "Key", "optional": false }, { "name": "token_id", "description": null, "ty": "U64", "optional": false } ], "return_ty": "Unit", "is_contract_context": true, "access": "public" }, { "name": "revoke", "description": "", "is_mutable": true, "arguments": [ { "name": "token_id", "description": null, "ty": "U64", "optional": false } ], "return_ty": "Unit", "is_contract_context": true, "access": "public" } ], "events": [], "call": { "wasm_file_name": "MockContract.wasm", "description": null, "arguments": [ { "name": "odra_cfg_package_hash_key_name", "description": "The arg name for the package hash key name.", "ty": "String", "optional": false }, { "name": "odra_cfg_allow_key_override", "description": "The arg name for the allow key override.", "ty": "Bool", "optional": false }, { "name": "odra_cfg_is_upgradable", "description": "The arg name for the contract upgradeability setting.", "ty": "Bool", "optional": false } ] } }