SYMBOL INDEX (656 symbols across 103 files) FILE: conftest_ganache.py function setup_all (line 40) | def setup_all(request, config, ocean_token): function config (line 71) | def config(): function publisher_ocean (line 76) | def publisher_ocean(): function basic_asset (line 81) | def basic_asset(publisher_ocean, publisher_wallet): function consumer_ocean (line 96) | def consumer_ocean(): function publisher_wallet (line 101) | def publisher_wallet(): function consumer_wallet (line 106) | def consumer_wallet(): function another_consumer_wallet (line 111) | def another_consumer_wallet(): function factory_deployer_wallet (line 116) | def factory_deployer_wallet(config): function ocean_address (line 121) | def ocean_address(config) -> str: function ocean_token (line 126) | def ocean_token(config, ocean_address) -> Datatoken1: function factory_router (line 131) | def factory_router(config): function data_nft_factory (line 136) | def data_nft_factory(config): function provider_wallet (line 141) | def provider_wallet(): function file1 (line 146) | def file1(): function file2 (line 151) | def file2(): function file3 (line 156) | def file3(): function FRE (line 161) | def FRE(config) -> FixedRateExchange: function data_nft (line 166) | def data_nft(config, publisher_wallet) -> DataNFT: function data_NFT_and_DT (line 171) | def data_NFT_and_DT(config, publisher_wallet) -> Tuple[DataNFT, Datatoke... function DT (line 176) | def DT(data_NFT_and_DT) -> Datatoken1: function OCEAN (line 183) | def OCEAN(ocean_token) -> Datatoken1: function alice (line 188) | def alice(publisher_wallet): function bob (line 193) | def bob(consumer_wallet): function carlos (line 198) | def carlos(): function dan (line 203) | def dan(): FILE: ocean_lib/agreements/consumable.py class ConsumableCodes (line 8) | class ConsumableCodes: class MalformedCredential (line 26) | class MalformedCredential(Exception): class AssetNotConsumable (line 30) | class AssetNotConsumable(Exception): method __init__ (line 32) | def __init__(self, consumable_code: int) -> None: FILE: ocean_lib/agreements/service_types.py class ServiceTypes (line 8) | class ServiceTypes: class ServiceTypesNames (line 16) | class ServiceTypesNames: FILE: ocean_lib/aquarius/aquarius.py class Aquarius (line 23) | class Aquarius: method __init__ (line 27) | def __init__(self, aquarius_url: str) -> None: method get_instance (line 54) | def get_instance(cls, metadata_cache_uri: str) -> "Aquarius": method get_ddo (line 58) | def get_ddo(self, did: str) -> Optional[DDO]: method ddo_exists (line 70) | def ddo_exists(self, did: str) -> bool: method get_ddo_metadata (line 76) | def get_ddo_metadata(self, did: str) -> dict: method query_search (line 85) | def query_search(self, search_query: dict) -> list: method validate_ddo (line 112) | def validate_ddo(self, ddo: DDO) -> Tuple[bool, Union[list, dict]]: method wait_for_ddo (line 133) | def wait_for_ddo(self, did: str, timeout=60): method wait_for_ddo_update (line 148) | def wait_for_ddo_update(self, ddo: DDO, tx: str): FILE: ocean_lib/aquarius/test/test_aquarius.py function test_init (line 13) | def test_init(): function test_aqua_functions_for_single_ddo (line 20) | def test_aqua_functions_for_single_ddo(publisher_ocean, publisher_wallet... function test_invalid_search_query (line 44) | def test_invalid_search_query(): function test_empty_responses (line 53) | def test_empty_responses(): FILE: ocean_lib/assets/asset_downloader.py function download_asset_files (line 21) | def download_asset_files( function is_consumable (line 87) | def is_consumable( FILE: ocean_lib/assets/credentials.py class AddressCredentialMixin (line 12) | class AddressCredentialMixin: method get_addresses_of_class (line 14) | def get_addresses_of_class(self, access_class: str = "allow") -> list: method requires_credential (line 26) | def requires_credential(self) -> bool: method validate_access (line 34) | def validate_access(self, credential: Optional[dict] = None) -> int: method add_address_to_access_class (line 53) | def add_address_to_access_class( method remove_address_from_access_class (line 79) | def remove_address_from_access_class( method get_address_entry_of_class (line 102) | def get_address_entry_of_class(self, access_class: str = "allow") -> O... function simplify_credential_to_address (line 110) | def simplify_credential_to_address(credential: Optional[dict]) -> Option... FILE: ocean_lib/assets/ddo.py class DDO (line 19) | class DDO(AddressCredentialMixin): method __init__ (line 23) | def __init__( method requires_address_credential (line 52) | def requires_address_credential(self) -> bool: method allowed_addresses (line 58) | def allowed_addresses(self) -> list: method denied_addresses (line 64) | def denied_addresses(self) -> list: method add_address_to_allow_list (line 69) | def add_address_to_allow_list(self, address: str) -> None: method add_address_to_deny_list (line 74) | def add_address_to_deny_list(self, address: str) -> None: method remove_address_from_allow_list (line 79) | def remove_address_from_allow_list(self, address: str) -> None: method remove_address_from_deny_list (line 84) | def remove_address_from_deny_list(self, address: str) -> None: method from_dict (line 90) | def from_dict(cls, dictionary: dict) -> "DDO": method as_dictionary (line 120) | def as_dictionary(self) -> dict: method add_service (line 149) | def add_service(self, service: Service) -> None: method create_compute_service (line 163) | def create_compute_service( method get_service_by_id (line 193) | def get_service_by_id(self, service_id: str) -> Service: method get_service_by_index (line 201) | def get_service_by_index(self, service_index: int) -> Service: method get_index_of_service (line 209) | def get_index_of_service(self, service: Service) -> int: method generate_trusted_algorithms (line 222) | def generate_trusted_algorithms(self) -> dict: method is_disabled (line 238) | def is_disabled(self) -> bool: class UnavailableDDO (line 242) | class UnavailableDDO(DDO): FILE: ocean_lib/assets/test/test_asset_downloader.py function test_is_consumable (line 23) | def test_is_consumable(): function test_ocean_assets_download_failure (line 47) | def test_ocean_assets_download_failure(publisher_wallet): function test_invalid_provider_uri (line 67) | def test_invalid_provider_uri(publisher_wallet): function test_invalid_state (line 84) | def test_invalid_state(publisher_wallet): function test_ocean_assets_download_indexes (line 111) | def test_ocean_assets_download_indexes(publisher_wallet): function test_ocean_assets_download_destination_file (line 141) | def test_ocean_assets_download_destination_file( FILE: ocean_lib/assets/test/test_ddo.py function test_ddo_utils (line 19) | def test_ddo_utils(): function test_add_service (line 125) | def test_add_service(): function test_get_service_by_id (line 203) | def test_get_service_by_id(): function test_credentials (line 220) | def test_credentials(): function test_credential_simplification (line 271) | def test_credential_simplification(): function test_is_disabled (line 281) | def test_is_disabled(): FILE: ocean_lib/data_provider/base.py class DataServiceProviderBase (line 29) | class DataServiceProviderBase: method get_http_client (line 37) | def get_http_client() -> Session: method set_http_client (line 43) | def set_http_client(http_client: Session) -> None: method sign_message (line 49) | def sign_message(wallet, msg: str, provider_uri: str) -> Tuple[str, str]: method get_url (line 79) | def get_url(config_dict: dict) -> str: method get_service_endpoints (line 89) | def get_service_endpoints(provider_uri: str) -> Dict[str, List[str]]: method get_c2d_environments (line 101) | def get_c2d_environments(provider_uri: str, chain_id: int) -> Optional... method get_provider_address (line 127) | def get_provider_address(provider_uri: str, chain_id: int) -> Optional... method get_root_uri (line 150) | def get_root_uri(service_endpoint: str) -> str: method is_valid_provider (line 190) | def is_valid_provider(provider_uri: str) -> bool: method build_endpoint (line 200) | def build_endpoint( method write_file (line 218) | def write_file( method _validate_content_disposition (line 241) | def _validate_content_disposition(header: str) -> bool: method _get_file_name (line 247) | def _get_file_name(response: Response) -> Optional[str]: method _http_method (line 267) | def _http_method(method: str, *args, **kwargs) -> Optional[Union[Mock,... method check_response (line 280) | def check_response( function urljoin (line 317) | def urljoin(*args) -> str: function _remove_slash (line 323) | def _remove_slash(path: str) -> str: FILE: ocean_lib/data_provider/data_encryptor.py class DataEncryptor (line 20) | class DataEncryptor(DataServiceProviderBase): method encrypt (line 25) | def encrypt( FILE: ocean_lib/data_provider/data_service_provider.py class DataServiceProvider (line 26) | class DataServiceProvider(DataServiceProviderBase): method initialize (line 39) | def initialize( method initialize_compute (line 76) | def initialize_compute( method download (line 124) | def download( method start_compute_job (line 182) | def start_compute_job( method stop_compute_job (line 258) | def stop_compute_job( method delete_compute_job (line 282) | def delete_compute_job( method compute_job_status (line 306) | def compute_job_status( method compute_job_result (line 331) | def compute_job_result( method compute_job_result_logs (line 378) | def compute_job_result_logs( method _send_compute_request (line 412) | def _send_compute_request( method _prepare_compute_payload (line 450) | def _prepare_compute_payload( method check_single_file_info (line 524) | def check_single_file_info(url_object: dict, provider_uri: str) -> bool: method check_asset_file_info (line 535) | def check_asset_file_info( FILE: ocean_lib/data_provider/fileinfo_provider.py class FileInfoProvider (line 19) | class FileInfoProvider(DataServiceProviderBase): method fileinfo (line 32) | def fileinfo( FILE: ocean_lib/data_provider/test/test_base.py function test_validate_content_disposition (line 10) | def test_validate_content_disposition(): function test_get_file_name (line 20) | def test_get_file_name(caplog): FILE: ocean_lib/data_provider/test/test_data_service_provider.py function with_evil_client (line 39) | def with_evil_client(): function with_nice_client (line 47) | def with_nice_client(): function with_empty_client (line 55) | def with_empty_client(): function test_set_http_client (line 62) | def test_set_http_client(with_nice_client): function test_initialize_fails (line 68) | def test_initialize_fails(): function test_start_compute_job_fails_empty (line 102) | def test_start_compute_job_fails_empty(consumer_wallet): function test_send_compute_request_failure (line 139) | def test_send_compute_request_failure(with_evil_client, provider_wallet): function test_compute_job_result_fails (line 148) | def test_compute_job_result_fails(provider_wallet): function test_delete_job_result (line 167) | def test_delete_job_result(provider_wallet): function test_encrypt (line 193) | def test_encrypt(provider_wallet, file1, file2): function test_fileinfo_and_initialize (line 226) | def test_fileinfo_and_initialize(publisher_wallet, publisher_ocean, ocea... function test_invalid_file_name (line 260) | def test_invalid_file_name(): function test_expose_endpoints (line 268) | def test_expose_endpoints(): function test_c2d_environments (line 280) | def test_c2d_environments(): function test_provider_address (line 289) | def test_provider_address(): function test_get_root_uri (line 299) | def test_get_root_uri(): function test_build_endpoint (line 344) | def test_build_endpoint(): function test_build_specific_endpoints (line 369) | def test_build_specific_endpoints(): function test_check_single_file_info (line 405) | def test_check_single_file_info(): function test_encrypt_failure (line 417) | def test_encrypt_failure(): function test_fileinfo_failure (line 435) | def test_fileinfo_failure(): function test_initialize_failure (line 457) | def test_initialize_failure(): function test_initialize_compute_failure (line 479) | def test_initialize_compute_failure(): function test_job_result_failure (line 522) | def test_job_result_failure(consumer_wallet): function test_check_asset_failure (line 538) | def test_check_asset_failure(): FILE: ocean_lib/example_config.py function get_config_dict (line 60) | def get_config_dict(network_url: Optional[str] = None) -> dict: function get_web3 (line 104) | def get_web3(network_url: str) -> Web3: FILE: ocean_lib/exceptions.py class OceanEncryptAssetUrlsError (line 7) | class OceanEncryptAssetUrlsError(Exception): class InsufficientBalance (line 11) | class InsufficientBalance(Exception): class AquariusError (line 15) | class AquariusError(Exception): class VerifyTxFailed (line 19) | class VerifyTxFailed(Exception): class TransactionFailed (line 23) | class TransactionFailed(Exception): class DataProviderException (line 27) | class DataProviderException(Exception): FILE: ocean_lib/http_requests/requests_session.py class TimeoutHTTPAdapter (line 11) | class TimeoutHTTPAdapter(HTTPAdapter): method __init__ (line 12) | def __init__(self, *args, **kwargs): method send (line 19) | def send(self, request, **kwargs): function get_requests_session (line 26) | def get_requests_session() -> Session: FILE: ocean_lib/models/compute_input.py class ComputeInput (line 14) | class ComputeInput: method __init__ (line 16) | def __init__( method as_dictionary (line 47) | def as_dictionary(self) -> Dict[str, Union[str, Dict]]: FILE: ocean_lib/models/data_nft.py class DataNFTPermissions (line 262) | class DataNFTPermissions(IntEnum): class MetadataState (line 269) | class MetadataState(IntEnum): class Flags (line 277) | class Flags(IntFlag): method to_byte (line 282) | def to_byte(self): class DataNFT (line 287) | class DataNFT(ContractBase): method create_datatoken (line 290) | def create_datatoken(self, tx_dict, *args, **kwargs) -> DatatokenBase: method calculate_did (line 295) | def calculate_did(self): method set_data (line 299) | def set_data(self, field_label: str, field_value: str, tx_dict: dict): method get_data (line 306) | def get_data(self, field_label: str) -> str: class DataNFTArguments (line 314) | class DataNFTArguments: method __init__ (line 315) | def __init__( method get_default_token_uri (line 345) | def get_default_token_uri(self): method deploy_contract (line 357) | def deploy_contract(self, config_dict, tx_dict) -> DataNFT: FILE: ocean_lib/models/data_nft_factory.py class DataNFTFactoryContract (line 71) | class DataNFTFactoryContract(ERC721TokenFactoryBase): method verify_nft (line 75) | def verify_nft(self, nft_address: str) -> bool: method create (line 84) | def create(self, tx_dict, *args, **kwargs): method start_multiple_token_order (line 90) | def start_multiple_token_order(self, orders: List[OrderData], tx_dict:... method reuse_multiple_token_order (line 121) | def reuse_multiple_token_order( method create_with_erc20 (line 135) | def create_with_erc20( method create_with_erc20_and_fixed_rate (line 189) | def create_with_erc20_and_fixed_rate( method create_with_erc20_and_dispenser (line 257) | def create_with_erc20_and_dispenser( method create_with_metadata (line 321) | def create_with_metadata( method search_exchange_by_datatoken (line 364) | def search_exchange_by_datatoken( method get_token_address (line 384) | def get_token_address(self, receipt): method check_datatoken (line 391) | def check_datatoken(self, datatoken_address: str) -> bool: method check_nft (line 395) | def check_nft(self, nft_address: str) -> bool: FILE: ocean_lib/models/datatoken1.py class Datatoken1 (line 194) | class Datatoken1(DatatokenBase): method dispense_and_order (line 204) | def dispense_and_order( method buy_DT_and_order (line 247) | def buy_DT_and_order( FILE: ocean_lib/models/datatoken2.py class Datatoken2 (line 25) | class Datatoken2(DatatokenBase): method buy_DT_and_order (line 29) | def buy_DT_and_order( method dispense_and_order (line 87) | def dispense_and_order( FILE: ocean_lib/models/datatoken_base.py class TokenFeeInfo (line 32) | class TokenFeeInfo: method __init__ (line 33) | def __init__( method to_tuple (line 46) | def to_tuple(self): method from_tuple (line 50) | def from_tuple(cls, tup): method __str__ (line 54) | def __str__(self): class DatatokenArguments (line 64) | class DatatokenArguments: method __init__ (line 65) | def __init__( method create_datatoken (line 97) | def create_datatoken(self, data_nft, tx_dict, with_services=False): class DatatokenRoles (line 151) | class DatatokenRoles(IntEnum): class DatatokenBase (line 156) | class DatatokenBase(ABC, ContractBase): method get_typed (line 167) | def get_typed(config, address): method start_order (line 181) | def start_order( method reuse_order (line 210) | def reuse_order( method get_start_order_logs (line 232) | def get_start_order_logs( method create_exchange (line 269) | def create_exchange( method get_exchanges (line 313) | def get_exchanges(self, only_active=True) -> list: method _FRE (line 331) | def _FRE(self): method create_dispenser (line 343) | def create_dispenser(self, tx_dict: dict, *args, **kwargs): method get_dispensers (line 370) | def get_dispensers(self, only_active=True) -> list: method dispense (line 385) | def dispense(self, amount: Union[int, str], tx_dict: dict): method dispenser_status (line 404) | def dispenser_status(self): method _ocean_dispenser (line 413) | def _ocean_dispenser(self): method build_access_service (line 422) | def build_access_service( method get_publish_market_order_fees (line 440) | def get_publish_market_order_fees(self): method get_from_pricing_schema_and_order (line 443) | def get_from_pricing_schema_and_order(self, *args, **kwargs): class MockERC20 (line 496) | class MockERC20(DatatokenBase): method getId (line 499) | def getId(self): class MockOcean (line 503) | class MockOcean(DatatokenBase): method getId (line 506) | def getId(self): FILE: ocean_lib/models/df/df_rewards.py class DFRewards (line 8) | class DFRewards(ContractBase): FILE: ocean_lib/models/df/df_strategy_v1.py class DFStrategyV1 (line 8) | class DFStrategyV1(ContractBase): FILE: ocean_lib/models/df/test/conftest.py function ocean (line 11) | def ocean(publisher_ocean): FILE: ocean_lib/models/df/test/test_df_rewards.py function test1 (line 9) | def test1(ocean): FILE: ocean_lib/models/df/test/test_df_strategy_v1.py function test1 (line 9) | def test1(ocean): FILE: ocean_lib/models/dispenser.py class Dispenser (line 62) | class Dispenser(ContractBase): class DispenserArguments (line 66) | class DispenserArguments: method __init__ (line 67) | def __init__( method to_tuple (line 79) | def to_tuple(self, config_dict): class DispenserStatus (line 90) | class DispenserStatus: method __init__ (line 93) | def __init__(self, status_tup): method __str__ (line 109) | def __str__(self): function _strWithWei (line 127) | def _strWithWei(x_wei: int) -> str: FILE: ocean_lib/models/erc721_token_factory_base.py class ERC721TokenFactoryBase (line 10) | class ERC721TokenFactoryBase(ABC, ContractBase): FILE: ocean_lib/models/factory_router.py class FactoryRouter (line 8) | class FactoryRouter(ContractBase): FILE: ocean_lib/models/fixed_rate_exchange.py class ExchangeArguments (line 18) | class ExchangeArguments: method __init__ (line 19) | def __init__( method to_tuple (line 39) | def to_tuple(self, config_dict, tx_dict, dt_decimals=None): class ExchangeDetails (line 139) | class ExchangeDetails: method __init__ (line 140) | def __init__(self, details_tup): method __str__ (line 160) | def __str__(self): class ExchangeFeeInfo (line 180) | class ExchangeFeeInfo: method __init__ (line 181) | def __init__(self, fees_tup): method __str__ (line 194) | def __str__(self): class BtNeeded (line 211) | class BtNeeded: method __init__ (line 212) | def __init__(self, tup): class BtReceived (line 220) | class BtReceived: method __init__ (line 221) | def __init__(self, tup): class FixedRateExchange (line 229) | class FixedRateExchange(ContractBase): method get_opc_collector (line 232) | def get_opc_collector(self) -> str: class OneExchange (line 240) | class OneExchange: method __init__ (line 252) | def __init__(self, FRE: FixedRateExchange, exchange_id): method FRE (line 257) | def FRE(self): method exchange_id (line 261) | def exchange_id(self): method address (line 265) | def address(self): method BT_needed (line 273) | def BT_needed( method BT_received (line 290) | def BT_received( method buy_DT (line 307) | def buy_DT( method sell_DT (line 350) | def sell_DT( method collect_BT (line 382) | def collect_BT(self, amount: Union[int, str], tx_dict: dict): method collect_DT (line 397) | def collect_DT(self, amount: Union[int, str], tx_dict: dict): method collect_publish_market_fee (line 412) | def collect_publish_market_fee(self, tx_dict: dict): method collect_opc_fee (line 425) | def collect_opc_fee(self, tx_dict: dict): method update_publish_market_fee_collector (line 438) | def update_publish_market_fee_collector(self, new_addr: str, tx_dict): method update_publish_market_fee (line 443) | def update_publish_market_fee(self, new_amt: Union[str, int], tx_dict): method get_publish_market_fee (line 448) | def get_publish_market_fee(self) -> int: method set_rate (line 453) | def set_rate(self, new_rate: Union[int, str], tx_dict: dict): method toggle_active (line 458) | def toggle_active(self, tx_dict: dict): method set_allowed_swapper (line 463) | def set_allowed_swapper(self, new_addr: str, tx_dict: dict): method get_rate (line 468) | def get_rate(self) -> int: method get_dt_supply (line 473) | def get_dt_supply(self) -> int: method get_bt_supply (line 478) | def get_bt_supply(self) -> int: method details (line 483) | def details(self) -> ExchangeDetails: method get_allowed_swapper (line 489) | def get_allowed_swapper(self) -> str: method exchange_fees_info (line 494) | def exchange_fees_info(self) -> ExchangeFeeInfo: method is_active (line 500) | def is_active(self) -> bool: FILE: ocean_lib/models/test/test_data_nft.py function test_permissions (line 25) | def test_permissions( function test_add_and_remove_permissions (line 182) | def test_add_and_remove_permissions( function test_success_update_metadata (line 222) | def test_success_update_metadata(publisher_wallet, consumer_wallet, conf... function test_fails_update_metadata (line 311) | def test_fails_update_metadata(consumer_wallet, publisher_wallet, config... function test_create_datatoken (line 333) | def test_create_datatoken( function test_create_datatoken_with_usdc_order_fee (line 377) | def test_create_datatoken_with_usdc_order_fee( function test_create_datatoken_with_non_owner (line 404) | def test_create_datatoken_with_non_owner( function test_fail_creating_erc20 (line 445) | def test_fail_creating_erc20( function test_erc721_datatoken_functions (line 467) | def test_erc721_datatoken_functions( function test_fail_transfer_function (line 546) | def test_fail_transfer_function(consumer_wallet, publisher_wallet, confi... function test_transfer_nft (line 572) | def test_transfer_nft( function test_nft_transfer_with_fre (line 667) | def test_nft_transfer_with_fre( function test_fail_create_datatoken (line 724) | def test_fail_create_datatoken( function test_datatoken_cap (line 761) | def test_datatoken_cap(publisher_wallet, consumer_wallet, data_nft_facto... function test_nft_owner_transfer (line 768) | def test_nft_owner_transfer(config, publisher_wallet, consumer_wallet, d... function test_set_get_data (line 811) | def test_set_get_data(data_nft, alice): FILE: ocean_lib/models/test/test_data_nft_factory.py function test_nft_creation (line 26) | def test_nft_creation( function test_combo_functions (line 76) | def test_combo_functions( function test_start_multiple_order (line 186) | def test_start_multiple_order( function test_fail_get_templates (line 337) | def test_fail_get_templates(data_nft_factory): function test_nonexistent_template_index (line 349) | def test_nonexistent_template_index(data_nft_factory, publisher_wallet): FILE: ocean_lib/models/test/test_datatoken.py function test_main (line 16) | def test_main( function test_start_order (line 104) | def test_start_order(config, publisher_wallet, consumer_wallet, data_NFT... function test_exceptions (line 285) | def test_exceptions(consumer_wallet, config, publisher_wallet, DT): FILE: ocean_lib/models/test/test_datatoken_order_both_templates.py function test_dispense_and_order_with_non_defaults (line 18) | def test_dispense_and_order_with_non_defaults( function test_dispense_and_order_with_defaults (line 115) | def test_dispense_and_order_with_defaults( function test_buy_DT_and_order (line 145) | def test_buy_DT_and_order( FILE: ocean_lib/models/test/test_dispenser.py function test_DispenserStatus (line 14) | def test_DispenserStatus(): function test_main_flow_via_simple_ux_and_good_defaults (line 52) | def test_main_flow_via_simple_ux_and_good_defaults( function test_main_flow_via_simple_ux_and_setting_token_counts (line 85) | def test_main_flow_via_simple_ux_and_setting_token_counts( function test_main_flow_via_contract_directly (line 112) | def test_main_flow_via_contract_directly( function test_dispenser_creation_without_minter (line 187) | def test_dispenser_creation_without_minter(config, publisher_wallet, con... FILE: ocean_lib/models/test/test_exchange_fees.py function test_exchange_swap_fees (line 47) | def test_exchange_swap_fees( function buy_or_sell_dt_and_verify_balances_swap_fees (line 220) | def buy_or_sell_dt_and_verify_balances_swap_fees( function collect_bt_or_dt_and_verify_balances (line 334) | def collect_bt_or_dt_and_verify_balances( function collect_fee_and_verify_balances (line 373) | def collect_fee_and_verify_balances( FILE: ocean_lib/models/test/test_exchange_main.py function test_with_defaults (line 22) | def test_with_defaults(OCEAN, DT, alice, bob): function test_with_nondefaults (line 120) | def test_with_nondefaults(OCEAN, DT, alice, bob, carlos, dan, FRE): function test_ExchangeDetails (line 262) | def test_ExchangeDetails(): function test_ExchangeFeeInfo (line 314) | def test_ExchangeFeeInfo(): function test_BtNeeded (line 337) | def test_BtNeeded(): function test_BtReceived (line 347) | def test_BtReceived(): FILE: ocean_lib/models/test/test_factory_router.py function test_router_owner (line 21) | def test_router_owner(factory_router: FactoryRouter): function test_swap_ocean_fee (line 26) | def test_swap_ocean_fee(factory_router: FactoryRouter): function test_swap_non_ocean_fee (line 31) | def test_swap_non_ocean_fee(factory_router: FactoryRouter): function test_is_approved_token (line 36) | def test_is_approved_token( function test_is_fixed_rate_contract (line 45) | def test_is_fixed_rate_contract(config: dict, factory_router: FactoryRou... function test_is_dispenser_contract (line 51) | def test_is_dispenser_contract(config: dict, factory_router: FactoryRout... function test_get_opc_fee (line 56) | def test_get_opc_fee(config: dict, factory_router: FactoryRouter, ocean_... function test_get_opc_fees (line 62) | def test_get_opc_fees(factory_router: FactoryRouter): function test_get_opc_consume_fee (line 70) | def test_get_opc_consume_fee(factory_router: FactoryRouter): function test_get_opc_provider_fee (line 75) | def test_get_opc_provider_fee(factory_router: FactoryRouter): function test_opc_collector (line 80) | def test_opc_collector(config: dict, factory_router: FactoryRouter): FILE: ocean_lib/models/test/test_fake_ocean.py function test_direct_call (line 15) | def test_direct_call(config, consumer_wallet, factory_deployer_wallet, o... function test_use_mint_fake_ocean (line 26) | def test_use_mint_fake_ocean(config, factory_deployer_wallet, ocean_token): FILE: ocean_lib/models/ve/smart_wallet_checker.py class SmartWalletChecker (line 8) | class SmartWalletChecker(ContractBase): FILE: ocean_lib/models/ve/test/conftest.py function ocean (line 11) | def ocean(publisher_ocean): function ve_allocate (line 16) | def ve_allocate(publisher_ocean): FILE: ocean_lib/models/ve/test/test_smart_wallet_checker.py function test1 (line 9) | def test1(ocean): FILE: ocean_lib/models/ve/test/test_ve_allocate.py function test_single_allocation (line 12) | def test_single_allocation(ve_allocate): function test_single_events (line 38) | def test_single_events(ve_allocate): function test_batch_allocation (line 58) | def test_batch_allocation(ve_allocate): function test_batch_events (line 74) | def test_batch_events(ve_allocate): FILE: ocean_lib/models/ve/test/test_ve_delegation.py function test1 (line 9) | def test1(ocean): FILE: ocean_lib/models/ve/test/test_ve_fee_distributor.py function test1 (line 9) | def test1(ocean, consumer_wallet): FILE: ocean_lib/models/ve/test/test_ve_fee_estimate.py function test1 (line 9) | def test1(ocean): FILE: ocean_lib/models/ve/test/test_ve_ocean.py function test_ve_ocean1 (line 16) | def test_ve_ocean1(ocean, factory_deployer_wallet, ocean_token): FILE: ocean_lib/models/ve/ve_allocate.py class VeAllocate (line 8) | class VeAllocate(ContractBase): FILE: ocean_lib/models/ve/ve_delegation.py class VeDelegation (line 8) | class VeDelegation(ContractBase): FILE: ocean_lib/models/ve/ve_fee_distributor.py class VeFeeDistributor (line 8) | class VeFeeDistributor(ContractBase): FILE: ocean_lib/models/ve/ve_fee_estimate.py class VeFeeEstimate (line 8) | class VeFeeEstimate(ContractBase): FILE: ocean_lib/models/ve/ve_ocean.py class VeOcean (line 8) | class VeOcean(ContractBase): FILE: ocean_lib/ocean/crypto.py function calc_symkey (line 18) | def calc_symkey(base_str: str) -> str: function sym_encrypt (line 28) | def sym_encrypt(value: str, symkey: str) -> str: function sym_decrypt (line 38) | def sym_decrypt(value_enc: str, symkey: str) -> str: function calc_pubkey (line 48) | def calc_pubkey(privkey: str) -> str: function asym_encrypt (line 55) | def asym_encrypt(value: str, pubkey: str) -> str: function asym_decrypt (line 64) | def asym_decrypt(value_enc_h: str, privkey: str) -> str: FILE: ocean_lib/ocean/mint_fake_ocean.py function mint_fake_OCEAN (line 15) | def mint_fake_OCEAN(config: dict) -> None: FILE: ocean_lib/ocean/ocean.py class Ocean (line 41) | class Ocean: method __init__ (line 45) | def __init__(self, config_dict: Dict, data_provider: Optional[Type] = ... method OCEAN_address (line 103) | def OCEAN_address(self) -> str: method OCEAN_token (line 108) | def OCEAN_token(self) -> DatatokenBase: method OCEAN (line 113) | def OCEAN(self): # alias for OCEAN_token method data_nft_factory (line 120) | def data_nft_factory(self) -> DataNFTFactoryContract: method dispenser (line 125) | def dispenser(self) -> Dispenser: method fixed_rate_exchange (line 130) | def fixed_rate_exchange(self) -> FixedRateExchange: method factory_router (line 135) | def factory_router(self) -> FactoryRouter: method get_nft_token (line 141) | def get_nft_token(self, token_address: str) -> DataNFT: method get_datatoken (line 149) | def get_datatoken(self, token_address: str) -> DatatokenBase: method get_user_orders (line 159) | def get_user_orders(self, address: str, datatoken: str) -> List[Attrib... method retrieve_provider_fees (line 180) | def retrieve_provider_fees( method retrieve_provider_fees_for_compute (line 192) | def retrieve_provider_fees_for_compute( method df_rewards (line 215) | def df_rewards(self) -> DFRewards: method df_strategy_v1 (line 220) | def df_strategy_v1(self) -> DFStrategyV1: method smart_wallet_checker (line 225) | def smart_wallet_checker(self) -> SmartWalletChecker: method ve_allocate (line 230) | def ve_allocate(self) -> VeAllocate: method ve_delegation (line 235) | def ve_delegation(self) -> VeDelegation: method ve_fee_distributor (line 240) | def ve_fee_distributor(self) -> VeFeeDistributor: method ve_fee_estimate (line 245) | def ve_fee_estimate(self) -> VeFeeEstimate: method ve_ocean (line 250) | def ve_ocean(self) -> VeOcean: method veOCEAN (line 255) | def veOCEAN(self) -> VeOcean: # alias for ve_ocean method config (line 262) | def config(self) -> dict: # alias for config_dict method _addr (line 266) | def _addr(self, type_str: str) -> str: method wallet_balance (line 269) | def wallet_balance(self, w): FILE: ocean_lib/ocean/ocean_assets.py class AssetArguments (line 55) | class AssetArguments: method __init__ (line 56) | def __init__( class OceanAssets (line 77) | class OceanAssets: method __init__ (line 81) | def __init__(self, config_dict, data_provider: Type[DataServiceProvide... method validate (line 98) | def validate(self, ddo: DDO) -> Tuple[bool, list]: method _encrypt_ddo (line 116) | def _encrypt_ddo( method _assert_ddo_metadata (line 171) | def _assert_ddo_metadata(metadata: dict): method create_algo_asset (line 186) | def create_algo_asset( method create_url_asset (line 223) | def create_url_asset( method create_arweave_asset (line 241) | def create_arweave_asset( method create_graphql_asset (line 254) | def create_graphql_asset( method create_onchain_asset (line 267) | def create_onchain_asset( method default_metadata (line 294) | def default_metadata(cls, name: str, tx_dict: dict, type="dataset") ->... method create_bundled (line 310) | def create_bundled( method create (line 407) | def create( method update (line 541) | def update( method resolve (line 607) | def resolve(self, did: str) -> "DDO": method search (line 611) | def search(self, text: str) -> list: method query (line 628) | def query(self, query: dict) -> list: method download_asset (line 643) | def download_asset( method pay_for_access_service (line 669) | def pay_for_access_service( method pay_for_compute_service (line 744) | def pay_for_compute_service( method _start_or_reuse_order_based_on_initialize_response (line 801) | def _start_or_reuse_order_based_on_initialize_response( FILE: ocean_lib/ocean/ocean_compute.py class OceanCompute (line 23) | class OceanCompute: method __init__ (line 25) | def __init__( method start (line 33) | def start( method status (line 73) | def status(self, ddo: DDO, service: Service, job_id: str, wallet) -> D... method result (line 91) | def result( method compute_job_result_logs (line 109) | def compute_job_result_logs( method stop (line 133) | def stop(self, ddo: DDO, service: Service, job_id: str, wallet) -> Dic... method get_c2d_environments (line 149) | def get_c2d_environments(self, service_endpoint: str, chain_id: int) -... method get_free_c2d_environment (line 153) | def get_free_c2d_environment(self, service_endpoint: str, chain_id) ->... FILE: ocean_lib/ocean/test/test_crypto.py function test_symkey (line 11) | def test_symkey(): function test_sym_encrypt_decrypt (line 20) | def test_sym_encrypt_decrypt(): function test_asym_encrypt_decrypt (line 32) | def test_asym_encrypt_decrypt(alice): FILE: ocean_lib/ocean/test/test_ocean.py function test_nft_factory (line 24) | def test_nft_factory(config, publisher_ocean, publisher_wallet): function test_contract_objects (line 36) | def test_contract_objects(publisher_ocean): FILE: ocean_lib/ocean/test/test_ocean_assets.py function test_register_asset (line 37) | def test_register_asset(publisher_ocean): function test_update (line 43) | def test_update(publisher_ocean, publisher_wallet, config): function test_update_datatokens (line 87) | def test_update_datatokens(publisher_ocean, publisher_wallet, config, fi... function test_ocean_assets_search (line 162) | def test_ocean_assets_search(): function test_ocean_assets_validate (line 168) | def test_ocean_assets_validate(publisher_ocean): function test_ocean_assets_algorithm (line 185) | def test_ocean_assets_algorithm(): function test_download_fails (line 191) | def test_download_fails(publisher_ocean, publisher_wallet): function test_create_bad_metadata (line 216) | def test_create_bad_metadata(publisher_ocean, publisher_wallet): function test_create_url_asset (line 240) | def test_create_url_asset(): function test_plain_asset_with_one_datatoken (line 246) | def test_plain_asset_with_one_datatoken(publisher_ocean, publisher_walle... function test_plain_asset_multiple_datatokens (line 274) | def test_plain_asset_multiple_datatokens(publisher_ocean, publisher_wall... function test_plain_asset_multiple_services (line 314) | def test_plain_asset_multiple_services(publisher_ocean, publisher_wallet... function test_encrypted_asset (line 372) | def test_encrypted_asset(publisher_ocean, publisher_wallet, config): function test_compressed_asset (line 398) | def test_compressed_asset(publisher_ocean, publisher_wallet, config): function test_compressed_and_encrypted_asset (line 424) | def test_compressed_and_encrypted_asset(publisher_ocean, publisher_walle... function test_asset_creation_errors (line 450) | def test_asset_creation_errors(publisher_ocean, publisher_wallet, config): function test_create_algo_asset (line 470) | def test_create_algo_asset(publisher_ocean, publisher_wallet): function test_create_url_asset_with_gas_strategy (line 484) | def test_create_url_asset_with_gas_strategy( function test_create_pricing_schemas (line 513) | def test_create_pricing_schemas( FILE: ocean_lib/ocean/test/test_util.py function test_get_ocean_token_address (line 20) | def test_get_ocean_token_address(config): function test_get_address_by_type (line 32) | def test_get_address_by_type(config): function test_get_address_of_type_failure (line 41) | def test_get_address_of_type_failure(config): function test_wei (line 47) | def test_wei(): FILE: ocean_lib/ocean/util.py function get_address_of_type (line 17) | def get_address_of_type( function get_ocean_token_address (line 32) | def get_ocean_token_address(config_dict: dict) -> str: function create_checksum (line 44) | def create_checksum(text: str) -> str: function from_wei (line 52) | def from_wei(amt_wei: int): function to_wei (line 57) | def to_wei(amt_eth) -> int: function str_with_wei (line 62) | def str_with_wei(amt_wei: int) -> str: function get_from_address (line 67) | def get_from_address(tx_dict: dict) -> str: function get_args_object (line 74) | def get_args_object(args, kwargs, args_class): function send_ether (line 91) | def send_ether( FILE: ocean_lib/services/consumer_parameters.py class ConsumerParameters (line 19) | class ConsumerParameters: method __init__ (line 20) | def __init__( method from_dict (line 40) | def from_dict( method as_dictionary (line 68) | def as_dictionary(self) -> Dict[str, Any]: method required_attrs (line 83) | def required_attrs(): FILE: ocean_lib/services/service.py class Service (line 26) | class Service: method __init__ (line 29) | def __init__( method from_dict (line 79) | def from_dict(cls, service_dict: Dict[str, Any]) -> "Service": method get_trusted_algorithms (line 104) | def get_trusted_algorithms(self) -> list: method get_trusted_algorithm_publishers (line 107) | def get_trusted_algorithm_publishers(self) -> list: method add_publisher_trusted_algorithm (line 111) | def add_publisher_trusted_algorithm(self, algo_ddo) -> list: method add_publisher_trusted_algorithm_publisher (line 138) | def add_publisher_trusted_algorithm_publisher(self, publisher_address:... method as_dictionary (line 162) | def as_dictionary(self) -> Dict[str, Any]: method remove_publisher_trusted_algorithm (line 215) | def remove_publisher_trusted_algorithm(self, algo_did: str) -> list: method remove_publisher_trusted_algorithm_publisher (line 236) | def remove_publisher_trusted_algorithm_publisher( method update_compute_values (line 265) | def update_compute_values( method encrypt_files (line 310) | def encrypt_files(self, nft_address: str, chain_id: int) -> Response: FILE: ocean_lib/services/test/test_consumer_parameters.py function test_consumer_parameters (line 11) | def test_consumer_parameters(): FILE: ocean_lib/services/test/test_service.py function test_service (line 20) | def test_service(): function test_additional_information (line 80) | def test_additional_information(): function test_trusted_algo_functions (line 120) | def test_trusted_algo_functions(publisher_ocean): function test_utilitary_functions_for_trusted_algorithm_publishers (line 151) | def test_utilitary_functions_for_trusted_algorithm_publishers(publisher_... function test_inexistent_removals (line 194) | def test_inexistent_removals(): function test_utilitary_functions_for_trusted_algorithms (line 217) | def test_utilitary_functions_for_trusted_algorithms(publisher_ocean): function test_add_trusted_algorithm_no_compute_service (line 288) | def test_add_trusted_algorithm_no_compute_service(publisher_ocean): FILE: ocean_lib/structures/abi_tuples.py class OperationType (line 11) | class OperationType(Enum): FILE: ocean_lib/structures/algorithm_metadata.py class AlgorithmMetadata (line 13) | class AlgorithmMetadata: method __init__ (line 15) | def __init__(self, metadata_dict: Dict[str, Any]) -> None: method is_valid (line 38) | def is_valid(self) -> bool: method as_json_str (line 44) | def as_json_str(self) -> str: method as_dictionary (line 48) | def as_dictionary(self) -> Dict[str, Any]: FILE: ocean_lib/structures/file_objects.py class FilesType (line 11) | class FilesType(Protocol): method to_dict (line 14) | def to_dict(self) -> dict: class UrlFile (line 18) | class UrlFile(FilesType): method __init__ (line 20) | def __init__( method to_dict (line 29) | def to_dict(self) -> dict: class IpfsFile (line 41) | class IpfsFile(FilesType): method __init__ (line 43) | def __init__(self, hash: str) -> None: method to_dict (line 48) | def to_dict(self) -> dict: class GraphqlQuery (line 52) | class GraphqlQuery(FilesType): method __init__ (line 54) | def __init__(self, url: str, query: str, headers: Optional[dict] = Non... method to_dict (line 61) | def to_dict(self) -> dict: class SmartContractCall (line 70) | class SmartContractCall(FilesType): method __init__ (line 72) | def __init__(self, address: str, chainId: int, abi: dict) -> None: method to_dict (line 79) | def to_dict(self) -> dict: class ArweaveFile (line 88) | class ArweaveFile(FilesType): method __init__ (line 90) | def __init__(self, transaction_id: str) -> None: method to_dict (line 95) | def to_dict(self) -> dict: function FilesTypeFactory (line 100) | def FilesTypeFactory(file_obj: dict) -> FilesType: FILE: ocean_lib/structures/test/test_algorithm_metadata.py function test_algorithm_metadata (line 13) | def test_algorithm_metadata(): FILE: ocean_lib/structures/test/test_file_objects.py function test_url_file (line 11) | def test_url_file(): function test_ipfs_file (line 31) | def test_ipfs_file(): function test_filetype_factory (line 37) | def test_filetype_factory(): FILE: ocean_lib/test/test_config.py function test_metadataCacheUri_config_key (line 14) | def test_metadataCacheUri_config_key(): function test_incomplete (line 34) | def test_incomplete(): FILE: ocean_lib/test/test_example_config.py function test_ganache_example_config (line 19) | def test_ganache_example_config(): function test_polygon_example_config (line 29) | def test_polygon_example_config(): function test_get_address_of_type (line 38) | def test_get_address_of_type(): FILE: ocean_lib/web3_internal/clef.py function get_clef_accounts (line 12) | def get_clef_accounts(uri: str = None, timeout: int = 120) -> None: class ClefAccount (line 38) | class ClefAccount: method __init__ (line 39) | def __init__(self, address: str, provider: [HTTPProvider, IPCProvider]... FILE: ocean_lib/web3_internal/contract_base.py function function_wrapper (line 23) | def function_wrapper(contract, web3, contract_functions, func_name): class ContractBase (line 92) | class ContractBase(object): method __init__ (line 99) | def __init__(self, config_dict: dict, address: Optional[str]) -> None: method __str__ (line 130) | def __str__(self) -> str: method contract_name (line 136) | def contract_name(self) -> str: method to_checksum_address (line 142) | def to_checksum_address(address: str) -> ChecksumAddress: method get_event_signature (line 152) | def get_event_signature(self, event_name: str) -> str: method get_logs (line 167) | def get_logs( FILE: ocean_lib/web3_internal/contract_utils.py function get_contract_definition (line 22) | def get_contract_definition(contract_name: str) -> Dict[str, Any]: function load_contract (line 35) | def load_contract(web3: Web3, contract_name: str, address: Optional[str]... function get_contracts_addresses_all_networks (line 45) | def get_contracts_addresses_all_networks(config: dict): function get_contracts_addresses (line 59) | def get_contracts_addresses(config: dict) -> Optional[Dict[str, str]]: function _checksum_contract_addresses (line 80) | def _checksum_contract_addresses( FILE: ocean_lib/web3_internal/http_provider.py class CustomHTTPProvider (line 22) | class CustomHTTPProvider(HTTPProvider): method make_request (line 27) | def make_request(self, method, params): function get_web3_connection_provider (line 45) | def get_web3_connection_provider(network_url): FILE: ocean_lib/web3_internal/request.py function _remove_session (line 16) | def _remove_session(key, session): function _get_session (line 23) | def _get_session(*args, **kwargs): function make_post_request (line 40) | def make_post_request(endpoint_uri, data, *args, **kwargs): FILE: ocean_lib/web3_internal/test/test_contract_base.py class MyFactory (line 14) | class MyFactory(ContractBase): function test_name_is_None (line 19) | def test_name_is_None(config): function test_main (line 26) | def test_main(config): FILE: ocean_lib/web3_internal/test/test_contract_utils.py function test_checksum_contract_addresses (line 10) | def test_checksum_contract_addresses(monkeypatch): FILE: ocean_lib/web3_internal/test/test_wallet.py function test_generating_wallets (line 14) | def test_generating_wallets(ocean_token, config): FILE: ocean_lib/web3_internal/utils.py function to_32byte_hex (line 25) | def to_32byte_hex(val: int) -> str: function sign_with_clef (line 35) | def sign_with_clef(message_hash: str, wallet: ClefAccount) -> str: function sign_with_key (line 49) | def sign_with_key(message_hash: Union[HexBytes, str], key: str) -> str: function split_signature (line 67) | def split_signature(signature: Any) -> Signature: function get_gas_fees (line 87) | def get_gas_fees() -> tuple: FILE: tests/flows/test_start_reuse_order_fees.py class TestStartReuseOrderFees (line 57) | class TestStartReuseOrderFees(object): method setup_class (line 59) | def setup_class(self): method test_start_order_fees (line 102) | def test_start_order_fees( method test_reuse_order_fees (line 261) | def test_reuse_order_fees( function create_asset_with_order_fee_and_timeout (line 348) | def create_asset_with_order_fee_and_timeout( function reuse_order_with_mock_provider_fees (line 395) | def reuse_order_with_mock_provider_fees( FILE: tests/integration/ganache/test_compute_flow.py class TestComputeFlow (line 35) | class TestComputeFlow(object): method setup_class (line 37) | def setup_class(self): method wait_for_ddo (line 73) | def wait_for_ddo(self, ddo): method test_compute_raw_algo (line 84) | def test_compute_raw_algo( method test_compute_registered_algo (line 117) | def test_compute_registered_algo( method test_compute_reuse_order (line 138) | def test_compute_reuse_order( method test_compute_multi_inputs (line 160) | def test_compute_multi_inputs( method test_compute_trusted_algorithm (line 188) | def test_compute_trusted_algorithm(self): method test_compute_update_trusted_algorithm (line 193) | def test_compute_update_trusted_algorithm( method test_compute_trusted_publisher (line 244) | def test_compute_trusted_publisher( method test_compute_just_provider_fees (line 281) | def test_compute_just_provider_fees( function get_algorithm (line 303) | def get_algorithm(wallet, ocean_instance): function raw_algorithm (line 320) | def raw_algorithm(): class AssetAndUserdata (line 341) | class AssetAndUserdata: function _mint_and_build_compute_input (line 346) | def _mint_and_build_compute_input( function run_compute_test (line 371) | def run_compute_test( FILE: tests/integration/ganache/test_consume_flow.py function test_consume_asset (line 21) | def test_consume_asset( FILE: tests/integration/ganache/test_disconnecting_components.py function test_with_wrong_provider (line 20) | def test_with_wrong_provider(config, caplog): function test_with_wrong_aquarius (line 36) | def test_with_wrong_aquarius(publisher_wallet, caplog, monkeypatch, conf... function _create_ddo (line 52) | def _create_ddo(ocean, publisher): function _iterative_create_ddo (line 71) | def _iterative_create_ddo(mock_ocean, publisher): function _iterative_encrypt (line 76) | def _iterative_encrypt(mock): function _update_with_wrong_component (line 87) | def _update_with_wrong_component(mock): FILE: tests/integration/ganache/test_graphql.py function test_consume_simple_graphql_query (line 19) | def test_consume_simple_graphql_query( FILE: tests/integration/ganache/test_market_flow.py function test_market_flow (line 18) | def test_market_flow( function test_pay_for_access_service_good_default (line 97) | def test_pay_for_access_service_good_default( FILE: tests/integration/ganache/test_onchain.py function test_consume_parametrized_onchain_data (line 20) | def test_consume_parametrized_onchain_data( FILE: tests/integration/remote/test_mumbai_main.py function _get_mumbai_rpc (line 13) | def _get_mumbai_rpc(): function test_nonocean_tx (line 22) | def test_nonocean_tx(tmp_path, monkeypatch): function test_ocean_tx__create (line 35) | def test_ocean_tx__create(tmp_path, monkeypatch): FILE: tests/integration/remote/test_mumbai_readme.py function test_simple_remote_readme (line 11) | def test_simple_remote_readme(monkeypatch): FILE: tests/integration/remote/test_polygon.py function _get_polygon_rpc (line 15) | def _get_polygon_rpc(): function test_ocean_tx__create (line 25) | def test_ocean_tx__create(tmp_path, monkeypatch): FILE: tests/integration/remote/util.py function remote_config_mumbai (line 19) | def remote_config_mumbai(tmp_path): function remote_config_polygon (line 31) | def remote_config_polygon(tmp_path): function get_wallets (line 43) | def get_wallets(): function do_nonocean_tx_and_handle_gotchas (line 62) | def do_nonocean_tx_and_handle_gotchas(ocean, alice_wallet, bob_wallet): function do_ocean_tx_and_handle_gotchas (line 96) | def do_ocean_tx_and_handle_gotchas(ocean, alice_wallet): function error_is_skippable (line 142) | def error_is_skippable(error_s: str) -> bool: function random_chars (line 158) | def random_chars() -> str: FILE: tests/readmes/test_readmes.py class TestReadmes (line 17) | class TestReadmes(object): method setup_class (line 19) | def setup_class(self): method test_script_execution (line 34) | def test_script_execution(self, script_name): FILE: tests/resources/ddo_helpers.py function get_resource_path (line 18) | def get_resource_path(dir_name, file_name): function get_key_from_v4_sample_ddo (line 26) | def get_key_from_v4_sample_ddo(key, file_name="ddo_v4_sample.json"): function get_sample_ddo (line 34) | def get_sample_ddo(file_name="ddo_v4_sample.json") -> dict: function get_sample_ddo_with_compute_service (line 41) | def get_sample_ddo_with_compute_service( function get_sample_algorithm_ddo (line 50) | def get_sample_algorithm_ddo(filename="ddo_algorithm.json") -> DDO: function get_default_metadata (line 61) | def get_default_metadata(): function get_default_files (line 65) | def get_default_files(): function build_default_services (line 69) | def build_default_services(config, datatoken): function build_credentials_dict (line 82) | def build_credentials_dict() -> dict: function get_registered_asset_with_access_service (line 87) | def get_registered_asset_with_access_service( function get_registered_asset_with_compute_service (line 105) | def get_registered_asset_with_compute_service( function get_first_service_by_type (line 129) | def get_first_service_by_type(ddo, service_type: str) -> Service: FILE: tests/resources/helper_functions.py function get_wallet (line 34) | def get_wallet(index: int): function get_publisher_wallet (line 39) | def get_publisher_wallet(): function get_consumer_wallet (line 44) | def get_consumer_wallet(): function get_another_consumer_wallet (line 49) | def get_another_consumer_wallet(): function get_provider_wallet (line 54) | def get_provider_wallet(): function get_factory_deployer_wallet (line 58) | def get_factory_deployer_wallet(config): function get_ganache_wallet (line 70) | def get_ganache_wallet(): function generate_wallet (line 77) | def generate_wallet(): function get_ocean_instance_prerequisites (line 98) | def get_ocean_instance_prerequisites(use_provider_mock=False) -> Ocean: function get_publisher_ocean_instance (line 105) | def get_publisher_ocean_instance(use_provider_mock=False) -> Ocean: function get_consumer_ocean_instance (line 112) | def get_consumer_ocean_instance(use_provider_mock: bool = False) -> Ocean: function get_another_consumer_ocean_instance (line 119) | def get_another_consumer_ocean_instance(use_provider_mock: bool = False)... function setup_logging (line 126) | def setup_logging( function deploy_erc721_erc20 (line 135) | def deploy_erc721_erc20( function get_non_existent_nft_template (line 170) | def get_non_existent_nft_template( function send_mock_usdc_to_address (line 185) | def send_mock_usdc_to_address(config: dict, recipient: str, amount: int)... function transfer_bt_if_balance_lte (line 201) | def transfer_bt_if_balance_lte( function get_provider_fees (line 225) | def get_provider_fees( function convert_bt_amt_to_dt (line 274) | def convert_bt_amt_to_dt( function get_file1 (line 297) | def get_file1(): function get_file2 (line 307) | def get_file2(): function get_file3 (line 317) | def get_file3(): function int_units (line 327) | def int_units(amount, num_decimals): function get_mock_provider_fees (line 335) | def get_mock_provider_fees(mock_type, wallet, valid_until=0): FILE: tests/resources/mocks/data_provider_mock.py class DataProviderMock (line 11) | class DataProviderMock(DataServiceProvider): method __init__ (line 12) | def __init__(self, ocean_instance=None, wallet=None): method consume_service (line 27) | def consume_service( method start_compute_job (line 37) | def start_compute_job(*args, **kwargs): method stop_compute_job (line 41) | def stop_compute_job(*args, **kwargs): method delete_compute_job (line 45) | def delete_compute_job(*args, **kwargs): method compute_job_status (line 49) | def compute_job_status(*args, **kwargs): method compute_job_result (line 53) | def compute_job_result(*args, **kwargs): method compute_job_result_file (line 57) | def compute_job_result_file(*args, **kwargs): method get_url (line 61) | def get_url(config): FILE: tests/resources/mocks/http_client_mock.py class HttpClientMockBase (line 32) | class HttpClientMockBase(Session): method get (line 36) | def get(cls, *args, **kwargs): class HttpClientEvilMock (line 54) | class HttpClientEvilMock(HttpClientMockBase): method post (line 58) | def post(*args, **kwargs): method specific_get (line 66) | def specific_get(*args, **kwargs): class HttpClientEmptyMock (line 74) | class HttpClientEmptyMock(HttpClientMockBase): method post (line 78) | def post(*args, **kwargs): method specific_get (line 82) | def specific_get(*args, **kwargs): class HttpClientNiceMock (line 86) | class HttpClientNiceMock(HttpClientMockBase): method specific_get (line 90) | def specific_get(*args, **kwargs): method return_nice_response (line 98) | def return_nice_response(indication, *args, **kwargs): method delete (line 107) | def delete(*args, **kwargs): method put (line 111) | def put(*args, **kwargs): method post (line 115) | def post(*args, **kwargs): FILE: tests/resources/test/test_helper_functions.py function test_convert_bt_amt_to_dt (line 4) | def test_convert_bt_amt_to_dt():