From bd36cceba2066c3a296b055f12f0c51a54197fe8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 13 Sep 2024 16:56:10 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- precompiles/metadata/precompiles-creditcoin3-devnet.json | 2 +- precompiles/metadata/precompiles-creditcoin3-testnet.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/precompiles/metadata/precompiles-creditcoin3-devnet.json b/precompiles/metadata/precompiles-creditcoin3-devnet.json index 2145ad7d..efdd3c42 100644 --- a/precompiles/metadata/precompiles-creditcoin3-devnet.json +++ b/precompiles/metadata/precompiles-creditcoin3-devnet.json @@ -7,4 +7,4 @@ "source": "// SPDX-License-Identifier: GPL-3.0-only\npragma solidity >=0.8.3;\n\n/// @dev The Deposit precompile address\naddress constant SUBSTRATE_TRANSFER_ADDRESS = 0x0000000000000000000000000000000000000Fd1;\n\nSubstrateTransfer constant SUBSTRATE_TRANSFER_ADRRESS = SubstrateTransfer(SUBSTRATE_TRANSFER_ADDRESS);\n\n/// @title SubstrateTransfer interface\ninterface SubstrateTransfer {\n /// @dev Event emitted when a transfer has been performed.\n /// @param destination The Substrate address receiving the tokens.\n /// @param amount The amount of tokens transferred.\n event Transfer(address indexed from, bytes32 destination, uint256 indexed amount);\n\n /// @dev Function to transfer tokens to a Substrate address.\n /// @param destination The Substrate address receiving the tokens.\n /// @param amount The amount of tokens to transfer.\n function transfer_substrate(bytes32 destination, uint256 amount) external;\n}", "abi": "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"destination\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"destination\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer_substrate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]" } -] \ No newline at end of file +] diff --git a/precompiles/metadata/precompiles-creditcoin3-testnet.json b/precompiles/metadata/precompiles-creditcoin3-testnet.json index 2145ad7d..efdd3c42 100644 --- a/precompiles/metadata/precompiles-creditcoin3-testnet.json +++ b/precompiles/metadata/precompiles-creditcoin3-testnet.json @@ -7,4 +7,4 @@ "source": "// SPDX-License-Identifier: GPL-3.0-only\npragma solidity >=0.8.3;\n\n/// @dev The Deposit precompile address\naddress constant SUBSTRATE_TRANSFER_ADDRESS = 0x0000000000000000000000000000000000000Fd1;\n\nSubstrateTransfer constant SUBSTRATE_TRANSFER_ADRRESS = SubstrateTransfer(SUBSTRATE_TRANSFER_ADDRESS);\n\n/// @title SubstrateTransfer interface\ninterface SubstrateTransfer {\n /// @dev Event emitted when a transfer has been performed.\n /// @param destination The Substrate address receiving the tokens.\n /// @param amount The amount of tokens transferred.\n event Transfer(address indexed from, bytes32 destination, uint256 indexed amount);\n\n /// @dev Function to transfer tokens to a Substrate address.\n /// @param destination The Substrate address receiving the tokens.\n /// @param amount The amount of tokens to transfer.\n function transfer_substrate(bytes32 destination, uint256 amount) external;\n}", "abi": "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"destination\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"destination\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer_substrate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]" } -] \ No newline at end of file +]