import { AnyAction } from "redux" ; import { EthAddress } from "@joincivil/typescript-types" ; export enum contractAddressesActions { SET_CONTRACT_ADDRESS = "SET_CONTRACT_ADDRESS" } export const setContractAddress = ( contractAddressKey , contractAddressValue ) : AnyAction => { return { type : contractAddressesActions . SET_CONTRACT_ADDRESS , key : contractAddressKey , value : contractAddressValue , } ; } ;