{ "casper_contract_schema_version": 1, "toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)", "authors": [ "Jakub Płaskonka ", "Krzysztof Pobiarżyn ", "Maciej Zieliński " ], "repository": "https://github.com/odradev/odra", "homepage": null, "contract_name": "Cep18ClientContract", "contract_version": "1.2.0", "types": [], "errors": [], "entry_points": [ { "name": "check_total_supply", "description": "Calls total_supply method of the token contract at the given address.", "is_mutable": false, "arguments": [ { "name": "address", "description": null, "ty": "Key", "optional": false } ], "return_ty": "U256", "is_contract_context": true, "access": "public" }, { "name": "check_balance_of", "description": "Calls balance_of method of the token contract at the given address.", "is_mutable": false, "arguments": [ { "name": "address", "description": null, "ty": "Key", "optional": false }, { "name": "owner", "description": null, "ty": "Key", "optional": false } ], "return_ty": "U256", "is_contract_context": true, "access": "public" }, { "name": "check_allowance_of", "description": "Calls allowance method of the token contract at the given address.", "is_mutable": false, "arguments": [ { "name": "address", "description": null, "ty": "Key", "optional": false }, { "name": "owner", "description": null, "ty": "Key", "optional": false }, { "name": "spender", "description": null, "ty": "Key", "optional": false } ], "return_ty": "U256", "is_contract_context": true, "access": "public" }, { "name": "transfer_as_stored_contract", "description": "Calls transfer method of the token contract at the given address.", "is_mutable": false, "arguments": [ { "name": "address", "description": null, "ty": "Key", "optional": false }, { "name": "recipient", "description": null, "ty": "Key", "optional": false }, { "name": "amount", "description": null, "ty": "U256", "optional": false } ], "return_ty": "Unit", "is_contract_context": true, "access": "public" }, { "name": "transfer_from_as_stored_contract", "description": "Calls transfer_from method of the token contract at the given address.", "is_mutable": false, "arguments": [ { "name": "address", "description": null, "ty": "Key", "optional": false }, { "name": "owner", "description": null, "ty": "Key", "optional": false }, { "name": "recipient", "description": null, "ty": "Key", "optional": false }, { "name": "amount", "description": null, "ty": "U256", "optional": false } ], "return_ty": "Unit", "is_contract_context": true, "access": "public" }, { "name": "approve_as_stored_contract", "description": "Calls approve method of the token contract at the given address.", "is_mutable": false, "arguments": [ { "name": "address", "description": null, "ty": "Key", "optional": false }, { "name": "spender", "description": null, "ty": "Key", "optional": false }, { "name": "amount", "description": null, "ty": "U256", "optional": false } ], "return_ty": "Unit", "is_contract_context": true, "access": "public" } ], "events": [], "call": { "wasm_file_name": "Cep18ClientContract.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 } ] } }