class GetMultisigScriptHash extends NativeMethod {

    @Override
    public long getGas(Object[] parsedArguments, byte[] originalData) {
        Object[] keys = ((Object[]) parsedArguments[1]);

        if (keys == null || keys.length < 2) {
            return BASE_COST;
        }

        // Base cost is the cost for 2 keys (the minimum).
        // Then a fee is payed per additional key.
        return BASE_COST + (keys.length - 2) * COST_PER_EXTRA_KEY;
    }

    public  GetMultisigScriptHash(ExecutionEnvironment executionEnvironment);

}