From 06de52c9abe7014b5796f0e8db2dadf8eee23d74 Mon Sep 17 00:00:00 2001 From: Orland0x <37511817+Orland0x@users.noreply.github.com> Date: Thu, 26 May 2022 16:35:53 +0100 Subject: [PATCH] Delete contracts/starknet/interfaces directory --- .../starknet/interfaces/IAuthenticator.cairo | 7 ------- .../interfaces/IExecutionStrategy.cairo | 15 --------------- .../starknet/interfaces/IVotingStrategy.cairo | 17 ----------------- 3 files changed, 39 deletions(-) delete mode 100644 contracts/starknet/interfaces/IAuthenticator.cairo delete mode 100644 contracts/starknet/interfaces/IExecutionStrategy.cairo delete mode 100644 contracts/starknet/interfaces/IVotingStrategy.cairo diff --git a/contracts/starknet/interfaces/IAuthenticator.cairo b/contracts/starknet/interfaces/IAuthenticator.cairo deleted file mode 100644 index 819cf91e..00000000 --- a/contracts/starknet/interfaces/IAuthenticator.cairo +++ /dev/null @@ -1,7 +0,0 @@ -%lang starknet - -@contract_interface -namespace IAuthenticator: - func execute(target : felt, function_selector : felt, calldata_len : felt, calldata : felt*): - end -end diff --git a/contracts/starknet/interfaces/IExecutionStrategy.cairo b/contracts/starknet/interfaces/IExecutionStrategy.cairo deleted file mode 100644 index 01f66eaa..00000000 --- a/contracts/starknet/interfaces/IExecutionStrategy.cairo +++ /dev/null @@ -1,15 +0,0 @@ -%lang starknet - -from contracts.starknet.lib.eth_address import EthAddress -from starkware.cairo.common.uint256 import Uint256 - -@contract_interface -namespace IExecutionStrategy: - func execute( - proposal_outcome : felt, - execution_hash : Uint256, - execution_params_len : felt, - execution_params : felt*, - ): - end -end diff --git a/contracts/starknet/interfaces/IVotingStrategy.cairo b/contracts/starknet/interfaces/IVotingStrategy.cairo deleted file mode 100644 index 4b352b66..00000000 --- a/contracts/starknet/interfaces/IVotingStrategy.cairo +++ /dev/null @@ -1,17 +0,0 @@ -%lang starknet - -from contracts.starknet.lib.eth_address import EthAddress -from starkware.cairo.common.uint256 import Uint256 - -@contract_interface -namespace IVotingStrategy: - func get_voting_power( - block : felt, - voter_address : EthAddress, - params_len : felt, - params : felt*, - user_params_len : felt, - user_params : felt*, - ) -> (voting_power : Uint256): - end -end